@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
|
@@ -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);
|
|
@@ -35,6 +35,10 @@ declare const DescribeAddressesCommand_base: {
|
|
|
35
35
|
* // const { EC2Client, DescribeAddressesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
36
36
|
* const client = new EC2Client(config);
|
|
37
37
|
* const input = { // DescribeAddressesRequest
|
|
38
|
+
* PublicIps: [ // PublicIpStringList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* DryRun: true || false,
|
|
38
42
|
* Filters: [ // FilterList
|
|
39
43
|
* { // Filter
|
|
40
44
|
* Name: "STRING_VALUE",
|
|
@@ -43,21 +47,15 @@ declare const DescribeAddressesCommand_base: {
|
|
|
43
47
|
* ],
|
|
44
48
|
* },
|
|
45
49
|
* ],
|
|
46
|
-
* PublicIps: [ // PublicIpStringList
|
|
47
|
-
* "STRING_VALUE",
|
|
48
|
-
* ],
|
|
49
50
|
* AllocationIds: [ // AllocationIdList
|
|
50
51
|
* "STRING_VALUE",
|
|
51
52
|
* ],
|
|
52
|
-
* DryRun: true || false,
|
|
53
53
|
* };
|
|
54
54
|
* const command = new DescribeAddressesCommand(input);
|
|
55
55
|
* const response = await client.send(command);
|
|
56
56
|
* // { // DescribeAddressesResult
|
|
57
57
|
* // Addresses: [ // AddressList
|
|
58
58
|
* // { // Address
|
|
59
|
-
* // InstanceId: "STRING_VALUE",
|
|
60
|
-
* // PublicIp: "STRING_VALUE",
|
|
61
59
|
* // AllocationId: "STRING_VALUE",
|
|
62
60
|
* // AssociationId: "STRING_VALUE",
|
|
63
61
|
* // Domain: "vpc" || "standard",
|
|
@@ -75,6 +73,8 @@ declare const DescribeAddressesCommand_base: {
|
|
|
75
73
|
* // CustomerOwnedIp: "STRING_VALUE",
|
|
76
74
|
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
|
|
77
75
|
* // CarrierIp: "STRING_VALUE",
|
|
76
|
+
* // InstanceId: "STRING_VALUE",
|
|
77
|
+
* // PublicIp: "STRING_VALUE",
|
|
78
78
|
* // },
|
|
79
79
|
* // ],
|
|
80
80
|
* // };
|
|
@@ -45,14 +45,6 @@ declare const DescribeAvailabilityZonesCommand_base: {
|
|
|
45
45
|
* // const { EC2Client, DescribeAvailabilityZonesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
46
46
|
* const client = new EC2Client(config);
|
|
47
47
|
* const input = { // DescribeAvailabilityZonesRequest
|
|
48
|
-
* Filters: [ // FilterList
|
|
49
|
-
* { // Filter
|
|
50
|
-
* Name: "STRING_VALUE",
|
|
51
|
-
* Values: [ // ValueStringList
|
|
52
|
-
* "STRING_VALUE",
|
|
53
|
-
* ],
|
|
54
|
-
* },
|
|
55
|
-
* ],
|
|
56
48
|
* ZoneNames: [ // ZoneNameStringList
|
|
57
49
|
* "STRING_VALUE",
|
|
58
50
|
* ],
|
|
@@ -61,13 +53,20 @@ declare const DescribeAvailabilityZonesCommand_base: {
|
|
|
61
53
|
* ],
|
|
62
54
|
* AllAvailabilityZones: true || false,
|
|
63
55
|
* DryRun: true || false,
|
|
56
|
+
* Filters: [ // FilterList
|
|
57
|
+
* { // Filter
|
|
58
|
+
* Name: "STRING_VALUE",
|
|
59
|
+
* Values: [ // ValueStringList
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
64
|
* };
|
|
65
65
|
* const command = new DescribeAvailabilityZonesCommand(input);
|
|
66
66
|
* const response = await client.send(command);
|
|
67
67
|
* // { // DescribeAvailabilityZonesResult
|
|
68
68
|
* // AvailabilityZones: [ // AvailabilityZoneList
|
|
69
69
|
* // { // AvailabilityZone
|
|
70
|
-
* // State: "available" || "information" || "impaired" || "unavailable" || "constrained",
|
|
71
70
|
* // OptInStatus: "opt-in-not-required" || "opted-in" || "not-opted-in",
|
|
72
71
|
* // Messages: [ // AvailabilityZoneMessageList
|
|
73
72
|
* // { // AvailabilityZoneMessage
|
|
@@ -82,6 +81,7 @@ declare const DescribeAvailabilityZonesCommand_base: {
|
|
|
82
81
|
* // ZoneType: "STRING_VALUE",
|
|
83
82
|
* // ParentZoneName: "STRING_VALUE",
|
|
84
83
|
* // ParentZoneId: "STRING_VALUE",
|
|
84
|
+
* // State: "available" || "information" || "impaired" || "unavailable" || "constrained",
|
|
85
85
|
* // },
|
|
86
86
|
* // ],
|
|
87
87
|
* // };
|
|
@@ -46,6 +46,7 @@ declare const DescribeBundleTasksCommand_base: {
|
|
|
46
46
|
* BundleIds: [ // BundleIdStringList
|
|
47
47
|
* "STRING_VALUE",
|
|
48
48
|
* ],
|
|
49
|
+
* DryRun: true || false,
|
|
49
50
|
* Filters: [ // FilterList
|
|
50
51
|
* { // Filter
|
|
51
52
|
* Name: "STRING_VALUE",
|
|
@@ -54,22 +55,17 @@ declare const DescribeBundleTasksCommand_base: {
|
|
|
54
55
|
* ],
|
|
55
56
|
* },
|
|
56
57
|
* ],
|
|
57
|
-
* DryRun: true || false,
|
|
58
58
|
* };
|
|
59
59
|
* const command = new DescribeBundleTasksCommand(input);
|
|
60
60
|
* const response = await client.send(command);
|
|
61
61
|
* // { // DescribeBundleTasksResult
|
|
62
62
|
* // BundleTasks: [ // BundleTaskList
|
|
63
63
|
* // { // BundleTask
|
|
64
|
-
* // BundleId: "STRING_VALUE",
|
|
65
|
-
* // BundleTaskError: { // BundleTaskError
|
|
66
|
-
* // Code: "STRING_VALUE",
|
|
67
|
-
* // Message: "STRING_VALUE",
|
|
68
|
-
* // },
|
|
69
64
|
* // InstanceId: "STRING_VALUE",
|
|
70
|
-
* //
|
|
71
|
-
* // StartTime: new Date("TIMESTAMP"),
|
|
65
|
+
* // BundleId: "STRING_VALUE",
|
|
72
66
|
* // State: "pending" || "waiting-for-shutdown" || "bundling" || "storing" || "cancelling" || "complete" || "failed",
|
|
67
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
68
|
+
* // UpdateTime: new Date("TIMESTAMP"),
|
|
73
69
|
* // Storage: { // Storage
|
|
74
70
|
* // S3: { // S3Storage
|
|
75
71
|
* // AWSAccessKeyId: "STRING_VALUE",
|
|
@@ -79,7 +75,11 @@ declare const DescribeBundleTasksCommand_base: {
|
|
|
79
75
|
* // UploadPolicySignature: "STRING_VALUE",
|
|
80
76
|
* // },
|
|
81
77
|
* // },
|
|
82
|
-
* //
|
|
78
|
+
* // Progress: "STRING_VALUE",
|
|
79
|
+
* // BundleTaskError: { // BundleTaskError
|
|
80
|
+
* // Code: "STRING_VALUE",
|
|
81
|
+
* // Message: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
83
|
* // },
|
|
84
84
|
* // ],
|
|
85
85
|
* // };
|
|
@@ -40,6 +40,10 @@ declare const DescribeClassicLinkInstancesCommand_base: {
|
|
|
40
40
|
* // const { EC2Client, DescribeClassicLinkInstancesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
41
41
|
* const client = new EC2Client(config);
|
|
42
42
|
* const input = { // DescribeClassicLinkInstancesRequest
|
|
43
|
+
* DryRun: true || false,
|
|
44
|
+
* InstanceIds: [ // InstanceIdStringList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
43
47
|
* Filters: [ // FilterList
|
|
44
48
|
* { // Filter
|
|
45
49
|
* Name: "STRING_VALUE",
|
|
@@ -48,12 +52,8 @@ declare const DescribeClassicLinkInstancesCommand_base: {
|
|
|
48
52
|
* ],
|
|
49
53
|
* },
|
|
50
54
|
* ],
|
|
51
|
-
* DryRun: true || false,
|
|
52
|
-
* InstanceIds: [ // InstanceIdStringList
|
|
53
|
-
* "STRING_VALUE",
|
|
54
|
-
* ],
|
|
55
|
-
* MaxResults: Number("int"),
|
|
56
55
|
* NextToken: "STRING_VALUE",
|
|
56
|
+
* MaxResults: Number("int"),
|
|
57
57
|
* };
|
|
58
58
|
* const command = new DescribeClassicLinkInstancesCommand(input);
|
|
59
59
|
* const response = await client.send(command);
|
|
@@ -62,8 +62,8 @@ declare const DescribeClassicLinkInstancesCommand_base: {
|
|
|
62
62
|
* // { // ClassicLinkInstance
|
|
63
63
|
* // Groups: [ // GroupIdentifierList
|
|
64
64
|
* // { // GroupIdentifier
|
|
65
|
-
* // GroupName: "STRING_VALUE",
|
|
66
65
|
* // GroupId: "STRING_VALUE",
|
|
66
|
+
* // GroupName: "STRING_VALUE",
|
|
67
67
|
* // },
|
|
68
68
|
* // ],
|
|
69
69
|
* // InstanceId: "STRING_VALUE",
|
|
@@ -37,10 +37,10 @@ declare const DescribeConversionTasksCommand_base: {
|
|
|
37
37
|
* // const { EC2Client, DescribeConversionTasksCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
38
|
* const client = new EC2Client(config);
|
|
39
39
|
* const input = { // DescribeConversionTasksRequest
|
|
40
|
+
* DryRun: true || false,
|
|
40
41
|
* ConversionTaskIds: [ // ConversionIdStringList
|
|
41
42
|
* "STRING_VALUE",
|
|
42
43
|
* ],
|
|
43
|
-
* DryRun: true || false,
|
|
44
44
|
* };
|
|
45
45
|
* const command = new DescribeConversionTasksCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
@@ -55,12 +55,7 @@ declare const DescribeCustomerGatewaysCommand_base: {
|
|
|
55
55
|
* // { // DescribeCustomerGatewaysResult
|
|
56
56
|
* // CustomerGateways: [ // CustomerGatewayList
|
|
57
57
|
* // { // CustomerGateway
|
|
58
|
-
* // BgpAsn: "STRING_VALUE",
|
|
59
|
-
* // CustomerGatewayId: "STRING_VALUE",
|
|
60
|
-
* // IpAddress: "STRING_VALUE",
|
|
61
58
|
* // CertificateArn: "STRING_VALUE",
|
|
62
|
-
* // State: "STRING_VALUE",
|
|
63
|
-
* // Type: "STRING_VALUE",
|
|
64
59
|
* // DeviceName: "STRING_VALUE",
|
|
65
60
|
* // Tags: [ // TagList
|
|
66
61
|
* // { // Tag
|
|
@@ -69,6 +64,11 @@ declare const DescribeCustomerGatewaysCommand_base: {
|
|
|
69
64
|
* // },
|
|
70
65
|
* // ],
|
|
71
66
|
* // BgpAsnExtended: "STRING_VALUE",
|
|
67
|
+
* // CustomerGatewayId: "STRING_VALUE",
|
|
68
|
+
* // State: "STRING_VALUE",
|
|
69
|
+
* // Type: "STRING_VALUE",
|
|
70
|
+
* // IpAddress: "STRING_VALUE",
|
|
71
|
+
* // BgpAsn: "STRING_VALUE",
|
|
72
72
|
* // },
|
|
73
73
|
* // ],
|
|
74
74
|
* // };
|
|
@@ -42,6 +42,9 @@ declare const DescribeDhcpOptionsCommand_base: {
|
|
|
42
42
|
* DhcpOptionsIds: [ // DhcpOptionsIdStringList
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
|
+
* NextToken: "STRING_VALUE",
|
|
46
|
+
* MaxResults: Number("int"),
|
|
47
|
+
* DryRun: true || false,
|
|
45
48
|
* Filters: [ // FilterList
|
|
46
49
|
* { // Filter
|
|
47
50
|
* Name: "STRING_VALUE",
|
|
@@ -50,15 +53,21 @@ declare const DescribeDhcpOptionsCommand_base: {
|
|
|
50
53
|
* ],
|
|
51
54
|
* },
|
|
52
55
|
* ],
|
|
53
|
-
* DryRun: true || false,
|
|
54
|
-
* NextToken: "STRING_VALUE",
|
|
55
|
-
* MaxResults: Number("int"),
|
|
56
56
|
* };
|
|
57
57
|
* const command = new DescribeDhcpOptionsCommand(input);
|
|
58
58
|
* const response = await client.send(command);
|
|
59
59
|
* // { // DescribeDhcpOptionsResult
|
|
60
|
+
* // NextToken: "STRING_VALUE",
|
|
60
61
|
* // DhcpOptions: [ // DhcpOptionsList
|
|
61
62
|
* // { // DhcpOptions
|
|
63
|
+
* // OwnerId: "STRING_VALUE",
|
|
64
|
+
* // Tags: [ // TagList
|
|
65
|
+
* // { // Tag
|
|
66
|
+
* // Key: "STRING_VALUE",
|
|
67
|
+
* // Value: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // DhcpOptionsId: "STRING_VALUE",
|
|
62
71
|
* // DhcpConfigurations: [ // DhcpConfigurationList
|
|
63
72
|
* // { // DhcpConfiguration
|
|
64
73
|
* // Key: "STRING_VALUE",
|
|
@@ -69,17 +78,8 @@ declare const DescribeDhcpOptionsCommand_base: {
|
|
|
69
78
|
* // ],
|
|
70
79
|
* // },
|
|
71
80
|
* // ],
|
|
72
|
-
* // DhcpOptionsId: "STRING_VALUE",
|
|
73
|
-
* // OwnerId: "STRING_VALUE",
|
|
74
|
-
* // Tags: [ // TagList
|
|
75
|
-
* // { // Tag
|
|
76
|
-
* // Key: "STRING_VALUE",
|
|
77
|
-
* // Value: "STRING_VALUE",
|
|
78
|
-
* // },
|
|
79
|
-
* // ],
|
|
80
81
|
* // },
|
|
81
82
|
* // ],
|
|
82
|
-
* // NextToken: "STRING_VALUE",
|
|
83
83
|
* // };
|
|
84
84
|
*
|
|
85
85
|
* ```
|
|
@@ -35,9 +35,6 @@ declare const DescribeExportTasksCommand_base: {
|
|
|
35
35
|
* // const { EC2Client, DescribeExportTasksCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
36
36
|
* const client = new EC2Client(config);
|
|
37
37
|
* const input = { // DescribeExportTasksRequest
|
|
38
|
-
* ExportTaskIds: [ // ExportTaskIdStringList
|
|
39
|
-
* "STRING_VALUE",
|
|
40
|
-
* ],
|
|
41
38
|
* Filters: [ // FilterList
|
|
42
39
|
* { // Filter
|
|
43
40
|
* Name: "STRING_VALUE",
|
|
@@ -46,6 +43,9 @@ declare const DescribeExportTasksCommand_base: {
|
|
|
46
43
|
* ],
|
|
47
44
|
* },
|
|
48
45
|
* ],
|
|
46
|
+
* ExportTaskIds: [ // ExportTaskIdStringList
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
49
|
* };
|
|
50
50
|
* const command = new DescribeExportTasksCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
@@ -38,6 +38,11 @@ declare const DescribeHostsCommand_base: {
|
|
|
38
38
|
* // const { EC2Client, DescribeHostsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
39
39
|
* const client = new EC2Client(config);
|
|
40
40
|
* const input = { // DescribeHostsRequest
|
|
41
|
+
* HostIds: [ // RequestHostIdList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* NextToken: "STRING_VALUE",
|
|
45
|
+
* MaxResults: Number("int"),
|
|
41
46
|
* Filter: [ // FilterList
|
|
42
47
|
* { // Filter
|
|
43
48
|
* Name: "STRING_VALUE",
|
|
@@ -46,11 +51,6 @@ declare const DescribeHostsCommand_base: {
|
|
|
46
51
|
* ],
|
|
47
52
|
* },
|
|
48
53
|
* ],
|
|
49
|
-
* HostIds: [ // RequestHostIdList
|
|
50
|
-
* "STRING_VALUE",
|
|
51
|
-
* ],
|
|
52
|
-
* MaxResults: Number("int"),
|
|
53
|
-
* NextToken: "STRING_VALUE",
|
|
54
54
|
* };
|
|
55
55
|
* const command = new DescribeHostsCommand(input);
|
|
56
56
|
* const response = await client.send(command);
|
|
@@ -53,8 +53,8 @@ declare const DescribeIdentityIdFormatCommand_base: {
|
|
|
53
53
|
* // const { EC2Client, DescribeIdentityIdFormatCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
54
54
|
* const client = new EC2Client(config);
|
|
55
55
|
* const input = { // DescribeIdentityIdFormatRequest
|
|
56
|
-
* PrincipalArn: "STRING_VALUE", // required
|
|
57
56
|
* Resource: "STRING_VALUE",
|
|
57
|
+
* PrincipalArn: "STRING_VALUE", // required
|
|
58
58
|
* };
|
|
59
59
|
* const command = new DescribeIdentityIdFormatCommand(input);
|
|
60
60
|
* const response = await client.send(command);
|