@aws-sdk/client-ec2 3.451.0 → 3.453.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/EC2.js +6 -0
  3. package/dist-cjs/commands/DescribeLockedSnapshotsCommand.js +51 -0
  4. package/dist-cjs/commands/LockSnapshotCommand.js +51 -0
  5. package/dist-cjs/commands/RequestSpotInstancesCommand.js +3 -3
  6. package/dist-cjs/commands/UnlockSnapshotCommand.js +51 -0
  7. package/dist-cjs/commands/index.js +3 -0
  8. package/dist-cjs/models/models_0.js +2 -0
  9. package/dist-cjs/models/models_4.js +8 -2
  10. package/dist-cjs/models/models_6.js +5 -23
  11. package/dist-cjs/models/models_7.js +24 -1
  12. package/dist-cjs/protocols/Aws_ec2.js +305 -20
  13. package/dist-es/EC2.js +6 -0
  14. package/dist-es/commands/DescribeLockedSnapshotsCommand.js +47 -0
  15. package/dist-es/commands/LockSnapshotCommand.js +47 -0
  16. package/dist-es/commands/RequestSpotInstancesCommand.js +1 -1
  17. package/dist-es/commands/UnlockSnapshotCommand.js +47 -0
  18. package/dist-es/commands/index.js +3 -0
  19. package/dist-es/models/models_0.js +2 -0
  20. package/dist-es/models/models_4.js +6 -0
  21. package/dist-es/models/models_6.js +5 -20
  22. package/dist-es/models/models_7.js +20 -0
  23. package/dist-es/protocols/Aws_ec2.js +279 -0
  24. package/dist-types/EC2.d.ts +21 -0
  25. package/dist-types/EC2Client.d.ts +5 -2
  26. package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +3 -2
  27. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  28. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  29. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  31. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +4 -2
  33. package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +2 -1
  35. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  37. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  39. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeLockedSnapshotsCommand.d.ts +99 -0
  42. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  45. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  46. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  48. package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -1
  49. package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -2
  51. package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +2 -1
  53. package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +3 -2
  54. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  55. package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  56. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -2
  57. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  58. package/dist-types/commands/LockSnapshotCommand.d.ts +103 -0
  59. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  60. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  61. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  62. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +5 -1
  64. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  65. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -3
  66. package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  67. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  68. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  69. package/dist-types/commands/UnlockSnapshotCommand.d.ts +76 -0
  70. package/dist-types/commands/index.d.ts +3 -0
  71. package/dist-types/models/models_0.d.ts +9 -0
  72. package/dist-types/models/models_2.d.ts +7 -0
  73. package/dist-types/models/models_4.d.ts +154 -129
  74. package/dist-types/models/models_5.d.ts +130 -137
  75. package/dist-types/models/models_6.d.ts +326 -306
  76. package/dist-types/models/models_7.d.ts +331 -3
  77. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  78. package/dist-types/ts3.4/EC2.d.ts +51 -0
  79. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  80. package/dist-types/ts3.4/commands/DescribeLockedSnapshotsCommand.d.ts +42 -0
  81. package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -4
  82. package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +4 -2
  84. package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +4 -2
  86. package/dist-types/ts3.4/commands/LockSnapshotCommand.d.ts +35 -0
  87. package/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +38 -0
  91. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  92. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  93. package/dist-types/ts3.4/models/models_2.d.ts +1 -0
  94. package/dist-types/ts3.4/models/models_4.d.ts +29 -24
  95. package/dist-types/ts3.4/models/models_5.d.ts +24 -23
  96. package/dist-types/ts3.4/models/models_6.d.ts +55 -71
  97. package/dist-types/ts3.4/models/models_7.d.ts +75 -1
  98. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  99. package/package.json +1 -1
@@ -1,9 +1,298 @@
1
- import { _InstanceType, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
1
+ import { _InstanceType, AddressAttribute, AddressAttributeName, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
2
2
  import { AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
3
  import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
4
4
  import { ClientVpnConnectionStatus, Filter, InstanceAttributeName } from "./models_3";
5
- import { HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, SnapshotAttributeName } from "./models_4";
6
- import { CapacityReservationSpecification, InstanceMonitoring, ResetFpgaImageAttributeName, Status } from "./models_6";
5
+ import { HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, SnapshotAttributeName, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
+ import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_6";
7
+ /**
8
+ * @public
9
+ * <p>Describes the launch specification for an instance.</p>
10
+ */
11
+ export interface RequestSpotLaunchSpecification {
12
+ /**
13
+ * @public
14
+ * <p>The IDs of the security groups.</p>
15
+ */
16
+ SecurityGroupIds?: string[];
17
+ /**
18
+ * @public
19
+ * <p>Not supported.</p>
20
+ */
21
+ SecurityGroups?: string[];
22
+ /**
23
+ * @public
24
+ * <p>Deprecated.</p>
25
+ */
26
+ AddressingType?: string;
27
+ /**
28
+ * @public
29
+ * <p>The block device mapping entries. You can't specify both a snapshot ID and an encryption value.
30
+ * This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume,
31
+ * it is not blank and its encryption status is used for the volume encryption status.</p>
32
+ */
33
+ BlockDeviceMappings?: BlockDeviceMapping[];
34
+ /**
35
+ * @public
36
+ * <p>Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.</p>
37
+ * <p>Default: <code>false</code>
38
+ * </p>
39
+ */
40
+ EbsOptimized?: boolean;
41
+ /**
42
+ * @public
43
+ * <p>The IAM instance profile.</p>
44
+ */
45
+ IamInstanceProfile?: IamInstanceProfileSpecification;
46
+ /**
47
+ * @public
48
+ * <p>The ID of the AMI.</p>
49
+ */
50
+ ImageId?: string;
51
+ /**
52
+ * @public
53
+ * <p>The instance type. Only one instance type can be specified.</p>
54
+ */
55
+ InstanceType?: _InstanceType;
56
+ /**
57
+ * @public
58
+ * <p>The ID of the kernel.</p>
59
+ */
60
+ KernelId?: string;
61
+ /**
62
+ * @public
63
+ * <p>The name of the key pair.</p>
64
+ */
65
+ KeyName?: string;
66
+ /**
67
+ * @public
68
+ * <p>Indicates whether basic or detailed monitoring is enabled for the instance.</p>
69
+ * <p>Default: Disabled</p>
70
+ */
71
+ Monitoring?: RunInstancesMonitoringEnabled;
72
+ /**
73
+ * @public
74
+ * <p>The network interfaces. If you specify a network interface, you must specify
75
+ * subnet IDs and security group IDs using the network interface.</p>
76
+ */
77
+ NetworkInterfaces?: InstanceNetworkInterfaceSpecification[];
78
+ /**
79
+ * @public
80
+ * <p>The placement information for the instance.</p>
81
+ */
82
+ Placement?: SpotPlacement;
83
+ /**
84
+ * @public
85
+ * <p>The ID of the RAM disk.</p>
86
+ */
87
+ RamdiskId?: string;
88
+ /**
89
+ * @public
90
+ * <p>The ID of the subnet in which to launch the instance.</p>
91
+ */
92
+ SubnetId?: string;
93
+ /**
94
+ * @public
95
+ * <p>The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.</p>
96
+ */
97
+ UserData?: string;
98
+ }
99
+ /**
100
+ * @public
101
+ * <p>Contains the parameters for RequestSpotInstances.</p>
102
+ */
103
+ export interface RequestSpotInstancesRequest {
104
+ /**
105
+ * @public
106
+ * <p>The user-specified name for a logical grouping of requests.</p>
107
+ * <p>When you specify an Availability Zone group in a Spot Instance request, all Spot
108
+ * Instances in the request are launched in the same Availability Zone. Instance proximity
109
+ * is maintained with this parameter, but the choice of Availability Zone is not. The group
110
+ * applies only to requests for Spot Instances of the same instance type. Any additional
111
+ * Spot Instance requests that are specified with the same Availability Zone group name are
112
+ * launched in that same Availability Zone, as long as at least one instance from the group
113
+ * is still active.</p>
114
+ * <p>If there is no active instance running in the Availability Zone group that you specify
115
+ * for a new Spot Instance request (all instances are terminated, the request is expired,
116
+ * or the maximum price you specified falls below current Spot price), then Amazon EC2 launches
117
+ * the instance in any Availability Zone where the constraint can be met. Consequently, the
118
+ * subsequent set of Spot Instances could be placed in a different zone from the original
119
+ * request, even if you specified the same Availability Zone group.</p>
120
+ * <p>Default: Instances are launched in any available Availability Zone.</p>
121
+ */
122
+ AvailabilityZoneGroup?: string;
123
+ /**
124
+ * @public
125
+ * <p>Deprecated.</p>
126
+ */
127
+ BlockDurationMinutes?: number;
128
+ /**
129
+ * @public
130
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
131
+ * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">How to Ensure
132
+ * Idempotency</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
133
+ */
134
+ ClientToken?: string;
135
+ /**
136
+ * @public
137
+ * <p>Checks whether you have the required permissions for the action, without actually
138
+ * making the request, and provides an error response. If you have the required
139
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
140
+ * <code>UnauthorizedOperation</code>.</p>
141
+ */
142
+ DryRun?: boolean;
143
+ /**
144
+ * @public
145
+ * <p>The maximum number of Spot Instances to launch.</p>
146
+ * <p>Default: 1</p>
147
+ */
148
+ InstanceCount?: number;
149
+ /**
150
+ * @public
151
+ * <p>The instance launch group. Launch groups are Spot Instances that launch together and
152
+ * terminate together.</p>
153
+ * <p>Default: Instances are launched and terminated individually</p>
154
+ */
155
+ LaunchGroup?: string;
156
+ /**
157
+ * @public
158
+ * <p>The launch specification.</p>
159
+ */
160
+ LaunchSpecification?: RequestSpotLaunchSpecification;
161
+ /**
162
+ * @public
163
+ * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
164
+ * using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
165
+ * <important>
166
+ * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
167
+ * </important>
168
+ */
169
+ SpotPrice?: string;
170
+ /**
171
+ * @public
172
+ * <p>The Spot Instance request type.</p>
173
+ * <p>Default: <code>one-time</code>
174
+ * </p>
175
+ */
176
+ Type?: SpotInstanceType;
177
+ /**
178
+ * @public
179
+ * <p>The start date of the request. If this is a one-time request, the request becomes
180
+ * active at this date and time and remains active until all instances launch, the request
181
+ * expires, or the request is canceled. If the request is persistent, the request becomes
182
+ * active at this date and time and remains active until it expires or is canceled.</p>
183
+ * <p>The specified start date and time cannot be equal to the current date and time. You
184
+ * must specify a start date and time that occurs after the current date and time.</p>
185
+ */
186
+ ValidFrom?: Date;
187
+ /**
188
+ * @public
189
+ * <p>The end date of the request, in UTC format
190
+ * (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
191
+ * <ul>
192
+ * <li>
193
+ * <p>For a persistent request, the request remains active until the
194
+ * <code>ValidUntil</code> date and time is reached. Otherwise, the request
195
+ * remains active until you cancel it. </p>
196
+ * </li>
197
+ * <li>
198
+ * <p>For a one-time request, the request remains active until all instances launch,
199
+ * the request is canceled, or the <code>ValidUntil</code> date and time is
200
+ * reached. By default, the request is valid for 7 days from the date the request
201
+ * was created.</p>
202
+ * </li>
203
+ * </ul>
204
+ */
205
+ ValidUntil?: Date;
206
+ /**
207
+ * @public
208
+ * <p>The key-value pair for tagging the Spot Instance request on creation. The value for
209
+ * <code>ResourceType</code> must be <code>spot-instances-request</code>, otherwise the
210
+ * Spot Instance request fails. To tag the Spot Instance request after it has been created,
211
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>. </p>
212
+ */
213
+ TagSpecifications?: TagSpecification[];
214
+ /**
215
+ * @public
216
+ * <p>The behavior when a Spot Instance is interrupted. The default is <code>terminate</code>.</p>
217
+ */
218
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
219
+ }
220
+ /**
221
+ * @public
222
+ * <p>Contains the output of RequestSpotInstances.</p>
223
+ */
224
+ export interface RequestSpotInstancesResult {
225
+ /**
226
+ * @public
227
+ * <p>The Spot Instance requests.</p>
228
+ */
229
+ SpotInstanceRequests?: SpotInstanceRequest[];
230
+ }
231
+ /**
232
+ * @public
233
+ */
234
+ export interface ResetAddressAttributeRequest {
235
+ /**
236
+ * @public
237
+ * <p>[EC2-VPC] The allocation ID.</p>
238
+ */
239
+ AllocationId: string | undefined;
240
+ /**
241
+ * @public
242
+ * <p>The attribute of the IP address.</p>
243
+ */
244
+ Attribute: AddressAttributeName | undefined;
245
+ /**
246
+ * @public
247
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
248
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
249
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
250
+ */
251
+ DryRun?: boolean;
252
+ }
253
+ /**
254
+ * @public
255
+ */
256
+ export interface ResetAddressAttributeResult {
257
+ /**
258
+ * @public
259
+ * <p>Information about the IP address.</p>
260
+ */
261
+ Address?: AddressAttribute;
262
+ }
263
+ /**
264
+ * @public
265
+ */
266
+ export interface ResetEbsDefaultKmsKeyIdRequest {
267
+ /**
268
+ * @public
269
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
270
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
271
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
272
+ */
273
+ DryRun?: boolean;
274
+ }
275
+ /**
276
+ * @public
277
+ */
278
+ export interface ResetEbsDefaultKmsKeyIdResult {
279
+ /**
280
+ * @public
281
+ * <p>The Amazon Resource Name (ARN) of the default KMS key for EBS encryption by default.</p>
282
+ */
283
+ KmsKeyId?: string;
284
+ }
285
+ /**
286
+ * @public
287
+ * @enum
288
+ */
289
+ export declare const ResetFpgaImageAttributeName: {
290
+ readonly loadPermission: "loadPermission";
291
+ };
292
+ /**
293
+ * @public
294
+ */
295
+ export type ResetFpgaImageAttributeName = (typeof ResetFpgaImageAttributeName)[keyof typeof ResetFpgaImageAttributeName];
7
296
  /**
8
297
  * @public
9
298
  */
@@ -2380,6 +2669,33 @@ export interface UnassignPrivateNatGatewayAddressResult {
2380
2669
  */
2381
2670
  NatGatewayAddresses?: NatGatewayAddress[];
2382
2671
  }
2672
+ /**
2673
+ * @public
2674
+ */
2675
+ export interface UnlockSnapshotRequest {
2676
+ /**
2677
+ * @public
2678
+ * <p>The ID of the snapshot to unlock.</p>
2679
+ */
2680
+ SnapshotId: string | undefined;
2681
+ /**
2682
+ * @public
2683
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
2684
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
2685
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2686
+ */
2687
+ DryRun?: boolean;
2688
+ }
2689
+ /**
2690
+ * @public
2691
+ */
2692
+ export interface UnlockSnapshotResult {
2693
+ /**
2694
+ * @public
2695
+ * <p>The ID of the snapshot.</p>
2696
+ */
2697
+ SnapshotId?: string;
2698
+ }
2383
2699
  /**
2384
2700
  * @public
2385
2701
  */
@@ -2546,6 +2862,18 @@ export interface WithdrawByoipCidrResult {
2546
2862
  */
2547
2863
  ByoipCidr?: ByoipCidr;
2548
2864
  }
2865
+ /**
2866
+ * @internal
2867
+ */
2868
+ export declare const RequestSpotLaunchSpecificationFilterSensitiveLog: (obj: RequestSpotLaunchSpecification) => any;
2869
+ /**
2870
+ * @internal
2871
+ */
2872
+ export declare const RequestSpotInstancesRequestFilterSensitiveLog: (obj: RequestSpotInstancesRequest) => any;
2873
+ /**
2874
+ * @internal
2875
+ */
2876
+ export declare const RequestSpotInstancesResultFilterSensitiveLog: (obj: RequestSpotInstancesResult) => any;
2549
2877
  /**
2550
2878
  * @internal
2551
2879
  */
@@ -288,6 +288,7 @@ import { DescribeLocalGatewayRouteTableVpcAssociationsCommandInput, DescribeLoca
288
288
  import { DescribeLocalGatewaysCommandInput, DescribeLocalGatewaysCommandOutput } from "../commands/DescribeLocalGatewaysCommand";
289
289
  import { DescribeLocalGatewayVirtualInterfaceGroupsCommandInput, DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput } from "../commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand";
290
290
  import { DescribeLocalGatewayVirtualInterfacesCommandInput, DescribeLocalGatewayVirtualInterfacesCommandOutput } from "../commands/DescribeLocalGatewayVirtualInterfacesCommand";
291
+ import { DescribeLockedSnapshotsCommandInput, DescribeLockedSnapshotsCommandOutput } from "../commands/DescribeLockedSnapshotsCommand";
291
292
  import { DescribeManagedPrefixListsCommandInput, DescribeManagedPrefixListsCommandOutput } from "../commands/DescribeManagedPrefixListsCommand";
292
293
  import { DescribeMovingAddressesCommandInput, DescribeMovingAddressesCommandOutput } from "../commands/DescribeMovingAddressesCommand";
293
294
  import { DescribeNatGatewaysCommandInput, DescribeNatGatewaysCommandOutput } from "../commands/DescribeNatGatewaysCommand";
@@ -474,6 +475,7 @@ import { ImportSnapshotCommandInput, ImportSnapshotCommandOutput } from "../comm
474
475
  import { ImportVolumeCommandInput, ImportVolumeCommandOutput } from "../commands/ImportVolumeCommand";
475
476
  import { ListImagesInRecycleBinCommandInput, ListImagesInRecycleBinCommandOutput } from "../commands/ListImagesInRecycleBinCommand";
476
477
  import { ListSnapshotsInRecycleBinCommandInput, ListSnapshotsInRecycleBinCommandOutput } from "../commands/ListSnapshotsInRecycleBinCommand";
478
+ import { LockSnapshotCommandInput, LockSnapshotCommandOutput } from "../commands/LockSnapshotCommand";
477
479
  import { ModifyAddressAttributeCommandInput, ModifyAddressAttributeCommandOutput } from "../commands/ModifyAddressAttributeCommand";
478
480
  import { ModifyAvailabilityZoneGroupCommandInput, ModifyAvailabilityZoneGroupCommandOutput } from "../commands/ModifyAvailabilityZoneGroupCommand";
479
481
  import { ModifyCapacityReservationCommandInput, ModifyCapacityReservationCommandOutput } from "../commands/ModifyCapacityReservationCommand";
@@ -602,6 +604,7 @@ import { TerminateInstancesCommandInput, TerminateInstancesCommandOutput } from
602
604
  import { UnassignIpv6AddressesCommandInput, UnassignIpv6AddressesCommandOutput } from "../commands/UnassignIpv6AddressesCommand";
603
605
  import { UnassignPrivateIpAddressesCommandInput, UnassignPrivateIpAddressesCommandOutput } from "../commands/UnassignPrivateIpAddressesCommand";
604
606
  import { UnassignPrivateNatGatewayAddressCommandInput, UnassignPrivateNatGatewayAddressCommandOutput } from "../commands/UnassignPrivateNatGatewayAddressCommand";
607
+ import { UnlockSnapshotCommandInput, UnlockSnapshotCommandOutput } from "../commands/UnlockSnapshotCommand";
605
608
  import { UnmonitorInstancesCommandInput, UnmonitorInstancesCommandOutput } from "../commands/UnmonitorInstancesCommand";
606
609
  import { UpdateSecurityGroupRuleDescriptionsEgressCommandInput, UpdateSecurityGroupRuleDescriptionsEgressCommandOutput } from "../commands/UpdateSecurityGroupRuleDescriptionsEgressCommand";
607
610
  import { UpdateSecurityGroupRuleDescriptionsIngressCommandInput, UpdateSecurityGroupRuleDescriptionsIngressCommandOutput } from "../commands/UpdateSecurityGroupRuleDescriptionsIngressCommand";
@@ -1758,6 +1761,10 @@ export declare const se_DescribeLocalGatewayVirtualInterfaceGroupsCommand: (inpu
1758
1761
  * serializeAws_ec2DescribeLocalGatewayVirtualInterfacesCommand
1759
1762
  */
1760
1763
  export declare const se_DescribeLocalGatewayVirtualInterfacesCommand: (input: DescribeLocalGatewayVirtualInterfacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1764
+ /**
1765
+ * serializeAws_ec2DescribeLockedSnapshotsCommand
1766
+ */
1767
+ export declare const se_DescribeLockedSnapshotsCommand: (input: DescribeLockedSnapshotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1761
1768
  /**
1762
1769
  * serializeAws_ec2DescribeManagedPrefixListsCommand
1763
1770
  */
@@ -2502,6 +2509,10 @@ export declare const se_ListImagesInRecycleBinCommand: (input: ListImagesInRecyc
2502
2509
  * serializeAws_ec2ListSnapshotsInRecycleBinCommand
2503
2510
  */
2504
2511
  export declare const se_ListSnapshotsInRecycleBinCommand: (input: ListSnapshotsInRecycleBinCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2512
+ /**
2513
+ * serializeAws_ec2LockSnapshotCommand
2514
+ */
2515
+ export declare const se_LockSnapshotCommand: (input: LockSnapshotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2505
2516
  /**
2506
2517
  * serializeAws_ec2ModifyAddressAttributeCommand
2507
2518
  */
@@ -3014,6 +3025,10 @@ export declare const se_UnassignPrivateIpAddressesCommand: (input: UnassignPriva
3014
3025
  * serializeAws_ec2UnassignPrivateNatGatewayAddressCommand
3015
3026
  */
3016
3027
  export declare const se_UnassignPrivateNatGatewayAddressCommand: (input: UnassignPrivateNatGatewayAddressCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
3028
+ /**
3029
+ * serializeAws_ec2UnlockSnapshotCommand
3030
+ */
3031
+ export declare const se_UnlockSnapshotCommand: (input: UnlockSnapshotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
3017
3032
  /**
3018
3033
  * serializeAws_ec2UnmonitorInstancesCommand
3019
3034
  */
@@ -4182,6 +4197,10 @@ export declare const de_DescribeLocalGatewayVirtualInterfaceGroupsCommand: (outp
4182
4197
  * deserializeAws_ec2DescribeLocalGatewayVirtualInterfacesCommand
4183
4198
  */
4184
4199
  export declare const de_DescribeLocalGatewayVirtualInterfacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocalGatewayVirtualInterfacesCommandOutput>;
4200
+ /**
4201
+ * deserializeAws_ec2DescribeLockedSnapshotsCommand
4202
+ */
4203
+ export declare const de_DescribeLockedSnapshotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLockedSnapshotsCommandOutput>;
4185
4204
  /**
4186
4205
  * deserializeAws_ec2DescribeManagedPrefixListsCommand
4187
4206
  */
@@ -4926,6 +4945,10 @@ export declare const de_ListImagesInRecycleBinCommand: (output: __HttpResponse,
4926
4945
  * deserializeAws_ec2ListSnapshotsInRecycleBinCommand
4927
4946
  */
4928
4947
  export declare const de_ListSnapshotsInRecycleBinCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSnapshotsInRecycleBinCommandOutput>;
4948
+ /**
4949
+ * deserializeAws_ec2LockSnapshotCommand
4950
+ */
4951
+ export declare const de_LockSnapshotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<LockSnapshotCommandOutput>;
4929
4952
  /**
4930
4953
  * deserializeAws_ec2ModifyAddressAttributeCommand
4931
4954
  */
@@ -5438,6 +5461,10 @@ export declare const de_UnassignPrivateIpAddressesCommand: (output: __HttpRespon
5438
5461
  * deserializeAws_ec2UnassignPrivateNatGatewayAddressCommand
5439
5462
  */
5440
5463
  export declare const de_UnassignPrivateNatGatewayAddressCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnassignPrivateNatGatewayAddressCommandOutput>;
5464
+ /**
5465
+ * deserializeAws_ec2UnlockSnapshotCommand
5466
+ */
5467
+ export declare const de_UnlockSnapshotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnlockSnapshotCommandOutput>;
5441
5468
  /**
5442
5469
  * deserializeAws_ec2UnmonitorInstancesCommand
5443
5470
  */
@@ -1151,6 +1151,10 @@ import {
1151
1151
  DescribeLocalGatewayVirtualInterfacesCommandInput,
1152
1152
  DescribeLocalGatewayVirtualInterfacesCommandOutput,
1153
1153
  } from "./commands/DescribeLocalGatewayVirtualInterfacesCommand";
1154
+ import {
1155
+ DescribeLockedSnapshotsCommandInput,
1156
+ DescribeLockedSnapshotsCommandOutput,
1157
+ } from "./commands/DescribeLockedSnapshotsCommand";
1154
1158
  import {
1155
1159
  DescribeManagedPrefixListsCommandInput,
1156
1160
  DescribeManagedPrefixListsCommandOutput,
@@ -1895,6 +1899,10 @@ import {
1895
1899
  ListSnapshotsInRecycleBinCommandInput,
1896
1900
  ListSnapshotsInRecycleBinCommandOutput,
1897
1901
  } from "./commands/ListSnapshotsInRecycleBinCommand";
1902
+ import {
1903
+ LockSnapshotCommandInput,
1904
+ LockSnapshotCommandOutput,
1905
+ } from "./commands/LockSnapshotCommand";
1898
1906
  import {
1899
1907
  ModifyAddressAttributeCommandInput,
1900
1908
  ModifyAddressAttributeCommandOutput,
@@ -2407,6 +2415,10 @@ import {
2407
2415
  UnassignPrivateNatGatewayAddressCommandInput,
2408
2416
  UnassignPrivateNatGatewayAddressCommandOutput,
2409
2417
  } from "./commands/UnassignPrivateNatGatewayAddressCommand";
2418
+ import {
2419
+ UnlockSnapshotCommandInput,
2420
+ UnlockSnapshotCommandOutput,
2421
+ } from "./commands/UnlockSnapshotCommand";
2410
2422
  import {
2411
2423
  UnmonitorInstancesCommandInput,
2412
2424
  UnmonitorInstancesCommandOutput,
@@ -6445,6 +6457,19 @@ export interface EC2 {
6445
6457
  data?: DescribeLocalGatewayVirtualInterfacesCommandOutput
6446
6458
  ) => void
6447
6459
  ): void;
6460
+ describeLockedSnapshots(
6461
+ args: DescribeLockedSnapshotsCommandInput,
6462
+ options?: __HttpHandlerOptions
6463
+ ): Promise<DescribeLockedSnapshotsCommandOutput>;
6464
+ describeLockedSnapshots(
6465
+ args: DescribeLockedSnapshotsCommandInput,
6466
+ cb: (err: any, data?: DescribeLockedSnapshotsCommandOutput) => void
6467
+ ): void;
6468
+ describeLockedSnapshots(
6469
+ args: DescribeLockedSnapshotsCommandInput,
6470
+ options: __HttpHandlerOptions,
6471
+ cb: (err: any, data?: DescribeLockedSnapshotsCommandOutput) => void
6472
+ ): void;
6448
6473
  describeManagedPrefixLists(
6449
6474
  args: DescribeManagedPrefixListsCommandInput,
6450
6475
  options?: __HttpHandlerOptions
@@ -9187,6 +9212,19 @@ export interface EC2 {
9187
9212
  options: __HttpHandlerOptions,
9188
9213
  cb: (err: any, data?: ListSnapshotsInRecycleBinCommandOutput) => void
9189
9214
  ): void;
9215
+ lockSnapshot(
9216
+ args: LockSnapshotCommandInput,
9217
+ options?: __HttpHandlerOptions
9218
+ ): Promise<LockSnapshotCommandOutput>;
9219
+ lockSnapshot(
9220
+ args: LockSnapshotCommandInput,
9221
+ cb: (err: any, data?: LockSnapshotCommandOutput) => void
9222
+ ): void;
9223
+ lockSnapshot(
9224
+ args: LockSnapshotCommandInput,
9225
+ options: __HttpHandlerOptions,
9226
+ cb: (err: any, data?: LockSnapshotCommandOutput) => void
9227
+ ): void;
9190
9228
  modifyAddressAttribute(
9191
9229
  args: ModifyAddressAttributeCommandInput,
9192
9230
  options?: __HttpHandlerOptions
@@ -10995,6 +11033,19 @@ export interface EC2 {
10995
11033
  options: __HttpHandlerOptions,
10996
11034
  cb: (err: any, data?: UnassignPrivateNatGatewayAddressCommandOutput) => void
10997
11035
  ): void;
11036
+ unlockSnapshot(
11037
+ args: UnlockSnapshotCommandInput,
11038
+ options?: __HttpHandlerOptions
11039
+ ): Promise<UnlockSnapshotCommandOutput>;
11040
+ unlockSnapshot(
11041
+ args: UnlockSnapshotCommandInput,
11042
+ cb: (err: any, data?: UnlockSnapshotCommandOutput) => void
11043
+ ): void;
11044
+ unlockSnapshot(
11045
+ args: UnlockSnapshotCommandInput,
11046
+ options: __HttpHandlerOptions,
11047
+ cb: (err: any, data?: UnlockSnapshotCommandOutput) => void
11048
+ ): void;
10998
11049
  unmonitorInstances(
10999
11050
  args: UnmonitorInstancesCommandInput,
11000
11051
  options?: __HttpHandlerOptions
@@ -1197,6 +1197,10 @@ import {
1197
1197
  DescribeLocalGatewayVirtualInterfacesCommandInput,
1198
1198
  DescribeLocalGatewayVirtualInterfacesCommandOutput,
1199
1199
  } from "./commands/DescribeLocalGatewayVirtualInterfacesCommand";
1200
+ import {
1201
+ DescribeLockedSnapshotsCommandInput,
1202
+ DescribeLockedSnapshotsCommandOutput,
1203
+ } from "./commands/DescribeLockedSnapshotsCommand";
1200
1204
  import {
1201
1205
  DescribeManagedPrefixListsCommandInput,
1202
1206
  DescribeManagedPrefixListsCommandOutput,
@@ -1941,6 +1945,10 @@ import {
1941
1945
  ListSnapshotsInRecycleBinCommandInput,
1942
1946
  ListSnapshotsInRecycleBinCommandOutput,
1943
1947
  } from "./commands/ListSnapshotsInRecycleBinCommand";
1948
+ import {
1949
+ LockSnapshotCommandInput,
1950
+ LockSnapshotCommandOutput,
1951
+ } from "./commands/LockSnapshotCommand";
1944
1952
  import {
1945
1953
  ModifyAddressAttributeCommandInput,
1946
1954
  ModifyAddressAttributeCommandOutput,
@@ -2453,6 +2461,10 @@ import {
2453
2461
  UnassignPrivateNatGatewayAddressCommandInput,
2454
2462
  UnassignPrivateNatGatewayAddressCommandOutput,
2455
2463
  } from "./commands/UnassignPrivateNatGatewayAddressCommand";
2464
+ import {
2465
+ UnlockSnapshotCommandInput,
2466
+ UnlockSnapshotCommandOutput,
2467
+ } from "./commands/UnlockSnapshotCommand";
2456
2468
  import {
2457
2469
  UnmonitorInstancesCommandInput,
2458
2470
  UnmonitorInstancesCommandOutput,
@@ -2765,6 +2777,7 @@ export type ServiceInputTypes =
2765
2777
  | DescribeLocalGatewayVirtualInterfaceGroupsCommandInput
2766
2778
  | DescribeLocalGatewayVirtualInterfacesCommandInput
2767
2779
  | DescribeLocalGatewaysCommandInput
2780
+ | DescribeLockedSnapshotsCommandInput
2768
2781
  | DescribeManagedPrefixListsCommandInput
2769
2782
  | DescribeMovingAddressesCommandInput
2770
2783
  | DescribeNatGatewaysCommandInput
@@ -2951,6 +2964,7 @@ export type ServiceInputTypes =
2951
2964
  | ImportVolumeCommandInput
2952
2965
  | ListImagesInRecycleBinCommandInput
2953
2966
  | ListSnapshotsInRecycleBinCommandInput
2967
+ | LockSnapshotCommandInput
2954
2968
  | ModifyAddressAttributeCommandInput
2955
2969
  | ModifyAvailabilityZoneGroupCommandInput
2956
2970
  | ModifyCapacityReservationCommandInput
@@ -3079,6 +3093,7 @@ export type ServiceInputTypes =
3079
3093
  | UnassignIpv6AddressesCommandInput
3080
3094
  | UnassignPrivateIpAddressesCommandInput
3081
3095
  | UnassignPrivateNatGatewayAddressCommandInput
3096
+ | UnlockSnapshotCommandInput
3082
3097
  | UnmonitorInstancesCommandInput
3083
3098
  | UpdateSecurityGroupRuleDescriptionsEgressCommandInput
3084
3099
  | UpdateSecurityGroupRuleDescriptionsIngressCommandInput
@@ -3372,6 +3387,7 @@ export type ServiceOutputTypes =
3372
3387
  | DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput
3373
3388
  | DescribeLocalGatewayVirtualInterfacesCommandOutput
3374
3389
  | DescribeLocalGatewaysCommandOutput
3390
+ | DescribeLockedSnapshotsCommandOutput
3375
3391
  | DescribeManagedPrefixListsCommandOutput
3376
3392
  | DescribeMovingAddressesCommandOutput
3377
3393
  | DescribeNatGatewaysCommandOutput
@@ -3558,6 +3574,7 @@ export type ServiceOutputTypes =
3558
3574
  | ImportVolumeCommandOutput
3559
3575
  | ListImagesInRecycleBinCommandOutput
3560
3576
  | ListSnapshotsInRecycleBinCommandOutput
3577
+ | LockSnapshotCommandOutput
3561
3578
  | ModifyAddressAttributeCommandOutput
3562
3579
  | ModifyAvailabilityZoneGroupCommandOutput
3563
3580
  | ModifyCapacityReservationCommandOutput
@@ -3686,6 +3703,7 @@ export type ServiceOutputTypes =
3686
3703
  | UnassignIpv6AddressesCommandOutput
3687
3704
  | UnassignPrivateIpAddressesCommandOutput
3688
3705
  | UnassignPrivateNatGatewayAddressCommandOutput
3706
+ | UnlockSnapshotCommandOutput
3689
3707
  | UnmonitorInstancesCommandOutput
3690
3708
  | UpdateSecurityGroupRuleDescriptionsEgressCommandOutput
3691
3709
  | UpdateSecurityGroupRuleDescriptionsIngressCommandOutput
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ EC2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../EC2Client";
14
+ import {
15
+ DescribeLockedSnapshotsRequest,
16
+ DescribeLockedSnapshotsResult,
17
+ } from "../models/models_4";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DescribeLockedSnapshotsCommandInput
20
+ extends DescribeLockedSnapshotsRequest {}
21
+ export interface DescribeLockedSnapshotsCommandOutput
22
+ extends DescribeLockedSnapshotsResult,
23
+ __MetadataBearer {}
24
+ export declare class DescribeLockedSnapshotsCommand extends $Command<
25
+ DescribeLockedSnapshotsCommandInput,
26
+ DescribeLockedSnapshotsCommandOutput,
27
+ EC2ClientResolvedConfig
28
+ > {
29
+ readonly input: DescribeLockedSnapshotsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DescribeLockedSnapshotsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: EC2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DescribeLockedSnapshotsCommandInput,
38
+ DescribeLockedSnapshotsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- DescribeTransitGatewayMulticastDomainsRequest,
16
- DescribeTransitGatewayMulticastDomainsResult,
17
- } from "../models/models_4";
14
+ import { DescribeTransitGatewayMulticastDomainsRequest } from "../models/models_4";
15
+ import { DescribeTransitGatewayMulticastDomainsResult } from "../models/models_5";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface DescribeTransitGatewayMulticastDomainsCommandInput
20
18
  extends DescribeTransitGatewayMulticastDomainsRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DescribeTransitGatewayPeeringAttachmentsRequest,
16
16
  DescribeTransitGatewayPeeringAttachmentsResult,
17
- } from "../models/models_4";
17
+ } from "../models/models_5";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface DescribeTransitGatewayPeeringAttachmentsCommandInput
20
20
  extends DescribeTransitGatewayPeeringAttachmentsRequest {}