@aws-sdk/client-ec2 3.664.0 → 3.666.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/index.js +1546 -1537
- package/dist-es/commands/ReportInstanceStatusCommand.js +2 -1
- package/dist-es/models/models_2.js +1 -1
- package/dist-es/models/models_6.js +1 -1
- package/dist-es/models/models_7.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +1548 -1545
- package/dist-types/commands/AllocateAddressCommand.d.ts +2 -2
- package/dist-types/commands/AllocateHostsCommand.d.ts +5 -5
- package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +4 -4
- package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +5 -5
- package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/commands/AssociateAddressCommand.d.ts +1 -1
- package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +6 -2
- package/dist-types/commands/AssociateRouteTableCommand.d.ts +2 -2
- package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +2 -2
- package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
- package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +2 -2
- package/dist-types/commands/AttachNetworkInterfaceCommand.d.ts +4 -4
- package/dist-types/commands/AttachVolumeCommand.d.ts +5 -5
- package/dist-types/commands/AttachVpnGatewayCommand.d.ts +2 -2
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +32 -32
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +16 -16
- package/dist-types/commands/BundleInstanceCommand.d.ts +8 -8
- package/dist-types/commands/CancelBundleTaskCommand.d.ts +8 -8
- package/dist-types/commands/CancelConversionTaskCommand.d.ts +1 -1
- package/dist-types/commands/ConfirmProductInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +6 -6
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +9 -9
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +4 -4
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +8 -8
- package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +18 -18
- package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +9 -9
- package/dist-types/commands/CreateKeyPairCommand.d.ts +4 -4
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +7 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -2
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +6 -6
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +22 -22
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +4 -4
- package/dist-types/commands/CreateRouteCommand.d.ts +9 -9
- package/dist-types/commands/CreateRouteTableCommand.d.ts +2 -2
- package/dist-types/commands/CreateSnapshotCommand.d.ts +12 -12
- package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
- package/dist-types/commands/CreateSubnetCommand.d.ts +9 -9
- package/dist-types/commands/CreateVolumeCommand.d.ts +21 -21
- package/dist-types/commands/CreateVpcCommand.d.ts +8 -8
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +4 -4
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +18 -18
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +10 -10
- package/dist-types/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteCommand.d.ts +2 -2
- package/dist-types/commands/DeleteVpcCommand.d.ts +7 -1
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +9 -9
- package/dist-types/commands/DescribeBundleTasksCommand.d.ts +9 -9
- package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +5 -5
- package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +12 -12
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +3 -3
- package/dist-types/commands/DescribeHostsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +33 -33
- package/dist-types/commands/DescribeImagesCommand.d.ts +29 -29
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +7 -7
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +6 -6
- package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +51 -51
- package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +6 -6
- package/dist-types/commands/DescribeKeyPairsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeMovingAddressesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +2 -2
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +7 -7
- package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +7 -7
- package/dist-types/commands/DescribeRegionsCommand.d.ts +7 -7
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +16 -16
- package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +18 -18
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +50 -50
- package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +6 -6
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +21 -21
- package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +3 -3
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +14 -14
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +9 -9
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVolumesCommand.d.ts +26 -26
- package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +4 -4
- package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +2 -2
- package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVpcsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +10 -10
- package/dist-types/commands/DetachNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/DetachVolumeCommand.d.ts +5 -5
- package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/GetConsoleOutputCommand.d.ts +2 -2
- package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -0
- package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
- package/dist-types/commands/ImportInstanceCommand.d.ts +24 -24
- package/dist-types/commands/ImportKeyPairCommand.d.ts +3 -3
- package/dist-types/commands/ImportVolumeCommand.d.ts +3 -3
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyHostsCommand.d.ts +4 -4
- package/dist-types/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/ModifyImageAttributeCommand.d.ts +5 -5
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +22 -22
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +4 -4
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +15 -15
- package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +3 -3
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +6 -6
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +6 -6
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +6 -6
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +6 -6
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
- package/dist-types/commands/RegisterImageCommand.d.ts +28 -28
- package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +6 -6
- package/dist-types/commands/ReplaceRouteCommand.d.ts +9 -9
- package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReportInstanceStatusCommand.d.ts +4 -4
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +8 -8
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +20 -20
- package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +39 -39
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +31 -31
- package/dist-types/commands/RunInstancesCommand.d.ts +114 -114
- package/dist-types/commands/StartInstancesCommand.d.ts +1 -1
- package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -1
- package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +3 -3
- package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +3 -3
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +3 -1
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +15 -15
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +15 -15
- package/dist-types/models/models_0.d.ts +264 -265
- package/dist-types/models/models_1.d.ts +230 -230
- package/dist-types/models/models_2.d.ts +378 -381
- package/dist-types/models/models_3.d.ts +217 -217
- package/dist-types/models/models_4.d.ts +851 -851
- package/dist-types/models/models_5.d.ts +203 -203
- package/dist-types/models/models_6.d.ts +228 -220
- package/dist-types/models/models_7.d.ts +340 -334
- package/dist-types/ts3.4/models/models_0.d.ts +56 -56
- package/dist-types/ts3.4/models/models_1.d.ts +41 -41
- package/dist-types/ts3.4/models/models_2.d.ts +71 -71
- package/dist-types/ts3.4/models/models_3.d.ts +27 -27
- package/dist-types/ts3.4/models/models_4.d.ts +112 -112
- package/dist-types/ts3.4/models/models_5.d.ts +27 -27
- package/dist-types/ts3.4/models/models_6.d.ts +42 -41
- package/dist-types/ts3.4/models/models_7.d.ts +64 -61
- package/package.json +13 -13
|
@@ -29,7 +29,7 @@ declare const CreateDefaultSubnetCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a default subnet with a size <code>/20</code> IPv4 CIDR block in the
|
|
31
31
|
* specified Availability Zone in your default VPC. You can have only one default subnet
|
|
32
|
-
* per Availability Zone. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-subnet">Create a default
|
|
32
|
+
* per Availability Zone. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/work-with-default-vpc.html#create-default-subnet">Create a default
|
|
33
33
|
* subnet</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -46,18 +46,10 @@ declare const CreateDefaultSubnetCommand_base: {
|
|
|
46
46
|
* const response = await client.send(command);
|
|
47
47
|
* // { // CreateDefaultSubnetResult
|
|
48
48
|
* // Subnet: { // Subnet
|
|
49
|
-
* // AvailabilityZone: "STRING_VALUE",
|
|
50
49
|
* // AvailabilityZoneId: "STRING_VALUE",
|
|
51
|
-
* // AvailableIpAddressCount: Number("int"),
|
|
52
|
-
* // CidrBlock: "STRING_VALUE",
|
|
53
|
-
* // DefaultForAz: true || false,
|
|
54
50
|
* // EnableLniAtDeviceIndex: Number("int"),
|
|
55
|
-
* // MapPublicIpOnLaunch: true || false,
|
|
56
51
|
* // MapCustomerOwnedIpOnLaunch: true || false,
|
|
57
52
|
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
|
|
58
|
-
* // State: "pending" || "available" || "unavailable",
|
|
59
|
-
* // SubnetId: "STRING_VALUE",
|
|
60
|
-
* // VpcId: "STRING_VALUE",
|
|
61
53
|
* // OwnerId: "STRING_VALUE",
|
|
62
54
|
* // AssignIpv6AddressOnCreation: true || false,
|
|
63
55
|
* // Ipv6CidrBlockAssociationSet: [ // SubnetIpv6CidrBlockAssociationSet
|
|
@@ -87,6 +79,14 @@ declare const CreateDefaultSubnetCommand_base: {
|
|
|
87
79
|
* // EnableResourceNameDnsARecord: true || false,
|
|
88
80
|
* // EnableResourceNameDnsAAAARecord: true || false,
|
|
89
81
|
* // },
|
|
82
|
+
* // SubnetId: "STRING_VALUE",
|
|
83
|
+
* // State: "pending" || "available" || "unavailable",
|
|
84
|
+
* // VpcId: "STRING_VALUE",
|
|
85
|
+
* // CidrBlock: "STRING_VALUE",
|
|
86
|
+
* // AvailableIpAddressCount: Number("int"),
|
|
87
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
88
|
+
* // DefaultForAz: true || false,
|
|
89
|
+
* // MapPublicIpOnLaunch: true || false,
|
|
90
90
|
* // },
|
|
91
91
|
* // };
|
|
92
92
|
*
|
|
@@ -47,10 +47,6 @@ declare const CreateDefaultVpcCommand_base: {
|
|
|
47
47
|
* const response = await client.send(command);
|
|
48
48
|
* // { // CreateDefaultVpcResult
|
|
49
49
|
* // Vpc: { // Vpc
|
|
50
|
-
* // CidrBlock: "STRING_VALUE",
|
|
51
|
-
* // DhcpOptionsId: "STRING_VALUE",
|
|
52
|
-
* // State: "pending" || "available",
|
|
53
|
-
* // VpcId: "STRING_VALUE",
|
|
54
50
|
* // OwnerId: "STRING_VALUE",
|
|
55
51
|
* // InstanceTenancy: "default" || "dedicated" || "host",
|
|
56
52
|
* // Ipv6CidrBlockAssociationSet: [ // VpcIpv6CidrBlockAssociationSet
|
|
@@ -84,6 +80,10 @@ declare const CreateDefaultVpcCommand_base: {
|
|
|
84
80
|
* // Value: "STRING_VALUE",
|
|
85
81
|
* // },
|
|
86
82
|
* // ],
|
|
83
|
+
* // VpcId: "STRING_VALUE",
|
|
84
|
+
* // State: "pending" || "available",
|
|
85
|
+
* // CidrBlock: "STRING_VALUE",
|
|
86
|
+
* // DhcpOptionsId: "STRING_VALUE",
|
|
87
87
|
* // },
|
|
88
88
|
* // };
|
|
89
89
|
*
|
|
@@ -109,6 +109,14 @@ declare const CreateDhcpOptionsCommand_base: {
|
|
|
109
109
|
* const response = await client.send(command);
|
|
110
110
|
* // { // CreateDhcpOptionsResult
|
|
111
111
|
* // DhcpOptions: { // DhcpOptions
|
|
112
|
+
* // OwnerId: "STRING_VALUE",
|
|
113
|
+
* // Tags: [ // TagList
|
|
114
|
+
* // { // Tag
|
|
115
|
+
* // Key: "STRING_VALUE",
|
|
116
|
+
* // Value: "STRING_VALUE",
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
119
|
+
* // DhcpOptionsId: "STRING_VALUE",
|
|
112
120
|
* // DhcpConfigurations: [ // DhcpConfigurationList
|
|
113
121
|
* // { // DhcpConfiguration
|
|
114
122
|
* // Key: "STRING_VALUE",
|
|
@@ -119,14 +127,6 @@ declare const CreateDhcpOptionsCommand_base: {
|
|
|
119
127
|
* // ],
|
|
120
128
|
* // },
|
|
121
129
|
* // ],
|
|
122
|
-
* // DhcpOptionsId: "STRING_VALUE",
|
|
123
|
-
* // OwnerId: "STRING_VALUE",
|
|
124
|
-
* // Tags: [ // TagList
|
|
125
|
-
* // { // Tag
|
|
126
|
-
* // Key: "STRING_VALUE",
|
|
127
|
-
* // Value: "STRING_VALUE",
|
|
128
|
-
* // },
|
|
129
|
-
* // ],
|
|
130
130
|
* // },
|
|
131
131
|
* // };
|
|
132
132
|
*
|
|
@@ -83,7 +83,6 @@ declare const CreateFleetCommand_base: {
|
|
|
83
83
|
* WeightedCapacity: Number("double"),
|
|
84
84
|
* Priority: Number("double"),
|
|
85
85
|
* Placement: { // Placement
|
|
86
|
-
* AvailabilityZone: "STRING_VALUE",
|
|
87
86
|
* Affinity: "STRING_VALUE",
|
|
88
87
|
* GroupName: "STRING_VALUE",
|
|
89
88
|
* PartitionNumber: Number("int"),
|
|
@@ -92,6 +91,7 @@ declare const CreateFleetCommand_base: {
|
|
|
92
91
|
* SpreadDomain: "STRING_VALUE",
|
|
93
92
|
* HostResourceGroupArn: "STRING_VALUE",
|
|
94
93
|
* GroupId: "STRING_VALUE",
|
|
94
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
95
95
|
* },
|
|
96
96
|
* InstanceRequirements: { // InstanceRequirementsRequest
|
|
97
97
|
* VCpuCount: { // VCpuCountRangeRequest
|
|
@@ -31,7 +31,7 @@ declare const CreateFlowLogsCommand_base: {
|
|
|
31
31
|
* subnet, or VPC. </p>
|
|
32
32
|
* <p>Flow log data for a monitored network interface is recorded as flow log records, which are log events
|
|
33
33
|
* consisting of fields that describe the traffic flow. For more information, see
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html">Flow log records</a>
|
|
35
35
|
* in the <i>Amazon VPC User Guide</i>.</p>
|
|
36
36
|
* <p>When publishing to CloudWatch Logs, flow log records are published to a log group, and each network
|
|
37
37
|
* interface has a unique log stream in the log group. When publishing to Amazon S3, flow log records for all
|
|
@@ -41,10 +41,24 @@ declare const CreateImageCommand_base: {
|
|
|
41
41
|
* // const { EC2Client, CreateImageCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
42
42
|
* const client = new EC2Client(config);
|
|
43
43
|
* const input = { // CreateImageRequest
|
|
44
|
+
* TagSpecifications: [ // TagSpecificationList
|
|
45
|
+
* { // TagSpecification
|
|
46
|
+
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
47
|
+
* Tags: [ // TagList
|
|
48
|
+
* { // Tag
|
|
49
|
+
* Key: "STRING_VALUE",
|
|
50
|
+
* Value: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* DryRun: true || false,
|
|
56
|
+
* InstanceId: "STRING_VALUE", // required
|
|
57
|
+
* Name: "STRING_VALUE", // required
|
|
58
|
+
* Description: "STRING_VALUE",
|
|
59
|
+
* NoReboot: true || false,
|
|
44
60
|
* BlockDeviceMappings: [ // BlockDeviceMappingRequestList
|
|
45
61
|
* { // BlockDeviceMapping
|
|
46
|
-
* DeviceName: "STRING_VALUE",
|
|
47
|
-
* VirtualName: "STRING_VALUE",
|
|
48
62
|
* Ebs: { // EbsBlockDevice
|
|
49
63
|
* DeleteOnTermination: true || false,
|
|
50
64
|
* Iops: Number("int"),
|
|
@@ -57,22 +71,8 @@ declare const CreateImageCommand_base: {
|
|
|
57
71
|
* Encrypted: true || false,
|
|
58
72
|
* },
|
|
59
73
|
* NoDevice: "STRING_VALUE",
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* Description: "STRING_VALUE",
|
|
63
|
-
* DryRun: true || false,
|
|
64
|
-
* InstanceId: "STRING_VALUE", // required
|
|
65
|
-
* Name: "STRING_VALUE", // required
|
|
66
|
-
* NoReboot: true || false,
|
|
67
|
-
* TagSpecifications: [ // TagSpecificationList
|
|
68
|
-
* { // TagSpecification
|
|
69
|
-
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
70
|
-
* Tags: [ // TagList
|
|
71
|
-
* { // Tag
|
|
72
|
-
* Key: "STRING_VALUE",
|
|
73
|
-
* Value: "STRING_VALUE",
|
|
74
|
-
* },
|
|
75
|
-
* ],
|
|
74
|
+
* DeviceName: "STRING_VALUE",
|
|
75
|
+
* VirtualName: "STRING_VALUE",
|
|
76
76
|
* },
|
|
77
77
|
* ],
|
|
78
78
|
* };
|
|
@@ -38,15 +38,6 @@ declare const CreateInstanceExportTaskCommand_base: {
|
|
|
38
38
|
* // const { EC2Client, CreateInstanceExportTaskCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
39
39
|
* const client = new EC2Client(config);
|
|
40
40
|
* const input = { // CreateInstanceExportTaskRequest
|
|
41
|
-
* Description: "STRING_VALUE",
|
|
42
|
-
* ExportToS3Task: { // ExportToS3TaskSpecification
|
|
43
|
-
* ContainerFormat: "ova",
|
|
44
|
-
* DiskImageFormat: "VMDK" || "RAW" || "VHD",
|
|
45
|
-
* S3Bucket: "STRING_VALUE",
|
|
46
|
-
* S3Prefix: "STRING_VALUE",
|
|
47
|
-
* },
|
|
48
|
-
* InstanceId: "STRING_VALUE", // required
|
|
49
|
-
* TargetEnvironment: "citrix" || "vmware" || "microsoft", // required
|
|
50
41
|
* TagSpecifications: [ // TagSpecificationList
|
|
51
42
|
* { // TagSpecification
|
|
52
43
|
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
@@ -58,6 +49,15 @@ declare const CreateInstanceExportTaskCommand_base: {
|
|
|
58
49
|
* ],
|
|
59
50
|
* },
|
|
60
51
|
* ],
|
|
52
|
+
* Description: "STRING_VALUE",
|
|
53
|
+
* InstanceId: "STRING_VALUE", // required
|
|
54
|
+
* TargetEnvironment: "citrix" || "vmware" || "microsoft", // required
|
|
55
|
+
* ExportToS3Task: { // ExportToS3TaskSpecification
|
|
56
|
+
* DiskImageFormat: "VMDK" || "RAW" || "VHD",
|
|
57
|
+
* ContainerFormat: "ova",
|
|
58
|
+
* S3Bucket: "STRING_VALUE",
|
|
59
|
+
* S3Prefix: "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
61
|
* };
|
|
62
62
|
* const command = new CreateInstanceExportTaskCommand(input);
|
|
63
63
|
* const response = await client.send(command);
|
|
@@ -46,7 +46,6 @@ declare const CreateKeyPairCommand_base: {
|
|
|
46
46
|
* const client = new EC2Client(config);
|
|
47
47
|
* const input = { // CreateKeyPairRequest
|
|
48
48
|
* KeyName: "STRING_VALUE", // required
|
|
49
|
-
* DryRun: true || false,
|
|
50
49
|
* KeyType: "rsa" || "ed25519",
|
|
51
50
|
* TagSpecifications: [ // TagSpecificationList
|
|
52
51
|
* { // TagSpecification
|
|
@@ -60,13 +59,11 @@ declare const CreateKeyPairCommand_base: {
|
|
|
60
59
|
* },
|
|
61
60
|
* ],
|
|
62
61
|
* KeyFormat: "pem" || "ppk",
|
|
62
|
+
* DryRun: true || false,
|
|
63
63
|
* };
|
|
64
64
|
* const command = new CreateKeyPairCommand(input);
|
|
65
65
|
* const response = await client.send(command);
|
|
66
66
|
* // { // KeyPair
|
|
67
|
-
* // KeyFingerprint: "STRING_VALUE",
|
|
68
|
-
* // KeyMaterial: "STRING_VALUE",
|
|
69
|
-
* // KeyName: "STRING_VALUE",
|
|
70
67
|
* // KeyPairId: "STRING_VALUE",
|
|
71
68
|
* // Tags: [ // TagList
|
|
72
69
|
* // { // Tag
|
|
@@ -74,6 +71,9 @@ declare const CreateKeyPairCommand_base: {
|
|
|
74
71
|
* // Value: "STRING_VALUE",
|
|
75
72
|
* // },
|
|
76
73
|
* // ],
|
|
74
|
+
* // KeyName: "STRING_VALUE",
|
|
75
|
+
* // KeyFingerprint: "STRING_VALUE",
|
|
76
|
+
* // KeyMaterial: "STRING_VALUE",
|
|
77
77
|
* // };
|
|
78
78
|
*
|
|
79
79
|
* ```
|
|
@@ -38,7 +38,13 @@ declare const CreateNatGatewayCommand_base: {
|
|
|
38
38
|
* private IPv4 addresses, and communicating between overlapping networks.</p>
|
|
39
39
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html">NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
40
40
|
* <important>
|
|
41
|
-
* <p>When you create a public NAT gateway and assign it an EIP or secondary EIPs,
|
|
41
|
+
* <p>When you create a public NAT gateway and assign it an EIP or secondary EIPs,
|
|
42
|
+
* the network border group of the EIPs must match the network border group of the Availability Zone (AZ)
|
|
43
|
+
* that the public NAT gateway is in. If it's not the same, the NAT gateway will fail to launch.
|
|
44
|
+
* You can see the network border group for the subnet's AZ by viewing the details of the subnet.
|
|
45
|
+
* Similarly, you can view the network border group of an EIP by viewing the details of the EIP address.
|
|
46
|
+
* For more information about network border groups and EIPs, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html">Allocate an Elastic IP address</a>
|
|
47
|
+
* in the <i>Amazon VPC User Guide</i>.
|
|
42
48
|
* </p>
|
|
43
49
|
* </important>
|
|
44
50
|
* @example
|
|
@@ -37,8 +37,6 @@ declare const CreateNetworkAclCommand_base: {
|
|
|
37
37
|
* // const { EC2Client, CreateNetworkAclCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
38
|
* const client = new EC2Client(config);
|
|
39
39
|
* const input = { // CreateNetworkAclRequest
|
|
40
|
-
* DryRun: true || false,
|
|
41
|
-
* VpcId: "STRING_VALUE", // required
|
|
42
40
|
* TagSpecifications: [ // TagSpecificationList
|
|
43
41
|
* { // TagSpecification
|
|
44
42
|
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
@@ -51,6 +49,8 @@ declare const CreateNetworkAclCommand_base: {
|
|
|
51
49
|
* },
|
|
52
50
|
* ],
|
|
53
51
|
* ClientToken: "STRING_VALUE",
|
|
52
|
+
* DryRun: true || false,
|
|
53
|
+
* VpcId: "STRING_VALUE", // required
|
|
54
54
|
* };
|
|
55
55
|
* const command = new CreateNetworkAclCommand(input);
|
|
56
56
|
* const response = await client.send(command);
|
|
@@ -43,22 +43,22 @@ declare const CreateNetworkAclEntryCommand_base: {
|
|
|
43
43
|
* // const { EC2Client, CreateNetworkAclEntryCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
44
44
|
* const client = new EC2Client(config);
|
|
45
45
|
* const input = { // CreateNetworkAclEntryRequest
|
|
46
|
-
* CidrBlock: "STRING_VALUE",
|
|
47
46
|
* DryRun: true || false,
|
|
47
|
+
* NetworkAclId: "STRING_VALUE", // required
|
|
48
|
+
* RuleNumber: Number("int"), // required
|
|
49
|
+
* Protocol: "STRING_VALUE", // required
|
|
50
|
+
* RuleAction: "allow" || "deny", // required
|
|
48
51
|
* Egress: true || false, // required
|
|
52
|
+
* CidrBlock: "STRING_VALUE",
|
|
53
|
+
* Ipv6CidrBlock: "STRING_VALUE",
|
|
49
54
|
* IcmpTypeCode: { // IcmpTypeCode
|
|
50
55
|
* Code: Number("int"),
|
|
51
56
|
* Type: Number("int"),
|
|
52
57
|
* },
|
|
53
|
-
* Ipv6CidrBlock: "STRING_VALUE",
|
|
54
|
-
* NetworkAclId: "STRING_VALUE", // required
|
|
55
58
|
* PortRange: { // PortRange
|
|
56
59
|
* From: Number("int"),
|
|
57
60
|
* To: Number("int"),
|
|
58
61
|
* },
|
|
59
|
-
* Protocol: "STRING_VALUE", // required
|
|
60
|
-
* RuleAction: "allow" || "deny", // required
|
|
61
|
-
* RuleNumber: Number("int"), // required
|
|
62
62
|
* };
|
|
63
63
|
* const command = new CreateNetworkAclEntryCommand(input);
|
|
64
64
|
* const response = await client.send(command);
|
|
@@ -39,26 +39,6 @@ declare const CreateNetworkInterfaceCommand_base: {
|
|
|
39
39
|
* // const { EC2Client, CreateNetworkInterfaceCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
40
40
|
* const client = new EC2Client(config);
|
|
41
41
|
* const input = { // CreateNetworkInterfaceRequest
|
|
42
|
-
* Description: "STRING_VALUE",
|
|
43
|
-
* DryRun: true || false,
|
|
44
|
-
* Groups: [ // SecurityGroupIdStringList
|
|
45
|
-
* "STRING_VALUE",
|
|
46
|
-
* ],
|
|
47
|
-
* Ipv6AddressCount: Number("int"),
|
|
48
|
-
* Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
49
|
-
* { // InstanceIpv6Address
|
|
50
|
-
* Ipv6Address: "STRING_VALUE",
|
|
51
|
-
* IsPrimaryIpv6: true || false,
|
|
52
|
-
* },
|
|
53
|
-
* ],
|
|
54
|
-
* PrivateIpAddress: "STRING_VALUE",
|
|
55
|
-
* PrivateIpAddresses: [ // PrivateIpAddressSpecificationList
|
|
56
|
-
* { // PrivateIpAddressSpecification
|
|
57
|
-
* Primary: true || false,
|
|
58
|
-
* PrivateIpAddress: "STRING_VALUE",
|
|
59
|
-
* },
|
|
60
|
-
* ],
|
|
61
|
-
* SecondaryPrivateIpAddressCount: Number("int"),
|
|
62
42
|
* Ipv4Prefixes: [ // Ipv4PrefixList
|
|
63
43
|
* { // Ipv4PrefixSpecificationRequest
|
|
64
44
|
* Ipv4Prefix: "STRING_VALUE",
|
|
@@ -72,7 +52,6 @@ declare const CreateNetworkInterfaceCommand_base: {
|
|
|
72
52
|
* ],
|
|
73
53
|
* Ipv6PrefixCount: Number("int"),
|
|
74
54
|
* InterfaceType: "efa" || "branch" || "trunk",
|
|
75
|
-
* SubnetId: "STRING_VALUE", // required
|
|
76
55
|
* TagSpecifications: [ // TagSpecificationList
|
|
77
56
|
* { // TagSpecification
|
|
78
57
|
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
@@ -91,6 +70,27 @@ declare const CreateNetworkInterfaceCommand_base: {
|
|
|
91
70
|
* UdpStreamTimeout: Number("int"),
|
|
92
71
|
* UdpTimeout: Number("int"),
|
|
93
72
|
* },
|
|
73
|
+
* SubnetId: "STRING_VALUE", // required
|
|
74
|
+
* Description: "STRING_VALUE",
|
|
75
|
+
* PrivateIpAddress: "STRING_VALUE",
|
|
76
|
+
* Groups: [ // SecurityGroupIdStringList
|
|
77
|
+
* "STRING_VALUE",
|
|
78
|
+
* ],
|
|
79
|
+
* PrivateIpAddresses: [ // PrivateIpAddressSpecificationList
|
|
80
|
+
* { // PrivateIpAddressSpecification
|
|
81
|
+
* Primary: true || false,
|
|
82
|
+
* PrivateIpAddress: "STRING_VALUE",
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
85
|
+
* SecondaryPrivateIpAddressCount: Number("int"),
|
|
86
|
+
* Ipv6Addresses: [ // InstanceIpv6AddressList
|
|
87
|
+
* { // InstanceIpv6Address
|
|
88
|
+
* Ipv6Address: "STRING_VALUE",
|
|
89
|
+
* IsPrimaryIpv6: true || false,
|
|
90
|
+
* },
|
|
91
|
+
* ],
|
|
92
|
+
* Ipv6AddressCount: Number("int"),
|
|
93
|
+
* DryRun: true || false,
|
|
94
94
|
* };
|
|
95
95
|
* const command = new CreateNetworkInterfaceCommand(input);
|
|
96
96
|
* const response = await client.send(command);
|
|
@@ -130,8 +130,8 @@ declare const CreateNetworkInterfaceCommand_base: {
|
|
|
130
130
|
* // Description: "STRING_VALUE",
|
|
131
131
|
* // Groups: [ // GroupIdentifierList
|
|
132
132
|
* // { // GroupIdentifier
|
|
133
|
-
* // GroupName: "STRING_VALUE",
|
|
134
133
|
* // GroupId: "STRING_VALUE",
|
|
134
|
+
* // GroupName: "STRING_VALUE",
|
|
135
135
|
* // },
|
|
136
136
|
* // ],
|
|
137
137
|
* // InterfaceType: "interface" || "natGateway" || "efa" || "trunk" || "load_balancer" || "network_load_balancer" || "vpc_endpoint" || "branch" || "transit_gateway" || "lambda" || "quicksight" || "global_accelerator_managed" || "api_gateway_managed" || "gateway_load_balancer" || "gateway_load_balancer_endpoint" || "iot_rules_managed" || "aws_codestar_connections_managed",
|
|
@@ -44,9 +44,6 @@ declare const CreatePlacementGroupCommand_base: {
|
|
|
44
44
|
* // const { EC2Client, CreatePlacementGroupCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
45
45
|
* const client = new EC2Client(config);
|
|
46
46
|
* const input = { // CreatePlacementGroupRequest
|
|
47
|
-
* DryRun: true || false,
|
|
48
|
-
* GroupName: "STRING_VALUE",
|
|
49
|
-
* Strategy: "cluster" || "spread" || "partition",
|
|
50
47
|
* PartitionCount: Number("int"),
|
|
51
48
|
* TagSpecifications: [ // TagSpecificationList
|
|
52
49
|
* { // TagSpecification
|
|
@@ -60,6 +57,9 @@ declare const CreatePlacementGroupCommand_base: {
|
|
|
60
57
|
* },
|
|
61
58
|
* ],
|
|
62
59
|
* SpreadLevel: "host" || "rack",
|
|
60
|
+
* DryRun: true || false,
|
|
61
|
+
* GroupName: "STRING_VALUE",
|
|
62
|
+
* Strategy: "cluster" || "spread" || "partition",
|
|
63
63
|
* };
|
|
64
64
|
* const command = new CreatePlacementGroupCommand(input);
|
|
65
65
|
* const response = await client.send(command);
|
|
@@ -50,16 +50,16 @@ declare const CreateReservedInstancesListingCommand_base: {
|
|
|
50
50
|
* // const { EC2Client, CreateReservedInstancesListingCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
51
51
|
* const client = new EC2Client(config);
|
|
52
52
|
* const input = { // CreateReservedInstancesListingRequest
|
|
53
|
-
*
|
|
53
|
+
* ReservedInstancesId: "STRING_VALUE", // required
|
|
54
54
|
* InstanceCount: Number("int"), // required
|
|
55
55
|
* PriceSchedules: [ // PriceScheduleSpecificationList // required
|
|
56
56
|
* { // PriceScheduleSpecification
|
|
57
|
-
* CurrencyCode: "USD",
|
|
58
|
-
* Price: Number("double"),
|
|
59
57
|
* Term: Number("long"),
|
|
58
|
+
* Price: Number("double"),
|
|
59
|
+
* CurrencyCode: "USD",
|
|
60
60
|
* },
|
|
61
61
|
* ],
|
|
62
|
-
*
|
|
62
|
+
* ClientToken: "STRING_VALUE", // required
|
|
63
63
|
* };
|
|
64
64
|
* const command = new CreateReservedInstancesListingCommand(input);
|
|
65
65
|
* const response = await client.send(command);
|
|
@@ -55,22 +55,22 @@ declare const CreateRouteCommand_base: {
|
|
|
55
55
|
* // const { EC2Client, CreateRouteCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
56
56
|
* const client = new EC2Client(config);
|
|
57
57
|
* const input = { // CreateRouteRequest
|
|
58
|
-
* DestinationCidrBlock: "STRING_VALUE",
|
|
59
|
-
* DestinationIpv6CidrBlock: "STRING_VALUE",
|
|
60
58
|
* DestinationPrefixListId: "STRING_VALUE",
|
|
61
|
-
* DryRun: true || false,
|
|
62
59
|
* VpcEndpointId: "STRING_VALUE",
|
|
63
|
-
* EgressOnlyInternetGatewayId: "STRING_VALUE",
|
|
64
|
-
* GatewayId: "STRING_VALUE",
|
|
65
|
-
* InstanceId: "STRING_VALUE",
|
|
66
|
-
* NatGatewayId: "STRING_VALUE",
|
|
67
60
|
* TransitGatewayId: "STRING_VALUE",
|
|
68
61
|
* LocalGatewayId: "STRING_VALUE",
|
|
69
62
|
* CarrierGatewayId: "STRING_VALUE",
|
|
70
|
-
*
|
|
63
|
+
* CoreNetworkArn: "STRING_VALUE",
|
|
64
|
+
* DryRun: true || false,
|
|
71
65
|
* RouteTableId: "STRING_VALUE", // required
|
|
66
|
+
* DestinationCidrBlock: "STRING_VALUE",
|
|
67
|
+
* GatewayId: "STRING_VALUE",
|
|
68
|
+
* DestinationIpv6CidrBlock: "STRING_VALUE",
|
|
69
|
+
* EgressOnlyInternetGatewayId: "STRING_VALUE",
|
|
70
|
+
* InstanceId: "STRING_VALUE",
|
|
71
|
+
* NetworkInterfaceId: "STRING_VALUE",
|
|
72
72
|
* VpcPeeringConnectionId: "STRING_VALUE",
|
|
73
|
-
*
|
|
73
|
+
* NatGatewayId: "STRING_VALUE",
|
|
74
74
|
* };
|
|
75
75
|
* const command = new CreateRouteCommand(input);
|
|
76
76
|
* const response = await client.send(command);
|
|
@@ -37,8 +37,6 @@ declare const CreateRouteTableCommand_base: {
|
|
|
37
37
|
* // const { EC2Client, CreateRouteTableCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
38
|
* const client = new EC2Client(config);
|
|
39
39
|
* const input = { // CreateRouteTableRequest
|
|
40
|
-
* DryRun: true || false,
|
|
41
|
-
* VpcId: "STRING_VALUE", // required
|
|
42
40
|
* TagSpecifications: [ // TagSpecificationList
|
|
43
41
|
* { // TagSpecification
|
|
44
42
|
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
@@ -51,6 +49,8 @@ declare const CreateRouteTableCommand_base: {
|
|
|
51
49
|
* },
|
|
52
50
|
* ],
|
|
53
51
|
* ClientToken: "STRING_VALUE",
|
|
52
|
+
* DryRun: true || false,
|
|
53
|
+
* VpcId: "STRING_VALUE", // required
|
|
54
54
|
* };
|
|
55
55
|
* const command = new CreateRouteTableCommand(input);
|
|
56
56
|
* const response = await client.send(command);
|
|
@@ -78,18 +78,6 @@ declare const CreateSnapshotCommand_base: {
|
|
|
78
78
|
* const command = new CreateSnapshotCommand(input);
|
|
79
79
|
* const response = await client.send(command);
|
|
80
80
|
* // { // Snapshot
|
|
81
|
-
* // DataEncryptionKeyId: "STRING_VALUE",
|
|
82
|
-
* // Description: "STRING_VALUE",
|
|
83
|
-
* // Encrypted: true || false,
|
|
84
|
-
* // KmsKeyId: "STRING_VALUE",
|
|
85
|
-
* // OwnerId: "STRING_VALUE",
|
|
86
|
-
* // Progress: "STRING_VALUE",
|
|
87
|
-
* // SnapshotId: "STRING_VALUE",
|
|
88
|
-
* // StartTime: new Date("TIMESTAMP"),
|
|
89
|
-
* // State: "pending" || "completed" || "error" || "recoverable" || "recovering",
|
|
90
|
-
* // StateMessage: "STRING_VALUE",
|
|
91
|
-
* // VolumeId: "STRING_VALUE",
|
|
92
|
-
* // VolumeSize: Number("int"),
|
|
93
81
|
* // OwnerAlias: "STRING_VALUE",
|
|
94
82
|
* // OutpostArn: "STRING_VALUE",
|
|
95
83
|
* // Tags: [ // TagList
|
|
@@ -101,6 +89,18 @@ declare const CreateSnapshotCommand_base: {
|
|
|
101
89
|
* // StorageTier: "archive" || "standard",
|
|
102
90
|
* // RestoreExpiryTime: new Date("TIMESTAMP"),
|
|
103
91
|
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
92
|
+
* // SnapshotId: "STRING_VALUE",
|
|
93
|
+
* // VolumeId: "STRING_VALUE",
|
|
94
|
+
* // State: "pending" || "completed" || "error" || "recoverable" || "recovering",
|
|
95
|
+
* // StateMessage: "STRING_VALUE",
|
|
96
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
97
|
+
* // Progress: "STRING_VALUE",
|
|
98
|
+
* // OwnerId: "STRING_VALUE",
|
|
99
|
+
* // Description: "STRING_VALUE",
|
|
100
|
+
* // VolumeSize: Number("int"),
|
|
101
|
+
* // Encrypted: true || false,
|
|
102
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
103
|
+
* // DataEncryptionKeyId: "STRING_VALUE",
|
|
104
104
|
* // };
|
|
105
105
|
*
|
|
106
106
|
* ```
|
|
@@ -38,8 +38,8 @@ declare const CreateSpotDatafeedSubscriptionCommand_base: {
|
|
|
38
38
|
* // const { EC2Client, CreateSpotDatafeedSubscriptionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
39
39
|
* const client = new EC2Client(config);
|
|
40
40
|
* const input = { // CreateSpotDatafeedSubscriptionRequest
|
|
41
|
-
* Bucket: "STRING_VALUE", // required
|
|
42
41
|
* DryRun: true || false,
|
|
42
|
+
* Bucket: "STRING_VALUE", // required
|
|
43
43
|
* Prefix: "STRING_VALUE",
|
|
44
44
|
* };
|
|
45
45
|
* const command = new CreateSpotDatafeedSubscriptionCommand(input);
|
|
@@ -28,8 +28,8 @@ declare const CreateSubnetCidrReservationCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a subnet CIDR reservation. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html">Subnet CIDR reservations</a>
|
|
31
|
-
* in the <i>Amazon VPC User Guide</i> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
32
|
-
*
|
|
31
|
+
* in the <i>Amazon VPC User Guide</i> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-prefixes.html">Manage prefixes
|
|
32
|
+
* for your network interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -68,29 +68,21 @@ declare const CreateSubnetCommand_base: {
|
|
|
68
68
|
* Ipv6CidrBlock: "STRING_VALUE",
|
|
69
69
|
* OutpostArn: "STRING_VALUE",
|
|
70
70
|
* VpcId: "STRING_VALUE", // required
|
|
71
|
-
* DryRun: true || false,
|
|
72
71
|
* Ipv6Native: true || false,
|
|
73
72
|
* Ipv4IpamPoolId: "STRING_VALUE",
|
|
74
73
|
* Ipv4NetmaskLength: Number("int"),
|
|
75
74
|
* Ipv6IpamPoolId: "STRING_VALUE",
|
|
76
75
|
* Ipv6NetmaskLength: Number("int"),
|
|
76
|
+
* DryRun: true || false,
|
|
77
77
|
* };
|
|
78
78
|
* const command = new CreateSubnetCommand(input);
|
|
79
79
|
* const response = await client.send(command);
|
|
80
80
|
* // { // CreateSubnetResult
|
|
81
81
|
* // Subnet: { // Subnet
|
|
82
|
-
* // AvailabilityZone: "STRING_VALUE",
|
|
83
82
|
* // AvailabilityZoneId: "STRING_VALUE",
|
|
84
|
-
* // AvailableIpAddressCount: Number("int"),
|
|
85
|
-
* // CidrBlock: "STRING_VALUE",
|
|
86
|
-
* // DefaultForAz: true || false,
|
|
87
83
|
* // EnableLniAtDeviceIndex: Number("int"),
|
|
88
|
-
* // MapPublicIpOnLaunch: true || false,
|
|
89
84
|
* // MapCustomerOwnedIpOnLaunch: true || false,
|
|
90
85
|
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
|
|
91
|
-
* // State: "pending" || "available" || "unavailable",
|
|
92
|
-
* // SubnetId: "STRING_VALUE",
|
|
93
|
-
* // VpcId: "STRING_VALUE",
|
|
94
86
|
* // OwnerId: "STRING_VALUE",
|
|
95
87
|
* // AssignIpv6AddressOnCreation: true || false,
|
|
96
88
|
* // Ipv6CidrBlockAssociationSet: [ // SubnetIpv6CidrBlockAssociationSet
|
|
@@ -120,6 +112,14 @@ declare const CreateSubnetCommand_base: {
|
|
|
120
112
|
* // EnableResourceNameDnsARecord: true || false,
|
|
121
113
|
* // EnableResourceNameDnsAAAARecord: true || false,
|
|
122
114
|
* // },
|
|
115
|
+
* // SubnetId: "STRING_VALUE",
|
|
116
|
+
* // State: "pending" || "available" || "unavailable",
|
|
117
|
+
* // VpcId: "STRING_VALUE",
|
|
118
|
+
* // CidrBlock: "STRING_VALUE",
|
|
119
|
+
* // AvailableIpAddressCount: Number("int"),
|
|
120
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
121
|
+
* // DefaultForAz: true || false,
|
|
122
|
+
* // MapPublicIpOnLaunch: true || false,
|
|
123
123
|
* // },
|
|
124
124
|
* // };
|
|
125
125
|
*
|