@aws-sdk/client-cloudhsm-v2 3.758.0 → 3.772.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 (2) hide show
  1. package/dist-cjs/index.js +20 -20
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  BackupPolicy: () => BackupPolicy,
25
25
  BackupRetentionType: () => BackupRetentionType,
26
26
  BackupState: () => BackupState,
@@ -61,7 +61,7 @@ __export(src_exports, {
61
61
  paginateDescribeClusters: () => paginateDescribeClusters,
62
62
  paginateListTags: () => paginateListTags
63
63
  });
64
- module.exports = __toCommonJS(src_exports);
64
+ module.exports = __toCommonJS(index_exports);
65
65
 
66
66
  // src/CloudHSMV2Client.ts
67
67
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -188,9 +188,9 @@ var CloudHSMV2Client = class extends import_smithy_client.Client {
188
188
  this.middlewareStack.use(
189
189
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
190
190
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCloudHSMV2HttpAuthSchemeParametersProvider,
191
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
191
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
192
192
  "aws.auth#sigv4": config.credentials
193
- })
193
+ }), "identityProviderConfigProvider")
194
194
  })
195
195
  );
196
196
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -864,9 +864,9 @@ var de_Backup = /* @__PURE__ */ __name((output, context) => {
864
864
  BackupId: import_smithy_client.expectString,
865
865
  BackupState: import_smithy_client.expectString,
866
866
  ClusterId: import_smithy_client.expectString,
867
- CopyTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
868
- CreateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
869
- DeleteTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
867
+ CopyTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CopyTimestamp"),
868
+ CreateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTimestamp"),
869
+ DeleteTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeleteTimestamp"),
870
870
  HsmType: import_smithy_client.expectString,
871
871
  Mode: import_smithy_client.expectString,
872
872
  NeverExpires: import_smithy_client.expectBoolean,
@@ -888,9 +888,9 @@ var de_Cluster = /* @__PURE__ */ __name((output, context) => {
888
888
  BackupRetentionPolicy: import_smithy_client._json,
889
889
  Certificates: import_smithy_client._json,
890
890
  ClusterId: import_smithy_client.expectString,
891
- CreateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
891
+ CreateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTimestamp"),
892
892
  HsmType: import_smithy_client.expectString,
893
- HsmTypeRollbackExpiration: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
893
+ HsmTypeRollbackExpiration: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "HsmTypeRollbackExpiration"),
894
894
  Hsms: import_smithy_client._json,
895
895
  Mode: import_smithy_client.expectString,
896
896
  NetworkType: import_smithy_client.expectString,
@@ -912,39 +912,39 @@ var de_Clusters = /* @__PURE__ */ __name((output, context) => {
912
912
  }, "de_Clusters");
913
913
  var de_CopyBackupToRegionResponse = /* @__PURE__ */ __name((output, context) => {
914
914
  return (0, import_smithy_client.take)(output, {
915
- DestinationBackup: (_) => de_DestinationBackup(_, context)
915
+ DestinationBackup: /* @__PURE__ */ __name((_) => de_DestinationBackup(_, context), "DestinationBackup")
916
916
  });
917
917
  }, "de_CopyBackupToRegionResponse");
918
918
  var de_CreateClusterResponse = /* @__PURE__ */ __name((output, context) => {
919
919
  return (0, import_smithy_client.take)(output, {
920
- Cluster: (_) => de_Cluster(_, context)
920
+ Cluster: /* @__PURE__ */ __name((_) => de_Cluster(_, context), "Cluster")
921
921
  });
922
922
  }, "de_CreateClusterResponse");
923
923
  var de_DeleteBackupResponse = /* @__PURE__ */ __name((output, context) => {
924
924
  return (0, import_smithy_client.take)(output, {
925
- Backup: (_) => de_Backup(_, context)
925
+ Backup: /* @__PURE__ */ __name((_) => de_Backup(_, context), "Backup")
926
926
  });
927
927
  }, "de_DeleteBackupResponse");
928
928
  var de_DeleteClusterResponse = /* @__PURE__ */ __name((output, context) => {
929
929
  return (0, import_smithy_client.take)(output, {
930
- Cluster: (_) => de_Cluster(_, context)
930
+ Cluster: /* @__PURE__ */ __name((_) => de_Cluster(_, context), "Cluster")
931
931
  });
932
932
  }, "de_DeleteClusterResponse");
933
933
  var de_DescribeBackupsResponse = /* @__PURE__ */ __name((output, context) => {
934
934
  return (0, import_smithy_client.take)(output, {
935
- Backups: (_) => de_Backups(_, context),
935
+ Backups: /* @__PURE__ */ __name((_) => de_Backups(_, context), "Backups"),
936
936
  NextToken: import_smithy_client.expectString
937
937
  });
938
938
  }, "de_DescribeBackupsResponse");
939
939
  var de_DescribeClustersResponse = /* @__PURE__ */ __name((output, context) => {
940
940
  return (0, import_smithy_client.take)(output, {
941
- Clusters: (_) => de_Clusters(_, context),
941
+ Clusters: /* @__PURE__ */ __name((_) => de_Clusters(_, context), "Clusters"),
942
942
  NextToken: import_smithy_client.expectString
943
943
  });
944
944
  }, "de_DescribeClustersResponse");
945
945
  var de_DestinationBackup = /* @__PURE__ */ __name((output, context) => {
946
946
  return (0, import_smithy_client.take)(output, {
947
- CreateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
947
+ CreateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTimestamp"),
948
948
  SourceBackup: import_smithy_client.expectString,
949
949
  SourceCluster: import_smithy_client.expectString,
950
950
  SourceRegion: import_smithy_client.expectString
@@ -952,17 +952,17 @@ var de_DestinationBackup = /* @__PURE__ */ __name((output, context) => {
952
952
  }, "de_DestinationBackup");
953
953
  var de_ModifyBackupAttributesResponse = /* @__PURE__ */ __name((output, context) => {
954
954
  return (0, import_smithy_client.take)(output, {
955
- Backup: (_) => de_Backup(_, context)
955
+ Backup: /* @__PURE__ */ __name((_) => de_Backup(_, context), "Backup")
956
956
  });
957
957
  }, "de_ModifyBackupAttributesResponse");
958
958
  var de_ModifyClusterResponse = /* @__PURE__ */ __name((output, context) => {
959
959
  return (0, import_smithy_client.take)(output, {
960
- Cluster: (_) => de_Cluster(_, context)
960
+ Cluster: /* @__PURE__ */ __name((_) => de_Cluster(_, context), "Cluster")
961
961
  });
962
962
  }, "de_ModifyClusterResponse");
963
963
  var de_RestoreBackupResponse = /* @__PURE__ */ __name((output, context) => {
964
964
  return (0, import_smithy_client.take)(output, {
965
- Backup: (_) => de_Backup(_, context)
965
+ Backup: /* @__PURE__ */ __name((_) => de_Backup(_, context), "Backup")
966
966
  });
967
967
  }, "de_RestoreBackupResponse");
968
968
  var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudhsm-v2",
3
3
  "description": "AWS SDK for JavaScript Cloudhsm V2 Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudhsm-v2",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",