@aws-sdk/client-ec2 3.262.0 → 3.266.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.
@@ -855,7 +855,7 @@ export declare class EC2 extends EC2Client {
855
855
  associateInstanceEventWindow(args: AssociateInstanceEventWindowCommandInput, cb: (err: any, data?: AssociateInstanceEventWindowCommandOutput) => void): void;
856
856
  associateInstanceEventWindow(args: AssociateInstanceEventWindowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateInstanceEventWindowCommandOutput) => void): void;
857
857
  /**
858
- * <p>Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
858
+ * <p>Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
859
859
  */
860
860
  associateIpamResourceDiscovery(args: AssociateIpamResourceDiscoveryCommandInput, options?: __HttpHandlerOptions): Promise<AssociateIpamResourceDiscoveryCommandOutput>;
861
861
  associateIpamResourceDiscovery(args: AssociateIpamResourceDiscoveryCommandInput, cb: (err: any, data?: AssociateIpamResourceDiscoveryCommandOutput) => void): void;
@@ -1524,7 +1524,7 @@ export declare class EC2 extends EC2Client {
1524
1524
  createIpamPool(args: CreateIpamPoolCommandInput, cb: (err: any, data?: CreateIpamPoolCommandOutput) => void): void;
1525
1525
  createIpamPool(args: CreateIpamPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIpamPoolCommandOutput) => void): void;
1526
1526
  /**
1527
- * <p>Creates an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
1527
+ * <p>Creates an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
1528
1528
  */
1529
1529
  createIpamResourceDiscovery(args: CreateIpamResourceDiscoveryCommandInput, options?: __HttpHandlerOptions): Promise<CreateIpamResourceDiscoveryCommandOutput>;
1530
1530
  createIpamResourceDiscovery(args: CreateIpamResourceDiscoveryCommandInput, cb: (err: any, data?: CreateIpamResourceDiscoveryCommandOutput) => void): void;
@@ -2362,7 +2362,7 @@ export declare class EC2 extends EC2Client {
2362
2362
  deleteIpamPool(args: DeleteIpamPoolCommandInput, cb: (err: any, data?: DeleteIpamPoolCommandOutput) => void): void;
2363
2363
  deleteIpamPool(args: DeleteIpamPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIpamPoolCommandOutput) => void): void;
2364
2364
  /**
2365
- * <p>Deletes an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
2365
+ * <p>Deletes an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
2366
2366
  */
2367
2367
  deleteIpamResourceDiscovery(args: DeleteIpamResourceDiscoveryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIpamResourceDiscoveryCommandOutput>;
2368
2368
  deleteIpamResourceDiscovery(args: DeleteIpamResourceDiscoveryCommandInput, cb: (err: any, data?: DeleteIpamResourceDiscoveryCommandOutput) => void): void;
@@ -3389,7 +3389,7 @@ export declare class EC2 extends EC2Client {
3389
3389
  describeIpamPools(args: DescribeIpamPoolsCommandInput, cb: (err: any, data?: DescribeIpamPoolsCommandOutput) => void): void;
3390
3390
  describeIpamPools(args: DescribeIpamPoolsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIpamPoolsCommandOutput) => void): void;
3391
3391
  /**
3392
- * <p>Describes IPAM resource discoveries. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
3392
+ * <p>Describes IPAM resource discoveries. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
3393
3393
  */
3394
3394
  describeIpamResourceDiscoveries(args: DescribeIpamResourceDiscoveriesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIpamResourceDiscoveriesCommandOutput>;
3395
3395
  describeIpamResourceDiscoveries(args: DescribeIpamResourceDiscoveriesCommandInput, cb: (err: any, data?: DescribeIpamResourceDiscoveriesCommandOutput) => void): void;
@@ -4384,7 +4384,7 @@ export declare class EC2 extends EC2Client {
4384
4384
  disassociateInstanceEventWindow(args: DisassociateInstanceEventWindowCommandInput, cb: (err: any, data?: DisassociateInstanceEventWindowCommandOutput) => void): void;
4385
4385
  disassociateInstanceEventWindow(args: DisassociateInstanceEventWindowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateInstanceEventWindowCommandOutput) => void): void;
4386
4386
  /**
4387
- * <p>Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
4387
+ * <p>Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
4388
4388
  */
4389
4389
  disassociateIpamResourceDiscovery(args: DisassociateIpamResourceDiscoveryCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateIpamResourceDiscoveryCommandOutput>;
4390
4390
  disassociateIpamResourceDiscovery(args: DisassociateIpamResourceDiscoveryCommandInput, cb: (err: any, data?: DisassociateIpamResourceDiscoveryCommandOutput) => void): void;
@@ -4815,7 +4815,7 @@ export declare class EC2 extends EC2Client {
4815
4815
  getIpamPoolCidrs(args: GetIpamPoolCidrsCommandInput, cb: (err: any, data?: GetIpamPoolCidrsCommandOutput) => void): void;
4816
4816
  getIpamPoolCidrs(args: GetIpamPoolCidrsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIpamPoolCidrsCommandOutput) => void): void;
4817
4817
  /**
4818
- * <p>Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
4818
+ * <p>Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
4819
4819
  */
4820
4820
  getIpamResourceCidrs(args: GetIpamResourceCidrsCommandInput, options?: __HttpHandlerOptions): Promise<GetIpamResourceCidrsCommandOutput>;
4821
4821
  getIpamResourceCidrs(args: GetIpamResourceCidrsCommandInput, cb: (err: any, data?: GetIpamResourceCidrsCommandOutput) => void): void;
@@ -5374,7 +5374,7 @@ export declare class EC2 extends EC2Client {
5374
5374
  modifyIpamResourceCidr(args: ModifyIpamResourceCidrCommandInput, cb: (err: any, data?: ModifyIpamResourceCidrCommandOutput) => void): void;
5375
5375
  modifyIpamResourceCidr(args: ModifyIpamResourceCidrCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyIpamResourceCidrCommandOutput) => void): void;
5376
5376
  /**
5377
- * <p>Modifies a resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
5377
+ * <p>Modifies a resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
5378
5378
  */
5379
5379
  modifyIpamResourceDiscovery(args: ModifyIpamResourceDiscoveryCommandInput, options?: __HttpHandlerOptions): Promise<ModifyIpamResourceDiscoveryCommandOutput>;
5380
5380
  modifyIpamResourceDiscovery(args: ModifyIpamResourceDiscoveryCommandInput, cb: (err: any, data?: ModifyIpamResourceDiscoveryCommandOutput) => void): void;
@@ -8,7 +8,7 @@ export interface AssociateIpamResourceDiscoveryCommandInput extends AssociateIpa
8
8
  export interface AssociateIpamResourceDiscoveryCommandOutput extends AssociateIpamResourceDiscoveryResult, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
11
+ * <p>Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -8,7 +8,7 @@ export interface CreateIpamResourceDiscoveryCommandInput extends CreateIpamResou
8
8
  export interface CreateIpamResourceDiscoveryCommandOutput extends CreateIpamResourceDiscoveryResult, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
11
+ * <p>Creates an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -8,7 +8,7 @@ export interface DeleteIpamResourceDiscoveryCommandInput extends DeleteIpamResou
8
8
  export interface DeleteIpamResourceDiscoveryCommandOutput extends DeleteIpamResourceDiscoveryResult, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
11
+ * <p>Deletes an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -8,7 +8,7 @@ export interface DescribeIpamResourceDiscoveriesCommandInput extends DescribeIpa
8
8
  export interface DescribeIpamResourceDiscoveriesCommandOutput extends DescribeIpamResourceDiscoveriesResult, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Describes IPAM resource discoveries. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
11
+ * <p>Describes IPAM resource discoveries. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -8,7 +8,7 @@ export interface DisassociateIpamResourceDiscoveryCommandInput extends Disassoci
8
8
  export interface DisassociateIpamResourceDiscoveryCommandOutput extends DisassociateIpamResourceDiscoveryResult, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
11
+ * <p>Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -8,7 +8,7 @@ export interface GetIpamResourceCidrsCommandInput extends GetIpamResourceCidrsRe
8
8
  export interface GetIpamResourceCidrsCommandOutput extends GetIpamResourceCidrsResult, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
11
+ * <p>Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -8,7 +8,7 @@ export interface ModifyIpamResourceDiscoveryCommandInput extends ModifyIpamResou
8
8
  export interface ModifyIpamResourceDiscoveryCommandOutput extends ModifyIpamResourceDiscoveryResult, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Modifies a resource discovery. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
11
+ * <p>Modifies a resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -664,7 +664,7 @@ export interface AcceptVpcPeeringConnectionRequest {
664
664
  * <p>The ID of the VPC peering connection. You must specify this parameter in the
665
665
  * request.</p>
666
666
  */
667
- VpcPeeringConnectionId?: string;
667
+ VpcPeeringConnectionId: string | undefined;
668
668
  }
669
669
  /**
670
670
  * <p>Describes an IPv4 CIDR block.</p>
@@ -2475,12 +2475,12 @@ export interface AssociateEnclaveCertificateIamRoleRequest {
2475
2475
  /**
2476
2476
  * <p>The ARN of the ACM certificate with which to associate the IAM role.</p>
2477
2477
  */
2478
- CertificateArn?: string;
2478
+ CertificateArn: string | undefined;
2479
2479
  /**
2480
2480
  * <p>The ARN of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM
2481
2481
  * certificate.</p>
2482
2482
  */
2483
- RoleArn?: string;
2483
+ RoleArn: string | undefined;
2484
2484
  /**
2485
2485
  * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2486
2486
  */
@@ -2993,15 +2993,15 @@ export interface AssociateTransitGatewayMulticastDomainRequest {
2993
2993
  /**
2994
2994
  * <p>The ID of the transit gateway multicast domain.</p>
2995
2995
  */
2996
- TransitGatewayMulticastDomainId?: string;
2996
+ TransitGatewayMulticastDomainId: string | undefined;
2997
2997
  /**
2998
2998
  * <p>The ID of the transit gateway attachment to associate with the transit gateway multicast domain.</p>
2999
2999
  */
3000
- TransitGatewayAttachmentId?: string;
3000
+ TransitGatewayAttachmentId: string | undefined;
3001
3001
  /**
3002
3002
  * <p>The IDs of the subnets to associate with the transit gateway multicast domain.</p>
3003
3003
  */
3004
- SubnetIds?: string[];
3004
+ SubnetIds: string[] | undefined;
3005
3005
  /**
3006
3006
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
3007
3007
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -4168,8 +4168,9 @@ export interface AuthorizeSecurityGroupIngressResult {
4168
4168
  export interface S3Storage {
4169
4169
  /**
4170
4170
  * <p>The access key ID of the owner of the bucket. Before you specify a value for your access
4171
- * key ID, review and follow the guidance in <a href="https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html">Best practices for managing
4172
- * Amazon Web Services access keys</a>.</p>
4171
+ * key ID, review and follow the guidance in <a href="https://docs.aws.amazon.com/accounts/latest/reference/best-practices.html">Best
4172
+ * Practices for Amazon Web Services accounts</a> in the <i>Account ManagementReference
4173
+ * Guide</i>.</p>
4173
4174
  */
4174
4175
  AWSAccessKeyId?: string;
4175
4176
  /**
@@ -1753,6 +1753,7 @@ export interface CreateFleetRequest {
1753
1753
  /**
1754
1754
  * <p>Indicates whether running instances should be terminated if the total target capacity of
1755
1755
  * the EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
1756
+ * <p>Supported only for fleets of type <code>maintain</code>.</p>
1756
1757
  */
1757
1758
  ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | string;
1758
1759
  /**
@@ -2784,6 +2785,11 @@ export interface EbsBlockDevice {
2784
2785
  * <p>Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For
2785
2786
  * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances">Supported instance types</a>.</p>
2786
2787
  * <p>This parameter is not returned by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute.html">DescribeImageAttribute</a>.</p>
2788
+ * <p>For <a>CreateImage</a> and <a>RegisterImage</a>, you can specify this
2789
+ * parameter only for block device mappings that result in new, empty volumes when instances are
2790
+ * launched from the image. Omit this parameter on block device mappings that include an existing
2791
+ * volume or snapshot. If you include this parameter, and specify an encryption setting that is
2792
+ * different from the existing volume or snapshot, the request will fail.</p>
2787
2793
  */
2788
2794
  Encrypted?: boolean;
2789
2795
  }
@@ -3556,7 +3562,7 @@ export declare enum IpamResourceDiscoveryState {
3556
3562
  RESTORE_IN_PROGRESS = "restore-in-progress"
3557
3563
  }
3558
3564
  /**
3559
- * <p>A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.</p>
3565
+ * <p>A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.</p>
3560
3566
  */
3561
3567
  export interface IpamResourceDiscovery {
3562
3568
  /**
@@ -4552,8 +4558,7 @@ export interface RequestLaunchTemplateData {
4552
4558
  * </p>
4553
4559
  * </li>
4554
4560
  * </ul>
4555
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems
4556
- * Manager parameter instead of an AMI ID</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
4561
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html#using-systems-manager-parameter-to-find-AMI">Use a Systems Manager parameter to find an AMI</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
4557
4562
  */
4558
4563
  ImageId?: string;
4559
4564
  /**
@@ -2713,6 +2713,9 @@ export interface CreateVolumeRequest {
2713
2713
  * </p>
2714
2714
  * </li>
2715
2715
  * </ul>
2716
+ * <important>
2717
+ * <p>Throughput Optimized HDD (<code>st1</code>) and Cold HDD (<code>sc1</code>) volumes can't be used as boot volumes.</p>
2718
+ * </important>
2716
2719
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html">Amazon EBS volume types</a> in the
2717
2720
  * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
2718
2721
  * <p>Default: <code>gp2</code>
@@ -3433,7 +3436,7 @@ export interface CreateVpcPeeringConnectionRequest {
3433
3436
  * <p>The ID of the requester VPC. You must specify this parameter in the
3434
3437
  * request.</p>
3435
3438
  */
3436
- VpcId?: string;
3439
+ VpcId: string | undefined;
3437
3440
  /**
3438
3441
  * <p>The Region code for the accepter VPC, if the accepter VPC is located in a Region
3439
3442
  * other than the Region in which you make the request.</p>
@@ -3976,6 +3976,7 @@ export interface FleetData {
3976
3976
  /**
3977
3977
  * <p>Indicates whether running instances should be terminated if the target capacity of the
3978
3978
  * EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
3979
+ * <p>Supported only for fleets of type <code>maintain</code>.</p>
3979
3980
  */
3980
3981
  ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | string;
3981
3982
  /**
@@ -5987,9 +5987,9 @@ export interface SpotFleetRequestConfigData {
5987
5987
  */
5988
5988
  ClientToken?: string;
5989
5989
  /**
5990
- * <p>Indicates whether running Spot Instances should be terminated if you decrease the
5991
- * target capacity of the Spot Fleet request below the current size of the Spot
5992
- * Fleet.</p>
5990
+ * <p>Indicates whether running instances should be terminated if you decrease the
5991
+ * target capacity of the Spot Fleet request below the current size of the Spot Fleet.</p>
5992
+ * <p>Supported only for fleets of type <code>maintain</code>.</p>
5993
5993
  */
5994
5994
  ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string;
5995
5995
  /**
@@ -1688,11 +1688,11 @@ export interface DisassociateEnclaveCertificateIamRoleRequest {
1688
1688
  /**
1689
1689
  * <p>The ARN of the ACM certificate from which to disassociate the IAM role.</p>
1690
1690
  */
1691
- CertificateArn?: string;
1691
+ CertificateArn: string | undefined;
1692
1692
  /**
1693
1693
  * <p>The ARN of the IAM role to disassociate.</p>
1694
1694
  */
1695
- RoleArn?: string;
1695
+ RoleArn: string | undefined;
1696
1696
  /**
1697
1697
  * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1698
1698
  */
@@ -1836,15 +1836,15 @@ export interface DisassociateTransitGatewayMulticastDomainRequest {
1836
1836
  /**
1837
1837
  * <p>The ID of the transit gateway multicast domain.</p>
1838
1838
  */
1839
- TransitGatewayMulticastDomainId?: string;
1839
+ TransitGatewayMulticastDomainId: string | undefined;
1840
1840
  /**
1841
1841
  * <p>The ID of the attachment.</p>
1842
1842
  */
1843
- TransitGatewayAttachmentId?: string;
1843
+ TransitGatewayAttachmentId: string | undefined;
1844
1844
  /**
1845
1845
  * <p>The IDs of the subnets;</p>
1846
1846
  */
1847
- SubnetIds?: string[];
1847
+ SubnetIds: string[] | undefined;
1848
1848
  /**
1849
1849
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
1850
1850
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -2630,7 +2630,7 @@ export interface GetAssociatedEnclaveCertificateIamRolesRequest {
2630
2630
  * <p>The ARN of the ACM certificate for which to view the associated IAM roles, encryption keys, and Amazon
2631
2631
  * S3 object information.</p>
2632
2632
  */
2633
- CertificateArn?: string;
2633
+ CertificateArn: string | undefined;
2634
2634
  /**
2635
2635
  * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2636
2636
  */
@@ -4476,7 +4476,7 @@ export interface GetTransitGatewayMulticastDomainAssociationsRequest {
4476
4476
  /**
4477
4477
  * <p>The ID of the transit gateway multicast domain.</p>
4478
4478
  */
4479
- TransitGatewayMulticastDomainId?: string;
4479
+ TransitGatewayMulticastDomainId: string | undefined;
4480
4480
  /**
4481
4481
  * <p>One or more filters. The possible values are:</p>
4482
4482
  * <ul>
@@ -311,6 +311,7 @@ export interface ModifyFleetRequest {
311
311
  /**
312
312
  * <p>Indicates whether running instances should be terminated if the total target capacity of
313
313
  * the EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
314
+ * <p>Supported only for fleets of type <code>maintain</code>.</p>
314
315
  */
315
316
  ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | string;
316
317
  /**
@@ -802,7 +803,7 @@ export interface InstanceCreditSpecificationRequest {
802
803
  /**
803
804
  * <p>The ID of the instance.</p>
804
805
  */
805
- InstanceId?: string;
806
+ InstanceId: string | undefined;
806
807
  /**
807
808
  * <p>The credit option for CPU usage of the instance.</p>
808
809
  * <p>Valid values: <code>standard</code> | <code>unlimited</code>
@@ -1519,7 +1520,7 @@ export interface ModifyPrivateDnsNameOptionsRequest {
1519
1520
  /**
1520
1521
  * <p>The ID of the instance.</p>
1521
1522
  */
1522
- InstanceId?: string;
1523
+ InstanceId: string | undefined;
1523
1524
  /**
1524
1525
  * <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name
1525
1526
  * must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name
@@ -1640,7 +1641,7 @@ export interface SecurityGroupRuleUpdate {
1640
1641
  /**
1641
1642
  * <p>The ID of the security group rule.</p>
1642
1643
  */
1643
- SecurityGroupRuleId?: string;
1644
+ SecurityGroupRuleId: string | undefined;
1644
1645
  /**
1645
1646
  * <p>Information about the security group rule.</p>
1646
1647
  */
@@ -1747,8 +1748,9 @@ export interface ModifySnapshotTierResult {
1747
1748
  */
1748
1749
  export interface ModifySpotFleetRequestRequest {
1749
1750
  /**
1750
- * <p>Indicates whether running Spot Instances should be terminated if the target capacity
1751
+ * <p>Indicates whether running instances should be terminated if the target capacity
1751
1752
  * of the Spot Fleet request is decreased below the current size of the Spot Fleet.</p>
1753
+ * <p>Supported only for fleets of type <code>maintain</code>.</p>
1752
1754
  */
1753
1755
  ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string;
1754
1756
  /**
@@ -3764,7 +3766,7 @@ export interface RegisterTransitGatewayMulticastGroupMembersRequest {
3764
3766
  /**
3765
3767
  * <p>The ID of the transit gateway multicast domain.</p>
3766
3768
  */
3767
- TransitGatewayMulticastDomainId?: string;
3769
+ TransitGatewayMulticastDomainId: string | undefined;
3768
3770
  /**
3769
3771
  * <p>The IP address assigned to the transit gateway multicast group.</p>
3770
3772
  */
@@ -3772,7 +3774,7 @@ export interface RegisterTransitGatewayMulticastGroupMembersRequest {
3772
3774
  /**
3773
3775
  * <p>The group members' network interface IDs to register with the transit gateway multicast group.</p>
3774
3776
  */
3775
- NetworkInterfaceIds?: string[];
3777
+ NetworkInterfaceIds: string[] | undefined;
3776
3778
  /**
3777
3779
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
3778
3780
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -3807,7 +3809,7 @@ export interface RegisterTransitGatewayMulticastGroupSourcesRequest {
3807
3809
  /**
3808
3810
  * <p>The ID of the transit gateway multicast domain.</p>
3809
3811
  */
3810
- TransitGatewayMulticastDomainId?: string;
3812
+ TransitGatewayMulticastDomainId: string | undefined;
3811
3813
  /**
3812
3814
  * <p>The IP address assigned to the transit gateway multicast group.</p>
3813
3815
  */
@@ -3815,7 +3817,7 @@ export interface RegisterTransitGatewayMulticastGroupSourcesRequest {
3815
3817
  /**
3816
3818
  * <p>The group sources' network interface IDs to register with the transit gateway multicast group.</p>
3817
3819
  */
3818
- NetworkInterfaceIds?: string[];
3820
+ NetworkInterfaceIds: string[] | undefined;
3819
3821
  /**
3820
3822
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
3821
3823
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -5919,7 +5921,7 @@ export interface SearchTransitGatewayMulticastGroupsRequest {
5919
5921
  /**
5920
5922
  * <p>The ID of the transit gateway multicast domain.</p>
5921
5923
  */
5922
- TransitGatewayMulticastDomainId?: string;
5924
+ TransitGatewayMulticastDomainId: string | undefined;
5923
5925
  /**
5924
5926
  * <p>One or more filters. The possible values are:</p>
5925
5927
  * <ul>
@@ -305,7 +305,7 @@ export interface AcceptVpcEndpointConnectionsResult {
305
305
  }
306
306
  export interface AcceptVpcPeeringConnectionRequest {
307
307
  DryRun?: boolean;
308
- VpcPeeringConnectionId?: string;
308
+ VpcPeeringConnectionId: string | undefined;
309
309
  }
310
310
  export interface CidrBlock {
311
311
  CidrBlock?: string;
@@ -875,8 +875,8 @@ export interface AssociateDhcpOptionsRequest {
875
875
  DryRun?: boolean;
876
876
  }
877
877
  export interface AssociateEnclaveCertificateIamRoleRequest {
878
- CertificateArn?: string;
879
- RoleArn?: string;
878
+ CertificateArn: string | undefined;
879
+ RoleArn: string | undefined;
880
880
  DryRun?: boolean;
881
881
  }
882
882
  export interface AssociateEnclaveCertificateIamRoleResult {
@@ -1055,9 +1055,9 @@ export interface AssociateSubnetCidrBlockResult {
1055
1055
  SubnetId?: string;
1056
1056
  }
1057
1057
  export interface AssociateTransitGatewayMulticastDomainRequest {
1058
- TransitGatewayMulticastDomainId?: string;
1059
- TransitGatewayAttachmentId?: string;
1060
- SubnetIds?: string[];
1058
+ TransitGatewayMulticastDomainId: string | undefined;
1059
+ TransitGatewayAttachmentId: string | undefined;
1060
+ SubnetIds: string[] | undefined;
1061
1061
  DryRun?: boolean;
1062
1062
  }
1063
1063
  export interface AssociateTransitGatewayMulticastDomainResult {
@@ -1110,7 +1110,7 @@ export interface CreateVpcPeeringConnectionRequest {
1110
1110
  DryRun?: boolean;
1111
1111
  PeerOwnerId?: string;
1112
1112
  PeerVpcId?: string;
1113
- VpcId?: string;
1113
+ VpcId: string | undefined;
1114
1114
  PeerRegion?: string;
1115
1115
  TagSpecifications?: TagSpecification[];
1116
1116
  }
@@ -477,8 +477,8 @@ export interface DisassociateClientVpnTargetNetworkResult {
477
477
  Status?: AssociationStatus;
478
478
  }
479
479
  export interface DisassociateEnclaveCertificateIamRoleRequest {
480
- CertificateArn?: string;
481
- RoleArn?: string;
480
+ CertificateArn: string | undefined;
481
+ RoleArn: string | undefined;
482
482
  DryRun?: boolean;
483
483
  }
484
484
  export interface DisassociateEnclaveCertificateIamRoleResult {
@@ -532,9 +532,9 @@ export interface DisassociateSubnetCidrBlockResult {
532
532
  SubnetId?: string;
533
533
  }
534
534
  export interface DisassociateTransitGatewayMulticastDomainRequest {
535
- TransitGatewayMulticastDomainId?: string;
536
- TransitGatewayAttachmentId?: string;
537
- SubnetIds?: string[];
535
+ TransitGatewayMulticastDomainId: string | undefined;
536
+ TransitGatewayAttachmentId: string | undefined;
537
+ SubnetIds: string[] | undefined;
538
538
  DryRun?: boolean;
539
539
  }
540
540
  export interface DisassociateTransitGatewayMulticastDomainResult {
@@ -775,7 +775,7 @@ export interface ExportTransitGatewayRoutesResult {
775
775
  S3Location?: string;
776
776
  }
777
777
  export interface GetAssociatedEnclaveCertificateIamRolesRequest {
778
- CertificateArn?: string;
778
+ CertificateArn: string | undefined;
779
779
  DryRun?: boolean;
780
780
  }
781
781
  export interface AssociatedRole {
@@ -1323,7 +1323,7 @@ export interface GetTransitGatewayAttachmentPropagationsResult {
1323
1323
  NextToken?: string;
1324
1324
  }
1325
1325
  export interface GetTransitGatewayMulticastDomainAssociationsRequest {
1326
- TransitGatewayMulticastDomainId?: string;
1326
+ TransitGatewayMulticastDomainId: string | undefined;
1327
1327
  Filters?: Filter[];
1328
1328
  MaxResults?: number;
1329
1329
  NextToken?: string;
@@ -340,7 +340,7 @@ export interface ModifyInstanceCapacityReservationAttributesResult {
340
340
  Return?: boolean;
341
341
  }
342
342
  export interface InstanceCreditSpecificationRequest {
343
- InstanceId?: string;
343
+ InstanceId: string | undefined;
344
344
  CpuCredits?: string;
345
345
  }
346
346
  export interface ModifyInstanceCreditSpecificationRequest {
@@ -538,7 +538,7 @@ export interface ModifyNetworkInterfaceAttributeRequest {
538
538
  }
539
539
  export interface ModifyPrivateDnsNameOptionsRequest {
540
540
  DryRun?: boolean;
541
- InstanceId?: string;
541
+ InstanceId: string | undefined;
542
542
  PrivateDnsHostnameType?: HostnameType | string;
543
543
  EnableResourceNameDnsARecord?: boolean;
544
544
  EnableResourceNameDnsAAAARecord?: boolean;
@@ -565,7 +565,7 @@ export interface SecurityGroupRuleRequest {
565
565
  Description?: string;
566
566
  }
567
567
  export interface SecurityGroupRuleUpdate {
568
- SecurityGroupRuleId?: string;
568
+ SecurityGroupRuleId: string | undefined;
569
569
  SecurityGroupRule?: SecurityGroupRuleRequest;
570
570
  }
571
571
  export interface ModifySecurityGroupRulesRequest {
@@ -1152,9 +1152,9 @@ export interface RegisterInstanceEventNotificationAttributesResult {
1152
1152
  InstanceTagAttribute?: InstanceTagNotificationAttribute;
1153
1153
  }
1154
1154
  export interface RegisterTransitGatewayMulticastGroupMembersRequest {
1155
- TransitGatewayMulticastDomainId?: string;
1155
+ TransitGatewayMulticastDomainId: string | undefined;
1156
1156
  GroupIpAddress?: string;
1157
- NetworkInterfaceIds?: string[];
1157
+ NetworkInterfaceIds: string[] | undefined;
1158
1158
  DryRun?: boolean;
1159
1159
  }
1160
1160
  export interface TransitGatewayMulticastRegisteredGroupMembers {
@@ -1166,9 +1166,9 @@ export interface RegisterTransitGatewayMulticastGroupMembersResult {
1166
1166
  RegisteredMulticastGroupMembers?: TransitGatewayMulticastRegisteredGroupMembers;
1167
1167
  }
1168
1168
  export interface RegisterTransitGatewayMulticastGroupSourcesRequest {
1169
- TransitGatewayMulticastDomainId?: string;
1169
+ TransitGatewayMulticastDomainId: string | undefined;
1170
1170
  GroupIpAddress?: string;
1171
- NetworkInterfaceIds?: string[];
1171
+ NetworkInterfaceIds: string[] | undefined;
1172
1172
  DryRun?: boolean;
1173
1173
  }
1174
1174
  export interface TransitGatewayMulticastRegisteredGroupSources {
@@ -1688,7 +1688,7 @@ export interface SearchLocalGatewayRoutesResult {
1688
1688
  NextToken?: string;
1689
1689
  }
1690
1690
  export interface SearchTransitGatewayMulticastGroupsRequest {
1691
- TransitGatewayMulticastDomainId?: string;
1691
+ TransitGatewayMulticastDomainId: string | undefined;
1692
1692
  Filters?: Filter[];
1693
1693
  MaxResults?: number;
1694
1694
  NextToken?: string;
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.262.0",
4
+ "version": "3.266.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.262.0",
24
- "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.261.0",
26
- "@aws-sdk/fetch-http-handler": "3.257.0",
27
- "@aws-sdk/hash-node": "3.257.0",
28
- "@aws-sdk/invalid-dependency": "3.257.0",
29
- "@aws-sdk/middleware-content-length": "3.257.0",
30
- "@aws-sdk/middleware-endpoint": "3.257.0",
31
- "@aws-sdk/middleware-host-header": "3.257.0",
32
- "@aws-sdk/middleware-logger": "3.257.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.257.0",
34
- "@aws-sdk/middleware-retry": "3.259.0",
35
- "@aws-sdk/middleware-sdk-ec2": "3.257.0",
36
- "@aws-sdk/middleware-serde": "3.257.0",
37
- "@aws-sdk/middleware-signing": "3.257.0",
38
- "@aws-sdk/middleware-stack": "3.257.0",
39
- "@aws-sdk/middleware-user-agent": "3.257.0",
40
- "@aws-sdk/node-config-provider": "3.259.0",
41
- "@aws-sdk/node-http-handler": "3.257.0",
42
- "@aws-sdk/protocol-http": "3.257.0",
43
- "@aws-sdk/smithy-client": "3.261.0",
44
- "@aws-sdk/types": "3.257.0",
45
- "@aws-sdk/url-parser": "3.257.0",
23
+ "@aws-sdk/client-sts": "3.266.0",
24
+ "@aws-sdk/config-resolver": "3.266.0",
25
+ "@aws-sdk/credential-provider-node": "3.266.0",
26
+ "@aws-sdk/fetch-http-handler": "3.266.0",
27
+ "@aws-sdk/hash-node": "3.266.0",
28
+ "@aws-sdk/invalid-dependency": "3.266.0",
29
+ "@aws-sdk/middleware-content-length": "3.266.0",
30
+ "@aws-sdk/middleware-endpoint": "3.266.0",
31
+ "@aws-sdk/middleware-host-header": "3.266.0",
32
+ "@aws-sdk/middleware-logger": "3.266.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.266.0",
34
+ "@aws-sdk/middleware-retry": "3.266.0",
35
+ "@aws-sdk/middleware-sdk-ec2": "3.266.0",
36
+ "@aws-sdk/middleware-serde": "3.266.0",
37
+ "@aws-sdk/middleware-signing": "3.266.0",
38
+ "@aws-sdk/middleware-stack": "3.266.0",
39
+ "@aws-sdk/middleware-user-agent": "3.266.0",
40
+ "@aws-sdk/node-config-provider": "3.266.0",
41
+ "@aws-sdk/node-http-handler": "3.266.0",
42
+ "@aws-sdk/protocol-http": "3.266.0",
43
+ "@aws-sdk/smithy-client": "3.266.0",
44
+ "@aws-sdk/types": "3.266.0",
45
+ "@aws-sdk/url-parser": "3.266.0",
46
46
  "@aws-sdk/util-base64": "3.208.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.188.0",
48
48
  "@aws-sdk/util-body-length-node": "3.208.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.261.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.261.0",
51
- "@aws-sdk/util-endpoints": "3.257.0",
52
- "@aws-sdk/util-retry": "3.257.0",
53
- "@aws-sdk/util-user-agent-browser": "3.257.0",
54
- "@aws-sdk/util-user-agent-node": "3.259.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.266.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.266.0",
51
+ "@aws-sdk/util-endpoints": "3.266.0",
52
+ "@aws-sdk/util-retry": "3.266.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.266.0",
54
+ "@aws-sdk/util-user-agent-node": "3.266.0",
55
55
  "@aws-sdk/util-utf8": "3.254.0",
56
- "@aws-sdk/util-waiter": "3.257.0",
56
+ "@aws-sdk/util-waiter": "3.266.0",
57
57
  "fast-xml-parser": "4.0.11",
58
58
  "tslib": "^2.3.1",
59
59
  "uuid": "^8.3.2"