@aws-sdk/client-cloudhsm 3.395.0 → 3.404.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 (33) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/runtimeExtensions.js +5 -5
  3. package/dist-es/endpoint/ruleset.js +3 -3
  4. package/dist-es/runtimeExtensions.js +5 -5
  5. package/dist-types/commands/AddTagsToResourceCommand.d.ts +2 -0
  6. package/dist-types/commands/CreateHapgCommand.d.ts +2 -0
  7. package/dist-types/commands/CreateHsmCommand.d.ts +3 -1
  8. package/dist-types/commands/CreateLunaClientCommand.d.ts +2 -0
  9. package/dist-types/commands/DeleteHapgCommand.d.ts +2 -0
  10. package/dist-types/commands/DeleteHsmCommand.d.ts +2 -0
  11. package/dist-types/commands/DeleteLunaClientCommand.d.ts +2 -0
  12. package/dist-types/commands/DescribeHapgCommand.d.ts +3 -1
  13. package/dist-types/commands/DescribeHsmCommand.d.ts +4 -2
  14. package/dist-types/commands/DescribeLunaClientCommand.d.ts +2 -0
  15. package/dist-types/commands/GetConfigCommand.d.ts +3 -1
  16. package/dist-types/commands/ListAvailableZonesCommand.d.ts +2 -0
  17. package/dist-types/commands/ListHapgsCommand.d.ts +2 -0
  18. package/dist-types/commands/ListHsmsCommand.d.ts +2 -0
  19. package/dist-types/commands/ListLunaClientsCommand.d.ts +2 -0
  20. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  21. package/dist-types/commands/ModifyHapgCommand.d.ts +2 -0
  22. package/dist-types/commands/ModifyHsmCommand.d.ts +2 -0
  23. package/dist-types/commands/ModifyLunaClientCommand.d.ts +2 -0
  24. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +2 -0
  25. package/dist-types/extensionConfiguration.d.ts +6 -0
  26. package/dist-types/runtimeExtensions.d.ts +2 -2
  27. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
  28. package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -2
  29. package/package.json +29 -29
  30. package/dist-types/clientConfiguration.d.ts +0 -6
  31. package/dist-types/ts3.4/clientConfiguration.d.ts +0 -3
  32. /package/dist-cjs/{clientConfiguration.js → extensionConfiguration.js} +0 -0
  33. /package/dist-es/{clientConfiguration.js → extensionConfiguration.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://cloudhsm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudhsm-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://cloudhsm.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudhsm.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://cloudhsm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://cloudhsm-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://cloudhsm.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudhsm.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
- const types_1 = require("@smithy/types");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const asPartial = (t) => t;
6
6
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const clientConfiguration = {
8
- ...asPartial((0, types_1.getDefaultClientConfiguration)(runtimeConfig)),
7
+ const extensionConfiguration = {
8
+ ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
9
9
  };
10
- extensions.forEach((extension) => extension.configureClient(clientConfiguration));
10
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
11
  return {
12
12
  ...runtimeConfig,
13
- ...(0, types_1.resolveDefaultRuntimeConfig)(clientConfiguration),
13
+ ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
14
14
  };
15
15
  };
16
16
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://cloudhsm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudhsm-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://cloudhsm.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudhsm.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://cloudhsm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://cloudhsm-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://cloudhsm.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudhsm.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -1,12 +1,12 @@
1
- import { getDefaultClientConfiguration, resolveDefaultRuntimeConfig } from "@smithy/types";
1
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
2
  const asPartial = (t) => t;
3
3
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4
- const clientConfiguration = {
5
- ...asPartial(getDefaultClientConfiguration(runtimeConfig)),
4
+ const extensionConfiguration = {
5
+ ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
6
6
  };
7
- extensions.forEach((extension) => extension.configureClient(clientConfiguration));
7
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
8
  return {
9
9
  ...runtimeConfig,
10
- ...resolveDefaultRuntimeConfig(clientConfiguration),
10
+ ...resolveDefaultRuntimeConfig(extensionConfiguration),
11
11
  };
12
12
  };
@@ -23,6 +23,8 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceRespons
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface CreateHapgCommandOutput extends CreateHapgResponse, __MetadataB
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -55,7 +57,7 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea
55
57
  * EniIp: "STRING_VALUE",
56
58
  * IamRoleArn: "STRING_VALUE", // required
57
59
  * ExternalId: "STRING_VALUE",
58
- * SubscriptionType: "STRING_VALUE", // required
60
+ * SubscriptionType: "PRODUCTION", // required
59
61
  * ClientToken: "STRING_VALUE",
60
62
  * SyslogIp: "STRING_VALUE",
61
63
  * };
@@ -23,6 +23,8 @@ export interface CreateLunaClientCommandOutput extends CreateLunaClientResponse,
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface DeleteHapgCommandOutput extends DeleteHapgResponse, __MetadataB
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface DeleteHsmCommandOutput extends DeleteHsmResponse, __MetadataBea
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface DeleteLunaClientCommandOutput extends DeleteLunaClientResponse,
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface DescribeHapgCommandOutput extends DescribeHapgResponse, __Metad
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -62,7 +64,7 @@ export interface DescribeHapgCommandOutput extends DescribeHapgResponse, __Metad
62
64
  * // PartitionSerialList: [ // PartitionSerialList
63
65
  * // "STRING_VALUE",
64
66
  * // ],
65
- * // State: "STRING_VALUE",
67
+ * // State: "READY" || "UPDATING" || "DEGRADED",
66
68
  * // };
67
69
  *
68
70
  * ```
@@ -23,6 +23,8 @@ export interface DescribeHsmCommandOutput extends DescribeHsmResponse, __Metadat
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -49,12 +51,12 @@ export interface DescribeHsmCommandOutput extends DescribeHsmResponse, __Metadat
49
51
  * const response = await client.send(command);
50
52
  * // { // DescribeHsmResponse
51
53
  * // HsmArn: "STRING_VALUE",
52
- * // Status: "STRING_VALUE",
54
+ * // Status: "PENDING" || "RUNNING" || "UPDATING" || "SUSPENDED" || "TERMINATING" || "TERMINATED" || "DEGRADED",
53
55
  * // StatusDetails: "STRING_VALUE",
54
56
  * // AvailabilityZone: "STRING_VALUE",
55
57
  * // EniId: "STRING_VALUE",
56
58
  * // EniIp: "STRING_VALUE",
57
- * // SubscriptionType: "STRING_VALUE",
59
+ * // SubscriptionType: "PRODUCTION",
58
60
  * // SubscriptionStartDate: "STRING_VALUE",
59
61
  * // SubscriptionEndDate: "STRING_VALUE",
60
62
  * // VpcId: "STRING_VALUE",
@@ -23,6 +23,8 @@ export interface DescribeLunaClientCommandOutput extends DescribeLunaClientRespo
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface GetConfigCommandOutput extends GetConfigResponse, __MetadataBea
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -43,7 +45,7 @@ export interface GetConfigCommandOutput extends GetConfigResponse, __MetadataBea
43
45
  * const client = new CloudHSMClient(config);
44
46
  * const input = { // GetConfigRequest
45
47
  * ClientArn: "STRING_VALUE", // required
46
- * ClientVersion: "STRING_VALUE", // required
48
+ * ClientVersion: "5.1" || "5.3", // required
47
49
  * HapgList: [ // HapgList // required
48
50
  * "STRING_VALUE",
49
51
  * ],
@@ -23,6 +23,8 @@ export interface ListAvailableZonesCommandOutput extends ListAvailableZonesRespo
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface ListHapgsCommandOutput extends ListHapgsResponse, __MetadataBea
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface ListHsmsCommandOutput extends ListHsmsResponse, __MetadataBeare
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface ListLunaClientsCommandOutput extends ListLunaClientsResponse, _
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface ModifyHapgCommandOutput extends ModifyHapgResponse, __MetadataB
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface ModifyHsmCommandOutput extends ModifyHsmResponse, __MetadataBea
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface ModifyLunaClientCommandOutput extends ModifyLunaClientResponse,
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -23,6 +23,8 @@ export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResou
23
23
  }
24
24
  /**
25
25
  * @public
26
+ * @deprecated
27
+ *
26
28
  * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
27
29
  * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
28
30
  * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
@@ -0,0 +1,6 @@
1
+ import { DefaultExtensionConfiguration } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export interface CloudHSMExtensionConfiguration extends DefaultExtensionConfiguration {
6
+ }
@@ -1,9 +1,9 @@
1
- import { CloudHSMClientConfiguration } from "./clientConfiguration";
1
+ import { CloudHSMExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
5
5
  export interface RuntimeExtension {
6
- configureClient(clientConfiguration: CloudHSMClientConfiguration): void;
6
+ configure(clientConfiguration: CloudHSMExtensionConfiguration): void;
7
7
  }
8
8
  /**
9
9
  * @public
@@ -0,0 +1,3 @@
1
+ import { DefaultExtensionConfiguration } from "@smithy/types";
2
+ export interface CloudHSMExtensionConfiguration
3
+ extends DefaultExtensionConfiguration {}
@@ -1,6 +1,6 @@
1
- import { CloudHSMClientConfiguration } from "./clientConfiguration";
1
+ import { CloudHSMExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configureClient(clientConfiguration: CloudHSMClientConfiguration): void;
3
+ configure(clientConfiguration: CloudHSMExtensionConfiguration): void;
4
4
  }
5
5
  export interface RuntimeExtensionsConfig {
6
6
  extensions: RuntimeExtension[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudhsm",
3
3
  "description": "AWS SDK for JavaScript Cloudhsm Client for Node.js, Browser and React Native",
4
- "version": "3.395.0",
4
+ "version": "3.404.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.395.0",
25
- "@aws-sdk/credential-provider-node": "3.395.0",
26
- "@aws-sdk/middleware-host-header": "3.391.0",
27
- "@aws-sdk/middleware-logger": "3.391.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.391.0",
29
- "@aws-sdk/middleware-signing": "3.391.0",
30
- "@aws-sdk/middleware-user-agent": "3.391.0",
31
- "@aws-sdk/types": "3.391.0",
32
- "@aws-sdk/util-endpoints": "3.391.0",
33
- "@aws-sdk/util-user-agent-browser": "3.391.0",
34
- "@aws-sdk/util-user-agent-node": "3.391.0",
35
- "@smithy/config-resolver": "^2.0.3",
36
- "@smithy/fetch-http-handler": "^2.0.3",
37
- "@smithy/hash-node": "^2.0.3",
38
- "@smithy/invalid-dependency": "^2.0.3",
39
- "@smithy/middleware-content-length": "^2.0.3",
40
- "@smithy/middleware-endpoint": "^2.0.3",
41
- "@smithy/middleware-retry": "^2.0.3",
42
- "@smithy/middleware-serde": "^2.0.3",
24
+ "@aws-sdk/client-sts": "3.398.0",
25
+ "@aws-sdk/credential-provider-node": "3.398.0",
26
+ "@aws-sdk/middleware-host-header": "3.398.0",
27
+ "@aws-sdk/middleware-logger": "3.398.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.398.0",
29
+ "@aws-sdk/middleware-signing": "3.398.0",
30
+ "@aws-sdk/middleware-user-agent": "3.398.0",
31
+ "@aws-sdk/types": "3.398.0",
32
+ "@aws-sdk/util-endpoints": "3.398.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.398.0",
34
+ "@aws-sdk/util-user-agent-node": "3.398.0",
35
+ "@smithy/config-resolver": "^2.0.5",
36
+ "@smithy/fetch-http-handler": "^2.0.5",
37
+ "@smithy/hash-node": "^2.0.5",
38
+ "@smithy/invalid-dependency": "^2.0.5",
39
+ "@smithy/middleware-content-length": "^2.0.5",
40
+ "@smithy/middleware-endpoint": "^2.0.5",
41
+ "@smithy/middleware-retry": "^2.0.5",
42
+ "@smithy/middleware-serde": "^2.0.5",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.3",
45
- "@smithy/node-http-handler": "^2.0.3",
46
- "@smithy/protocol-http": "^2.0.3",
47
- "@smithy/smithy-client": "^2.0.3",
48
- "@smithy/types": "^2.2.0",
49
- "@smithy/url-parser": "^2.0.3",
44
+ "@smithy/node-config-provider": "^2.0.5",
45
+ "@smithy/node-http-handler": "^2.0.5",
46
+ "@smithy/protocol-http": "^2.0.5",
47
+ "@smithy/smithy-client": "^2.0.5",
48
+ "@smithy/types": "^2.2.2",
49
+ "@smithy/url-parser": "^2.0.5",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
- "@smithy/util-body-length-node": "^2.0.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.3",
54
- "@smithy/util-defaults-mode-node": "^2.0.3",
52
+ "@smithy/util-body-length-node": "^2.1.0",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.5",
54
+ "@smithy/util-defaults-mode-node": "^2.0.5",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "tslib": "^2.5.0"
@@ -1,6 +0,0 @@
1
- import { DefaultClientConfiguration } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface CloudHSMClientConfiguration extends DefaultClientConfiguration {
6
- }
@@ -1,3 +0,0 @@
1
- import { DefaultClientConfiguration } from "@smithy/types";
2
- export interface CloudHSMClientConfiguration
3
- extends DefaultClientConfiguration {}