@aws-sdk/client-ec2 3.370.0 → 3.373.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.
- package/dist-cjs/commands/RunScheduledInstancesCommand.js +2 -2
- package/dist-cjs/models/models_4.js +6 -2
- package/dist-cjs/models/models_5.js +1 -6
- package/dist-cjs/models/models_6.js +7 -12
- package/dist-cjs/models/models_7.js +11 -1
- package/dist-cjs/protocols/Aws_ec2.js +23 -0
- package/dist-es/commands/RunScheduledInstancesCommand.js +1 -1
- package/dist-es/models/models_4.js +4 -0
- package/dist-es/models/models_5.js +0 -4
- package/dist-es/models/models_6.js +4 -8
- package/dist-es/models/models_7.js +8 -0
- package/dist-es/protocols/Aws_ec2.js +23 -0
- package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +2 -1
- package/dist-types/commands/AssociateDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +3 -2
- package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
- package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +2 -2
- package/dist-types/commands/AttachInternetGatewayCommand.d.ts +3 -2
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +0 -3
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -2
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -11
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +0 -10
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +2 -2
- package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +3 -3
- package/dist-types/commands/CreateInternetGatewayCommand.d.ts +2 -1
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -2
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +2 -1
- package/dist-types/commands/CreateRouteCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +6 -5
- package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcCommand.d.ts +4 -4
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +4 -4
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -6
- package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +0 -9
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +3 -3
- package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +2 -2
- package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +4 -2
- package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +4 -3
- package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +5 -6
- package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +6 -5
- package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +2 -3
- package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +2 -3
- package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +5 -0
- package/dist-types/commands/ImportInstanceCommand.d.ts +11 -4
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -16
- package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -2
- package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +2 -2
- package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
- package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +2 -3
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +3 -5
- package/dist-types/commands/RunScheduledInstancesCommand.d.ts +1 -2
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +24 -32
- package/dist-types/models/models_1.d.ts +85 -30
- package/dist-types/models/models_2.d.ts +8 -11
- package/dist-types/models/models_3.d.ts +12 -15
- package/dist-types/models/models_4.d.ts +63 -66
- package/dist-types/models/models_5.d.ts +60 -60
- package/dist-types/models/models_6.d.ts +71 -140
- package/dist-types/models/models_7.d.ts +112 -7
- package/dist-types/ts3.4/commands/RunScheduledInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_4.d.ts +11 -12
- package/dist-types/ts3.4/models/models_5.d.ts +13 -16
- package/dist-types/ts3.4/models/models_6.d.ts +14 -31
- package/dist-types/ts3.4/models/models_7.d.ts +37 -1
- package/package.json +1 -1
|
@@ -23,17 +23,17 @@ export interface CreateVpcCommandOutput extends CreateVpcResult, __MetadataBeare
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a VPC with the specified CIDR blocks. For more information, see
|
|
27
|
-
*
|
|
26
|
+
* <p>Creates a VPC with the specified CIDR blocks. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html">IP addressing for your VPCs and subnets</a> in the
|
|
27
|
+
* <i>Amazon VPC User Guide</i>.</p>
|
|
28
28
|
* <p>You can optionally request an IPv6 CIDR block for the VPC. You can request an Amazon-provided
|
|
29
29
|
* IPv6 CIDR block from Amazon's pool of IPv6 addresses, or an IPv6 CIDR block from an IPv6 address
|
|
30
30
|
* pool that you provisioned through bring your own IP addresses (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">BYOIP</a>).</p>
|
|
31
31
|
* <p>By default, each instance that you launch in the VPC has the default DHCP options, which
|
|
32
32
|
* include only a default DNS server that we provide (AmazonProvidedDNS). For more
|
|
33
|
-
* information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP option sets</a> in the <i>Amazon
|
|
33
|
+
* information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP option sets</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
34
34
|
* <p>You can specify the instance tenancy value for the VPC when you create it. You can't change
|
|
35
35
|
* this value for the VPC after you create it. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html">Dedicated Instances</a> in the
|
|
36
|
-
* <i>Amazon
|
|
36
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
37
37
|
* @example
|
|
38
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
39
|
* ```javascript
|
|
@@ -23,10 +23,10 @@ export interface CreateVpcEndpointCommandOutput extends CreateVpcEndpointResult,
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a VPC endpoint
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* see the <a href="https://docs.aws.amazon.com/vpc/latest/privatelink/">Amazon Web Services PrivateLink Guide</a>.</p>
|
|
26
|
+
* <p>Creates a VPC endpoint. A VPC endpoint provides a private connection between the
|
|
27
|
+
* specified VPC and the specified endpoint service. You can use an endpoint service
|
|
28
|
+
* provided by Amazon Web Services, an Amazon Web Services Marketplace Partner, or another
|
|
29
|
+
* Amazon Web Services account. For more information, see the <a href="https://docs.aws.amazon.com/vpc/latest/privatelink/">Amazon Web Services PrivateLink User Guide</a>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -24,13 +24,9 @@ export interface DeleteSecurityGroupCommandOutput extends __MetadataBearer {
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deletes a security group.</p>
|
|
27
|
-
* <p>If you attempt to delete a security group that is associated with an instance
|
|
27
|
+
* <p>If you attempt to delete a security group that is associated with an instance or network interface or is
|
|
28
28
|
* referenced by another security group, the operation fails with
|
|
29
|
-
* <code>
|
|
30
|
-
* <code>DependencyViolation</code> in EC2-VPC.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
33
|
-
* </note>
|
|
29
|
+
* <code>DependencyViolation</code>.</p>
|
|
34
30
|
* @example
|
|
35
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
32
|
* ```javascript
|
|
@@ -23,12 +23,12 @@ export interface DescribeClassicLinkInstancesCommandOutput extends DescribeClass
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This action is deprecated.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Describes one or more of your linked EC2-Classic instances. This request only returns
|
|
27
30
|
* information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot
|
|
28
31
|
* use this request to return information about other instances.</p>
|
|
29
|
-
* <note>
|
|
30
|
-
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
31
|
-
* </note>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -25,7 +25,7 @@ export interface DescribeDhcpOptionsCommandOutput extends DescribeDhcpOptionsRes
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Describes one or more of your DHCP options sets.</p>
|
|
27
27
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP options sets</a> in the
|
|
28
|
-
* <i>Amazon
|
|
28
|
+
* <i>Amazon VPC User Guide</i>.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -186,6 +186,12 @@ export interface DescribeInstanceTypesCommandOutput extends DescribeInstanceType
|
|
|
186
186
|
* // "legacy-bios" || "uefi",
|
|
187
187
|
* // ],
|
|
188
188
|
* // NitroEnclavesSupport: "unsupported" || "supported",
|
|
189
|
+
* // NitroTpmSupport: "unsupported" || "supported",
|
|
190
|
+
* // NitroTpmInfo: { // NitroTpmInfo
|
|
191
|
+
* // SupportedVersions: [ // NitroTpmSupportedVersionsList
|
|
192
|
+
* // "STRING_VALUE",
|
|
193
|
+
* // ],
|
|
194
|
+
* // },
|
|
189
195
|
* // },
|
|
190
196
|
* // ],
|
|
191
197
|
* // NextToken: "STRING_VALUE",
|
|
@@ -24,8 +24,8 @@ export interface DescribeNetworkAclsCommandOutput extends DescribeNetworkAclsRes
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Describes one or more of your network ACLs.</p>
|
|
27
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
28
|
-
* <i>Amazon
|
|
27
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html">Network ACLs</a> in the
|
|
28
|
+
* <i>Amazon VPC User Guide</i>.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -26,7 +26,7 @@ export interface DescribeRouteTablesCommandOutput extends DescribeRouteTablesRes
|
|
|
26
26
|
* <p>Describes one or more of your route tables.</p>
|
|
27
27
|
* <p>Each subnet in your VPC must be associated with a route table. If a subnet is not explicitly associated with any route table, it is implicitly associated with the main route table. This command does not return the subnet ID for implicit associations.</p>
|
|
28
28
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
|
|
29
|
-
* <i>Amazon
|
|
29
|
+
* <i>Amazon VPC User Guide</i>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface DescribeSecurityGroupReferencesCommandOutput extends DescribeSe
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p>Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -24,15 +24,6 @@ export interface DescribeSecurityGroupsCommandOutput extends DescribeSecurityGro
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Describes the specified security groups or all of your security groups.</p>
|
|
27
|
-
* <p>A security group is for use with instances either in the EC2-Classic platform
|
|
28
|
-
* or in a specific VPC. For more information, see
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html">Amazon EC2 security groups</a> in
|
|
30
|
-
* the <i>Amazon Elastic Compute Cloud User Guide</i> and
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Security groups for your VPC</a> in the
|
|
32
|
-
* <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
33
|
-
* <note>
|
|
34
|
-
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
35
|
-
* </note>
|
|
36
27
|
* @example
|
|
37
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
29
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface DescribeStaleSecurityGroupsCommandOutput extends DescribeStaleS
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p>Describes the stale security group rules for security groups in a specified VPC.
|
|
27
27
|
* Rules are stale when they reference a deleted security group in the same VPC or in a peer VPC,
|
|
28
28
|
* or if they reference a security group in a peer VPC for which the VPC peering connection has
|
|
29
29
|
* been deleted.</p>
|
|
@@ -24,8 +24,8 @@ export interface DescribeSubnetsCommandOutput extends DescribeSubnetsResult, __M
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Describes one or more of your subnets.</p>
|
|
27
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
28
|
-
* <i>Amazon
|
|
27
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html">Subnets</a> in the
|
|
28
|
+
* <i>Amazon VPC User Guide</i>.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -23,10 +23,10 @@ export interface DescribeVpcClassicLinkCommandOutput extends DescribeVpcClassicL
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
27
|
-
*
|
|
28
|
-
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This action is deprecated.</p>
|
|
29
28
|
* </note>
|
|
29
|
+
* <p>Describes the ClassicLink status of the specified VPCs.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -24,13 +24,13 @@ export interface DescribeVpcClassicLinkDnsSupportCommandOutput extends DescribeV
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <note>
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>This action is deprecated.</p>
|
|
28
28
|
* </note>
|
|
29
29
|
* <p>Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS
|
|
30
30
|
* hostname of a linked EC2-Classic instance resolves to its private IP address when
|
|
31
31
|
* addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname
|
|
32
32
|
* of an instance in a VPC resolves to its private IP address when addressed from a linked
|
|
33
|
-
* EC2-Classic instance
|
|
33
|
+
* EC2-Classic instance.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -24,9 +24,11 @@ export interface DetachClassicLinkVpcCommandOutput extends DetachClassicLinkVpcR
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <note>
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>This action is deprecated.</p>
|
|
28
28
|
* </note>
|
|
29
|
-
* <p>Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked,
|
|
29
|
+
* <p>Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked,
|
|
30
|
+
* the VPC security groups are no longer associated with it. An instance is automatically unlinked from
|
|
31
|
+
* a VPC when it's stopped.</p>
|
|
30
32
|
* @example
|
|
31
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
34
|
* ```javascript
|
|
@@ -23,10 +23,11 @@ export interface DisableVpcClassicLinkCommandOutput extends DisableVpcClassicLin
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
27
|
-
*
|
|
28
|
-
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This action is deprecated.</p>
|
|
29
28
|
* </note>
|
|
29
|
+
* <p>Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances
|
|
30
|
+
* linked to it.</p>
|
|
30
31
|
* @example
|
|
31
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
33
|
* ```javascript
|
|
@@ -23,14 +23,13 @@ export interface DisableVpcClassicLinkDnsSupportCommandOutput extends DisableVpc
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This action is deprecated.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to
|
|
27
30
|
* public IP addresses when addressed between a linked EC2-Classic instance and instances
|
|
28
|
-
* in the VPC to which it's linked
|
|
29
|
-
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
31
|
+
* in the VPC to which it's linked.</p>
|
|
30
32
|
* <p>You must specify a VPC ID in the request.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
33
|
-
* </note>
|
|
34
33
|
* @example
|
|
35
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
35
|
* ```javascript
|
|
@@ -23,13 +23,14 @@ export interface DisassociateNatGatewayAddressCommandOutput extends Disassociate
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway.
|
|
26
|
+
* <p>Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway.
|
|
27
|
+
* You cannot disassociate your primary EIP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
27
28
|
* <p>While disassociating is in progress, you cannot associate/disassociate additional EIPs while the connections are being drained. You are, however, allowed to delete the NAT gateway.</p>
|
|
28
|
-
* <p>An EIP
|
|
29
|
-
* associated and
|
|
29
|
+
* <p>An EIP is released only at the end of MaxDrainDurationSeconds. It stays
|
|
30
|
+
* associated and supports the existing connections but does not support any new connections
|
|
30
31
|
* (new connections are distributed across the remaining associated EIPs). As the existing
|
|
31
|
-
* connections drain out, the EIPs (and the corresponding private
|
|
32
|
-
* released.</p>
|
|
32
|
+
* connections drain out, the EIPs (and the corresponding private IP addresses mapped to them)
|
|
33
|
+
* are released.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
36
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ export interface DisassociateRouteTableCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* <p>After you perform this action, the subnet no longer uses the routes in the route table.
|
|
28
28
|
* Instead, it uses the routes in the VPC's main route table. For more information
|
|
29
29
|
* about route tables, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route
|
|
30
|
-
* tables</a> in the <i>Amazon
|
|
30
|
+
* tables</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -24,15 +24,14 @@ export interface EnableVpcClassicLinkCommandOutput extends EnableVpcClassicLinkR
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <note>
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>This action is deprecated.</p>
|
|
28
28
|
* </note>
|
|
29
29
|
* <p>Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your
|
|
30
30
|
* ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot
|
|
31
31
|
* enable your VPC for ClassicLink if any of your VPC route tables have existing routes for
|
|
32
32
|
* address ranges within the <code>10.0.0.0/8</code> IP address range, excluding local
|
|
33
33
|
* routes for VPCs in the <code>10.0.0.0/16</code> and <code>10.1.0.0/16</code> IP address
|
|
34
|
-
* ranges
|
|
35
|
-
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
34
|
+
* ranges.</p>
|
|
36
35
|
* @example
|
|
37
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
37
|
* ```javascript
|
|
@@ -24,14 +24,13 @@ export interface EnableVpcClassicLinkDnsSupportCommandOutput extends EnableVpcCl
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <note>
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>This action is deprecated.</p>
|
|
28
28
|
* </note>
|
|
29
29
|
* <p>Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS
|
|
30
30
|
* hostname of a linked EC2-Classic instance resolves to its private IP address when
|
|
31
31
|
* addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname
|
|
32
32
|
* of an instance in a VPC resolves to its private IP address when addressed from a linked
|
|
33
|
-
* EC2-Classic instance
|
|
34
|
-
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
33
|
+
* EC2-Classic instance.</p>
|
|
35
34
|
* <p>You must specify a VPC ID in the request.</p>
|
|
36
35
|
* @example
|
|
37
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -41,6 +41,11 @@ export interface GetFlowLogsIntegrationTemplateCommandOutput extends GetFlowLogs
|
|
|
41
41
|
* <p>Create a set of named queries in Athena that you can use to get started quickly</p>
|
|
42
42
|
* </li>
|
|
43
43
|
* </ul>
|
|
44
|
+
* <note>
|
|
45
|
+
* <p>
|
|
46
|
+
* <code>GetFlowLogsIntegrationTemplate</code> does not support integration between
|
|
47
|
+
* Amazon Web Services Transit Gateway Flow Logs and Amazon Athena.</p>
|
|
48
|
+
* </note>
|
|
44
49
|
* @example
|
|
45
50
|
* Use a bare-bones client and the command you need to make an API call.
|
|
46
51
|
* ```javascript
|
|
@@ -23,12 +23,19 @@ export interface ImportInstanceCommandOutput extends ImportInstanceResult, __Met
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>We recommend that you use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportImage.html">
|
|
28
|
+
* <code>ImportImage</code>
|
|
29
|
+
* </a>
|
|
30
|
+
* API. For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html">Importing a VM as an image using VM
|
|
31
|
+
* Import/Export</a> in the <i>VM Import/Export User Guide</i>.</p>
|
|
32
|
+
* </note>
|
|
33
|
+
* <p>Creates an import instance task using metadata from the specified disk image.</p>
|
|
34
|
+
* <p>This API action is not supported by the Command Line Interface (CLI). For
|
|
35
|
+
* information about using the Amazon EC2 CLI, which is deprecated, see <a href="https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#UsingVirtualMachinesinAmazonEC2">Importing
|
|
36
|
+
* a VM to Amazon EC2</a> in the <i>Amazon EC2 CLI Reference</i> PDF file.</p>
|
|
27
37
|
* <p>This API action supports only single-volume VMs. To import multi-volume VMs, use <a>ImportImage</a>
|
|
28
38
|
* instead.</p>
|
|
29
|
-
* <p>This API action is not supported by the Command Line Interface (CLI). For
|
|
30
|
-
* information about using the Amazon EC2 CLI, which is deprecated, see
|
|
31
|
-
* <a href="https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#UsingVirtualMachinesinAmazonEC2">Importing a VM to Amazon EC2</a> in the <i>Amazon EC2 CLI Reference</i> PDF file.</p>
|
|
32
39
|
* <p>For information about the import manifest referenced by this API action, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html">VM Import Manifest</a>.</p>
|
|
33
40
|
* @example
|
|
34
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -23,22 +23,7 @@ export interface ModifyVpcPeeringConnectionOptionsCommandOutput extends ModifyVp
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
27
|
-
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
28
|
-
* </note>
|
|
29
|
-
* <p>Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:</p>
|
|
30
|
-
* <ul>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Enable/disable communication over the peering connection between an EC2-Classic instance that's linked to your VPC (using ClassicLink) and instances in the peer VPC.</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>Enable/disable communication over the peering connection between instances in your VPC and an EC2-Classic instance that's linked to the peer VPC.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Enable/disable the ability to resolve public DNS hostnames to private IP
|
|
39
|
-
* addresses when queried from instances in the peer VPC.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* </ul>
|
|
26
|
+
* <p>Modifies the VPC peering connection options on one side of a VPC peering connection.</p>
|
|
42
27
|
* <p>If the peered VPCs are in the same Amazon Web Services account, you can enable DNS
|
|
43
28
|
* resolution for queries from the local VPC. This ensures that queries from the local VPC
|
|
44
29
|
* resolve to private IP addresses in the peer VPC. This option is not available if the
|
|
@@ -30,7 +30,7 @@ export interface ModifyVpcTenancyCommandOutput extends ModifyVpcTenancyResult, _
|
|
|
30
30
|
* VPC have a tenancy of <code>default</code>, unless you specify otherwise during launch.
|
|
31
31
|
* The tenancy of any existing instances in the VPC is not affected.</p>
|
|
32
32
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html">Dedicated Instances</a> in the
|
|
33
|
-
* <i>Amazon
|
|
33
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface ReleaseIpamPoolAllocationCommandOutput extends ReleaseIpamPoolA
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Release an allocation within an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations. You can only use this action to release manual allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyIpamResourceCidr.html">ModifyIpamResourceCidr</a>. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/release-
|
|
26
|
+
* <p>Release an allocation within an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations. You can only use this action to release manual allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyIpamResourceCidr.html">ModifyIpamResourceCidr</a>. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/release-alloc-ipam.html">Release an allocation</a> in the <i>Amazon VPC IPAM User Guide</i>.
|
|
27
27
|
* </p>
|
|
28
28
|
* <note>
|
|
29
29
|
* <p>All EC2 API actions follow an <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#eventual-consistency">eventual consistency</a> model.</p>
|
|
@@ -25,8 +25,7 @@ export interface ReplaceNetworkAclAssociationCommandOutput extends ReplaceNetwor
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Changes which network ACL a subnet is associated with. By default when you create a
|
|
27
27
|
* subnet, it's automatically associated with the default network ACL. For more
|
|
28
|
-
* information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
29
|
-
* ACLs</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
28
|
+
* information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html">Network ACLs</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
30
29
|
* <p>This is an idempotent operation.</p>
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -23,8 +23,8 @@ export interface ReplaceNetworkAclEntryCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Replaces an entry (rule) in a network ACL. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
27
|
-
* <i>Amazon
|
|
26
|
+
* <p>Replaces an entry (rule) in a network ACL. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html">Network ACLs</a> in the
|
|
27
|
+
* <i>Amazon VPC User Guide</i>.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -28,7 +28,7 @@ export interface ReplaceRouteCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* exactly one of the resources from the parameter list, or reset the local route to its default
|
|
29
29
|
* target.</p>
|
|
30
30
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
|
|
31
|
-
* <i>Amazon
|
|
31
|
+
* <i>Amazon VPC User Guide</i>.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -26,7 +26,7 @@ export interface ReplaceRouteTableAssociationCommandOutput extends ReplaceRouteT
|
|
|
26
26
|
* <p>Changes the route table associated with a given subnet, internet gateway, or virtual private gateway in a VPC. After the operation
|
|
27
27
|
* completes, the subnet or gateway uses the routes in the new route table. For more
|
|
28
28
|
* information about route tables, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route
|
|
29
|
-
* tables</a> in the <i>Amazon
|
|
29
|
+
* tables</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
30
30
|
* <p>You can also use this operation to change which table is the main route table in the VPC. Specify the main route table's association ID and the route table ID of the new main route table.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -23,8 +23,7 @@ export interface RevokeSecurityGroupEgressCommandOutput extends RevokeSecurityGr
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
* This action does not apply to security groups for use in EC2-Classic.</p>
|
|
26
|
+
* <p>Removes the specified outbound (egress) rules from the specified security group.</p>
|
|
28
27
|
* <p>You can specify rules using either rule IDs or security group rule properties. If you use
|
|
29
28
|
* rule properties, the values that you specify (for example, ports) must match the existing rule's
|
|
30
29
|
* values exactly. Each rule has a protocol, from and to ports, and destination (CIDR range,
|
|
@@ -32,7 +31,7 @@ export interface RevokeSecurityGroupEgressCommandOutput extends RevokeSecurityGr
|
|
|
32
31
|
* destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type
|
|
33
32
|
* and code. If the security group rule has a description, you do not need to specify the description
|
|
34
33
|
* to revoke the rule.</p>
|
|
35
|
-
* <p>
|
|
34
|
+
* <p>For a default VPC, if the values you specify do not match the existing rule's values, no error is
|
|
36
35
|
* returned, and the output describes the security group rules that were not revoked.</p>
|
|
37
36
|
* <p>Amazon Web Services recommends that you describe the security group to verify that the rules were removed.</p>
|
|
38
37
|
* <p>Rule changes are propagated to instances within the security group as quickly as possible. However,
|
|
@@ -31,13 +31,11 @@ export interface RevokeSecurityGroupIngressCommandOutput extends RevokeSecurityG
|
|
|
31
31
|
* destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type
|
|
32
32
|
* and code. If the security group rule has a description, you do not need to specify the description
|
|
33
33
|
* to revoke the rule.</p>
|
|
34
|
-
* <p>
|
|
34
|
+
* <p>For a default VPC, if the values you specify do not match the existing rule's values, no error is
|
|
35
35
|
* returned, and the output describes the security group rules that were not revoked.</p>
|
|
36
36
|
* <p>Amazon Web Services recommends that you describe the security group to verify that the rules were removed.</p>
|
|
37
|
-
* <p>Rule changes are propagated to instances within the security group as quickly as possible.
|
|
38
|
-
*
|
|
39
|
-
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
40
|
-
* </note>
|
|
37
|
+
* <p>Rule changes are propagated to instances within the security group as quickly as possible.
|
|
38
|
+
* However, a small delay might occur.</p>
|
|
41
39
|
* @example
|
|
42
40
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
41
|
* ```javascript
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { RunScheduledInstancesRequest } from "../models/
|
|
6
|
-
import { RunScheduledInstancesResult } from "../models/models_7";
|
|
5
|
+
import { RunScheduledInstancesRequest, RunScheduledInstancesResult } from "../models/models_7";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -23,13 +23,13 @@ export interface UnassignPrivateNatGatewayAddressCommandOutput extends UnassignP
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon
|
|
26
|
+
* <p>Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
27
27
|
* <p>While unassigning is in progress, you cannot assign/unassign additional IP addresses while the connections are being drained. You are, however, allowed to delete the NAT gateway.</p>
|
|
28
28
|
* <p>A private IP address will only be released at the end of MaxDrainDurationSeconds. The
|
|
29
|
-
* private IP addresses stay associated and support the existing connections but do not
|
|
29
|
+
* private IP addresses stay associated and support the existing connections, but do not
|
|
30
30
|
* support any new connections (new connections are distributed across the remaining
|
|
31
31
|
* assigned private IP address). After the existing connections drain out, the private IP
|
|
32
|
-
* addresses
|
|
32
|
+
* addresses are released.</p>
|
|
33
33
|
* <p></p>
|
|
34
34
|
* <p></p>
|
|
35
35
|
* @example
|
|
@@ -23,7 +23,7 @@ export interface UpdateSecurityGroupRuleDescriptionsEgressCommandOutput extends
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p>Updates the description of an egress (outbound) security group rule. You
|
|
27
27
|
* can replace an existing description, or add a description to a rule that did not have one
|
|
28
28
|
* previously. You can remove a description for a security group rule by omitting the
|
|
29
29
|
* description parameter in the request.</p>
|