@aws-sdk/client-ec2 3.451.0 → 3.453.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 +24 -0
- package/dist-cjs/EC2.js +6 -0
- package/dist-cjs/commands/DescribeLockedSnapshotsCommand.js +51 -0
- package/dist-cjs/commands/LockSnapshotCommand.js +51 -0
- package/dist-cjs/commands/RequestSpotInstancesCommand.js +3 -3
- package/dist-cjs/commands/UnlockSnapshotCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/models/models_4.js +8 -2
- package/dist-cjs/models/models_6.js +5 -23
- package/dist-cjs/models/models_7.js +24 -1
- package/dist-cjs/protocols/Aws_ec2.js +305 -20
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/DescribeLockedSnapshotsCommand.js +47 -0
- package/dist-es/commands/LockSnapshotCommand.js +47 -0
- package/dist-es/commands/RequestSpotInstancesCommand.js +1 -1
- package/dist-es/commands/UnlockSnapshotCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/models/models_4.js +6 -0
- package/dist-es/models/models_6.js +5 -20
- package/dist-es/models/models_7.js +20 -0
- package/dist-es/protocols/Aws_ec2.js +279 -0
- package/dist-types/EC2.d.ts +21 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +3 -2
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
- package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +4 -2
- package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLockedSnapshotsCommand.d.ts +99 -0
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +2 -1
- package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +3 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -2
- package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
- package/dist-types/commands/LockSnapshotCommand.d.ts +103 -0
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +5 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -3
- package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- package/dist-types/commands/UnlockSnapshotCommand.d.ts +76 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +9 -0
- package/dist-types/models/models_2.d.ts +7 -0
- package/dist-types/models/models_4.d.ts +154 -129
- package/dist-types/models/models_5.d.ts +130 -137
- package/dist-types/models/models_6.d.ts +326 -306
- package/dist-types/models/models_7.d.ts +331 -3
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +51 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/DescribeLockedSnapshotsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/LockSnapshotCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_2.d.ts +1 -0
- package/dist-types/ts3.4/models/models_4.d.ts +29 -24
- package/dist-types/ts3.4/models/models_5.d.ts +24 -23
- package/dist-types/ts3.4/models/models_6.d.ts +55 -71
- package/dist-types/ts3.4/models/models_7.d.ts +75 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +1 -1
package/dist-es/EC2.js
CHANGED
|
@@ -287,6 +287,7 @@ import { DescribeLocalGatewayRouteTableVpcAssociationsCommand, } from "./command
|
|
|
287
287
|
import { DescribeLocalGatewaysCommand, } from "./commands/DescribeLocalGatewaysCommand";
|
|
288
288
|
import { DescribeLocalGatewayVirtualInterfaceGroupsCommand, } from "./commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand";
|
|
289
289
|
import { DescribeLocalGatewayVirtualInterfacesCommand, } from "./commands/DescribeLocalGatewayVirtualInterfacesCommand";
|
|
290
|
+
import { DescribeLockedSnapshotsCommand, } from "./commands/DescribeLockedSnapshotsCommand";
|
|
290
291
|
import { DescribeManagedPrefixListsCommand, } from "./commands/DescribeManagedPrefixListsCommand";
|
|
291
292
|
import { DescribeMovingAddressesCommand, } from "./commands/DescribeMovingAddressesCommand";
|
|
292
293
|
import { DescribeNatGatewaysCommand, } from "./commands/DescribeNatGatewaysCommand";
|
|
@@ -473,6 +474,7 @@ import { ImportSnapshotCommand, } from "./commands/ImportSnapshotCommand";
|
|
|
473
474
|
import { ImportVolumeCommand, } from "./commands/ImportVolumeCommand";
|
|
474
475
|
import { ListImagesInRecycleBinCommand, } from "./commands/ListImagesInRecycleBinCommand";
|
|
475
476
|
import { ListSnapshotsInRecycleBinCommand, } from "./commands/ListSnapshotsInRecycleBinCommand";
|
|
477
|
+
import { LockSnapshotCommand, } from "./commands/LockSnapshotCommand";
|
|
476
478
|
import { ModifyAddressAttributeCommand, } from "./commands/ModifyAddressAttributeCommand";
|
|
477
479
|
import { ModifyAvailabilityZoneGroupCommand, } from "./commands/ModifyAvailabilityZoneGroupCommand";
|
|
478
480
|
import { ModifyCapacityReservationCommand, } from "./commands/ModifyCapacityReservationCommand";
|
|
@@ -601,6 +603,7 @@ import { TerminateInstancesCommand, } from "./commands/TerminateInstancesCommand
|
|
|
601
603
|
import { UnassignIpv6AddressesCommand, } from "./commands/UnassignIpv6AddressesCommand";
|
|
602
604
|
import { UnassignPrivateIpAddressesCommand, } from "./commands/UnassignPrivateIpAddressesCommand";
|
|
603
605
|
import { UnassignPrivateNatGatewayAddressCommand, } from "./commands/UnassignPrivateNatGatewayAddressCommand";
|
|
606
|
+
import { UnlockSnapshotCommand, } from "./commands/UnlockSnapshotCommand";
|
|
604
607
|
import { UnmonitorInstancesCommand, } from "./commands/UnmonitorInstancesCommand";
|
|
605
608
|
import { UpdateSecurityGroupRuleDescriptionsEgressCommand, } from "./commands/UpdateSecurityGroupRuleDescriptionsEgressCommand";
|
|
606
609
|
import { UpdateSecurityGroupRuleDescriptionsIngressCommand, } from "./commands/UpdateSecurityGroupRuleDescriptionsIngressCommand";
|
|
@@ -895,6 +898,7 @@ const commands = {
|
|
|
895
898
|
DescribeLocalGatewaysCommand,
|
|
896
899
|
DescribeLocalGatewayVirtualInterfaceGroupsCommand,
|
|
897
900
|
DescribeLocalGatewayVirtualInterfacesCommand,
|
|
901
|
+
DescribeLockedSnapshotsCommand,
|
|
898
902
|
DescribeManagedPrefixListsCommand,
|
|
899
903
|
DescribeMovingAddressesCommand,
|
|
900
904
|
DescribeNatGatewaysCommand,
|
|
@@ -1081,6 +1085,7 @@ const commands = {
|
|
|
1081
1085
|
ImportVolumeCommand,
|
|
1082
1086
|
ListImagesInRecycleBinCommand,
|
|
1083
1087
|
ListSnapshotsInRecycleBinCommand,
|
|
1088
|
+
LockSnapshotCommand,
|
|
1084
1089
|
ModifyAddressAttributeCommand,
|
|
1085
1090
|
ModifyAvailabilityZoneGroupCommand,
|
|
1086
1091
|
ModifyCapacityReservationCommand,
|
|
@@ -1209,6 +1214,7 @@ const commands = {
|
|
|
1209
1214
|
UnassignIpv6AddressesCommand,
|
|
1210
1215
|
UnassignPrivateIpAddressesCommand,
|
|
1211
1216
|
UnassignPrivateNatGatewayAddressCommand,
|
|
1217
|
+
UnlockSnapshotCommand,
|
|
1212
1218
|
UnmonitorInstancesCommand,
|
|
1213
1219
|
UpdateSecurityGroupRuleDescriptionsEgressCommand,
|
|
1214
1220
|
UpdateSecurityGroupRuleDescriptionsIngressCommand,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_DescribeLockedSnapshotsCommand, se_DescribeLockedSnapshotsCommand } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeLockedSnapshotsCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeLockedSnapshotsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "EC2Client";
|
|
26
|
+
const commandName = "DescribeLockedSnapshotsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonEC2",
|
|
35
|
+
operation: "DescribeLockedSnapshots",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_DescribeLockedSnapshotsCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DescribeLockedSnapshotsCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_LockSnapshotCommand, se_LockSnapshotCommand } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class LockSnapshotCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, LockSnapshotCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "EC2Client";
|
|
26
|
+
const commandName = "LockSnapshotCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonEC2",
|
|
35
|
+
operation: "LockSnapshot",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_LockSnapshotCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_LockSnapshotCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
-
import { RequestSpotInstancesRequestFilterSensitiveLog, RequestSpotInstancesResultFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { RequestSpotInstancesRequestFilterSensitiveLog, RequestSpotInstancesResultFilterSensitiveLog, } from "../models/models_7";
|
|
6
6
|
import { de_RequestSpotInstancesCommand, se_RequestSpotInstancesCommand } from "../protocols/Aws_ec2";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class RequestSpotInstancesCommand extends $Command {
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_UnlockSnapshotCommand, se_UnlockSnapshotCommand } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UnlockSnapshotCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UnlockSnapshotCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "EC2Client";
|
|
26
|
+
const commandName = "UnlockSnapshotCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonEC2",
|
|
35
|
+
operation: "UnlockSnapshot",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_UnlockSnapshotCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_UnlockSnapshotCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -286,6 +286,7 @@ export * from "./DescribeLocalGatewayRouteTablesCommand";
|
|
|
286
286
|
export * from "./DescribeLocalGatewayVirtualInterfaceGroupsCommand";
|
|
287
287
|
export * from "./DescribeLocalGatewayVirtualInterfacesCommand";
|
|
288
288
|
export * from "./DescribeLocalGatewaysCommand";
|
|
289
|
+
export * from "./DescribeLockedSnapshotsCommand";
|
|
289
290
|
export * from "./DescribeManagedPrefixListsCommand";
|
|
290
291
|
export * from "./DescribeMovingAddressesCommand";
|
|
291
292
|
export * from "./DescribeNatGatewaysCommand";
|
|
@@ -472,6 +473,7 @@ export * from "./ImportSnapshotCommand";
|
|
|
472
473
|
export * from "./ImportVolumeCommand";
|
|
473
474
|
export * from "./ListImagesInRecycleBinCommand";
|
|
474
475
|
export * from "./ListSnapshotsInRecycleBinCommand";
|
|
476
|
+
export * from "./LockSnapshotCommand";
|
|
475
477
|
export * from "./ModifyAddressAttributeCommand";
|
|
476
478
|
export * from "./ModifyAvailabilityZoneGroupCommand";
|
|
477
479
|
export * from "./ModifyCapacityReservationCommand";
|
|
@@ -600,6 +602,7 @@ export * from "./TerminateInstancesCommand";
|
|
|
600
602
|
export * from "./UnassignIpv6AddressesCommand";
|
|
601
603
|
export * from "./UnassignPrivateIpAddressesCommand";
|
|
602
604
|
export * from "./UnassignPrivateNatGatewayAddressCommand";
|
|
605
|
+
export * from "./UnlockSnapshotCommand";
|
|
603
606
|
export * from "./UnmonitorInstancesCommand";
|
|
604
607
|
export * from "./UpdateSecurityGroupRuleDescriptionsEgressCommand";
|
|
605
608
|
export * from "./UpdateSecurityGroupRuleDescriptionsIngressCommand";
|
|
@@ -351,6 +351,7 @@ export const VpcCidrBlockStateCode = {
|
|
|
351
351
|
export const DeviceTrustProviderType = {
|
|
352
352
|
crowdstrike: "crowdstrike",
|
|
353
353
|
jamf: "jamf",
|
|
354
|
+
jumpcloud: "jumpcloud",
|
|
354
355
|
};
|
|
355
356
|
export const TrustProviderType = {
|
|
356
357
|
device: "device",
|
|
@@ -677,6 +678,7 @@ export const _InstanceType = {
|
|
|
677
678
|
d3en_8xlarge: "d3en.8xlarge",
|
|
678
679
|
d3en_xlarge: "d3en.xlarge",
|
|
679
680
|
dl1_24xlarge: "dl1.24xlarge",
|
|
681
|
+
dl2q_24xlarge: "dl2q.24xlarge",
|
|
680
682
|
f1_16xlarge: "f1.16xlarge",
|
|
681
683
|
f1_2xlarge: "f1.2xlarge",
|
|
682
684
|
f1_4xlarge: "f1.4xlarge",
|
|
@@ -148,6 +148,12 @@ export const UsageClassType = {
|
|
|
148
148
|
on_demand: "on-demand",
|
|
149
149
|
spot: "spot",
|
|
150
150
|
};
|
|
151
|
+
export const LockState = {
|
|
152
|
+
compliance: "compliance",
|
|
153
|
+
compliance_cooloff: "compliance-cooloff",
|
|
154
|
+
expired: "expired",
|
|
155
|
+
governance: "governance",
|
|
156
|
+
};
|
|
151
157
|
export const MoveStatus = {
|
|
152
158
|
movingToVpc: "movingToVpc",
|
|
153
159
|
restoringToClassic: "restoringToClassic",
|
|
@@ -2,7 +2,11 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
4
4
|
import { ConversionTaskFilterSensitiveLog, SnapshotDetailFilterSensitiveLog, SnapshotTaskDetailFilterSensitiveLog, } from "./models_3";
|
|
5
|
-
import { SpotFleetRequestConfigDataFilterSensitiveLog,
|
|
5
|
+
import { SpotFleetRequestConfigDataFilterSensitiveLog, } from "./models_4";
|
|
6
|
+
export const LockMode = {
|
|
7
|
+
compliance: "compliance",
|
|
8
|
+
governance: "governance",
|
|
9
|
+
};
|
|
6
10
|
export const ModifyAvailabilityZoneOptInStatus = {
|
|
7
11
|
not_opted_in: "not-opted-in",
|
|
8
12
|
opted_in: "opted-in",
|
|
@@ -58,9 +62,6 @@ export const ReportStatusType = {
|
|
|
58
62
|
impaired: "impaired",
|
|
59
63
|
ok: "ok",
|
|
60
64
|
};
|
|
61
|
-
export const ResetFpgaImageAttributeName = {
|
|
62
|
-
loadPermission: "loadPermission",
|
|
63
|
-
};
|
|
64
65
|
export const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = (obj) => ({
|
|
65
66
|
...obj,
|
|
66
67
|
...(obj.VpnConnectionDeviceSampleConfiguration && { VpnConnectionDeviceSampleConfiguration: SENSITIVE_STRING }),
|
|
@@ -173,19 +174,3 @@ export const RequestSpotFleetRequestFilterSensitiveLog = (obj) => ({
|
|
|
173
174
|
SpotFleetRequestConfig: SpotFleetRequestConfigDataFilterSensitiveLog(obj.SpotFleetRequestConfig),
|
|
174
175
|
}),
|
|
175
176
|
});
|
|
176
|
-
export const RequestSpotLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
177
|
-
...obj,
|
|
178
|
-
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|
|
179
|
-
});
|
|
180
|
-
export const RequestSpotInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
181
|
-
...obj,
|
|
182
|
-
...(obj.LaunchSpecification && {
|
|
183
|
-
LaunchSpecification: RequestSpotLaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification),
|
|
184
|
-
}),
|
|
185
|
-
});
|
|
186
|
-
export const RequestSpotInstancesResultFilterSensitiveLog = (obj) => ({
|
|
187
|
-
...obj,
|
|
188
|
-
...(obj.SpotInstanceRequests && {
|
|
189
|
-
SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => SpotInstanceRequestFilterSensitiveLog(item)),
|
|
190
|
-
}),
|
|
191
|
-
});
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { SpotInstanceRequestFilterSensitiveLog, } from "./models_4";
|
|
3
|
+
export const ResetFpgaImageAttributeName = {
|
|
4
|
+
loadPermission: "loadPermission",
|
|
5
|
+
};
|
|
2
6
|
export const ResetImageAttributeName = {
|
|
3
7
|
launchPermission: "launchPermission",
|
|
4
8
|
};
|
|
@@ -6,6 +10,22 @@ export const MembershipType = {
|
|
|
6
10
|
igmp: "igmp",
|
|
7
11
|
static: "static",
|
|
8
12
|
};
|
|
13
|
+
export const RequestSpotLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
14
|
+
...obj,
|
|
15
|
+
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|
|
16
|
+
});
|
|
17
|
+
export const RequestSpotInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
18
|
+
...obj,
|
|
19
|
+
...(obj.LaunchSpecification && {
|
|
20
|
+
LaunchSpecification: RequestSpotLaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification),
|
|
21
|
+
}),
|
|
22
|
+
});
|
|
23
|
+
export const RequestSpotInstancesResultFilterSensitiveLog = (obj) => ({
|
|
24
|
+
...obj,
|
|
25
|
+
...(obj.SpotInstanceRequests && {
|
|
26
|
+
SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => SpotInstanceRequestFilterSensitiveLog(item)),
|
|
27
|
+
}),
|
|
28
|
+
});
|
|
9
29
|
export const RunInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
10
30
|
...obj,
|
|
11
31
|
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|