Skip to content

Commit a370f24

Browse files
author
awstools
committed
feat(client-ec2): Adds support for Time-based Copy for EBS Snapshots and Cross Region PrivateLink. Time-based Copy ensures that EBS Snapshots are copied within and across AWS Regions in a specified timeframe. Cross Region PrivateLink enables customers to connect to VPC endpoint services hosted in other AWS Regions.
1 parent 9f83f11 commit a370f24

28 files changed

+947
-406
lines changed

clients/client-ec2/src/commands/CopySnapshotCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export interface CopySnapshotCommandOutput extends CopySnapshotResult, __Metadat
7575
* ],
7676
* },
7777
* ],
78+
* CompletionDurationMinutes: Number("int"),
7879
* DryRun: true || false,
7980
* };
8081
* const command = new CopySnapshotCommand(input);

clients/client-ec2/src/commands/CreateSnapshotCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ export interface CreateSnapshotCommandOutput extends Snapshot, __MetadataBearer
9090
* // StorageTier: "archive" || "standard",
9191
* // RestoreExpiryTime: new Date("TIMESTAMP"),
9292
* // SseType: "sse-ebs" || "sse-kms" || "none",
93+
* // TransferType: "time-based" || "standard",
94+
* // CompletionDurationMinutes: Number("int"),
95+
* // CompletionTime: new Date("TIMESTAMP"),
9396
* // SnapshotId: "STRING_VALUE",
9497
* // VolumeId: "STRING_VALUE",
9598
* // State: "pending" || "completed" || "error" || "recoverable" || "recovering",

clients/client-ec2/src/commands/CreateVpcEndpointCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export interface CreateVpcEndpointCommandOutput extends CreateVpcEndpointResult,
7878
* Ipv6: "STRING_VALUE",
7979
* },
8080
* ],
81+
* ServiceRegion: "STRING_VALUE",
8182
* };
8283
* const command = new CreateVpcEndpointCommand(input);
8384
* const response = await client.send(command);
@@ -129,6 +130,7 @@ export interface CreateVpcEndpointCommandOutput extends CreateVpcEndpointResult,
129130
* // Message: "STRING_VALUE",
130131
* // Code: "STRING_VALUE",
131132
* // },
133+
* // ServiceRegion: "STRING_VALUE",
132134
* // },
133135
* // ClientToken: "STRING_VALUE",
134136
* // };

clients/client-ec2/src/commands/CreateVpcEndpointConnectionNotificationCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export interface CreateVpcEndpointConnectionNotificationCommandOutput
7171
* // "STRING_VALUE",
7272
* // ],
7373
* // ConnectionNotificationState: "Enabled" || "Disabled",
74+
* // ServiceRegion: "STRING_VALUE",
7475
* // },
7576
* // ClientToken: "STRING_VALUE",
7677
* // };

clients/client-ec2/src/commands/CreateVpcEndpointServiceConfigurationCommand.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ export interface CreateVpcEndpointServiceConfigurationCommandOutput
7373
* SupportedIpAddressTypes: [
7474
* "STRING_VALUE",
7575
* ],
76+
* SupportedRegions: [
77+
* "STRING_VALUE",
78+
* ],
7679
* ClientToken: "STRING_VALUE",
7780
* TagSpecifications: [ // TagSpecificationList
7881
* { // TagSpecification
@@ -129,6 +132,13 @@ export interface CreateVpcEndpointServiceConfigurationCommandOutput
129132
* // Value: "STRING_VALUE",
130133
* // },
131134
* // ],
135+
* // SupportedRegions: [ // SupportedRegionSet
136+
* // { // SupportedRegionDetail
137+
* // Region: "STRING_VALUE",
138+
* // ServiceState: "STRING_VALUE",
139+
* // },
140+
* // ],
141+
* // RemoteAccessEnabled: true || false,
132142
* // },
133143
* // ClientToken: "STRING_VALUE",
134144
* // };

clients/client-ec2/src/commands/DeleteFlowLogsCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DeleteFlowLogsRequest, DeleteFlowLogsResult } from "../models/models_2";
9+
import { DeleteFlowLogsRequest } from "../models/models_2";
10+
import { DeleteFlowLogsResult } from "../models/models_3";
1011
import { de_DeleteFlowLogsCommand, se_DeleteFlowLogsCommand } from "../protocols/Aws_ec2";
1112

1213
/**

clients/client-ec2/src/commands/DeleteFpgaImageCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DeleteFpgaImageRequest } from "../models/models_2";
10-
import { DeleteFpgaImageResult } from "../models/models_3";
9+
import { DeleteFpgaImageRequest, DeleteFpgaImageResult } from "../models/models_3";
1110
import { de_DeleteFpgaImageCommand, se_DeleteFpgaImageCommand } from "../protocols/Aws_ec2";
1211

1312
/**

clients/client-ec2/src/commands/DescribeScheduledInstanceAvailabilityCommand.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DescribeScheduledInstanceAvailabilityRequest } from "../models/models_4";
10-
import { DescribeScheduledInstanceAvailabilityResult } from "../models/models_5";
9+
import {
10+
DescribeScheduledInstanceAvailabilityRequest,
11+
DescribeScheduledInstanceAvailabilityResult,
12+
} from "../models/models_5";
1113
import {
1214
de_DescribeScheduledInstanceAvailabilityCommand,
1315
se_DescribeScheduledInstanceAvailabilityCommand,

clients/client-ec2/src/commands/DescribeSnapshotsCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ export interface DescribeSnapshotsCommandOutput extends DescribeSnapshotsResult,
120120
* // StorageTier: "archive" || "standard",
121121
* // RestoreExpiryTime: new Date("TIMESTAMP"),
122122
* // SseType: "sse-ebs" || "sse-kms" || "none",
123+
* // TransferType: "time-based" || "standard",
124+
* // CompletionDurationMinutes: Number("int"),
125+
* // CompletionTime: new Date("TIMESTAMP"),
123126
* // SnapshotId: "STRING_VALUE",
124127
* // VolumeId: "STRING_VALUE",
125128
* // State: "pending" || "completed" || "error" || "recoverable" || "recovering",

clients/client-ec2/src/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export interface DescribeVpcEndpointConnectionNotificationsCommandOutput
7373
* // "STRING_VALUE",
7474
* // ],
7575
* // ConnectionNotificationState: "Enabled" || "Disabled",
76+
* // ServiceRegion: "STRING_VALUE",
7677
* // },
7778
* // ],
7879
* // NextToken: "STRING_VALUE",

0 commit comments

Comments
 (0)