@aws-sdk/client-ec2 3.668.0 → 3.670.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 (106) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +1375 -975
  3. package/dist-cjs/runtimeConfig.browser.js +1 -1
  4. package/dist-cjs/runtimeConfig.js +1 -1
  5. package/dist-es/EC2.js +10 -0
  6. package/dist-es/commands/AcceptCapacityReservationBillingOwnershipCommand.js +22 -0
  7. package/dist-es/commands/AssociateCapacityReservationBillingOwnerCommand.js +22 -0
  8. package/dist-es/commands/DescribeCapacityReservationBillingRequestsCommand.js +22 -0
  9. package/dist-es/commands/DisassociateCapacityReservationBillingOwnerCommand.js +22 -0
  10. package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  11. package/dist-es/commands/RejectCapacityReservationBillingOwnershipCommand.js +22 -0
  12. package/dist-es/commands/index.js +5 -0
  13. package/dist-es/models/models_0.js +0 -833
  14. package/dist-es/models/models_1.js +833 -0
  15. package/dist-es/models/models_2.js +0 -8
  16. package/dist-es/models/models_3.js +20 -28
  17. package/dist-es/models/models_4.js +28 -4
  18. package/dist-es/models/models_5.js +4 -1
  19. package/dist-es/models/models_6.js +0 -3
  20. package/dist-es/models/models_7.js +3 -0
  21. package/dist-es/pagination/DescribeCapacityReservationBillingRequestsPaginator.js +4 -0
  22. package/dist-es/pagination/index.js +2 -1
  23. package/dist-es/protocols/Aws_ec2.js +324 -28
  24. package/dist-es/runtimeConfig.browser.js +2 -2
  25. package/dist-es/runtimeConfig.js +2 -2
  26. package/dist-types/EC2.d.ts +35 -0
  27. package/dist-types/EC2Client.d.ts +7 -2
  28. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  29. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
  30. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  31. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +2 -6
  32. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -1
  33. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -0
  34. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -7
  37. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +2 -1
  38. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
  39. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteVpcCommand.d.ts +1 -7
  41. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +102 -0
  42. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -0
  43. package/dist-types/commands/DescribeElasticGpusCommand.d.ts +1 -2
  44. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -2
  46. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  47. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
  48. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  49. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  50. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  51. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  52. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  53. package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  54. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  55. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  56. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  57. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -2
  58. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +2 -0
  59. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -0
  60. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  61. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -3
  62. package/dist-types/commands/index.d.ts +5 -0
  63. package/dist-types/models/models_0.d.ts +61 -930
  64. package/dist-types/models/models_1.d.ts +955 -184
  65. package/dist-types/models/models_2.d.ts +131 -82
  66. package/dist-types/models/models_3.d.ts +259 -468
  67. package/dist-types/models/models_4.d.ts +1303 -1319
  68. package/dist-types/models/models_5.d.ts +516 -262
  69. package/dist-types/models/models_6.d.ts +269 -253
  70. package/dist-types/models/models_7.d.ts +280 -10
  71. package/dist-types/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +7 -0
  72. package/dist-types/pagination/index.d.ts +2 -1
  73. package/dist-types/protocols/Aws_ec2.d.ts +45 -0
  74. package/dist-types/ts3.4/EC2.d.ts +115 -0
  75. package/dist-types/ts3.4/EC2Client.d.ts +30 -0
  76. package/dist-types/ts3.4/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +2 -4
  79. package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +2 -4
  80. package/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +4 -2
  93. package/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  95. package/dist-types/ts3.4/models/models_0.d.ts +16 -850
  96. package/dist-types/ts3.4/models/models_1.d.ts +851 -32
  97. package/dist-types/ts3.4/models/models_2.d.ts +30 -25
  98. package/dist-types/ts3.4/models/models_3.d.ts +68 -83
  99. package/dist-types/ts3.4/models/models_4.d.ts +80 -99
  100. package/dist-types/ts3.4/models/models_5.d.ts +101 -67
  101. package/dist-types/ts3.4/models/models_6.d.ts +66 -64
  102. package/dist-types/ts3.4/models/models_7.d.ts +73 -8
  103. package/dist-types/ts3.4/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  105. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +60 -0
  106. package/package.json +7 -7
@@ -1,153 +1,116 @@
1
- import { _InstanceType, ActiveInstance, AlternatePathHint, AttachmentStatus, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag } from "./models_0";
2
- import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ConnectionTrackingSpecificationRequest, Ec2InstanceConnectEndpoint, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, HostnameType, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, Placement, PlatformValues, PrivateIpAddressSpecification, StateReason, Tenancy } from "./models_1";
3
- import { GroupIdentifier, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, StorageTier } from "./models_2";
4
- import { ArchitectureValues, BootModeValues, Byoasn, DeviceType, EventInformation, Filter, HypervisorType, IdFormat, ImageTypeValues, ImdsSupportValues, InstanceTagNotificationAttribute, PermissionGroup, ProductCode } from "./models_3";
1
+ import { ActiveInstance, AlternatePathHint, AttachmentStatus, CurrencyCodeValues, Explanation, IamInstanceProfile, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, SecurityGroupRule, 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, Placement, PlatformValues, StateReason, Tenancy } from "./models_1";
3
+ import { GroupIdentifier, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, StorageTier } from "./models_2";
4
+ import { Byoasn, EventInformation, Filter, IdFormat, ImageAttributeName, InstanceTagNotificationAttribute, PermissionGroup, ProductCode } from "./models_3";
5
5
  /**
6
- * @public
7
- * @enum
8
- */
9
- export declare const ImageState: {
10
- readonly available: "available";
11
- readonly deregistered: "deregistered";
12
- readonly disabled: "disabled";
13
- readonly error: "error";
14
- readonly failed: "failed";
15
- readonly invalid: "invalid";
16
- readonly pending: "pending";
17
- readonly transient: "transient";
18
- };
19
- /**
20
- * @public
21
- */
22
- export type ImageState = (typeof ImageState)[keyof typeof ImageState];
23
- /**
24
- * @public
25
- * @enum
26
- */
27
- export declare const TpmSupportValues: {
28
- readonly v2_0: "v2.0";
29
- };
30
- /**
31
- * @public
32
- */
33
- export type TpmSupportValues = (typeof TpmSupportValues)[keyof typeof TpmSupportValues];
34
- /**
35
- * @public
36
- * @enum
37
- */
38
- export declare const VirtualizationType: {
39
- readonly hvm: "hvm";
40
- readonly paravirtual: "paravirtual";
41
- };
42
- /**
43
- * @public
44
- */
45
- export type VirtualizationType = (typeof VirtualizationType)[keyof typeof VirtualizationType];
46
- /**
47
- * <p>Describes an image.</p>
6
+ * <p>Contains the parameters for DescribeImageAttribute.</p>
48
7
  * @public
49
8
  */
50
- export interface Image {
51
- /**
52
- * <p>The platform details associated with the billing code of the AMI. For more information,
53
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understand
54
- * AMI billing information</a> in the <i>Amazon EC2 User Guide</i>.</p>
55
- * @public
56
- */
57
- PlatformDetails?: string;
58
- /**
59
- * <p>The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
60
- * <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
61
- * List API</a>. You can view these fields on the <b>Instances</b> or
62
- * <b>AMIs</b> pages in the Amazon EC2 console, or in the responses that are
63
- * returned by the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>
64
- * 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>
65
- * command in the CLI.</p>
66
- * @public
67
- */
68
- UsageOperation?: string;
9
+ export interface DescribeImageAttributeRequest {
69
10
  /**
70
- * <p>Any block device mapping entries.</p>
11
+ * <p>The AMI attribute.</p>
12
+ * <p>
13
+ * <b>Note</b>: The <code>blockDeviceMapping</code> attribute is deprecated.
14
+ * Using this attribute returns the <code>Client.AuthFailure</code> error. To get information about
15
+ * the block device mappings for an AMI, use the <a>DescribeImages</a> action.</p>
71
16
  * @public
72
17
  */
73
- BlockDeviceMappings?: BlockDeviceMapping[];
18
+ Attribute: ImageAttributeName | undefined;
74
19
  /**
75
- * <p>The description of the AMI that was provided during image creation.</p>
20
+ * <p>The ID of the AMI.</p>
76
21
  * @public
77
22
  */
78
- Description?: string;
23
+ ImageId: string | undefined;
79
24
  /**
80
- * <p>Specifies whether enhanced networking with ENA is enabled.</p>
25
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
26
+ * and provides an error response. If you have the required permissions, the error response is
27
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
81
28
  * @public
82
29
  */
83
- EnaSupport?: boolean;
30
+ DryRun?: boolean;
31
+ }
32
+ /**
33
+ * <p>Describes a launch permission.</p>
34
+ * @public
35
+ */
36
+ export interface LaunchPermission {
84
37
  /**
85
- * <p>The hypervisor type of the image. Only <code>xen</code> is supported. <code>ovm</code> is
86
- * not supported.</p>
38
+ * <p>The Amazon Resource Name (ARN) of an organization.</p>
87
39
  * @public
88
40
  */
89
- Hypervisor?: HypervisorType;
41
+ OrganizationArn?: string;
90
42
  /**
91
- * <p>The owner alias (<code>amazon</code> | <code>aws-marketplace</code>).</p>
43
+ * <p>The Amazon Resource Name (ARN) of an organizational unit (OU).</p>
92
44
  * @public
93
45
  */
94
- ImageOwnerAlias?: string;
46
+ OrganizationalUnitArn?: string;
95
47
  /**
96
- * <p>The name of the AMI that was provided during image creation.</p>
48
+ * <p>The Amazon Web Services account ID.</p>
49
+ * <p>Constraints: Up to 10 000 account IDs can be specified in a single request.</p>
97
50
  * @public
98
51
  */
99
- Name?: string;
52
+ UserId?: string;
100
53
  /**
101
- * <p>The device name of the root device volume (for example, <code>/dev/sda1</code>).</p>
54
+ * <p>The name of the group.</p>
102
55
  * @public
103
56
  */
104
- RootDeviceName?: string;
57
+ Group?: PermissionGroup;
58
+ }
59
+ /**
60
+ * <p>Describes an image attribute.</p>
61
+ * @public
62
+ */
63
+ export interface ImageAttribute {
105
64
  /**
106
- * <p>The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.</p>
65
+ * <p>A description for the AMI.</p>
107
66
  * @public
108
67
  */
109
- RootDeviceType?: DeviceType;
68
+ Description?: AttributeValue;
110
69
  /**
111
- * <p>Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.</p>
70
+ * <p>The kernel ID.</p>
112
71
  * @public
113
72
  */
114
- SriovNetSupport?: string;
73
+ KernelId?: AttributeValue;
115
74
  /**
116
- * <p>The reason for the state change.</p>
75
+ * <p>The RAM disk ID.</p>
117
76
  * @public
118
77
  */
119
- StateReason?: StateReason;
78
+ RamdiskId?: AttributeValue;
120
79
  /**
121
- * <p>Any tags assigned to the image.</p>
80
+ * <p>Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.</p>
122
81
  * @public
123
82
  */
124
- Tags?: Tag[];
83
+ SriovNetSupport?: AttributeValue;
125
84
  /**
126
- * <p>The type of virtualization of the AMI.</p>
85
+ * <p>The boot mode.</p>
127
86
  * @public
128
87
  */
129
- VirtualizationType?: VirtualizationType;
88
+ BootMode?: AttributeValue;
130
89
  /**
131
- * <p>The boot mode of the image. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
132
- * <i>Amazon EC2 User Guide</i>.</p>
90
+ * <p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>.</p>
133
91
  * @public
134
92
  */
135
- BootMode?: BootModeValues;
93
+ TpmSupport?: AttributeValue;
136
94
  /**
137
- * <p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>.
138
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the
95
+ * <p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,
96
+ * 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
97
+ * <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on
98
+ * 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
139
99
  * <i>Amazon EC2 User Guide</i>.</p>
140
100
  * @public
141
101
  */
142
- TpmSupport?: TpmSupportValues;
102
+ UefiData?: AttributeValue;
143
103
  /**
144
- * <p>The date and time to deprecate the AMI, in UTC, in the following format:
145
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.
146
- * If you specified a value for seconds, Amazon EC2 rounds the seconds to the
147
- * nearest minute.</p>
104
+ * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
105
+ * format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
106
+ * to launch an instance, there is a 24-hour delay before that usage is reported.</p>
107
+ * <note>
108
+ * <p>
109
+ * <code>lastLaunchedTime</code> data is available starting April 2017.</p>
110
+ * </note>
148
111
  * @public
149
112
  */
150
- DeprecationTime?: string;
113
+ LastLaunchedTime?: AttributeValue;
151
114
  /**
152
115
  * <p>If <code>v2.0</code>, it indicates that IMDSv2 is specified in the AMI. Instances launched
153
116
  * from this AMI will have <code>HttpTokens</code> automatically set to <code>required</code> so
@@ -157,171 +120,669 @@ export interface Image {
157
120
  * the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
158
121
  * @public
159
122
  */
160
- ImdsSupport?: ImdsSupportValues;
161
- /**
162
- * <p>The ID of the instance that the AMI was created from if the AMI was created using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>. This field only appears if the AMI was created using
163
- * CreateImage.</p>
164
- * @public
165
- */
166
- SourceInstanceId?: string;
123
+ ImdsSupport?: AttributeValue;
167
124
  /**
168
125
  * <p>Indicates whether deregistration protection is enabled for the AMI.</p>
169
126
  * @public
170
127
  */
171
- DeregistrationProtection?: string;
172
- /**
173
- * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
174
- * format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
175
- * to launch an instance, there is a 24-hour delay before that usage is reported.</p>
176
- * <note>
177
- * <p>
178
- * <code>lastLaunchedTime</code> data is available starting April 2017.</p>
179
- * </note>
180
- * @public
181
- */
182
- LastLaunchedTime?: string;
128
+ DeregistrationProtection?: AttributeValue;
183
129
  /**
184
130
  * <p>The ID of the AMI.</p>
185
131
  * @public
186
132
  */
187
133
  ImageId?: string;
188
134
  /**
189
- * <p>The location of the AMI.</p>
190
- * @public
191
- */
192
- ImageLocation?: string;
193
- /**
194
- * <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>
195
- * @public
196
- */
197
- State?: ImageState;
198
- /**
199
- * <p>The ID of the Amazon Web Services account that owns the image.</p>
200
- * @public
201
- */
202
- OwnerId?: string;
203
- /**
204
- * <p>The date and time the image was created.</p>
205
- * @public
206
- */
207
- CreationDate?: string;
208
- /**
209
- * <p>Indicates whether the image has public launch permissions. The value is <code>true</code> if
210
- * this image has public launch permissions or <code>false</code>
211
- * if it has only implicit and explicit launch permissions.</p>
135
+ * <p>The launch permissions.</p>
212
136
  * @public
213
137
  */
214
- Public?: boolean;
138
+ LaunchPermissions?: LaunchPermission[];
215
139
  /**
216
- * <p>Any product codes associated with the AMI.</p>
140
+ * <p>The product codes.</p>
217
141
  * @public
218
142
  */
219
143
  ProductCodes?: ProductCode[];
220
144
  /**
221
- * <p>The architecture of the image.</p>
222
- * @public
223
- */
224
- Architecture?: ArchitectureValues;
225
- /**
226
- * <p>The type of image.</p>
227
- * @public
228
- */
229
- ImageType?: ImageTypeValues;
230
- /**
231
- * <p>The kernel associated with the image, if any. Only applicable for machine images.</p>
232
- * @public
233
- */
234
- KernelId?: string;
235
- /**
236
- * <p>The RAM disk associated with the image, if any. Only applicable for machine images.</p>
237
- * @public
238
- */
239
- RamdiskId?: string;
240
- /**
241
- * <p>This value is set to <code>windows</code> for Windows AMIs; otherwise, it is blank.</p>
145
+ * <p>The block device mapping entries.</p>
242
146
  * @public
243
147
  */
244
- Platform?: PlatformValues;
148
+ BlockDeviceMappings?: BlockDeviceMapping[];
245
149
  }
246
150
  /**
247
151
  * @public
248
152
  */
249
- export interface DescribeImagesResult {
153
+ export interface DescribeImagesRequest {
250
154
  /**
251
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
252
- * are no more items to return.</p>
155
+ * <p>Scopes the images by users with explicit launch permissions.
156
+ * Specify an Amazon Web Services account ID, <code>self</code> (the sender of the request),
157
+ * or <code>all</code> (public AMIs).</p>
158
+ * <ul>
159
+ * <li>
160
+ * <p>If you specify an Amazon Web Services account ID that is not your own, only AMIs
161
+ * shared with that specific Amazon Web Services account ID are returned. However, AMIs that
162
+ * are shared with the account’s organization or organizational unit (OU) are not
163
+ * returned.</p>
164
+ * </li>
165
+ * <li>
166
+ * <p>If you specify <code>self</code> or your own Amazon Web Services account ID, AMIs
167
+ * shared with your account are returned. In addition, AMIs that are shared with the
168
+ * organization or OU of which you are member are also returned. </p>
169
+ * </li>
170
+ * <li>
171
+ * <p>If you specify <code>all</code>, all public AMIs are returned.</p>
172
+ * </li>
173
+ * </ul>
253
174
  * @public
254
175
  */
255
- NextToken?: string;
176
+ ExecutableUsers?: string[];
256
177
  /**
257
- * <p>Information about the images.</p>
178
+ * <p>The image IDs.</p>
179
+ * <p>Default: Describes all images available to you.</p>
258
180
  * @public
259
181
  */
260
- Images?: Image[];
261
- }
262
- /**
263
- * @public
264
- */
265
- export interface DescribeImportImageTasksRequest {
182
+ ImageIds?: string[];
266
183
  /**
267
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
268
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
269
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
184
+ * <p>Scopes the results to images with the specified owners. You can specify a combination of
185
+ * Amazon Web Services account IDs, <code>self</code>, <code>amazon</code>, and <code>aws-marketplace</code>.
186
+ * If you omit this parameter, the results include all images for which you have launch permissions,
187
+ * regardless of ownership.</p>
270
188
  * @public
271
189
  */
272
- DryRun?: boolean;
190
+ Owners?: string[];
273
191
  /**
274
- * <p>Filter tasks using the <code>task-state</code> filter and one of the following values: <code>active</code>,
275
- * <code>completed</code>, <code>deleting</code>, or <code>deleted</code>.</p>
192
+ * <p>Specifies whether to include deprecated AMIs.</p>
193
+ * <p>Default: No deprecated AMIs are included in the response.</p>
194
+ * <note>
195
+ * <p>If you are the AMI owner, all deprecated AMIs appear in the response regardless of what
196
+ * you specify for this parameter.</p>
197
+ * </note>
276
198
  * @public
277
199
  */
278
- Filters?: Filter[];
200
+ IncludeDeprecated?: boolean;
279
201
  /**
280
- * <p>The IDs of the import image tasks.</p>
202
+ * <p>Specifies whether to include disabled AMIs.</p>
203
+ * <p>Default: No disabled AMIs are included in the response.</p>
281
204
  * @public
282
205
  */
283
- ImportTaskIds?: string[];
206
+ IncludeDisabled?: boolean;
284
207
  /**
285
- * <p>The maximum number of results to return in a single call.</p>
208
+ * <p>The maximum number of items to return for this request.
209
+ * To get the next page of items, make another request with the token returned in the output.
210
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
286
211
  * @public
287
212
  */
288
213
  MaxResults?: number;
289
214
  /**
290
- * <p>A token that indicates the next page of results.</p>
215
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
291
216
  * @public
292
217
  */
293
218
  NextToken?: string;
294
- }
295
- /**
296
- * <p> The response information for license configurations.</p>
297
- * @public
298
- */
299
- export interface ImportImageLicenseConfigurationResponse {
300
- /**
301
- * <p>The ARN of a license configuration.</p>
302
- * @public
303
- */
304
- LicenseConfigurationArn?: string;
305
- }
306
- /**
307
- * <p>Describes the Amazon S3 bucket for the disk image.</p>
308
- * @public
309
- */
310
- export interface UserBucketDetails {
311
219
  /**
312
- * <p>The Amazon S3 bucket from which the disk image was created.</p>
220
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
221
+ * and provides an error response. If you have the required permissions, the error response is
222
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
313
223
  * @public
314
224
  */
315
- S3Bucket?: string;
225
+ DryRun?: boolean;
316
226
  /**
317
- * <p>The file name of the disk image.</p>
318
- * @public
319
- */
320
- S3Key?: string;
321
- }
322
- /**
323
- * <p>Describes the snapshot created from the imported disk.</p>
324
- * @public
227
+ * <p>The filters.</p>
228
+ * <ul>
229
+ * <li>
230
+ * <p>
231
+ * <code>architecture</code> - The image architecture (<code>i386</code> | <code>x86_64</code> |
232
+ * <code>arm64</code> | <code>x86_64_mac</code> | <code>arm64_mac</code>).</p>
233
+ * </li>
234
+ * <li>
235
+ * <p>
236
+ * <code>block-device-mapping.delete-on-termination</code> - A Boolean value that indicates
237
+ * whether the Amazon EBS volume is deleted on instance termination.</p>
238
+ * </li>
239
+ * <li>
240
+ * <p>
241
+ * <code>block-device-mapping.device-name</code> - The device name specified in the block device mapping (for
242
+ * example, <code>/dev/sdh</code> or <code>xvdh</code>).</p>
243
+ * </li>
244
+ * <li>
245
+ * <p>
246
+ * <code>block-device-mapping.snapshot-id</code> - The ID of the snapshot used for the Amazon EBS
247
+ * volume.</p>
248
+ * </li>
249
+ * <li>
250
+ * <p>
251
+ * <code>block-device-mapping.volume-size</code> - The volume size of the Amazon EBS volume, in GiB.</p>
252
+ * </li>
253
+ * <li>
254
+ * <p>
255
+ * <code>block-device-mapping.volume-type</code> - The volume type of the Amazon EBS volume
256
+ * (<code>io1</code> | <code>io2</code> | <code>gp2</code> | <code>gp3</code> | <code>sc1
257
+ * </code>| <code>st1</code> | <code>standard</code>).</p>
258
+ * </li>
259
+ * <li>
260
+ * <p>
261
+ * <code>block-device-mapping.encrypted</code> - A Boolean that indicates whether the Amazon EBS volume is encrypted.</p>
262
+ * </li>
263
+ * <li>
264
+ * <p>
265
+ * <code>creation-date</code> - The time when the image was created, in the ISO 8601
266
+ * format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,
267
+ * <code>2021-09-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for
268
+ * example, <code>2021-09-29T*</code>, which matches an entire day.</p>
269
+ * </li>
270
+ * <li>
271
+ * <p>
272
+ * <code>description</code> - The description of the image (provided during image
273
+ * creation).</p>
274
+ * </li>
275
+ * <li>
276
+ * <p>
277
+ * <code>ena-support</code> - A Boolean that indicates whether enhanced networking
278
+ * with ENA is enabled.</p>
279
+ * </li>
280
+ * <li>
281
+ * <p>
282
+ * <code>hypervisor</code> - The hypervisor type (<code>ovm</code> |
283
+ * <code>xen</code>).</p>
284
+ * </li>
285
+ * <li>
286
+ * <p>
287
+ * <code>image-id</code> - The ID of the image.</p>
288
+ * </li>
289
+ * <li>
290
+ * <p>
291
+ * <code>image-type</code> - The image type (<code>machine</code> | <code>kernel</code> |
292
+ * <code>ramdisk</code>).</p>
293
+ * </li>
294
+ * <li>
295
+ * <p>
296
+ * <code>is-public</code> - A Boolean that indicates whether the image is public.</p>
297
+ * </li>
298
+ * <li>
299
+ * <p>
300
+ * <code>kernel-id</code> - The kernel ID.</p>
301
+ * </li>
302
+ * <li>
303
+ * <p>
304
+ * <code>manifest-location</code> - The location of the image manifest.</p>
305
+ * </li>
306
+ * <li>
307
+ * <p>
308
+ * <code>name</code> - The name of the AMI (provided during image creation).</p>
309
+ * </li>
310
+ * <li>
311
+ * <p>
312
+ * <code>owner-alias</code> - The owner alias (<code>amazon</code> | <code>aws-marketplace</code>).
313
+ * The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be
314
+ * set using the IAM console. We recommend that you use the <b>Owner</b>
315
+ * request parameter instead of this filter.</p>
316
+ * </li>
317
+ * <li>
318
+ * <p>
319
+ * <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend that you use the
320
+ * <b>Owner</b> request parameter instead of this filter.</p>
321
+ * </li>
322
+ * <li>
323
+ * <p>
324
+ * <code>platform</code> - The platform. The only supported value is <code>windows</code>.</p>
325
+ * </li>
326
+ * <li>
327
+ * <p>
328
+ * <code>product-code</code> - The product code.</p>
329
+ * </li>
330
+ * <li>
331
+ * <p>
332
+ * <code>product-code.type</code> - The type of the product code (<code>marketplace</code>).</p>
333
+ * </li>
334
+ * <li>
335
+ * <p>
336
+ * <code>ramdisk-id</code> - The RAM disk ID.</p>
337
+ * </li>
338
+ * <li>
339
+ * <p>
340
+ * <code>root-device-name</code> - The device name of the root device volume (for example, <code>/dev/sda1</code>).</p>
341
+ * </li>
342
+ * <li>
343
+ * <p>
344
+ * <code>root-device-type</code> - The type of the root device volume (<code>ebs</code> |
345
+ * <code>instance-store</code>).</p>
346
+ * </li>
347
+ * <li>
348
+ * <p>
349
+ * <code>source-instance-id</code> - The ID of the instance that the AMI was created from
350
+ * if the AMI was created using CreateImage. This filter is applicable only if the AMI was
351
+ * created using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
352
+ * </li>
353
+ * <li>
354
+ * <p>
355
+ * <code>state</code> - The state of the image (<code>available</code> | <code>pending</code>
356
+ * | <code>failed</code>).</p>
357
+ * </li>
358
+ * <li>
359
+ * <p>
360
+ * <code>state-reason-code</code> - The reason code for the state change.</p>
361
+ * </li>
362
+ * <li>
363
+ * <p>
364
+ * <code>state-reason-message</code> - The message for the state change.</p>
365
+ * </li>
366
+ * <li>
367
+ * <p>
368
+ * <code>sriov-net-support</code> - A value of <code>simple</code> indicates
369
+ * that enhanced networking with the Intel 82599 VF interface is enabled.</p>
370
+ * </li>
371
+ * <li>
372
+ * <p>
373
+ * <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.
374
+ * 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>
375
+ * </li>
376
+ * <li>
377
+ * <p>
378
+ * <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>
379
+ * </li>
380
+ * <li>
381
+ * <p>
382
+ * <code>virtualization-type</code> - The virtualization type (<code>paravirtual</code> |
383
+ * <code>hvm</code>).</p>
384
+ * </li>
385
+ * </ul>
386
+ * @public
387
+ */
388
+ Filters?: Filter[];
389
+ }
390
+ /**
391
+ * @public
392
+ * @enum
393
+ */
394
+ export declare const ArchitectureValues: {
395
+ readonly arm64: "arm64";
396
+ readonly arm64_mac: "arm64_mac";
397
+ readonly i386: "i386";
398
+ readonly x86_64: "x86_64";
399
+ readonly x86_64_mac: "x86_64_mac";
400
+ };
401
+ /**
402
+ * @public
403
+ */
404
+ export type ArchitectureValues = (typeof ArchitectureValues)[keyof typeof ArchitectureValues];
405
+ /**
406
+ * @public
407
+ * @enum
408
+ */
409
+ export declare const BootModeValues: {
410
+ readonly legacy_bios: "legacy-bios";
411
+ readonly uefi: "uefi";
412
+ readonly uefi_preferred: "uefi-preferred";
413
+ };
414
+ /**
415
+ * @public
416
+ */
417
+ export type BootModeValues = (typeof BootModeValues)[keyof typeof BootModeValues];
418
+ /**
419
+ * @public
420
+ * @enum
421
+ */
422
+ export declare const HypervisorType: {
423
+ readonly ovm: "ovm";
424
+ readonly xen: "xen";
425
+ };
426
+ /**
427
+ * @public
428
+ */
429
+ export type HypervisorType = (typeof HypervisorType)[keyof typeof HypervisorType];
430
+ /**
431
+ * @public
432
+ * @enum
433
+ */
434
+ export declare const ImageTypeValues: {
435
+ readonly kernel: "kernel";
436
+ readonly machine: "machine";
437
+ readonly ramdisk: "ramdisk";
438
+ };
439
+ /**
440
+ * @public
441
+ */
442
+ export type ImageTypeValues = (typeof ImageTypeValues)[keyof typeof ImageTypeValues];
443
+ /**
444
+ * @public
445
+ * @enum
446
+ */
447
+ export declare const ImdsSupportValues: {
448
+ readonly v2_0: "v2.0";
449
+ };
450
+ /**
451
+ * @public
452
+ */
453
+ export type ImdsSupportValues = (typeof ImdsSupportValues)[keyof typeof ImdsSupportValues];
454
+ /**
455
+ * @public
456
+ * @enum
457
+ */
458
+ export declare const DeviceType: {
459
+ readonly ebs: "ebs";
460
+ readonly instance_store: "instance-store";
461
+ };
462
+ /**
463
+ * @public
464
+ */
465
+ export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
466
+ /**
467
+ * @public
468
+ * @enum
469
+ */
470
+ export declare const ImageState: {
471
+ readonly available: "available";
472
+ readonly deregistered: "deregistered";
473
+ readonly disabled: "disabled";
474
+ readonly error: "error";
475
+ readonly failed: "failed";
476
+ readonly invalid: "invalid";
477
+ readonly pending: "pending";
478
+ readonly transient: "transient";
479
+ };
480
+ /**
481
+ * @public
482
+ */
483
+ export type ImageState = (typeof ImageState)[keyof typeof ImageState];
484
+ /**
485
+ * @public
486
+ * @enum
487
+ */
488
+ export declare const TpmSupportValues: {
489
+ readonly v2_0: "v2.0";
490
+ };
491
+ /**
492
+ * @public
493
+ */
494
+ export type TpmSupportValues = (typeof TpmSupportValues)[keyof typeof TpmSupportValues];
495
+ /**
496
+ * @public
497
+ * @enum
498
+ */
499
+ export declare const VirtualizationType: {
500
+ readonly hvm: "hvm";
501
+ readonly paravirtual: "paravirtual";
502
+ };
503
+ /**
504
+ * @public
505
+ */
506
+ export type VirtualizationType = (typeof VirtualizationType)[keyof typeof VirtualizationType];
507
+ /**
508
+ * <p>Describes an image.</p>
509
+ * @public
510
+ */
511
+ export interface Image {
512
+ /**
513
+ * <p>The platform details associated with the billing code of the AMI. For more information,
514
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understand
515
+ * AMI billing information</a> in the <i>Amazon EC2 User Guide</i>.</p>
516
+ * @public
517
+ */
518
+ PlatformDetails?: string;
519
+ /**
520
+ * <p>The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
521
+ * <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
522
+ * List API</a>. You can view these fields on the <b>Instances</b> or
523
+ * <b>AMIs</b> pages in the Amazon EC2 console, or in the responses that are
524
+ * returned by the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html">DescribeImages</a>
525
+ * 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>
526
+ * command in the CLI.</p>
527
+ * @public
528
+ */
529
+ UsageOperation?: string;
530
+ /**
531
+ * <p>Any block device mapping entries.</p>
532
+ * @public
533
+ */
534
+ BlockDeviceMappings?: BlockDeviceMapping[];
535
+ /**
536
+ * <p>The description of the AMI that was provided during image creation.</p>
537
+ * @public
538
+ */
539
+ Description?: string;
540
+ /**
541
+ * <p>Specifies whether enhanced networking with ENA is enabled.</p>
542
+ * @public
543
+ */
544
+ EnaSupport?: boolean;
545
+ /**
546
+ * <p>The hypervisor type of the image. Only <code>xen</code> is supported. <code>ovm</code> is
547
+ * not supported.</p>
548
+ * @public
549
+ */
550
+ Hypervisor?: HypervisorType;
551
+ /**
552
+ * <p>The owner alias (<code>amazon</code> | <code>aws-marketplace</code>).</p>
553
+ * @public
554
+ */
555
+ ImageOwnerAlias?: string;
556
+ /**
557
+ * <p>The name of the AMI that was provided during image creation.</p>
558
+ * @public
559
+ */
560
+ Name?: string;
561
+ /**
562
+ * <p>The device name of the root device volume (for example, <code>/dev/sda1</code>).</p>
563
+ * @public
564
+ */
565
+ RootDeviceName?: string;
566
+ /**
567
+ * <p>The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.</p>
568
+ * @public
569
+ */
570
+ RootDeviceType?: DeviceType;
571
+ /**
572
+ * <p>Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.</p>
573
+ * @public
574
+ */
575
+ SriovNetSupport?: string;
576
+ /**
577
+ * <p>The reason for the state change.</p>
578
+ * @public
579
+ */
580
+ StateReason?: StateReason;
581
+ /**
582
+ * <p>Any tags assigned to the image.</p>
583
+ * @public
584
+ */
585
+ Tags?: Tag[];
586
+ /**
587
+ * <p>The type of virtualization of the AMI.</p>
588
+ * @public
589
+ */
590
+ VirtualizationType?: VirtualizationType;
591
+ /**
592
+ * <p>The boot mode of the image. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
593
+ * <i>Amazon EC2 User Guide</i>.</p>
594
+ * @public
595
+ */
596
+ BootMode?: BootModeValues;
597
+ /**
598
+ * <p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>.
599
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the
600
+ * <i>Amazon EC2 User Guide</i>.</p>
601
+ * @public
602
+ */
603
+ TpmSupport?: TpmSupportValues;
604
+ /**
605
+ * <p>The date and time to deprecate the AMI, in UTC, in the following format:
606
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.
607
+ * If you specified a value for seconds, Amazon EC2 rounds the seconds to the
608
+ * nearest minute.</p>
609
+ * @public
610
+ */
611
+ DeprecationTime?: string;
612
+ /**
613
+ * <p>If <code>v2.0</code>, it indicates that IMDSv2 is specified in the AMI. Instances launched
614
+ * from this AMI will have <code>HttpTokens</code> automatically set to <code>required</code> so
615
+ * that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.
616
+ * In addition, <code>HttpPutResponseHopLimit</code> is set to <code>2</code>. For more
617
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure
618
+ * the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
619
+ * @public
620
+ */
621
+ ImdsSupport?: ImdsSupportValues;
622
+ /**
623
+ * <p>The ID of the instance that the AMI was created from if the AMI was created using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>. This field only appears if the AMI was created using
624
+ * CreateImage.</p>
625
+ * @public
626
+ */
627
+ SourceInstanceId?: string;
628
+ /**
629
+ * <p>Indicates whether deregistration protection is enabled for the AMI.</p>
630
+ * @public
631
+ */
632
+ DeregistrationProtection?: string;
633
+ /**
634
+ * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
635
+ * format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used
636
+ * to launch an instance, there is a 24-hour delay before that usage is reported.</p>
637
+ * <note>
638
+ * <p>
639
+ * <code>lastLaunchedTime</code> data is available starting April 2017.</p>
640
+ * </note>
641
+ * @public
642
+ */
643
+ LastLaunchedTime?: string;
644
+ /**
645
+ * <p>The ID of the AMI.</p>
646
+ * @public
647
+ */
648
+ ImageId?: string;
649
+ /**
650
+ * <p>The location of the AMI.</p>
651
+ * @public
652
+ */
653
+ ImageLocation?: string;
654
+ /**
655
+ * <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>
656
+ * @public
657
+ */
658
+ State?: ImageState;
659
+ /**
660
+ * <p>The ID of the Amazon Web Services account that owns the image.</p>
661
+ * @public
662
+ */
663
+ OwnerId?: string;
664
+ /**
665
+ * <p>The date and time the image was created.</p>
666
+ * @public
667
+ */
668
+ CreationDate?: string;
669
+ /**
670
+ * <p>Indicates whether the image has public launch permissions. The value is <code>true</code> if
671
+ * this image has public launch permissions or <code>false</code>
672
+ * if it has only implicit and explicit launch permissions.</p>
673
+ * @public
674
+ */
675
+ Public?: boolean;
676
+ /**
677
+ * <p>Any product codes associated with the AMI.</p>
678
+ * @public
679
+ */
680
+ ProductCodes?: ProductCode[];
681
+ /**
682
+ * <p>The architecture of the image.</p>
683
+ * @public
684
+ */
685
+ Architecture?: ArchitectureValues;
686
+ /**
687
+ * <p>The type of image.</p>
688
+ * @public
689
+ */
690
+ ImageType?: ImageTypeValues;
691
+ /**
692
+ * <p>The kernel associated with the image, if any. Only applicable for machine images.</p>
693
+ * @public
694
+ */
695
+ KernelId?: string;
696
+ /**
697
+ * <p>The RAM disk associated with the image, if any. Only applicable for machine images.</p>
698
+ * @public
699
+ */
700
+ RamdiskId?: string;
701
+ /**
702
+ * <p>This value is set to <code>windows</code> for Windows AMIs; otherwise, it is blank.</p>
703
+ * @public
704
+ */
705
+ Platform?: PlatformValues;
706
+ }
707
+ /**
708
+ * @public
709
+ */
710
+ export interface DescribeImagesResult {
711
+ /**
712
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
713
+ * are no more items to return.</p>
714
+ * @public
715
+ */
716
+ NextToken?: string;
717
+ /**
718
+ * <p>Information about the images.</p>
719
+ * @public
720
+ */
721
+ Images?: Image[];
722
+ }
723
+ /**
724
+ * @public
725
+ */
726
+ export interface DescribeImportImageTasksRequest {
727
+ /**
728
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
729
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
730
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
731
+ * @public
732
+ */
733
+ DryRun?: boolean;
734
+ /**
735
+ * <p>Filter tasks using the <code>task-state</code> filter and one of the following values: <code>active</code>,
736
+ * <code>completed</code>, <code>deleting</code>, or <code>deleted</code>.</p>
737
+ * @public
738
+ */
739
+ Filters?: Filter[];
740
+ /**
741
+ * <p>The IDs of the import image tasks.</p>
742
+ * @public
743
+ */
744
+ ImportTaskIds?: string[];
745
+ /**
746
+ * <p>The maximum number of results to return in a single call.</p>
747
+ * @public
748
+ */
749
+ MaxResults?: number;
750
+ /**
751
+ * <p>A token that indicates the next page of results.</p>
752
+ * @public
753
+ */
754
+ NextToken?: string;
755
+ }
756
+ /**
757
+ * <p> The response information for license configurations.</p>
758
+ * @public
759
+ */
760
+ export interface ImportImageLicenseConfigurationResponse {
761
+ /**
762
+ * <p>The ARN of a license configuration.</p>
763
+ * @public
764
+ */
765
+ LicenseConfigurationArn?: string;
766
+ }
767
+ /**
768
+ * <p>Describes the Amazon S3 bucket for the disk image.</p>
769
+ * @public
770
+ */
771
+ export interface UserBucketDetails {
772
+ /**
773
+ * <p>The Amazon S3 bucket from which the disk image was created.</p>
774
+ * @public
775
+ */
776
+ S3Bucket?: string;
777
+ /**
778
+ * <p>The file name of the disk image.</p>
779
+ * @public
780
+ */
781
+ S3Key?: string;
782
+ }
783
+ /**
784
+ * <p>Describes the snapshot created from the imported disk.</p>
785
+ * @public
325
786
  */
326
787
  export interface SnapshotDetail {
327
788
  /**
@@ -1290,11 +1751,6 @@ export interface DescribeInstancesRequest {
1290
1751
  * </li>
1291
1752
  * <li>
1292
1753
  * <p>
1293
- * <code>iam-instance-profile.name</code> - The instance profile associated with
1294
- * the instance. Specified as an name.</p>
1295
- * </li>
1296
- * <li>
1297
- * <p>
1298
1754
  * <code>image-id</code> - The ID of the image used to launch the
1299
1755
  * instance.</p>
1300
1756
  * </li>
@@ -1934,8 +2390,7 @@ export declare const InstanceBootModeValues: {
1934
2390
  export type InstanceBootModeValues = (typeof InstanceBootModeValues)[keyof typeof InstanceBootModeValues];
1935
2391
  /**
1936
2392
  * <note>
1937
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration,
1938
- * we recommend that you use Amazon EC2 G4, G5, or G6 instances.</p>
2393
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
1939
2394
  * </note>
1940
2395
  * <p>Describes the association between an instance and an Elastic Graphics accelerator.</p>
1941
2396
  * @public
@@ -1964,7 +2419,10 @@ export interface ElasticGpuAssociation {
1964
2419
  ElasticGpuAssociationTime?: string;
1965
2420
  }
1966
2421
  /**
1967
- * <p>
2422
+ * <note>
2423
+ * <p>Amazon Elastic Inference is no longer available.</p>
2424
+ * </note>
2425
+ * <p>
1968
2426
  * Describes the association between an instance and an elastic inference accelerator.
1969
2427
  * </p>
1970
2428
  * @public
@@ -2654,15 +3112,16 @@ export interface Instance {
2654
3112
  /**
2655
3113
  * <p>Deprecated.</p>
2656
3114
  * <note>
2657
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For
2658
- * workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad,
2659
- * G4dn, or G5 instances.</p>
3115
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
2660
3116
  * </note>
2661
3117
  * @public
2662
3118
  */
2663
3119
  ElasticGpuAssociations?: ElasticGpuAssociation[];
2664
3120
  /**
2665
- * <p>The elastic inference accelerator associated with the instance.</p>
3121
+ * <p>Deprecated</p>
3122
+ * <note>
3123
+ * <p>Amazon Elastic Inference is no longer available.</p>
3124
+ * </note>
2666
3125
  * @public
2667
3126
  */
2668
3127
  ElasticInferenceAcceleratorAssociations?: ElasticInferenceAcceleratorAssociation[];
@@ -4096,7 +4555,10 @@ export declare const InstanceTypeHypervisor: {
4096
4555
  */
4097
4556
  export type InstanceTypeHypervisor = (typeof InstanceTypeHypervisor)[keyof typeof InstanceTypeHypervisor];
4098
4557
  /**
4099
- * <p>Describes the memory available to the inference accelerator.</p>
4558
+ * <note>
4559
+ * <p>Amazon Elastic Inference is no longer available.</p>
4560
+ * </note>
4561
+ * <p>Describes the memory available to the inference accelerator.</p>
4100
4562
  * @public
4101
4563
  */
4102
4564
  export interface InferenceDeviceMemoryInfo {
@@ -4107,7 +4569,10 @@ export interface InferenceDeviceMemoryInfo {
4107
4569
  SizeInMiB?: number;
4108
4570
  }
4109
4571
  /**
4110
- * <p>Describes the Inference accelerators for the instance type.</p>
4572
+ * <note>
4573
+ * <p>Amazon Elastic Inference is no longer available.</p>
4574
+ * </note>
4575
+ * <p>Describes the Inference accelerators for the instance type.</p>
4111
4576
  * @public
4112
4577
  */
4113
4578
  export interface InferenceDeviceInfo {
@@ -4133,7 +4598,10 @@ export interface InferenceDeviceInfo {
4133
4598
  MemoryInfo?: InferenceDeviceMemoryInfo;
4134
4599
  }
4135
4600
  /**
4136
- * <p>Describes the Inference accelerators for the instance type.</p>
4601
+ * <note>
4602
+ * <p>Amazon Elastic Inference is no longer available.</p>
4603
+ * </note>
4604
+ * <p>Describes the Inference accelerators for the instance type.</p>
4137
4605
  * @public
4138
4606
  */
4139
4607
  export interface InferenceAcceleratorInfo {
@@ -9476,524 +9944,232 @@ export interface DescribeScheduledInstancesRequest {
9476
9944
  * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9477
9945
  * @public
9478
9946
  */
9479
- DryRun?: boolean;
9480
- /**
9481
- * <p>The filters.</p>
9482
- * <ul>
9483
- * <li>
9484
- * <p>
9485
- * <code>availability-zone</code> - The Availability Zone (for example, <code>us-west-2a</code>).</p>
9486
- * </li>
9487
- * <li>
9488
- * <p>
9489
- * <code>instance-type</code> - The instance type (for example, <code>c4.large</code>).</p>
9490
- * </li>
9491
- * <li>
9492
- * <p>
9493
- * <code>platform</code> - The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
9494
- * </li>
9495
- * </ul>
9496
- * @public
9497
- */
9498
- Filters?: Filter[];
9499
- /**
9500
- * <p>The maximum number of results to return in a single call.
9501
- * This value can be between 5 and 300. The default value is 100.
9502
- * To retrieve the remaining results, make another call with the returned
9503
- * <code>NextToken</code> value.</p>
9504
- * @public
9505
- */
9506
- MaxResults?: number;
9507
- /**
9508
- * <p>The token for the next set of results.</p>
9509
- * @public
9510
- */
9511
- NextToken?: string;
9512
- /**
9513
- * <p>The Scheduled Instance IDs.</p>
9514
- * @public
9515
- */
9516
- ScheduledInstanceIds?: string[];
9517
- /**
9518
- * <p>The time period for the first schedule to start.</p>
9519
- * @public
9520
- */
9521
- SlotStartTimeRange?: SlotStartTimeRangeRequest;
9522
- }
9523
- /**
9524
- * <p>Describes a Scheduled Instance.</p>
9525
- * @public
9526
- */
9527
- export interface ScheduledInstance {
9528
- /**
9529
- * <p>The Availability Zone.</p>
9530
- * @public
9531
- */
9532
- AvailabilityZone?: string;
9533
- /**
9534
- * <p>The date when the Scheduled Instance was purchased.</p>
9535
- * @public
9536
- */
9537
- CreateDate?: Date;
9538
- /**
9539
- * <p>The hourly price for a single instance.</p>
9540
- * @public
9541
- */
9542
- HourlyPrice?: string;
9543
- /**
9544
- * <p>The number of instances.</p>
9545
- * @public
9546
- */
9547
- InstanceCount?: number;
9548
- /**
9549
- * <p>The instance type.</p>
9550
- * @public
9551
- */
9552
- InstanceType?: string;
9553
- /**
9554
- * <p>The network platform.</p>
9555
- * @public
9556
- */
9557
- NetworkPlatform?: string;
9558
- /**
9559
- * <p>The time for the next schedule to start.</p>
9560
- * @public
9561
- */
9562
- NextSlotStartTime?: Date;
9563
- /**
9564
- * <p>The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
9565
- * @public
9566
- */
9567
- Platform?: string;
9568
- /**
9569
- * <p>The time that the previous schedule ended or will end.</p>
9570
- * @public
9571
- */
9572
- PreviousSlotEndTime?: Date;
9573
- /**
9574
- * <p>The schedule recurrence.</p>
9575
- * @public
9576
- */
9577
- Recurrence?: ScheduledInstanceRecurrence;
9578
- /**
9579
- * <p>The Scheduled Instance ID.</p>
9580
- * @public
9581
- */
9582
- ScheduledInstanceId?: string;
9583
- /**
9584
- * <p>The number of hours in the schedule.</p>
9585
- * @public
9586
- */
9587
- SlotDurationInHours?: number;
9588
- /**
9589
- * <p>The end date for the Scheduled Instance.</p>
9590
- * @public
9591
- */
9592
- TermEndDate?: Date;
9593
- /**
9594
- * <p>The start date for the Scheduled Instance.</p>
9595
- * @public
9596
- */
9597
- TermStartDate?: Date;
9598
- /**
9599
- * <p>The total number of hours for a single instance for the entire term.</p>
9600
- * @public
9601
- */
9602
- TotalScheduledInstanceHours?: number;
9603
- }
9604
- /**
9605
- * <p>Contains the output of DescribeScheduledInstances.</p>
9606
- * @public
9607
- */
9608
- export interface DescribeScheduledInstancesResult {
9609
- /**
9610
- * <p>The token required to retrieve the next set of results. This value is <code>null</code> when there are no more results to return.</p>
9611
- * @public
9612
- */
9613
- NextToken?: string;
9614
- /**
9615
- * <p>Information about the Scheduled Instances.</p>
9616
- * @public
9617
- */
9618
- ScheduledInstanceSet?: ScheduledInstance[];
9619
- }
9620
- /**
9621
- * @public
9622
- */
9623
- export interface DescribeSecurityGroupReferencesRequest {
9624
- /**
9625
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9626
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9627
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9628
- * @public
9629
- */
9630
- DryRun?: boolean;
9631
- /**
9632
- * <p>The IDs of the security groups in your account.</p>
9633
- * @public
9634
- */
9635
- GroupId: string[] | undefined;
9636
- }
9637
- /**
9638
- * <p>Describes a VPC with a security group that references your security group.</p>
9639
- * @public
9640
- */
9641
- export interface SecurityGroupReference {
9642
- /**
9643
- * <p>The ID of your security group.</p>
9644
- * @public
9645
- */
9646
- GroupId?: string;
9647
- /**
9648
- * <p>The ID of the VPC with the referencing security group.</p>
9649
- * @public
9650
- */
9651
- ReferencingVpcId?: string;
9652
- /**
9653
- * <p>The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see <a href="https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html">Update your security groups to reference peer security groups</a> in the <i>VPC Peering Guide</i>.</p>
9654
- * @public
9655
- */
9656
- VpcPeeringConnectionId?: string;
9657
- /**
9658
- * <note>
9659
- * <p>This parameter is in preview and may not be available for your account.</p>
9660
- * </note>
9661
- * <p>The ID of the transit gateway (if applicable).</p>
9662
- * @public
9663
- */
9664
- TransitGatewayId?: string;
9665
- }
9666
- /**
9667
- * @public
9668
- */
9669
- export interface DescribeSecurityGroupReferencesResult {
9670
- /**
9671
- * <p>Information about the VPCs with the referencing security groups.</p>
9672
- * @public
9673
- */
9674
- SecurityGroupReferenceSet?: SecurityGroupReference[];
9675
- }
9676
- /**
9677
- * @public
9678
- */
9679
- export interface DescribeSecurityGroupRulesRequest {
9947
+ DryRun?: boolean;
9680
9948
  /**
9681
- * <p>One or more filters.</p>
9949
+ * <p>The filters.</p>
9682
9950
  * <ul>
9683
9951
  * <li>
9684
9952
  * <p>
9685
- * <code>group-id</code> - The ID of the security group.</p>
9953
+ * <code>availability-zone</code> - The Availability Zone (for example, <code>us-west-2a</code>).</p>
9686
9954
  * </li>
9687
9955
  * <li>
9688
9956
  * <p>
9689
- * <code>security-group-rule-id</code> - The ID of the security group rule.</p>
9957
+ * <code>instance-type</code> - The instance type (for example, <code>c4.large</code>).</p>
9690
9958
  * </li>
9691
9959
  * <li>
9692
9960
  * <p>
9693
- * <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.
9694
- * 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>
9961
+ * <code>platform</code> - The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
9695
9962
  * </li>
9696
9963
  * </ul>
9697
9964
  * @public
9698
9965
  */
9699
9966
  Filters?: Filter[];
9700
9967
  /**
9701
- * <p>The IDs of the security group rules.</p>
9968
+ * <p>The maximum number of results to return in a single call.
9969
+ * This value can be between 5 and 300. The default value is 100.
9970
+ * To retrieve the remaining results, make another call with the returned
9971
+ * <code>NextToken</code> value.</p>
9702
9972
  * @public
9703
9973
  */
9704
- SecurityGroupRuleIds?: string[];
9974
+ MaxResults?: number;
9705
9975
  /**
9706
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9707
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9708
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9976
+ * <p>The token for the next set of results.</p>
9709
9977
  * @public
9710
9978
  */
9711
- DryRun?: boolean;
9979
+ NextToken?: string;
9712
9980
  /**
9713
- * <p>The token returned from a previous paginated request.
9714
- * Pagination continues from the end of the items returned by the previous request.</p>
9981
+ * <p>The Scheduled Instance IDs.</p>
9715
9982
  * @public
9716
9983
  */
9717
- NextToken?: string;
9984
+ ScheduledInstanceIds?: string[];
9718
9985
  /**
9719
- * <p>The maximum number of items to return for this request. To get the next page of
9720
- * items, make another request with the token returned in the output. This value
9721
- * can be between 5 and 1000. If this parameter is not specified, then all items are
9722
- * returned. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
9986
+ * <p>The time period for the first schedule to start.</p>
9723
9987
  * @public
9724
9988
  */
9725
- MaxResults?: number;
9989
+ SlotStartTimeRange?: SlotStartTimeRangeRequest;
9726
9990
  }
9727
9991
  /**
9992
+ * <p>Describes a Scheduled Instance.</p>
9728
9993
  * @public
9729
9994
  */
9730
- export interface DescribeSecurityGroupRulesResult {
9995
+ export interface ScheduledInstance {
9731
9996
  /**
9732
- * <p>Information about security group rules.</p>
9997
+ * <p>The Availability Zone.</p>
9733
9998
  * @public
9734
9999
  */
9735
- SecurityGroupRules?: SecurityGroupRule[];
10000
+ AvailabilityZone?: string;
9736
10001
  /**
9737
- * <p>The token to include in another request to get the next page of items.
9738
- * This value is <code>null</code> when there are no more items to return.</p>
10002
+ * <p>The date when the Scheduled Instance was purchased.</p>
9739
10003
  * @public
9740
10004
  */
9741
- NextToken?: string;
9742
- }
9743
- /**
9744
- * @public
9745
- */
9746
- export interface DescribeSecurityGroupsRequest {
10005
+ CreateDate?: Date;
9747
10006
  /**
9748
- * <p>The IDs of the security groups. Required for security groups in a nondefault VPC.</p>
9749
- * <p>Default: Describes all of your security groups.</p>
10007
+ * <p>The hourly price for a single instance.</p>
9750
10008
  * @public
9751
10009
  */
9752
- GroupIds?: string[];
10010
+ HourlyPrice?: string;
9753
10011
  /**
9754
- * <p>[Default VPC] The names of the security groups. You can specify either
9755
- * the security group name or the security group ID.</p>
9756
- * <p>Default: Describes all of your security groups.</p>
10012
+ * <p>The number of instances.</p>
9757
10013
  * @public
9758
10014
  */
9759
- GroupNames?: string[];
10015
+ InstanceCount?: number;
9760
10016
  /**
9761
- * <p>The token returned from a previous paginated request.
9762
- * Pagination continues from the end of the items returned by the previous request.</p>
10017
+ * <p>The instance type.</p>
9763
10018
  * @public
9764
10019
  */
9765
- NextToken?: string;
10020
+ InstanceType?: string;
9766
10021
  /**
9767
- * <p>The maximum number of items to return for this request. To get the next page of items,
9768
- * make another request with the token returned in the output. This value can be between 5 and 1000.
9769
- * If this parameter is not specified, then all items are returned. For more information, see
9770
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10022
+ * <p>The network platform.</p>
9771
10023
  * @public
9772
10024
  */
9773
- MaxResults?: number;
10025
+ NetworkPlatform?: string;
9774
10026
  /**
9775
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9776
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9777
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10027
+ * <p>The time for the next schedule to start.</p>
9778
10028
  * @public
9779
10029
  */
9780
- DryRun?: boolean;
10030
+ NextSlotStartTime?: Date;
9781
10031
  /**
9782
- * <p>The filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters.</p>
9783
- * <ul>
9784
- * <li>
9785
- * <p>
9786
- * <code>description</code> - The description of the security group.</p>
9787
- * </li>
9788
- * <li>
9789
- * <p>
9790
- * <code>egress.ip-permission.cidr</code> - An IPv4 CIDR block for an outbound
9791
- * security group rule.</p>
9792
- * </li>
9793
- * <li>
9794
- * <p>
9795
- * <code>egress.ip-permission.from-port</code> - For an outbound rule, the
9796
- * start of port range for the TCP and UDP protocols, or an ICMP type
9797
- * number.</p>
9798
- * </li>
9799
- * <li>
9800
- * <p>
9801
- * <code>egress.ip-permission.group-id</code> - The ID of a security group
9802
- * that has been referenced in an outbound security group rule.</p>
9803
- * </li>
9804
- * <li>
9805
- * <p>
9806
- * <code>egress.ip-permission.group-name</code> - The name of a security group
9807
- * that is referenced in an outbound security group rule.</p>
9808
- * </li>
9809
- * <li>
9810
- * <p>
9811
- * <code>egress.ip-permission.ipv6-cidr</code> - An IPv6 CIDR block for an
9812
- * outbound security group rule.</p>
9813
- * </li>
9814
- * <li>
9815
- * <p>
9816
- * <code>egress.ip-permission.prefix-list-id</code> - The ID of a prefix list to which a security group rule allows outbound access.</p>
9817
- * </li>
9818
- * <li>
9819
- * <p>
9820
- * <code>egress.ip-permission.protocol</code> - The IP protocol for an
9821
- * outbound security group rule (<code>tcp</code> | <code>udp</code> |
9822
- * <code>icmp</code>, a protocol number, or -1 for all protocols).</p>
9823
- * </li>
9824
- * <li>
9825
- * <p>
9826
- * <code>egress.ip-permission.to-port</code> - For an outbound rule, the end
9827
- * of port range for the TCP and UDP protocols, or an ICMP code.</p>
9828
- * </li>
9829
- * <li>
9830
- * <p>
9831
- * <code>egress.ip-permission.user-id</code> - The ID of an Amazon Web Services account that
9832
- * has been referenced in an outbound security group rule.</p>
9833
- * </li>
9834
- * <li>
9835
- * <p>
9836
- * <code>group-id</code> - The ID of the security group. </p>
9837
- * </li>
9838
- * <li>
9839
- * <p>
9840
- * <code>group-name</code> - The name of the security group.</p>
9841
- * </li>
9842
- * <li>
9843
- * <p>
9844
- * <code>ip-permission.cidr</code> - An IPv4 CIDR block for an inbound security
9845
- * group rule.</p>
9846
- * </li>
9847
- * <li>
9848
- * <p>
9849
- * <code>ip-permission.from-port</code> - For an inbound rule, the start of port
9850
- * range for the TCP and UDP protocols, or an ICMP type number.</p>
9851
- * </li>
9852
- * <li>
9853
- * <p>
9854
- * <code>ip-permission.group-id</code> - The ID of a security group that has been
9855
- * referenced in an inbound security group rule.</p>
9856
- * </li>
9857
- * <li>
9858
- * <p>
9859
- * <code>ip-permission.group-name</code> - The name of a security group that is
9860
- * referenced in an inbound security group rule.</p>
9861
- * </li>
9862
- * <li>
9863
- * <p>
9864
- * <code>ip-permission.ipv6-cidr</code> - An IPv6 CIDR block for an inbound security
9865
- * group rule.</p>
9866
- * </li>
9867
- * <li>
9868
- * <p>
9869
- * <code>ip-permission.prefix-list-id</code> - The ID of a prefix list from which a security group rule allows inbound access.</p>
9870
- * </li>
9871
- * <li>
9872
- * <p>
9873
- * <code>ip-permission.protocol</code> - The IP protocol for an inbound security
9874
- * group rule (<code>tcp</code> | <code>udp</code> | <code>icmp</code>, a
9875
- * protocol number, or -1 for all protocols).</p>
9876
- * </li>
9877
- * <li>
9878
- * <p>
9879
- * <code>ip-permission.to-port</code> - For an inbound rule, the end of port range
9880
- * for the TCP and UDP protocols, or an ICMP code.</p>
9881
- * </li>
9882
- * <li>
9883
- * <p>
9884
- * <code>ip-permission.user-id</code> - The ID of an Amazon Web Services account that has been
9885
- * referenced in an inbound security group rule.</p>
9886
- * </li>
9887
- * <li>
9888
- * <p>
9889
- * <code>owner-id</code> - The Amazon Web Services account ID of the owner of the security group.</p>
9890
- * </li>
9891
- * <li>
9892
- * <p>
9893
- * <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.
9894
- * 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>
9895
- * </li>
9896
- * <li>
9897
- * <p>
9898
- * <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>
9899
- * </li>
9900
- * <li>
9901
- * <p>
9902
- * <code>vpc-id</code> - The ID of the VPC specified when the security group was created.</p>
9903
- * </li>
9904
- * </ul>
10032
+ * <p>The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
9905
10033
  * @public
9906
10034
  */
9907
- Filters?: Filter[];
10035
+ Platform?: string;
10036
+ /**
10037
+ * <p>The time that the previous schedule ended or will end.</p>
10038
+ * @public
10039
+ */
10040
+ PreviousSlotEndTime?: Date;
10041
+ /**
10042
+ * <p>The schedule recurrence.</p>
10043
+ * @public
10044
+ */
10045
+ Recurrence?: ScheduledInstanceRecurrence;
10046
+ /**
10047
+ * <p>The Scheduled Instance ID.</p>
10048
+ * @public
10049
+ */
10050
+ ScheduledInstanceId?: string;
10051
+ /**
10052
+ * <p>The number of hours in the schedule.</p>
10053
+ * @public
10054
+ */
10055
+ SlotDurationInHours?: number;
10056
+ /**
10057
+ * <p>The end date for the Scheduled Instance.</p>
10058
+ * @public
10059
+ */
10060
+ TermEndDate?: Date;
10061
+ /**
10062
+ * <p>The start date for the Scheduled Instance.</p>
10063
+ * @public
10064
+ */
10065
+ TermStartDate?: Date;
10066
+ /**
10067
+ * <p>The total number of hours for a single instance for the entire term.</p>
10068
+ * @public
10069
+ */
10070
+ TotalScheduledInstanceHours?: number;
9908
10071
  }
9909
10072
  /**
9910
- * <p>Describes a security group.</p>
10073
+ * <p>Contains the output of DescribeScheduledInstances.</p>
9911
10074
  * @public
9912
10075
  */
9913
- export interface SecurityGroup {
10076
+ export interface DescribeScheduledInstancesResult {
9914
10077
  /**
9915
- * <p>The ID of the security group.</p>
10078
+ * <p>The token required to retrieve the next set of results. This value is <code>null</code> when there are no more results to return.</p>
9916
10079
  * @public
9917
10080
  */
9918
- GroupId?: string;
10081
+ NextToken?: string;
9919
10082
  /**
9920
- * <p>The outbound rules associated with the security group.</p>
10083
+ * <p>Information about the Scheduled Instances.</p>
9921
10084
  * @public
9922
10085
  */
9923
- IpPermissionsEgress?: IpPermission[];
10086
+ ScheduledInstanceSet?: ScheduledInstance[];
10087
+ }
10088
+ /**
10089
+ * @public
10090
+ */
10091
+ export interface DescribeSecurityGroupReferencesRequest {
9924
10092
  /**
9925
- * <p>Any tags assigned to the security group.</p>
10093
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
10094
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10095
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9926
10096
  * @public
9927
10097
  */
9928
- Tags?: Tag[];
10098
+ DryRun?: boolean;
9929
10099
  /**
9930
- * <p>The ID of the VPC for the security group.</p>
10100
+ * <p>The IDs of the security groups in your account.</p>
9931
10101
  * @public
9932
10102
  */
9933
- VpcId?: string;
10103
+ GroupId: string[] | undefined;
10104
+ }
10105
+ /**
10106
+ * <p>Describes a VPC with a security group that references your security group.</p>
10107
+ * @public
10108
+ */
10109
+ export interface SecurityGroupReference {
9934
10110
  /**
9935
- * <p>The Amazon Web Services account ID of the owner of the security group.</p>
10111
+ * <p>The ID of your security group.</p>
9936
10112
  * @public
9937
10113
  */
9938
- OwnerId?: string;
10114
+ GroupId?: string;
9939
10115
  /**
9940
- * <p>The name of the security group.</p>
10116
+ * <p>The ID of the VPC with the referencing security group.</p>
9941
10117
  * @public
9942
10118
  */
9943
- GroupName?: string;
10119
+ ReferencingVpcId?: string;
9944
10120
  /**
9945
- * <p>A description of the security group.</p>
10121
+ * <p>The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see <a href="https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html">Update your security groups to reference peer security groups</a> in the <i>VPC Peering Guide</i>.</p>
9946
10122
  * @public
9947
10123
  */
9948
- Description?: string;
10124
+ VpcPeeringConnectionId?: string;
9949
10125
  /**
9950
- * <p>The inbound rules associated with the security group.</p>
10126
+ * <note>
10127
+ * <p>This parameter is in preview and may not be available for your account.</p>
10128
+ * </note>
10129
+ * <p>The ID of the transit gateway (if applicable).</p>
9951
10130
  * @public
9952
10131
  */
9953
- IpPermissions?: IpPermission[];
10132
+ TransitGatewayId?: string;
9954
10133
  }
9955
10134
  /**
9956
10135
  * @public
9957
10136
  */
9958
- export interface DescribeSecurityGroupsResult {
9959
- /**
9960
- * <p>The token to include in another request to get the next page of items.
9961
- * This value is <code>null</code> when there are no more items to return.</p>
9962
- * @public
9963
- */
9964
- NextToken?: string;
10137
+ export interface DescribeSecurityGroupReferencesResult {
9965
10138
  /**
9966
- * <p>Information about the security groups.</p>
10139
+ * <p>Information about the VPCs with the referencing security groups.</p>
9967
10140
  * @public
9968
10141
  */
9969
- SecurityGroups?: SecurityGroup[];
10142
+ SecurityGroupReferenceSet?: SecurityGroupReference[];
9970
10143
  }
9971
- /**
9972
- * @public
9973
- * @enum
9974
- */
9975
- export declare const SnapshotAttributeName: {
9976
- readonly createVolumePermission: "createVolumePermission";
9977
- readonly productCodes: "productCodes";
9978
- };
9979
- /**
9980
- * @public
9981
- */
9982
- export type SnapshotAttributeName = (typeof SnapshotAttributeName)[keyof typeof SnapshotAttributeName];
9983
10144
  /**
9984
10145
  * @public
9985
10146
  */
9986
- export interface DescribeSnapshotAttributeRequest {
10147
+ export interface DescribeSecurityGroupRulesRequest {
9987
10148
  /**
9988
- * <p>The snapshot attribute you would like to view.</p>
10149
+ * <p>One or more filters.</p>
10150
+ * <ul>
10151
+ * <li>
10152
+ * <p>
10153
+ * <code>group-id</code> - The ID of the security group.</p>
10154
+ * </li>
10155
+ * <li>
10156
+ * <p>
10157
+ * <code>security-group-rule-id</code> - The ID of the security group rule.</p>
10158
+ * </li>
10159
+ * <li>
10160
+ * <p>
10161
+ * <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.
10162
+ * 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>
10163
+ * </li>
10164
+ * </ul>
9989
10165
  * @public
9990
10166
  */
9991
- Attribute: SnapshotAttributeName | undefined;
10167
+ Filters?: Filter[];
9992
10168
  /**
9993
- * <p>The ID of the EBS snapshot.</p>
10169
+ * <p>The IDs of the security group rules.</p>
9994
10170
  * @public
9995
10171
  */
9996
- SnapshotId: string | undefined;
10172
+ SecurityGroupRuleIds?: string[];
9997
10173
  /**
9998
10174
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
9999
10175
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -10001,79 +10177,68 @@ export interface DescribeSnapshotAttributeRequest {
10001
10177
  * @public
10002
10178
  */
10003
10179
  DryRun?: boolean;
10004
- }
10005
- /**
10006
- * <p>Describes the user or group to be added or removed from the list of create volume
10007
- * permissions for a volume.</p>
10008
- * @public
10009
- */
10010
- export interface CreateVolumePermission {
10011
10180
  /**
10012
- * <p>The ID of the Amazon Web Services account to be added or removed.</p>
10181
+ * <p>The token returned from a previous paginated request.
10182
+ * Pagination continues from the end of the items returned by the previous request.</p>
10013
10183
  * @public
10014
10184
  */
10015
- UserId?: string;
10185
+ NextToken?: string;
10016
10186
  /**
10017
- * <p>The group to be added or removed. The possible value is <code>all</code>.</p>
10187
+ * <p>The maximum number of items to return for this request. To get the next page of
10188
+ * items, make another request with the token returned in the output. This value
10189
+ * can be between 5 and 1000. If this parameter is not specified, then all items are
10190
+ * returned. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10018
10191
  * @public
10019
10192
  */
10020
- Group?: PermissionGroup;
10193
+ MaxResults?: number;
10021
10194
  }
10022
10195
  /**
10023
10196
  * @public
10024
10197
  */
10025
- export interface DescribeSnapshotAttributeResult {
10026
- /**
10027
- * <p>The product codes.</p>
10028
- * @public
10029
- */
10030
- ProductCodes?: ProductCode[];
10198
+ export interface DescribeSecurityGroupRulesResult {
10031
10199
  /**
10032
- * <p>The ID of the EBS snapshot.</p>
10200
+ * <p>Information about security group rules.</p>
10033
10201
  * @public
10034
10202
  */
10035
- SnapshotId?: string;
10203
+ SecurityGroupRules?: SecurityGroupRule[];
10036
10204
  /**
10037
- * <p>The users and groups that have the permissions for creating volumes from the
10038
- * snapshot.</p>
10205
+ * <p>The token to include in another request to get the next page of items.
10206
+ * This value is <code>null</code> when there are no more items to return.</p>
10039
10207
  * @public
10040
10208
  */
10041
- CreateVolumePermissions?: CreateVolumePermission[];
10209
+ NextToken?: string;
10042
10210
  }
10043
10211
  /**
10044
10212
  * @public
10045
10213
  */
10046
- export interface DescribeSnapshotsRequest {
10047
- /**
10048
- * <p>The maximum number of items to return for this request.
10049
- * To get the next page of items, make another request with the token returned in the output.
10050
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10051
- * @public
10052
- */
10053
- MaxResults?: number;
10214
+ export interface DescribeSecurityGroupsRequest {
10054
10215
  /**
10055
- * <p>The token returned from a previous paginated request.
10056
- * Pagination continues from the end of the items returned by the previous request.</p>
10216
+ * <p>The IDs of the security groups. Required for security groups in a nondefault VPC.</p>
10217
+ * <p>Default: Describes all of your security groups.</p>
10057
10218
  * @public
10058
10219
  */
10059
- NextToken?: string;
10220
+ GroupIds?: string[];
10060
10221
  /**
10061
- * <p>Scopes the results to snapshots with the specified owners. You can specify a combination of
10062
- * Amazon Web Services account IDs, <code>self</code>, and <code>amazon</code>.</p>
10222
+ * <p>[Default VPC] The names of the security groups. You can specify either
10223
+ * the security group name or the security group ID.</p>
10224
+ * <p>Default: Describes all of your security groups.</p>
10063
10225
  * @public
10064
10226
  */
10065
- OwnerIds?: string[];
10227
+ GroupNames?: string[];
10066
10228
  /**
10067
- * <p>The IDs of the Amazon Web Services accounts that can create volumes from the snapshot.</p>
10229
+ * <p>The token returned from a previous paginated request.
10230
+ * Pagination continues from the end of the items returned by the previous request.</p>
10068
10231
  * @public
10069
10232
  */
10070
- RestorableByUserIds?: string[];
10233
+ NextToken?: string;
10071
10234
  /**
10072
- * <p>The snapshot IDs.</p>
10073
- * <p>Default: Describes the snapshots for which you have create volume permissions.</p>
10235
+ * <p>The maximum number of items to return for this request. To get the next page of items,
10236
+ * make another request with the token returned in the output. This value can be between 5 and 1000.
10237
+ * If this parameter is not specified, then all items are returned. For more information, see
10238
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10074
10239
  * @public
10075
10240
  */
10076
- SnapshotIds?: string[];
10241
+ MaxResults?: number;
10077
10242
  /**
10078
10243
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
10079
10244
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -10082,484 +10247,435 @@ export interface DescribeSnapshotsRequest {
10082
10247
  */
10083
10248
  DryRun?: boolean;
10084
10249
  /**
10085
- * <p>The filters.</p>
10250
+ * <p>The filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters.</p>
10086
10251
  * <ul>
10087
10252
  * <li>
10088
10253
  * <p>
10089
- * <code>description</code> - A description of the snapshot.</p>
10254
+ * <code>description</code> - The description of the security group.</p>
10090
10255
  * </li>
10091
10256
  * <li>
10092
10257
  * <p>
10093
- * <code>encrypted</code> - Indicates whether the snapshot is encrypted
10094
- * (<code>true</code> | <code>false</code>)</p>
10258
+ * <code>egress.ip-permission.cidr</code> - An IPv4 CIDR block for an outbound
10259
+ * security group rule.</p>
10095
10260
  * </li>
10096
10261
  * <li>
10097
10262
  * <p>
10098
- * <code>owner-alias</code> - The owner alias, from an Amazon-maintained list
10099
- * (<code>amazon</code>).
10100
- * This is not the user-configured Amazon Web Services account alias set using the IAM console.
10101
- * We recommend that you use the related parameter instead of this filter.</p>
10263
+ * <code>egress.ip-permission.from-port</code> - For an outbound rule, the
10264
+ * start of port range for the TCP and UDP protocols, or an ICMP type
10265
+ * number.</p>
10102
10266
  * </li>
10103
10267
  * <li>
10104
10268
  * <p>
10105
- * <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend that
10106
- * you use the related parameter instead of this filter.</p>
10269
+ * <code>egress.ip-permission.group-id</code> - The ID of a security group
10270
+ * that has been referenced in an outbound security group rule.</p>
10107
10271
  * </li>
10108
10272
  * <li>
10109
10273
  * <p>
10110
- * <code>progress</code> - The progress of the snapshot, as a percentage (for example,
10111
- * 80%).</p>
10274
+ * <code>egress.ip-permission.group-name</code> - The name of a security group
10275
+ * that is referenced in an outbound security group rule.</p>
10112
10276
  * </li>
10113
10277
  * <li>
10114
10278
  * <p>
10115
- * <code>snapshot-id</code> - The snapshot ID.</p>
10279
+ * <code>egress.ip-permission.ipv6-cidr</code> - An IPv6 CIDR block for an
10280
+ * outbound security group rule.</p>
10116
10281
  * </li>
10117
10282
  * <li>
10118
10283
  * <p>
10119
- * <code>start-time</code> - The time stamp when the snapshot was initiated.</p>
10284
+ * <code>egress.ip-permission.prefix-list-id</code> - The ID of a prefix list to which a security group rule allows outbound access.</p>
10120
10285
  * </li>
10121
10286
  * <li>
10122
10287
  * <p>
10123
- * <code>status</code> - The status of the snapshot (<code>pending</code> |
10124
- * <code>completed</code> | <code>error</code>).</p>
10288
+ * <code>egress.ip-permission.protocol</code> - The IP protocol for an
10289
+ * outbound security group rule (<code>tcp</code> | <code>udp</code> |
10290
+ * <code>icmp</code>, a protocol number, or -1 for all protocols).</p>
10125
10291
  * </li>
10126
10292
  * <li>
10127
10293
  * <p>
10128
- * <code>storage-tier</code> - The storage tier of the snapshot (<code>archive</code> |
10129
- * <code>standard</code>).</p>
10294
+ * <code>egress.ip-permission.to-port</code> - For an outbound rule, the end
10295
+ * of port range for the TCP and UDP protocols, or an ICMP code.</p>
10130
10296
  * </li>
10131
10297
  * <li>
10132
10298
  * <p>
10133
- * <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.
10134
- * 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>
10299
+ * <code>egress.ip-permission.user-id</code> - The ID of an Amazon Web Services account that
10300
+ * has been referenced in an outbound security group rule.</p>
10135
10301
  * </li>
10136
10302
  * <li>
10137
10303
  * <p>
10138
- * <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>
10304
+ * <code>group-id</code> - The ID of the security group. </p>
10139
10305
  * </li>
10140
10306
  * <li>
10141
10307
  * <p>
10142
- * <code>volume-id</code> - The ID of the volume the snapshot is for.</p>
10308
+ * <code>group-name</code> - The name of the security group.</p>
10143
10309
  * </li>
10144
10310
  * <li>
10145
10311
  * <p>
10146
- * <code>volume-size</code> - The size of the volume, in GiB.</p>
10312
+ * <code>ip-permission.cidr</code> - An IPv4 CIDR block for an inbound security
10313
+ * group rule.</p>
10314
+ * </li>
10315
+ * <li>
10316
+ * <p>
10317
+ * <code>ip-permission.from-port</code> - For an inbound rule, the start of port
10318
+ * range for the TCP and UDP protocols, or an ICMP type number.</p>
10319
+ * </li>
10320
+ * <li>
10321
+ * <p>
10322
+ * <code>ip-permission.group-id</code> - The ID of a security group that has been
10323
+ * referenced in an inbound security group rule.</p>
10324
+ * </li>
10325
+ * <li>
10326
+ * <p>
10327
+ * <code>ip-permission.group-name</code> - The name of a security group that is
10328
+ * referenced in an inbound security group rule.</p>
10329
+ * </li>
10330
+ * <li>
10331
+ * <p>
10332
+ * <code>ip-permission.ipv6-cidr</code> - An IPv6 CIDR block for an inbound security
10333
+ * group rule.</p>
10334
+ * </li>
10335
+ * <li>
10336
+ * <p>
10337
+ * <code>ip-permission.prefix-list-id</code> - The ID of a prefix list from which a security group rule allows inbound access.</p>
10147
10338
  * </li>
10148
- * </ul>
10149
- * @public
10150
- */
10151
- Filters?: Filter[];
10152
- }
10153
- /**
10154
- * @public
10155
- */
10156
- export interface DescribeSnapshotsResult {
10157
- /**
10158
- * <p>The token to include in another request to get the next page of items.
10159
- * This value is <code>null</code> when there are no more items to return.</p>
10160
- * @public
10161
- */
10162
- NextToken?: string;
10163
- /**
10164
- * <p>Information about the snapshots.</p>
10165
- * @public
10166
- */
10167
- Snapshots?: Snapshot[];
10168
- }
10169
- /**
10170
- * @public
10171
- */
10172
- export interface DescribeSnapshotTierStatusRequest {
10173
- /**
10174
- * <p>The filters.</p>
10175
- * <ul>
10176
10339
  * <li>
10177
10340
  * <p>
10178
- * <code>snapshot-id</code> - The snapshot ID.</p>
10341
+ * <code>ip-permission.protocol</code> - The IP protocol for an inbound security
10342
+ * group rule (<code>tcp</code> | <code>udp</code> | <code>icmp</code>, a
10343
+ * protocol number, or -1 for all protocols).</p>
10179
10344
  * </li>
10180
10345
  * <li>
10181
10346
  * <p>
10182
- * <code>volume-id</code> - The ID of the volume the snapshot is for.</p>
10347
+ * <code>ip-permission.to-port</code> - For an inbound rule, the end of port range
10348
+ * for the TCP and UDP protocols, or an ICMP code.</p>
10183
10349
  * </li>
10184
10350
  * <li>
10185
10351
  * <p>
10186
- * <code>last-tiering-operation</code> - The state of the last archive or restore action. (<code>archival-in-progress</code> | <code>archival-completed</code> |
10187
- * <code>archival-failed</code> | <code>permanent-restore-in-progress</code> | <code>permanent-restore-completed</code> | <code>permanent-restore-failed</code> |
10188
- * <code>temporary-restore-in-progress</code> | <code>temporary-restore-completed</code> | <code>temporary-restore-failed</code>)</p>
10352
+ * <code>ip-permission.user-id</code> - The ID of an Amazon Web Services account that has been
10353
+ * referenced in an inbound security group rule.</p>
10354
+ * </li>
10355
+ * <li>
10356
+ * <p>
10357
+ * <code>owner-id</code> - The Amazon Web Services account ID of the owner of the security group.</p>
10358
+ * </li>
10359
+ * <li>
10360
+ * <p>
10361
+ * <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.
10362
+ * 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>
10363
+ * </li>
10364
+ * <li>
10365
+ * <p>
10366
+ * <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>
10367
+ * </li>
10368
+ * <li>
10369
+ * <p>
10370
+ * <code>vpc-id</code> - The ID of the VPC specified when the security group was created.</p>
10189
10371
  * </li>
10190
10372
  * </ul>
10191
10373
  * @public
10192
10374
  */
10193
10375
  Filters?: Filter[];
10194
- /**
10195
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10196
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10197
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10198
- * @public
10199
- */
10200
- DryRun?: boolean;
10201
- /**
10202
- * <p>The token returned from a previous paginated request.
10203
- * Pagination continues from the end of the items returned by the previous request.</p>
10204
- * @public
10205
- */
10206
- NextToken?: string;
10207
- /**
10208
- * <p>The maximum number of items to return for this request.
10209
- * To get the next page of items, make another request with the token returned in the output.
10210
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10211
- * @public
10212
- */
10213
- MaxResults?: number;
10214
10376
  }
10215
10377
  /**
10216
- * @public
10217
- * @enum
10218
- */
10219
- export declare const TieringOperationStatus: {
10220
- readonly archival_completed: "archival-completed";
10221
- readonly archival_failed: "archival-failed";
10222
- readonly archival_in_progress: "archival-in-progress";
10223
- readonly permanent_restore_completed: "permanent-restore-completed";
10224
- readonly permanent_restore_failed: "permanent-restore-failed";
10225
- readonly permanent_restore_in_progress: "permanent-restore-in-progress";
10226
- readonly temporary_restore_completed: "temporary-restore-completed";
10227
- readonly temporary_restore_failed: "temporary-restore-failed";
10228
- readonly temporary_restore_in_progress: "temporary-restore-in-progress";
10229
- };
10230
- /**
10231
- * @public
10232
- */
10233
- export type TieringOperationStatus = (typeof TieringOperationStatus)[keyof typeof TieringOperationStatus];
10234
- /**
10235
- * <p>Provides information about a snapshot's storage tier.</p>
10378
+ * <p>Describes a security group.</p>
10236
10379
  * @public
10237
10380
  */
10238
- export interface SnapshotTierStatus {
10239
- /**
10240
- * <p>The ID of the snapshot.</p>
10241
- * @public
10242
- */
10243
- SnapshotId?: string;
10244
- /**
10245
- * <p>The ID of the volume from which the snapshot was created.</p>
10246
- * @public
10247
- */
10248
- VolumeId?: string;
10381
+ export interface SecurityGroup {
10249
10382
  /**
10250
- * <p>The state of the snapshot.</p>
10383
+ * <p>The ID of the security group.</p>
10251
10384
  * @public
10252
10385
  */
10253
- Status?: SnapshotState;
10386
+ GroupId?: string;
10254
10387
  /**
10255
- * <p>The ID of the Amazon Web Services account that owns the snapshot.</p>
10388
+ * <p>The outbound rules associated with the security group.</p>
10256
10389
  * @public
10257
10390
  */
10258
- OwnerId?: string;
10391
+ IpPermissionsEgress?: IpPermission[];
10259
10392
  /**
10260
- * <p>The tags that are assigned to the snapshot.</p>
10393
+ * <p>Any tags assigned to the security group.</p>
10261
10394
  * @public
10262
10395
  */
10263
10396
  Tags?: Tag[];
10264
10397
  /**
10265
- * <p>The storage tier in which the snapshot is stored. <code>standard</code> indicates
10266
- * that the snapshot is stored in the standard snapshot storage tier and that it is ready
10267
- * for use. <code>archive</code> indicates that the snapshot is currently archived and that
10268
- * it must be restored before it can be used.</p>
10269
- * @public
10270
- */
10271
- StorageTier?: StorageTier;
10272
- /**
10273
- * <p>The date and time when the last archive or restore process was started.</p>
10274
- * @public
10275
- */
10276
- LastTieringStartTime?: Date;
10277
- /**
10278
- * <p>The progress of the last archive or restore process, as a percentage.</p>
10398
+ * <p>The ID of the VPC for the security group.</p>
10279
10399
  * @public
10280
10400
  */
10281
- LastTieringProgress?: number;
10401
+ VpcId?: string;
10282
10402
  /**
10283
- * <p>The status of the last archive or restore process.</p>
10403
+ * <p>The Amazon Web Services account ID of the owner of the security group.</p>
10284
10404
  * @public
10285
10405
  */
10286
- LastTieringOperationStatus?: TieringOperationStatus;
10406
+ OwnerId?: string;
10287
10407
  /**
10288
- * <p>A message describing the status of the last archive or restore process.</p>
10408
+ * <p>The name of the security group.</p>
10289
10409
  * @public
10290
10410
  */
10291
- LastTieringOperationStatusDetail?: string;
10411
+ GroupName?: string;
10292
10412
  /**
10293
- * <p>The date and time when the last archive process was completed.</p>
10413
+ * <p>A description of the security group.</p>
10294
10414
  * @public
10295
10415
  */
10296
- ArchivalCompleteTime?: Date;
10416
+ Description?: string;
10297
10417
  /**
10298
- * <p>Only for archived snapshots that are temporarily restored. Indicates the date and
10299
- * time when a temporarily restored snapshot will be automatically re-archived.</p>
10418
+ * <p>The inbound rules associated with the security group.</p>
10300
10419
  * @public
10301
10420
  */
10302
- RestoreExpiryTime?: Date;
10421
+ IpPermissions?: IpPermission[];
10303
10422
  }
10304
10423
  /**
10305
10424
  * @public
10306
10425
  */
10307
- export interface DescribeSnapshotTierStatusResult {
10426
+ export interface DescribeSecurityGroupsResult {
10308
10427
  /**
10309
- * <p>Information about the snapshot's storage tier.</p>
10428
+ * <p>The token to include in another request to get the next page of items.
10429
+ * This value is <code>null</code> when there are no more items to return.</p>
10310
10430
  * @public
10311
10431
  */
10312
- SnapshotTierStatuses?: SnapshotTierStatus[];
10432
+ NextToken?: string;
10313
10433
  /**
10314
- * <p>The token to include in another request to get the next page of items.
10315
- * This value is <code>null</code> when there are no more items to return.</p>
10434
+ * <p>Information about the security groups.</p>
10316
10435
  * @public
10317
10436
  */
10318
- NextToken?: string;
10437
+ SecurityGroups?: SecurityGroup[];
10319
10438
  }
10320
10439
  /**
10321
- * <p>Contains the parameters for DescribeSpotDatafeedSubscription.</p>
10322
10440
  * @public
10441
+ * @enum
10323
10442
  */
10324
- export interface DescribeSpotDatafeedSubscriptionRequest {
10325
- /**
10326
- * <p>Checks whether you have the required permissions for the action, without actually
10327
- * making the request, and provides an error response. If you have the required
10328
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10329
- * <code>UnauthorizedOperation</code>.</p>
10330
- * @public
10331
- */
10332
- DryRun?: boolean;
10333
- }
10443
+ export declare const SnapshotAttributeName: {
10444
+ readonly createVolumePermission: "createVolumePermission";
10445
+ readonly productCodes: "productCodes";
10446
+ };
10334
10447
  /**
10335
- * <p>Contains the output of DescribeSpotDatafeedSubscription.</p>
10336
10448
  * @public
10337
10449
  */
10338
- export interface DescribeSpotDatafeedSubscriptionResult {
10339
- /**
10340
- * <p>The Spot Instance data feed subscription.</p>
10341
- * @public
10342
- */
10343
- SpotDatafeedSubscription?: SpotDatafeedSubscription;
10344
- }
10450
+ export type SnapshotAttributeName = (typeof SnapshotAttributeName)[keyof typeof SnapshotAttributeName];
10345
10451
  /**
10346
- * <p>Contains the parameters for DescribeSpotFleetInstances.</p>
10347
10452
  * @public
10348
10453
  */
10349
- export interface DescribeSpotFleetInstancesRequest {
10454
+ export interface DescribeSnapshotAttributeRequest {
10350
10455
  /**
10351
- * <p>Checks whether you have the required permissions for the action, without actually
10352
- * making the request, and provides an error response. If you have the required
10353
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10354
- * <code>UnauthorizedOperation</code>.</p>
10456
+ * <p>The snapshot attribute you would like to view.</p>
10355
10457
  * @public
10356
10458
  */
10357
- DryRun?: boolean;
10459
+ Attribute: SnapshotAttributeName | undefined;
10358
10460
  /**
10359
- * <p>The ID of the Spot Fleet request.</p>
10461
+ * <p>The ID of the EBS snapshot.</p>
10360
10462
  * @public
10361
10463
  */
10362
- SpotFleetRequestId: string | undefined;
10464
+ SnapshotId: string | undefined;
10363
10465
  /**
10364
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10365
- * are no more items to return.</p>
10466
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
10467
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10468
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10366
10469
  * @public
10367
10470
  */
10368
- NextToken?: string;
10471
+ DryRun?: boolean;
10472
+ }
10473
+ /**
10474
+ * <p>Describes the user or group to be added or removed from the list of create volume
10475
+ * permissions for a volume.</p>
10476
+ * @public
10477
+ */
10478
+ export interface CreateVolumePermission {
10369
10479
  /**
10370
- * <p>The maximum number of items to return for this request.
10371
- * To get the next page of items, make another request with the token returned in the output.
10372
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10480
+ * <p>The ID of the Amazon Web Services account to be added or removed.</p>
10373
10481
  * @public
10374
10482
  */
10375
- MaxResults?: number;
10483
+ UserId?: string;
10484
+ /**
10485
+ * <p>The group to be added or removed. The possible value is <code>all</code>.</p>
10486
+ * @public
10487
+ */
10488
+ Group?: PermissionGroup;
10376
10489
  }
10377
10490
  /**
10378
- * <p>Contains the output of DescribeSpotFleetInstances.</p>
10379
10491
  * @public
10380
10492
  */
10381
- export interface DescribeSpotFleetInstancesResponse {
10493
+ export interface DescribeSnapshotAttributeResult {
10382
10494
  /**
10383
- * <p>The running instances. This list is refreshed periodically and might be out of
10384
- * date.</p>
10495
+ * <p>The product codes.</p>
10385
10496
  * @public
10386
10497
  */
10387
- ActiveInstances?: ActiveInstance[];
10498
+ ProductCodes?: ProductCode[];
10388
10499
  /**
10389
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10390
- * are no more items to return.</p>
10500
+ * <p>The ID of the EBS snapshot.</p>
10391
10501
  * @public
10392
10502
  */
10393
- NextToken?: string;
10503
+ SnapshotId?: string;
10394
10504
  /**
10395
- * <p>The ID of the Spot Fleet request.</p>
10505
+ * <p>The users and groups that have the permissions for creating volumes from the
10506
+ * snapshot.</p>
10396
10507
  * @public
10397
10508
  */
10398
- SpotFleetRequestId?: string;
10509
+ CreateVolumePermissions?: CreateVolumePermission[];
10399
10510
  }
10400
- /**
10401
- * @public
10402
- * @enum
10403
- */
10404
- export declare const EventType: {
10405
- readonly BATCH_CHANGE: "fleetRequestChange";
10406
- readonly ERROR: "error";
10407
- readonly INFORMATION: "information";
10408
- readonly INSTANCE_CHANGE: "instanceChange";
10409
- };
10410
10511
  /**
10411
10512
  * @public
10412
10513
  */
10413
- export type EventType = (typeof EventType)[keyof typeof EventType];
10414
- /**
10415
- * <p>Contains the parameters for DescribeSpotFleetRequestHistory.</p>
10416
- * @public
10417
- */
10418
- export interface DescribeSpotFleetRequestHistoryRequest {
10419
- /**
10420
- * <p>Checks whether you have the required permissions for the action, without actually
10421
- * making the request, and provides an error response. If you have the required
10422
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10423
- * <code>UnauthorizedOperation</code>.</p>
10424
- * @public
10425
- */
10426
- DryRun?: boolean;
10514
+ export interface DescribeSnapshotsRequest {
10427
10515
  /**
10428
- * <p>The ID of the Spot Fleet request.</p>
10516
+ * <p>The maximum number of items to return for this request.
10517
+ * To get the next page of items, make another request with the token returned in the output.
10518
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10429
10519
  * @public
10430
10520
  */
10431
- SpotFleetRequestId: string | undefined;
10521
+ MaxResults?: number;
10432
10522
  /**
10433
- * <p>The type of events to describe. By default, all events are described.</p>
10523
+ * <p>The token returned from a previous paginated request.
10524
+ * Pagination continues from the end of the items returned by the previous request.</p>
10434
10525
  * @public
10435
10526
  */
10436
- EventType?: EventType;
10527
+ NextToken?: string;
10437
10528
  /**
10438
- * <p>The starting date and time for the events, in UTC format (for example,
10439
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10529
+ * <p>Scopes the results to snapshots with the specified owners. You can specify a combination of
10530
+ * Amazon Web Services account IDs, <code>self</code>, and <code>amazon</code>.</p>
10440
10531
  * @public
10441
10532
  */
10442
- StartTime: Date | undefined;
10533
+ OwnerIds?: string[];
10443
10534
  /**
10444
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10445
- * are no more items to return.</p>
10535
+ * <p>The IDs of the Amazon Web Services accounts that can create volumes from the snapshot.</p>
10446
10536
  * @public
10447
10537
  */
10448
- NextToken?: string;
10538
+ RestorableByUserIds?: string[];
10449
10539
  /**
10450
- * <p>The maximum number of items to return for this request.
10451
- * To get the next page of items, make another request with the token returned in the output.
10452
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10540
+ * <p>The snapshot IDs.</p>
10541
+ * <p>Default: Describes the snapshots for which you have create volume permissions.</p>
10453
10542
  * @public
10454
10543
  */
10455
- MaxResults?: number;
10456
- }
10457
- /**
10458
- * <p>Describes an event in the history of the Spot Fleet request.</p>
10459
- * @public
10460
- */
10461
- export interface HistoryRecord {
10544
+ SnapshotIds?: string[];
10462
10545
  /**
10463
- * <p>Information about the event.</p>
10546
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
10547
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10548
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10464
10549
  * @public
10465
10550
  */
10466
- EventInformation?: EventInformation;
10551
+ DryRun?: boolean;
10467
10552
  /**
10468
- * <p>The event type.</p>
10553
+ * <p>The filters.</p>
10469
10554
  * <ul>
10470
10555
  * <li>
10471
10556
  * <p>
10472
- * <code>error</code> - An error with the Spot Fleet request.</p>
10557
+ * <code>description</code> - A description of the snapshot.</p>
10473
10558
  * </li>
10474
10559
  * <li>
10475
10560
  * <p>
10476
- * <code>fleetRequestChange</code> - A change in the status or configuration of
10477
- * the Spot Fleet request.</p>
10561
+ * <code>encrypted</code> - Indicates whether the snapshot is encrypted
10562
+ * (<code>true</code> | <code>false</code>)</p>
10478
10563
  * </li>
10479
10564
  * <li>
10480
10565
  * <p>
10481
- * <code>instanceChange</code> - An instance was launched or terminated.</p>
10566
+ * <code>owner-alias</code> - The owner alias, from an Amazon-maintained list
10567
+ * (<code>amazon</code>).
10568
+ * This is not the user-configured Amazon Web Services account alias set using the IAM console.
10569
+ * We recommend that you use the related parameter instead of this filter.</p>
10482
10570
  * </li>
10483
10571
  * <li>
10484
10572
  * <p>
10485
- * <code>Information</code> - An informational event.</p>
10573
+ * <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend that
10574
+ * you use the related parameter instead of this filter.</p>
10575
+ * </li>
10576
+ * <li>
10577
+ * <p>
10578
+ * <code>progress</code> - The progress of the snapshot, as a percentage (for example,
10579
+ * 80%).</p>
10580
+ * </li>
10581
+ * <li>
10582
+ * <p>
10583
+ * <code>snapshot-id</code> - The snapshot ID.</p>
10584
+ * </li>
10585
+ * <li>
10586
+ * <p>
10587
+ * <code>start-time</code> - The time stamp when the snapshot was initiated.</p>
10588
+ * </li>
10589
+ * <li>
10590
+ * <p>
10591
+ * <code>status</code> - The status of the snapshot (<code>pending</code> |
10592
+ * <code>completed</code> | <code>error</code>).</p>
10593
+ * </li>
10594
+ * <li>
10595
+ * <p>
10596
+ * <code>storage-tier</code> - The storage tier of the snapshot (<code>archive</code> |
10597
+ * <code>standard</code>).</p>
10598
+ * </li>
10599
+ * <li>
10600
+ * <p>
10601
+ * <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.
10602
+ * 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>
10603
+ * </li>
10604
+ * <li>
10605
+ * <p>
10606
+ * <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>
10607
+ * </li>
10608
+ * <li>
10609
+ * <p>
10610
+ * <code>volume-id</code> - The ID of the volume the snapshot is for.</p>
10611
+ * </li>
10612
+ * <li>
10613
+ * <p>
10614
+ * <code>volume-size</code> - The size of the volume, in GiB.</p>
10486
10615
  * </li>
10487
10616
  * </ul>
10488
10617
  * @public
10489
10618
  */
10490
- EventType?: EventType;
10491
- /**
10492
- * <p>The date and time of the event, in UTC format (for example,
10493
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10494
- * @public
10495
- */
10496
- Timestamp?: Date;
10619
+ Filters?: Filter[];
10497
10620
  }
10498
10621
  /**
10499
- * <p>Contains the output of DescribeSpotFleetRequestHistory.</p>
10500
10622
  * @public
10501
10623
  */
10502
- export interface DescribeSpotFleetRequestHistoryResponse {
10503
- /**
10504
- * <p>Information about the events in the history of the Spot Fleet request.</p>
10505
- * @public
10506
- */
10507
- HistoryRecords?: HistoryRecord[];
10508
- /**
10509
- * <p>The last date and time for the events, in UTC format (for example,
10510
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
10511
- * All records up to this time were retrieved.</p>
10512
- * <p>If <code>nextToken</code> indicates that there are more items, this value is not
10513
- * present.</p>
10514
- * @public
10515
- */
10516
- LastEvaluatedTime?: Date;
10624
+ export interface DescribeSnapshotsResult {
10517
10625
  /**
10518
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10519
- * are no more items to return.</p>
10626
+ * <p>The token to include in another request to get the next page of items.
10627
+ * This value is <code>null</code> when there are no more items to return.</p>
10520
10628
  * @public
10521
10629
  */
10522
10630
  NextToken?: string;
10523
10631
  /**
10524
- * <p>The ID of the Spot Fleet request.</p>
10525
- * @public
10526
- */
10527
- SpotFleetRequestId?: string;
10528
- /**
10529
- * <p>The starting date and time for the events, in UTC format (for example,
10530
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10632
+ * <p>Information about the snapshots.</p>
10531
10633
  * @public
10532
10634
  */
10533
- StartTime?: Date;
10635
+ Snapshots?: Snapshot[];
10534
10636
  }
10535
10637
  /**
10536
- * <p>Contains the parameters for DescribeSpotFleetRequests.</p>
10537
10638
  * @public
10538
10639
  */
10539
- export interface DescribeSpotFleetRequestsRequest {
10640
+ export interface DescribeSnapshotTierStatusRequest {
10540
10641
  /**
10541
- * <p>Checks whether you have the required permissions for the action, without actually
10542
- * making the request, and provides an error response. If you have the required
10543
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10544
- * <code>UnauthorizedOperation</code>.</p>
10642
+ * <p>The filters.</p>
10643
+ * <ul>
10644
+ * <li>
10645
+ * <p>
10646
+ * <code>snapshot-id</code> - The snapshot ID.</p>
10647
+ * </li>
10648
+ * <li>
10649
+ * <p>
10650
+ * <code>volume-id</code> - The ID of the volume the snapshot is for.</p>
10651
+ * </li>
10652
+ * <li>
10653
+ * <p>
10654
+ * <code>last-tiering-operation</code> - The state of the last archive or restore action. (<code>archival-in-progress</code> | <code>archival-completed</code> |
10655
+ * <code>archival-failed</code> | <code>permanent-restore-in-progress</code> | <code>permanent-restore-completed</code> | <code>permanent-restore-failed</code> |
10656
+ * <code>temporary-restore-in-progress</code> | <code>temporary-restore-completed</code> | <code>temporary-restore-failed</code>)</p>
10657
+ * </li>
10658
+ * </ul>
10545
10659
  * @public
10546
10660
  */
10547
- DryRun?: boolean;
10661
+ Filters?: Filter[];
10548
10662
  /**
10549
- * <p>The IDs of the Spot Fleet requests.</p>
10663
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
10664
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10665
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10550
10666
  * @public
10551
10667
  */
10552
- SpotFleetRequestIds?: string[];
10668
+ DryRun?: boolean;
10553
10669
  /**
10554
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10555
- * are no more items to return.</p>
10670
+ * <p>The token returned from a previous paginated request.
10671
+ * Pagination continues from the end of the items returned by the previous request.</p>
10556
10672
  * @public
10557
10673
  */
10558
10674
  NextToken?: string;
10559
10675
  /**
10560
10676
  * <p>The maximum number of items to return for this request.
10561
- * To get the next page of items, make another request with the token returned in the output.
10562
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10677
+ * To get the next page of items, make another request with the token returned in the output.
10678
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10563
10679
  * @public
10564
10680
  */
10565
10681
  MaxResults?: number;
@@ -10568,506 +10684,378 @@ export interface DescribeSpotFleetRequestsRequest {
10568
10684
  * @public
10569
10685
  * @enum
10570
10686
  */
10571
- export declare const ExcessCapacityTerminationPolicy: {
10572
- readonly DEFAULT: "default";
10573
- readonly NO_TERMINATION: "noTermination";
10687
+ export declare const TieringOperationStatus: {
10688
+ readonly archival_completed: "archival-completed";
10689
+ readonly archival_failed: "archival-failed";
10690
+ readonly archival_in_progress: "archival-in-progress";
10691
+ readonly permanent_restore_completed: "permanent-restore-completed";
10692
+ readonly permanent_restore_failed: "permanent-restore-failed";
10693
+ readonly permanent_restore_in_progress: "permanent-restore-in-progress";
10694
+ readonly temporary_restore_completed: "temporary-restore-completed";
10695
+ readonly temporary_restore_failed: "temporary-restore-failed";
10696
+ readonly temporary_restore_in_progress: "temporary-restore-in-progress";
10574
10697
  };
10575
10698
  /**
10576
10699
  * @public
10577
10700
  */
10578
- export type ExcessCapacityTerminationPolicy = (typeof ExcessCapacityTerminationPolicy)[keyof typeof ExcessCapacityTerminationPolicy];
10579
- /**
10580
- * <p>Describes whether monitoring is enabled.</p>
10581
- * @public
10582
- */
10583
- export interface SpotFleetMonitoring {
10584
- /**
10585
- * <p>Enables monitoring for the instance.</p>
10586
- * <p>Default: <code>false</code>
10587
- * </p>
10588
- * @public
10589
- */
10590
- Enabled?: boolean;
10591
- }
10701
+ export type TieringOperationStatus = (typeof TieringOperationStatus)[keyof typeof TieringOperationStatus];
10592
10702
  /**
10593
- * <p>Describes a network interface.</p>
10703
+ * <p>Provides information about a snapshot's storage tier.</p>
10594
10704
  * @public
10595
10705
  */
10596
- export interface InstanceNetworkInterfaceSpecification {
10597
- /**
10598
- * <p>Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The
10599
- * public IP address can only be assigned to a network interface for eth0, and can only be
10600
- * assigned to a new network interface, not an existing one. You cannot specify more than one
10601
- * network interface in the request. If launching into a default subnet, the default value is
10602
- * <code>true</code>.</p>
10603
- * <p>Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses
10604
- * associated with running instances and Elastic IP addresses. For more information, see the <i>Public IPv4 Address</i> tab on the <a href="http://aws.amazon.com/vpc/pricing/">Amazon VPC pricing page</a>.</p>
10605
- * @public
10606
- */
10607
- AssociatePublicIpAddress?: boolean;
10608
- /**
10609
- * <p>If set to <code>true</code>, the interface is deleted when the instance is terminated. You can
10610
- * specify <code>true</code> only if creating a new network interface when launching an
10611
- * instance.</p>
10612
- * @public
10613
- */
10614
- DeleteOnTermination?: boolean;
10615
- /**
10616
- * <p>The description of the network interface. Applies only if creating a network interface when launching an instance.</p>
10617
- * @public
10618
- */
10619
- Description?: string;
10620
- /**
10621
- * <p>The position of the network interface in the attachment order.
10622
- * A primary network interface has a device index of 0.</p>
10623
- * <p>If you specify a network interface when launching an instance,
10624
- * you must specify the device index.</p>
10625
- * @public
10626
- */
10627
- DeviceIndex?: number;
10628
- /**
10629
- * <p>The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.</p>
10630
- * @public
10631
- */
10632
- Groups?: string[];
10633
- /**
10634
- * <p>A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses
10635
- * the IPv6 addresses from the range of the subnet. You cannot specify this option and the
10636
- * option to assign specific IPv6 addresses in the same request. You can specify this
10637
- * option if you've specified a minimum number of instances to launch.</p>
10638
- * @public
10639
- */
10640
- Ipv6AddressCount?: number;
10641
- /**
10642
- * <p>The IPv6 addresses to assign to the network interface. You cannot specify
10643
- * this option and the option to assign a number of IPv6 addresses in the same request. You
10644
- * cannot specify this option if you've specified a minimum number of instances to
10645
- * launch.</p>
10646
- * @public
10647
- */
10648
- Ipv6Addresses?: InstanceIpv6Address[];
10649
- /**
10650
- * <p>The ID of the network interface.</p>
10651
- * <p>If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.</p>
10652
- * @public
10653
- */
10654
- NetworkInterfaceId?: string;
10655
- /**
10656
- * <p>The private IPv4 address of the network interface. Applies only if creating a network interface when launching an instance. You cannot specify this option if you're launching
10657
- * more than one instance in a <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a> request.</p>
10658
- * @public
10659
- */
10660
- PrivateIpAddress?: string;
10661
- /**
10662
- * <p>The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're
10663
- * launching more than one instance in a <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a> request.</p>
10664
- * @public
10665
- */
10666
- PrivateIpAddresses?: PrivateIpAddressSpecification[];
10706
+ export interface SnapshotTierStatus {
10667
10707
  /**
10668
- * <p>The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're
10669
- * launching more than one instance in a <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a> request.</p>
10708
+ * <p>The ID of the snapshot.</p>
10670
10709
  * @public
10671
10710
  */
10672
- SecondaryPrivateIpAddressCount?: number;
10711
+ SnapshotId?: string;
10673
10712
  /**
10674
- * <p>The ID of the subnet associated with the network interface. Applies only if creating a network interface when launching an instance.</p>
10713
+ * <p>The ID of the volume from which the snapshot was created.</p>
10675
10714
  * @public
10676
10715
  */
10677
- SubnetId?: string;
10716
+ VolumeId?: string;
10678
10717
  /**
10679
- * <p>Indicates whether to assign a carrier IP address to the network interface.</p>
10680
- * <p>You can only assign a carrier IP address to a network interface that is in a subnet in
10681
- * a Wavelength Zone. For more information about carrier IP addresses, see <a href="https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip">Carrier IP address</a> in the <i>Amazon Web Services Wavelength Developer
10682
- * Guide</i>.</p>
10718
+ * <p>The state of the snapshot.</p>
10683
10719
  * @public
10684
10720
  */
10685
- AssociateCarrierIpAddress?: boolean;
10721
+ Status?: SnapshotState;
10686
10722
  /**
10687
- * <p>The type of network interface.</p>
10688
- * <p>Valid values: <code>interface</code> | <code>efa</code>
10689
- * </p>
10723
+ * <p>The ID of the Amazon Web Services account that owns the snapshot.</p>
10690
10724
  * @public
10691
10725
  */
10692
- InterfaceType?: string;
10726
+ OwnerId?: string;
10693
10727
  /**
10694
- * <p>The index of the network card. Some instance types support multiple network cards.
10695
- * The primary network interface must be assigned to network card index 0.
10696
- * The default is network card index 0.</p>
10697
- * <p>If you are using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">RequestSpotInstances</a> to create Spot Instances, omit this parameter because
10698
- * you can’t specify the network card index when using this API. To specify the network
10699
- * card index, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
10728
+ * <p>The tags that are assigned to the snapshot.</p>
10700
10729
  * @public
10701
10730
  */
10702
- NetworkCardIndex?: number;
10731
+ Tags?: Tag[];
10703
10732
  /**
10704
- * <p>The IPv4 delegated prefixes to be assigned to the network interface. You cannot
10705
- * use this option if you use the <code>Ipv4PrefixCount</code> option.</p>
10733
+ * <p>The storage tier in which the snapshot is stored. <code>standard</code> indicates
10734
+ * that the snapshot is stored in the standard snapshot storage tier and that it is ready
10735
+ * for use. <code>archive</code> indicates that the snapshot is currently archived and that
10736
+ * it must be restored before it can be used.</p>
10706
10737
  * @public
10707
10738
  */
10708
- Ipv4Prefixes?: Ipv4PrefixSpecificationRequest[];
10739
+ StorageTier?: StorageTier;
10709
10740
  /**
10710
- * <p>The number of IPv4 delegated prefixes to be automatically assigned to the network interface.
10711
- * You cannot use this option if you use the <code>Ipv4Prefix</code> option.</p>
10741
+ * <p>The date and time when the last archive or restore process was started.</p>
10712
10742
  * @public
10713
10743
  */
10714
- Ipv4PrefixCount?: number;
10744
+ LastTieringStartTime?: Date;
10715
10745
  /**
10716
- * <p>The IPv6 delegated prefixes to be assigned to the network interface. You cannot
10717
- * use this option if you use the <code>Ipv6PrefixCount</code> option.</p>
10746
+ * <p>The progress of the last archive or restore process, as a percentage.</p>
10718
10747
  * @public
10719
10748
  */
10720
- Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
10749
+ LastTieringProgress?: number;
10721
10750
  /**
10722
- * <p>The number of IPv6 delegated prefixes to be automatically assigned to the network interface.
10723
- * You cannot use this option if you use the <code>Ipv6Prefix</code> option.</p>
10751
+ * <p>The status of the last archive or restore process.</p>
10724
10752
  * @public
10725
10753
  */
10726
- Ipv6PrefixCount?: number;
10754
+ LastTieringOperationStatus?: TieringOperationStatus;
10727
10755
  /**
10728
- * <p>The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
10756
+ * <p>A message describing the status of the last archive or restore process.</p>
10729
10757
  * @public
10730
10758
  */
10731
- PrimaryIpv6?: boolean;
10759
+ LastTieringOperationStatusDetail?: string;
10732
10760
  /**
10733
- * <p>Specifies the ENA Express settings for the network interface that's attached to
10734
- * the instance.</p>
10761
+ * <p>The date and time when the last archive process was completed.</p>
10735
10762
  * @public
10736
10763
  */
10737
- EnaSrdSpecification?: EnaSrdSpecificationRequest;
10764
+ ArchivalCompleteTime?: Date;
10738
10765
  /**
10739
- * <p>A security group connection tracking specification that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the <i>Amazon EC2 User Guide</i>.</p>
10766
+ * <p>Only for archived snapshots that are temporarily restored. Indicates the date and
10767
+ * time when a temporarily restored snapshot will be automatically re-archived.</p>
10740
10768
  * @public
10741
10769
  */
10742
- ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest;
10770
+ RestoreExpiryTime?: Date;
10743
10771
  }
10744
10772
  /**
10745
- * <p>Describes Spot Instance placement.</p>
10746
10773
  * @public
10747
10774
  */
10748
- export interface SpotPlacement {
10749
- /**
10750
- * <p>The Availability Zone.</p>
10751
- * <p>[Spot Fleet only] To specify multiple Availability Zones, separate them using commas;
10752
- * for example, "us-west-2a, us-west-2b".</p>
10753
- * @public
10754
- */
10755
- AvailabilityZone?: string;
10775
+ export interface DescribeSnapshotTierStatusResult {
10756
10776
  /**
10757
- * <p>The name of the placement group.</p>
10777
+ * <p>Information about the snapshot's storage tier.</p>
10758
10778
  * @public
10759
10779
  */
10760
- GroupName?: string;
10780
+ SnapshotTierStatuses?: SnapshotTierStatus[];
10761
10781
  /**
10762
- * <p>The tenancy of the instance (if the instance is running in a VPC). An instance with a
10763
- * tenancy of <code>dedicated</code> runs on single-tenant hardware. The <code>host</code>
10764
- * tenancy is not supported for Spot Instances.</p>
10782
+ * <p>The token to include in another request to get the next page of items.
10783
+ * This value is <code>null</code> when there are no more items to return.</p>
10765
10784
  * @public
10766
10785
  */
10767
- Tenancy?: Tenancy;
10786
+ NextToken?: string;
10768
10787
  }
10769
10788
  /**
10770
- * <p>The tags for a Spot Fleet resource.</p>
10789
+ * <p>Contains the parameters for DescribeSpotDatafeedSubscription.</p>
10771
10790
  * @public
10772
10791
  */
10773
- export interface SpotFleetTagSpecification {
10774
- /**
10775
- * <p>The type of resource. Currently, the only resource type that is supported is
10776
- * <code>instance</code>. To tag the Spot Fleet request on creation, use the
10777
- * <code>TagSpecifications</code> parameter in <code>
10778
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html">SpotFleetRequestConfigData</a>
10779
- * </code>.</p>
10780
- * @public
10781
- */
10782
- ResourceType?: ResourceType;
10792
+ export interface DescribeSpotDatafeedSubscriptionRequest {
10783
10793
  /**
10784
- * <p>The tags.</p>
10794
+ * <p>Checks whether you have the required permissions for the action, without actually
10795
+ * making the request, and provides an error response. If you have the required
10796
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10797
+ * <code>UnauthorizedOperation</code>.</p>
10785
10798
  * @public
10786
10799
  */
10787
- Tags?: Tag[];
10800
+ DryRun?: boolean;
10788
10801
  }
10789
10802
  /**
10790
- * <p>Describes the launch specification for one or more Spot Instances. If you include
10791
- * On-Demand capacity in your fleet request or want to specify an EFA network device, you
10792
- * can't use <code>SpotFleetLaunchSpecification</code>; you must use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html">LaunchTemplateConfig</a>.</p>
10803
+ * <p>Contains the output of DescribeSpotDatafeedSubscription.</p>
10793
10804
  * @public
10794
10805
  */
10795
- export interface SpotFleetLaunchSpecification {
10796
- /**
10797
- * <p>Deprecated.</p>
10798
- * @public
10799
- */
10800
- AddressingType?: string;
10801
- /**
10802
- * <p>One or more block devices that are mapped to the Spot Instances. You can't specify both
10803
- * a snapshot ID and an encryption value. This is because only blank volumes can be
10804
- * encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its
10805
- * encryption status is used for the volume encryption status.</p>
10806
- * @public
10807
- */
10808
- BlockDeviceMappings?: BlockDeviceMapping[];
10806
+ export interface DescribeSpotDatafeedSubscriptionResult {
10809
10807
  /**
10810
- * <p>Indicates whether the instances are 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>
10811
- * <p>Default: <code>false</code>
10812
- * </p>
10808
+ * <p>The Spot Instance data feed subscription.</p>
10813
10809
  * @public
10814
10810
  */
10815
- EbsOptimized?: boolean;
10811
+ SpotDatafeedSubscription?: SpotDatafeedSubscription;
10812
+ }
10813
+ /**
10814
+ * <p>Contains the parameters for DescribeSpotFleetInstances.</p>
10815
+ * @public
10816
+ */
10817
+ export interface DescribeSpotFleetInstancesRequest {
10816
10818
  /**
10817
- * <p>The IAM instance profile.</p>
10819
+ * <p>Checks whether you have the required permissions for the action, without actually
10820
+ * making the request, and provides an error response. If you have the required
10821
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10822
+ * <code>UnauthorizedOperation</code>.</p>
10818
10823
  * @public
10819
10824
  */
10820
- IamInstanceProfile?: IamInstanceProfileSpecification;
10825
+ DryRun?: boolean;
10821
10826
  /**
10822
- * <p>The ID of the AMI.</p>
10827
+ * <p>The ID of the Spot Fleet request.</p>
10823
10828
  * @public
10824
10829
  */
10825
- ImageId?: string;
10830
+ SpotFleetRequestId: string | undefined;
10826
10831
  /**
10827
- * <p>The instance type.</p>
10832
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10833
+ * are no more items to return.</p>
10828
10834
  * @public
10829
10835
  */
10830
- InstanceType?: _InstanceType;
10836
+ NextToken?: string;
10831
10837
  /**
10832
- * <p>The ID of the kernel.</p>
10838
+ * <p>The maximum number of items to return for this request.
10839
+ * To get the next page of items, make another request with the token returned in the output.
10840
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10833
10841
  * @public
10834
10842
  */
10835
- KernelId?: string;
10843
+ MaxResults?: number;
10844
+ }
10845
+ /**
10846
+ * <p>Contains the output of DescribeSpotFleetInstances.</p>
10847
+ * @public
10848
+ */
10849
+ export interface DescribeSpotFleetInstancesResponse {
10836
10850
  /**
10837
- * <p>The name of the key pair.</p>
10851
+ * <p>The running instances. This list is refreshed periodically and might be out of
10852
+ * date.</p>
10838
10853
  * @public
10839
10854
  */
10840
- KeyName?: string;
10855
+ ActiveInstances?: ActiveInstance[];
10841
10856
  /**
10842
- * <p>Enable or disable monitoring for the instances.</p>
10857
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10858
+ * are no more items to return.</p>
10843
10859
  * @public
10844
10860
  */
10845
- Monitoring?: SpotFleetMonitoring;
10861
+ NextToken?: string;
10846
10862
  /**
10847
- * <p>The network interfaces.</p>
10848
- * <note>
10849
- * <p>
10850
- * <code>SpotFleetLaunchSpecification</code> does not support Elastic Fabric Adapter (EFA).
10851
- * You must use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html">LaunchTemplateConfig</a> instead.</p>
10852
- * </note>
10863
+ * <p>The ID of the Spot Fleet request.</p>
10853
10864
  * @public
10854
10865
  */
10855
- NetworkInterfaces?: InstanceNetworkInterfaceSpecification[];
10866
+ SpotFleetRequestId?: string;
10867
+ }
10868
+ /**
10869
+ * @public
10870
+ * @enum
10871
+ */
10872
+ export declare const EventType: {
10873
+ readonly BATCH_CHANGE: "fleetRequestChange";
10874
+ readonly ERROR: "error";
10875
+ readonly INFORMATION: "information";
10876
+ readonly INSTANCE_CHANGE: "instanceChange";
10877
+ };
10878
+ /**
10879
+ * @public
10880
+ */
10881
+ export type EventType = (typeof EventType)[keyof typeof EventType];
10882
+ /**
10883
+ * <p>Contains the parameters for DescribeSpotFleetRequestHistory.</p>
10884
+ * @public
10885
+ */
10886
+ export interface DescribeSpotFleetRequestHistoryRequest {
10856
10887
  /**
10857
- * <p>The placement information.</p>
10888
+ * <p>Checks whether you have the required permissions for the action, without actually
10889
+ * making the request, and provides an error response. If you have the required
10890
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10891
+ * <code>UnauthorizedOperation</code>.</p>
10858
10892
  * @public
10859
10893
  */
10860
- Placement?: SpotPlacement;
10894
+ DryRun?: boolean;
10861
10895
  /**
10862
- * <p>The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel
10863
- * requirements for information about whether you need to specify a RAM disk. To find kernel
10864
- * requirements, refer to the Amazon Web Services Resource Center and search for the kernel ID.</p>
10896
+ * <p>The ID of the Spot Fleet request.</p>
10865
10897
  * @public
10866
10898
  */
10867
- RamdiskId?: string;
10899
+ SpotFleetRequestId: string | undefined;
10868
10900
  /**
10869
- * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to
10870
- * increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
10871
- * <important>
10872
- * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
10873
- * </important>
10901
+ * <p>The type of events to describe. By default, all events are described.</p>
10874
10902
  * @public
10875
10903
  */
10876
- SpotPrice?: string;
10904
+ EventType?: EventType;
10877
10905
  /**
10878
- * <p>The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate
10879
- * them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".</p>
10880
- * <p>If you specify a network interface, you must specify any subnets as part of the
10881
- * network interface instead of using this parameter.</p>
10906
+ * <p>The starting date and time for the events, in UTC format (for example,
10907
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10882
10908
  * @public
10883
10909
  */
10884
- SubnetId?: string;
10910
+ StartTime: Date | undefined;
10885
10911
  /**
10886
- * <p>The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.</p>
10912
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10913
+ * are no more items to return.</p>
10887
10914
  * @public
10888
10915
  */
10889
- UserData?: string;
10916
+ NextToken?: string;
10890
10917
  /**
10891
- * <p>The number of units provided by the specified instance type. These are the same units
10892
- * that you chose to set the target capacity in terms of instances, or a performance
10893
- * characteristic such as vCPUs, memory, or I/O.</p>
10894
- * <p>If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the
10895
- * number of instances to the next whole number. If this value is not specified, the default
10896
- * is 1.</p>
10897
- * <note>
10898
- * <p>When specifying weights, the price used in the <code>lowestPrice</code> and
10899
- * <code>priceCapacityOptimized</code> allocation strategies is per
10900
- * <i>unit</i> hour (where the instance price is divided by the specified
10901
- * weight). However, if all the specified weights are above the requested
10902
- * <code>TargetCapacity</code>, resulting in only 1 instance being launched, the price
10903
- * used is per <i>instance</i> hour.</p>
10904
- * </note>
10918
+ * <p>The maximum number of items to return for this request.
10919
+ * To get the next page of items, make another request with the token returned in the output.
10920
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10905
10921
  * @public
10906
10922
  */
10907
- WeightedCapacity?: number;
10923
+ MaxResults?: number;
10924
+ }
10925
+ /**
10926
+ * <p>Describes an event in the history of the Spot Fleet request.</p>
10927
+ * @public
10928
+ */
10929
+ export interface HistoryRecord {
10908
10930
  /**
10909
- * <p>The tags to apply during creation.</p>
10931
+ * <p>Information about the event.</p>
10910
10932
  * @public
10911
10933
  */
10912
- TagSpecifications?: SpotFleetTagSpecification[];
10934
+ EventInformation?: EventInformation;
10913
10935
  /**
10914
- * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
10915
- * identify instance types with those attributes.</p>
10916
- * <note>
10917
- * <p>If you specify <code>InstanceRequirements</code>, you can't specify
10918
- * <code>InstanceType</code>.</p>
10919
- * </note>
10936
+ * <p>The event type.</p>
10937
+ * <ul>
10938
+ * <li>
10939
+ * <p>
10940
+ * <code>error</code> - An error with the Spot Fleet request.</p>
10941
+ * </li>
10942
+ * <li>
10943
+ * <p>
10944
+ * <code>fleetRequestChange</code> - A change in the status or configuration of
10945
+ * the Spot Fleet request.</p>
10946
+ * </li>
10947
+ * <li>
10948
+ * <p>
10949
+ * <code>instanceChange</code> - An instance was launched or terminated.</p>
10950
+ * </li>
10951
+ * <li>
10952
+ * <p>
10953
+ * <code>Information</code> - An informational event.</p>
10954
+ * </li>
10955
+ * </ul>
10920
10956
  * @public
10921
10957
  */
10922
- InstanceRequirements?: InstanceRequirements;
10958
+ EventType?: EventType;
10923
10959
  /**
10924
- * <p>The security groups.</p>
10925
- * <p>If you specify a network interface, you must specify any security groups as part of
10926
- * the network interface instead of using this parameter.</p>
10960
+ * <p>The date and time of the event, in UTC format (for example,
10961
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10927
10962
  * @public
10928
10963
  */
10929
- SecurityGroups?: GroupIdentifier[];
10964
+ Timestamp?: Date;
10930
10965
  }
10931
10966
  /**
10932
- * <p>Describes overrides for a launch template.</p>
10967
+ * <p>Contains the output of DescribeSpotFleetRequestHistory.</p>
10933
10968
  * @public
10934
10969
  */
10935
- export interface LaunchTemplateOverrides {
10936
- /**
10937
- * <p>The instance type.</p>
10938
- * @public
10939
- */
10940
- InstanceType?: _InstanceType;
10941
- /**
10942
- * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to
10943
- * increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
10944
- * <important>
10945
- * <p>If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.</p>
10946
- * </important>
10947
- * @public
10948
- */
10949
- SpotPrice?: string;
10970
+ export interface DescribeSpotFleetRequestHistoryResponse {
10950
10971
  /**
10951
- * <p>The ID of the subnet in which to launch the instances.</p>
10972
+ * <p>Information about the events in the history of the Spot Fleet request.</p>
10952
10973
  * @public
10953
10974
  */
10954
- SubnetId?: string;
10975
+ HistoryRecords?: HistoryRecord[];
10955
10976
  /**
10956
- * <p>The Availability Zone in which to launch the instances.</p>
10977
+ * <p>The last date and time for the events, in UTC format (for example,
10978
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
10979
+ * All records up to this time were retrieved.</p>
10980
+ * <p>If <code>nextToken</code> indicates that there are more items, this value is not
10981
+ * present.</p>
10957
10982
  * @public
10958
10983
  */
10959
- AvailabilityZone?: string;
10984
+ LastEvaluatedTime?: Date;
10960
10985
  /**
10961
- * <p>The number of units provided by the specified instance type. These are the same units
10962
- * that you chose to set the target capacity in terms of instances, or a performance
10963
- * characteristic such as vCPUs, memory, or I/O.</p>
10964
- * <p>If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the
10965
- * number of instances to the next whole number. If this value is not specified, the default
10966
- * is 1.</p>
10967
- * <note>
10968
- * <p>When specifying weights, the price used in the <code>lowestPrice</code> and
10969
- * <code>priceCapacityOptimized</code> allocation strategies is per
10970
- * <i>unit</i> hour (where the instance price is divided by the specified
10971
- * weight). However, if all the specified weights are above the requested
10972
- * <code>TargetCapacity</code>, resulting in only 1 instance being launched, the price
10973
- * used is per <i>instance</i> hour.</p>
10974
- * </note>
10986
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10987
+ * are no more items to return.</p>
10975
10988
  * @public
10976
10989
  */
10977
- WeightedCapacity?: number;
10990
+ NextToken?: string;
10978
10991
  /**
10979
- * <p>The priority for the launch template override. The highest priority is launched
10980
- * first.</p>
10981
- * <p>If <code>OnDemandAllocationStrategy</code> is set to <code>prioritized</code>, Spot Fleet
10982
- * uses priority to determine which launch template override to use first in fulfilling
10983
- * On-Demand capacity.</p>
10984
- * <p>If the Spot <code>AllocationStrategy</code> is set to
10985
- * <code>capacityOptimizedPrioritized</code>, Spot Fleet uses priority on a best-effort basis
10986
- * to determine which launch template override to use in fulfilling Spot capacity, but
10987
- * optimizes for capacity first.</p>
10988
- * <p>Valid values are whole numbers starting at <code>0</code>. The lower the number, the
10989
- * higher the priority. If no number is set, the launch template override has the lowest
10990
- * priority. You can set the same priority for different launch template overrides.</p>
10992
+ * <p>The ID of the Spot Fleet request.</p>
10991
10993
  * @public
10992
10994
  */
10993
- Priority?: number;
10995
+ SpotFleetRequestId?: string;
10994
10996
  /**
10995
- * <p>The instance requirements. When you specify instance requirements, Amazon EC2 will identify
10996
- * instance types with the provided requirements, and then use your On-Demand and Spot
10997
- * allocation strategies to launch instances from these instance types, in the same way as
10998
- * when you specify a list of instance types.</p>
10999
- * <note>
11000
- * <p>If you specify <code>InstanceRequirements</code>, you can't specify
11001
- * <code>InstanceType</code>.</p>
11002
- * </note>
10997
+ * <p>The starting date and time for the events, in UTC format (for example,
10998
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
11003
10999
  * @public
11004
11000
  */
11005
- InstanceRequirements?: InstanceRequirements;
11001
+ StartTime?: Date;
11006
11002
  }
11007
11003
  /**
11008
- * <p>Describes a launch template and overrides.</p>
11004
+ * <p>Contains the parameters for DescribeSpotFleetRequests.</p>
11009
11005
  * @public
11010
11006
  */
11011
- export interface LaunchTemplateConfig {
11007
+ export interface DescribeSpotFleetRequestsRequest {
11012
11008
  /**
11013
- * <p>The launch template to use. Make sure that the launch template does not contain the
11014
- * <code>NetworkInterfaceId</code> parameter because you can't specify a network interface
11015
- * ID in a Spot Fleet.</p>
11009
+ * <p>Checks whether you have the required permissions for the action, without actually
11010
+ * making the request, and provides an error response. If you have the required
11011
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
11012
+ * <code>UnauthorizedOperation</code>.</p>
11016
11013
  * @public
11017
11014
  */
11018
- LaunchTemplateSpecification?: FleetLaunchTemplateSpecification;
11015
+ DryRun?: boolean;
11019
11016
  /**
11020
- * <p>Any parameters that you specify override the same parameters in the launch
11021
- * template.</p>
11017
+ * <p>The IDs of the Spot Fleet requests.</p>
11022
11018
  * @public
11023
11019
  */
11024
- Overrides?: LaunchTemplateOverrides[];
11025
- }
11026
- /**
11027
- * <p>Describes a Classic Load Balancer.</p>
11028
- * @public
11029
- */
11030
- export interface ClassicLoadBalancer {
11020
+ SpotFleetRequestIds?: string[];
11031
11021
  /**
11032
- * <p>The name of the load balancer.</p>
11022
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
11023
+ * are no more items to return.</p>
11033
11024
  * @public
11034
11025
  */
11035
- Name?: string;
11036
- }
11037
- /**
11038
- * <p>Describes the Classic Load Balancers to attach to a Spot Fleet. Spot Fleet registers
11039
- * the running Spot Instances with these Classic Load Balancers.</p>
11040
- * @public
11041
- */
11042
- export interface ClassicLoadBalancersConfig {
11026
+ NextToken?: string;
11043
11027
  /**
11044
- * <p>One or more Classic Load Balancers.</p>
11028
+ * <p>The maximum number of items to return for this request.
11029
+ * To get the next page of items, make another request with the token returned in the output.
11030
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11045
11031
  * @public
11046
11032
  */
11047
- ClassicLoadBalancers?: ClassicLoadBalancer[];
11033
+ MaxResults?: number;
11048
11034
  }
11049
11035
  /**
11050
- * <p>Describes a load balancer target group.</p>
11051
11036
  * @public
11037
+ * @enum
11052
11038
  */
11053
- export interface TargetGroup {
11054
- /**
11055
- * <p>The Amazon Resource Name (ARN) of the target group.</p>
11056
- * @public
11057
- */
11058
- Arn?: string;
11059
- }
11039
+ export declare const ExcessCapacityTerminationPolicy: {
11040
+ readonly DEFAULT: "default";
11041
+ readonly NO_TERMINATION: "noTermination";
11042
+ };
11043
+ /**
11044
+ * @public
11045
+ */
11046
+ export type ExcessCapacityTerminationPolicy = (typeof ExcessCapacityTerminationPolicy)[keyof typeof ExcessCapacityTerminationPolicy];
11060
11047
  /**
11061
- * <p>Describes the target groups to attach to a Spot Fleet. Spot Fleet registers the
11062
- * running Spot Instances with these target groups.</p>
11048
+ * <p>Describes whether monitoring is enabled.</p>
11063
11049
  * @public
11064
11050
  */
11065
- export interface TargetGroupsConfig {
11051
+ export interface SpotFleetMonitoring {
11066
11052
  /**
11067
- * <p>One or more target groups.</p>
11053
+ * <p>Enables monitoring for the instance.</p>
11054
+ * <p>Default: <code>false</code>
11055
+ * </p>
11068
11056
  * @public
11069
11057
  */
11070
- TargetGroups?: TargetGroup[];
11058
+ Enabled?: boolean;
11071
11059
  }
11072
11060
  /**
11073
11061
  * @internal
@@ -11097,7 +11085,3 @@ export declare const DescribeImportSnapshotTasksResultFilterSensitiveLog: (obj:
11097
11085
  * @internal
11098
11086
  */
11099
11087
  export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (obj: DescribeLaunchTemplateVersionsResult) => any;
11100
- /**
11101
- * @internal
11102
- */
11103
- export declare const SpotFleetLaunchSpecificationFilterSensitiveLog: (obj: SpotFleetLaunchSpecification) => any;