@aws-sdk/client-cloudhsm 3.952.0 → 3.953.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +201 -122
- package/dist-cjs/runtimeConfig.shared.js +6 -6
- package/dist-es/commands/AddTagsToResourceCommand.js +2 -2
- package/dist-es/commands/CreateHapgCommand.js +2 -2
- package/dist-es/commands/CreateHsmCommand.js +2 -2
- package/dist-es/commands/CreateLunaClientCommand.js +2 -2
- package/dist-es/commands/DeleteHapgCommand.js +2 -2
- package/dist-es/commands/DeleteHsmCommand.js +2 -2
- package/dist-es/commands/DeleteLunaClientCommand.js +2 -2
- package/dist-es/commands/DescribeHapgCommand.js +2 -2
- package/dist-es/commands/DescribeHsmCommand.js +2 -2
- package/dist-es/commands/DescribeLunaClientCommand.js +2 -2
- package/dist-es/commands/GetConfigCommand.js +2 -2
- package/dist-es/commands/ListAvailableZonesCommand.js +2 -2
- package/dist-es/commands/ListHapgsCommand.js +2 -2
- package/dist-es/commands/ListHsmsCommand.js +2 -2
- package/dist-es/commands/ListLunaClientsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ModifyHapgCommand.js +2 -2
- package/dist-es/commands/ModifyHsmCommand.js +2 -2
- package/dist-es/commands/ModifyLunaClientCommand.js +2 -2
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -6
- package/dist-es/schemas/schemas_0.js +113 -99
- package/dist-types/CloudHSMClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +66 -74
- package/dist-types/ts3.4/CloudHSMClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +65 -74
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateHsm } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateHsm$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateHsmCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateHsmCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "CreateHsm", {})
|
|
13
13
|
.n("CloudHSMClient", "CreateHsmCommand")
|
|
14
|
-
.sc(CreateHsm)
|
|
14
|
+
.sc(CreateHsm$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateLunaClient } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateLunaClient$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateLunaClientCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateLunaClientCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "CreateLunaClient", {})
|
|
13
13
|
.n("CloudHSMClient", "CreateLunaClientCommand")
|
|
14
|
-
.sc(CreateLunaClient)
|
|
14
|
+
.sc(CreateLunaClient$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteHapg } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteHapg$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteHapgCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteHapgCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "DeleteHapg", {})
|
|
13
13
|
.n("CloudHSMClient", "DeleteHapgCommand")
|
|
14
|
-
.sc(DeleteHapg)
|
|
14
|
+
.sc(DeleteHapg$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteHsm } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteHsm$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteHsmCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteHsmCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "DeleteHsm", {})
|
|
13
13
|
.n("CloudHSMClient", "DeleteHsmCommand")
|
|
14
|
-
.sc(DeleteHsm)
|
|
14
|
+
.sc(DeleteHsm$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteLunaClient } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteLunaClient$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteLunaClientCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteLunaClientCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "DeleteLunaClient", {})
|
|
13
13
|
.n("CloudHSMClient", "DeleteLunaClientCommand")
|
|
14
|
-
.sc(DeleteLunaClient)
|
|
14
|
+
.sc(DeleteLunaClient$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeHapg } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeHapg$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeHapgCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeHapgCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "DescribeHapg", {})
|
|
13
13
|
.n("CloudHSMClient", "DescribeHapgCommand")
|
|
14
|
-
.sc(DescribeHapg)
|
|
14
|
+
.sc(DescribeHapg$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeHsm } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeHsm$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeHsmCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeHsmCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "DescribeHsm", {})
|
|
13
13
|
.n("CloudHSMClient", "DescribeHsmCommand")
|
|
14
|
-
.sc(DescribeHsm)
|
|
14
|
+
.sc(DescribeHsm$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeLunaClient } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeLunaClient$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeLunaClientCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeLunaClientCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "DescribeLunaClient", {})
|
|
13
13
|
.n("CloudHSMClient", "DescribeLunaClientCommand")
|
|
14
|
-
.sc(DescribeLunaClient)
|
|
14
|
+
.sc(DescribeLunaClient$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetConfig } from "../schemas/schemas_0";
|
|
4
|
+
import { GetConfig$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetConfigCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetConfigCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "GetConfig", {})
|
|
13
13
|
.n("CloudHSMClient", "GetConfigCommand")
|
|
14
|
-
.sc(GetConfig)
|
|
14
|
+
.sc(GetConfig$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListAvailableZones } from "../schemas/schemas_0";
|
|
4
|
+
import { ListAvailableZones$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListAvailableZonesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListAvailableZonesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "ListAvailableZones", {})
|
|
13
13
|
.n("CloudHSMClient", "ListAvailableZonesCommand")
|
|
14
|
-
.sc(ListAvailableZones)
|
|
14
|
+
.sc(ListAvailableZones$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListHapgs } from "../schemas/schemas_0";
|
|
4
|
+
import { ListHapgs$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListHapgsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListHapgsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "ListHapgs", {})
|
|
13
13
|
.n("CloudHSMClient", "ListHapgsCommand")
|
|
14
|
-
.sc(ListHapgs)
|
|
14
|
+
.sc(ListHapgs$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListHsms } from "../schemas/schemas_0";
|
|
4
|
+
import { ListHsms$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListHsmsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListHsmsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "ListHsms", {})
|
|
13
13
|
.n("CloudHSMClient", "ListHsmsCommand")
|
|
14
|
-
.sc(ListHsms)
|
|
14
|
+
.sc(ListHsms$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListLunaClients } from "../schemas/schemas_0";
|
|
4
|
+
import { ListLunaClients$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListLunaClientsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListLunaClientsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "ListLunaClients", {})
|
|
13
13
|
.n("CloudHSMClient", "ListLunaClientsCommand")
|
|
14
|
-
.sc(ListLunaClients)
|
|
14
|
+
.sc(ListLunaClients$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "ListTagsForResource", {})
|
|
13
13
|
.n("CloudHSMClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource)
|
|
14
|
+
.sc(ListTagsForResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ModifyHapg } from "../schemas/schemas_0";
|
|
4
|
+
import { ModifyHapg$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ModifyHapgCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ModifyHapgCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "ModifyHapg", {})
|
|
13
13
|
.n("CloudHSMClient", "ModifyHapgCommand")
|
|
14
|
-
.sc(ModifyHapg)
|
|
14
|
+
.sc(ModifyHapg$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ModifyHsm } from "../schemas/schemas_0";
|
|
4
|
+
import { ModifyHsm$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ModifyHsmCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ModifyHsmCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "ModifyHsm", {})
|
|
13
13
|
.n("CloudHSMClient", "ModifyHsmCommand")
|
|
14
|
-
.sc(ModifyHsm)
|
|
14
|
+
.sc(ModifyHsm$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ModifyLunaClient } from "../schemas/schemas_0";
|
|
4
|
+
import { ModifyLunaClient$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ModifyLunaClientCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ModifyLunaClientCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "ModifyLunaClient", {})
|
|
13
13
|
.n("CloudHSMClient", "ModifyLunaClientCommand")
|
|
14
|
-
.sc(ModifyLunaClient)
|
|
14
|
+
.sc(ModifyLunaClient$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { RemoveTagsFromResource } from "../schemas/schemas_0";
|
|
4
|
+
import { RemoveTagsFromResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RemoveTagsFromResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class RemoveTagsFromResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CloudHsmFrontendService", "RemoveTagsFromResource", {})
|
|
13
13
|
.n("CloudHSMClient", "RemoveTagsFromResourceCommand")
|
|
14
|
-
.sc(RemoveTagsFromResource)
|
|
14
|
+
.sc(RemoveTagsFromResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CloudHSMClient";
|
|
2
2
|
export * from "./CloudHSM";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
4
5
|
export * from "./models/enums";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export { CloudHSMServiceException } from "./models/CloudHSMServiceException";
|
|
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.cloudhsm",
|
|
29
|
+
version: "2014-05-30",
|
|
30
|
+
serviceTarget: "CloudHsmFrontendService",
|
|
31
|
+
},
|
|
32
32
|
serviceId: config?.serviceId ?? "CloudHSM",
|
|
33
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -123,17 +123,17 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudhsm";
|
|
|
123
123
|
const _xN = "xmlName";
|
|
124
124
|
const n0 = "com.amazonaws.cloudhsm";
|
|
125
125
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
126
|
-
import { CloudHSMServiceException
|
|
127
|
-
import { CloudHsmInternalException
|
|
128
|
-
export var AddTagsToResourceRequest = [3, n0, _ATTRR, 0, [_RA, _TL], [0, () => TagList]];
|
|
129
|
-
export var AddTagsToResourceResponse = [3, n0, _ATTRRd, 0, [_S], [0]];
|
|
130
|
-
export var CloudHsmInternalException = [-3, n0, _CHIE, { [_e]: _s }, [_m, _r], [0, 2]];
|
|
131
|
-
TypeRegistry.for(n0).registerError(CloudHsmInternalException
|
|
132
|
-
export var CloudHsmServiceException = [-3, n0, _CHSE, { [_e]: _c }, [_m, _r], [0, 2]];
|
|
133
|
-
TypeRegistry.for(n0).registerError(CloudHsmServiceException
|
|
134
|
-
export var CreateHapgRequest = [3, n0, _CHR, 0, [_L], [0]];
|
|
135
|
-
export var CreateHapgResponse = [3, n0, _CHRr, 0, [_HA], [0]];
|
|
136
|
-
export var CreateHsmRequest = [
|
|
126
|
+
import { CloudHSMServiceException } from "../models/CloudHSMServiceException";
|
|
127
|
+
import { CloudHsmInternalException, CloudHsmServiceException, InvalidRequestException } from "../models/errors";
|
|
128
|
+
export var AddTagsToResourceRequest$ = [3, n0, _ATTRR, 0, [_RA, _TL], [0, () => TagList]];
|
|
129
|
+
export var AddTagsToResourceResponse$ = [3, n0, _ATTRRd, 0, [_S], [0]];
|
|
130
|
+
export var CloudHsmInternalException$ = [-3, n0, _CHIE, { [_e]: _s }, [_m, _r], [0, 2]];
|
|
131
|
+
TypeRegistry.for(n0).registerError(CloudHsmInternalException$, CloudHsmInternalException);
|
|
132
|
+
export var CloudHsmServiceException$ = [-3, n0, _CHSE, { [_e]: _c }, [_m, _r], [0, 2]];
|
|
133
|
+
TypeRegistry.for(n0).registerError(CloudHsmServiceException$, CloudHsmServiceException);
|
|
134
|
+
export var CreateHapgRequest$ = [3, n0, _CHR, 0, [_L], [0]];
|
|
135
|
+
export var CreateHapgResponse$ = [3, n0, _CHRr, 0, [_HA], [0]];
|
|
136
|
+
export var CreateHsmRequest$ = [
|
|
137
137
|
3,
|
|
138
138
|
n0,
|
|
139
139
|
_CHRre,
|
|
@@ -150,17 +150,24 @@ export var CreateHsmRequest = [
|
|
|
150
150
|
[0, { [_xN]: _SIy }],
|
|
151
151
|
],
|
|
152
152
|
];
|
|
153
|
-
export var CreateHsmResponse = [3, n0, _CHRrea, 0, [_HAs], [0]];
|
|
154
|
-
export var CreateLunaClientRequest = [3, n0, _CLCR, 0, [_L, _C], [0, 0]];
|
|
155
|
-
export var CreateLunaClientResponse = [3, n0, _CLCRr, 0, [_CA], [0]];
|
|
156
|
-
export var DeleteHapgRequest = [3, n0, _DHR, 0, [_HA], [0]];
|
|
157
|
-
export var DeleteHapgResponse = [3, n0, _DHRe, 0, [_S], [0]];
|
|
158
|
-
export var DeleteHsmRequest = [
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
153
|
+
export var CreateHsmResponse$ = [3, n0, _CHRrea, 0, [_HAs], [0]];
|
|
154
|
+
export var CreateLunaClientRequest$ = [3, n0, _CLCR, 0, [_L, _C], [0, 0]];
|
|
155
|
+
export var CreateLunaClientResponse$ = [3, n0, _CLCRr, 0, [_CA], [0]];
|
|
156
|
+
export var DeleteHapgRequest$ = [3, n0, _DHR, 0, [_HA], [0]];
|
|
157
|
+
export var DeleteHapgResponse$ = [3, n0, _DHRe, 0, [_S], [0]];
|
|
158
|
+
export var DeleteHsmRequest$ = [
|
|
159
|
+
3,
|
|
160
|
+
n0,
|
|
161
|
+
_DHRel,
|
|
162
|
+
{ [_xN]: _DHRel },
|
|
163
|
+
[_HAs],
|
|
164
|
+
[[0, { [_xN]: _HAs }]],
|
|
165
|
+
];
|
|
166
|
+
export var DeleteHsmResponse$ = [3, n0, _DHRele, 0, [_S], [0]];
|
|
167
|
+
export var DeleteLunaClientRequest$ = [3, n0, _DLCR, 0, [_CA], [0]];
|
|
168
|
+
export var DeleteLunaClientResponse$ = [3, n0, _DLCRe, 0, [_S], [0]];
|
|
169
|
+
export var DescribeHapgRequest$ = [3, n0, _DHRes, 0, [_HA], [0]];
|
|
170
|
+
export var DescribeHapgResponse$ = [
|
|
164
171
|
3,
|
|
165
172
|
n0,
|
|
166
173
|
_DHResc,
|
|
@@ -168,8 +175,8 @@ export var DescribeHapgResponse = [
|
|
|
168
175
|
[_HA, _HS, _HLAF, _HPD, _HPR, _L, _LMT, _PSL, _St],
|
|
169
176
|
[0, 0, 64 | 0, 64 | 0, 64 | 0, 0, 0, 64 | 0, 0],
|
|
170
177
|
];
|
|
171
|
-
export var DescribeHsmRequest = [3, n0, _DHRescr, 0, [_HAs, _HSN], [0, 0]];
|
|
172
|
-
export var DescribeHsmResponse = [
|
|
178
|
+
export var DescribeHsmRequest$ = [3, n0, _DHRescr, 0, [_HAs, _HSN], [0, 0]];
|
|
179
|
+
export var DescribeHsmResponse$ = [
|
|
173
180
|
3,
|
|
174
181
|
n0,
|
|
175
182
|
_DHRescri,
|
|
@@ -177,8 +184,8 @@ export var DescribeHsmResponse = [
|
|
|
177
184
|
[_HAs, _S, _SD, _AZ, _EIn, _EI, _ST, _SSD, _SED, _VI, _SI, _IRA, _SN, _VN, _HT, _SV, _SPK, _SKLU, _SCU, _SCLU, _P],
|
|
178
185
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0],
|
|
179
186
|
];
|
|
180
|
-
export var DescribeLunaClientRequest = [3, n0, _DLCRes, 0, [_CA, _CF], [0, 0]];
|
|
181
|
-
export var DescribeLunaClientResponse = [
|
|
187
|
+
export var DescribeLunaClientRequest$ = [3, n0, _DLCRes, 0, [_CA, _CF], [0, 0]];
|
|
188
|
+
export var DescribeLunaClientResponse$ = [
|
|
182
189
|
3,
|
|
183
190
|
n0,
|
|
184
191
|
_DLCResc,
|
|
@@ -186,23 +193,23 @@ export var DescribeLunaClientResponse = [
|
|
|
186
193
|
[_CA, _C, _CF, _LMT, _L],
|
|
187
194
|
[0, 0, 0, 0, 0],
|
|
188
195
|
];
|
|
189
|
-
export var GetConfigRequest = [3, n0, _GCR, 0, [_CA, _CV, _HL], [0, 0, 64 | 0]];
|
|
190
|
-
export var GetConfigResponse = [3, n0, _GCRe, 0, [_CTo, _CFo, _CC], [0, 0, 0]];
|
|
191
|
-
export var InvalidRequestException = [-3, n0, _IRE, { [_e]: _c }, [_m, _r], [0, 2]];
|
|
192
|
-
TypeRegistry.for(n0).registerError(InvalidRequestException
|
|
193
|
-
export var ListAvailableZonesRequest = [3, n0, _LAZR, 0, [], []];
|
|
194
|
-
export var ListAvailableZonesResponse = [3, n0, _LAZRi, 0, [_AZL], [64 | 0]];
|
|
195
|
-
export var ListHapgsRequest = [3, n0, _LHR, 0, [_NT], [0]];
|
|
196
|
-
export var ListHapgsResponse = [3, n0, _LHRi, 0, [_HL, _NT], [64 | 0, 0]];
|
|
197
|
-
export var ListHsmsRequest = [3, n0, _LHRis, 0, [_NT], [0]];
|
|
198
|
-
export var ListHsmsResponse = [3, n0, _LHRist, 0, [_HLs, _NT], [64 | 0, 0]];
|
|
199
|
-
export var ListLunaClientsRequest = [3, n0, _LLCR, 0, [_NT], [0]];
|
|
200
|
-
export var ListLunaClientsResponse = [3, n0, _LLCRi, 0, [_CL, _NT], [64 | 0, 0]];
|
|
201
|
-
export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [0]];
|
|
202
|
-
export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_TL], [() => TagList]];
|
|
203
|
-
export var ModifyHapgRequest = [3, n0, _MHR, 0, [_HA, _L, _PSL], [0, 0, 64 | 0]];
|
|
204
|
-
export var ModifyHapgResponse = [3, n0, _MHRo, 0, [_HA], [0]];
|
|
205
|
-
export var ModifyHsmRequest = [
|
|
196
|
+
export var GetConfigRequest$ = [3, n0, _GCR, 0, [_CA, _CV, _HL], [0, 0, 64 | 0]];
|
|
197
|
+
export var GetConfigResponse$ = [3, n0, _GCRe, 0, [_CTo, _CFo, _CC], [0, 0, 0]];
|
|
198
|
+
export var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c }, [_m, _r], [0, 2]];
|
|
199
|
+
TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
200
|
+
export var ListAvailableZonesRequest$ = [3, n0, _LAZR, 0, [], []];
|
|
201
|
+
export var ListAvailableZonesResponse$ = [3, n0, _LAZRi, 0, [_AZL], [64 | 0]];
|
|
202
|
+
export var ListHapgsRequest$ = [3, n0, _LHR, 0, [_NT], [0]];
|
|
203
|
+
export var ListHapgsResponse$ = [3, n0, _LHRi, 0, [_HL, _NT], [64 | 0, 0]];
|
|
204
|
+
export var ListHsmsRequest$ = [3, n0, _LHRis, 0, [_NT], [0]];
|
|
205
|
+
export var ListHsmsResponse$ = [3, n0, _LHRist, 0, [_HLs, _NT], [64 | 0, 0]];
|
|
206
|
+
export var ListLunaClientsRequest$ = [3, n0, _LLCR, 0, [_NT], [0]];
|
|
207
|
+
export var ListLunaClientsResponse$ = [3, n0, _LLCRi, 0, [_CL, _NT], [64 | 0, 0]];
|
|
208
|
+
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_RA], [0]];
|
|
209
|
+
export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_TL], [() => TagList]];
|
|
210
|
+
export var ModifyHapgRequest$ = [3, n0, _MHR, 0, [_HA, _L, _PSL], [0, 0, 64 | 0]];
|
|
211
|
+
export var ModifyHapgResponse$ = [3, n0, _MHRo, 0, [_HA], [0]];
|
|
212
|
+
export var ModifyHsmRequest$ = [
|
|
206
213
|
3,
|
|
207
214
|
n0,
|
|
208
215
|
_MHRod,
|
|
@@ -217,109 +224,116 @@ export var ModifyHsmRequest = [
|
|
|
217
224
|
[0, { [_xN]: _SIy }],
|
|
218
225
|
],
|
|
219
226
|
];
|
|
220
|
-
export var ModifyHsmResponse = [3, n0, _MHRodi, 0, [_HAs], [0]];
|
|
221
|
-
export var ModifyLunaClientRequest = [3, n0, _MLCR, 0, [_CA, _C], [0, 0]];
|
|
222
|
-
export var ModifyLunaClientResponse = [3, n0, _MLCRo, 0, [_CA], [0]];
|
|
223
|
-
export var RemoveTagsFromResourceRequest = [3, n0, _RTFRR, 0, [_RA, _TKL], [0, 64 | 0]];
|
|
224
|
-
export var RemoveTagsFromResourceResponse = [3, n0, _RTFRRe, 0, [_S], [0]];
|
|
225
|
-
export var Tag = [3, n0, _T, 0, [_K, _V], [0, 0]];
|
|
226
|
-
export var CloudHSMServiceException = [-3, _sm, "CloudHSMServiceException", 0, [], []];
|
|
227
|
-
TypeRegistry.for(_sm).registerError(CloudHSMServiceException
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
export var AddTagsToResource = [
|
|
227
|
+
export var ModifyHsmResponse$ = [3, n0, _MHRodi, 0, [_HAs], [0]];
|
|
228
|
+
export var ModifyLunaClientRequest$ = [3, n0, _MLCR, 0, [_CA, _C], [0, 0]];
|
|
229
|
+
export var ModifyLunaClientResponse$ = [3, n0, _MLCRo, 0, [_CA], [0]];
|
|
230
|
+
export var RemoveTagsFromResourceRequest$ = [3, n0, _RTFRR, 0, [_RA, _TKL], [0, 64 | 0]];
|
|
231
|
+
export var RemoveTagsFromResourceResponse$ = [3, n0, _RTFRRe, 0, [_S], [0]];
|
|
232
|
+
export var Tag$ = [3, n0, _T, 0, [_K, _V], [0, 0]];
|
|
233
|
+
export var CloudHSMServiceException$ = [-3, _sm, "CloudHSMServiceException", 0, [], []];
|
|
234
|
+
TypeRegistry.for(_sm).registerError(CloudHSMServiceException$, CloudHSMServiceException);
|
|
235
|
+
var AZList = 64 | 0;
|
|
236
|
+
var ClientList = 64 | 0;
|
|
237
|
+
var HapgList = 64 | 0;
|
|
238
|
+
var HsmList = 64 | 0;
|
|
239
|
+
var PartitionList = 64 | 0;
|
|
240
|
+
var PartitionSerialList = 64 | 0;
|
|
241
|
+
var TagKeyList = 64 | 0;
|
|
242
|
+
var TagList = [1, n0, _TL, 0, () => Tag$];
|
|
243
|
+
export var AddTagsToResource$ = [
|
|
237
244
|
9,
|
|
238
245
|
n0,
|
|
239
246
|
_ATTR,
|
|
240
247
|
0,
|
|
241
|
-
() => AddTagsToResourceRequest
|
|
242
|
-
() => AddTagsToResourceResponse
|
|
248
|
+
() => AddTagsToResourceRequest$,
|
|
249
|
+
() => AddTagsToResourceResponse$,
|
|
243
250
|
];
|
|
244
|
-
export var CreateHapg = [9, n0, _CH, 0, () => CreateHapgRequest
|
|
245
|
-
export var CreateHsm = [9, n0, _CHr, 0, () => CreateHsmRequest
|
|
246
|
-
export var CreateLunaClient = [
|
|
251
|
+
export var CreateHapg$ = [9, n0, _CH, 0, () => CreateHapgRequest$, () => CreateHapgResponse$];
|
|
252
|
+
export var CreateHsm$ = [9, n0, _CHr, 0, () => CreateHsmRequest$, () => CreateHsmResponse$];
|
|
253
|
+
export var CreateLunaClient$ = [
|
|
247
254
|
9,
|
|
248
255
|
n0,
|
|
249
256
|
_CLC,
|
|
250
257
|
0,
|
|
251
|
-
() => CreateLunaClientRequest
|
|
252
|
-
() => CreateLunaClientResponse
|
|
258
|
+
() => CreateLunaClientRequest$,
|
|
259
|
+
() => CreateLunaClientResponse$,
|
|
253
260
|
];
|
|
254
|
-
export var DeleteHapg = [9, n0, _DH, 0, () => DeleteHapgRequest
|
|
255
|
-
export var DeleteHsm = [9, n0, _DHe, 0, () => DeleteHsmRequest
|
|
256
|
-
export var DeleteLunaClient = [
|
|
261
|
+
export var DeleteHapg$ = [9, n0, _DH, 0, () => DeleteHapgRequest$, () => DeleteHapgResponse$];
|
|
262
|
+
export var DeleteHsm$ = [9, n0, _DHe, 0, () => DeleteHsmRequest$, () => DeleteHsmResponse$];
|
|
263
|
+
export var DeleteLunaClient$ = [
|
|
257
264
|
9,
|
|
258
265
|
n0,
|
|
259
266
|
_DLC,
|
|
260
267
|
0,
|
|
261
|
-
() => DeleteLunaClientRequest
|
|
262
|
-
() => DeleteLunaClientResponse
|
|
268
|
+
() => DeleteLunaClientRequest$,
|
|
269
|
+
() => DeleteLunaClientResponse$,
|
|
263
270
|
];
|
|
264
|
-
export var DescribeHapg = [
|
|
271
|
+
export var DescribeHapg$ = [
|
|
265
272
|
9,
|
|
266
273
|
n0,
|
|
267
274
|
_DHes,
|
|
268
275
|
0,
|
|
269
|
-
() => DescribeHapgRequest
|
|
270
|
-
() => DescribeHapgResponse
|
|
276
|
+
() => DescribeHapgRequest$,
|
|
277
|
+
() => DescribeHapgResponse$,
|
|
278
|
+
];
|
|
279
|
+
export var DescribeHsm$ = [
|
|
280
|
+
9,
|
|
281
|
+
n0,
|
|
282
|
+
_DHesc,
|
|
283
|
+
0,
|
|
284
|
+
() => DescribeHsmRequest$,
|
|
285
|
+
() => DescribeHsmResponse$,
|
|
271
286
|
];
|
|
272
|
-
export var
|
|
273
|
-
export var DescribeLunaClient = [
|
|
287
|
+
export var DescribeLunaClient$ = [
|
|
274
288
|
9,
|
|
275
289
|
n0,
|
|
276
290
|
_DLCe,
|
|
277
291
|
0,
|
|
278
|
-
() => DescribeLunaClientRequest
|
|
279
|
-
() => DescribeLunaClientResponse
|
|
292
|
+
() => DescribeLunaClientRequest$,
|
|
293
|
+
() => DescribeLunaClientResponse$,
|
|
280
294
|
];
|
|
281
|
-
export var GetConfig = [9, n0, _GC, 0, () => GetConfigRequest
|
|
282
|
-
export var ListAvailableZones = [
|
|
295
|
+
export var GetConfig$ = [9, n0, _GC, 0, () => GetConfigRequest$, () => GetConfigResponse$];
|
|
296
|
+
export var ListAvailableZones$ = [
|
|
283
297
|
9,
|
|
284
298
|
n0,
|
|
285
299
|
_LAZ,
|
|
286
300
|
0,
|
|
287
|
-
() => ListAvailableZonesRequest
|
|
288
|
-
() => ListAvailableZonesResponse
|
|
301
|
+
() => ListAvailableZonesRequest$,
|
|
302
|
+
() => ListAvailableZonesResponse$,
|
|
289
303
|
];
|
|
290
|
-
export var ListHapgs = [9, n0, _LH, 0, () => ListHapgsRequest
|
|
291
|
-
export var ListHsms = [9, n0, _LHi, 0, () => ListHsmsRequest
|
|
292
|
-
export var ListLunaClients = [
|
|
304
|
+
export var ListHapgs$ = [9, n0, _LH, 0, () => ListHapgsRequest$, () => ListHapgsResponse$];
|
|
305
|
+
export var ListHsms$ = [9, n0, _LHi, 0, () => ListHsmsRequest$, () => ListHsmsResponse$];
|
|
306
|
+
export var ListLunaClients$ = [
|
|
293
307
|
9,
|
|
294
308
|
n0,
|
|
295
309
|
_LLC,
|
|
296
310
|
0,
|
|
297
|
-
() => ListLunaClientsRequest
|
|
298
|
-
() => ListLunaClientsResponse
|
|
311
|
+
() => ListLunaClientsRequest$,
|
|
312
|
+
() => ListLunaClientsResponse$,
|
|
299
313
|
];
|
|
300
|
-
export var ListTagsForResource = [
|
|
314
|
+
export var ListTagsForResource$ = [
|
|
301
315
|
9,
|
|
302
316
|
n0,
|
|
303
317
|
_LTFR,
|
|
304
318
|
0,
|
|
305
|
-
() => ListTagsForResourceRequest
|
|
306
|
-
() => ListTagsForResourceResponse
|
|
319
|
+
() => ListTagsForResourceRequest$,
|
|
320
|
+
() => ListTagsForResourceResponse$,
|
|
307
321
|
];
|
|
308
|
-
export var ModifyHapg = [9, n0, _MH, 0, () => ModifyHapgRequest
|
|
309
|
-
export var ModifyHsm = [9, n0, _MHo, 0, () => ModifyHsmRequest
|
|
310
|
-
export var ModifyLunaClient = [
|
|
322
|
+
export var ModifyHapg$ = [9, n0, _MH, 0, () => ModifyHapgRequest$, () => ModifyHapgResponse$];
|
|
323
|
+
export var ModifyHsm$ = [9, n0, _MHo, 0, () => ModifyHsmRequest$, () => ModifyHsmResponse$];
|
|
324
|
+
export var ModifyLunaClient$ = [
|
|
311
325
|
9,
|
|
312
326
|
n0,
|
|
313
327
|
_MLC,
|
|
314
328
|
0,
|
|
315
|
-
() => ModifyLunaClientRequest
|
|
316
|
-
() => ModifyLunaClientResponse
|
|
329
|
+
() => ModifyLunaClientRequest$,
|
|
330
|
+
() => ModifyLunaClientResponse$,
|
|
317
331
|
];
|
|
318
|
-
export var RemoveTagsFromResource = [
|
|
332
|
+
export var RemoveTagsFromResource$ = [
|
|
319
333
|
9,
|
|
320
334
|
n0,
|
|
321
335
|
_RTFR,
|
|
322
336
|
0,
|
|
323
|
-
() => RemoveTagsFromResourceRequest
|
|
324
|
-
() => RemoveTagsFromResourceResponse
|
|
337
|
+
() => RemoveTagsFromResourceRequest$,
|
|
338
|
+
() => RemoveTagsFromResourceResponse$,
|
|
325
339
|
];
|