@aws-sdk/client-ec2 3.662.0 → 3.665.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist-cjs/index.js +1635 -1556
- package/dist-cjs/runtimeConfig.js +1 -0
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/ModifyInstanceCpuOptionsCommand.js +22 -0
- package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
- package/dist-es/commands/ReportInstanceStatusCommand.js +2 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_2.js +1 -1
- package/dist-es/models/models_6.js +1 -6
- package/dist-es/models/models_7.js +8 -0
- package/dist-es/protocols/Aws_ec2.js +1601 -1545
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AllocateAddressCommand.d.ts +2 -2
- package/dist-types/commands/AllocateHostsCommand.d.ts +5 -5
- package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +4 -4
- package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +5 -5
- package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/commands/AssociateAddressCommand.d.ts +1 -1
- package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +6 -2
- package/dist-types/commands/AssociateRouteTableCommand.d.ts +2 -2
- package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +2 -2
- package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
- package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +2 -2
- package/dist-types/commands/AttachNetworkInterfaceCommand.d.ts +4 -4
- package/dist-types/commands/AttachVolumeCommand.d.ts +5 -5
- package/dist-types/commands/AttachVpnGatewayCommand.d.ts +2 -2
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +32 -32
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +16 -16
- package/dist-types/commands/BundleInstanceCommand.d.ts +8 -8
- package/dist-types/commands/CancelBundleTaskCommand.d.ts +8 -8
- package/dist-types/commands/CancelConversionTaskCommand.d.ts +1 -1
- package/dist-types/commands/ConfirmProductInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +6 -6
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +9 -9
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +4 -4
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +8 -8
- package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +18 -18
- package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +9 -9
- package/dist-types/commands/CreateKeyPairCommand.d.ts +4 -4
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +7 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -2
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +6 -6
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +22 -22
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +4 -4
- package/dist-types/commands/CreateRouteCommand.d.ts +9 -9
- package/dist-types/commands/CreateRouteTableCommand.d.ts +2 -2
- package/dist-types/commands/CreateSnapshotCommand.d.ts +12 -12
- package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
- package/dist-types/commands/CreateSubnetCommand.d.ts +9 -9
- package/dist-types/commands/CreateVolumeCommand.d.ts +21 -21
- package/dist-types/commands/CreateVpcCommand.d.ts +8 -8
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +4 -4
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +18 -18
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +10 -10
- package/dist-types/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteCommand.d.ts +2 -2
- package/dist-types/commands/DeleteVpcCommand.d.ts +7 -1
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +9 -9
- package/dist-types/commands/DescribeBundleTasksCommand.d.ts +9 -9
- package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +5 -5
- package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +12 -12
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +3 -3
- package/dist-types/commands/DescribeHostsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +33 -33
- package/dist-types/commands/DescribeImagesCommand.d.ts +29 -29
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +7 -7
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +6 -6
- package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +51 -51
- package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +6 -6
- package/dist-types/commands/DescribeKeyPairsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeMovingAddressesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +2 -2
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +7 -7
- package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +7 -7
- package/dist-types/commands/DescribeRegionsCommand.d.ts +7 -7
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +16 -16
- package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +18 -18
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +50 -50
- package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +6 -6
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +21 -21
- package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +3 -3
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +14 -14
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +9 -9
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVolumesCommand.d.ts +26 -26
- package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +4 -4
- package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +2 -2
- package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVpcsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +10 -10
- package/dist-types/commands/DetachNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/DetachVolumeCommand.d.ts +5 -5
- package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/GetConsoleOutputCommand.d.ts +2 -2
- package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -0
- package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
- package/dist-types/commands/ImportInstanceCommand.d.ts +24 -24
- package/dist-types/commands/ImportKeyPairCommand.d.ts +3 -3
- package/dist-types/commands/ImportVolumeCommand.d.ts +3 -3
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyHostsCommand.d.ts +4 -4
- package/dist-types/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/ModifyImageAttributeCommand.d.ts +5 -5
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +22 -22
- package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +85 -0
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +4 -4
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +15 -15
- package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +3 -3
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +8 -7
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +7 -8
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +6 -6
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +6 -6
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
- package/dist-types/commands/RegisterImageCommand.d.ts +28 -28
- package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +6 -6
- package/dist-types/commands/ReplaceRouteCommand.d.ts +9 -9
- package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReportInstanceStatusCommand.d.ts +4 -4
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +8 -8
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +20 -20
- package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +39 -39
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +31 -31
- package/dist-types/commands/RunInstancesCommand.d.ts +114 -114
- package/dist-types/commands/StartInstancesCommand.d.ts +1 -1
- package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -1
- package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +3 -3
- package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +3 -3
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +3 -1
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +15 -15
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +15 -15
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +266 -268
- package/dist-types/models/models_1.d.ts +231 -231
- package/dist-types/models/models_2.d.ts +372 -376
- package/dist-types/models/models_3.d.ts +221 -221
- package/dist-types/models/models_4.d.ts +858 -858
- package/dist-types/models/models_5.d.ts +210 -210
- package/dist-types/models/models_6.d.ts +289 -291
- package/dist-types/models/models_7.d.ts +424 -361
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -56
- package/dist-types/ts3.4/models/models_1.d.ts +41 -41
- package/dist-types/ts3.4/models/models_2.d.ts +71 -71
- package/dist-types/ts3.4/models/models_3.d.ts +27 -27
- package/dist-types/ts3.4/models/models_4.d.ts +112 -112
- package/dist-types/ts3.4/models/models_5.d.ts +27 -27
- package/dist-types/ts3.4/models/models_6.d.ts +53 -56
- package/dist-types/ts3.4/models/models_7.d.ts +78 -61
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
- package/package.json +15 -15
|
@@ -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
|
*
|
|
@@ -29,7 +29,7 @@ declare const CreateDefaultSubnetCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a default subnet with a size <code>/20</code> IPv4 CIDR block in the
|
|
31
31
|
* specified Availability Zone in your default VPC. You can have only one default subnet
|
|
32
|
-
* per Availability Zone. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-subnet">Create a default
|
|
32
|
+
* per Availability Zone. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/work-with-default-vpc.html#create-default-subnet">Create a default
|
|
33
33
|
* subnet</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -46,18 +46,10 @@ declare const CreateDefaultSubnetCommand_base: {
|
|
|
46
46
|
* const response = await client.send(command);
|
|
47
47
|
* // { // CreateDefaultSubnetResult
|
|
48
48
|
* // Subnet: { // Subnet
|
|
49
|
-
* // AvailabilityZone: "STRING_VALUE",
|
|
50
49
|
* // AvailabilityZoneId: "STRING_VALUE",
|
|
51
|
-
* // AvailableIpAddressCount: Number("int"),
|
|
52
|
-
* // CidrBlock: "STRING_VALUE",
|
|
53
|
-
* // DefaultForAz: true || false,
|
|
54
50
|
* // EnableLniAtDeviceIndex: Number("int"),
|
|
55
|
-
* // MapPublicIpOnLaunch: true || false,
|
|
56
51
|
* // MapCustomerOwnedIpOnLaunch: true || false,
|
|
57
52
|
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
|
|
58
|
-
* // State: "pending" || "available" || "unavailable",
|
|
59
|
-
* // SubnetId: "STRING_VALUE",
|
|
60
|
-
* // VpcId: "STRING_VALUE",
|
|
61
53
|
* // OwnerId: "STRING_VALUE",
|
|
62
54
|
* // AssignIpv6AddressOnCreation: true || false,
|
|
63
55
|
* // Ipv6CidrBlockAssociationSet: [ // SubnetIpv6CidrBlockAssociationSet
|
|
@@ -87,6 +79,14 @@ declare const CreateDefaultSubnetCommand_base: {
|
|
|
87
79
|
* // EnableResourceNameDnsARecord: true || false,
|
|
88
80
|
* // EnableResourceNameDnsAAAARecord: true || false,
|
|
89
81
|
* // },
|
|
82
|
+
* // SubnetId: "STRING_VALUE",
|
|
83
|
+
* // State: "pending" || "available" || "unavailable",
|
|
84
|
+
* // VpcId: "STRING_VALUE",
|
|
85
|
+
* // CidrBlock: "STRING_VALUE",
|
|
86
|
+
* // AvailableIpAddressCount: Number("int"),
|
|
87
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
88
|
+
* // DefaultForAz: true || false,
|
|
89
|
+
* // MapPublicIpOnLaunch: true || false,
|
|
90
90
|
* // },
|
|
91
91
|
* // };
|
|
92
92
|
*
|
|
@@ -47,10 +47,6 @@ declare const CreateDefaultVpcCommand_base: {
|
|
|
47
47
|
* const response = await client.send(command);
|
|
48
48
|
* // { // CreateDefaultVpcResult
|
|
49
49
|
* // Vpc: { // Vpc
|
|
50
|
-
* // CidrBlock: "STRING_VALUE",
|
|
51
|
-
* // DhcpOptionsId: "STRING_VALUE",
|
|
52
|
-
* // State: "pending" || "available",
|
|
53
|
-
* // VpcId: "STRING_VALUE",
|
|
54
50
|
* // OwnerId: "STRING_VALUE",
|
|
55
51
|
* // InstanceTenancy: "default" || "dedicated" || "host",
|
|
56
52
|
* // Ipv6CidrBlockAssociationSet: [ // VpcIpv6CidrBlockAssociationSet
|
|
@@ -84,6 +80,10 @@ declare const CreateDefaultVpcCommand_base: {
|
|
|
84
80
|
* // Value: "STRING_VALUE",
|
|
85
81
|
* // },
|
|
86
82
|
* // ],
|
|
83
|
+
* // VpcId: "STRING_VALUE",
|
|
84
|
+
* // State: "pending" || "available",
|
|
85
|
+
* // CidrBlock: "STRING_VALUE",
|
|
86
|
+
* // DhcpOptionsId: "STRING_VALUE",
|
|
87
87
|
* // },
|
|
88
88
|
* // };
|
|
89
89
|
*
|
|
@@ -109,6 +109,14 @@ declare const CreateDhcpOptionsCommand_base: {
|
|
|
109
109
|
* const response = await client.send(command);
|
|
110
110
|
* // { // CreateDhcpOptionsResult
|
|
111
111
|
* // DhcpOptions: { // DhcpOptions
|
|
112
|
+
* // OwnerId: "STRING_VALUE",
|
|
113
|
+
* // Tags: [ // TagList
|
|
114
|
+
* // { // Tag
|
|
115
|
+
* // Key: "STRING_VALUE",
|
|
116
|
+
* // Value: "STRING_VALUE",
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
119
|
+
* // DhcpOptionsId: "STRING_VALUE",
|
|
112
120
|
* // DhcpConfigurations: [ // DhcpConfigurationList
|
|
113
121
|
* // { // DhcpConfiguration
|
|
114
122
|
* // Key: "STRING_VALUE",
|
|
@@ -119,14 +127,6 @@ declare const CreateDhcpOptionsCommand_base: {
|
|
|
119
127
|
* // ],
|
|
120
128
|
* // },
|
|
121
129
|
* // ],
|
|
122
|
-
* // DhcpOptionsId: "STRING_VALUE",
|
|
123
|
-
* // OwnerId: "STRING_VALUE",
|
|
124
|
-
* // Tags: [ // TagList
|
|
125
|
-
* // { // Tag
|
|
126
|
-
* // Key: "STRING_VALUE",
|
|
127
|
-
* // Value: "STRING_VALUE",
|
|
128
|
-
* // },
|
|
129
|
-
* // ],
|
|
130
130
|
* // },
|
|
131
131
|
* // };
|
|
132
132
|
*
|
|
@@ -83,7 +83,6 @@ declare const CreateFleetCommand_base: {
|
|
|
83
83
|
* WeightedCapacity: Number("double"),
|
|
84
84
|
* Priority: Number("double"),
|
|
85
85
|
* Placement: { // Placement
|
|
86
|
-
* AvailabilityZone: "STRING_VALUE",
|
|
87
86
|
* Affinity: "STRING_VALUE",
|
|
88
87
|
* GroupName: "STRING_VALUE",
|
|
89
88
|
* PartitionNumber: Number("int"),
|
|
@@ -92,6 +91,7 @@ declare const CreateFleetCommand_base: {
|
|
|
92
91
|
* SpreadDomain: "STRING_VALUE",
|
|
93
92
|
* HostResourceGroupArn: "STRING_VALUE",
|
|
94
93
|
* GroupId: "STRING_VALUE",
|
|
94
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
95
95
|
* },
|
|
96
96
|
* InstanceRequirements: { // InstanceRequirementsRequest
|
|
97
97
|
* VCpuCount: { // VCpuCountRangeRequest
|
|
@@ -31,7 +31,7 @@ declare const CreateFlowLogsCommand_base: {
|
|
|
31
31
|
* subnet, or VPC. </p>
|
|
32
32
|
* <p>Flow log data for a monitored network interface is recorded as flow log records, which are log events
|
|
33
33
|
* consisting of fields that describe the traffic flow. For more information, see
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html">Flow log records</a>
|
|
35
35
|
* in the <i>Amazon VPC User Guide</i>.</p>
|
|
36
36
|
* <p>When publishing to CloudWatch Logs, flow log records are published to a log group, and each network
|
|
37
37
|
* interface has a unique log stream in the log group. When publishing to Amazon S3, flow log records for all
|
|
@@ -41,10 +41,24 @@ declare const CreateImageCommand_base: {
|
|
|
41
41
|
* // const { EC2Client, CreateImageCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
42
42
|
* const client = new EC2Client(config);
|
|
43
43
|
* const input = { // CreateImageRequest
|
|
44
|
+
* TagSpecifications: [ // TagSpecificationList
|
|
45
|
+
* { // TagSpecification
|
|
46
|
+
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
47
|
+
* Tags: [ // TagList
|
|
48
|
+
* { // Tag
|
|
49
|
+
* Key: "STRING_VALUE",
|
|
50
|
+
* Value: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* DryRun: true || false,
|
|
56
|
+
* InstanceId: "STRING_VALUE", // required
|
|
57
|
+
* Name: "STRING_VALUE", // required
|
|
58
|
+
* Description: "STRING_VALUE",
|
|
59
|
+
* NoReboot: true || false,
|
|
44
60
|
* BlockDeviceMappings: [ // BlockDeviceMappingRequestList
|
|
45
61
|
* { // BlockDeviceMapping
|
|
46
|
-
* DeviceName: "STRING_VALUE",
|
|
47
|
-
* VirtualName: "STRING_VALUE",
|
|
48
62
|
* Ebs: { // EbsBlockDevice
|
|
49
63
|
* DeleteOnTermination: true || false,
|
|
50
64
|
* Iops: Number("int"),
|
|
@@ -57,22 +71,8 @@ declare const CreateImageCommand_base: {
|
|
|
57
71
|
* Encrypted: true || false,
|
|
58
72
|
* },
|
|
59
73
|
* NoDevice: "STRING_VALUE",
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* Description: "STRING_VALUE",
|
|
63
|
-
* DryRun: true || false,
|
|
64
|
-
* InstanceId: "STRING_VALUE", // required
|
|
65
|
-
* Name: "STRING_VALUE", // required
|
|
66
|
-
* NoReboot: true || false,
|
|
67
|
-
* TagSpecifications: [ // TagSpecificationList
|
|
68
|
-
* { // TagSpecification
|
|
69
|
-
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
70
|
-
* Tags: [ // TagList
|
|
71
|
-
* { // Tag
|
|
72
|
-
* Key: "STRING_VALUE",
|
|
73
|
-
* Value: "STRING_VALUE",
|
|
74
|
-
* },
|
|
75
|
-
* ],
|
|
74
|
+
* DeviceName: "STRING_VALUE",
|
|
75
|
+
* VirtualName: "STRING_VALUE",
|
|
76
76
|
* },
|
|
77
77
|
* ],
|
|
78
78
|
* };
|
|
@@ -38,15 +38,6 @@ declare const CreateInstanceExportTaskCommand_base: {
|
|
|
38
38
|
* // const { EC2Client, CreateInstanceExportTaskCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
39
39
|
* const client = new EC2Client(config);
|
|
40
40
|
* const input = { // CreateInstanceExportTaskRequest
|
|
41
|
-
* Description: "STRING_VALUE",
|
|
42
|
-
* ExportToS3Task: { // ExportToS3TaskSpecification
|
|
43
|
-
* ContainerFormat: "ova",
|
|
44
|
-
* DiskImageFormat: "VMDK" || "RAW" || "VHD",
|
|
45
|
-
* S3Bucket: "STRING_VALUE",
|
|
46
|
-
* S3Prefix: "STRING_VALUE",
|
|
47
|
-
* },
|
|
48
|
-
* InstanceId: "STRING_VALUE", // required
|
|
49
|
-
* TargetEnvironment: "citrix" || "vmware" || "microsoft", // required
|
|
50
41
|
* TagSpecifications: [ // TagSpecificationList
|
|
51
42
|
* { // TagSpecification
|
|
52
43
|
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
@@ -58,6 +49,15 @@ declare const CreateInstanceExportTaskCommand_base: {
|
|
|
58
49
|
* ],
|
|
59
50
|
* },
|
|
60
51
|
* ],
|
|
52
|
+
* Description: "STRING_VALUE",
|
|
53
|
+
* InstanceId: "STRING_VALUE", // required
|
|
54
|
+
* TargetEnvironment: "citrix" || "vmware" || "microsoft", // required
|
|
55
|
+
* ExportToS3Task: { // ExportToS3TaskSpecification
|
|
56
|
+
* DiskImageFormat: "VMDK" || "RAW" || "VHD",
|
|
57
|
+
* ContainerFormat: "ova",
|
|
58
|
+
* S3Bucket: "STRING_VALUE",
|
|
59
|
+
* S3Prefix: "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
61
|
* };
|
|
62
62
|
* const command = new CreateInstanceExportTaskCommand(input);
|
|
63
63
|
* const response = await client.send(command);
|
|
@@ -46,7 +46,6 @@ declare const CreateKeyPairCommand_base: {
|
|
|
46
46
|
* const client = new EC2Client(config);
|
|
47
47
|
* const input = { // CreateKeyPairRequest
|
|
48
48
|
* KeyName: "STRING_VALUE", // required
|
|
49
|
-
* DryRun: true || false,
|
|
50
49
|
* KeyType: "rsa" || "ed25519",
|
|
51
50
|
* TagSpecifications: [ // TagSpecificationList
|
|
52
51
|
* { // TagSpecification
|
|
@@ -60,13 +59,11 @@ declare const CreateKeyPairCommand_base: {
|
|
|
60
59
|
* },
|
|
61
60
|
* ],
|
|
62
61
|
* KeyFormat: "pem" || "ppk",
|
|
62
|
+
* DryRun: true || false,
|
|
63
63
|
* };
|
|
64
64
|
* const command = new CreateKeyPairCommand(input);
|
|
65
65
|
* const response = await client.send(command);
|
|
66
66
|
* // { // KeyPair
|
|
67
|
-
* // KeyFingerprint: "STRING_VALUE",
|
|
68
|
-
* // KeyMaterial: "STRING_VALUE",
|
|
69
|
-
* // KeyName: "STRING_VALUE",
|
|
70
67
|
* // KeyPairId: "STRING_VALUE",
|
|
71
68
|
* // Tags: [ // TagList
|
|
72
69
|
* // { // Tag
|
|
@@ -74,6 +71,9 @@ declare const CreateKeyPairCommand_base: {
|
|
|
74
71
|
* // Value: "STRING_VALUE",
|
|
75
72
|
* // },
|
|
76
73
|
* // ],
|
|
74
|
+
* // KeyName: "STRING_VALUE",
|
|
75
|
+
* // KeyFingerprint: "STRING_VALUE",
|
|
76
|
+
* // KeyMaterial: "STRING_VALUE",
|
|
77
77
|
* // };
|
|
78
78
|
*
|
|
79
79
|
* ```
|
|
@@ -38,7 +38,13 @@ declare const CreateNatGatewayCommand_base: {
|
|
|
38
38
|
* private IPv4 addresses, and communicating between overlapping networks.</p>
|
|
39
39
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html">NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
40
40
|
* <important>
|
|
41
|
-
* <p>When you create a public NAT gateway and assign it an EIP or secondary EIPs,
|
|
41
|
+
* <p>When you create a public NAT gateway and assign it an EIP or secondary EIPs,
|
|
42
|
+
* the network border group of the EIPs must match the network border group of the Availability Zone (AZ)
|
|
43
|
+
* that the public NAT gateway is in. If it's not the same, the NAT gateway will fail to launch.
|
|
44
|
+
* You can see the network border group for the subnet's AZ by viewing the details of the subnet.
|
|
45
|
+
* Similarly, you can view the network border group of an EIP by viewing the details of the EIP address.
|
|
46
|
+
* For more information about network border groups and EIPs, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html">Allocate an Elastic IP address</a>
|
|
47
|
+
* in the <i>Amazon VPC User Guide</i>.
|
|
42
48
|
* </p>
|
|
43
49
|
* </important>
|
|
44
50
|
* @example
|
|
@@ -37,8 +37,6 @@ declare const CreateNetworkAclCommand_base: {
|
|
|
37
37
|
* // const { EC2Client, CreateNetworkAclCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
38
|
* const client = new EC2Client(config);
|
|
39
39
|
* const input = { // CreateNetworkAclRequest
|
|
40
|
-
* DryRun: true || false,
|
|
41
|
-
* VpcId: "STRING_VALUE", // required
|
|
42
40
|
* TagSpecifications: [ // TagSpecificationList
|
|
43
41
|
* { // TagSpecification
|
|
44
42
|
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
@@ -51,6 +49,8 @@ declare const CreateNetworkAclCommand_base: {
|
|
|
51
49
|
* },
|
|
52
50
|
* ],
|
|
53
51
|
* ClientToken: "STRING_VALUE",
|
|
52
|
+
* DryRun: true || false,
|
|
53
|
+
* VpcId: "STRING_VALUE", // required
|
|
54
54
|
* };
|
|
55
55
|
* const command = new CreateNetworkAclCommand(input);
|
|
56
56
|
* const response = await client.send(command);
|