@aws-sdk/client-ec2 3.662.0 → 3.665.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/README.md +8 -0
- package/dist-cjs/index.js +1635 -1556
- package/dist-cjs/runtimeConfig.js +1 -0
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/ModifyInstanceCpuOptionsCommand.js +22 -0
- package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
- package/dist-es/commands/ReportInstanceStatusCommand.js +2 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_2.js +1 -1
- package/dist-es/models/models_6.js +1 -6
- package/dist-es/models/models_7.js +8 -0
- package/dist-es/protocols/Aws_ec2.js +1601 -1545
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- 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/ModifyInstanceCpuOptionsCommand.d.ts +85 -0
- 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 +8 -7
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +7 -8
- 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/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +266 -268
- package/dist-types/models/models_1.d.ts +231 -231
- package/dist-types/models/models_2.d.ts +372 -376
- package/dist-types/models/models_3.d.ts +221 -221
- package/dist-types/models/models_4.d.ts +858 -858
- package/dist-types/models/models_5.d.ts +210 -210
- package/dist-types/models/models_6.d.ts +289 -291
- package/dist-types/models/models_7.d.ts +424 -361
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- 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 +53 -56
- package/dist-types/ts3.4/models/models_7.d.ts +78 -61
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
- package/package.json +15 -15
|
@@ -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
|
*
|
|
@@ -53,7 +53,6 @@ declare const CreateVolumeCommand_base: {
|
|
|
53
53
|
* Size: Number("int"),
|
|
54
54
|
* SnapshotId: "STRING_VALUE",
|
|
55
55
|
* VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
|
|
56
|
-
* DryRun: true || false,
|
|
57
56
|
* TagSpecifications: [ // TagSpecificationList
|
|
58
57
|
* { // TagSpecification
|
|
59
58
|
* 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",
|
|
@@ -68,31 +67,12 @@ declare const CreateVolumeCommand_base: {
|
|
|
68
67
|
* MultiAttachEnabled: true || false,
|
|
69
68
|
* Throughput: Number("int"),
|
|
70
69
|
* ClientToken: "STRING_VALUE",
|
|
70
|
+
* DryRun: true || false,
|
|
71
71
|
* };
|
|
72
72
|
* const command = new CreateVolumeCommand(input);
|
|
73
73
|
* const response = await client.send(command);
|
|
74
74
|
* // { // Volume
|
|
75
|
-
* // Attachments: [ // VolumeAttachmentList
|
|
76
|
-
* // { // VolumeAttachment
|
|
77
|
-
* // AttachTime: new Date("TIMESTAMP"),
|
|
78
|
-
* // Device: "STRING_VALUE",
|
|
79
|
-
* // InstanceId: "STRING_VALUE",
|
|
80
|
-
* // State: "attaching" || "attached" || "detaching" || "detached" || "busy",
|
|
81
|
-
* // VolumeId: "STRING_VALUE",
|
|
82
|
-
* // DeleteOnTermination: true || false,
|
|
83
|
-
* // AssociatedResource: "STRING_VALUE",
|
|
84
|
-
* // InstanceOwningService: "STRING_VALUE",
|
|
85
|
-
* // },
|
|
86
|
-
* // ],
|
|
87
|
-
* // AvailabilityZone: "STRING_VALUE",
|
|
88
|
-
* // CreateTime: new Date("TIMESTAMP"),
|
|
89
|
-
* // Encrypted: true || false,
|
|
90
|
-
* // KmsKeyId: "STRING_VALUE",
|
|
91
75
|
* // OutpostArn: "STRING_VALUE",
|
|
92
|
-
* // Size: Number("int"),
|
|
93
|
-
* // SnapshotId: "STRING_VALUE",
|
|
94
|
-
* // State: "creating" || "available" || "in-use" || "deleting" || "deleted" || "error",
|
|
95
|
-
* // VolumeId: "STRING_VALUE",
|
|
96
76
|
* // Iops: Number("int"),
|
|
97
77
|
* // Tags: [ // TagList
|
|
98
78
|
* // { // Tag
|
|
@@ -105,6 +85,26 @@ declare const CreateVolumeCommand_base: {
|
|
|
105
85
|
* // MultiAttachEnabled: true || false,
|
|
106
86
|
* // Throughput: Number("int"),
|
|
107
87
|
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
88
|
+
* // VolumeId: "STRING_VALUE",
|
|
89
|
+
* // Size: Number("int"),
|
|
90
|
+
* // SnapshotId: "STRING_VALUE",
|
|
91
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
92
|
+
* // State: "creating" || "available" || "in-use" || "deleting" || "deleted" || "error",
|
|
93
|
+
* // CreateTime: new Date("TIMESTAMP"),
|
|
94
|
+
* // Attachments: [ // VolumeAttachmentList
|
|
95
|
+
* // { // VolumeAttachment
|
|
96
|
+
* // DeleteOnTermination: true || false,
|
|
97
|
+
* // AssociatedResource: "STRING_VALUE",
|
|
98
|
+
* // InstanceOwningService: "STRING_VALUE",
|
|
99
|
+
* // VolumeId: "STRING_VALUE",
|
|
100
|
+
* // InstanceId: "STRING_VALUE",
|
|
101
|
+
* // Device: "STRING_VALUE",
|
|
102
|
+
* // State: "attaching" || "attached" || "detaching" || "detached" || "busy",
|
|
103
|
+
* // AttachTime: new Date("TIMESTAMP"),
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // Encrypted: true || false,
|
|
107
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
108
108
|
* // };
|
|
109
109
|
*
|
|
110
110
|
* ```
|
|
@@ -32,7 +32,7 @@ declare const CreateVpcCommand_base: {
|
|
|
32
32
|
* <p>You can optionally request an IPv6 CIDR block for the VPC. You can request an
|
|
33
33
|
* Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6 addresses or an IPv6 CIDR
|
|
34
34
|
* block from an IPv6 address pool that you provisioned through bring your own IP addresses
|
|
35
|
-
*
|
|
35
|
+
* (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">BYOIP</a>).</p>
|
|
36
36
|
* <p>By default, each instance that you launch in the VPC has the default DHCP options, which
|
|
37
37
|
* include only a default DNS server that we provide (AmazonProvidedDNS). For more
|
|
38
38
|
* 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>
|
|
@@ -47,15 +47,12 @@ declare const CreateVpcCommand_base: {
|
|
|
47
47
|
* const client = new EC2Client(config);
|
|
48
48
|
* const input = { // CreateVpcRequest
|
|
49
49
|
* CidrBlock: "STRING_VALUE",
|
|
50
|
-
* AmazonProvidedIpv6CidrBlock: true || false,
|
|
51
50
|
* Ipv6Pool: "STRING_VALUE",
|
|
52
51
|
* Ipv6CidrBlock: "STRING_VALUE",
|
|
53
52
|
* Ipv4IpamPoolId: "STRING_VALUE",
|
|
54
53
|
* Ipv4NetmaskLength: Number("int"),
|
|
55
54
|
* Ipv6IpamPoolId: "STRING_VALUE",
|
|
56
55
|
* Ipv6NetmaskLength: Number("int"),
|
|
57
|
-
* DryRun: true || false,
|
|
58
|
-
* InstanceTenancy: "default" || "dedicated" || "host",
|
|
59
56
|
* Ipv6CidrBlockNetworkBorderGroup: "STRING_VALUE",
|
|
60
57
|
* TagSpecifications: [ // TagSpecificationList
|
|
61
58
|
* { // TagSpecification
|
|
@@ -68,15 +65,14 @@ declare const CreateVpcCommand_base: {
|
|
|
68
65
|
* ],
|
|
69
66
|
* },
|
|
70
67
|
* ],
|
|
68
|
+
* DryRun: true || false,
|
|
69
|
+
* InstanceTenancy: "default" || "dedicated" || "host",
|
|
70
|
+
* AmazonProvidedIpv6CidrBlock: true || false,
|
|
71
71
|
* };
|
|
72
72
|
* const command = new CreateVpcCommand(input);
|
|
73
73
|
* const response = await client.send(command);
|
|
74
74
|
* // { // CreateVpcResult
|
|
75
75
|
* // Vpc: { // Vpc
|
|
76
|
-
* // CidrBlock: "STRING_VALUE",
|
|
77
|
-
* // DhcpOptionsId: "STRING_VALUE",
|
|
78
|
-
* // State: "pending" || "available",
|
|
79
|
-
* // VpcId: "STRING_VALUE",
|
|
80
76
|
* // OwnerId: "STRING_VALUE",
|
|
81
77
|
* // InstanceTenancy: "default" || "dedicated" || "host",
|
|
82
78
|
* // Ipv6CidrBlockAssociationSet: [ // VpcIpv6CidrBlockAssociationSet
|
|
@@ -110,6 +106,10 @@ declare const CreateVpcCommand_base: {
|
|
|
110
106
|
* // Value: "STRING_VALUE",
|
|
111
107
|
* // },
|
|
112
108
|
* // ],
|
|
109
|
+
* // VpcId: "STRING_VALUE",
|
|
110
|
+
* // State: "pending" || "available",
|
|
111
|
+
* // CidrBlock: "STRING_VALUE",
|
|
112
|
+
* // DhcpOptionsId: "STRING_VALUE",
|
|
113
113
|
* // },
|
|
114
114
|
* // };
|
|
115
115
|
*
|
|
@@ -47,10 +47,6 @@ declare const CreateVpcPeeringConnectionCommand_base: {
|
|
|
47
47
|
* // const { EC2Client, CreateVpcPeeringConnectionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
48
48
|
* const client = new EC2Client(config);
|
|
49
49
|
* const input = { // CreateVpcPeeringConnectionRequest
|
|
50
|
-
* DryRun: true || false,
|
|
51
|
-
* PeerOwnerId: "STRING_VALUE",
|
|
52
|
-
* PeerVpcId: "STRING_VALUE",
|
|
53
|
-
* VpcId: "STRING_VALUE", // required
|
|
54
50
|
* PeerRegion: "STRING_VALUE",
|
|
55
51
|
* TagSpecifications: [ // TagSpecificationList
|
|
56
52
|
* { // TagSpecification
|
|
@@ -63,6 +59,10 @@ declare const CreateVpcPeeringConnectionCommand_base: {
|
|
|
63
59
|
* ],
|
|
64
60
|
* },
|
|
65
61
|
* ],
|
|
62
|
+
* DryRun: true || false,
|
|
63
|
+
* VpcId: "STRING_VALUE", // required
|
|
64
|
+
* PeerVpcId: "STRING_VALUE",
|
|
65
|
+
* PeerOwnerId: "STRING_VALUE",
|
|
66
66
|
* };
|
|
67
67
|
* const command = new CreateVpcPeeringConnectionCommand(input);
|
|
68
68
|
* const response = await client.send(command);
|
|
@@ -55,10 +55,20 @@ declare const CreateVpnConnectionCommand_base: {
|
|
|
55
55
|
* Type: "STRING_VALUE", // required
|
|
56
56
|
* VpnGatewayId: "STRING_VALUE",
|
|
57
57
|
* TransitGatewayId: "STRING_VALUE",
|
|
58
|
+
* TagSpecifications: [ // TagSpecificationList
|
|
59
|
+
* { // TagSpecification
|
|
60
|
+
* 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",
|
|
61
|
+
* Tags: [ // TagList
|
|
62
|
+
* { // Tag
|
|
63
|
+
* Key: "STRING_VALUE",
|
|
64
|
+
* Value: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
58
69
|
* DryRun: true || false,
|
|
59
70
|
* Options: { // VpnConnectionOptionsSpecification
|
|
60
71
|
* EnableAcceleration: true || false,
|
|
61
|
-
* StaticRoutesOnly: true || false,
|
|
62
72
|
* TunnelInsideIpVersion: "ipv4" || "ipv6",
|
|
63
73
|
* TunnelOptions: [ // VpnTunnelOptionsSpecificationsList
|
|
64
74
|
* { // VpnTunnelOptionsSpecification
|
|
@@ -124,30 +134,14 @@ declare const CreateVpnConnectionCommand_base: {
|
|
|
124
134
|
* RemoteIpv6NetworkCidr: "STRING_VALUE",
|
|
125
135
|
* OutsideIpAddressType: "STRING_VALUE",
|
|
126
136
|
* TransportTransitGatewayAttachmentId: "STRING_VALUE",
|
|
137
|
+
* StaticRoutesOnly: true || false,
|
|
127
138
|
* },
|
|
128
|
-
* TagSpecifications: [ // TagSpecificationList
|
|
129
|
-
* { // TagSpecification
|
|
130
|
-
* 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",
|
|
131
|
-
* Tags: [ // TagList
|
|
132
|
-
* { // Tag
|
|
133
|
-
* Key: "STRING_VALUE",
|
|
134
|
-
* Value: "STRING_VALUE",
|
|
135
|
-
* },
|
|
136
|
-
* ],
|
|
137
|
-
* },
|
|
138
|
-
* ],
|
|
139
139
|
* };
|
|
140
140
|
* const command = new CreateVpnConnectionCommand(input);
|
|
141
141
|
* const response = await client.send(command);
|
|
142
142
|
* // { // CreateVpnConnectionResult
|
|
143
143
|
* // VpnConnection: { // VpnConnection
|
|
144
|
-
* // CustomerGatewayConfiguration: "STRING_VALUE",
|
|
145
|
-
* // CustomerGatewayId: "STRING_VALUE",
|
|
146
144
|
* // Category: "STRING_VALUE",
|
|
147
|
-
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
148
|
-
* // Type: "ipsec.1",
|
|
149
|
-
* // VpnConnectionId: "STRING_VALUE",
|
|
150
|
-
* // VpnGatewayId: "STRING_VALUE",
|
|
151
145
|
* // TransitGatewayId: "STRING_VALUE",
|
|
152
146
|
* // CoreNetworkArn: "STRING_VALUE",
|
|
153
147
|
* // CoreNetworkAttachmentArn: "STRING_VALUE",
|
|
@@ -245,6 +239,12 @@ declare const CreateVpnConnectionCommand_base: {
|
|
|
245
239
|
* // CertificateArn: "STRING_VALUE",
|
|
246
240
|
* // },
|
|
247
241
|
* // ],
|
|
242
|
+
* // VpnConnectionId: "STRING_VALUE",
|
|
243
|
+
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
244
|
+
* // CustomerGatewayConfiguration: "STRING_VALUE",
|
|
245
|
+
* // Type: "ipsec.1",
|
|
246
|
+
* // CustomerGatewayId: "STRING_VALUE",
|
|
247
|
+
* // VpnGatewayId: "STRING_VALUE",
|
|
248
248
|
* // },
|
|
249
249
|
* // };
|
|
250
250
|
*
|
|
@@ -59,16 +59,6 @@ declare const CreateVpnGatewayCommand_base: {
|
|
|
59
59
|
* const response = await client.send(command);
|
|
60
60
|
* // { // CreateVpnGatewayResult
|
|
61
61
|
* // VpnGateway: { // VpnGateway
|
|
62
|
-
* // AvailabilityZone: "STRING_VALUE",
|
|
63
|
-
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
64
|
-
* // Type: "ipsec.1",
|
|
65
|
-
* // VpcAttachments: [ // VpcAttachmentList
|
|
66
|
-
* // { // VpcAttachment
|
|
67
|
-
* // State: "attaching" || "attached" || "detaching" || "detached",
|
|
68
|
-
* // VpcId: "STRING_VALUE",
|
|
69
|
-
* // },
|
|
70
|
-
* // ],
|
|
71
|
-
* // VpnGatewayId: "STRING_VALUE",
|
|
72
62
|
* // AmazonSideAsn: Number("long"),
|
|
73
63
|
* // Tags: [ // TagList
|
|
74
64
|
* // { // Tag
|
|
@@ -76,6 +66,16 @@ declare const CreateVpnGatewayCommand_base: {
|
|
|
76
66
|
* // Value: "STRING_VALUE",
|
|
77
67
|
* // },
|
|
78
68
|
* // ],
|
|
69
|
+
* // VpnGatewayId: "STRING_VALUE",
|
|
70
|
+
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
71
|
+
* // Type: "ipsec.1",
|
|
72
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
73
|
+
* // VpcAttachments: [ // VpcAttachmentList
|
|
74
|
+
* // { // VpcAttachment
|
|
75
|
+
* // VpcId: "STRING_VALUE",
|
|
76
|
+
* // State: "attaching" || "attached" || "detaching" || "detached",
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
79
|
* // },
|
|
80
80
|
* // };
|
|
81
81
|
*
|
|
@@ -36,9 +36,9 @@ declare const DeleteNetworkAclEntryCommand_base: {
|
|
|
36
36
|
* const client = new EC2Client(config);
|
|
37
37
|
* const input = { // DeleteNetworkAclEntryRequest
|
|
38
38
|
* DryRun: true || false,
|
|
39
|
-
* Egress: true || false, // required
|
|
40
39
|
* NetworkAclId: "STRING_VALUE", // required
|
|
41
40
|
* RuleNumber: Number("int"), // required
|
|
41
|
+
* Egress: true || false, // required
|
|
42
42
|
* };
|
|
43
43
|
* const command = new DeleteNetworkAclEntryCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
@@ -35,11 +35,11 @@ declare const DeleteRouteCommand_base: {
|
|
|
35
35
|
* // const { EC2Client, DeleteRouteCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
36
36
|
* const client = new EC2Client(config);
|
|
37
37
|
* const input = { // DeleteRouteRequest
|
|
38
|
-
* DestinationCidrBlock: "STRING_VALUE",
|
|
39
|
-
* DestinationIpv6CidrBlock: "STRING_VALUE",
|
|
40
38
|
* DestinationPrefixListId: "STRING_VALUE",
|
|
41
39
|
* DryRun: true || false,
|
|
42
40
|
* RouteTableId: "STRING_VALUE", // required
|
|
41
|
+
* DestinationCidrBlock: "STRING_VALUE",
|
|
42
|
+
* DestinationIpv6CidrBlock: "STRING_VALUE",
|
|
43
43
|
* };
|
|
44
44
|
* const command = new DeleteRouteCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
@@ -27,7 +27,13 @@ declare const DeleteVpcCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the specified VPC. You must detach or delete all gateways and resources that are associated
|
|
30
|
+
* <p>Deletes the specified VPC. You must detach or delete all gateways and resources that are associated
|
|
31
|
+
* with the VPC before you can delete it. For example, you must terminate all instances running in the VPC,
|
|
32
|
+
* delete all security groups associated with the VPC (except the default one), delete all route tables
|
|
33
|
+
* associated with the VPC (except the default one), and so on. When you delete the VPC, it deletes the
|
|
34
|
+
* default security group, network ACL, and route table for the VPC.</p>
|
|
35
|
+
* <p>If you created a flow log for the VPC that you are deleting, note that flow logs for deleted
|
|
36
|
+
* VPCs are eventually automatically removed.</p>
|
|
31
37
|
* @example
|
|
32
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
39
|
* ```javascript
|
|
@@ -70,10 +70,10 @@ declare const DescribeAccountAttributesCommand_base: {
|
|
|
70
70
|
* // const { EC2Client, DescribeAccountAttributesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
71
71
|
* const client = new EC2Client(config);
|
|
72
72
|
* const input = { // DescribeAccountAttributesRequest
|
|
73
|
+
* DryRun: true || false,
|
|
73
74
|
* AttributeNames: [ // AccountAttributeNameStringList
|
|
74
75
|
* "supported-platforms" || "default-vpc",
|
|
75
76
|
* ],
|
|
76
|
-
* DryRun: true || false,
|
|
77
77
|
* };
|
|
78
78
|
* const command = new DescribeAccountAttributesCommand(input);
|
|
79
79
|
* const response = await client.send(command);
|