@aws-sdk/client-ec2 3.695.0 → 3.696.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 (118) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +551 -19
  3. package/dist-es/EC2.js +12 -0
  4. package/dist-es/commands/CreateVpcBlockPublicAccessExclusionCommand.js +22 -0
  5. package/dist-es/commands/DeleteVpcBlockPublicAccessExclusionCommand.js +22 -0
  6. package/dist-es/commands/DescribeVpcBlockPublicAccessExclusionsCommand.js +22 -0
  7. package/dist-es/commands/DescribeVpcBlockPublicAccessOptionsCommand.js +22 -0
  8. package/dist-es/commands/ModifyVpcBlockPublicAccessExclusionCommand.js +22 -0
  9. package/dist-es/commands/ModifyVpcBlockPublicAccessOptionsCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_1.js +5 -0
  12. package/dist-es/models/models_2.js +16 -0
  13. package/dist-es/models/models_4.js +0 -15
  14. package/dist-es/models/models_5.js +25 -0
  15. package/dist-es/protocols/Aws_ec2.js +395 -2
  16. package/dist-types/EC2.d.ts +44 -0
  17. package/dist-types/EC2Client.d.ts +8 -2
  18. package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
  19. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
  20. package/dist-types/commands/CopyImageCommand.d.ts +8 -7
  21. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -0
  22. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  23. package/dist-types/commands/CreateImageCommand.d.ts +6 -5
  24. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -2
  25. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateSubnetCommand.d.ts +3 -0
  28. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +100 -0
  29. package/dist-types/commands/CreateVpcCommand.d.ts +3 -0
  30. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +87 -0
  35. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  36. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +6 -4
  37. package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
  40. package/dist-types/commands/DescribeImagesCommand.d.ts +8 -7
  41. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -2
  43. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -0
  46. package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +102 -0
  47. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +78 -0
  48. package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
  49. package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
  50. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  51. package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
  52. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
  53. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  54. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  55. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  56. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  57. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -2
  58. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  59. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
  60. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  61. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  62. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  64. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  65. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  66. package/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +88 -0
  67. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +79 -0
  68. package/dist-types/commands/RegisterImageCommand.d.ts +6 -7
  69. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
  70. package/dist-types/commands/index.d.ts +6 -0
  71. package/dist-types/models/models_0.d.ts +27 -23
  72. package/dist-types/models/models_1.d.ts +66 -80
  73. package/dist-types/models/models_2.d.ts +220 -106
  74. package/dist-types/models/models_3.d.ts +155 -371
  75. package/dist-types/models/models_4.d.ts +423 -401
  76. package/dist-types/models/models_5.d.ts +567 -506
  77. package/dist-types/models/models_6.d.ts +3268 -3187
  78. package/dist-types/models/models_7.d.ts +502 -28
  79. package/dist-types/protocols/Aws_ec2.d.ts +54 -0
  80. package/dist-types/ts3.4/EC2.d.ts +140 -0
  81. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  82. package/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +4 -2
  93. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +4 -2
  101. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  108. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  110. package/dist-types/ts3.4/models/models_1.d.ts +12 -15
  111. package/dist-types/ts3.4/models/models_2.d.ts +56 -32
  112. package/dist-types/ts3.4/models/models_3.d.ts +39 -69
  113. package/dist-types/ts3.4/models/models_4.d.ts +70 -70
  114. package/dist-types/ts3.4/models/models_5.d.ts +111 -101
  115. package/dist-types/ts3.4/models/models_6.d.ts +100 -102
  116. package/dist-types/ts3.4/models/models_7.d.ts +124 -2
  117. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
  118. package/package.json +37 -37
@@ -1,7 +1,354 @@
1
- import { AlternatePathHint, AttachmentStatus, CurrencyCodeValues, Explanation, IamInstanceProfile, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, Ec2InstanceConnectEndpoint, HostnameType, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, OperatorResponse, Placement, PlatformValues, StateReason, Tenancy } from "./models_1";
3
- import { GroupIdentifier, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, StorageTier } from "./models_2";
1
+ import { AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AttachmentStatus, AutoPlacement, CurrencyCodeValues, Explanation, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag } from "./models_0";
2
+ import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, Ec2InstanceConnectEndpoint, HostnameType, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, OperatorResponse, Placement, PlatformValues, StateReason, Tenancy } from "./models_1";
3
+ import { GroupIdentifier, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask, RouteTable } from "./models_2";
4
4
  import { Byoasn, Filter, IdFormat, InstanceTagNotificationAttribute, PermissionGroup, ProductCode } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DescribeHostsRequest {
9
+ /**
10
+ * <p>The IDs of the Dedicated Hosts. The IDs are used for targeted instance
11
+ * launches.</p>
12
+ * @public
13
+ */
14
+ HostIds?: string[] | undefined;
15
+ /**
16
+ * <p>The token to use to retrieve the next page of results.</p>
17
+ * @public
18
+ */
19
+ NextToken?: string | undefined;
20
+ /**
21
+ * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned <code>nextToken</code> value. This value can be between 5 and 500. If <code>maxResults</code> is given a larger value than 500, you receive an error.</p>
22
+ * <p>You cannot specify this parameter and the host IDs parameter in the same
23
+ * request.</p>
24
+ * @public
25
+ */
26
+ MaxResults?: number | undefined;
27
+ /**
28
+ * <p>The filters.</p>
29
+ * <ul>
30
+ * <li>
31
+ * <p>
32
+ * <code>auto-placement</code> - Whether auto-placement is enabled or disabled
33
+ * (<code>on</code> | <code>off</code>).</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>
37
+ * <code>availability-zone</code> - The Availability Zone of the host.</p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
41
+ * <code>client-token</code> - The idempotency token that you provided when you
42
+ * allocated the host.</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>host-reservation-id</code> - The ID of the reservation assigned to this
47
+ * host.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>instance-type</code> - The instance type size that the Dedicated Host is
52
+ * configured to support.</p>
53
+ * </li>
54
+ * <li>
55
+ * <p>
56
+ * <code>state</code> - The allocation state of the Dedicated Host
57
+ * (<code>available</code> | <code>under-assessment</code> |
58
+ * <code>permanent-failure</code> | <code>released</code> |
59
+ * <code>released-permanent-failure</code>).</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>
63
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
64
+ * </li>
65
+ * </ul>
66
+ * @public
67
+ */
68
+ Filter?: Filter[] | undefined;
69
+ }
70
+ /**
71
+ * <p>Information about the number of instances that can be launched onto the Dedicated
72
+ * Host.</p>
73
+ * @public
74
+ */
75
+ export interface InstanceCapacity {
76
+ /**
77
+ * <p>The number of instances that can be launched onto the Dedicated Host based on the
78
+ * host's available capacity.</p>
79
+ * @public
80
+ */
81
+ AvailableCapacity?: number | undefined;
82
+ /**
83
+ * <p>The instance type supported by the Dedicated Host.</p>
84
+ * @public
85
+ */
86
+ InstanceType?: string | undefined;
87
+ /**
88
+ * <p>The total number of instances that can be launched onto the Dedicated Host if there
89
+ * are no instances running on it.</p>
90
+ * @public
91
+ */
92
+ TotalCapacity?: number | undefined;
93
+ }
94
+ /**
95
+ * <p>The capacity information for instances that can be launched onto the Dedicated Host.
96
+ * </p>
97
+ * @public
98
+ */
99
+ export interface AvailableCapacity {
100
+ /**
101
+ * <p>The number of instances that can be launched onto the Dedicated Host depending on the
102
+ * host's available capacity. For Dedicated Hosts that support multiple instance types,
103
+ * this parameter represents the number of instances for each instance size that is
104
+ * supported on the host.</p>
105
+ * @public
106
+ */
107
+ AvailableInstanceCapacity?: InstanceCapacity[] | undefined;
108
+ /**
109
+ * <p>The number of vCPUs available for launching instances onto the Dedicated Host.</p>
110
+ * @public
111
+ */
112
+ AvailableVCpus?: number | undefined;
113
+ }
114
+ /**
115
+ * <p>Describes the properties of a Dedicated Host.</p>
116
+ * @public
117
+ */
118
+ export interface HostProperties {
119
+ /**
120
+ * <p>The number of cores on the Dedicated Host.</p>
121
+ * @public
122
+ */
123
+ Cores?: number | undefined;
124
+ /**
125
+ * <p>The instance type supported by the Dedicated Host. For example, <code>m5.large</code>.
126
+ * If the host supports multiple instance types, no <b>instanceType</b> is returned.</p>
127
+ * @public
128
+ */
129
+ InstanceType?: string | undefined;
130
+ /**
131
+ * <p>The instance family supported by the Dedicated Host. For example,
132
+ * <code>m5</code>.</p>
133
+ * @public
134
+ */
135
+ InstanceFamily?: string | undefined;
136
+ /**
137
+ * <p>The number of sockets on the Dedicated Host.</p>
138
+ * @public
139
+ */
140
+ Sockets?: number | undefined;
141
+ /**
142
+ * <p>The total number of vCPUs on the Dedicated Host.</p>
143
+ * @public
144
+ */
145
+ TotalVCpus?: number | undefined;
146
+ }
147
+ /**
148
+ * <p>Describes an instance running on a Dedicated Host.</p>
149
+ * @public
150
+ */
151
+ export interface HostInstance {
152
+ /**
153
+ * <p>The ID of instance that is running on the Dedicated Host.</p>
154
+ * @public
155
+ */
156
+ InstanceId?: string | undefined;
157
+ /**
158
+ * <p>The instance type (for example, <code>m3.medium</code>) of the running
159
+ * instance.</p>
160
+ * @public
161
+ */
162
+ InstanceType?: string | undefined;
163
+ /**
164
+ * <p>The ID of the Amazon Web Services account that owns the instance.</p>
165
+ * @public
166
+ */
167
+ OwnerId?: string | undefined;
168
+ }
169
+ /**
170
+ * <p>Describes the properties of the Dedicated Host.</p>
171
+ * @public
172
+ */
173
+ export interface Host {
174
+ /**
175
+ * <p>Whether auto-placement is on or off.</p>
176
+ * @public
177
+ */
178
+ AutoPlacement?: AutoPlacement | undefined;
179
+ /**
180
+ * <p>The Availability Zone of the Dedicated Host.</p>
181
+ * @public
182
+ */
183
+ AvailabilityZone?: string | undefined;
184
+ /**
185
+ * <p>Information about the instances running on the Dedicated Host.</p>
186
+ * @public
187
+ */
188
+ AvailableCapacity?: AvailableCapacity | undefined;
189
+ /**
190
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
191
+ * @public
192
+ */
193
+ ClientToken?: string | undefined;
194
+ /**
195
+ * <p>The ID of the Dedicated Host.</p>
196
+ * @public
197
+ */
198
+ HostId?: string | undefined;
199
+ /**
200
+ * <p>The hardware specifications of the Dedicated Host.</p>
201
+ * @public
202
+ */
203
+ HostProperties?: HostProperties | undefined;
204
+ /**
205
+ * <p>The reservation ID of the Dedicated Host. This returns a <code>null</code> response if
206
+ * the Dedicated Host doesn't have an associated reservation.</p>
207
+ * @public
208
+ */
209
+ HostReservationId?: string | undefined;
210
+ /**
211
+ * <p>The IDs and instance type that are currently running on the Dedicated Host.</p>
212
+ * @public
213
+ */
214
+ Instances?: HostInstance[] | undefined;
215
+ /**
216
+ * <p>The Dedicated Host's state.</p>
217
+ * @public
218
+ */
219
+ State?: AllocationState | undefined;
220
+ /**
221
+ * <p>The time that the Dedicated Host was allocated.</p>
222
+ * @public
223
+ */
224
+ AllocationTime?: Date | undefined;
225
+ /**
226
+ * <p>The time that the Dedicated Host was released.</p>
227
+ * @public
228
+ */
229
+ ReleaseTime?: Date | undefined;
230
+ /**
231
+ * <p>Any tags assigned to the Dedicated Host.</p>
232
+ * @public
233
+ */
234
+ Tags?: Tag[] | undefined;
235
+ /**
236
+ * <p>Indicates whether host recovery is enabled or disabled for the Dedicated Host.</p>
237
+ * @public
238
+ */
239
+ HostRecovery?: HostRecovery | undefined;
240
+ /**
241
+ * <p>Indicates whether the Dedicated Host supports multiple instance types of the same
242
+ * instance family. If the value is <code>on</code>, the Dedicated Host supports multiple
243
+ * instance types in the instance family. If the value is <code>off</code>, the Dedicated
244
+ * Host supports a single instance type only.</p>
245
+ * @public
246
+ */
247
+ AllowsMultipleInstanceTypes?: AllowsMultipleInstanceTypes | undefined;
248
+ /**
249
+ * <p>The ID of the Amazon Web Services account that owns the Dedicated Host.</p>
250
+ * @public
251
+ */
252
+ OwnerId?: string | undefined;
253
+ /**
254
+ * <p>The ID of the Availability Zone in which the Dedicated Host is allocated.</p>
255
+ * @public
256
+ */
257
+ AvailabilityZoneId?: string | undefined;
258
+ /**
259
+ * <p>Indicates whether the Dedicated Host is in a host resource group. If <b>memberOfServiceLinkedResourceGroup</b> is <code>true</code>, the
260
+ * host is in a host resource group; otherwise, it is not.</p>
261
+ * @public
262
+ */
263
+ MemberOfServiceLinkedResourceGroup?: boolean | undefined;
264
+ /**
265
+ * <p>The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the
266
+ * Dedicated Host is allocated.</p>
267
+ * @public
268
+ */
269
+ OutpostArn?: string | undefined;
270
+ /**
271
+ * <p>Indicates whether host maintenance is enabled or disabled for the Dedicated
272
+ * Host.</p>
273
+ * @public
274
+ */
275
+ HostMaintenance?: HostMaintenance | undefined;
276
+ /**
277
+ * <p>The ID of the Outpost hardware asset on which the Dedicated Host is allocated.</p>
278
+ * @public
279
+ */
280
+ AssetId?: string | undefined;
281
+ }
282
+ /**
283
+ * @public
284
+ */
285
+ export interface DescribeHostsResult {
286
+ /**
287
+ * <p>Information about the Dedicated Hosts.</p>
288
+ * @public
289
+ */
290
+ Hosts?: Host[] | undefined;
291
+ /**
292
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
293
+ * @public
294
+ */
295
+ NextToken?: string | undefined;
296
+ }
297
+ /**
298
+ * @public
299
+ */
300
+ export interface DescribeIamInstanceProfileAssociationsRequest {
301
+ /**
302
+ * <p>The IAM instance profile associations.</p>
303
+ * @public
304
+ */
305
+ AssociationIds?: string[] | undefined;
306
+ /**
307
+ * <p>The filters.</p>
308
+ * <ul>
309
+ * <li>
310
+ * <p>
311
+ * <code>instance-id</code> - The ID of the instance.</p>
312
+ * </li>
313
+ * <li>
314
+ * <p>
315
+ * <code>state</code> - The state of the association (<code>associating</code> |
316
+ * <code>associated</code> | <code>disassociating</code>).</p>
317
+ * </li>
318
+ * </ul>
319
+ * @public
320
+ */
321
+ Filters?: Filter[] | undefined;
322
+ /**
323
+ * <p>The maximum number of items to return for this request. To get the next page of
324
+ * items, make another request with the token returned in the output. For more information,
325
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
326
+ * @public
327
+ */
328
+ MaxResults?: number | undefined;
329
+ /**
330
+ * <p>The token returned from a previous paginated request.
331
+ * Pagination continues from the end of the items returned by the previous request.</p>
332
+ * @public
333
+ */
334
+ NextToken?: string | undefined;
335
+ }
336
+ /**
337
+ * @public
338
+ */
339
+ export interface DescribeIamInstanceProfileAssociationsResult {
340
+ /**
341
+ * <p>Information about the IAM instance profile associations.</p>
342
+ * @public
343
+ */
344
+ IamInstanceProfileAssociations?: IamInstanceProfileAssociation[] | undefined;
345
+ /**
346
+ * <p>The token to include in another request to get the next page of items.
347
+ * This value is <code>null</code> when there are no more items to return.</p>
348
+ * @public
349
+ */
350
+ NextToken?: string | undefined;
351
+ }
5
352
  /**
6
353
  * @public
7
354
  */
@@ -104,9 +451,9 @@ export interface DescribeImageAttributeRequest {
104
451
  /**
105
452
  * <p>The AMI attribute.</p>
106
453
  * <p>
107
- * <b>Note</b>: The <code>blockDeviceMapping</code> attribute is deprecated.
108
- * Using this attribute returns the <code>Client.AuthFailure</code> error. To get information about
109
- * the block device mappings for an AMI, use the <a>DescribeImages</a> action.</p>
454
+ * <b>Note</b>: The <code>blockDeviceMapping</code> attribute is
455
+ * deprecated. Using this attribute returns the <code>Client.AuthFailure</code> error. To get
456
+ * information about the block device mappings for an AMI, use the <a>DescribeImages</a> action.</p>
110
457
  * @public
111
458
  */
112
459
  Attribute: ImageAttributeName | undefined;
@@ -171,7 +518,8 @@ export interface ImageAttribute {
171
518
  */
172
519
  RamdiskId?: AttributeValue | undefined;
173
520
  /**
174
- * <p>Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.</p>
521
+ * <p>Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is
522
+ * enabled.</p>
175
523
  * @public
176
524
  */
177
525
  SriovNetSupport?: AttributeValue | undefined;
@@ -188,9 +536,9 @@ export interface ImageAttribute {
188
536
  /**
189
537
  * <p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,
190
538
  * use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData">GetInstanceUefiData</a> command. You can inspect and modify the UEFI data by using the
191
- * <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on
539
+ * <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on
192
540
  * GitHub. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html">UEFI Secure Boot</a> in the
193
- * <i>Amazon EC2 User Guide</i>.</p>
541
+ * <i>Amazon EC2 User Guide</i>.</p>
194
542
  * @public
195
543
  */
196
544
  UefiData?: AttributeValue | undefined;
@@ -210,8 +558,7 @@ export interface ImageAttribute {
210
558
  * from this AMI will have <code>HttpTokens</code> automatically set to <code>required</code> so
211
559
  * that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.
212
560
  * In addition, <code>HttpPutResponseHopLimit</code> is set to <code>2</code>. For more
213
- * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure
214
- * the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
561
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
215
562
  * @public
216
563
  */
217
564
  ImdsSupport?: AttributeValue | undefined;
@@ -246,14 +593,13 @@ export interface ImageAttribute {
246
593
  */
247
594
  export interface DescribeImagesRequest {
248
595
  /**
249
- * <p>Scopes the images by users with explicit launch permissions.
250
- * Specify an Amazon Web Services account ID, <code>self</code> (the sender of the request),
251
- * or <code>all</code> (public AMIs).</p>
596
+ * <p>Scopes the images by users with explicit launch permissions. Specify an Amazon Web Services account ID, <code>self</code> (the sender of the request), or <code>all</code>
597
+ * (public AMIs).</p>
252
598
  * <ul>
253
599
  * <li>
254
- * <p>If you specify an Amazon Web Services account ID that is not your own, only AMIs
255
- * shared with that specific Amazon Web Services account ID are returned. However, AMIs that
256
- * are shared with the account’s organization or organizational unit (OU) are not
600
+ * <p>If you specify an Amazon Web Services account ID that is not your own, only AMIs shared
601
+ * with that specific Amazon Web Services account ID are returned. However, AMIs that are
602
+ * shared with the account’s organization or organizational unit (OU) are not
257
603
  * returned.</p>
258
604
  * </li>
259
605
  * <li>
@@ -276,9 +622,10 @@ export interface DescribeImagesRequest {
276
622
  ImageIds?: string[] | undefined;
277
623
  /**
278
624
  * <p>Scopes the results to images with the specified owners. You can specify a combination of
279
- * Amazon Web Services account IDs, <code>self</code>, <code>amazon</code>, <code>aws-backup-vault</code>, and <code>aws-marketplace</code>.
280
- * If you omit this parameter, the results include all images for which you have launch permissions,
281
- * regardless of ownership.</p>
625
+ * Amazon Web Services account IDs, <code>self</code>, <code>amazon</code>,
626
+ * <code>aws-backup-vault</code>, and <code>aws-marketplace</code>. If you omit this parameter,
627
+ * the results include all images for which you have launch permissions, regardless of
628
+ * ownership.</p>
282
629
  * @public
283
630
  */
284
631
  Owners?: string[] | undefined;
@@ -322,18 +669,19 @@ export interface DescribeImagesRequest {
322
669
  * <ul>
323
670
  * <li>
324
671
  * <p>
325
- * <code>architecture</code> - The image architecture (<code>i386</code> | <code>x86_64</code> |
326
- * <code>arm64</code> | <code>x86_64_mac</code> | <code>arm64_mac</code>).</p>
672
+ * <code>architecture</code> - The image architecture (<code>i386</code> |
673
+ * <code>x86_64</code> | <code>arm64</code> | <code>x86_64_mac</code> |
674
+ * <code>arm64_mac</code>).</p>
327
675
  * </li>
328
676
  * <li>
329
677
  * <p>
330
678
  * <code>block-device-mapping.delete-on-termination</code> - A Boolean value that indicates
331
- * whether the Amazon EBS volume is deleted on instance termination.</p>
679
+ * whether the Amazon EBS volume is deleted on instance termination.</p>
332
680
  * </li>
333
681
  * <li>
334
682
  * <p>
335
- * <code>block-device-mapping.device-name</code> - The device name specified in the block device mapping (for
336
- * example, <code>/dev/sdh</code> or <code>xvdh</code>).</p>
683
+ * <code>block-device-mapping.device-name</code> - The device name specified in the block
684
+ * device mapping (for example, <code>/dev/sdh</code> or <code>xvdh</code>).</p>
337
685
  * </li>
338
686
  * <li>
339
687
  * <p>
@@ -342,7 +690,8 @@ export interface DescribeImagesRequest {
342
690
  * </li>
343
691
  * <li>
344
692
  * <p>
345
- * <code>block-device-mapping.volume-size</code> - The volume size of the Amazon EBS volume, in GiB.</p>
693
+ * <code>block-device-mapping.volume-size</code> - The volume size of the Amazon EBS volume, in
694
+ * GiB.</p>
346
695
  * </li>
347
696
  * <li>
348
697
  * <p>
@@ -352,7 +701,8 @@ export interface DescribeImagesRequest {
352
701
  * </li>
353
702
  * <li>
354
703
  * <p>
355
- * <code>block-device-mapping.encrypted</code> - A Boolean that indicates whether the Amazon EBS volume is encrypted.</p>
704
+ * <code>block-device-mapping.encrypted</code> - A Boolean that indicates whether the Amazon EBS
705
+ * volume is encrypted.</p>
356
706
  * </li>
357
707
  * <li>
358
708
  * <p>
@@ -368,8 +718,8 @@ export interface DescribeImagesRequest {
368
718
  * </li>
369
719
  * <li>
370
720
  * <p>
371
- * <code>ena-support</code> - A Boolean that indicates whether enhanced networking
372
- * with ENA is enabled.</p>
721
+ * <code>ena-support</code> - A Boolean that indicates whether enhanced networking with
722
+ * ENA is enabled.</p>
373
723
  * </li>
374
724
  * <li>
375
725
  * <p>
@@ -403,19 +753,21 @@ export interface DescribeImagesRequest {
403
753
  * </li>
404
754
  * <li>
405
755
  * <p>
406
- * <code>owner-alias</code> - The owner alias (<code>amazon</code> | <code>aws-backup-vault</code> | <code>aws-marketplace</code>).
407
- * The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be
408
- * set using the IAM console. We recommend that you use the <b>Owner</b>
409
- * request parameter instead of this filter.</p>
756
+ * <code>owner-alias</code> - The owner alias (<code>amazon</code> |
757
+ * <code>aws-backup-vault</code> | <code>aws-marketplace</code>). The valid aliases are
758
+ * defined in an Amazon-maintained list. This is not the Amazon Web Services account alias
759
+ * that can be set using the IAM console. We recommend that you use the <b>Owner</b> request parameter instead of this filter.</p>
410
760
  * </li>
411
761
  * <li>
412
762
  * <p>
413
- * <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend that you use the
414
- * <b>Owner</b> request parameter instead of this filter.</p>
763
+ * <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend
764
+ * that you use the <b>Owner</b> request parameter instead of this
765
+ * filter.</p>
415
766
  * </li>
416
767
  * <li>
417
768
  * <p>
418
- * <code>platform</code> - The platform. The only supported value is <code>windows</code>.</p>
769
+ * <code>platform</code> - The platform. The only supported value is
770
+ * <code>windows</code>.</p>
419
771
  * </li>
420
772
  * <li>
421
773
  * <p>
@@ -423,7 +775,8 @@ export interface DescribeImagesRequest {
423
775
  * </li>
424
776
  * <li>
425
777
  * <p>
426
- * <code>product-code.type</code> - The type of the product code (<code>marketplace</code>).</p>
778
+ * <code>product-code.type</code> - The type of the product code
779
+ * (<code>marketplace</code>).</p>
427
780
  * </li>
428
781
  * <li>
429
782
  * <p>
@@ -431,7 +784,8 @@ export interface DescribeImagesRequest {
431
784
  * </li>
432
785
  * <li>
433
786
  * <p>
434
- * <code>root-device-name</code> - The device name of the root device volume (for example, <code>/dev/sda1</code>).</p>
787
+ * <code>root-device-name</code> - The device name of the root device volume (for example,
788
+ * <code>/dev/sda1</code>).</p>
435
789
  * </li>
436
790
  * <li>
437
791
  * <p>
@@ -459,8 +813,8 @@ export interface DescribeImagesRequest {
459
813
  * </li>
460
814
  * <li>
461
815
  * <p>
462
- * <code>sriov-net-support</code> - A value of <code>simple</code> indicates
463
- * that enhanced networking with the Intel 82599 VF interface is enabled.</p>
816
+ * <code>sriov-net-support</code> - A value of <code>simple</code> indicates that
817
+ * enhanced networking with the Intel 82599 VF interface is enabled.</p>
464
818
  * </li>
465
819
  * <li>
466
820
  * <p>
@@ -613,11 +967,10 @@ export interface Image {
613
967
  /**
614
968
  * <p>The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
615
969
  * <code>usageOperation</code> corresponds to the <a href="https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation">lineitem/Operation</a> column on your Amazon Web Services Cost and Usage Report and in the <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html">Amazon Web Services Price
616
- * List API</a>. You can view these fields on the <b>Instances</b> or
617
- * <b>AMIs</b> pages in the Amazon EC2 console, or in the responses that are
618
- * returned by the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>
619
- * command in the Amazon EC2 API, or the <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html">describe-images</a>
620
- * command in the CLI.</p>
970
+ * List API</a>. You can view these fields on the <b>Instances</b> or <b>AMIs</b> pages in the Amazon EC2 console,
971
+ * or in the responses that are returned by the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a> command in
972
+ * the Amazon EC2 API, or the <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html">describe-images</a> command in the
973
+ * CLI.</p>
621
974
  * @public
622
975
  */
623
976
  UsageOperation?: string | undefined;
@@ -643,7 +996,8 @@ export interface Image {
643
996
  */
644
997
  Hypervisor?: HypervisorType | undefined;
645
998
  /**
646
- * <p>The owner alias (<code>amazon</code> | <code>aws-backup-vault</code> | <code>aws-marketplace</code>).</p>
999
+ * <p>The owner alias (<code>amazon</code> | <code>aws-backup-vault</code> |
1000
+ * <code>aws-marketplace</code>).</p>
647
1001
  * @public
648
1002
  */
649
1003
  ImageOwnerAlias?: string | undefined;
@@ -658,12 +1012,14 @@ export interface Image {
658
1012
  */
659
1013
  RootDeviceName?: string | undefined;
660
1014
  /**
661
- * <p>The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.</p>
1015
+ * <p>The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance
1016
+ * store volume.</p>
662
1017
  * @public
663
1018
  */
664
1019
  RootDeviceType?: DeviceType | undefined;
665
1020
  /**
666
- * <p>Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.</p>
1021
+ * <p>Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is
1022
+ * enabled.</p>
667
1023
  * @public
668
1024
  */
669
1025
  SriovNetSupport?: string | undefined;
@@ -689,17 +1045,15 @@ export interface Image {
689
1045
  */
690
1046
  BootMode?: BootModeValues | undefined;
691
1047
  /**
692
- * <p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>.
693
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the
694
- * <i>Amazon EC2 User Guide</i>.</p>
1048
+ * <p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>. For more
1049
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the <i>Amazon EC2 User Guide</i>.</p>
695
1050
  * @public
696
1051
  */
697
1052
  TpmSupport?: TpmSupportValues | undefined;
698
1053
  /**
699
1054
  * <p>The date and time to deprecate the AMI, in UTC, in the following format:
700
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.
701
- * If you specified a value for seconds, Amazon EC2 rounds the seconds to the
702
- * nearest minute.</p>
1055
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.
1056
+ * If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.</p>
703
1057
  * @public
704
1058
  */
705
1059
  DeprecationTime?: string | undefined;
@@ -708,8 +1062,7 @@ export interface Image {
708
1062
  * from this AMI will have <code>HttpTokens</code> automatically set to <code>required</code> so
709
1063
  * that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.
710
1064
  * In addition, <code>HttpPutResponseHopLimit</code> is set to <code>2</code>. For more
711
- * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure
712
- * the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
1065
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
713
1066
  * @public
714
1067
  */
715
1068
  ImdsSupport?: ImdsSupportValues | undefined;
@@ -726,7 +1079,7 @@ export interface Image {
726
1079
  DeregistrationProtection?: string | undefined;
727
1080
  /**
728
1081
  * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
729
- * format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
1082
+ * format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
730
1083
  * to launch an instance, there is a 24-hour delay before that usage is reported.</p>
731
1084
  * <note>
732
1085
  * <p>
@@ -766,7 +1119,8 @@ export interface Image {
766
1119
  */
767
1120
  ImageLocation?: string | undefined;
768
1121
  /**
769
- * <p>The current state of the AMI. If the state is <code>available</code>, the image is successfully registered and can be used to launch an instance.</p>
1122
+ * <p>The current state of the AMI. If the state is <code>available</code>, the image is
1123
+ * successfully registered and can be used to launch an instance.</p>
770
1124
  * @public
771
1125
  */
772
1126
  State?: ImageState | undefined;
@@ -781,9 +1135,9 @@ export interface Image {
781
1135
  */
782
1136
  CreationDate?: string | undefined;
783
1137
  /**
784
- * <p>Indicates whether the image has public launch permissions. The value is <code>true</code> if
785
- * this image has public launch permissions or <code>false</code>
786
- * if it has only implicit and explicit launch permissions.</p>
1138
+ * <p>Indicates whether the image has public launch permissions. The value is <code>true</code>
1139
+ * if this image has public launch permissions or <code>false</code> if it has only implicit and
1140
+ * explicit launch permissions.</p>
787
1141
  * @public
788
1142
  */
789
1143
  Public?: boolean | undefined;
@@ -1826,14 +2180,15 @@ export interface ImageMetadata {
1826
2180
  */
1827
2181
  OwnerId?: string | undefined;
1828
2182
  /**
1829
- * <p>The current state of the AMI. If the state is <code>available</code>, the AMI
1830
- * is successfully registered and can be used to launch an instance.</p>
2183
+ * <p>The current state of the AMI. If the state is <code>available</code>, the AMI is
2184
+ * successfully registered and can be used to launch an instance.</p>
1831
2185
  * @public
1832
2186
  */
1833
2187
  State?: ImageState | undefined;
1834
2188
  /**
1835
2189
  * <p>The alias of the AMI owner.</p>
1836
- * <p>Valid values: <code>amazon</code> | <code>aws-backup-vault</code> | <code>aws-marketplace</code>
2190
+ * <p>Valid values: <code>amazon</code> | <code>aws-backup-vault</code> |
2191
+ * <code>aws-marketplace</code>
1837
2192
  * </p>
1838
2193
  * @public
1839
2194
  */
@@ -5727,7 +6082,7 @@ export interface DescribeInternetGatewaysRequest {
5727
6082
  * </li>
5728
6083
  * <li>
5729
6084
  * <p>
5730
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
6085
+ * <code>tag</code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
5731
6086
  * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
5732
6087
  * </li>
5733
6088
  * <li>
@@ -7566,7 +7921,7 @@ export interface DescribeNatGatewaysRequest {
7566
7921
  * </li>
7567
7922
  * <li>
7568
7923
  * <p>
7569
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
7924
+ * <code>tag</code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
7570
7925
  * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
7571
7926
  * </li>
7572
7927
  * <li>
@@ -7713,7 +8068,7 @@ export interface DescribeNetworkAclsRequest {
7713
8068
  * </li>
7714
8069
  * <li>
7715
8070
  * <p>
7716
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
8071
+ * <code>tag</code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
7717
8072
  * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
7718
8073
  * </li>
7719
8074
  * <li>
@@ -9986,7 +10341,7 @@ export interface DescribeRouteTablesRequest {
9986
10341
  * </li>
9987
10342
  * <li>
9988
10343
  * <p>
9989
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
10344
+ * <code>tag</code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
9990
10345
  * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
9991
10346
  * </li>
9992
10347
  * <li>
@@ -10884,339 +11239,6 @@ export interface DescribeSecurityGroupVpcAssociationsResult {
10884
11239
  */
10885
11240
  NextToken?: string | undefined;
10886
11241
  }
10887
- /**
10888
- * @public
10889
- * @enum
10890
- */
10891
- export declare const SnapshotAttributeName: {
10892
- readonly createVolumePermission: "createVolumePermission";
10893
- readonly productCodes: "productCodes";
10894
- };
10895
- /**
10896
- * @public
10897
- */
10898
- export type SnapshotAttributeName = (typeof SnapshotAttributeName)[keyof typeof SnapshotAttributeName];
10899
- /**
10900
- * @public
10901
- */
10902
- export interface DescribeSnapshotAttributeRequest {
10903
- /**
10904
- * <p>The snapshot attribute you would like to view.</p>
10905
- * @public
10906
- */
10907
- Attribute: SnapshotAttributeName | undefined;
10908
- /**
10909
- * <p>The ID of the EBS snapshot.</p>
10910
- * @public
10911
- */
10912
- SnapshotId: string | undefined;
10913
- /**
10914
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10915
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10916
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10917
- * @public
10918
- */
10919
- DryRun?: boolean | undefined;
10920
- }
10921
- /**
10922
- * <p>Describes the user or group to be added or removed from the list of create volume
10923
- * permissions for a volume.</p>
10924
- * @public
10925
- */
10926
- export interface CreateVolumePermission {
10927
- /**
10928
- * <p>The ID of the Amazon Web Services account to be added or removed.</p>
10929
- * @public
10930
- */
10931
- UserId?: string | undefined;
10932
- /**
10933
- * <p>The group to be added or removed. The possible value is <code>all</code>.</p>
10934
- * @public
10935
- */
10936
- Group?: PermissionGroup | undefined;
10937
- }
10938
- /**
10939
- * @public
10940
- */
10941
- export interface DescribeSnapshotAttributeResult {
10942
- /**
10943
- * <p>The product codes.</p>
10944
- * @public
10945
- */
10946
- ProductCodes?: ProductCode[] | undefined;
10947
- /**
10948
- * <p>The ID of the EBS snapshot.</p>
10949
- * @public
10950
- */
10951
- SnapshotId?: string | undefined;
10952
- /**
10953
- * <p>The users and groups that have the permissions for creating volumes from the
10954
- * snapshot.</p>
10955
- * @public
10956
- */
10957
- CreateVolumePermissions?: CreateVolumePermission[] | undefined;
10958
- }
10959
- /**
10960
- * @public
10961
- */
10962
- export interface DescribeSnapshotsRequest {
10963
- /**
10964
- * <p>The maximum number of items to return for this request.
10965
- * To get the next page of items, make another request with the token returned in the output.
10966
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10967
- * @public
10968
- */
10969
- MaxResults?: number | undefined;
10970
- /**
10971
- * <p>The token returned from a previous paginated request.
10972
- * Pagination continues from the end of the items returned by the previous request.</p>
10973
- * @public
10974
- */
10975
- NextToken?: string | undefined;
10976
- /**
10977
- * <p>Scopes the results to snapshots with the specified owners. You can specify a combination of
10978
- * Amazon Web Services account IDs, <code>self</code>, and <code>amazon</code>.</p>
10979
- * @public
10980
- */
10981
- OwnerIds?: string[] | undefined;
10982
- /**
10983
- * <p>The IDs of the Amazon Web Services accounts that can create volumes from the snapshot.</p>
10984
- * @public
10985
- */
10986
- RestorableByUserIds?: string[] | undefined;
10987
- /**
10988
- * <p>The snapshot IDs.</p>
10989
- * <p>Default: Describes the snapshots for which you have create volume permissions.</p>
10990
- * @public
10991
- */
10992
- SnapshotIds?: string[] | undefined;
10993
- /**
10994
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10995
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10996
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10997
- * @public
10998
- */
10999
- DryRun?: boolean | undefined;
11000
- /**
11001
- * <p>The filters.</p>
11002
- * <ul>
11003
- * <li>
11004
- * <p>
11005
- * <code>description</code> - A description of the snapshot.</p>
11006
- * </li>
11007
- * <li>
11008
- * <p>
11009
- * <code>encrypted</code> - Indicates whether the snapshot is encrypted
11010
- * (<code>true</code> | <code>false</code>)</p>
11011
- * </li>
11012
- * <li>
11013
- * <p>
11014
- * <code>owner-alias</code> - The owner alias, from an Amazon-maintained list
11015
- * (<code>amazon</code>).
11016
- * This is not the user-configured Amazon Web Services account alias set using the IAM console.
11017
- * We recommend that you use the related parameter instead of this filter.</p>
11018
- * </li>
11019
- * <li>
11020
- * <p>
11021
- * <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend that
11022
- * you use the related parameter instead of this filter.</p>
11023
- * </li>
11024
- * <li>
11025
- * <p>
11026
- * <code>progress</code> - The progress of the snapshot, as a percentage (for example,
11027
- * 80%).</p>
11028
- * </li>
11029
- * <li>
11030
- * <p>
11031
- * <code>snapshot-id</code> - The snapshot ID.</p>
11032
- * </li>
11033
- * <li>
11034
- * <p>
11035
- * <code>start-time</code> - The time stamp when the snapshot was initiated.</p>
11036
- * </li>
11037
- * <li>
11038
- * <p>
11039
- * <code>status</code> - The status of the snapshot (<code>pending</code> |
11040
- * <code>completed</code> | <code>error</code>).</p>
11041
- * </li>
11042
- * <li>
11043
- * <p>
11044
- * <code>storage-tier</code> - The storage tier of the snapshot (<code>archive</code> |
11045
- * <code>standard</code>).</p>
11046
- * </li>
11047
- * <li>
11048
- * <p>
11049
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
11050
- * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
11051
- * </li>
11052
- * <li>
11053
- * <p>
11054
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
11055
- * </li>
11056
- * <li>
11057
- * <p>
11058
- * <code>volume-id</code> - The ID of the volume the snapshot is for.</p>
11059
- * </li>
11060
- * <li>
11061
- * <p>
11062
- * <code>volume-size</code> - The size of the volume, in GiB.</p>
11063
- * </li>
11064
- * </ul>
11065
- * @public
11066
- */
11067
- Filters?: Filter[] | undefined;
11068
- }
11069
- /**
11070
- * @public
11071
- */
11072
- export interface DescribeSnapshotsResult {
11073
- /**
11074
- * <p>The token to include in another request to get the next page of items.
11075
- * This value is <code>null</code> when there are no more items to return.</p>
11076
- * @public
11077
- */
11078
- NextToken?: string | undefined;
11079
- /**
11080
- * <p>Information about the snapshots.</p>
11081
- * @public
11082
- */
11083
- Snapshots?: Snapshot[] | undefined;
11084
- }
11085
- /**
11086
- * @public
11087
- */
11088
- export interface DescribeSnapshotTierStatusRequest {
11089
- /**
11090
- * <p>The filters.</p>
11091
- * <ul>
11092
- * <li>
11093
- * <p>
11094
- * <code>snapshot-id</code> - The snapshot ID.</p>
11095
- * </li>
11096
- * <li>
11097
- * <p>
11098
- * <code>volume-id</code> - The ID of the volume the snapshot is for.</p>
11099
- * </li>
11100
- * <li>
11101
- * <p>
11102
- * <code>last-tiering-operation</code> - The state of the last archive or restore action. (<code>archival-in-progress</code> | <code>archival-completed</code> |
11103
- * <code>archival-failed</code> | <code>permanent-restore-in-progress</code> | <code>permanent-restore-completed</code> | <code>permanent-restore-failed</code> |
11104
- * <code>temporary-restore-in-progress</code> | <code>temporary-restore-completed</code> | <code>temporary-restore-failed</code>)</p>
11105
- * </li>
11106
- * </ul>
11107
- * @public
11108
- */
11109
- Filters?: Filter[] | undefined;
11110
- /**
11111
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11112
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11113
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11114
- * @public
11115
- */
11116
- DryRun?: boolean | undefined;
11117
- /**
11118
- * <p>The token returned from a previous paginated request.
11119
- * Pagination continues from the end of the items returned by the previous request.</p>
11120
- * @public
11121
- */
11122
- NextToken?: string | undefined;
11123
- /**
11124
- * <p>The maximum number of items to return for this request.
11125
- * To get the next page of items, make another request with the token returned in the output.
11126
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11127
- * @public
11128
- */
11129
- MaxResults?: number | undefined;
11130
- }
11131
- /**
11132
- * @public
11133
- * @enum
11134
- */
11135
- export declare const TieringOperationStatus: {
11136
- readonly archival_completed: "archival-completed";
11137
- readonly archival_failed: "archival-failed";
11138
- readonly archival_in_progress: "archival-in-progress";
11139
- readonly permanent_restore_completed: "permanent-restore-completed";
11140
- readonly permanent_restore_failed: "permanent-restore-failed";
11141
- readonly permanent_restore_in_progress: "permanent-restore-in-progress";
11142
- readonly temporary_restore_completed: "temporary-restore-completed";
11143
- readonly temporary_restore_failed: "temporary-restore-failed";
11144
- readonly temporary_restore_in_progress: "temporary-restore-in-progress";
11145
- };
11146
- /**
11147
- * @public
11148
- */
11149
- export type TieringOperationStatus = (typeof TieringOperationStatus)[keyof typeof TieringOperationStatus];
11150
- /**
11151
- * <p>Provides information about a snapshot's storage tier.</p>
11152
- * @public
11153
- */
11154
- export interface SnapshotTierStatus {
11155
- /**
11156
- * <p>The ID of the snapshot.</p>
11157
- * @public
11158
- */
11159
- SnapshotId?: string | undefined;
11160
- /**
11161
- * <p>The ID of the volume from which the snapshot was created.</p>
11162
- * @public
11163
- */
11164
- VolumeId?: string | undefined;
11165
- /**
11166
- * <p>The state of the snapshot.</p>
11167
- * @public
11168
- */
11169
- Status?: SnapshotState | undefined;
11170
- /**
11171
- * <p>The ID of the Amazon Web Services account that owns the snapshot.</p>
11172
- * @public
11173
- */
11174
- OwnerId?: string | undefined;
11175
- /**
11176
- * <p>The tags that are assigned to the snapshot.</p>
11177
- * @public
11178
- */
11179
- Tags?: Tag[] | undefined;
11180
- /**
11181
- * <p>The storage tier in which the snapshot is stored. <code>standard</code> indicates
11182
- * that the snapshot is stored in the standard snapshot storage tier and that it is ready
11183
- * for use. <code>archive</code> indicates that the snapshot is currently archived and that
11184
- * it must be restored before it can be used.</p>
11185
- * @public
11186
- */
11187
- StorageTier?: StorageTier | undefined;
11188
- /**
11189
- * <p>The date and time when the last archive or restore process was started.</p>
11190
- * @public
11191
- */
11192
- LastTieringStartTime?: Date | undefined;
11193
- /**
11194
- * <p>The progress of the last archive or restore process, as a percentage.</p>
11195
- * @public
11196
- */
11197
- LastTieringProgress?: number | undefined;
11198
- /**
11199
- * <p>The status of the last archive or restore process.</p>
11200
- * @public
11201
- */
11202
- LastTieringOperationStatus?: TieringOperationStatus | undefined;
11203
- /**
11204
- * <p>A message describing the status of the last archive or restore process.</p>
11205
- * @public
11206
- */
11207
- LastTieringOperationStatusDetail?: string | undefined;
11208
- /**
11209
- * <p>The date and time when the last archive process was completed.</p>
11210
- * @public
11211
- */
11212
- ArchivalCompleteTime?: Date | undefined;
11213
- /**
11214
- * <p>Only for archived snapshots that are temporarily restored. Indicates the date and
11215
- * time when a temporarily restored snapshot will be automatically re-archived.</p>
11216
- * @public
11217
- */
11218
- RestoreExpiryTime?: Date | undefined;
11219
- }
11220
11242
  /**
11221
11243
  * @internal
11222
11244
  */