@aws-sdk/client-cloudhsm-v2 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.
Files changed (38) hide show
  1. package/dist-cjs/index.js +224 -155
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/CopyBackupToRegionCommand.js +2 -2
  4. package/dist-es/commands/CreateClusterCommand.js +2 -2
  5. package/dist-es/commands/CreateHsmCommand.js +2 -2
  6. package/dist-es/commands/DeleteBackupCommand.js +2 -2
  7. package/dist-es/commands/DeleteClusterCommand.js +2 -2
  8. package/dist-es/commands/DeleteHsmCommand.js +2 -2
  9. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  10. package/dist-es/commands/DescribeBackupsCommand.js +2 -2
  11. package/dist-es/commands/DescribeClustersCommand.js +2 -2
  12. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  13. package/dist-es/commands/InitializeClusterCommand.js +2 -2
  14. package/dist-es/commands/ListTagsCommand.js +2 -2
  15. package/dist-es/commands/ModifyBackupAttributesCommand.js +2 -2
  16. package/dist-es/commands/ModifyClusterCommand.js +2 -2
  17. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  18. package/dist-es/commands/RestoreBackupCommand.js +2 -2
  19. package/dist-es/commands/TagResourceCommand.js +2 -2
  20. package/dist-es/commands/UntagResourceCommand.js +2 -2
  21. package/dist-es/index.js +1 -0
  22. package/dist-es/runtimeConfig.shared.js +6 -6
  23. package/dist-es/schemas/schemas_0.js +120 -120
  24. package/dist-types/CloudHSMV2Client.d.ts +1 -10
  25. package/dist-types/index.d.ts +1 -0
  26. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  27. package/dist-types/runtimeConfig.d.ts +6 -2
  28. package/dist-types/runtimeConfig.native.d.ts +6 -2
  29. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  30. package/dist-types/schemas/schemas_0.d.ts +70 -79
  31. package/dist-types/ts3.4/CloudHSMV2Client.d.ts +0 -4
  32. package/dist-types/ts3.4/index.d.ts +1 -0
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  36. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +69 -80
  38. package/package.json +34 -34
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_1Protocol({
31
- defaultNamespace: "com.amazonaws.cloudhsmv2",
32
- serviceTarget: "BaldrApiService",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.cloudhsmv2",
32
+ version: "2017-04-28",
33
+ serviceTarget: "BaldrApiService",
34
+ },
35
35
  serviceId: config?.serviceId ?? "CloudHSM V2",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -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 { CopyBackupToRegion } from "../schemas/schemas_0";
4
+ import { CopyBackupToRegion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CopyBackupToRegionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CopyBackupToRegionCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "CopyBackupToRegion", {})
13
13
  .n("CloudHSMV2Client", "CopyBackupToRegionCommand")
14
- .sc(CopyBackupToRegion)
14
+ .sc(CopyBackupToRegion$)
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 { CreateCluster } from "../schemas/schemas_0";
4
+ import { CreateCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateClusterCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "CreateCluster", {})
13
13
  .n("CloudHSMV2Client", "CreateClusterCommand")
14
- .sc(CreateCluster)
14
+ .sc(CreateCluster$)
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 { 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("BaldrApiService", "CreateHsm", {})
13
13
  .n("CloudHSMV2Client", "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 { DeleteBackup } from "../schemas/schemas_0";
4
+ import { DeleteBackup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteBackupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteBackupCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "DeleteBackup", {})
13
13
  .n("CloudHSMV2Client", "DeleteBackupCommand")
14
- .sc(DeleteBackup)
14
+ .sc(DeleteBackup$)
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 { DeleteCluster } from "../schemas/schemas_0";
4
+ import { DeleteCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteClusterCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "DeleteCluster", {})
13
13
  .n("CloudHSMV2Client", "DeleteClusterCommand")
14
- .sc(DeleteCluster)
14
+ .sc(DeleteCluster$)
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("BaldrApiService", "DeleteHsm", {})
13
13
  .n("CloudHSMV2Client", "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 { DeleteResourcePolicy } from "../schemas/schemas_0";
4
+ import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "DeleteResourcePolicy", {})
13
13
  .n("CloudHSMV2Client", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy)
14
+ .sc(DeleteResourcePolicy$)
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 { DescribeBackups } from "../schemas/schemas_0";
4
+ import { DescribeBackups$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeBackupsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeBackupsCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "DescribeBackups", {})
13
13
  .n("CloudHSMV2Client", "DescribeBackupsCommand")
14
- .sc(DescribeBackups)
14
+ .sc(DescribeBackups$)
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 { DescribeClusters } from "../schemas/schemas_0";
4
+ import { DescribeClusters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeClustersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeClustersCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "DescribeClusters", {})
13
13
  .n("CloudHSMV2Client", "DescribeClustersCommand")
14
- .sc(DescribeClusters)
14
+ .sc(DescribeClusters$)
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 { GetResourcePolicy } from "../schemas/schemas_0";
4
+ import { GetResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "GetResourcePolicy", {})
13
13
  .n("CloudHSMV2Client", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy)
14
+ .sc(GetResourcePolicy$)
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 { InitializeCluster } from "../schemas/schemas_0";
4
+ import { InitializeCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class InitializeClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class InitializeClusterCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "InitializeCluster", {})
13
13
  .n("CloudHSMV2Client", "InitializeClusterCommand")
14
- .sc(InitializeCluster)
14
+ .sc(InitializeCluster$)
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 { ListTags } from "../schemas/schemas_0";
4
+ import { ListTags$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "ListTags", {})
13
13
  .n("CloudHSMV2Client", "ListTagsCommand")
14
- .sc(ListTags)
14
+ .sc(ListTags$)
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 { ModifyBackupAttributes } from "../schemas/schemas_0";
4
+ import { ModifyBackupAttributes$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ModifyBackupAttributesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ModifyBackupAttributesCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "ModifyBackupAttributes", {})
13
13
  .n("CloudHSMV2Client", "ModifyBackupAttributesCommand")
14
- .sc(ModifyBackupAttributes)
14
+ .sc(ModifyBackupAttributes$)
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 { ModifyCluster } from "../schemas/schemas_0";
4
+ import { ModifyCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ModifyClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ModifyClusterCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "ModifyCluster", {})
13
13
  .n("CloudHSMV2Client", "ModifyClusterCommand")
14
- .sc(ModifyCluster)
14
+ .sc(ModifyCluster$)
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 { PutResourcePolicy } from "../schemas/schemas_0";
4
+ import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "PutResourcePolicy", {})
13
13
  .n("CloudHSMV2Client", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy)
14
+ .sc(PutResourcePolicy$)
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 { RestoreBackup } from "../schemas/schemas_0";
4
+ import { RestoreBackup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RestoreBackupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RestoreBackupCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "RestoreBackup", {})
13
13
  .n("CloudHSMV2Client", "RestoreBackupCommand")
14
- .sc(RestoreBackup)
14
+ .sc(RestoreBackup$)
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 { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "TagResource", {})
13
13
  .n("CloudHSMV2Client", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
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 { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("BaldrApiService", "UntagResource", {})
13
13
  .n("CloudHSMV2Client", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./CloudHSMV2Client";
2
2
  export * from "./CloudHSMV2";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.cloudhsmv2",
29
- serviceTarget: "BaldrApiService",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.cloudhsmv2",
29
+ version: "2017-04-28",
30
+ serviceTarget: "BaldrApiService",
31
+ },
32
32
  serviceId: config?.serviceId ?? "CloudHSM V2",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,