@aws-sdk/client-ec2 3.445.0 → 3.449.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/DisableSnapshotBlockPublicAccessCommand.js +51 -0
- package/dist-cjs/commands/EnableSnapshotBlockPublicAccessCommand.js +51 -0
- package/dist-cjs/commands/GetSnapshotBlockPublicAccessStateCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_1.js +1 -16
- package/dist-cjs/models/models_2.js +17 -2
- package/dist-cjs/models/models_5.js +6 -1
- package/dist-cjs/protocols/Aws_ec2.js +272 -18
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/DisableSnapshotBlockPublicAccessCommand.js +47 -0
- package/dist-es/commands/EnableSnapshotBlockPublicAccessCommand.js +47 -0
- package/dist-es/commands/GetSnapshotBlockPublicAccessStateCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_1.js +0 -15
- package/dist-es/models/models_2.js +15 -0
- package/dist-es/models/models_5.js +5 -0
- package/dist-es/protocols/Aws_ec2.js +248 -0
- package/dist-types/EC2.d.ts +21 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +6 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +12 -0
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -2
- package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
- package/dist-types/commands/DeletePlacementGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +81 -0
- package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +85 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +6 -0
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +76 -0
- package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +2 -1
- package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +6 -0
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +12 -0
- package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
- package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
- package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +1 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +12 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +3 -2
- package/dist-types/models/models_1.d.ts +99 -99
- package/dist-types/models/models_2.d.ts +89 -71
- package/dist-types/models/models_3.d.ts +71 -126
- package/dist-types/models/models_4.d.ts +182 -240
- package/dist-types/models/models_5.d.ts +370 -354
- package/dist-types/models/models_6.d.ts +350 -306
- package/dist-types/models/models_7.d.ts +308 -5
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +57 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreatePlacementGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePlacementGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_1.d.ts +16 -28
- package/dist-types/ts3.4/models/models_2.d.ts +28 -19
- package/dist-types/ts3.4/models/models_3.d.ts +16 -18
- package/dist-types/ts3.4/models/models_4.d.ts +29 -36
- package/dist-types/ts3.4/models/models_5.d.ts +62 -75
- package/dist-types/ts3.4/models/models_6.d.ts +76 -70
- package/dist-types/ts3.4/models/models_7.d.ts +77 -2
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +13 -13
package/dist-es/EC2.js
CHANGED
|
@@ -378,6 +378,7 @@ import { DisableImageCommand, } from "./commands/DisableImageCommand";
|
|
|
378
378
|
import { DisableImageDeprecationCommand, } from "./commands/DisableImageDeprecationCommand";
|
|
379
379
|
import { DisableIpamOrganizationAdminAccountCommand, } from "./commands/DisableIpamOrganizationAdminAccountCommand";
|
|
380
380
|
import { DisableSerialConsoleAccessCommand, } from "./commands/DisableSerialConsoleAccessCommand";
|
|
381
|
+
import { DisableSnapshotBlockPublicAccessCommand, } from "./commands/DisableSnapshotBlockPublicAccessCommand";
|
|
381
382
|
import { DisableTransitGatewayRouteTablePropagationCommand, } from "./commands/DisableTransitGatewayRouteTablePropagationCommand";
|
|
382
383
|
import { DisableVgwRoutePropagationCommand, } from "./commands/DisableVgwRoutePropagationCommand";
|
|
383
384
|
import { DisableVpcClassicLinkCommand, } from "./commands/DisableVpcClassicLinkCommand";
|
|
@@ -407,6 +408,7 @@ import { EnableImageDeprecationCommand, } from "./commands/EnableImageDeprecatio
|
|
|
407
408
|
import { EnableIpamOrganizationAdminAccountCommand, } from "./commands/EnableIpamOrganizationAdminAccountCommand";
|
|
408
409
|
import { EnableReachabilityAnalyzerOrganizationSharingCommand, } from "./commands/EnableReachabilityAnalyzerOrganizationSharingCommand";
|
|
409
410
|
import { EnableSerialConsoleAccessCommand, } from "./commands/EnableSerialConsoleAccessCommand";
|
|
411
|
+
import { EnableSnapshotBlockPublicAccessCommand, } from "./commands/EnableSnapshotBlockPublicAccessCommand";
|
|
410
412
|
import { EnableTransitGatewayRouteTablePropagationCommand, } from "./commands/EnableTransitGatewayRouteTablePropagationCommand";
|
|
411
413
|
import { EnableVgwRoutePropagationCommand, } from "./commands/EnableVgwRoutePropagationCommand";
|
|
412
414
|
import { EnableVolumeIOCommand, } from "./commands/EnableVolumeIOCommand";
|
|
@@ -447,6 +449,7 @@ import { GetPasswordDataCommand, } from "./commands/GetPasswordDataCommand";
|
|
|
447
449
|
import { GetReservedInstancesExchangeQuoteCommand, } from "./commands/GetReservedInstancesExchangeQuoteCommand";
|
|
448
450
|
import { GetSecurityGroupsForVpcCommand, } from "./commands/GetSecurityGroupsForVpcCommand";
|
|
449
451
|
import { GetSerialConsoleAccessStatusCommand, } from "./commands/GetSerialConsoleAccessStatusCommand";
|
|
452
|
+
import { GetSnapshotBlockPublicAccessStateCommand, } from "./commands/GetSnapshotBlockPublicAccessStateCommand";
|
|
450
453
|
import { GetSpotPlacementScoresCommand, } from "./commands/GetSpotPlacementScoresCommand";
|
|
451
454
|
import { GetSubnetCidrReservationsCommand, } from "./commands/GetSubnetCidrReservationsCommand";
|
|
452
455
|
import { GetTransitGatewayAttachmentPropagationsCommand, } from "./commands/GetTransitGatewayAttachmentPropagationsCommand";
|
|
@@ -982,6 +985,7 @@ const commands = {
|
|
|
982
985
|
DisableImageDeprecationCommand,
|
|
983
986
|
DisableIpamOrganizationAdminAccountCommand,
|
|
984
987
|
DisableSerialConsoleAccessCommand,
|
|
988
|
+
DisableSnapshotBlockPublicAccessCommand,
|
|
985
989
|
DisableTransitGatewayRouteTablePropagationCommand,
|
|
986
990
|
DisableVgwRoutePropagationCommand,
|
|
987
991
|
DisableVpcClassicLinkCommand,
|
|
@@ -1011,6 +1015,7 @@ const commands = {
|
|
|
1011
1015
|
EnableIpamOrganizationAdminAccountCommand,
|
|
1012
1016
|
EnableReachabilityAnalyzerOrganizationSharingCommand,
|
|
1013
1017
|
EnableSerialConsoleAccessCommand,
|
|
1018
|
+
EnableSnapshotBlockPublicAccessCommand,
|
|
1014
1019
|
EnableTransitGatewayRouteTablePropagationCommand,
|
|
1015
1020
|
EnableVgwRoutePropagationCommand,
|
|
1016
1021
|
EnableVolumeIOCommand,
|
|
@@ -1051,6 +1056,7 @@ const commands = {
|
|
|
1051
1056
|
GetReservedInstancesExchangeQuoteCommand,
|
|
1052
1057
|
GetSecurityGroupsForVpcCommand,
|
|
1053
1058
|
GetSerialConsoleAccessStatusCommand,
|
|
1059
|
+
GetSnapshotBlockPublicAccessStateCommand,
|
|
1054
1060
|
GetSpotPlacementScoresCommand,
|
|
1055
1061
|
GetSubnetCidrReservationsCommand,
|
|
1056
1062
|
GetTransitGatewayAttachmentPropagationsCommand,
|
|
@@ -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_DisableSnapshotBlockPublicAccessCommand, se_DisableSnapshotBlockPublicAccessCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisableSnapshotBlockPublicAccessCommand 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, DisableSnapshotBlockPublicAccessCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "EC2Client";
|
|
26
|
+
const commandName = "DisableSnapshotBlockPublicAccessCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonEC2",
|
|
35
|
+
operation: "DisableSnapshotBlockPublicAccess",
|
|
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_DisableSnapshotBlockPublicAccessCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DisableSnapshotBlockPublicAccessCommand(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_EnableSnapshotBlockPublicAccessCommand, se_EnableSnapshotBlockPublicAccessCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class EnableSnapshotBlockPublicAccessCommand 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, EnableSnapshotBlockPublicAccessCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "EC2Client";
|
|
26
|
+
const commandName = "EnableSnapshotBlockPublicAccessCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonEC2",
|
|
35
|
+
operation: "EnableSnapshotBlockPublicAccess",
|
|
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_EnableSnapshotBlockPublicAccessCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_EnableSnapshotBlockPublicAccessCommand(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_GetSnapshotBlockPublicAccessStateCommand, se_GetSnapshotBlockPublicAccessStateCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetSnapshotBlockPublicAccessStateCommand 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, GetSnapshotBlockPublicAccessStateCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "EC2Client";
|
|
26
|
+
const commandName = "GetSnapshotBlockPublicAccessStateCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonEC2",
|
|
35
|
+
operation: "GetSnapshotBlockPublicAccessState",
|
|
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_GetSnapshotBlockPublicAccessStateCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_GetSnapshotBlockPublicAccessStateCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -377,6 +377,7 @@ export * from "./DisableImageCommand";
|
|
|
377
377
|
export * from "./DisableImageDeprecationCommand";
|
|
378
378
|
export * from "./DisableIpamOrganizationAdminAccountCommand";
|
|
379
379
|
export * from "./DisableSerialConsoleAccessCommand";
|
|
380
|
+
export * from "./DisableSnapshotBlockPublicAccessCommand";
|
|
380
381
|
export * from "./DisableTransitGatewayRouteTablePropagationCommand";
|
|
381
382
|
export * from "./DisableVgwRoutePropagationCommand";
|
|
382
383
|
export * from "./DisableVpcClassicLinkCommand";
|
|
@@ -406,6 +407,7 @@ export * from "./EnableImageDeprecationCommand";
|
|
|
406
407
|
export * from "./EnableIpamOrganizationAdminAccountCommand";
|
|
407
408
|
export * from "./EnableReachabilityAnalyzerOrganizationSharingCommand";
|
|
408
409
|
export * from "./EnableSerialConsoleAccessCommand";
|
|
410
|
+
export * from "./EnableSnapshotBlockPublicAccessCommand";
|
|
409
411
|
export * from "./EnableTransitGatewayRouteTablePropagationCommand";
|
|
410
412
|
export * from "./EnableVgwRoutePropagationCommand";
|
|
411
413
|
export * from "./EnableVolumeIOCommand";
|
|
@@ -446,6 +448,7 @@ export * from "./GetPasswordDataCommand";
|
|
|
446
448
|
export * from "./GetReservedInstancesExchangeQuoteCommand";
|
|
447
449
|
export * from "./GetSecurityGroupsForVpcCommand";
|
|
448
450
|
export * from "./GetSerialConsoleAccessStatusCommand";
|
|
451
|
+
export * from "./GetSnapshotBlockPublicAccessStateCommand";
|
|
449
452
|
export * from "./GetSpotPlacementScoresCommand";
|
|
450
453
|
export * from "./GetSubnetCidrReservationsCommand";
|
|
451
454
|
export * from "./GetTransitGatewayAttachmentPropagationsCommand";
|
|
@@ -387,21 +387,6 @@ export const NetworkInterfacePermissionStateCode = {
|
|
|
387
387
|
revoked: "revoked",
|
|
388
388
|
revoking: "revoking",
|
|
389
389
|
};
|
|
390
|
-
export const SpreadLevel = {
|
|
391
|
-
host: "host",
|
|
392
|
-
rack: "rack",
|
|
393
|
-
};
|
|
394
|
-
export const PlacementStrategy = {
|
|
395
|
-
cluster: "cluster",
|
|
396
|
-
partition: "partition",
|
|
397
|
-
spread: "spread",
|
|
398
|
-
};
|
|
399
|
-
export const PlacementGroupState = {
|
|
400
|
-
available: "available",
|
|
401
|
-
deleted: "deleted",
|
|
402
|
-
deleting: "deleting",
|
|
403
|
-
pending: "pending",
|
|
404
|
-
};
|
|
405
390
|
export const KeyPairFilterSensitiveLog = (obj) => ({
|
|
406
391
|
...obj,
|
|
407
392
|
...(obj.KeyMaterial && { KeyMaterial: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const SpreadLevel = {
|
|
4
|
+
host: "host",
|
|
5
|
+
rack: "rack",
|
|
6
|
+
};
|
|
7
|
+
export const PlacementStrategy = {
|
|
8
|
+
cluster: "cluster",
|
|
9
|
+
partition: "partition",
|
|
10
|
+
spread: "spread",
|
|
11
|
+
};
|
|
12
|
+
export const PlacementGroupState = {
|
|
13
|
+
available: "available",
|
|
14
|
+
deleted: "deleted",
|
|
15
|
+
deleting: "deleting",
|
|
16
|
+
pending: "pending",
|
|
17
|
+
};
|
|
3
18
|
export const ReplaceRootVolumeTaskState = {
|
|
4
19
|
failed: "failed",
|
|
5
20
|
failed_detached: "failed-detached",
|
|
@@ -33,6 +33,11 @@ export const VpcAttributeName = {
|
|
|
33
33
|
export const ImageBlockPublicAccessDisabledState = {
|
|
34
34
|
unblocked: "unblocked",
|
|
35
35
|
};
|
|
36
|
+
export const SnapshotBlockPublicAccessState = {
|
|
37
|
+
block_all_sharing: "block-all-sharing",
|
|
38
|
+
block_new_sharing: "block-new-sharing",
|
|
39
|
+
unblocked: "unblocked",
|
|
40
|
+
};
|
|
36
41
|
export const TransitGatewayPropagationState = {
|
|
37
42
|
disabled: "disabled",
|
|
38
43
|
disabling: "disabling",
|
|
@@ -3793,6 +3793,16 @@ export const se_DisableSerialConsoleAccessCommand = async (input, context) => {
|
|
|
3793
3793
|
});
|
|
3794
3794
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
3795
3795
|
};
|
|
3796
|
+
export const se_DisableSnapshotBlockPublicAccessCommand = async (input, context) => {
|
|
3797
|
+
const headers = SHARED_HEADERS;
|
|
3798
|
+
let body;
|
|
3799
|
+
body = buildFormUrlencodedString({
|
|
3800
|
+
...se_DisableSnapshotBlockPublicAccessRequest(input, context),
|
|
3801
|
+
Action: "DisableSnapshotBlockPublicAccess",
|
|
3802
|
+
Version: "2016-11-15",
|
|
3803
|
+
});
|
|
3804
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
3805
|
+
};
|
|
3796
3806
|
export const se_DisableTransitGatewayRouteTablePropagationCommand = async (input, context) => {
|
|
3797
3807
|
const headers = SHARED_HEADERS;
|
|
3798
3808
|
let body;
|
|
@@ -4083,6 +4093,16 @@ export const se_EnableSerialConsoleAccessCommand = async (input, context) => {
|
|
|
4083
4093
|
});
|
|
4084
4094
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4085
4095
|
};
|
|
4096
|
+
export const se_EnableSnapshotBlockPublicAccessCommand = async (input, context) => {
|
|
4097
|
+
const headers = SHARED_HEADERS;
|
|
4098
|
+
let body;
|
|
4099
|
+
body = buildFormUrlencodedString({
|
|
4100
|
+
...se_EnableSnapshotBlockPublicAccessRequest(input, context),
|
|
4101
|
+
Action: "EnableSnapshotBlockPublicAccess",
|
|
4102
|
+
Version: "2016-11-15",
|
|
4103
|
+
});
|
|
4104
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4105
|
+
};
|
|
4086
4106
|
export const se_EnableTransitGatewayRouteTablePropagationCommand = async (input, context) => {
|
|
4087
4107
|
const headers = SHARED_HEADERS;
|
|
4088
4108
|
let body;
|
|
@@ -4483,6 +4503,16 @@ export const se_GetSerialConsoleAccessStatusCommand = async (input, context) =>
|
|
|
4483
4503
|
});
|
|
4484
4504
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4485
4505
|
};
|
|
4506
|
+
export const se_GetSnapshotBlockPublicAccessStateCommand = async (input, context) => {
|
|
4507
|
+
const headers = SHARED_HEADERS;
|
|
4508
|
+
let body;
|
|
4509
|
+
body = buildFormUrlencodedString({
|
|
4510
|
+
...se_GetSnapshotBlockPublicAccessStateRequest(input, context),
|
|
4511
|
+
Action: "GetSnapshotBlockPublicAccessState",
|
|
4512
|
+
Version: "2016-11-15",
|
|
4513
|
+
});
|
|
4514
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4515
|
+
};
|
|
4486
4516
|
export const se_GetSpotPlacementScoresCommand = async (input, context) => {
|
|
4487
4517
|
const headers = SHARED_HEADERS;
|
|
4488
4518
|
let body;
|
|
@@ -15787,6 +15817,32 @@ const de_DisableSerialConsoleAccessCommandError = async (output, context) => {
|
|
|
15787
15817
|
errorCode,
|
|
15788
15818
|
});
|
|
15789
15819
|
};
|
|
15820
|
+
export const de_DisableSnapshotBlockPublicAccessCommand = async (output, context) => {
|
|
15821
|
+
if (output.statusCode >= 300) {
|
|
15822
|
+
return de_DisableSnapshotBlockPublicAccessCommandError(output, context);
|
|
15823
|
+
}
|
|
15824
|
+
const data = await parseBody(output.body, context);
|
|
15825
|
+
let contents = {};
|
|
15826
|
+
contents = de_DisableSnapshotBlockPublicAccessResult(data, context);
|
|
15827
|
+
const response = {
|
|
15828
|
+
$metadata: deserializeMetadata(output),
|
|
15829
|
+
...contents,
|
|
15830
|
+
};
|
|
15831
|
+
return response;
|
|
15832
|
+
};
|
|
15833
|
+
const de_DisableSnapshotBlockPublicAccessCommandError = async (output, context) => {
|
|
15834
|
+
const parsedOutput = {
|
|
15835
|
+
...output,
|
|
15836
|
+
body: await parseErrorBody(output.body, context),
|
|
15837
|
+
};
|
|
15838
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
15839
|
+
const parsedBody = parsedOutput.body;
|
|
15840
|
+
return throwDefaultError({
|
|
15841
|
+
output,
|
|
15842
|
+
parsedBody: parsedBody.Errors.Error,
|
|
15843
|
+
errorCode,
|
|
15844
|
+
});
|
|
15845
|
+
};
|
|
15790
15846
|
export const de_DisableTransitGatewayRouteTablePropagationCommand = async (output, context) => {
|
|
15791
15847
|
if (output.statusCode >= 300) {
|
|
15792
15848
|
return de_DisableTransitGatewayRouteTablePropagationCommandError(output, context);
|
|
@@ -16532,6 +16588,32 @@ const de_EnableSerialConsoleAccessCommandError = async (output, context) => {
|
|
|
16532
16588
|
errorCode,
|
|
16533
16589
|
});
|
|
16534
16590
|
};
|
|
16591
|
+
export const de_EnableSnapshotBlockPublicAccessCommand = async (output, context) => {
|
|
16592
|
+
if (output.statusCode >= 300) {
|
|
16593
|
+
return de_EnableSnapshotBlockPublicAccessCommandError(output, context);
|
|
16594
|
+
}
|
|
16595
|
+
const data = await parseBody(output.body, context);
|
|
16596
|
+
let contents = {};
|
|
16597
|
+
contents = de_EnableSnapshotBlockPublicAccessResult(data, context);
|
|
16598
|
+
const response = {
|
|
16599
|
+
$metadata: deserializeMetadata(output),
|
|
16600
|
+
...contents,
|
|
16601
|
+
};
|
|
16602
|
+
return response;
|
|
16603
|
+
};
|
|
16604
|
+
const de_EnableSnapshotBlockPublicAccessCommandError = async (output, context) => {
|
|
16605
|
+
const parsedOutput = {
|
|
16606
|
+
...output,
|
|
16607
|
+
body: await parseErrorBody(output.body, context),
|
|
16608
|
+
};
|
|
16609
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
16610
|
+
const parsedBody = parsedOutput.body;
|
|
16611
|
+
return throwDefaultError({
|
|
16612
|
+
output,
|
|
16613
|
+
parsedBody: parsedBody.Errors.Error,
|
|
16614
|
+
errorCode,
|
|
16615
|
+
});
|
|
16616
|
+
};
|
|
16535
16617
|
export const de_EnableTransitGatewayRouteTablePropagationCommand = async (output, context) => {
|
|
16536
16618
|
if (output.statusCode >= 300) {
|
|
16537
16619
|
return de_EnableTransitGatewayRouteTablePropagationCommandError(output, context);
|
|
@@ -17566,6 +17648,32 @@ const de_GetSerialConsoleAccessStatusCommandError = async (output, context) => {
|
|
|
17566
17648
|
errorCode,
|
|
17567
17649
|
});
|
|
17568
17650
|
};
|
|
17651
|
+
export const de_GetSnapshotBlockPublicAccessStateCommand = async (output, context) => {
|
|
17652
|
+
if (output.statusCode >= 300) {
|
|
17653
|
+
return de_GetSnapshotBlockPublicAccessStateCommandError(output, context);
|
|
17654
|
+
}
|
|
17655
|
+
const data = await parseBody(output.body, context);
|
|
17656
|
+
let contents = {};
|
|
17657
|
+
contents = de_GetSnapshotBlockPublicAccessStateResult(data, context);
|
|
17658
|
+
const response = {
|
|
17659
|
+
$metadata: deserializeMetadata(output),
|
|
17660
|
+
...contents,
|
|
17661
|
+
};
|
|
17662
|
+
return response;
|
|
17663
|
+
};
|
|
17664
|
+
const de_GetSnapshotBlockPublicAccessStateCommandError = async (output, context) => {
|
|
17665
|
+
const parsedOutput = {
|
|
17666
|
+
...output,
|
|
17667
|
+
body: await parseErrorBody(output.body, context),
|
|
17668
|
+
};
|
|
17669
|
+
const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
|
|
17670
|
+
const parsedBody = parsedOutput.body;
|
|
17671
|
+
return throwDefaultError({
|
|
17672
|
+
output,
|
|
17673
|
+
parsedBody: parsedBody.Errors.Error,
|
|
17674
|
+
errorCode,
|
|
17675
|
+
});
|
|
17676
|
+
};
|
|
17569
17677
|
export const de_GetSpotPlacementScoresCommand = async (output, context) => {
|
|
17570
17678
|
if (output.statusCode >= 300) {
|
|
17571
17679
|
return de_GetSpotPlacementScoresCommandError(output, context);
|
|
@@ -32210,6 +32318,13 @@ const se_DisableSerialConsoleAccessRequest = (input, context) => {
|
|
|
32210
32318
|
}
|
|
32211
32319
|
return entries;
|
|
32212
32320
|
};
|
|
32321
|
+
const se_DisableSnapshotBlockPublicAccessRequest = (input, context) => {
|
|
32322
|
+
const entries = {};
|
|
32323
|
+
if (input.DryRun != null) {
|
|
32324
|
+
entries["DryRun"] = input.DryRun;
|
|
32325
|
+
}
|
|
32326
|
+
return entries;
|
|
32327
|
+
};
|
|
32213
32328
|
const se_DisableTransitGatewayRouteTablePropagationRequest = (input, context) => {
|
|
32214
32329
|
const entries = {};
|
|
32215
32330
|
if (input.TransitGatewayRouteTableId != null) {
|
|
@@ -32809,6 +32924,16 @@ const se_EnableSerialConsoleAccessRequest = (input, context) => {
|
|
|
32809
32924
|
}
|
|
32810
32925
|
return entries;
|
|
32811
32926
|
};
|
|
32927
|
+
const se_EnableSnapshotBlockPublicAccessRequest = (input, context) => {
|
|
32928
|
+
const entries = {};
|
|
32929
|
+
if (input.State != null) {
|
|
32930
|
+
entries["State"] = input.State;
|
|
32931
|
+
}
|
|
32932
|
+
if (input.DryRun != null) {
|
|
32933
|
+
entries["DryRun"] = input.DryRun;
|
|
32934
|
+
}
|
|
32935
|
+
return entries;
|
|
32936
|
+
};
|
|
32812
32937
|
const se_EnableTransitGatewayRouteTablePropagationRequest = (input, context) => {
|
|
32813
32938
|
const entries = {};
|
|
32814
32939
|
if (input.TransitGatewayRouteTableId != null) {
|
|
@@ -32879,6 +33004,20 @@ const se_EnaSrdSpecification = (input, context) => {
|
|
|
32879
33004
|
}
|
|
32880
33005
|
return entries;
|
|
32881
33006
|
};
|
|
33007
|
+
const se_EnaSrdSpecificationRequest = (input, context) => {
|
|
33008
|
+
const entries = {};
|
|
33009
|
+
if (input.EnaSrdEnabled != null) {
|
|
33010
|
+
entries["EnaSrdEnabled"] = input.EnaSrdEnabled;
|
|
33011
|
+
}
|
|
33012
|
+
if (input.EnaSrdUdpSpecification != null) {
|
|
33013
|
+
const memberEntries = se_EnaSrdUdpSpecificationRequest(input.EnaSrdUdpSpecification, context);
|
|
33014
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
33015
|
+
const loc = `EnaSrdUdpSpecification.${key}`;
|
|
33016
|
+
entries[loc] = value;
|
|
33017
|
+
});
|
|
33018
|
+
}
|
|
33019
|
+
return entries;
|
|
33020
|
+
};
|
|
32882
33021
|
const se_EnaSrdUdpSpecification = (input, context) => {
|
|
32883
33022
|
const entries = {};
|
|
32884
33023
|
if (input.EnaSrdUdpEnabled != null) {
|
|
@@ -32886,6 +33025,13 @@ const se_EnaSrdUdpSpecification = (input, context) => {
|
|
|
32886
33025
|
}
|
|
32887
33026
|
return entries;
|
|
32888
33027
|
};
|
|
33028
|
+
const se_EnaSrdUdpSpecificationRequest = (input, context) => {
|
|
33029
|
+
const entries = {};
|
|
33030
|
+
if (input.EnaSrdUdpEnabled != null) {
|
|
33031
|
+
entries["EnaSrdUdpEnabled"] = input.EnaSrdUdpEnabled;
|
|
33032
|
+
}
|
|
33033
|
+
return entries;
|
|
33034
|
+
};
|
|
32889
33035
|
const se_EnclaveOptionsRequest = (input, context) => {
|
|
32890
33036
|
const entries = {};
|
|
32891
33037
|
if (input.Enabled != null) {
|
|
@@ -33895,6 +34041,13 @@ const se_GetSerialConsoleAccessStatusRequest = (input, context) => {
|
|
|
33895
34041
|
}
|
|
33896
34042
|
return entries;
|
|
33897
34043
|
};
|
|
34044
|
+
const se_GetSnapshotBlockPublicAccessStateRequest = (input, context) => {
|
|
34045
|
+
const entries = {};
|
|
34046
|
+
if (input.DryRun != null) {
|
|
34047
|
+
entries["DryRun"] = input.DryRun;
|
|
34048
|
+
}
|
|
34049
|
+
return entries;
|
|
34050
|
+
};
|
|
33898
34051
|
const se_GetSpotPlacementScoresRequest = (input, context) => {
|
|
33899
34052
|
const entries = {};
|
|
33900
34053
|
if (input.InstanceTypes != null) {
|
|
@@ -35125,6 +35278,13 @@ const se_InstanceNetworkInterfaceSpecification = (input, context) => {
|
|
|
35125
35278
|
if (input.PrimaryIpv6 != null) {
|
|
35126
35279
|
entries["PrimaryIpv6"] = input.PrimaryIpv6;
|
|
35127
35280
|
}
|
|
35281
|
+
if (input.EnaSrdSpecification != null) {
|
|
35282
|
+
const memberEntries = se_EnaSrdSpecificationRequest(input.EnaSrdSpecification, context);
|
|
35283
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
35284
|
+
const loc = `EnaSrdSpecification.${key}`;
|
|
35285
|
+
entries[loc] = value;
|
|
35286
|
+
});
|
|
35287
|
+
}
|
|
35128
35288
|
return entries;
|
|
35129
35289
|
};
|
|
35130
35290
|
const se_InstanceNetworkInterfaceSpecificationList = (input, context) => {
|
|
@@ -36235,6 +36395,13 @@ const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = (input, co
|
|
|
36235
36395
|
if (input.PrimaryIpv6 != null) {
|
|
36236
36396
|
entries["PrimaryIpv6"] = input.PrimaryIpv6;
|
|
36237
36397
|
}
|
|
36398
|
+
if (input.EnaSrdSpecification != null) {
|
|
36399
|
+
const memberEntries = se_EnaSrdSpecificationRequest(input.EnaSrdSpecification, context);
|
|
36400
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
36401
|
+
const loc = `EnaSrdSpecification.${key}`;
|
|
36402
|
+
entries[loc] = value;
|
|
36403
|
+
});
|
|
36404
|
+
}
|
|
36238
36405
|
return entries;
|
|
36239
36406
|
};
|
|
36240
36407
|
const se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = (input, context) => {
|
|
@@ -50226,6 +50393,13 @@ const de_DisableSerialConsoleAccessResult = (output, context) => {
|
|
|
50226
50393
|
}
|
|
50227
50394
|
return contents;
|
|
50228
50395
|
};
|
|
50396
|
+
const de_DisableSnapshotBlockPublicAccessResult = (output, context) => {
|
|
50397
|
+
const contents = {};
|
|
50398
|
+
if (output["state"] !== undefined) {
|
|
50399
|
+
contents.State = __expectString(output["state"]);
|
|
50400
|
+
}
|
|
50401
|
+
return contents;
|
|
50402
|
+
};
|
|
50229
50403
|
const de_DisableTransitGatewayRouteTablePropagationResult = (output, context) => {
|
|
50230
50404
|
const contents = {};
|
|
50231
50405
|
if (output["propagation"] !== undefined) {
|
|
@@ -50905,6 +51079,13 @@ const de_EnableSerialConsoleAccessResult = (output, context) => {
|
|
|
50905
51079
|
}
|
|
50906
51080
|
return contents;
|
|
50907
51081
|
};
|
|
51082
|
+
const de_EnableSnapshotBlockPublicAccessResult = (output, context) => {
|
|
51083
|
+
const contents = {};
|
|
51084
|
+
if (output["state"] !== undefined) {
|
|
51085
|
+
contents.State = __expectString(output["state"]);
|
|
51086
|
+
}
|
|
51087
|
+
return contents;
|
|
51088
|
+
};
|
|
50908
51089
|
const de_EnableTransitGatewayRouteTablePropagationResult = (output, context) => {
|
|
50909
51090
|
const contents = {};
|
|
50910
51091
|
if (output["propagation"] !== undefined) {
|
|
@@ -50926,6 +51107,23 @@ const de_EnableVpcClassicLinkResult = (output, context) => {
|
|
|
50926
51107
|
}
|
|
50927
51108
|
return contents;
|
|
50928
51109
|
};
|
|
51110
|
+
const de_EnaSrdSpecificationRequest = (output, context) => {
|
|
51111
|
+
const contents = {};
|
|
51112
|
+
if (output["EnaSrdEnabled"] !== undefined) {
|
|
51113
|
+
contents.EnaSrdEnabled = __parseBoolean(output["EnaSrdEnabled"]);
|
|
51114
|
+
}
|
|
51115
|
+
if (output["EnaSrdUdpSpecification"] !== undefined) {
|
|
51116
|
+
contents.EnaSrdUdpSpecification = de_EnaSrdUdpSpecificationRequest(output["EnaSrdUdpSpecification"], context);
|
|
51117
|
+
}
|
|
51118
|
+
return contents;
|
|
51119
|
+
};
|
|
51120
|
+
const de_EnaSrdUdpSpecificationRequest = (output, context) => {
|
|
51121
|
+
const contents = {};
|
|
51122
|
+
if (output["EnaSrdUdpEnabled"] !== undefined) {
|
|
51123
|
+
contents.EnaSrdUdpEnabled = __parseBoolean(output["EnaSrdUdpEnabled"]);
|
|
51124
|
+
}
|
|
51125
|
+
return contents;
|
|
51126
|
+
};
|
|
50929
51127
|
const de_EnclaveOptions = (output, context) => {
|
|
50930
51128
|
const contents = {};
|
|
50931
51129
|
if (output["enabled"] !== undefined) {
|
|
@@ -52311,6 +52509,13 @@ const de_GetSerialConsoleAccessStatusResult = (output, context) => {
|
|
|
52311
52509
|
}
|
|
52312
52510
|
return contents;
|
|
52313
52511
|
};
|
|
52512
|
+
const de_GetSnapshotBlockPublicAccessStateResult = (output, context) => {
|
|
52513
|
+
const contents = {};
|
|
52514
|
+
if (output["state"] !== undefined) {
|
|
52515
|
+
contents.State = __expectString(output["state"]);
|
|
52516
|
+
}
|
|
52517
|
+
return contents;
|
|
52518
|
+
};
|
|
52314
52519
|
const de_GetSpotPlacementScoresResult = (output, context) => {
|
|
52315
52520
|
const contents = {};
|
|
52316
52521
|
if (output.spotPlacementScoreSet === "") {
|
|
@@ -53662,6 +53867,23 @@ const de_Instance = (output, context) => {
|
|
|
53662
53867
|
}
|
|
53663
53868
|
return contents;
|
|
53664
53869
|
};
|
|
53870
|
+
const de_InstanceAttachmentEnaSrdSpecification = (output, context) => {
|
|
53871
|
+
const contents = {};
|
|
53872
|
+
if (output["enaSrdEnabled"] !== undefined) {
|
|
53873
|
+
contents.EnaSrdEnabled = __parseBoolean(output["enaSrdEnabled"]);
|
|
53874
|
+
}
|
|
53875
|
+
if (output["enaSrdUdpSpecification"] !== undefined) {
|
|
53876
|
+
contents.EnaSrdUdpSpecification = de_InstanceAttachmentEnaSrdUdpSpecification(output["enaSrdUdpSpecification"], context);
|
|
53877
|
+
}
|
|
53878
|
+
return contents;
|
|
53879
|
+
};
|
|
53880
|
+
const de_InstanceAttachmentEnaSrdUdpSpecification = (output, context) => {
|
|
53881
|
+
const contents = {};
|
|
53882
|
+
if (output["enaSrdUdpEnabled"] !== undefined) {
|
|
53883
|
+
contents.EnaSrdUdpEnabled = __parseBoolean(output["enaSrdUdpEnabled"]);
|
|
53884
|
+
}
|
|
53885
|
+
return contents;
|
|
53886
|
+
};
|
|
53665
53887
|
const de_InstanceAttribute = (output, context) => {
|
|
53666
53888
|
const contents = {};
|
|
53667
53889
|
if (output.groupSet === "") {
|
|
@@ -54148,6 +54370,9 @@ const de_InstanceNetworkInterfaceAttachment = (output, context) => {
|
|
|
54148
54370
|
if (output["networkCardIndex"] !== undefined) {
|
|
54149
54371
|
contents.NetworkCardIndex = __strictParseInt32(output["networkCardIndex"]);
|
|
54150
54372
|
}
|
|
54373
|
+
if (output["enaSrdSpecification"] !== undefined) {
|
|
54374
|
+
contents.EnaSrdSpecification = de_InstanceAttachmentEnaSrdSpecification(output["enaSrdSpecification"], context);
|
|
54375
|
+
}
|
|
54151
54376
|
return contents;
|
|
54152
54377
|
};
|
|
54153
54378
|
const de_InstanceNetworkInterfaceList = (output, context) => {
|
|
@@ -54234,6 +54459,9 @@ const de_InstanceNetworkInterfaceSpecification = (output, context) => {
|
|
|
54234
54459
|
if (output["PrimaryIpv6"] !== undefined) {
|
|
54235
54460
|
contents.PrimaryIpv6 = __parseBoolean(output["PrimaryIpv6"]);
|
|
54236
54461
|
}
|
|
54462
|
+
if (output["EnaSrdSpecification"] !== undefined) {
|
|
54463
|
+
contents.EnaSrdSpecification = de_EnaSrdSpecificationRequest(output["EnaSrdSpecification"], context);
|
|
54464
|
+
}
|
|
54237
54465
|
return contents;
|
|
54238
54466
|
};
|
|
54239
54467
|
const de_InstanceNetworkInterfaceSpecificationList = (output, context) => {
|
|
@@ -55861,6 +56089,23 @@ const de_LaunchTemplateElasticInferenceAcceleratorResponseList = (output, contex
|
|
|
55861
56089
|
return de_LaunchTemplateElasticInferenceAcceleratorResponse(entry, context);
|
|
55862
56090
|
});
|
|
55863
56091
|
};
|
|
56092
|
+
const de_LaunchTemplateEnaSrdSpecification = (output, context) => {
|
|
56093
|
+
const contents = {};
|
|
56094
|
+
if (output["enaSrdEnabled"] !== undefined) {
|
|
56095
|
+
contents.EnaSrdEnabled = __parseBoolean(output["enaSrdEnabled"]);
|
|
56096
|
+
}
|
|
56097
|
+
if (output["enaSrdUdpSpecification"] !== undefined) {
|
|
56098
|
+
contents.EnaSrdUdpSpecification = de_LaunchTemplateEnaSrdUdpSpecification(output["enaSrdUdpSpecification"], context);
|
|
56099
|
+
}
|
|
56100
|
+
return contents;
|
|
56101
|
+
};
|
|
56102
|
+
const de_LaunchTemplateEnaSrdUdpSpecification = (output, context) => {
|
|
56103
|
+
const contents = {};
|
|
56104
|
+
if (output["enaSrdUdpEnabled"] !== undefined) {
|
|
56105
|
+
contents.EnaSrdUdpEnabled = __parseBoolean(output["enaSrdUdpEnabled"]);
|
|
56106
|
+
}
|
|
56107
|
+
return contents;
|
|
56108
|
+
};
|
|
55864
56109
|
const de_LaunchTemplateEnclaveOptions = (output, context) => {
|
|
55865
56110
|
const contents = {};
|
|
55866
56111
|
if (output["enabled"] !== undefined) {
|
|
@@ -56001,6 +56246,9 @@ const de_LaunchTemplateInstanceNetworkInterfaceSpecification = (output, context)
|
|
|
56001
56246
|
if (output["primaryIpv6"] !== undefined) {
|
|
56002
56247
|
contents.PrimaryIpv6 = __parseBoolean(output["primaryIpv6"]);
|
|
56003
56248
|
}
|
|
56249
|
+
if (output["enaSrdSpecification"] !== undefined) {
|
|
56250
|
+
contents.EnaSrdSpecification = de_LaunchTemplateEnaSrdSpecification(output["enaSrdSpecification"], context);
|
|
56251
|
+
}
|
|
56004
56252
|
return contents;
|
|
56005
56253
|
};
|
|
56006
56254
|
const de_LaunchTemplateInstanceNetworkInterfaceSpecificationList = (output, context) => {
|