@aws-sdk/client-ec2 3.709.0 → 3.712.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 (28) hide show
  1. package/dist-cjs/index.js +15 -2
  2. package/dist-es/protocols/Aws_ec2.js +14 -1
  3. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +7 -4
  4. package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -2
  5. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
  6. package/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +1 -2
  7. package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +2 -1
  8. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +3 -3
  9. package/dist-types/commands/UnlockSnapshotCommand.d.ts +2 -1
  10. package/dist-types/models/models_3.d.ts +16 -40
  11. package/dist-types/models/models_4.d.ts +40 -97
  12. package/dist-types/models/models_5.d.ts +98 -20
  13. package/dist-types/models/models_6.d.ts +20 -11
  14. package/dist-types/models/models_7.d.ts +13 -12
  15. package/dist-types/models/models_8.d.ts +10 -0
  16. package/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +8 -3
  17. package/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +4 -2
  18. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +4 -2
  19. package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +4 -2
  20. package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +2 -4
  21. package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +2 -4
  22. package/dist-types/ts3.4/models/models_3.d.ts +4 -7
  23. package/dist-types/ts3.4/models/models_4.d.ts +7 -7
  24. package/dist-types/ts3.4/models/models_5.d.ts +7 -5
  25. package/dist-types/ts3.4/models/models_6.d.ts +4 -4
  26. package/dist-types/ts3.4/models/models_7.d.ts +4 -3
  27. package/dist-types/ts3.4/models/models_8.d.ts +3 -0
  28. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -10457,9 +10457,12 @@ var de_DeleteSecurityGroupCommand = /* @__PURE__ */ __name(async (output, contex
10457
10457
  if (output.statusCode >= 300) {
10458
10458
  return de_CommandError(output, context);
10459
10459
  }
10460
- await (0, import_smithy_client.collectBody)(output.body, context);
10460
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
10461
+ let contents = {};
10462
+ contents = de_DeleteSecurityGroupResult(data, context);
10461
10463
  const response = {
10462
- $metadata: deserializeMetadata(output)
10464
+ $metadata: deserializeMetadata(output),
10465
+ ...contents
10463
10466
  };
10464
10467
  return response;
10465
10468
  }, "de_DeleteSecurityGroupCommand");
@@ -42756,6 +42759,16 @@ var de_DeleteQueuedReservedInstancesResult = /* @__PURE__ */ __name((output, con
42756
42759
  }
42757
42760
  return contents;
42758
42761
  }, "de_DeleteQueuedReservedInstancesResult");
42762
+ var de_DeleteSecurityGroupResult = /* @__PURE__ */ __name((output, context) => {
42763
+ const contents = {};
42764
+ if (output[_r] != null) {
42765
+ contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);
42766
+ }
42767
+ if (output[_gIr] != null) {
42768
+ contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);
42769
+ }
42770
+ return contents;
42771
+ }, "de_DeleteSecurityGroupResult");
42759
42772
  var de_DeleteSubnetCidrReservationResult = /* @__PURE__ */ __name((output, context) => {
42760
42773
  const contents = {};
42761
42774
  if (output[_dSCR] != null) {
@@ -8944,9 +8944,12 @@ export const de_DeleteSecurityGroupCommand = async (output, context) => {
8944
8944
  if (output.statusCode >= 300) {
8945
8945
  return de_CommandError(output, context);
8946
8946
  }
8947
- await collectBody(output.body, context);
8947
+ const data = await parseBody(output.body, context);
8948
+ let contents = {};
8949
+ contents = de_DeleteSecurityGroupResult(data, context);
8948
8950
  const response = {
8949
8951
  $metadata: deserializeMetadata(output),
8952
+ ...contents,
8950
8953
  };
8951
8954
  return response;
8952
8955
  };
@@ -41447,6 +41450,16 @@ const de_DeleteQueuedReservedInstancesResult = (output, context) => {
41447
41450
  }
41448
41451
  return contents;
41449
41452
  };
41453
+ const de_DeleteSecurityGroupResult = (output, context) => {
41454
+ const contents = {};
41455
+ if (output[_r] != null) {
41456
+ contents[_Ret] = __parseBoolean(output[_r]);
41457
+ }
41458
+ if (output[_gIr] != null) {
41459
+ contents[_GIr] = __expectString(output[_gIr]);
41460
+ }
41461
+ return contents;
41462
+ };
41450
41463
  const de_DeleteSubnetCidrReservationResult = (output, context) => {
41451
41464
  const contents = {};
41452
41465
  if (output[_dSCR] != null) {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DeleteSecurityGroupRequest } from "../models/models_3";
4
+ import { DeleteSecurityGroupRequest, DeleteSecurityGroupResult } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -19,7 +19,7 @@ export interface DeleteSecurityGroupCommandInput extends DeleteSecurityGroupRequ
19
19
  *
20
20
  * The output of {@link DeleteSecurityGroupCommand}.
21
21
  */
22
- export interface DeleteSecurityGroupCommandOutput extends __MetadataBearer {
22
+ export interface DeleteSecurityGroupCommandOutput extends DeleteSecurityGroupResult, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteSecurityGroupCommand_base: {
25
25
  new (input: DeleteSecurityGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSecurityGroupCommandInput, DeleteSecurityGroupCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
@@ -44,7 +44,10 @@ declare const DeleteSecurityGroupCommand_base: {
44
44
  * };
45
45
  * const command = new DeleteSecurityGroupCommand(input);
46
46
  * const response = await client.send(command);
47
- * // {};
47
+ * // { // DeleteSecurityGroupResult
48
+ * // Return: true || false,
49
+ * // GroupId: "STRING_VALUE",
50
+ * // };
48
51
  *
49
52
  * ```
50
53
  *
@@ -75,7 +78,7 @@ export declare class DeleteSecurityGroupCommand extends DeleteSecurityGroupComma
75
78
  protected static __types: {
76
79
  api: {
77
80
  input: DeleteSecurityGroupRequest;
78
- output: {};
81
+ output: DeleteSecurityGroupResult;
79
82
  };
80
83
  sdk: {
81
84
  input: DeleteSecurityGroupCommandInput;
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeFleetInstancesRequest } from "../models/models_3";
5
- import { DescribeFleetInstancesResult } from "../models/models_4";
4
+ import { DescribeFleetInstancesRequest, DescribeFleetInstancesResult } from "../models/models_4";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeReservedInstancesRequest } from "../models/models_4";
5
- import { DescribeReservedInstancesResult } from "../models/models_5";
4
+ import { DescribeReservedInstancesRequest, DescribeReservedInstancesResult } from "../models/models_5";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { EnableAllowedImagesSettingsRequest } from "../models/models_5";
5
- import { EnableAllowedImagesSettingsResult } from "../models/models_6";
4
+ import { EnableAllowedImagesSettingsRequest, EnableAllowedImagesSettingsResult } from "../models/models_6";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyInstanceEventWindowRequest, ModifyInstanceEventWindowResult } from "../models/models_6";
4
+ import { ModifyInstanceEventWindowRequest } from "../models/models_6";
5
+ import { ModifyInstanceEventWindowResult } from "../models/models_7";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -50,9 +50,9 @@ declare const StartDeclarativePoliciesReportCommand_base: {
50
50
  * </li>
51
51
  * <li>
52
52
  * <p>An S3 bucket must be available before generating the report (you can create a
53
- * new one or use an existing one), and it must have an appropriate bucket policy.
54
- * For a sample S3 policy, see <i>Sample Amazon S3 policy</i> under
55
- * .</p>
53
+ * new one or use an existing one), it must be in the same Region where the report
54
+ * generation request is made, and it must have an appropriate bucket policy. For a
55
+ * sample S3 policy, see <i>Sample Amazon S3 policy</i> under .</p>
56
56
  * </li>
57
57
  * <li>
58
58
  * <p>Trusted access must be enabled for the service for which the declarative
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { UnlockSnapshotRequest, UnlockSnapshotResult } from "../models/models_7";
4
+ import { UnlockSnapshotRequest } from "../models/models_7";
5
+ import { UnlockSnapshotResult } from "../models/models_8";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1380,6 +1380,21 @@ export interface DeleteSecurityGroupRequest {
1380
1380
  */
1381
1381
  DryRun?: boolean | undefined;
1382
1382
  }
1383
+ /**
1384
+ * @public
1385
+ */
1386
+ export interface DeleteSecurityGroupResult {
1387
+ /**
1388
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
1389
+ * @public
1390
+ */
1391
+ Return?: boolean | undefined;
1392
+ /**
1393
+ * <p>The ID of the deleted security group.</p>
1394
+ * @public
1395
+ */
1396
+ GroupId?: string | undefined;
1397
+ }
1383
1398
  /**
1384
1399
  * @public
1385
1400
  */
@@ -2735,6 +2750,7 @@ export interface DescribeAccountAttributesResult {
2735
2750
  * Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.</p>
2736
2751
  * <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only
2737
2752
  * results that match all of the specified filters.</p>
2753
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Filtering.html#Filtering_Resources_CLI">List and filter using the CLI and API</a> in the <i>Amazon EC2 User Guide</i>.</p>
2738
2754
  * @public
2739
2755
  */
2740
2756
  export interface Filter {
@@ -6963,46 +6979,6 @@ export interface DescribeFleetHistoryResult {
6963
6979
  */
6964
6980
  StartTime?: Date | undefined;
6965
6981
  }
6966
- /**
6967
- * @public
6968
- */
6969
- export interface DescribeFleetInstancesRequest {
6970
- /**
6971
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6972
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6973
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6974
- * @public
6975
- */
6976
- DryRun?: boolean | undefined;
6977
- /**
6978
- * <p>The maximum number of items to return for this request.
6979
- * To get the next page of items, make another request with the token returned in the output.
6980
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
6981
- * @public
6982
- */
6983
- MaxResults?: number | undefined;
6984
- /**
6985
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
6986
- * @public
6987
- */
6988
- NextToken?: string | undefined;
6989
- /**
6990
- * <p>The ID of the EC2 Fleet.</p>
6991
- * @public
6992
- */
6993
- FleetId: string | undefined;
6994
- /**
6995
- * <p>The filters.</p>
6996
- * <ul>
6997
- * <li>
6998
- * <p>
6999
- * <code>instance-type</code> - The instance type.</p>
7000
- * </li>
7001
- * </ul>
7002
- * @public
7003
- */
7004
- Filters?: Filter[] | undefined;
7005
- }
7006
6982
  /**
7007
6983
  * @internal
7008
6984
  */
@@ -2,6 +2,46 @@ import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, Alternate
2
2
  import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, Ec2InstanceConnectEndpoint, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
3
3
  import { GroupIdentifier, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask } from "./models_2";
4
4
  import { Byoasn, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DescribeFleetInstancesRequest {
9
+ /**
10
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
11
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
13
+ * @public
14
+ */
15
+ DryRun?: boolean | undefined;
16
+ /**
17
+ * <p>The maximum number of items to return for this request.
18
+ * To get the next page of items, make another request with the token returned in the output.
19
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
20
+ * @public
21
+ */
22
+ MaxResults?: number | undefined;
23
+ /**
24
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
25
+ * @public
26
+ */
27
+ NextToken?: string | undefined;
28
+ /**
29
+ * <p>The ID of the EC2 Fleet.</p>
30
+ * @public
31
+ */
32
+ FleetId: string | undefined;
33
+ /**
34
+ * <p>The filters.</p>
35
+ * <ul>
36
+ * <li>
37
+ * <p>
38
+ * <code>instance-type</code> - The instance type.</p>
39
+ * </li>
40
+ * </ul>
41
+ * @public
42
+ */
43
+ Filters?: Filter[] | undefined;
44
+ }
5
45
  /**
6
46
  * @public
7
47
  */
@@ -11086,103 +11126,6 @@ export declare const OfferingTypeValues: {
11086
11126
  * @public
11087
11127
  */
11088
11128
  export type OfferingTypeValues = (typeof OfferingTypeValues)[keyof typeof OfferingTypeValues];
11089
- /**
11090
- * <p>Contains the parameters for DescribeReservedInstances.</p>
11091
- * @public
11092
- */
11093
- export interface DescribeReservedInstancesRequest {
11094
- /**
11095
- * <p>Describes whether the Reserved Instance is Standard or Convertible.</p>
11096
- * @public
11097
- */
11098
- OfferingClass?: OfferingClassType | undefined;
11099
- /**
11100
- * <p>One or more Reserved Instance IDs.</p>
11101
- * <p>Default: Describes all your Reserved Instances, or only those otherwise specified.</p>
11102
- * @public
11103
- */
11104
- ReservedInstancesIds?: string[] | undefined;
11105
- /**
11106
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11107
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11108
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11109
- * @public
11110
- */
11111
- DryRun?: boolean | undefined;
11112
- /**
11113
- * <p>One or more filters.</p>
11114
- * <ul>
11115
- * <li>
11116
- * <p>
11117
- * <code>availability-zone</code> - The Availability Zone where the Reserved Instance can be used.</p>
11118
- * </li>
11119
- * <li>
11120
- * <p>
11121
- * <code>duration</code> - The duration of the Reserved Instance (one year or three years), in seconds (<code>31536000</code> | <code>94608000</code>).</p>
11122
- * </li>
11123
- * <li>
11124
- * <p>
11125
- * <code>end</code> - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).</p>
11126
- * </li>
11127
- * <li>
11128
- * <p>
11129
- * <code>fixed-price</code> - The purchase price of the Reserved Instance (for example, 9800.0).</p>
11130
- * </li>
11131
- * <li>
11132
- * <p>
11133
- * <code>instance-type</code> - The instance type that is covered by the reservation.</p>
11134
- * </li>
11135
- * <li>
11136
- * <p>
11137
- * <code>scope</code> - The scope of the Reserved Instance (<code>Region</code> or <code>Availability Zone</code>).</p>
11138
- * </li>
11139
- * <li>
11140
- * <p>
11141
- * <code>product-description</code> - The Reserved Instance product platform description
11142
- * (<code>Linux/UNIX</code> | <code>Linux with SQL Server Standard</code> |
11143
- * <code>Linux with SQL Server Web</code> | <code>Linux with SQL Server Enterprise</code> |
11144
- * <code>SUSE Linux</code> |
11145
- * <code>Red Hat Enterprise Linux</code> | <code>Red Hat Enterprise Linux with HA</code> |
11146
- * <code>Windows</code> | <code>Windows with SQL Server Standard</code> |
11147
- * <code>Windows with SQL Server Web</code> | <code>Windows with SQL Server Enterprise</code>).</p>
11148
- * </li>
11149
- * <li>
11150
- * <p>
11151
- * <code>reserved-instances-id</code> - The ID of the Reserved Instance.</p>
11152
- * </li>
11153
- * <li>
11154
- * <p>
11155
- * <code>start</code> - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).</p>
11156
- * </li>
11157
- * <li>
11158
- * <p>
11159
- * <code>state</code> - The state of the Reserved Instance (<code>payment-pending</code> | <code>active</code> | <code>payment-failed</code> | <code>retired</code>).</p>
11160
- * </li>
11161
- * <li>
11162
- * <p>
11163
- * <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
11164
- * 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>
11165
- * </li>
11166
- * <li>
11167
- * <p>
11168
- * <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>
11169
- * </li>
11170
- * <li>
11171
- * <p>
11172
- * <code>usage-price</code> - The usage price of the Reserved Instance, per hour (for example, 0.84).</p>
11173
- * </li>
11174
- * </ul>
11175
- * @public
11176
- */
11177
- Filters?: Filter[] | undefined;
11178
- /**
11179
- * <p>The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API
11180
- * version, you only have access to the <code>Medium Utilization</code> Reserved Instance
11181
- * offering type.</p>
11182
- * @public
11183
- */
11184
- OfferingType?: OfferingTypeValues | undefined;
11185
- }
11186
11129
  /**
11187
11130
  * @internal
11188
11131
  */
@@ -1,8 +1,105 @@
1
- import { ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, AllowedPrincipal, AsnAssociation, AssociationStatus, BatchState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, NatGatewayAddress, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
1
+ import { ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedImagesSettingsDisabledState, AllowedPrincipal, AsnAssociation, AssociationStatus, BatchState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, NatGatewayAddress, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
2
  import { _InstanceType, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, RouteTable, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, StatisticType } from "./models_3";
5
5
  import { AttributeBooleanValue, OfferingClassType, OfferingTypeValues, PermissionGroup, ProductCode } from "./models_4";
6
+ /**
7
+ * <p>Contains the parameters for DescribeReservedInstances.</p>
8
+ * @public
9
+ */
10
+ export interface DescribeReservedInstancesRequest {
11
+ /**
12
+ * <p>Describes whether the Reserved Instance is Standard or Convertible.</p>
13
+ * @public
14
+ */
15
+ OfferingClass?: OfferingClassType | undefined;
16
+ /**
17
+ * <p>One or more Reserved Instance IDs.</p>
18
+ * <p>Default: Describes all your Reserved Instances, or only those otherwise specified.</p>
19
+ * @public
20
+ */
21
+ ReservedInstancesIds?: string[] | undefined;
22
+ /**
23
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
24
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
25
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
26
+ * @public
27
+ */
28
+ DryRun?: boolean | undefined;
29
+ /**
30
+ * <p>One or more filters.</p>
31
+ * <ul>
32
+ * <li>
33
+ * <p>
34
+ * <code>availability-zone</code> - The Availability Zone where the Reserved Instance can be used.</p>
35
+ * </li>
36
+ * <li>
37
+ * <p>
38
+ * <code>duration</code> - The duration of the Reserved Instance (one year or three years), in seconds (<code>31536000</code> | <code>94608000</code>).</p>
39
+ * </li>
40
+ * <li>
41
+ * <p>
42
+ * <code>end</code> - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>fixed-price</code> - The purchase price of the Reserved Instance (for example, 9800.0).</p>
47
+ * </li>
48
+ * <li>
49
+ * <p>
50
+ * <code>instance-type</code> - The instance type that is covered by the reservation.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <code>scope</code> - The scope of the Reserved Instance (<code>Region</code> or <code>Availability Zone</code>).</p>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <code>product-description</code> - The Reserved Instance product platform description
59
+ * (<code>Linux/UNIX</code> | <code>Linux with SQL Server Standard</code> |
60
+ * <code>Linux with SQL Server Web</code> | <code>Linux with SQL Server Enterprise</code> |
61
+ * <code>SUSE Linux</code> |
62
+ * <code>Red Hat Enterprise Linux</code> | <code>Red Hat Enterprise Linux with HA</code> |
63
+ * <code>Windows</code> | <code>Windows with SQL Server Standard</code> |
64
+ * <code>Windows with SQL Server Web</code> | <code>Windows with SQL Server Enterprise</code>).</p>
65
+ * </li>
66
+ * <li>
67
+ * <p>
68
+ * <code>reserved-instances-id</code> - The ID of the Reserved Instance.</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>
72
+ * <code>start</code> - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>
76
+ * <code>state</code> - The state of the Reserved Instance (<code>payment-pending</code> | <code>active</code> | <code>payment-failed</code> | <code>retired</code>).</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>
80
+ * <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
81
+ * 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>
82
+ * </li>
83
+ * <li>
84
+ * <p>
85
+ * <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>
86
+ * </li>
87
+ * <li>
88
+ * <p>
89
+ * <code>usage-price</code> - The usage price of the Reserved Instance, per hour (for example, 0.84).</p>
90
+ * </li>
91
+ * </ul>
92
+ * @public
93
+ */
94
+ Filters?: Filter[] | undefined;
95
+ /**
96
+ * <p>The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API
97
+ * version, you only have access to the <code>Medium Utilization</code> Reserved Instance
98
+ * offering type.</p>
99
+ * @public
100
+ */
101
+ OfferingType?: OfferingTypeValues | undefined;
102
+ }
6
103
  /**
7
104
  * @public
8
105
  * @enum
@@ -9771,25 +9868,6 @@ export interface EnableAddressTransferResult {
9771
9868
  */
9772
9869
  AddressTransfer?: AddressTransfer | undefined;
9773
9870
  }
9774
- /**
9775
- * @public
9776
- */
9777
- export interface EnableAllowedImagesSettingsRequest {
9778
- /**
9779
- * <p>Specify <code>enabled</code> to apply the image criteria specified by the Allowed AMIs
9780
- * settings. Specify <code>audit-mode</code> so that you can check which AMIs will be allowed or
9781
- * not allowed by the image criteria.</p>
9782
- * @public
9783
- */
9784
- AllowedImagesSettingsState: AllowedImagesSettingsEnabledState | undefined;
9785
- /**
9786
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9787
- * and provides an error response. If you have the required permissions, the error response is
9788
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9789
- * @public
9790
- */
9791
- DryRun?: boolean | undefined;
9792
- }
9793
9871
  /**
9794
9872
  * @internal
9795
9873
  */
@@ -1,9 +1,28 @@
1
- import { AccessScopeAnalysisFinding, AddressAttribute, AllowedImagesSettingsEnabledState, AutoPlacement, CurrencyCodeValues, DeviceTrustProviderType, HostMaintenance, HostRecovery, InstanceEventWindow, IpamPoolAllocation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem, UserTrustProviderType } from "./models_0";
1
+ import { AccessScopeAnalysisFinding, AddressAttribute, AllowedImagesSettingsEnabledState, AutoPlacement, CurrencyCodeValues, DeviceTrustProviderType, HostMaintenance, HostRecovery, IpamPoolAllocation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem, UserTrustProviderType } from "./models_0";
2
2
  import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationState, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, DiskImageFormat, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceMatchCriteria, InstanceRequirementsRequest, IpamResourceTag, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType } from "./models_1";
3
3
  import { NetworkInsightsAccessScopeContent, SSEType, SubnetCidrReservation, TransitGatewayPrefixListReference } from "./models_2";
4
4
  import { ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IpamPoolCidr, MetricType, PeriodType, StatisticType } from "./models_3";
5
5
  import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceMetadataEndpointState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, LockState, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
6
6
  import { ManagedBy, SnapshotBlockPublicAccessState, TransitGatewayPropagation, TransitGatewayPropagationState } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface EnableAllowedImagesSettingsRequest {
11
+ /**
12
+ * <p>Specify <code>enabled</code> to apply the image criteria specified by the Allowed AMIs
13
+ * settings. Specify <code>audit-mode</code> so that you can check which AMIs will be allowed or
14
+ * not allowed by the image criteria.</p>
15
+ * @public
16
+ */
17
+ AllowedImagesSettingsState: AllowedImagesSettingsEnabledState | undefined;
18
+ /**
19
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
20
+ * and provides an error response. If you have the required permissions, the error response is
21
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
22
+ * @public
23
+ */
24
+ DryRun?: boolean | undefined;
25
+ }
7
26
  /**
8
27
  * @public
9
28
  */
@@ -7897,16 +7916,6 @@ export interface ModifyInstanceEventWindowRequest {
7897
7916
  */
7898
7917
  CronExpression?: string | undefined;
7899
7918
  }
7900
- /**
7901
- * @public
7902
- */
7903
- export interface ModifyInstanceEventWindowResult {
7904
- /**
7905
- * <p>Information about the event window.</p>
7906
- * @public
7907
- */
7908
- InstanceEventWindow?: InstanceEventWindow | undefined;
7909
- }
7910
7919
  /**
7911
7920
  * @internal
7912
7921
  */
@@ -1,10 +1,20 @@
1
- import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, Ipv6SupportValue, NatGatewayAddress, PortRange, RouteTableAssociationState, SecurityGroupReferencingSupportValue, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
1
+ import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, NatGatewayAddress, PortRange, RouteTableAssociationState, SecurityGroupReferencingSupportValue, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, ConnectionTrackingSpecificationRequest, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, MarketType, OperatorRequest, Placement, RequestIpamResourceTag, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IcmpTypeCode, IKEVersionsRequestListValue, InternetGatewayExclusionMode, IpAddressType, ManagedPrefixList, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RuleAction, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { Byoasn, CapacityBlockExtension, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
5
5
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, TpmSupportValues } from "./models_4";
6
6
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, InternetGatewayBlockMode, LaunchTemplateConfig, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
7
7
  import { CapacityReservationSpecification, IpamResourceCidr, OperationType, Purchase } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface ModifyInstanceEventWindowResult {
12
+ /**
13
+ * <p>Information about the event window.</p>
14
+ * @public
15
+ */
16
+ InstanceEventWindow?: InstanceEventWindow | undefined;
17
+ }
8
18
  /**
9
19
  * @public
10
20
  */
@@ -7778,7 +7788,8 @@ export interface StartDeclarativePoliciesReportRequest {
7778
7788
  */
7779
7789
  DryRun?: boolean | undefined;
7780
7790
  /**
7781
- * <p>The name of the S3 bucket where the report will be saved.</p>
7791
+ * <p>The name of the S3 bucket where the report will be saved. The bucket must be in the
7792
+ * same Region where the report generation request is made.</p>
7782
7793
  * @public
7783
7794
  */
7784
7795
  S3Bucket: string | undefined;
@@ -8253,16 +8264,6 @@ export interface UnlockSnapshotRequest {
8253
8264
  */
8254
8265
  DryRun?: boolean | undefined;
8255
8266
  }
8256
- /**
8257
- * @public
8258
- */
8259
- export interface UnlockSnapshotResult {
8260
- /**
8261
- * <p>The ID of the snapshot.</p>
8262
- * @public
8263
- */
8264
- SnapshotId?: string | undefined;
8265
- }
8266
8267
  /**
8267
8268
  * @internal
8268
8269
  */
@@ -1,5 +1,15 @@
1
1
  import { ByoipCidr, IpPermission } from "./models_0";
2
2
  import { InstanceMonitoring } from "./models_7";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface UnlockSnapshotResult {
7
+ /**
8
+ * <p>The ID of the snapshot.</p>
9
+ * @public
10
+ */
11
+ SnapshotId?: string | undefined;
12
+ }
3
13
  /**
4
14
  * @public
5
15
  */
@@ -5,12 +5,17 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DeleteSecurityGroupRequest } from "../models/models_3";
8
+ import {
9
+ DeleteSecurityGroupRequest,
10
+ DeleteSecurityGroupResult,
11
+ } from "../models/models_3";
9
12
  export { __MetadataBearer };
10
13
  export { $Command };
11
14
  export interface DeleteSecurityGroupCommandInput
12
15
  extends DeleteSecurityGroupRequest {}
13
- export interface DeleteSecurityGroupCommandOutput extends __MetadataBearer {}
16
+ export interface DeleteSecurityGroupCommandOutput
17
+ extends DeleteSecurityGroupResult,
18
+ __MetadataBearer {}
14
19
  declare const DeleteSecurityGroupCommand_base: {
15
20
  new (
16
21
  input: DeleteSecurityGroupCommandInput
@@ -36,7 +41,7 @@ export declare class DeleteSecurityGroupCommand extends DeleteSecurityGroupComma
36
41
  protected static __types: {
37
42
  api: {
38
43
  input: DeleteSecurityGroupRequest;
39
- output: {};
44
+ output: DeleteSecurityGroupResult;
40
45
  };
41
46
  sdk: {
42
47
  input: DeleteSecurityGroupCommandInput;
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeFleetInstancesRequest } from "../models/models_3";
9
- import { DescribeFleetInstancesResult } from "../models/models_4";
8
+ import {
9
+ DescribeFleetInstancesRequest,
10
+ DescribeFleetInstancesResult,
11
+ } from "../models/models_4";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeFleetInstancesCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeReservedInstancesRequest } from "../models/models_4";
9
- import { DescribeReservedInstancesResult } from "../models/models_5";
8
+ import {
9
+ DescribeReservedInstancesRequest,
10
+ DescribeReservedInstancesResult,
11
+ } from "../models/models_5";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeReservedInstancesCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { EnableAllowedImagesSettingsRequest } from "../models/models_5";
9
- import { EnableAllowedImagesSettingsResult } from "../models/models_6";
8
+ import {
9
+ EnableAllowedImagesSettingsRequest,
10
+ EnableAllowedImagesSettingsResult,
11
+ } from "../models/models_6";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface EnableAllowedImagesSettingsCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- ModifyInstanceEventWindowRequest,
10
- ModifyInstanceEventWindowResult,
11
- } from "../models/models_6";
8
+ import { ModifyInstanceEventWindowRequest } from "../models/models_6";
9
+ import { ModifyInstanceEventWindowResult } from "../models/models_7";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ModifyInstanceEventWindowCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- UnlockSnapshotRequest,
10
- UnlockSnapshotResult,
11
- } from "../models/models_7";
8
+ import { UnlockSnapshotRequest } from "../models/models_7";
9
+ import { UnlockSnapshotResult } from "../models/models_8";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface UnlockSnapshotCommandInput extends UnlockSnapshotRequest {}
@@ -426,6 +426,10 @@ export interface DeleteSecurityGroupRequest {
426
426
  GroupName?: string | undefined;
427
427
  DryRun?: boolean | undefined;
428
428
  }
429
+ export interface DeleteSecurityGroupResult {
430
+ Return?: boolean | undefined;
431
+ GroupId?: string | undefined;
432
+ }
429
433
  export interface DeleteSnapshotRequest {
430
434
  SnapshotId: string | undefined;
431
435
  DryRun?: boolean | undefined;
@@ -1601,13 +1605,6 @@ export interface DescribeFleetHistoryResult {
1601
1605
  FleetId?: string | undefined;
1602
1606
  StartTime?: Date | undefined;
1603
1607
  }
1604
- export interface DescribeFleetInstancesRequest {
1605
- DryRun?: boolean | undefined;
1606
- MaxResults?: number | undefined;
1607
- NextToken?: string | undefined;
1608
- FleetId: string | undefined;
1609
- Filters?: Filter[] | undefined;
1610
- }
1611
1608
  export declare const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: (
1612
1609
  obj: DeleteVerifiedAccessTrustProviderResult
1613
1610
  ) => any;
@@ -81,6 +81,13 @@ import {
81
81
  IdFormat,
82
82
  InstanceTagNotificationAttribute,
83
83
  } from "./models_3";
84
+ export interface DescribeFleetInstancesRequest {
85
+ DryRun?: boolean | undefined;
86
+ MaxResults?: number | undefined;
87
+ NextToken?: string | undefined;
88
+ FleetId: string | undefined;
89
+ Filters?: Filter[] | undefined;
90
+ }
84
91
  export interface DescribeFleetInstancesResult {
85
92
  ActiveInstances?: ActiveInstance[] | undefined;
86
93
  NextToken?: string | undefined;
@@ -2100,13 +2107,6 @@ export declare const OfferingTypeValues: {
2100
2107
  };
2101
2108
  export type OfferingTypeValues =
2102
2109
  (typeof OfferingTypeValues)[keyof typeof OfferingTypeValues];
2103
- export interface DescribeReservedInstancesRequest {
2104
- OfferingClass?: OfferingClassType | undefined;
2105
- ReservedInstancesIds?: string[] | undefined;
2106
- DryRun?: boolean | undefined;
2107
- Filters?: Filter[] | undefined;
2108
- OfferingType?: OfferingTypeValues | undefined;
2109
- }
2110
2110
  export declare const SnapshotDetailFilterSensitiveLog: (
2111
2111
  obj: SnapshotDetail
2112
2112
  ) => any;
@@ -4,7 +4,6 @@ import {
4
4
  AddressTransfer,
5
5
  AllocationStrategy,
6
6
  AllowedImagesSettingsDisabledState,
7
- AllowedImagesSettingsEnabledState,
8
7
  AllowedPrincipal,
9
8
  AsnAssociation,
10
9
  AssociationStatus,
@@ -113,6 +112,13 @@ import {
113
112
  PermissionGroup,
114
113
  ProductCode,
115
114
  } from "./models_4";
115
+ export interface DescribeReservedInstancesRequest {
116
+ OfferingClass?: OfferingClassType | undefined;
117
+ ReservedInstancesIds?: string[] | undefined;
118
+ DryRun?: boolean | undefined;
119
+ Filters?: Filter[] | undefined;
120
+ OfferingType?: OfferingTypeValues | undefined;
121
+ }
116
122
  export declare const RIProductDescription: {
117
123
  readonly Linux_UNIX: "Linux/UNIX";
118
124
  readonly Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)";
@@ -1881,10 +1887,6 @@ export interface EnableAddressTransferRequest {
1881
1887
  export interface EnableAddressTransferResult {
1882
1888
  AddressTransfer?: AddressTransfer | undefined;
1883
1889
  }
1884
- export interface EnableAllowedImagesSettingsRequest {
1885
- AllowedImagesSettingsState: AllowedImagesSettingsEnabledState | undefined;
1886
- DryRun?: boolean | undefined;
1887
- }
1888
1890
  export declare const SpotFleetLaunchSpecificationFilterSensitiveLog: (
1889
1891
  obj: SpotFleetLaunchSpecification
1890
1892
  ) => any;
@@ -7,7 +7,6 @@ import {
7
7
  DeviceTrustProviderType,
8
8
  HostMaintenance,
9
9
  HostRecovery,
10
- InstanceEventWindow,
11
10
  IpamPoolAllocation,
12
11
  SubnetAssociation,
13
12
  Tag,
@@ -93,6 +92,10 @@ import {
93
92
  TransitGatewayPropagation,
94
93
  TransitGatewayPropagationState,
95
94
  } from "./models_5";
95
+ export interface EnableAllowedImagesSettingsRequest {
96
+ AllowedImagesSettingsState: AllowedImagesSettingsEnabledState | undefined;
97
+ DryRun?: boolean | undefined;
98
+ }
96
99
  export interface EnableAllowedImagesSettingsResult {
97
100
  AllowedImagesSettingsState?: AllowedImagesSettingsEnabledState | undefined;
98
101
  }
@@ -1807,9 +1810,6 @@ export interface ModifyInstanceEventWindowRequest {
1807
1810
  TimeRanges?: InstanceEventWindowTimeRangeRequest[] | undefined;
1808
1811
  CronExpression?: string | undefined;
1809
1812
  }
1810
- export interface ModifyInstanceEventWindowResult {
1811
- InstanceEventWindow?: InstanceEventWindow | undefined;
1812
- }
1813
1813
  export declare const VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog: (
1814
1814
  obj: VerifiedAccessInstanceUserTrustProviderClientConfiguration
1815
1815
  ) => any;
@@ -14,6 +14,7 @@ import {
14
14
  EnaSrdSpecification,
15
15
  IamInstanceProfileAssociation,
16
16
  IamInstanceProfileSpecification,
17
+ InstanceEventWindow,
17
18
  IpPermission,
18
19
  Ipv6SupportValue,
19
20
  NatGatewayAddress,
@@ -149,6 +150,9 @@ import {
149
150
  OperationType,
150
151
  Purchase,
151
152
  } from "./models_6";
153
+ export interface ModifyInstanceEventWindowResult {
154
+ InstanceEventWindow?: InstanceEventWindow | undefined;
155
+ }
152
156
  export interface ModifyInstanceMaintenanceOptionsRequest {
153
157
  InstanceId: string | undefined;
154
158
  AutoRecovery?: InstanceAutoRecoveryState | undefined;
@@ -1882,9 +1886,6 @@ export interface UnlockSnapshotRequest {
1882
1886
  SnapshotId: string | undefined;
1883
1887
  DryRun?: boolean | undefined;
1884
1888
  }
1885
- export interface UnlockSnapshotResult {
1886
- SnapshotId?: string | undefined;
1887
- }
1888
1889
  export declare const ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: (
1889
1890
  obj: ModifyVerifiedAccessNativeApplicationOidcOptions
1890
1891
  ) => any;
@@ -1,5 +1,8 @@
1
1
  import { ByoipCidr, IpPermission } from "./models_0";
2
2
  import { InstanceMonitoring } from "./models_7";
3
+ export interface UnlockSnapshotResult {
4
+ SnapshotId?: string | undefined;
5
+ }
3
6
  export interface UnmonitorInstancesRequest {
4
7
  InstanceIds: string[] | undefined;
5
8
  DryRun?: boolean | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.709.0",
4
+ "version": "3.712.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.709.0",
24
- "@aws-sdk/client-sts": "3.709.0",
23
+ "@aws-sdk/client-sso-oidc": "3.712.0",
24
+ "@aws-sdk/client-sts": "3.712.0",
25
25
  "@aws-sdk/core": "3.709.0",
26
- "@aws-sdk/credential-provider-node": "3.709.0",
26
+ "@aws-sdk/credential-provider-node": "3.712.0",
27
27
  "@aws-sdk/middleware-host-header": "3.709.0",
28
28
  "@aws-sdk/middleware-logger": "3.709.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.709.0",
@@ -33,7 +33,7 @@
33
33
  "@aws-sdk/types": "3.709.0",
34
34
  "@aws-sdk/util-endpoints": "3.709.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.709.0",
36
- "@aws-sdk/util-user-agent-node": "3.709.0",
36
+ "@aws-sdk/util-user-agent-node": "3.712.0",
37
37
  "@smithy/config-resolver": "^3.0.13",
38
38
  "@smithy/core": "^2.5.5",
39
39
  "@smithy/fetch-http-handler": "^4.1.2",