@aws-sdk/client-ec2 3.664.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/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 +5 -5
|
@@ -51,7 +51,6 @@ declare const AllocateAddressCommand_base: {
|
|
|
51
51
|
* PublicIpv4Pool: "STRING_VALUE",
|
|
52
52
|
* NetworkBorderGroup: "STRING_VALUE",
|
|
53
53
|
* CustomerOwnedIpv4Pool: "STRING_VALUE",
|
|
54
|
-
* DryRun: true || false,
|
|
55
54
|
* TagSpecifications: [ // TagSpecificationList
|
|
56
55
|
* { // TagSpecification
|
|
57
56
|
* 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",
|
|
@@ -64,11 +63,11 @@ declare const AllocateAddressCommand_base: {
|
|
|
64
63
|
* },
|
|
65
64
|
* ],
|
|
66
65
|
* IpamPoolId: "STRING_VALUE",
|
|
66
|
+
* DryRun: true || false,
|
|
67
67
|
* };
|
|
68
68
|
* const command = new AllocateAddressCommand(input);
|
|
69
69
|
* const response = await client.send(command);
|
|
70
70
|
* // { // AllocateAddressResult
|
|
71
|
-
* // PublicIp: "STRING_VALUE",
|
|
72
71
|
* // AllocationId: "STRING_VALUE",
|
|
73
72
|
* // PublicIpv4Pool: "STRING_VALUE",
|
|
74
73
|
* // NetworkBorderGroup: "STRING_VALUE",
|
|
@@ -76,6 +75,7 @@ declare const AllocateAddressCommand_base: {
|
|
|
76
75
|
* // CustomerOwnedIp: "STRING_VALUE",
|
|
77
76
|
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
|
|
78
77
|
* // CarrierIp: "STRING_VALUE",
|
|
78
|
+
* // PublicIp: "STRING_VALUE",
|
|
79
79
|
* // };
|
|
80
80
|
*
|
|
81
81
|
* ```
|
|
@@ -37,12 +37,7 @@ declare const AllocateHostsCommand_base: {
|
|
|
37
37
|
* // const { EC2Client, AllocateHostsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
38
|
* const client = new EC2Client(config);
|
|
39
39
|
* const input = { // AllocateHostsRequest
|
|
40
|
-
* AutoPlacement: "on" || "off",
|
|
41
|
-
* AvailabilityZone: "STRING_VALUE", // required
|
|
42
|
-
* ClientToken: "STRING_VALUE",
|
|
43
|
-
* InstanceType: "STRING_VALUE",
|
|
44
40
|
* InstanceFamily: "STRING_VALUE",
|
|
45
|
-
* Quantity: Number("int"),
|
|
46
41
|
* TagSpecifications: [ // TagSpecificationList
|
|
47
42
|
* { // TagSpecification
|
|
48
43
|
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
@@ -60,6 +55,11 @@ declare const AllocateHostsCommand_base: {
|
|
|
60
55
|
* AssetIds: [ // AssetIdList
|
|
61
56
|
* "STRING_VALUE",
|
|
62
57
|
* ],
|
|
58
|
+
* AutoPlacement: "on" || "off",
|
|
59
|
+
* ClientToken: "STRING_VALUE",
|
|
60
|
+
* InstanceType: "STRING_VALUE",
|
|
61
|
+
* Quantity: Number("int"),
|
|
62
|
+
* AvailabilityZone: "STRING_VALUE", // required
|
|
63
63
|
* };
|
|
64
64
|
* const command = new AllocateHostsCommand(input);
|
|
65
65
|
* const response = await client.send(command);
|
|
@@ -44,15 +44,15 @@ declare const AssignIpv6AddressesCommand_base: {
|
|
|
44
44
|
* // const { EC2Client, AssignIpv6AddressesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
45
45
|
* const client = new EC2Client(config);
|
|
46
46
|
* const input = { // AssignIpv6AddressesRequest
|
|
47
|
-
* Ipv6AddressCount: Number("int"),
|
|
48
|
-
* Ipv6Addresses: [ // Ipv6AddressList
|
|
49
|
-
* "STRING_VALUE",
|
|
50
|
-
* ],
|
|
51
47
|
* Ipv6PrefixCount: Number("int"),
|
|
52
48
|
* Ipv6Prefixes: [ // IpPrefixList
|
|
53
49
|
* "STRING_VALUE",
|
|
54
50
|
* ],
|
|
55
51
|
* NetworkInterfaceId: "STRING_VALUE", // required
|
|
52
|
+
* Ipv6Addresses: [ // Ipv6AddressList
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* Ipv6AddressCount: Number("int"),
|
|
56
56
|
* };
|
|
57
57
|
* const command = new AssignIpv6AddressesCommand(input);
|
|
58
58
|
* const response = await client.send(command);
|
|
@@ -49,16 +49,16 @@ declare const AssignPrivateIpAddressesCommand_base: {
|
|
|
49
49
|
* // const { EC2Client, AssignPrivateIpAddressesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
50
50
|
* const client = new EC2Client(config);
|
|
51
51
|
* const input = { // AssignPrivateIpAddressesRequest
|
|
52
|
-
*
|
|
52
|
+
* Ipv4Prefixes: [ // IpPrefixList
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* Ipv4PrefixCount: Number("int"),
|
|
53
56
|
* NetworkInterfaceId: "STRING_VALUE", // required
|
|
54
57
|
* PrivateIpAddresses: [ // PrivateIpAddressStringList
|
|
55
58
|
* "STRING_VALUE",
|
|
56
59
|
* ],
|
|
57
60
|
* SecondaryPrivateIpAddressCount: Number("int"),
|
|
58
|
-
*
|
|
59
|
-
* "STRING_VALUE",
|
|
60
|
-
* ],
|
|
61
|
-
* Ipv4PrefixCount: Number("int"),
|
|
61
|
+
* AllowReassignment: true || false,
|
|
62
62
|
* };
|
|
63
63
|
* const command = new AssignPrivateIpAddressesCommand(input);
|
|
64
64
|
* const response = await client.send(command);
|
|
@@ -28,7 +28,7 @@ declare const AssignPrivateNatGatewayAddressCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Assigns private IPv4 addresses to a private NAT gateway. For more information, see
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html">Work with NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -55,10 +55,10 @@ declare const AssociateAddressCommand_base: {
|
|
|
55
55
|
* AllocationId: "STRING_VALUE",
|
|
56
56
|
* InstanceId: "STRING_VALUE",
|
|
57
57
|
* PublicIp: "STRING_VALUE",
|
|
58
|
-
* AllowReassociation: true || false,
|
|
59
58
|
* DryRun: true || false,
|
|
60
59
|
* NetworkInterfaceId: "STRING_VALUE",
|
|
61
60
|
* PrivateIpAddress: "STRING_VALUE",
|
|
61
|
+
* AllowReassociation: true || false,
|
|
62
62
|
* };
|
|
63
63
|
* const command = new AssociateAddressCommand(input);
|
|
64
64
|
* const response = await client.send(command);
|
|
@@ -28,11 +28,15 @@ declare const AssociateNatGatewayAddressCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information,
|
|
31
|
-
* see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
31
|
+
* see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html">Work with NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
32
32
|
* <p>By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. You can increase the limit by requesting a quota adjustment.
|
|
33
33
|
* For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-eips">Elastic IP address quotas</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
34
34
|
* <important>
|
|
35
|
-
* <p>When you associate an EIP or secondary EIPs with a public NAT gateway, the network border group of the EIPs
|
|
35
|
+
* <p>When you associate an EIP or secondary EIPs with a public NAT gateway, the network border group of the EIPs
|
|
36
|
+
* must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same,
|
|
37
|
+
* the EIP will fail to associate. You can see the network border group for the subnet's AZ by viewing the details of the subnet.
|
|
38
|
+
* Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information
|
|
39
|
+
* about network border groups and EIPs, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html">Allocate an Elastic IP address</a> in the <i>Amazon VPC User Guide</i>.
|
|
36
40
|
* </p>
|
|
37
41
|
* </important>
|
|
38
42
|
* @example
|
|
@@ -41,10 +41,10 @@ declare const AssociateRouteTableCommand_base: {
|
|
|
41
41
|
* // const { EC2Client, AssociateRouteTableCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
42
42
|
* const client = new EC2Client(config);
|
|
43
43
|
* const input = { // AssociateRouteTableRequest
|
|
44
|
+
* GatewayId: "STRING_VALUE",
|
|
44
45
|
* DryRun: true || false,
|
|
45
|
-
* RouteTableId: "STRING_VALUE", // required
|
|
46
46
|
* SubnetId: "STRING_VALUE",
|
|
47
|
-
*
|
|
47
|
+
* RouteTableId: "STRING_VALUE", // required
|
|
48
48
|
* };
|
|
49
49
|
* const command = new AssociateRouteTableCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
@@ -36,10 +36,10 @@ declare const AssociateSubnetCidrBlockCommand_base: {
|
|
|
36
36
|
* // const { EC2Client, AssociateSubnetCidrBlockCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
37
37
|
* const client = new EC2Client(config);
|
|
38
38
|
* const input = { // AssociateSubnetCidrBlockRequest
|
|
39
|
-
* Ipv6CidrBlock: "STRING_VALUE",
|
|
40
|
-
* SubnetId: "STRING_VALUE", // required
|
|
41
39
|
* Ipv6IpamPoolId: "STRING_VALUE",
|
|
42
40
|
* Ipv6NetmaskLength: Number("int"),
|
|
41
|
+
* SubnetId: "STRING_VALUE", // required
|
|
42
|
+
* Ipv6CidrBlock: "STRING_VALUE",
|
|
43
43
|
* };
|
|
44
44
|
* const command = new AssociateSubnetCidrBlockCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
@@ -42,9 +42,7 @@ declare const AssociateVpcCidrBlockCommand_base: {
|
|
|
42
42
|
* // const { EC2Client, AssociateVpcCidrBlockCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
43
43
|
* const client = new EC2Client(config);
|
|
44
44
|
* const input = { // AssociateVpcCidrBlockRequest
|
|
45
|
-
* AmazonProvidedIpv6CidrBlock: true || false,
|
|
46
45
|
* CidrBlock: "STRING_VALUE",
|
|
47
|
-
* VpcId: "STRING_VALUE", // required
|
|
48
46
|
* Ipv6CidrBlockNetworkBorderGroup: "STRING_VALUE",
|
|
49
47
|
* Ipv6Pool: "STRING_VALUE",
|
|
50
48
|
* Ipv6CidrBlock: "STRING_VALUE",
|
|
@@ -52,6 +50,8 @@ declare const AssociateVpcCidrBlockCommand_base: {
|
|
|
52
50
|
* Ipv4NetmaskLength: Number("int"),
|
|
53
51
|
* Ipv6IpamPoolId: "STRING_VALUE",
|
|
54
52
|
* Ipv6NetmaskLength: Number("int"),
|
|
53
|
+
* VpcId: "STRING_VALUE", // required
|
|
54
|
+
* AmazonProvidedIpv6CidrBlock: true || false,
|
|
55
55
|
* };
|
|
56
56
|
* const command = new AssociateVpcCidrBlockCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
@@ -45,11 +45,11 @@ declare const AttachClassicLinkVpcCommand_base: {
|
|
|
45
45
|
* const client = new EC2Client(config);
|
|
46
46
|
* const input = { // AttachClassicLinkVpcRequest
|
|
47
47
|
* DryRun: true || false,
|
|
48
|
+
* InstanceId: "STRING_VALUE", // required
|
|
49
|
+
* VpcId: "STRING_VALUE", // required
|
|
48
50
|
* Groups: [ // GroupIdStringList // required
|
|
49
51
|
* "STRING_VALUE",
|
|
50
52
|
* ],
|
|
51
|
-
* InstanceId: "STRING_VALUE", // required
|
|
52
|
-
* VpcId: "STRING_VALUE", // required
|
|
53
53
|
* };
|
|
54
54
|
* const command = new AttachClassicLinkVpcCommand(input);
|
|
55
55
|
* const response = await client.send(command);
|
|
@@ -35,10 +35,6 @@ declare const AttachNetworkInterfaceCommand_base: {
|
|
|
35
35
|
* // const { EC2Client, AttachNetworkInterfaceCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
36
36
|
* const client = new EC2Client(config);
|
|
37
37
|
* const input = { // AttachNetworkInterfaceRequest
|
|
38
|
-
* DeviceIndex: Number("int"), // required
|
|
39
|
-
* DryRun: true || false,
|
|
40
|
-
* InstanceId: "STRING_VALUE", // required
|
|
41
|
-
* NetworkInterfaceId: "STRING_VALUE", // required
|
|
42
38
|
* NetworkCardIndex: Number("int"),
|
|
43
39
|
* EnaSrdSpecification: { // EnaSrdSpecification
|
|
44
40
|
* EnaSrdEnabled: true || false,
|
|
@@ -46,6 +42,10 @@ declare const AttachNetworkInterfaceCommand_base: {
|
|
|
46
42
|
* EnaSrdUdpEnabled: true || false,
|
|
47
43
|
* },
|
|
48
44
|
* },
|
|
45
|
+
* DryRun: true || false,
|
|
46
|
+
* NetworkInterfaceId: "STRING_VALUE", // required
|
|
47
|
+
* InstanceId: "STRING_VALUE", // required
|
|
48
|
+
* DeviceIndex: Number("int"), // required
|
|
49
49
|
* };
|
|
50
50
|
* const command = new AttachNetworkInterfaceCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
@@ -67,14 +67,14 @@ declare const AttachVolumeCommand_base: {
|
|
|
67
67
|
* const command = new AttachVolumeCommand(input);
|
|
68
68
|
* const response = await client.send(command);
|
|
69
69
|
* // { // VolumeAttachment
|
|
70
|
-
* // AttachTime: new Date("TIMESTAMP"),
|
|
71
|
-
* // Device: "STRING_VALUE",
|
|
72
|
-
* // InstanceId: "STRING_VALUE",
|
|
73
|
-
* // State: "attaching" || "attached" || "detaching" || "detached" || "busy",
|
|
74
|
-
* // VolumeId: "STRING_VALUE",
|
|
75
70
|
* // DeleteOnTermination: true || false,
|
|
76
71
|
* // AssociatedResource: "STRING_VALUE",
|
|
77
72
|
* // InstanceOwningService: "STRING_VALUE",
|
|
73
|
+
* // VolumeId: "STRING_VALUE",
|
|
74
|
+
* // InstanceId: "STRING_VALUE",
|
|
75
|
+
* // Device: "STRING_VALUE",
|
|
76
|
+
* // State: "attaching" || "attached" || "detaching" || "detached" || "busy",
|
|
77
|
+
* // AttachTime: new Date("TIMESTAMP"),
|
|
78
78
|
* // };
|
|
79
79
|
*
|
|
80
80
|
* ```
|
|
@@ -27,7 +27,7 @@ declare const AttachVpnGatewayCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Attaches
|
|
30
|
+
* <p>Attaches an available virtual private gateway to a VPC. You can attach one virtual private
|
|
31
31
|
* gateway to one VPC at a time.</p>
|
|
32
32
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html">Amazon Web Services Site-to-Site VPN</a> in the <i>Amazon Web Services Site-to-Site VPN
|
|
33
33
|
* User Guide</i>.</p>
|
|
@@ -46,8 +46,8 @@ declare const AttachVpnGatewayCommand_base: {
|
|
|
46
46
|
* const response = await client.send(command);
|
|
47
47
|
* // { // AttachVpnGatewayResult
|
|
48
48
|
* // VpcAttachment: { // VpcAttachment
|
|
49
|
-
* // State: "attaching" || "attached" || "detaching" || "detached",
|
|
50
49
|
* // VpcId: "STRING_VALUE",
|
|
50
|
+
* // State: "attaching" || "attached" || "detaching" || "detached",
|
|
51
51
|
* // },
|
|
52
52
|
* // };
|
|
53
53
|
*
|
|
@@ -47,22 +47,51 @@ declare const AuthorizeSecurityGroupEgressCommand_base: {
|
|
|
47
47
|
* // const { EC2Client, AuthorizeSecurityGroupEgressCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
48
48
|
* const client = new EC2Client(config);
|
|
49
49
|
* const input = { // AuthorizeSecurityGroupEgressRequest
|
|
50
|
+
* TagSpecifications: [ // TagSpecificationList
|
|
51
|
+
* { // TagSpecification
|
|
52
|
+
* 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",
|
|
53
|
+
* Tags: [ // TagList
|
|
54
|
+
* { // Tag
|
|
55
|
+
* Key: "STRING_VALUE",
|
|
56
|
+
* Value: "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
50
61
|
* DryRun: true || false,
|
|
51
62
|
* GroupId: "STRING_VALUE", // required
|
|
63
|
+
* SourceSecurityGroupName: "STRING_VALUE",
|
|
64
|
+
* SourceSecurityGroupOwnerId: "STRING_VALUE",
|
|
65
|
+
* IpProtocol: "STRING_VALUE",
|
|
66
|
+
* FromPort: Number("int"),
|
|
67
|
+
* ToPort: Number("int"),
|
|
68
|
+
* CidrIp: "STRING_VALUE",
|
|
52
69
|
* IpPermissions: [ // IpPermissionList
|
|
53
70
|
* { // IpPermission
|
|
54
|
-
* FromPort: Number("int"),
|
|
55
71
|
* IpProtocol: "STRING_VALUE",
|
|
72
|
+
* FromPort: Number("int"),
|
|
73
|
+
* ToPort: Number("int"),
|
|
74
|
+
* UserIdGroupPairs: [ // UserIdGroupPairList
|
|
75
|
+
* { // UserIdGroupPair
|
|
76
|
+
* Description: "STRING_VALUE",
|
|
77
|
+
* UserId: "STRING_VALUE",
|
|
78
|
+
* GroupName: "STRING_VALUE",
|
|
79
|
+
* GroupId: "STRING_VALUE",
|
|
80
|
+
* VpcId: "STRING_VALUE",
|
|
81
|
+
* VpcPeeringConnectionId: "STRING_VALUE",
|
|
82
|
+
* PeeringStatus: "STRING_VALUE",
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
56
85
|
* IpRanges: [ // IpRangeList
|
|
57
86
|
* { // IpRange
|
|
58
|
-
* CidrIp: "STRING_VALUE",
|
|
59
87
|
* Description: "STRING_VALUE",
|
|
88
|
+
* CidrIp: "STRING_VALUE",
|
|
60
89
|
* },
|
|
61
90
|
* ],
|
|
62
91
|
* Ipv6Ranges: [ // Ipv6RangeList
|
|
63
92
|
* { // Ipv6Range
|
|
64
|
-
* CidrIpv6: "STRING_VALUE",
|
|
65
93
|
* Description: "STRING_VALUE",
|
|
94
|
+
* CidrIpv6: "STRING_VALUE",
|
|
66
95
|
* },
|
|
67
96
|
* ],
|
|
68
97
|
* PrefixListIds: [ // PrefixListIdList
|
|
@@ -71,37 +100,8 @@ declare const AuthorizeSecurityGroupEgressCommand_base: {
|
|
|
71
100
|
* PrefixListId: "STRING_VALUE",
|
|
72
101
|
* },
|
|
73
102
|
* ],
|
|
74
|
-
* ToPort: Number("int"),
|
|
75
|
-
* UserIdGroupPairs: [ // UserIdGroupPairList
|
|
76
|
-
* { // UserIdGroupPair
|
|
77
|
-
* Description: "STRING_VALUE",
|
|
78
|
-
* GroupId: "STRING_VALUE",
|
|
79
|
-
* GroupName: "STRING_VALUE",
|
|
80
|
-
* PeeringStatus: "STRING_VALUE",
|
|
81
|
-
* UserId: "STRING_VALUE",
|
|
82
|
-
* VpcId: "STRING_VALUE",
|
|
83
|
-
* VpcPeeringConnectionId: "STRING_VALUE",
|
|
84
|
-
* },
|
|
85
|
-
* ],
|
|
86
|
-
* },
|
|
87
|
-
* ],
|
|
88
|
-
* TagSpecifications: [ // TagSpecificationList
|
|
89
|
-
* { // TagSpecification
|
|
90
|
-
* 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
|
-
* Tags: [ // TagList
|
|
92
|
-
* { // Tag
|
|
93
|
-
* Key: "STRING_VALUE",
|
|
94
|
-
* Value: "STRING_VALUE",
|
|
95
|
-
* },
|
|
96
|
-
* ],
|
|
97
103
|
* },
|
|
98
104
|
* ],
|
|
99
|
-
* CidrIp: "STRING_VALUE",
|
|
100
|
-
* FromPort: Number("int"),
|
|
101
|
-
* IpProtocol: "STRING_VALUE",
|
|
102
|
-
* ToPort: Number("int"),
|
|
103
|
-
* SourceSecurityGroupName: "STRING_VALUE",
|
|
104
|
-
* SourceSecurityGroupOwnerId: "STRING_VALUE",
|
|
105
105
|
* };
|
|
106
106
|
* const command = new AuthorizeSecurityGroupEgressCommand(input);
|
|
107
107
|
* const response = await client.send(command);
|
|
@@ -53,18 +53,30 @@ declare const AuthorizeSecurityGroupIngressCommand_base: {
|
|
|
53
53
|
* GroupName: "STRING_VALUE",
|
|
54
54
|
* IpPermissions: [ // IpPermissionList
|
|
55
55
|
* { // IpPermission
|
|
56
|
-
* FromPort: Number("int"),
|
|
57
56
|
* IpProtocol: "STRING_VALUE",
|
|
57
|
+
* FromPort: Number("int"),
|
|
58
|
+
* ToPort: Number("int"),
|
|
59
|
+
* UserIdGroupPairs: [ // UserIdGroupPairList
|
|
60
|
+
* { // UserIdGroupPair
|
|
61
|
+
* Description: "STRING_VALUE",
|
|
62
|
+
* UserId: "STRING_VALUE",
|
|
63
|
+
* GroupName: "STRING_VALUE",
|
|
64
|
+
* GroupId: "STRING_VALUE",
|
|
65
|
+
* VpcId: "STRING_VALUE",
|
|
66
|
+
* VpcPeeringConnectionId: "STRING_VALUE",
|
|
67
|
+
* PeeringStatus: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
58
70
|
* IpRanges: [ // IpRangeList
|
|
59
71
|
* { // IpRange
|
|
60
|
-
* CidrIp: "STRING_VALUE",
|
|
61
72
|
* Description: "STRING_VALUE",
|
|
73
|
+
* CidrIp: "STRING_VALUE",
|
|
62
74
|
* },
|
|
63
75
|
* ],
|
|
64
76
|
* Ipv6Ranges: [ // Ipv6RangeList
|
|
65
77
|
* { // Ipv6Range
|
|
66
|
-
* CidrIpv6: "STRING_VALUE",
|
|
67
78
|
* Description: "STRING_VALUE",
|
|
79
|
+
* CidrIpv6: "STRING_VALUE",
|
|
68
80
|
* },
|
|
69
81
|
* ],
|
|
70
82
|
* PrefixListIds: [ // PrefixListIdList
|
|
@@ -73,25 +85,12 @@ declare const AuthorizeSecurityGroupIngressCommand_base: {
|
|
|
73
85
|
* PrefixListId: "STRING_VALUE",
|
|
74
86
|
* },
|
|
75
87
|
* ],
|
|
76
|
-
* ToPort: Number("int"),
|
|
77
|
-
* UserIdGroupPairs: [ // UserIdGroupPairList
|
|
78
|
-
* { // UserIdGroupPair
|
|
79
|
-
* Description: "STRING_VALUE",
|
|
80
|
-
* GroupId: "STRING_VALUE",
|
|
81
|
-
* GroupName: "STRING_VALUE",
|
|
82
|
-
* PeeringStatus: "STRING_VALUE",
|
|
83
|
-
* UserId: "STRING_VALUE",
|
|
84
|
-
* VpcId: "STRING_VALUE",
|
|
85
|
-
* VpcPeeringConnectionId: "STRING_VALUE",
|
|
86
|
-
* },
|
|
87
|
-
* ],
|
|
88
88
|
* },
|
|
89
89
|
* ],
|
|
90
90
|
* IpProtocol: "STRING_VALUE",
|
|
91
91
|
* SourceSecurityGroupName: "STRING_VALUE",
|
|
92
92
|
* SourceSecurityGroupOwnerId: "STRING_VALUE",
|
|
93
93
|
* ToPort: Number("int"),
|
|
94
|
-
* DryRun: true || false,
|
|
95
94
|
* TagSpecifications: [ // TagSpecificationList
|
|
96
95
|
* { // TagSpecification
|
|
97
96
|
* 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",
|
|
@@ -103,6 +102,7 @@ declare const AuthorizeSecurityGroupIngressCommand_base: {
|
|
|
103
102
|
* ],
|
|
104
103
|
* },
|
|
105
104
|
* ],
|
|
105
|
+
* DryRun: true || false,
|
|
106
106
|
* };
|
|
107
107
|
* const command = new AuthorizeSecurityGroupIngressCommand(input);
|
|
108
108
|
* const response = await client.send(command);
|
|
@@ -55,15 +55,11 @@ declare const BundleInstanceCommand_base: {
|
|
|
55
55
|
* const response = await client.send(command);
|
|
56
56
|
* // { // BundleInstanceResult
|
|
57
57
|
* // BundleTask: { // BundleTask
|
|
58
|
-
* // BundleId: "STRING_VALUE",
|
|
59
|
-
* // BundleTaskError: { // BundleTaskError
|
|
60
|
-
* // Code: "STRING_VALUE",
|
|
61
|
-
* // Message: "STRING_VALUE",
|
|
62
|
-
* // },
|
|
63
58
|
* // InstanceId: "STRING_VALUE",
|
|
64
|
-
* //
|
|
65
|
-
* // StartTime: new Date("TIMESTAMP"),
|
|
59
|
+
* // BundleId: "STRING_VALUE",
|
|
66
60
|
* // State: "pending" || "waiting-for-shutdown" || "bundling" || "storing" || "cancelling" || "complete" || "failed",
|
|
61
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
62
|
+
* // UpdateTime: new Date("TIMESTAMP"),
|
|
67
63
|
* // Storage: { // Storage
|
|
68
64
|
* // S3: { // S3Storage
|
|
69
65
|
* // AWSAccessKeyId: "STRING_VALUE",
|
|
@@ -73,7 +69,11 @@ declare const BundleInstanceCommand_base: {
|
|
|
73
69
|
* // UploadPolicySignature: "STRING_VALUE",
|
|
74
70
|
* // },
|
|
75
71
|
* // },
|
|
76
|
-
* //
|
|
72
|
+
* // Progress: "STRING_VALUE",
|
|
73
|
+
* // BundleTaskError: { // BundleTaskError
|
|
74
|
+
* // Code: "STRING_VALUE",
|
|
75
|
+
* // Message: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
77
|
* // },
|
|
78
78
|
* // };
|
|
79
79
|
*
|
|
@@ -42,15 +42,11 @@ declare const CancelBundleTaskCommand_base: {
|
|
|
42
42
|
* const response = await client.send(command);
|
|
43
43
|
* // { // CancelBundleTaskResult
|
|
44
44
|
* // BundleTask: { // BundleTask
|
|
45
|
-
* // BundleId: "STRING_VALUE",
|
|
46
|
-
* // BundleTaskError: { // BundleTaskError
|
|
47
|
-
* // Code: "STRING_VALUE",
|
|
48
|
-
* // Message: "STRING_VALUE",
|
|
49
|
-
* // },
|
|
50
45
|
* // InstanceId: "STRING_VALUE",
|
|
51
|
-
* //
|
|
52
|
-
* // StartTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // BundleId: "STRING_VALUE",
|
|
53
47
|
* // State: "pending" || "waiting-for-shutdown" || "bundling" || "storing" || "cancelling" || "complete" || "failed",
|
|
48
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // UpdateTime: new Date("TIMESTAMP"),
|
|
54
50
|
* // Storage: { // Storage
|
|
55
51
|
* // S3: { // S3Storage
|
|
56
52
|
* // AWSAccessKeyId: "STRING_VALUE",
|
|
@@ -60,7 +56,11 @@ declare const CancelBundleTaskCommand_base: {
|
|
|
60
56
|
* // UploadPolicySignature: "STRING_VALUE",
|
|
61
57
|
* // },
|
|
62
58
|
* // },
|
|
63
|
-
* //
|
|
59
|
+
* // Progress: "STRING_VALUE",
|
|
60
|
+
* // BundleTaskError: { // BundleTaskError
|
|
61
|
+
* // Code: "STRING_VALUE",
|
|
62
|
+
* // Message: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
64
|
* // },
|
|
65
65
|
* // };
|
|
66
66
|
*
|
|
@@ -37,8 +37,8 @@ declare const CancelConversionTaskCommand_base: {
|
|
|
37
37
|
* // const { EC2Client, CancelConversionTaskCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
38
|
* const client = new EC2Client(config);
|
|
39
39
|
* const input = { // CancelConversionRequest
|
|
40
|
-
* ConversionTaskId: "STRING_VALUE", // required
|
|
41
40
|
* DryRun: true || false,
|
|
41
|
+
* ConversionTaskId: "STRING_VALUE", // required
|
|
42
42
|
* ReasonMessage: "STRING_VALUE",
|
|
43
43
|
* };
|
|
44
44
|
* const command = new CancelConversionTaskCommand(input);
|
|
@@ -44,8 +44,8 @@ declare const ConfirmProductInstanceCommand_base: {
|
|
|
44
44
|
* const command = new ConfirmProductInstanceCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
46
|
* // { // ConfirmProductInstanceResult
|
|
47
|
-
* // OwnerId: "STRING_VALUE",
|
|
48
47
|
* // Return: true || false,
|
|
48
|
+
* // OwnerId: "STRING_VALUE",
|
|
49
49
|
* // };
|
|
50
50
|
*
|
|
51
51
|
* ```
|
|
@@ -52,7 +52,6 @@ declare const CopyImageCommand_base: {
|
|
|
52
52
|
* SourceImageId: "STRING_VALUE", // required
|
|
53
53
|
* SourceRegion: "STRING_VALUE", // required
|
|
54
54
|
* DestinationOutpostArn: "STRING_VALUE",
|
|
55
|
-
* DryRun: true || false,
|
|
56
55
|
* CopyImageTags: true || false,
|
|
57
56
|
* TagSpecifications: [ // TagSpecificationList
|
|
58
57
|
* { // TagSpecification
|
|
@@ -65,6 +64,7 @@ declare const CopyImageCommand_base: {
|
|
|
65
64
|
* ],
|
|
66
65
|
* },
|
|
67
66
|
* ],
|
|
67
|
+
* DryRun: true || false,
|
|
68
68
|
* };
|
|
69
69
|
* const command = new CopyImageCommand(input);
|
|
70
70
|
* const response = await client.send(command);
|
|
@@ -78,13 +78,13 @@ declare const CopySnapshotCommand_base: {
|
|
|
78
78
|
* const command = new CopySnapshotCommand(input);
|
|
79
79
|
* const response = await client.send(command);
|
|
80
80
|
* // { // CopySnapshotResult
|
|
81
|
-
* // SnapshotId: "STRING_VALUE",
|
|
82
81
|
* // Tags: [ // TagList
|
|
83
82
|
* // { // Tag
|
|
84
83
|
* // Key: "STRING_VALUE",
|
|
85
84
|
* // Value: "STRING_VALUE",
|
|
86
85
|
* // },
|
|
87
86
|
* // ],
|
|
87
|
+
* // SnapshotId: "STRING_VALUE",
|
|
88
88
|
* // };
|
|
89
89
|
*
|
|
90
90
|
* ```
|
|
@@ -65,19 +65,14 @@ declare const CreateCustomerGatewayCommand_base: {
|
|
|
65
65
|
* ],
|
|
66
66
|
* DeviceName: "STRING_VALUE",
|
|
67
67
|
* IpAddress: "STRING_VALUE",
|
|
68
|
-
* DryRun: true || false,
|
|
69
68
|
* BgpAsnExtended: Number("long"),
|
|
69
|
+
* DryRun: true || false,
|
|
70
70
|
* };
|
|
71
71
|
* const command = new CreateCustomerGatewayCommand(input);
|
|
72
72
|
* const response = await client.send(command);
|
|
73
73
|
* // { // CreateCustomerGatewayResult
|
|
74
74
|
* // CustomerGateway: { // CustomerGateway
|
|
75
|
-
* // BgpAsn: "STRING_VALUE",
|
|
76
|
-
* // CustomerGatewayId: "STRING_VALUE",
|
|
77
|
-
* // IpAddress: "STRING_VALUE",
|
|
78
75
|
* // CertificateArn: "STRING_VALUE",
|
|
79
|
-
* // State: "STRING_VALUE",
|
|
80
|
-
* // Type: "STRING_VALUE",
|
|
81
76
|
* // DeviceName: "STRING_VALUE",
|
|
82
77
|
* // Tags: [ // TagList
|
|
83
78
|
* // { // Tag
|
|
@@ -86,6 +81,11 @@ declare const CreateCustomerGatewayCommand_base: {
|
|
|
86
81
|
* // },
|
|
87
82
|
* // ],
|
|
88
83
|
* // BgpAsnExtended: "STRING_VALUE",
|
|
84
|
+
* // CustomerGatewayId: "STRING_VALUE",
|
|
85
|
+
* // State: "STRING_VALUE",
|
|
86
|
+
* // Type: "STRING_VALUE",
|
|
87
|
+
* // IpAddress: "STRING_VALUE",
|
|
88
|
+
* // BgpAsn: "STRING_VALUE",
|
|
89
89
|
* // },
|
|
90
90
|
* // };
|
|
91
91
|
*
|