@aws-sdk/client-ec2 3.410.0 → 3.413.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/DisableImageBlockPublicAccessCommand.js +46 -0
- package/dist-cjs/commands/EnableImageBlockPublicAccessCommand.js +46 -0
- package/dist-cjs/commands/GetImageBlockPublicAccessStateCommand.js +46 -0
- package/dist-cjs/commands/GetVpnConnectionDeviceSampleConfigurationCommand.js +2 -2
- package/dist-cjs/commands/RunInstancesCommand.js +2 -2
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_5.js +7 -6
- package/dist-cjs/models/models_6.js +6 -6
- package/dist-cjs/models/models_7.js +6 -1
- package/dist-cjs/protocols/Aws_ec2.js +176 -17
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/DisableImageBlockPublicAccessCommand.js +42 -0
- package/dist-es/commands/EnableImageBlockPublicAccessCommand.js +42 -0
- package/dist-es/commands/GetImageBlockPublicAccessStateCommand.js +42 -0
- package/dist-es/commands/GetVpnConnectionDeviceSampleConfigurationCommand.js +1 -1
- package/dist-es/commands/RunInstancesCommand.js +1 -1
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_5.js +6 -4
- package/dist-es/models/models_6.js +4 -4
- package/dist-es/models/models_7.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +153 -0
- package/dist-types/EC2.d.ts +21 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +82 -0
- package/dist-types/commands/EnableImageBlockPublicAccessCommand.d.ts +82 -0
- package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +76 -0
- package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetVpnConnectionDeviceTypesCommand.d.ts +1 -1
- package/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_5.d.ts +111 -204
- package/dist-types/models/models_6.d.ts +203 -585
- package/dist-types/models/models_7.d.ts +590 -4
- 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/DisableImageBlockPublicAccessCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/EnableImageBlockPublicAccessCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetVpnConnectionDeviceTypesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_5.d.ts +32 -45
- package/dist-types/ts3.4/models/models_6.d.ts +45 -85
- package/dist-types/ts3.4/models/models_7.d.ts +109 -4
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +30 -30
package/README.md
CHANGED
|
@@ -3212,6 +3212,14 @@ DisableFastSnapshotRestores
|
|
|
3212
3212
|
|
|
3213
3213
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/classes/disablefastsnapshotrestorescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/disablefastsnapshotrestorescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/disablefastsnapshotrestorescommandoutput.html)
|
|
3214
3214
|
|
|
3215
|
+
</details>
|
|
3216
|
+
<details>
|
|
3217
|
+
<summary>
|
|
3218
|
+
DisableImageBlockPublicAccess
|
|
3219
|
+
</summary>
|
|
3220
|
+
|
|
3221
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/classes/disableimageblockpublicaccesscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/disableimageblockpublicaccesscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/disableimageblockpublicaccesscommandoutput.html)
|
|
3222
|
+
|
|
3215
3223
|
</details>
|
|
3216
3224
|
<details>
|
|
3217
3225
|
<summary>
|
|
@@ -3420,6 +3428,14 @@ EnableFastSnapshotRestores
|
|
|
3420
3428
|
|
|
3421
3429
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/classes/enablefastsnapshotrestorescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/enablefastsnapshotrestorescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/enablefastsnapshotrestorescommandoutput.html)
|
|
3422
3430
|
|
|
3431
|
+
</details>
|
|
3432
|
+
<details>
|
|
3433
|
+
<summary>
|
|
3434
|
+
EnableImageBlockPublicAccess
|
|
3435
|
+
</summary>
|
|
3436
|
+
|
|
3437
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/classes/enableimageblockpublicaccesscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/enableimageblockpublicaccesscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/enableimageblockpublicaccesscommandoutput.html)
|
|
3438
|
+
|
|
3423
3439
|
</details>
|
|
3424
3440
|
<details>
|
|
3425
3441
|
<summary>
|
|
@@ -3628,6 +3644,14 @@ GetHostReservationPurchasePreview
|
|
|
3628
3644
|
|
|
3629
3645
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/classes/gethostreservationpurchasepreviewcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/gethostreservationpurchasepreviewcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/gethostreservationpurchasepreviewcommandoutput.html)
|
|
3630
3646
|
|
|
3647
|
+
</details>
|
|
3648
|
+
<details>
|
|
3649
|
+
<summary>
|
|
3650
|
+
GetImageBlockPublicAccessState
|
|
3651
|
+
</summary>
|
|
3652
|
+
|
|
3653
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/classes/getimageblockpublicaccessstatecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/getimageblockpublicaccessstatecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/getimageblockpublicaccessstatecommandoutput.html)
|
|
3654
|
+
|
|
3631
3655
|
</details>
|
|
3632
3656
|
<details>
|
|
3633
3657
|
<summary>
|
package/dist-cjs/EC2.js
CHANGED
|
@@ -375,6 +375,7 @@ const DisableAwsNetworkPerformanceMetricSubscriptionCommand_1 = require("./comma
|
|
|
375
375
|
const DisableEbsEncryptionByDefaultCommand_1 = require("./commands/DisableEbsEncryptionByDefaultCommand");
|
|
376
376
|
const DisableFastLaunchCommand_1 = require("./commands/DisableFastLaunchCommand");
|
|
377
377
|
const DisableFastSnapshotRestoresCommand_1 = require("./commands/DisableFastSnapshotRestoresCommand");
|
|
378
|
+
const DisableImageBlockPublicAccessCommand_1 = require("./commands/DisableImageBlockPublicAccessCommand");
|
|
378
379
|
const DisableImageDeprecationCommand_1 = require("./commands/DisableImageDeprecationCommand");
|
|
379
380
|
const DisableIpamOrganizationAdminAccountCommand_1 = require("./commands/DisableIpamOrganizationAdminAccountCommand");
|
|
380
381
|
const DisableSerialConsoleAccessCommand_1 = require("./commands/DisableSerialConsoleAccessCommand");
|
|
@@ -401,6 +402,7 @@ const EnableAwsNetworkPerformanceMetricSubscriptionCommand_1 = require("./comman
|
|
|
401
402
|
const EnableEbsEncryptionByDefaultCommand_1 = require("./commands/EnableEbsEncryptionByDefaultCommand");
|
|
402
403
|
const EnableFastLaunchCommand_1 = require("./commands/EnableFastLaunchCommand");
|
|
403
404
|
const EnableFastSnapshotRestoresCommand_1 = require("./commands/EnableFastSnapshotRestoresCommand");
|
|
405
|
+
const EnableImageBlockPublicAccessCommand_1 = require("./commands/EnableImageBlockPublicAccessCommand");
|
|
404
406
|
const EnableImageDeprecationCommand_1 = require("./commands/EnableImageDeprecationCommand");
|
|
405
407
|
const EnableIpamOrganizationAdminAccountCommand_1 = require("./commands/EnableIpamOrganizationAdminAccountCommand");
|
|
406
408
|
const EnableReachabilityAnalyzerOrganizationSharingCommand_1 = require("./commands/EnableReachabilityAnalyzerOrganizationSharingCommand");
|
|
@@ -427,6 +429,7 @@ const GetEbsEncryptionByDefaultCommand_1 = require("./commands/GetEbsEncryptionB
|
|
|
427
429
|
const GetFlowLogsIntegrationTemplateCommand_1 = require("./commands/GetFlowLogsIntegrationTemplateCommand");
|
|
428
430
|
const GetGroupsForCapacityReservationCommand_1 = require("./commands/GetGroupsForCapacityReservationCommand");
|
|
429
431
|
const GetHostReservationPurchasePreviewCommand_1 = require("./commands/GetHostReservationPurchasePreviewCommand");
|
|
432
|
+
const GetImageBlockPublicAccessStateCommand_1 = require("./commands/GetImageBlockPublicAccessStateCommand");
|
|
430
433
|
const GetInstanceTypesFromInstanceRequirementsCommand_1 = require("./commands/GetInstanceTypesFromInstanceRequirementsCommand");
|
|
431
434
|
const GetInstanceUefiDataCommand_1 = require("./commands/GetInstanceUefiDataCommand");
|
|
432
435
|
const GetIpamAddressHistoryCommand_1 = require("./commands/GetIpamAddressHistoryCommand");
|
|
@@ -971,6 +974,7 @@ const commands = {
|
|
|
971
974
|
DisableEbsEncryptionByDefaultCommand: DisableEbsEncryptionByDefaultCommand_1.DisableEbsEncryptionByDefaultCommand,
|
|
972
975
|
DisableFastLaunchCommand: DisableFastLaunchCommand_1.DisableFastLaunchCommand,
|
|
973
976
|
DisableFastSnapshotRestoresCommand: DisableFastSnapshotRestoresCommand_1.DisableFastSnapshotRestoresCommand,
|
|
977
|
+
DisableImageBlockPublicAccessCommand: DisableImageBlockPublicAccessCommand_1.DisableImageBlockPublicAccessCommand,
|
|
974
978
|
DisableImageDeprecationCommand: DisableImageDeprecationCommand_1.DisableImageDeprecationCommand,
|
|
975
979
|
DisableIpamOrganizationAdminAccountCommand: DisableIpamOrganizationAdminAccountCommand_1.DisableIpamOrganizationAdminAccountCommand,
|
|
976
980
|
DisableSerialConsoleAccessCommand: DisableSerialConsoleAccessCommand_1.DisableSerialConsoleAccessCommand,
|
|
@@ -997,6 +1001,7 @@ const commands = {
|
|
|
997
1001
|
EnableEbsEncryptionByDefaultCommand: EnableEbsEncryptionByDefaultCommand_1.EnableEbsEncryptionByDefaultCommand,
|
|
998
1002
|
EnableFastLaunchCommand: EnableFastLaunchCommand_1.EnableFastLaunchCommand,
|
|
999
1003
|
EnableFastSnapshotRestoresCommand: EnableFastSnapshotRestoresCommand_1.EnableFastSnapshotRestoresCommand,
|
|
1004
|
+
EnableImageBlockPublicAccessCommand: EnableImageBlockPublicAccessCommand_1.EnableImageBlockPublicAccessCommand,
|
|
1000
1005
|
EnableImageDeprecationCommand: EnableImageDeprecationCommand_1.EnableImageDeprecationCommand,
|
|
1001
1006
|
EnableIpamOrganizationAdminAccountCommand: EnableIpamOrganizationAdminAccountCommand_1.EnableIpamOrganizationAdminAccountCommand,
|
|
1002
1007
|
EnableReachabilityAnalyzerOrganizationSharingCommand: EnableReachabilityAnalyzerOrganizationSharingCommand_1.EnableReachabilityAnalyzerOrganizationSharingCommand,
|
|
@@ -1023,6 +1028,7 @@ const commands = {
|
|
|
1023
1028
|
GetFlowLogsIntegrationTemplateCommand: GetFlowLogsIntegrationTemplateCommand_1.GetFlowLogsIntegrationTemplateCommand,
|
|
1024
1029
|
GetGroupsForCapacityReservationCommand: GetGroupsForCapacityReservationCommand_1.GetGroupsForCapacityReservationCommand,
|
|
1025
1030
|
GetHostReservationPurchasePreviewCommand: GetHostReservationPurchasePreviewCommand_1.GetHostReservationPurchasePreviewCommand,
|
|
1031
|
+
GetImageBlockPublicAccessStateCommand: GetImageBlockPublicAccessStateCommand_1.GetImageBlockPublicAccessStateCommand,
|
|
1026
1032
|
GetInstanceTypesFromInstanceRequirementsCommand: GetInstanceTypesFromInstanceRequirementsCommand_1.GetInstanceTypesFromInstanceRequirementsCommand,
|
|
1027
1033
|
GetInstanceUefiDataCommand: GetInstanceUefiDataCommand_1.GetInstanceUefiDataCommand,
|
|
1028
1034
|
GetIpamAddressHistoryCommand: GetIpamAddressHistoryCommand_1.GetIpamAddressHistoryCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisableImageBlockPublicAccessCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
|
+
class DisableImageBlockPublicAccessCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisableImageBlockPublicAccessCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "EC2Client";
|
|
28
|
+
const commandName = "DisableImageBlockPublicAccessCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_ec2_1.se_DisableImageBlockPublicAccessCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_ec2_1.de_DisableImageBlockPublicAccessCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DisableImageBlockPublicAccessCommand = DisableImageBlockPublicAccessCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EnableImageBlockPublicAccessCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
|
+
class EnableImageBlockPublicAccessCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, EnableImageBlockPublicAccessCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "EC2Client";
|
|
28
|
+
const commandName = "EnableImageBlockPublicAccessCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_ec2_1.se_EnableImageBlockPublicAccessCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_ec2_1.de_EnableImageBlockPublicAccessCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.EnableImageBlockPublicAccessCommand = EnableImageBlockPublicAccessCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetImageBlockPublicAccessStateCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
9
|
+
class GetImageBlockPublicAccessStateCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetImageBlockPublicAccessStateCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "EC2Client";
|
|
28
|
+
const commandName = "GetImageBlockPublicAccessStateCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_ec2_1.se_GetImageBlockPublicAccessStateCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_ec2_1.de_GetImageBlockPublicAccessStateCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetImageBlockPublicAccessStateCommand = GetImageBlockPublicAccessStateCommand;
|
|
@@ -5,7 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const models_6_1 = require("../models/models_6");
|
|
9
9
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
10
10
|
class GetVpnConnectionDeviceSampleConfigurationCommand extends smithy_client_1.Command {
|
|
11
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,7 +32,7 @@ class GetVpnConnectionDeviceSampleConfigurationCommand extends smithy_client_1.C
|
|
|
32
32
|
clientName,
|
|
33
33
|
commandName,
|
|
34
34
|
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_6_1.GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog,
|
|
36
36
|
};
|
|
37
37
|
const { requestHandler } = configuration;
|
|
38
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,7 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const models_7_1 = require("../models/models_7");
|
|
9
9
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
10
10
|
class RunInstancesCommand extends smithy_client_1.Command {
|
|
11
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +31,7 @@ class RunInstancesCommand extends smithy_client_1.Command {
|
|
|
31
31
|
logger,
|
|
32
32
|
clientName,
|
|
33
33
|
commandName,
|
|
34
|
-
inputFilterSensitiveLog:
|
|
34
|
+
inputFilterSensitiveLog: models_7_1.RunInstancesRequestFilterSensitiveLog,
|
|
35
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
36
|
};
|
|
37
37
|
const { requestHandler } = configuration;
|
|
@@ -374,6 +374,7 @@ tslib_1.__exportStar(require("./DisableAwsNetworkPerformanceMetricSubscriptionCo
|
|
|
374
374
|
tslib_1.__exportStar(require("./DisableEbsEncryptionByDefaultCommand"), exports);
|
|
375
375
|
tslib_1.__exportStar(require("./DisableFastLaunchCommand"), exports);
|
|
376
376
|
tslib_1.__exportStar(require("./DisableFastSnapshotRestoresCommand"), exports);
|
|
377
|
+
tslib_1.__exportStar(require("./DisableImageBlockPublicAccessCommand"), exports);
|
|
377
378
|
tslib_1.__exportStar(require("./DisableImageDeprecationCommand"), exports);
|
|
378
379
|
tslib_1.__exportStar(require("./DisableIpamOrganizationAdminAccountCommand"), exports);
|
|
379
380
|
tslib_1.__exportStar(require("./DisableSerialConsoleAccessCommand"), exports);
|
|
@@ -400,6 +401,7 @@ tslib_1.__exportStar(require("./EnableAwsNetworkPerformanceMetricSubscriptionCom
|
|
|
400
401
|
tslib_1.__exportStar(require("./EnableEbsEncryptionByDefaultCommand"), exports);
|
|
401
402
|
tslib_1.__exportStar(require("./EnableFastLaunchCommand"), exports);
|
|
402
403
|
tslib_1.__exportStar(require("./EnableFastSnapshotRestoresCommand"), exports);
|
|
404
|
+
tslib_1.__exportStar(require("./EnableImageBlockPublicAccessCommand"), exports);
|
|
403
405
|
tslib_1.__exportStar(require("./EnableImageDeprecationCommand"), exports);
|
|
404
406
|
tslib_1.__exportStar(require("./EnableIpamOrganizationAdminAccountCommand"), exports);
|
|
405
407
|
tslib_1.__exportStar(require("./EnableReachabilityAnalyzerOrganizationSharingCommand"), exports);
|
|
@@ -426,6 +428,7 @@ tslib_1.__exportStar(require("./GetEbsEncryptionByDefaultCommand"), exports);
|
|
|
426
428
|
tslib_1.__exportStar(require("./GetFlowLogsIntegrationTemplateCommand"), exports);
|
|
427
429
|
tslib_1.__exportStar(require("./GetGroupsForCapacityReservationCommand"), exports);
|
|
428
430
|
tslib_1.__exportStar(require("./GetHostReservationPurchasePreviewCommand"), exports);
|
|
431
|
+
tslib_1.__exportStar(require("./GetImageBlockPublicAccessStateCommand"), exports);
|
|
429
432
|
tslib_1.__exportStar(require("./GetInstanceTypesFromInstanceRequirementsCommand"), exports);
|
|
430
433
|
tslib_1.__exportStar(require("./GetInstanceUefiDataCommand"), exports);
|
|
431
434
|
tslib_1.__exportStar(require("./GetIpamAddressHistoryCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetPasswordDataResultFilterSensitiveLog = exports.GetLaunchTemplateDataResultFilterSensitiveLog = exports.DetachVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.DescribeVpnConnectionsResultFilterSensitiveLog = exports.DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = exports.IpamManagementState = exports.IpamResourceType = exports.IpamDiscoveryFailureCode = exports.IpamAddressHistoryResourceType = exports.IpamOverlapStatus = exports.IpamComplianceStatus = exports.PartitionLoadFrequency = exports.UnlimitedSupportedInstanceFamily = exports.ClientCertificateRevocationListStatusCode = exports.ImageBlockPublicAccessEnabledState = exports.TransitGatewayPropagationState = exports.ImageBlockPublicAccessDisabledState = exports.VpcAttributeName = exports.VolumeStatusInfoStatus = exports.VolumeStatusName = exports.VolumeModificationState = exports.VolumeAttributeName = exports.VerifiedAccessLogDeliveryStatusCode = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const models_0_1 = require("./models_0");
|
|
6
6
|
const models_1_1 = require("./models_1");
|
|
@@ -33,12 +33,18 @@ exports.VpcAttributeName = {
|
|
|
33
33
|
enableDnsSupport: "enableDnsSupport",
|
|
34
34
|
enableNetworkAddressUsageMetrics: "enableNetworkAddressUsageMetrics",
|
|
35
35
|
};
|
|
36
|
+
exports.ImageBlockPublicAccessDisabledState = {
|
|
37
|
+
unblocked: "unblocked",
|
|
38
|
+
};
|
|
36
39
|
exports.TransitGatewayPropagationState = {
|
|
37
40
|
disabled: "disabled",
|
|
38
41
|
disabling: "disabling",
|
|
39
42
|
enabled: "enabled",
|
|
40
43
|
enabling: "enabling",
|
|
41
44
|
};
|
|
45
|
+
exports.ImageBlockPublicAccessEnabledState = {
|
|
46
|
+
block_new_sharing: "block-new-sharing",
|
|
47
|
+
};
|
|
42
48
|
exports.ClientCertificateRevocationListStatusCode = {
|
|
43
49
|
active: "active",
|
|
44
50
|
pending: "pending",
|
|
@@ -123,8 +129,3 @@ const GetPasswordDataResultFilterSensitiveLog = (obj) => ({
|
|
|
123
129
|
...(obj.PasswordData && { PasswordData: smithy_client_1.SENSITIVE_STRING }),
|
|
124
130
|
});
|
|
125
131
|
exports.GetPasswordDataResultFilterSensitiveLog = GetPasswordDataResultFilterSensitiveLog;
|
|
126
|
-
const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = (obj) => ({
|
|
127
|
-
...obj,
|
|
128
|
-
...(obj.VpnConnectionDeviceSampleConfiguration && { VpnConnectionDeviceSampleConfiguration: smithy_client_1.SENSITIVE_STRING }),
|
|
129
|
-
});
|
|
130
|
-
exports.GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.RequestSpotInstancesResultFilterSensitiveLog = exports.RequestSpotInstancesRequestFilterSensitiveLog = exports.RequestSpotLaunchSpecificationFilterSensitiveLog = exports.RequestSpotFleetRequestFilterSensitiveLog = exports.ModifyVpnTunnelOptionsResultFilterSensitiveLog = exports.ModifyVpnTunnelOptionsRequestFilterSensitiveLog = exports.ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog = exports.ModifyVpnTunnelCertificateResultFilterSensitiveLog = exports.ModifyVpnConnectionOptionsResultFilterSensitiveLog = exports.ModifyVpnConnectionResultFilterSensitiveLog = exports.ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog = exports.ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog = exports.ImportVolumeResultFilterSensitiveLog = exports.ImportVolumeRequestFilterSensitiveLog = exports.ImportSnapshotResultFilterSensitiveLog = exports.ImportSnapshotRequestFilterSensitiveLog = exports.SnapshotDiskContainerFilterSensitiveLog = exports.ImportInstanceResultFilterSensitiveLog = exports.ImportInstanceRequestFilterSensitiveLog = exports.ImportInstanceLaunchSpecificationFilterSensitiveLog = exports.UserDataFilterSensitiveLog = exports.DiskImageFilterSensitiveLog = exports.DiskImageDetailFilterSensitiveLog = exports.ImportImageResultFilterSensitiveLog = exports.ImportImageRequestFilterSensitiveLog = exports.ImageDiskContainerFilterSensitiveLog = exports.GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = exports.ResetImageAttributeName = exports.ResetFpgaImageAttributeName = exports.ReportStatusType = exports.ReportInstanceReasonCodes = exports.Status = exports.VpcTenancy = exports.TrafficMirrorSessionField = exports.TrafficMirrorFilterRuleField = exports.TargetStorageTier = exports.HostTenancy = exports.UnsuccessfulInstanceCreditSpecificationErrorCode = exports.OperationType = exports.ModifyAvailabilityZoneOptInStatus = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const models_0_1 = require("./models_0");
|
|
6
6
|
const models_2_1 = require("./models_2");
|
|
@@ -67,6 +67,11 @@ exports.ResetFpgaImageAttributeName = {
|
|
|
67
67
|
exports.ResetImageAttributeName = {
|
|
68
68
|
launchPermission: "launchPermission",
|
|
69
69
|
};
|
|
70
|
+
const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = (obj) => ({
|
|
71
|
+
...obj,
|
|
72
|
+
...(obj.VpnConnectionDeviceSampleConfiguration && { VpnConnectionDeviceSampleConfiguration: smithy_client_1.SENSITIVE_STRING }),
|
|
73
|
+
});
|
|
74
|
+
exports.GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog;
|
|
70
75
|
const ImageDiskContainerFilterSensitiveLog = (obj) => ({
|
|
71
76
|
...obj,
|
|
72
77
|
...(obj.Url && { Url: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -218,8 +223,3 @@ const RequestSpotInstancesResultFilterSensitiveLog = (obj) => ({
|
|
|
218
223
|
}),
|
|
219
224
|
});
|
|
220
225
|
exports.RequestSpotInstancesResultFilterSensitiveLog = RequestSpotInstancesResultFilterSensitiveLog;
|
|
221
|
-
const RunInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
222
|
-
...obj,
|
|
223
|
-
...(obj.UserData && { UserData: smithy_client_1.SENSITIVE_STRING }),
|
|
224
|
-
});
|
|
225
|
-
exports.RunInstancesRequestFilterSensitiveLog = RunInstancesRequestFilterSensitiveLog;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RunScheduledInstancesRequestFilterSensitiveLog = exports.ScheduledInstancesLaunchSpecificationFilterSensitiveLog = exports.MembershipType = void 0;
|
|
3
|
+
exports.RunScheduledInstancesRequestFilterSensitiveLog = exports.ScheduledInstancesLaunchSpecificationFilterSensitiveLog = exports.RunInstancesRequestFilterSensitiveLog = exports.MembershipType = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
exports.MembershipType = {
|
|
6
6
|
igmp: "igmp",
|
|
7
7
|
static: "static",
|
|
8
8
|
};
|
|
9
|
+
const RunInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
10
|
+
...obj,
|
|
11
|
+
...(obj.UserData && { UserData: smithy_client_1.SENSITIVE_STRING }),
|
|
12
|
+
});
|
|
13
|
+
exports.RunInstancesRequestFilterSensitiveLog = RunInstancesRequestFilterSensitiveLog;
|
|
9
14
|
const ScheduledInstancesLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
10
15
|
...obj,
|
|
11
16
|
});
|