@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
|
@@ -48,36 +48,28 @@ declare const ModifyInstanceAttributeCommand_base: {
|
|
|
48
48
|
* SourceDestCheck: { // AttributeBooleanValue
|
|
49
49
|
* Value: true || false,
|
|
50
50
|
* },
|
|
51
|
+
* DisableApiStop: {
|
|
52
|
+
* Value: true || false,
|
|
53
|
+
* },
|
|
54
|
+
* DryRun: true || false,
|
|
55
|
+
* InstanceId: "STRING_VALUE", // required
|
|
51
56
|
* Attribute: "instanceType" || "kernel" || "ramdisk" || "userData" || "disableApiTermination" || "instanceInitiatedShutdownBehavior" || "rootDeviceName" || "blockDeviceMapping" || "productCodes" || "sourceDestCheck" || "groupSet" || "ebsOptimized" || "sriovNetSupport" || "enaSupport" || "enclaveOptions" || "disableApiStop",
|
|
57
|
+
* Value: "STRING_VALUE",
|
|
52
58
|
* BlockDeviceMappings: [ // InstanceBlockDeviceMappingSpecificationList
|
|
53
59
|
* { // InstanceBlockDeviceMappingSpecification
|
|
54
60
|
* DeviceName: "STRING_VALUE",
|
|
55
61
|
* Ebs: { // EbsInstanceBlockDeviceSpecification
|
|
56
|
-
* DeleteOnTermination: true || false,
|
|
57
62
|
* VolumeId: "STRING_VALUE",
|
|
63
|
+
* DeleteOnTermination: true || false,
|
|
58
64
|
* },
|
|
59
|
-
* NoDevice: "STRING_VALUE",
|
|
60
65
|
* VirtualName: "STRING_VALUE",
|
|
66
|
+
* NoDevice: "STRING_VALUE",
|
|
61
67
|
* },
|
|
62
68
|
* ],
|
|
63
69
|
* DisableApiTermination: {
|
|
64
70
|
* Value: true || false,
|
|
65
71
|
* },
|
|
66
|
-
*
|
|
67
|
-
* EbsOptimized: {
|
|
68
|
-
* Value: true || false,
|
|
69
|
-
* },
|
|
70
|
-
* EnaSupport: {
|
|
71
|
-
* Value: true || false,
|
|
72
|
-
* },
|
|
73
|
-
* Groups: [ // GroupIdStringList
|
|
74
|
-
* "STRING_VALUE",
|
|
75
|
-
* ],
|
|
76
|
-
* InstanceId: "STRING_VALUE", // required
|
|
77
|
-
* InstanceInitiatedShutdownBehavior: { // AttributeValue
|
|
78
|
-
* Value: "STRING_VALUE",
|
|
79
|
-
* },
|
|
80
|
-
* InstanceType: {
|
|
72
|
+
* InstanceType: { // AttributeValue
|
|
81
73
|
* Value: "STRING_VALUE",
|
|
82
74
|
* },
|
|
83
75
|
* Kernel: {
|
|
@@ -86,14 +78,22 @@ declare const ModifyInstanceAttributeCommand_base: {
|
|
|
86
78
|
* Ramdisk: {
|
|
87
79
|
* Value: "STRING_VALUE",
|
|
88
80
|
* },
|
|
89
|
-
* SriovNetSupport: {
|
|
90
|
-
* Value: "STRING_VALUE",
|
|
91
|
-
* },
|
|
92
81
|
* UserData: { // BlobAttributeValue
|
|
93
82
|
* Value: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
94
83
|
* },
|
|
95
|
-
*
|
|
96
|
-
*
|
|
84
|
+
* InstanceInitiatedShutdownBehavior: {
|
|
85
|
+
* Value: "STRING_VALUE",
|
|
86
|
+
* },
|
|
87
|
+
* Groups: [ // GroupIdStringList
|
|
88
|
+
* "STRING_VALUE",
|
|
89
|
+
* ],
|
|
90
|
+
* EbsOptimized: {
|
|
91
|
+
* Value: true || false,
|
|
92
|
+
* },
|
|
93
|
+
* SriovNetSupport: {
|
|
94
|
+
* Value: "STRING_VALUE",
|
|
95
|
+
* },
|
|
96
|
+
* EnaSupport: {
|
|
97
97
|
* Value: true || false,
|
|
98
98
|
* },
|
|
99
99
|
* };
|
|
@@ -60,14 +60,14 @@ declare const ModifyInstancePlacementCommand_base: {
|
|
|
60
60
|
* // const { EC2Client, ModifyInstancePlacementCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
61
61
|
* const client = new EC2Client(config);
|
|
62
62
|
* const input = { // ModifyInstancePlacementRequest
|
|
63
|
-
* Affinity: "default" || "host",
|
|
64
63
|
* GroupName: "STRING_VALUE",
|
|
65
|
-
* HostId: "STRING_VALUE",
|
|
66
|
-
* InstanceId: "STRING_VALUE", // required
|
|
67
|
-
* Tenancy: "default" || "dedicated" || "host",
|
|
68
64
|
* PartitionNumber: Number("int"),
|
|
69
65
|
* HostResourceGroupArn: "STRING_VALUE",
|
|
70
66
|
* GroupId: "STRING_VALUE",
|
|
67
|
+
* InstanceId: "STRING_VALUE", // required
|
|
68
|
+
* Tenancy: "default" || "dedicated" || "host",
|
|
69
|
+
* Affinity: "default" || "host",
|
|
70
|
+
* HostId: "STRING_VALUE",
|
|
71
71
|
* };
|
|
72
72
|
* const command = new ModifyInstancePlacementCommand(input);
|
|
73
73
|
* const response = await client.send(command);
|
|
@@ -37,21 +37,6 @@ declare const ModifyNetworkInterfaceAttributeCommand_base: {
|
|
|
37
37
|
* // const { EC2Client, ModifyNetworkInterfaceAttributeCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
38
|
* const client = new EC2Client(config);
|
|
39
39
|
* const input = { // ModifyNetworkInterfaceAttributeRequest
|
|
40
|
-
* Attachment: { // NetworkInterfaceAttachmentChanges
|
|
41
|
-
* AttachmentId: "STRING_VALUE",
|
|
42
|
-
* DeleteOnTermination: true || false,
|
|
43
|
-
* },
|
|
44
|
-
* Description: { // AttributeValue
|
|
45
|
-
* Value: "STRING_VALUE",
|
|
46
|
-
* },
|
|
47
|
-
* DryRun: true || false,
|
|
48
|
-
* Groups: [ // SecurityGroupIdStringList
|
|
49
|
-
* "STRING_VALUE",
|
|
50
|
-
* ],
|
|
51
|
-
* NetworkInterfaceId: "STRING_VALUE", // required
|
|
52
|
-
* SourceDestCheck: { // AttributeBooleanValue
|
|
53
|
-
* Value: true || false,
|
|
54
|
-
* },
|
|
55
40
|
* EnaSrdSpecification: { // EnaSrdSpecification
|
|
56
41
|
* EnaSrdEnabled: true || false,
|
|
57
42
|
* EnaSrdUdpSpecification: { // EnaSrdUdpSpecification
|
|
@@ -65,6 +50,21 @@ declare const ModifyNetworkInterfaceAttributeCommand_base: {
|
|
|
65
50
|
* UdpTimeout: Number("int"),
|
|
66
51
|
* },
|
|
67
52
|
* AssociatePublicIpAddress: true || false,
|
|
53
|
+
* DryRun: true || false,
|
|
54
|
+
* NetworkInterfaceId: "STRING_VALUE", // required
|
|
55
|
+
* Description: { // AttributeValue
|
|
56
|
+
* Value: "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* SourceDestCheck: { // AttributeBooleanValue
|
|
59
|
+
* Value: true || false,
|
|
60
|
+
* },
|
|
61
|
+
* Groups: [ // SecurityGroupIdStringList
|
|
62
|
+
* "STRING_VALUE",
|
|
63
|
+
* ],
|
|
64
|
+
* Attachment: { // NetworkInterfaceAttachmentChanges
|
|
65
|
+
* AttachmentId: "STRING_VALUE",
|
|
66
|
+
* DeleteOnTermination: true || false,
|
|
67
|
+
* },
|
|
68
68
|
* };
|
|
69
69
|
* const command = new ModifyNetworkInterfaceAttributeCommand(input);
|
|
70
70
|
* const response = await client.send(command);
|
|
@@ -46,14 +46,14 @@ declare const ModifySnapshotAttributeCommand_base: {
|
|
|
46
46
|
* CreateVolumePermission: { // CreateVolumePermissionModifications
|
|
47
47
|
* Add: [ // CreateVolumePermissionList
|
|
48
48
|
* { // CreateVolumePermission
|
|
49
|
-
* Group: "all",
|
|
50
49
|
* UserId: "STRING_VALUE",
|
|
50
|
+
* Group: "all",
|
|
51
51
|
* },
|
|
52
52
|
* ],
|
|
53
53
|
* Remove: [
|
|
54
54
|
* {
|
|
55
|
-
* Group: "all",
|
|
56
55
|
* UserId: "STRING_VALUE",
|
|
56
|
+
* Group: "all",
|
|
57
57
|
* },
|
|
58
58
|
* ],
|
|
59
59
|
* },
|
|
@@ -59,7 +59,6 @@ declare const ModifySpotFleetRequestCommand_base: {
|
|
|
59
59
|
* // const { EC2Client, ModifySpotFleetRequestCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
60
60
|
* const client = new EC2Client(config);
|
|
61
61
|
* const input = { // ModifySpotFleetRequestRequest
|
|
62
|
-
* ExcessCapacityTerminationPolicy: "noTermination" || "default",
|
|
63
62
|
* LaunchTemplateConfigs: [ // LaunchTemplateConfigList
|
|
64
63
|
* { // LaunchTemplateConfig
|
|
65
64
|
* LaunchTemplateSpecification: { // FleetLaunchTemplateSpecification
|
|
@@ -148,10 +147,11 @@ declare const ModifySpotFleetRequestCommand_base: {
|
|
|
148
147
|
* ],
|
|
149
148
|
* },
|
|
150
149
|
* ],
|
|
151
|
-
* SpotFleetRequestId: "STRING_VALUE", // required
|
|
152
|
-
* TargetCapacity: Number("int"),
|
|
153
150
|
* OnDemandTargetCapacity: Number("int"),
|
|
154
151
|
* Context: "STRING_VALUE",
|
|
152
|
+
* SpotFleetRequestId: "STRING_VALUE", // required
|
|
153
|
+
* TargetCapacity: Number("int"),
|
|
154
|
+
* ExcessCapacityTerminationPolicy: "noTermination" || "default",
|
|
155
155
|
* };
|
|
156
156
|
* const command = new ModifySpotFleetRequestCommand(input);
|
|
157
157
|
* const response = await client.send(command);
|
|
@@ -81,13 +81,7 @@ declare const ModifyVpnConnectionCommand_base: {
|
|
|
81
81
|
* const response = await client.send(command);
|
|
82
82
|
* // { // ModifyVpnConnectionResult
|
|
83
83
|
* // VpnConnection: { // VpnConnection
|
|
84
|
-
* // CustomerGatewayConfiguration: "STRING_VALUE",
|
|
85
|
-
* // CustomerGatewayId: "STRING_VALUE",
|
|
86
84
|
* // Category: "STRING_VALUE",
|
|
87
|
-
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
88
|
-
* // Type: "ipsec.1",
|
|
89
|
-
* // VpnConnectionId: "STRING_VALUE",
|
|
90
|
-
* // VpnGatewayId: "STRING_VALUE",
|
|
91
85
|
* // TransitGatewayId: "STRING_VALUE",
|
|
92
86
|
* // CoreNetworkArn: "STRING_VALUE",
|
|
93
87
|
* // CoreNetworkAttachmentArn: "STRING_VALUE",
|
|
@@ -185,6 +179,12 @@ declare const ModifyVpnConnectionCommand_base: {
|
|
|
185
179
|
* // CertificateArn: "STRING_VALUE",
|
|
186
180
|
* // },
|
|
187
181
|
* // ],
|
|
182
|
+
* // VpnConnectionId: "STRING_VALUE",
|
|
183
|
+
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
184
|
+
* // CustomerGatewayConfiguration: "STRING_VALUE",
|
|
185
|
+
* // Type: "ipsec.1",
|
|
186
|
+
* // CustomerGatewayId: "STRING_VALUE",
|
|
187
|
+
* // VpnGatewayId: "STRING_VALUE",
|
|
188
188
|
* // },
|
|
189
189
|
* // };
|
|
190
190
|
*
|
|
@@ -50,13 +50,7 @@ declare const ModifyVpnConnectionOptionsCommand_base: {
|
|
|
50
50
|
* const response = await client.send(command);
|
|
51
51
|
* // { // ModifyVpnConnectionOptionsResult
|
|
52
52
|
* // VpnConnection: { // VpnConnection
|
|
53
|
-
* // CustomerGatewayConfiguration: "STRING_VALUE",
|
|
54
|
-
* // CustomerGatewayId: "STRING_VALUE",
|
|
55
53
|
* // Category: "STRING_VALUE",
|
|
56
|
-
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
57
|
-
* // Type: "ipsec.1",
|
|
58
|
-
* // VpnConnectionId: "STRING_VALUE",
|
|
59
|
-
* // VpnGatewayId: "STRING_VALUE",
|
|
60
54
|
* // TransitGatewayId: "STRING_VALUE",
|
|
61
55
|
* // CoreNetworkArn: "STRING_VALUE",
|
|
62
56
|
* // CoreNetworkAttachmentArn: "STRING_VALUE",
|
|
@@ -154,6 +148,12 @@ declare const ModifyVpnConnectionOptionsCommand_base: {
|
|
|
154
148
|
* // CertificateArn: "STRING_VALUE",
|
|
155
149
|
* // },
|
|
156
150
|
* // ],
|
|
151
|
+
* // VpnConnectionId: "STRING_VALUE",
|
|
152
|
+
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
153
|
+
* // CustomerGatewayConfiguration: "STRING_VALUE",
|
|
154
|
+
* // Type: "ipsec.1",
|
|
155
|
+
* // CustomerGatewayId: "STRING_VALUE",
|
|
156
|
+
* // VpnGatewayId: "STRING_VALUE",
|
|
157
157
|
* // },
|
|
158
158
|
* // };
|
|
159
159
|
*
|
|
@@ -43,13 +43,7 @@ declare const ModifyVpnTunnelCertificateCommand_base: {
|
|
|
43
43
|
* const response = await client.send(command);
|
|
44
44
|
* // { // ModifyVpnTunnelCertificateResult
|
|
45
45
|
* // VpnConnection: { // VpnConnection
|
|
46
|
-
* // CustomerGatewayConfiguration: "STRING_VALUE",
|
|
47
|
-
* // CustomerGatewayId: "STRING_VALUE",
|
|
48
46
|
* // Category: "STRING_VALUE",
|
|
49
|
-
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
50
|
-
* // Type: "ipsec.1",
|
|
51
|
-
* // VpnConnectionId: "STRING_VALUE",
|
|
52
|
-
* // VpnGatewayId: "STRING_VALUE",
|
|
53
47
|
* // TransitGatewayId: "STRING_VALUE",
|
|
54
48
|
* // CoreNetworkArn: "STRING_VALUE",
|
|
55
49
|
* // CoreNetworkAttachmentArn: "STRING_VALUE",
|
|
@@ -147,6 +141,12 @@ declare const ModifyVpnTunnelCertificateCommand_base: {
|
|
|
147
141
|
* // CertificateArn: "STRING_VALUE",
|
|
148
142
|
* // },
|
|
149
143
|
* // ],
|
|
144
|
+
* // VpnConnectionId: "STRING_VALUE",
|
|
145
|
+
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
146
|
+
* // CustomerGatewayConfiguration: "STRING_VALUE",
|
|
147
|
+
* // Type: "ipsec.1",
|
|
148
|
+
* // CustomerGatewayId: "STRING_VALUE",
|
|
149
|
+
* // VpnGatewayId: "STRING_VALUE",
|
|
150
150
|
* // },
|
|
151
151
|
* // };
|
|
152
152
|
*
|
|
@@ -103,13 +103,7 @@ declare const ModifyVpnTunnelOptionsCommand_base: {
|
|
|
103
103
|
* const response = await client.send(command);
|
|
104
104
|
* // { // ModifyVpnTunnelOptionsResult
|
|
105
105
|
* // VpnConnection: { // VpnConnection
|
|
106
|
-
* // CustomerGatewayConfiguration: "STRING_VALUE",
|
|
107
|
-
* // CustomerGatewayId: "STRING_VALUE",
|
|
108
106
|
* // Category: "STRING_VALUE",
|
|
109
|
-
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
110
|
-
* // Type: "ipsec.1",
|
|
111
|
-
* // VpnConnectionId: "STRING_VALUE",
|
|
112
|
-
* // VpnGatewayId: "STRING_VALUE",
|
|
113
107
|
* // TransitGatewayId: "STRING_VALUE",
|
|
114
108
|
* // CoreNetworkArn: "STRING_VALUE",
|
|
115
109
|
* // CoreNetworkAttachmentArn: "STRING_VALUE",
|
|
@@ -207,6 +201,12 @@ declare const ModifyVpnTunnelOptionsCommand_base: {
|
|
|
207
201
|
* // CertificateArn: "STRING_VALUE",
|
|
208
202
|
* // },
|
|
209
203
|
* // ],
|
|
204
|
+
* // VpnConnectionId: "STRING_VALUE",
|
|
205
|
+
* // State: "pending" || "available" || "deleting" || "deleted",
|
|
206
|
+
* // CustomerGatewayConfiguration: "STRING_VALUE",
|
|
207
|
+
* // Type: "ipsec.1",
|
|
208
|
+
* // CustomerGatewayId: "STRING_VALUE",
|
|
209
|
+
* // VpnGatewayId: "STRING_VALUE",
|
|
210
210
|
* // },
|
|
211
211
|
* // };
|
|
212
212
|
*
|
|
@@ -46,12 +46,12 @@ declare const PurchaseReservedInstancesOfferingCommand_base: {
|
|
|
46
46
|
* const input = { // PurchaseReservedInstancesOfferingRequest
|
|
47
47
|
* InstanceCount: Number("int"), // required
|
|
48
48
|
* ReservedInstancesOfferingId: "STRING_VALUE", // required
|
|
49
|
+
* PurchaseTime: new Date("TIMESTAMP"),
|
|
49
50
|
* DryRun: true || false,
|
|
50
51
|
* LimitPrice: { // ReservedInstanceLimitPrice
|
|
51
52
|
* Amount: Number("double"),
|
|
52
53
|
* CurrencyCode: "USD",
|
|
53
54
|
* },
|
|
54
|
-
* PurchaseTime: new Date("TIMESTAMP"),
|
|
55
55
|
* };
|
|
56
56
|
* const command = new PurchaseReservedInstancesOfferingCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
@@ -79,37 +79,9 @@ declare const RegisterImageCommand_base: {
|
|
|
79
79
|
* const client = new EC2Client(config);
|
|
80
80
|
* const input = { // RegisterImageRequest
|
|
81
81
|
* ImageLocation: "STRING_VALUE",
|
|
82
|
-
* Architecture: "i386" || "x86_64" || "arm64" || "x86_64_mac" || "arm64_mac",
|
|
83
|
-
* BlockDeviceMappings: [ // BlockDeviceMappingRequestList
|
|
84
|
-
* { // BlockDeviceMapping
|
|
85
|
-
* DeviceName: "STRING_VALUE",
|
|
86
|
-
* VirtualName: "STRING_VALUE",
|
|
87
|
-
* Ebs: { // EbsBlockDevice
|
|
88
|
-
* DeleteOnTermination: true || false,
|
|
89
|
-
* Iops: Number("int"),
|
|
90
|
-
* SnapshotId: "STRING_VALUE",
|
|
91
|
-
* VolumeSize: Number("int"),
|
|
92
|
-
* VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
|
|
93
|
-
* KmsKeyId: "STRING_VALUE",
|
|
94
|
-
* Throughput: Number("int"),
|
|
95
|
-
* OutpostArn: "STRING_VALUE",
|
|
96
|
-
* Encrypted: true || false,
|
|
97
|
-
* },
|
|
98
|
-
* NoDevice: "STRING_VALUE",
|
|
99
|
-
* },
|
|
100
|
-
* ],
|
|
101
|
-
* Description: "STRING_VALUE",
|
|
102
|
-
* DryRun: true || false,
|
|
103
|
-
* EnaSupport: true || false,
|
|
104
|
-
* KernelId: "STRING_VALUE",
|
|
105
|
-
* Name: "STRING_VALUE", // required
|
|
106
82
|
* BillingProducts: [ // BillingProductList
|
|
107
83
|
* "STRING_VALUE",
|
|
108
84
|
* ],
|
|
109
|
-
* RamdiskId: "STRING_VALUE",
|
|
110
|
-
* RootDeviceName: "STRING_VALUE",
|
|
111
|
-
* SriovNetSupport: "STRING_VALUE",
|
|
112
|
-
* VirtualizationType: "STRING_VALUE",
|
|
113
85
|
* BootMode: "legacy-bios" || "uefi" || "uefi-preferred",
|
|
114
86
|
* TpmSupport: "v2.0",
|
|
115
87
|
* UefiData: "STRING_VALUE",
|
|
@@ -125,6 +97,34 @@ declare const RegisterImageCommand_base: {
|
|
|
125
97
|
* ],
|
|
126
98
|
* },
|
|
127
99
|
* ],
|
|
100
|
+
* DryRun: true || false,
|
|
101
|
+
* Name: "STRING_VALUE", // required
|
|
102
|
+
* Description: "STRING_VALUE",
|
|
103
|
+
* Architecture: "i386" || "x86_64" || "arm64" || "x86_64_mac" || "arm64_mac",
|
|
104
|
+
* KernelId: "STRING_VALUE",
|
|
105
|
+
* RamdiskId: "STRING_VALUE",
|
|
106
|
+
* RootDeviceName: "STRING_VALUE",
|
|
107
|
+
* BlockDeviceMappings: [ // BlockDeviceMappingRequestList
|
|
108
|
+
* { // BlockDeviceMapping
|
|
109
|
+
* Ebs: { // EbsBlockDevice
|
|
110
|
+
* DeleteOnTermination: true || false,
|
|
111
|
+
* Iops: Number("int"),
|
|
112
|
+
* SnapshotId: "STRING_VALUE",
|
|
113
|
+
* VolumeSize: Number("int"),
|
|
114
|
+
* VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
|
|
115
|
+
* KmsKeyId: "STRING_VALUE",
|
|
116
|
+
* Throughput: Number("int"),
|
|
117
|
+
* OutpostArn: "STRING_VALUE",
|
|
118
|
+
* Encrypted: true || false,
|
|
119
|
+
* },
|
|
120
|
+
* NoDevice: "STRING_VALUE",
|
|
121
|
+
* DeviceName: "STRING_VALUE",
|
|
122
|
+
* VirtualName: "STRING_VALUE",
|
|
123
|
+
* },
|
|
124
|
+
* ],
|
|
125
|
+
* VirtualizationType: "STRING_VALUE",
|
|
126
|
+
* SriovNetSupport: "STRING_VALUE",
|
|
127
|
+
* EnaSupport: true || false,
|
|
128
128
|
* };
|
|
129
129
|
* const command = new RegisterImageCommand(input);
|
|
130
130
|
* const response = await client.send(command);
|
|
@@ -38,8 +38,8 @@ declare const ReplaceNetworkAclAssociationCommand_base: {
|
|
|
38
38
|
* // const { EC2Client, ReplaceNetworkAclAssociationCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
39
39
|
* const client = new EC2Client(config);
|
|
40
40
|
* const input = { // ReplaceNetworkAclAssociationRequest
|
|
41
|
-
* AssociationId: "STRING_VALUE", // required
|
|
42
41
|
* DryRun: true || false,
|
|
42
|
+
* AssociationId: "STRING_VALUE", // required
|
|
43
43
|
* NetworkAclId: "STRING_VALUE", // required
|
|
44
44
|
* };
|
|
45
45
|
* const command = new ReplaceNetworkAclAssociationCommand(input);
|
|
@@ -36,22 +36,22 @@ declare const ReplaceNetworkAclEntryCommand_base: {
|
|
|
36
36
|
* // const { EC2Client, ReplaceNetworkAclEntryCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
37
37
|
* const client = new EC2Client(config);
|
|
38
38
|
* const input = { // ReplaceNetworkAclEntryRequest
|
|
39
|
-
* CidrBlock: "STRING_VALUE",
|
|
40
39
|
* DryRun: true || false,
|
|
40
|
+
* NetworkAclId: "STRING_VALUE", // required
|
|
41
|
+
* RuleNumber: Number("int"), // required
|
|
42
|
+
* Protocol: "STRING_VALUE", // required
|
|
43
|
+
* RuleAction: "allow" || "deny", // required
|
|
41
44
|
* Egress: true || false, // required
|
|
45
|
+
* CidrBlock: "STRING_VALUE",
|
|
46
|
+
* Ipv6CidrBlock: "STRING_VALUE",
|
|
42
47
|
* IcmpTypeCode: { // IcmpTypeCode
|
|
43
48
|
* Code: Number("int"),
|
|
44
49
|
* Type: Number("int"),
|
|
45
50
|
* },
|
|
46
|
-
* Ipv6CidrBlock: "STRING_VALUE",
|
|
47
|
-
* NetworkAclId: "STRING_VALUE", // required
|
|
48
51
|
* PortRange: { // PortRange
|
|
49
52
|
* From: Number("int"),
|
|
50
53
|
* To: Number("int"),
|
|
51
54
|
* },
|
|
52
|
-
* Protocol: "STRING_VALUE", // required
|
|
53
|
-
* RuleAction: "allow" || "deny", // required
|
|
54
|
-
* RuleNumber: Number("int"), // required
|
|
55
55
|
* };
|
|
56
56
|
* const command = new ReplaceNetworkAclEntryCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
@@ -40,23 +40,23 @@ declare const ReplaceRouteCommand_base: {
|
|
|
40
40
|
* // const { EC2Client, ReplaceRouteCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
41
41
|
* const client = new EC2Client(config);
|
|
42
42
|
* const input = { // ReplaceRouteRequest
|
|
43
|
-
* DestinationCidrBlock: "STRING_VALUE",
|
|
44
|
-
* DestinationIpv6CidrBlock: "STRING_VALUE",
|
|
45
43
|
* DestinationPrefixListId: "STRING_VALUE",
|
|
46
|
-
* DryRun: true || false,
|
|
47
44
|
* VpcEndpointId: "STRING_VALUE",
|
|
48
|
-
* EgressOnlyInternetGatewayId: "STRING_VALUE",
|
|
49
|
-
* GatewayId: "STRING_VALUE",
|
|
50
|
-
* InstanceId: "STRING_VALUE",
|
|
51
45
|
* LocalTarget: true || false,
|
|
52
|
-
* NatGatewayId: "STRING_VALUE",
|
|
53
46
|
* TransitGatewayId: "STRING_VALUE",
|
|
54
47
|
* LocalGatewayId: "STRING_VALUE",
|
|
55
48
|
* CarrierGatewayId: "STRING_VALUE",
|
|
56
|
-
*
|
|
49
|
+
* CoreNetworkArn: "STRING_VALUE",
|
|
50
|
+
* DryRun: true || false,
|
|
57
51
|
* RouteTableId: "STRING_VALUE", // required
|
|
52
|
+
* DestinationCidrBlock: "STRING_VALUE",
|
|
53
|
+
* GatewayId: "STRING_VALUE",
|
|
54
|
+
* DestinationIpv6CidrBlock: "STRING_VALUE",
|
|
55
|
+
* EgressOnlyInternetGatewayId: "STRING_VALUE",
|
|
56
|
+
* InstanceId: "STRING_VALUE",
|
|
57
|
+
* NetworkInterfaceId: "STRING_VALUE",
|
|
58
58
|
* VpcPeeringConnectionId: "STRING_VALUE",
|
|
59
|
-
*
|
|
59
|
+
* NatGatewayId: "STRING_VALUE",
|
|
60
60
|
* };
|
|
61
61
|
* const command = new ReplaceRouteCommand(input);
|
|
62
62
|
* const response = await client.send(command);
|
|
@@ -39,8 +39,8 @@ declare const ReplaceRouteTableAssociationCommand_base: {
|
|
|
39
39
|
* // const { EC2Client, ReplaceRouteTableAssociationCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
40
40
|
* const client = new EC2Client(config);
|
|
41
41
|
* const input = { // ReplaceRouteTableAssociationRequest
|
|
42
|
-
* AssociationId: "STRING_VALUE", // required
|
|
43
42
|
* DryRun: true || false,
|
|
43
|
+
* AssociationId: "STRING_VALUE", // required
|
|
44
44
|
* RouteTableId: "STRING_VALUE", // required
|
|
45
45
|
* };
|
|
46
46
|
* const command = new ReplaceRouteTableAssociationCommand(input);
|
|
@@ -39,17 +39,17 @@ declare const ReportInstanceStatusCommand_base: {
|
|
|
39
39
|
* // const { EC2Client, ReportInstanceStatusCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
40
40
|
* const client = new EC2Client(config);
|
|
41
41
|
* const input = { // ReportInstanceStatusRequest
|
|
42
|
-
* Description: "STRING_VALUE",
|
|
43
42
|
* DryRun: true || false,
|
|
44
|
-
* EndTime: new Date("TIMESTAMP"),
|
|
45
43
|
* Instances: [ // InstanceIdStringList // required
|
|
46
44
|
* "STRING_VALUE",
|
|
47
45
|
* ],
|
|
46
|
+
* Status: "ok" || "impaired", // required
|
|
47
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
48
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
48
49
|
* ReasonCodes: [ // ReasonCodesList // required
|
|
49
50
|
* "instance-stuck-in-state" || "unresponsive" || "not-accepting-credentials" || "password-not-available" || "performance-network" || "performance-instance-store" || "performance-ebs-volume" || "performance-other" || "other",
|
|
50
51
|
* ],
|
|
51
|
-
*
|
|
52
|
-
* Status: "ok" || "impaired", // required
|
|
52
|
+
* Description: "STRING_VALUE",
|
|
53
53
|
* };
|
|
54
54
|
* const command = new ReportInstanceStatusCommand(input);
|
|
55
55
|
* const response = await client.send(command);
|
|
@@ -78,17 +78,9 @@ declare const RequestSpotFleetCommand_base: {
|
|
|
78
78
|
* IamFleetRole: "STRING_VALUE", // required
|
|
79
79
|
* LaunchSpecifications: [ // LaunchSpecsList
|
|
80
80
|
* { // SpotFleetLaunchSpecification
|
|
81
|
-
* SecurityGroups: [ // GroupIdentifierList
|
|
82
|
-
* { // GroupIdentifier
|
|
83
|
-
* GroupName: "STRING_VALUE",
|
|
84
|
-
* GroupId: "STRING_VALUE",
|
|
85
|
-
* },
|
|
86
|
-
* ],
|
|
87
81
|
* AddressingType: "STRING_VALUE",
|
|
88
82
|
* BlockDeviceMappings: [ // BlockDeviceMappingList
|
|
89
83
|
* { // BlockDeviceMapping
|
|
90
|
-
* DeviceName: "STRING_VALUE",
|
|
91
|
-
* VirtualName: "STRING_VALUE",
|
|
92
84
|
* Ebs: { // EbsBlockDevice
|
|
93
85
|
* DeleteOnTermination: true || false,
|
|
94
86
|
* Iops: Number("int"),
|
|
@@ -101,6 +93,8 @@ declare const RequestSpotFleetCommand_base: {
|
|
|
101
93
|
* Encrypted: true || false,
|
|
102
94
|
* },
|
|
103
95
|
* NoDevice: "STRING_VALUE",
|
|
96
|
+
* DeviceName: "STRING_VALUE",
|
|
97
|
+
* VirtualName: "STRING_VALUE",
|
|
104
98
|
* },
|
|
105
99
|
* ],
|
|
106
100
|
* EbsOptimized: true || false,
|
|
@@ -260,6 +254,12 @@ declare const RequestSpotFleetCommand_base: {
|
|
|
260
254
|
* ],
|
|
261
255
|
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
|
|
262
256
|
* },
|
|
257
|
+
* SecurityGroups: [ // GroupIdentifierList
|
|
258
|
+
* { // GroupIdentifier
|
|
259
|
+
* GroupId: "STRING_VALUE",
|
|
260
|
+
* GroupName: "STRING_VALUE",
|
|
261
|
+
* },
|
|
262
|
+
* ],
|
|
263
263
|
* },
|
|
264
264
|
* ],
|
|
265
265
|
* LaunchTemplateConfigs: [ // LaunchTemplateConfigList
|
|
@@ -44,12 +44,6 @@ declare const RequestSpotInstancesCommand_base: {
|
|
|
44
44
|
* // const { EC2Client, RequestSpotInstancesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
45
45
|
* const client = new EC2Client(config);
|
|
46
46
|
* const input = { // RequestSpotInstancesRequest
|
|
47
|
-
* AvailabilityZoneGroup: "STRING_VALUE",
|
|
48
|
-
* BlockDurationMinutes: Number("int"),
|
|
49
|
-
* ClientToken: "STRING_VALUE",
|
|
50
|
-
* DryRun: true || false,
|
|
51
|
-
* InstanceCount: Number("int"),
|
|
52
|
-
* LaunchGroup: "STRING_VALUE",
|
|
53
47
|
* LaunchSpecification: { // RequestSpotLaunchSpecification
|
|
54
48
|
* SecurityGroupIds: [ // RequestSpotLaunchSpecificationSecurityGroupIdList
|
|
55
49
|
* "STRING_VALUE",
|
|
@@ -60,8 +54,6 @@ declare const RequestSpotInstancesCommand_base: {
|
|
|
60
54
|
* AddressingType: "STRING_VALUE",
|
|
61
55
|
* BlockDeviceMappings: [ // BlockDeviceMappingList
|
|
62
56
|
* { // BlockDeviceMapping
|
|
63
|
-
* DeviceName: "STRING_VALUE",
|
|
64
|
-
* VirtualName: "STRING_VALUE",
|
|
65
57
|
* Ebs: { // EbsBlockDevice
|
|
66
58
|
* DeleteOnTermination: true || false,
|
|
67
59
|
* Iops: Number("int"),
|
|
@@ -74,6 +66,8 @@ declare const RequestSpotInstancesCommand_base: {
|
|
|
74
66
|
* Encrypted: true || false,
|
|
75
67
|
* },
|
|
76
68
|
* NoDevice: "STRING_VALUE",
|
|
69
|
+
* DeviceName: "STRING_VALUE",
|
|
70
|
+
* VirtualName: "STRING_VALUE",
|
|
77
71
|
* },
|
|
78
72
|
* ],
|
|
79
73
|
* EbsOptimized: true || false,
|
|
@@ -152,10 +146,6 @@ declare const RequestSpotInstancesCommand_base: {
|
|
|
152
146
|
* SubnetId: "STRING_VALUE",
|
|
153
147
|
* UserData: "STRING_VALUE",
|
|
154
148
|
* },
|
|
155
|
-
* SpotPrice: "STRING_VALUE",
|
|
156
|
-
* Type: "one-time" || "persistent",
|
|
157
|
-
* ValidFrom: new Date("TIMESTAMP"),
|
|
158
|
-
* ValidUntil: new Date("TIMESTAMP"),
|
|
159
149
|
* TagSpecifications: [ // TagSpecificationList
|
|
160
150
|
* { // TagSpecification
|
|
161
151
|
* 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",
|
|
@@ -168,6 +158,16 @@ declare const RequestSpotInstancesCommand_base: {
|
|
|
168
158
|
* },
|
|
169
159
|
* ],
|
|
170
160
|
* InstanceInterruptionBehavior: "hibernate" || "stop" || "terminate",
|
|
161
|
+
* DryRun: true || false,
|
|
162
|
+
* SpotPrice: "STRING_VALUE",
|
|
163
|
+
* ClientToken: "STRING_VALUE",
|
|
164
|
+
* InstanceCount: Number("int"),
|
|
165
|
+
* Type: "one-time" || "persistent",
|
|
166
|
+
* ValidFrom: new Date("TIMESTAMP"),
|
|
167
|
+
* ValidUntil: new Date("TIMESTAMP"),
|
|
168
|
+
* LaunchGroup: "STRING_VALUE",
|
|
169
|
+
* AvailabilityZoneGroup: "STRING_VALUE",
|
|
170
|
+
* BlockDurationMinutes: Number("int"),
|
|
171
171
|
* };
|
|
172
172
|
* const command = new RequestSpotInstancesCommand(input);
|
|
173
173
|
* const response = await client.send(command);
|
|
@@ -186,17 +186,9 @@ declare const RequestSpotInstancesCommand_base: {
|
|
|
186
186
|
* // LaunchGroup: "STRING_VALUE",
|
|
187
187
|
* // LaunchSpecification: { // LaunchSpecification
|
|
188
188
|
* // UserData: "STRING_VALUE",
|
|
189
|
-
* // SecurityGroups: [ // GroupIdentifierList
|
|
190
|
-
* // { // GroupIdentifier
|
|
191
|
-
* // GroupName: "STRING_VALUE",
|
|
192
|
-
* // GroupId: "STRING_VALUE",
|
|
193
|
-
* // },
|
|
194
|
-
* // ],
|
|
195
189
|
* // AddressingType: "STRING_VALUE",
|
|
196
190
|
* // BlockDeviceMappings: [ // BlockDeviceMappingList
|
|
197
191
|
* // { // BlockDeviceMapping
|
|
198
|
-
* // DeviceName: "STRING_VALUE",
|
|
199
|
-
* // VirtualName: "STRING_VALUE",
|
|
200
192
|
* // Ebs: { // EbsBlockDevice
|
|
201
193
|
* // DeleteOnTermination: true || false,
|
|
202
194
|
* // Iops: Number("int"),
|
|
@@ -209,6 +201,8 @@ declare const RequestSpotInstancesCommand_base: {
|
|
|
209
201
|
* // Encrypted: true || false,
|
|
210
202
|
* // },
|
|
211
203
|
* // NoDevice: "STRING_VALUE",
|
|
204
|
+
* // DeviceName: "STRING_VALUE",
|
|
205
|
+
* // VirtualName: "STRING_VALUE",
|
|
212
206
|
* // },
|
|
213
207
|
* // ],
|
|
214
208
|
* // EbsOptimized: true || false,
|
|
@@ -282,6 +276,12 @@ declare const RequestSpotInstancesCommand_base: {
|
|
|
282
276
|
* // },
|
|
283
277
|
* // RamdiskId: "STRING_VALUE",
|
|
284
278
|
* // SubnetId: "STRING_VALUE",
|
|
279
|
+
* // SecurityGroups: [ // GroupIdentifierList
|
|
280
|
+
* // { // GroupIdentifier
|
|
281
|
+
* // GroupId: "STRING_VALUE",
|
|
282
|
+
* // GroupName: "STRING_VALUE",
|
|
283
|
+
* // },
|
|
284
|
+
* // ],
|
|
285
285
|
* // Monitoring: { // RunInstancesMonitoringEnabled
|
|
286
286
|
* // Enabled: true || false, // required
|
|
287
287
|
* // },
|
|
@@ -43,9 +43,9 @@ declare const ResetInstanceAttributeCommand_base: {
|
|
|
43
43
|
* // const { EC2Client, ResetInstanceAttributeCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
44
44
|
* const client = new EC2Client(config);
|
|
45
45
|
* const input = { // ResetInstanceAttributeRequest
|
|
46
|
-
* Attribute: "instanceType" || "kernel" || "ramdisk" || "userData" || "disableApiTermination" || "instanceInitiatedShutdownBehavior" || "rootDeviceName" || "blockDeviceMapping" || "productCodes" || "sourceDestCheck" || "groupSet" || "ebsOptimized" || "sriovNetSupport" || "enaSupport" || "enclaveOptions" || "disableApiStop", // required
|
|
47
46
|
* DryRun: true || false,
|
|
48
47
|
* InstanceId: "STRING_VALUE", // required
|
|
48
|
+
* Attribute: "instanceType" || "kernel" || "ramdisk" || "userData" || "disableApiTermination" || "instanceInitiatedShutdownBehavior" || "rootDeviceName" || "blockDeviceMapping" || "productCodes" || "sourceDestCheck" || "groupSet" || "ebsOptimized" || "sriovNetSupport" || "enaSupport" || "enclaveOptions" || "disableApiStop", // required
|
|
49
49
|
* };
|
|
50
50
|
* const command = new ResetInstanceAttributeCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|