@aws-sdk/client-cloudhsm 3.31.0 → 3.35.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/CHANGELOG.md +39 -0
- package/{dist/cjs → dist-cjs}/CloudHSM.js +0 -0
- package/dist-cjs/CloudHSM.js.map +1 -0
- package/{dist/cjs → dist-cjs}/CloudHSMClient.js +14 -14
- package/dist-cjs/CloudHSMClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/AddTagsToResourceCommand.js +5 -5
- package/dist-cjs/commands/AddTagsToResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateHapgCommand.js +5 -5
- package/dist-cjs/commands/CreateHapgCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateHsmCommand.js +5 -5
- package/dist-cjs/commands/CreateHsmCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLunaClientCommand.js +5 -5
- package/dist-cjs/commands/CreateLunaClientCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteHapgCommand.js +5 -5
- package/dist-cjs/commands/DeleteHapgCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteHsmCommand.js +5 -5
- package/dist-cjs/commands/DeleteHsmCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteLunaClientCommand.js +5 -5
- package/dist-cjs/commands/DeleteLunaClientCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeHapgCommand.js +5 -5
- package/dist-cjs/commands/DescribeHapgCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeHsmCommand.js +5 -5
- package/dist-cjs/commands/DescribeHsmCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLunaClientCommand.js +5 -5
- package/dist-cjs/commands/DescribeLunaClientCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetConfigCommand.js +5 -5
- package/dist-cjs/commands/GetConfigCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListAvailableZonesCommand.js +5 -5
- package/dist-cjs/commands/ListAvailableZonesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListHapgsCommand.js +5 -5
- package/dist-cjs/commands/ListHapgsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListHsmsCommand.js +5 -5
- package/dist-cjs/commands/ListHsmsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListLunaClientsCommand.js +5 -5
- package/dist-cjs/commands/ListLunaClientsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +5 -5
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ModifyHapgCommand.js +5 -5
- package/dist-cjs/commands/ModifyHapgCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ModifyHsmCommand.js +5 -5
- package/dist-cjs/commands/ModifyHsmCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ModifyLunaClientCommand.js +5 -5
- package/dist-cjs/commands/ModifyLunaClientCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/RemoveTagsFromResourceCommand.js +5 -5
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +27 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +1 -1
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +61 -61
- package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/CloudHSM.js +1 -14
- package/dist-es/CloudHSM.js.map +1 -0
- package/{dist/es → dist-es}/CloudHSMClient.js +2 -20
- package/dist-es/CloudHSMClient.js.map +1 -0
- package/dist-es/commands/AddTagsToResourceCommand.js +40 -0
- package/dist-es/commands/AddTagsToResourceCommand.js.map +1 -0
- package/dist-es/commands/CreateHapgCommand.js +40 -0
- package/dist-es/commands/CreateHapgCommand.js.map +1 -0
- package/dist-es/commands/CreateHsmCommand.js +40 -0
- package/dist-es/commands/CreateHsmCommand.js.map +1 -0
- package/dist-es/commands/CreateLunaClientCommand.js +40 -0
- package/dist-es/commands/CreateLunaClientCommand.js.map +1 -0
- package/dist-es/commands/DeleteHapgCommand.js +40 -0
- package/dist-es/commands/DeleteHapgCommand.js.map +1 -0
- package/dist-es/commands/DeleteHsmCommand.js +40 -0
- package/dist-es/commands/DeleteHsmCommand.js.map +1 -0
- package/dist-es/commands/DeleteLunaClientCommand.js +40 -0
- package/dist-es/commands/DeleteLunaClientCommand.js.map +1 -0
- package/dist-es/commands/DescribeHapgCommand.js +40 -0
- package/dist-es/commands/DescribeHapgCommand.js.map +1 -0
- package/dist-es/commands/DescribeHsmCommand.js +40 -0
- package/dist-es/commands/DescribeHsmCommand.js.map +1 -0
- package/dist-es/commands/DescribeLunaClientCommand.js +40 -0
- package/dist-es/commands/DescribeLunaClientCommand.js.map +1 -0
- package/dist-es/commands/GetConfigCommand.js +40 -0
- package/dist-es/commands/GetConfigCommand.js.map +1 -0
- package/dist-es/commands/ListAvailableZonesCommand.js +40 -0
- package/dist-es/commands/ListAvailableZonesCommand.js.map +1 -0
- package/dist-es/commands/ListHapgsCommand.js +40 -0
- package/dist-es/commands/ListHapgsCommand.js.map +1 -0
- package/dist-es/commands/ListHsmsCommand.js +40 -0
- package/dist-es/commands/ListHsmsCommand.js.map +1 -0
- package/dist-es/commands/ListLunaClientsCommand.js +40 -0
- package/dist-es/commands/ListLunaClientsCommand.js.map +1 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +40 -0
- package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
- package/dist-es/commands/ModifyHapgCommand.js +40 -0
- package/dist-es/commands/ModifyHapgCommand.js.map +1 -0
- package/dist-es/commands/ModifyHsmCommand.js +40 -0
- package/dist-es/commands/ModifyHsmCommand.js.map +1 -0
- package/dist-es/commands/ModifyLunaClientCommand.js +40 -0
- package/dist-es/commands/ModifyLunaClientCommand.js.map +1 -0
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +40 -0
- package/dist-es/commands/RemoveTagsFromResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +1 -1
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -132
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +377 -382
- package/dist-es/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -5
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/types → dist-types}/CloudHSM.d.ts +1 -1
- package/{dist/types → dist-types}/CloudHSMClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AddTagsToResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetConfigCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAvailableZonesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListHapgsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListHsmsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListLunaClientsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ModifyLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveTagsFromResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CloudHSM.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/CloudHSMClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetConfigCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAvailableZonesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListHapgsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListHsmsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListLunaClientsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ModifyHapgCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ModifyHsmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ModifyLunaClientCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +50 -50
- package/{CloudHSM.ts → src/CloudHSM.ts} +2 -1
- package/{CloudHSMClient.ts → src/CloudHSMClient.ts} +41 -40
- package/{commands → src/commands}/AddTagsToResourceCommand.ts +8 -7
- package/{commands → src/commands}/CreateHapgCommand.ts +8 -7
- package/{commands → src/commands}/CreateHsmCommand.ts +5 -4
- package/{commands → src/commands}/CreateLunaClientCommand.ts +8 -7
- package/{commands → src/commands}/DeleteHapgCommand.ts +8 -7
- package/{commands → src/commands}/DeleteHsmCommand.ts +5 -4
- package/{commands → src/commands}/DeleteLunaClientCommand.ts +8 -7
- package/{commands → src/commands}/DescribeHapgCommand.ts +8 -7
- package/{commands → src/commands}/DescribeHsmCommand.ts +8 -7
- package/{commands → src/commands}/DescribeLunaClientCommand.ts +8 -7
- package/{commands → src/commands}/GetConfigCommand.ts +5 -4
- package/{commands → src/commands}/ListAvailableZonesCommand.ts +8 -7
- package/{commands → src/commands}/ListHapgsCommand.ts +5 -4
- package/{commands → src/commands}/ListHsmsCommand.ts +5 -4
- package/{commands → src/commands}/ListLunaClientsCommand.ts +8 -7
- package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
- package/{commands → src/commands}/ModifyHapgCommand.ts +8 -7
- package/{commands → src/commands}/ModifyHsmCommand.ts +5 -4
- package/{commands → src/commands}/ModifyLunaClientCommand.ts +8 -7
- package/{commands → src/commands}/RemoveTagsFromResourceCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{protocols → src/protocols}/Aws_json1_1.ts +31 -30
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -3
- package/tsconfig.json +7 -7
- package/tsconfig.types.json +9 -0
- package/dist/cjs/CloudHSM.js.map +0 -1
- package/dist/cjs/CloudHSMClient.js.map +0 -1
- package/dist/cjs/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist/cjs/commands/CreateHapgCommand.js.map +0 -1
- package/dist/cjs/commands/CreateHsmCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLunaClientCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteHapgCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteHsmCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLunaClientCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeHapgCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeHsmCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLunaClientCommand.js.map +0 -1
- package/dist/cjs/commands/GetConfigCommand.js.map +0 -1
- package/dist/cjs/commands/ListAvailableZonesCommand.js.map +0 -1
- package/dist/cjs/commands/ListHapgsCommand.js.map +0 -1
- package/dist/cjs/commands/ListHsmsCommand.js.map +0 -1
- package/dist/cjs/commands/ListLunaClientsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ModifyHapgCommand.js.map +0 -1
- package/dist/cjs/commands/ModifyHsmCommand.js.map +0 -1
- package/dist/cjs/commands/ModifyLunaClientCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -27
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/CloudHSM.js.map +0 -1
- package/dist/es/CloudHSMClient.js.map +0 -1
- package/dist/es/commands/AddTagsToResourceCommand.js +0 -77
- package/dist/es/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist/es/commands/CreateHapgCommand.js +0 -76
- package/dist/es/commands/CreateHapgCommand.js.map +0 -1
- package/dist/es/commands/CreateHsmCommand.js +0 -84
- package/dist/es/commands/CreateHsmCommand.js.map +0 -1
- package/dist/es/commands/CreateLunaClientCommand.js +0 -75
- package/dist/es/commands/CreateLunaClientCommand.js.map +0 -1
- package/dist/es/commands/DeleteHapgCommand.js +0 -75
- package/dist/es/commands/DeleteHapgCommand.js.map +0 -1
- package/dist/es/commands/DeleteHsmCommand.js +0 -76
- package/dist/es/commands/DeleteHsmCommand.js.map +0 -1
- package/dist/es/commands/DeleteLunaClientCommand.js +0 -75
- package/dist/es/commands/DeleteLunaClientCommand.js.map +0 -1
- package/dist/es/commands/DescribeHapgCommand.js +0 -75
- package/dist/es/commands/DescribeHapgCommand.js.map +0 -1
- package/dist/es/commands/DescribeHsmCommand.js +0 -76
- package/dist/es/commands/DescribeHsmCommand.js.map +0 -1
- package/dist/es/commands/DescribeLunaClientCommand.js +0 -75
- package/dist/es/commands/DescribeLunaClientCommand.js.map +0 -1
- package/dist/es/commands/GetConfigCommand.js +0 -76
- package/dist/es/commands/GetConfigCommand.js.map +0 -1
- package/dist/es/commands/ListAvailableZonesCommand.js +0 -75
- package/dist/es/commands/ListAvailableZonesCommand.js.map +0 -1
- package/dist/es/commands/ListHapgsCommand.js +0 -79
- package/dist/es/commands/ListHapgsCommand.js.map +0 -1
- package/dist/es/commands/ListHsmsCommand.js +0 -80
- package/dist/es/commands/ListHsmsCommand.js.map +0 -1
- package/dist/es/commands/ListLunaClientsCommand.js +0 -79
- package/dist/es/commands/ListLunaClientsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +0 -75
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ModifyHapgCommand.js +0 -75
- package/dist/es/commands/ModifyHapgCommand.js.map +0 -1
- package/dist/es/commands/ModifyHsmCommand.js +0 -81
- package/dist/es/commands/ModifyHsmCommand.js.map +0 -1
- package/dist/es/commands/ModifyLunaClientCommand.js +0 -77
- package/dist/es/commands/ModifyLunaClientCommand.js.map +0 -1
- package/dist/es/commands/RemoveTagsFromResourceCommand.js +0 -77
- package/dist/es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
2
|
-
import { DescribeLunaClientRequest, DescribeLunaClientResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeLunaClientCommand,
|
|
5
|
-
serializeAws_json1_1DescribeLunaClientCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
+
import { DescribeLunaClientRequest, DescribeLunaClientResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1DescribeLunaClientCommand,
|
|
18
|
+
serializeAws_json1_1DescribeLunaClientCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface DescribeLunaClientCommandInput extends DescribeLunaClientRequest {}
|
|
21
22
|
export interface DescribeLunaClientCommandOutput extends DescribeLunaClientResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
2
|
-
import { GetConfigRequest, GetConfigResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1GetConfigCommand, serializeAws_json1_1GetConfigCommand } from "../protocols/Aws_json1_1";
|
|
4
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,12 +5,16 @@ import {
|
|
|
8
5
|
FinalizeHandlerArguments,
|
|
9
6
|
Handler,
|
|
10
7
|
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
14
11
|
SerdeContext as __SerdeContext,
|
|
15
12
|
} from "@aws-sdk/types";
|
|
16
13
|
|
|
14
|
+
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
+
import { GetConfigRequest, GetConfigResponse } from "../models/models_0";
|
|
16
|
+
import { deserializeAws_json1_1GetConfigCommand, serializeAws_json1_1GetConfigCommand } from "../protocols/Aws_json1_1";
|
|
17
|
+
|
|
17
18
|
export interface GetConfigCommandInput extends GetConfigRequest {}
|
|
18
19
|
export interface GetConfigCommandOutput extends GetConfigResponse, __MetadataBearer {}
|
|
19
20
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
2
|
-
import { ListAvailableZonesRequest, ListAvailableZonesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListAvailableZonesCommand,
|
|
5
|
-
serializeAws_json1_1ListAvailableZonesCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
+
import { ListAvailableZonesRequest, ListAvailableZonesResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1ListAvailableZonesCommand,
|
|
18
|
+
serializeAws_json1_1ListAvailableZonesCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface ListAvailableZonesCommandInput extends ListAvailableZonesRequest {}
|
|
21
22
|
export interface ListAvailableZonesCommandOutput extends ListAvailableZonesResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
2
|
-
import { ListHapgsRequest, ListHapgsResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ListHapgsCommand, serializeAws_json1_1ListHapgsCommand } from "../protocols/Aws_json1_1";
|
|
4
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,12 +5,16 @@ import {
|
|
|
8
5
|
FinalizeHandlerArguments,
|
|
9
6
|
Handler,
|
|
10
7
|
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
14
11
|
SerdeContext as __SerdeContext,
|
|
15
12
|
} from "@aws-sdk/types";
|
|
16
13
|
|
|
14
|
+
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
+
import { ListHapgsRequest, ListHapgsResponse } from "../models/models_0";
|
|
16
|
+
import { deserializeAws_json1_1ListHapgsCommand, serializeAws_json1_1ListHapgsCommand } from "../protocols/Aws_json1_1";
|
|
17
|
+
|
|
17
18
|
export interface ListHapgsCommandInput extends ListHapgsRequest {}
|
|
18
19
|
export interface ListHapgsCommandOutput extends ListHapgsResponse, __MetadataBearer {}
|
|
19
20
|
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
2
|
-
import { ListHsmsRequest, ListHsmsResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ListHsmsCommand, serializeAws_json1_1ListHsmsCommand } from "../protocols/Aws_json1_1";
|
|
4
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,12 +5,16 @@ import {
|
|
|
8
5
|
FinalizeHandlerArguments,
|
|
9
6
|
Handler,
|
|
10
7
|
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
14
11
|
SerdeContext as __SerdeContext,
|
|
15
12
|
} from "@aws-sdk/types";
|
|
16
13
|
|
|
14
|
+
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
+
import { ListHsmsRequest, ListHsmsResponse } from "../models/models_0";
|
|
16
|
+
import { deserializeAws_json1_1ListHsmsCommand, serializeAws_json1_1ListHsmsCommand } from "../protocols/Aws_json1_1";
|
|
17
|
+
|
|
17
18
|
export interface ListHsmsCommandInput extends ListHsmsRequest {}
|
|
18
19
|
export interface ListHsmsCommandOutput extends ListHsmsResponse, __MetadataBearer {}
|
|
19
20
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
2
|
-
import { ListLunaClientsRequest, ListLunaClientsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListLunaClientsCommand,
|
|
5
|
-
serializeAws_json1_1ListLunaClientsCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
+
import { ListLunaClientsRequest, ListLunaClientsResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1ListLunaClientsCommand,
|
|
18
|
+
serializeAws_json1_1ListLunaClientsCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface ListLunaClientsCommandInput extends ListLunaClientsRequest {}
|
|
21
22
|
export interface ListLunaClientsCommandOutput extends ListLunaClientsResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
2
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListTagsForResourceCommand,
|
|
5
|
-
serializeAws_json1_1ListTagsForResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1ListTagsForResourceCommand,
|
|
18
|
+
serializeAws_json1_1ListTagsForResourceCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
21
22
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
2
|
-
import { ModifyHapgRequest, ModifyHapgResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ModifyHapgCommand,
|
|
5
|
-
serializeAws_json1_1ModifyHapgCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
+
import { ModifyHapgRequest, ModifyHapgResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1ModifyHapgCommand,
|
|
18
|
+
serializeAws_json1_1ModifyHapgCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface ModifyHapgCommandInput extends ModifyHapgRequest {}
|
|
21
22
|
export interface ModifyHapgCommandOutput extends ModifyHapgResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
2
|
-
import { ModifyHsmRequest, ModifyHsmResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ModifyHsmCommand, serializeAws_json1_1ModifyHsmCommand } from "../protocols/Aws_json1_1";
|
|
4
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,12 +5,16 @@ import {
|
|
|
8
5
|
FinalizeHandlerArguments,
|
|
9
6
|
Handler,
|
|
10
7
|
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
14
11
|
SerdeContext as __SerdeContext,
|
|
15
12
|
} from "@aws-sdk/types";
|
|
16
13
|
|
|
14
|
+
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
+
import { ModifyHsmRequest, ModifyHsmResponse } from "../models/models_0";
|
|
16
|
+
import { deserializeAws_json1_1ModifyHsmCommand, serializeAws_json1_1ModifyHsmCommand } from "../protocols/Aws_json1_1";
|
|
17
|
+
|
|
17
18
|
export interface ModifyHsmCommandInput extends ModifyHsmRequest {}
|
|
18
19
|
export interface ModifyHsmCommandOutput extends ModifyHsmResponse, __MetadataBearer {}
|
|
19
20
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
2
|
-
import { ModifyLunaClientRequest, ModifyLunaClientResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ModifyLunaClientCommand,
|
|
5
|
-
serializeAws_json1_1ModifyLunaClientCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
+
import { ModifyLunaClientRequest, ModifyLunaClientResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1ModifyLunaClientCommand,
|
|
18
|
+
serializeAws_json1_1ModifyLunaClientCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface ModifyLunaClientCommandInput extends ModifyLunaClientRequest {}
|
|
21
22
|
export interface ModifyLunaClientCommandOutput extends ModifyLunaClientResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
2
|
-
import { RemoveTagsFromResourceRequest, RemoveTagsFromResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1RemoveTagsFromResourceCommand,
|
|
5
|
-
serializeAws_json1_1RemoveTagsFromResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
15
|
+
import { RemoveTagsFromResourceRequest, RemoveTagsFromResourceResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1RemoveTagsFromResourceCommand,
|
|
18
|
+
serializeAws_json1_1RemoveTagsFromResourceCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface RemoveTagsFromResourceCommandInput extends RemoveTagsFromResourceRequest {}
|
|
21
22
|
export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResourceResponse, __MetadataBearer {}
|
|
22
23
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { expectBoolean as __expectBoolean, expectString as __expectString } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Endpoint as __Endpoint,
|
|
5
|
+
HeaderBag as __HeaderBag,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
ResponseMetadata as __ResponseMetadata,
|
|
8
|
+
SerdeContext as __SerdeContext,
|
|
9
|
+
SmithyException as __SmithyException,
|
|
10
|
+
} from "@aws-sdk/types";
|
|
11
|
+
|
|
1
12
|
import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "../commands/AddTagsToResourceCommand";
|
|
2
13
|
import { CreateHapgCommandInput, CreateHapgCommandOutput } from "../commands/CreateHapgCommand";
|
|
3
14
|
import { CreateHsmCommandInput, CreateHsmCommandOutput } from "../commands/CreateHsmCommand";
|
|
@@ -70,16 +81,6 @@ import {
|
|
|
70
81
|
RemoveTagsFromResourceResponse,
|
|
71
82
|
Tag,
|
|
72
83
|
} from "../models/models_0";
|
|
73
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
74
|
-
import { expectBoolean as __expectBoolean, expectString as __expectString } from "@aws-sdk/smithy-client";
|
|
75
|
-
import {
|
|
76
|
-
Endpoint as __Endpoint,
|
|
77
|
-
HeaderBag as __HeaderBag,
|
|
78
|
-
MetadataBearer as __MetadataBearer,
|
|
79
|
-
ResponseMetadata as __ResponseMetadata,
|
|
80
|
-
SerdeContext as __SerdeContext,
|
|
81
|
-
SmithyException as __SmithyException,
|
|
82
|
-
} from "@aws-sdk/types";
|
|
83
84
|
|
|
84
85
|
export const serializeAws_json1_1AddTagsToResourceCommand = async (
|
|
85
86
|
input: AddTagsToResourceCommandInput,
|
|
@@ -367,7 +368,7 @@ const deserializeAws_json1_1AddTagsToResourceCommandError = async (
|
|
|
367
368
|
body: await parseBody(output.body, context),
|
|
368
369
|
};
|
|
369
370
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
370
|
-
let errorCode
|
|
371
|
+
let errorCode = "UnknownError";
|
|
371
372
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
372
373
|
switch (errorCode) {
|
|
373
374
|
case "CloudHsmInternalException":
|
|
@@ -437,7 +438,7 @@ const deserializeAws_json1_1CreateHapgCommandError = async (
|
|
|
437
438
|
body: await parseBody(output.body, context),
|
|
438
439
|
};
|
|
439
440
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
440
|
-
let errorCode
|
|
441
|
+
let errorCode = "UnknownError";
|
|
441
442
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
442
443
|
switch (errorCode) {
|
|
443
444
|
case "CloudHsmInternalException":
|
|
@@ -507,7 +508,7 @@ const deserializeAws_json1_1CreateHsmCommandError = async (
|
|
|
507
508
|
body: await parseBody(output.body, context),
|
|
508
509
|
};
|
|
509
510
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
510
|
-
let errorCode
|
|
511
|
+
let errorCode = "UnknownError";
|
|
511
512
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
512
513
|
switch (errorCode) {
|
|
513
514
|
case "CloudHsmInternalException":
|
|
@@ -577,7 +578,7 @@ const deserializeAws_json1_1CreateLunaClientCommandError = async (
|
|
|
577
578
|
body: await parseBody(output.body, context),
|
|
578
579
|
};
|
|
579
580
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
580
|
-
let errorCode
|
|
581
|
+
let errorCode = "UnknownError";
|
|
581
582
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
582
583
|
switch (errorCode) {
|
|
583
584
|
case "CloudHsmInternalException":
|
|
@@ -647,7 +648,7 @@ const deserializeAws_json1_1DeleteHapgCommandError = async (
|
|
|
647
648
|
body: await parseBody(output.body, context),
|
|
648
649
|
};
|
|
649
650
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
650
|
-
let errorCode
|
|
651
|
+
let errorCode = "UnknownError";
|
|
651
652
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
652
653
|
switch (errorCode) {
|
|
653
654
|
case "CloudHsmInternalException":
|
|
@@ -717,7 +718,7 @@ const deserializeAws_json1_1DeleteHsmCommandError = async (
|
|
|
717
718
|
body: await parseBody(output.body, context),
|
|
718
719
|
};
|
|
719
720
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
720
|
-
let errorCode
|
|
721
|
+
let errorCode = "UnknownError";
|
|
721
722
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
722
723
|
switch (errorCode) {
|
|
723
724
|
case "CloudHsmInternalException":
|
|
@@ -787,7 +788,7 @@ const deserializeAws_json1_1DeleteLunaClientCommandError = async (
|
|
|
787
788
|
body: await parseBody(output.body, context),
|
|
788
789
|
};
|
|
789
790
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
790
|
-
let errorCode
|
|
791
|
+
let errorCode = "UnknownError";
|
|
791
792
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
792
793
|
switch (errorCode) {
|
|
793
794
|
case "CloudHsmInternalException":
|
|
@@ -857,7 +858,7 @@ const deserializeAws_json1_1DescribeHapgCommandError = async (
|
|
|
857
858
|
body: await parseBody(output.body, context),
|
|
858
859
|
};
|
|
859
860
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
860
|
-
let errorCode
|
|
861
|
+
let errorCode = "UnknownError";
|
|
861
862
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
862
863
|
switch (errorCode) {
|
|
863
864
|
case "CloudHsmInternalException":
|
|
@@ -927,7 +928,7 @@ const deserializeAws_json1_1DescribeHsmCommandError = async (
|
|
|
927
928
|
body: await parseBody(output.body, context),
|
|
928
929
|
};
|
|
929
930
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
930
|
-
let errorCode
|
|
931
|
+
let errorCode = "UnknownError";
|
|
931
932
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
932
933
|
switch (errorCode) {
|
|
933
934
|
case "CloudHsmInternalException":
|
|
@@ -997,7 +998,7 @@ const deserializeAws_json1_1DescribeLunaClientCommandError = async (
|
|
|
997
998
|
body: await parseBody(output.body, context),
|
|
998
999
|
};
|
|
999
1000
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1000
|
-
let errorCode
|
|
1001
|
+
let errorCode = "UnknownError";
|
|
1001
1002
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1002
1003
|
switch (errorCode) {
|
|
1003
1004
|
case "CloudHsmInternalException":
|
|
@@ -1067,7 +1068,7 @@ const deserializeAws_json1_1GetConfigCommandError = async (
|
|
|
1067
1068
|
body: await parseBody(output.body, context),
|
|
1068
1069
|
};
|
|
1069
1070
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1070
|
-
let errorCode
|
|
1071
|
+
let errorCode = "UnknownError";
|
|
1071
1072
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1072
1073
|
switch (errorCode) {
|
|
1073
1074
|
case "CloudHsmInternalException":
|
|
@@ -1137,7 +1138,7 @@ const deserializeAws_json1_1ListAvailableZonesCommandError = async (
|
|
|
1137
1138
|
body: await parseBody(output.body, context),
|
|
1138
1139
|
};
|
|
1139
1140
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1140
|
-
let errorCode
|
|
1141
|
+
let errorCode = "UnknownError";
|
|
1141
1142
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1142
1143
|
switch (errorCode) {
|
|
1143
1144
|
case "CloudHsmInternalException":
|
|
@@ -1207,7 +1208,7 @@ const deserializeAws_json1_1ListHapgsCommandError = async (
|
|
|
1207
1208
|
body: await parseBody(output.body, context),
|
|
1208
1209
|
};
|
|
1209
1210
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1210
|
-
let errorCode
|
|
1211
|
+
let errorCode = "UnknownError";
|
|
1211
1212
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1212
1213
|
switch (errorCode) {
|
|
1213
1214
|
case "CloudHsmInternalException":
|
|
@@ -1277,7 +1278,7 @@ const deserializeAws_json1_1ListHsmsCommandError = async (
|
|
|
1277
1278
|
body: await parseBody(output.body, context),
|
|
1278
1279
|
};
|
|
1279
1280
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1280
|
-
let errorCode
|
|
1281
|
+
let errorCode = "UnknownError";
|
|
1281
1282
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1282
1283
|
switch (errorCode) {
|
|
1283
1284
|
case "CloudHsmInternalException":
|
|
@@ -1347,7 +1348,7 @@ const deserializeAws_json1_1ListLunaClientsCommandError = async (
|
|
|
1347
1348
|
body: await parseBody(output.body, context),
|
|
1348
1349
|
};
|
|
1349
1350
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1350
|
-
let errorCode
|
|
1351
|
+
let errorCode = "UnknownError";
|
|
1351
1352
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1352
1353
|
switch (errorCode) {
|
|
1353
1354
|
case "CloudHsmInternalException":
|
|
@@ -1417,7 +1418,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (
|
|
|
1417
1418
|
body: await parseBody(output.body, context),
|
|
1418
1419
|
};
|
|
1419
1420
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1420
|
-
let errorCode
|
|
1421
|
+
let errorCode = "UnknownError";
|
|
1421
1422
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1422
1423
|
switch (errorCode) {
|
|
1423
1424
|
case "CloudHsmInternalException":
|
|
@@ -1487,7 +1488,7 @@ const deserializeAws_json1_1ModifyHapgCommandError = async (
|
|
|
1487
1488
|
body: await parseBody(output.body, context),
|
|
1488
1489
|
};
|
|
1489
1490
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1490
|
-
let errorCode
|
|
1491
|
+
let errorCode = "UnknownError";
|
|
1491
1492
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1492
1493
|
switch (errorCode) {
|
|
1493
1494
|
case "CloudHsmInternalException":
|
|
@@ -1557,7 +1558,7 @@ const deserializeAws_json1_1ModifyHsmCommandError = async (
|
|
|
1557
1558
|
body: await parseBody(output.body, context),
|
|
1558
1559
|
};
|
|
1559
1560
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1560
|
-
let errorCode
|
|
1561
|
+
let errorCode = "UnknownError";
|
|
1561
1562
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1562
1563
|
switch (errorCode) {
|
|
1563
1564
|
case "CloudHsmInternalException":
|
|
@@ -1627,7 +1628,7 @@ const deserializeAws_json1_1ModifyLunaClientCommandError = async (
|
|
|
1627
1628
|
body: await parseBody(output.body, context),
|
|
1628
1629
|
};
|
|
1629
1630
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1630
|
-
let errorCode
|
|
1631
|
+
let errorCode = "UnknownError";
|
|
1631
1632
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1632
1633
|
switch (errorCode) {
|
|
1633
1634
|
case "CloudHsmServiceException":
|
|
@@ -1681,7 +1682,7 @@ const deserializeAws_json1_1RemoveTagsFromResourceCommandError = async (
|
|
|
1681
1682
|
body: await parseBody(output.body, context),
|
|
1682
1683
|
};
|
|
1683
1684
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1684
|
-
let errorCode
|
|
1685
|
+
let errorCode = "UnknownError";
|
|
1685
1686
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1686
1687
|
switch (errorCode) {
|
|
1687
1688
|
case "CloudHsmInternalException":
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
2
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
3
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -8,6 +6,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
|
8
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
7
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
8
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
9
|
+
|
|
10
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
11
|
+
import packageInfo from "../package.json";
|
|
11
12
|
import { CloudHSMClientConfig } from "./CloudHSMClient";
|
|
12
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
14
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
3
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
|
|
4
4
|
import { CloudHSMClientConfig } from "./CloudHSMClient";
|
|
5
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @internal
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
2
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -7,13 +5,16 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
7
5
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
6
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
7
|
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
8
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
10
9
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
10
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
12
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
|
+
|
|
14
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
15
|
+
import packageInfo from "../package.json";
|
|
14
16
|
import { CloudHSMClientConfig } from "./CloudHSMClient";
|
|
15
17
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
* @internal
|
package/tsconfig.es.json
CHANGED
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
"target": "es5",
|
|
5
5
|
"module": "esnext",
|
|
6
6
|
"moduleResolution": "node",
|
|
7
|
-
"declaration": false,
|
|
8
|
-
"declarationDir": null,
|
|
9
7
|
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
|
|
10
|
-
"outDir": "dist
|
|
8
|
+
"outDir": "dist-es"
|
|
11
9
|
}
|
|
12
10
|
}
|
package/tsconfig.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"alwaysStrict": true,
|
|
4
4
|
"target": "ES2018",
|
|
5
5
|
"module": "commonjs",
|
|
6
|
-
"declaration": true,
|
|
7
6
|
"strict": true,
|
|
8
7
|
"sourceMap": true,
|
|
9
8
|
"downlevelIteration": true,
|
|
@@ -12,9 +11,9 @@
|
|
|
12
11
|
"incremental": true,
|
|
13
12
|
"resolveJsonModule": true,
|
|
14
13
|
"esModuleInterop": true,
|
|
15
|
-
"
|
|
16
|
-
"outDir": "dist
|
|
17
|
-
"
|
|
14
|
+
"rootDir": "src",
|
|
15
|
+
"outDir": "dist-cjs",
|
|
16
|
+
"removeComments": true
|
|
18
17
|
},
|
|
19
18
|
"typedocOptions": {
|
|
20
19
|
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|
|
@@ -24,10 +23,11 @@
|
|
|
24
23
|
"ignoreCompilerErrors": true,
|
|
25
24
|
"includeDeclarations": true,
|
|
26
25
|
"stripInternal": true,
|
|
27
|
-
"readme": "
|
|
26
|
+
"readme": "README.md",
|
|
28
27
|
"mode": "file",
|
|
29
|
-
"out": "
|
|
28
|
+
"out": "docs",
|
|
30
29
|
"theme": "minimal",
|
|
31
30
|
"plugin": ["@aws-sdk/client-documentation-generator"]
|
|
32
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"exclude": ["test/**/*"]
|
|
33
33
|
}
|