@aws-sdk/client-payment-cryptography 3.887.0 → 3.888.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/README.md CHANGED
@@ -274,6 +274,14 @@ GetAlias
274
274
 
275
275
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/payment-cryptography/command/GetAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-payment-cryptography/Interface/GetAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-payment-cryptography/Interface/GetAliasCommandOutput/)
276
276
 
277
+ </details>
278
+ <details>
279
+ <summary>
280
+ GetCertificateSigningRequest
281
+ </summary>
282
+
283
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/payment-cryptography/command/GetCertificateSigningRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-payment-cryptography/Interface/GetCertificateSigningRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-payment-cryptography/Interface/GetCertificateSigningRequestCommandOutput/)
284
+
277
285
  </details>
278
286
  <details>
279
287
  <summary>
package/dist-cjs/index.js CHANGED
@@ -41,6 +41,8 @@ __export(index_exports, {
41
41
  ExportTr31KeyBlockFilterSensitiveLog: () => ExportTr31KeyBlockFilterSensitiveLog,
42
42
  ExportTr34KeyBlockFilterSensitiveLog: () => ExportTr34KeyBlockFilterSensitiveLog,
43
43
  GetAliasCommand: () => GetAliasCommand,
44
+ GetCertificateSigningRequestCommand: () => GetCertificateSigningRequestCommand,
45
+ GetCertificateSigningRequestOutputFilterSensitiveLog: () => GetCertificateSigningRequestOutputFilterSensitiveLog,
44
46
  GetDefaultKeyReplicationRegionsCommand: () => GetDefaultKeyReplicationRegionsCommand,
45
47
  GetKeyCommand: () => GetKeyCommand,
46
48
  GetParametersForExportCommand: () => GetParametersForExportCommand,
@@ -79,6 +81,7 @@ __export(index_exports, {
79
81
  RestoreKeyCommand: () => RestoreKeyCommand,
80
82
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
81
83
  ServiceUnavailableException: () => ServiceUnavailableException,
84
+ SigningAlgorithmType: () => SigningAlgorithmType,
82
85
  StartKeyUsageCommand: () => StartKeyUsageCommand,
83
86
  StopKeyUsageCommand: () => StopKeyUsageCommand,
84
87
  SymmetricKeyAlgorithm: () => SymmetricKeyAlgorithm,
@@ -585,6 +588,12 @@ var WrappedKeyMaterialFormat = {
585
588
  TR31_KEY_BLOCK: "TR31_KEY_BLOCK",
586
589
  TR34_KEY_BLOCK: "TR34_KEY_BLOCK"
587
590
  };
591
+ var SigningAlgorithmType = {
592
+ SHA224: "SHA224",
593
+ SHA256: "SHA256",
594
+ SHA384: "SHA384",
595
+ SHA512: "SHA512"
596
+ };
588
597
  var KeyMaterialType = {
589
598
  KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM",
590
599
  ROOT_PUBLIC_KEY_CERTIFICATE: "ROOT_PUBLIC_KEY_CERTIFICATE",
@@ -646,6 +655,10 @@ var ExportKeyOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
646
655
  ...obj,
647
656
  ...obj.WrappedKey && { WrappedKey: WrappedKeyFilterSensitiveLog(obj.WrappedKey) }
648
657
  }), "ExportKeyOutputFilterSensitiveLog");
658
+ var GetCertificateSigningRequestOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
659
+ ...obj,
660
+ ...obj.CertificateSigningRequest && { CertificateSigningRequest: import_smithy_client.SENSITIVE_STRING }
661
+ }), "GetCertificateSigningRequestOutputFilterSensitiveLog");
649
662
  var ImportDiffieHellmanTr31KeyBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
650
663
  ...obj,
651
664
  ...obj.DerivationData && { DerivationData: obj.DerivationData },
@@ -737,6 +750,12 @@ var se_GetAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
737
750
  body = JSON.stringify((0, import_smithy_client._json)(input));
738
751
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
739
752
  }, "se_GetAliasCommand");
753
+ var se_GetCertificateSigningRequestCommand = /* @__PURE__ */ __name(async (input, context) => {
754
+ const headers = sharedHeaders("GetCertificateSigningRequest");
755
+ let body;
756
+ body = JSON.stringify((0, import_smithy_client._json)(input));
757
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
758
+ }, "se_GetCertificateSigningRequestCommand");
740
759
  var se_GetDefaultKeyReplicationRegionsCommand = /* @__PURE__ */ __name(async (input, context) => {
741
760
  const headers = sharedHeaders("GetDefaultKeyReplicationRegions");
742
761
  let body;
@@ -950,6 +969,19 @@ var de_GetAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
950
969
  };
951
970
  return response;
952
971
  }, "de_GetAliasCommand");
972
+ var de_GetCertificateSigningRequestCommand = /* @__PURE__ */ __name(async (output, context) => {
973
+ if (output.statusCode >= 300) {
974
+ return de_CommandError(output, context);
975
+ }
976
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
977
+ let contents = {};
978
+ contents = (0, import_smithy_client._json)(data);
979
+ const response = {
980
+ $metadata: deserializeMetadata(output),
981
+ ...contents
982
+ };
983
+ return response;
984
+ }, "de_GetCertificateSigningRequestCommand");
953
985
  var de_GetDefaultKeyReplicationRegionsCommand = /* @__PURE__ */ __name(async (output, context) => {
954
986
  if (output.statusCode >= 300) {
955
987
  return de_CommandError(output, context);
@@ -1520,6 +1552,21 @@ var GetAliasCommand = class extends import_smithy_client.Command.classBuilder().
1520
1552
  }
1521
1553
  };
1522
1554
 
1555
+ // src/commands/GetCertificateSigningRequestCommand.ts
1556
+
1557
+
1558
+
1559
+ var GetCertificateSigningRequestCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1560
+ return [
1561
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1562
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1563
+ ];
1564
+ }).s("PaymentCryptographyControlPlane", "GetCertificateSigningRequest", {}).n("PaymentCryptographyClient", "GetCertificateSigningRequestCommand").f(void 0, GetCertificateSigningRequestOutputFilterSensitiveLog).ser(se_GetCertificateSigningRequestCommand).de(de_GetCertificateSigningRequestCommand).build() {
1565
+ static {
1566
+ __name(this, "GetCertificateSigningRequestCommand");
1567
+ }
1568
+ };
1569
+
1523
1570
  // src/commands/GetDefaultKeyReplicationRegionsCommand.ts
1524
1571
 
1525
1572
 
@@ -1771,6 +1818,7 @@ var commands = {
1771
1818
  EnableDefaultKeyReplicationRegionsCommand,
1772
1819
  ExportKeyCommand,
1773
1820
  GetAliasCommand,
1821
+ GetCertificateSigningRequestCommand,
1774
1822
  GetDefaultKeyReplicationRegionsCommand,
1775
1823
  GetKeyCommand,
1776
1824
  GetParametersForExportCommand,
@@ -1823,6 +1871,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(PaymentCrypto
1823
1871
  EnableDefaultKeyReplicationRegionsCommand,
1824
1872
  ExportKeyCommand,
1825
1873
  GetAliasCommand,
1874
+ GetCertificateSigningRequestCommand,
1826
1875
  GetDefaultKeyReplicationRegionsCommand,
1827
1876
  GetKeyCommand,
1828
1877
  GetParametersForExportCommand,
@@ -1868,6 +1917,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(PaymentCrypto
1868
1917
  Tr34KeyBlockFormat,
1869
1918
  ExportKeyMaterial,
1870
1919
  WrappedKeyMaterialFormat,
1920
+ SigningAlgorithmType,
1871
1921
  KeyMaterialType,
1872
1922
  ImportKeyMaterial,
1873
1923
  KeyBlockHeadersFilterSensitiveLog,
@@ -1878,6 +1928,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(PaymentCrypto
1878
1928
  ExportKeyInputFilterSensitiveLog,
1879
1929
  WrappedKeyFilterSensitiveLog,
1880
1930
  ExportKeyOutputFilterSensitiveLog,
1931
+ GetCertificateSigningRequestOutputFilterSensitiveLog,
1881
1932
  ImportDiffieHellmanTr31KeyBlockFilterSensitiveLog,
1882
1933
  ImportKeyCryptogramFilterSensitiveLog,
1883
1934
  ImportTr31KeyBlockFilterSensitiveLog,
@@ -8,6 +8,7 @@ import { DisableDefaultKeyReplicationRegionsCommand, } from "./commands/DisableD
8
8
  import { EnableDefaultKeyReplicationRegionsCommand, } from "./commands/EnableDefaultKeyReplicationRegionsCommand";
9
9
  import { ExportKeyCommand } from "./commands/ExportKeyCommand";
10
10
  import { GetAliasCommand } from "./commands/GetAliasCommand";
11
+ import { GetCertificateSigningRequestCommand, } from "./commands/GetCertificateSigningRequestCommand";
11
12
  import { GetDefaultKeyReplicationRegionsCommand, } from "./commands/GetDefaultKeyReplicationRegionsCommand";
12
13
  import { GetKeyCommand } from "./commands/GetKeyCommand";
13
14
  import { GetParametersForExportCommand, } from "./commands/GetParametersForExportCommand";
@@ -35,6 +36,7 @@ const commands = {
35
36
  EnableDefaultKeyReplicationRegionsCommand,
36
37
  ExportKeyCommand,
37
38
  GetAliasCommand,
39
+ GetCertificateSigningRequestCommand,
38
40
  GetDefaultKeyReplicationRegionsCommand,
39
41
  GetKeyCommand,
40
42
  GetParametersForExportCommand,
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetCertificateSigningRequestOutputFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_GetCertificateSigningRequestCommand, se_GetCertificateSigningRequestCommand, } from "../protocols/Aws_json1_0";
7
+ export { $Command };
8
+ export class GetCertificateSigningRequestCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("PaymentCryptographyControlPlane", "GetCertificateSigningRequest", {})
18
+ .n("PaymentCryptographyClient", "GetCertificateSigningRequestCommand")
19
+ .f(void 0, GetCertificateSigningRequestOutputFilterSensitiveLog)
20
+ .ser(se_GetCertificateSigningRequestCommand)
21
+ .de(de_GetCertificateSigningRequestCommand)
22
+ .build() {
23
+ }
@@ -7,6 +7,7 @@ export * from "./DisableDefaultKeyReplicationRegionsCommand";
7
7
  export * from "./EnableDefaultKeyReplicationRegionsCommand";
8
8
  export * from "./ExportKeyCommand";
9
9
  export * from "./GetAliasCommand";
10
+ export * from "./GetCertificateSigningRequestCommand";
10
11
  export * from "./GetDefaultKeyReplicationRegionsCommand";
11
12
  export * from "./GetKeyCommand";
12
13
  export * from "./GetParametersForExportCommand";
@@ -266,6 +266,12 @@ export const WrappedKeyMaterialFormat = {
266
266
  TR31_KEY_BLOCK: "TR31_KEY_BLOCK",
267
267
  TR34_KEY_BLOCK: "TR34_KEY_BLOCK",
268
268
  };
269
+ export const SigningAlgorithmType = {
270
+ SHA224: "SHA224",
271
+ SHA256: "SHA256",
272
+ SHA384: "SHA384",
273
+ SHA512: "SHA512",
274
+ };
269
275
  export const KeyMaterialType = {
270
276
  KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM",
271
277
  ROOT_PUBLIC_KEY_CERTIFICATE: "ROOT_PUBLIC_KEY_CERTIFICATE",
@@ -334,6 +340,10 @@ export const ExportKeyOutputFilterSensitiveLog = (obj) => ({
334
340
  ...obj,
335
341
  ...(obj.WrappedKey && { WrappedKey: WrappedKeyFilterSensitiveLog(obj.WrappedKey) }),
336
342
  });
343
+ export const GetCertificateSigningRequestOutputFilterSensitiveLog = (obj) => ({
344
+ ...obj,
345
+ ...(obj.CertificateSigningRequest && { CertificateSigningRequest: SENSITIVE_STRING }),
346
+ });
337
347
  export const ImportDiffieHellmanTr31KeyBlockFilterSensitiveLog = (obj) => ({
338
348
  ...obj,
339
349
  ...(obj.DerivationData && { DerivationData: obj.DerivationData }),
@@ -57,6 +57,12 @@ export const se_GetAliasCommand = async (input, context) => {
57
57
  body = JSON.stringify(_json(input));
58
58
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
59
59
  };
60
+ export const se_GetCertificateSigningRequestCommand = async (input, context) => {
61
+ const headers = sharedHeaders("GetCertificateSigningRequest");
62
+ let body;
63
+ body = JSON.stringify(_json(input));
64
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
65
+ };
60
66
  export const se_GetDefaultKeyReplicationRegionsCommand = async (input, context) => {
61
67
  const headers = sharedHeaders("GetDefaultKeyReplicationRegions");
62
68
  let body;
@@ -270,6 +276,19 @@ export const de_GetAliasCommand = async (output, context) => {
270
276
  };
271
277
  return response;
272
278
  };
279
+ export const de_GetCertificateSigningRequestCommand = async (output, context) => {
280
+ if (output.statusCode >= 300) {
281
+ return de_CommandError(output, context);
282
+ }
283
+ const data = await parseBody(output.body, context);
284
+ let contents = {};
285
+ contents = _json(data);
286
+ const response = {
287
+ $metadata: deserializeMetadata(output),
288
+ ...contents,
289
+ };
290
+ return response;
291
+ };
273
292
  export const de_GetDefaultKeyReplicationRegionsCommand = async (output, context) => {
274
293
  if (output.statusCode >= 300) {
275
294
  return de_CommandError(output, context);
@@ -8,6 +8,7 @@ import { DisableDefaultKeyReplicationRegionsCommandInput, DisableDefaultKeyRepli
8
8
  import { EnableDefaultKeyReplicationRegionsCommandInput, EnableDefaultKeyReplicationRegionsCommandOutput } from "./commands/EnableDefaultKeyReplicationRegionsCommand";
9
9
  import { ExportKeyCommandInput, ExportKeyCommandOutput } from "./commands/ExportKeyCommand";
10
10
  import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
11
+ import { GetCertificateSigningRequestCommandInput, GetCertificateSigningRequestCommandOutput } from "./commands/GetCertificateSigningRequestCommand";
11
12
  import { GetDefaultKeyReplicationRegionsCommandInput, GetDefaultKeyReplicationRegionsCommandOutput } from "./commands/GetDefaultKeyReplicationRegionsCommand";
12
13
  import { GetKeyCommandInput, GetKeyCommandOutput } from "./commands/GetKeyCommand";
13
14
  import { GetParametersForExportCommandInput, GetParametersForExportCommandOutput } from "./commands/GetParametersForExportCommand";
@@ -80,6 +81,12 @@ export interface PaymentCryptography {
80
81
  getAlias(args: GetAliasCommandInput, options?: __HttpHandlerOptions): Promise<GetAliasCommandOutput>;
81
82
  getAlias(args: GetAliasCommandInput, cb: (err: any, data?: GetAliasCommandOutput) => void): void;
82
83
  getAlias(args: GetAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAliasCommandOutput) => void): void;
84
+ /**
85
+ * @see {@link GetCertificateSigningRequestCommand}
86
+ */
87
+ getCertificateSigningRequest(args: GetCertificateSigningRequestCommandInput, options?: __HttpHandlerOptions): Promise<GetCertificateSigningRequestCommandOutput>;
88
+ getCertificateSigningRequest(args: GetCertificateSigningRequestCommandInput, cb: (err: any, data?: GetCertificateSigningRequestCommandOutput) => void): void;
89
+ getCertificateSigningRequest(args: GetCertificateSigningRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCertificateSigningRequestCommandOutput) => void): void;
83
90
  /**
84
91
  * @see {@link GetDefaultKeyReplicationRegionsCommand}
85
92
  */
@@ -16,6 +16,7 @@ import { DisableDefaultKeyReplicationRegionsCommandInput, DisableDefaultKeyRepli
16
16
  import { EnableDefaultKeyReplicationRegionsCommandInput, EnableDefaultKeyReplicationRegionsCommandOutput } from "./commands/EnableDefaultKeyReplicationRegionsCommand";
17
17
  import { ExportKeyCommandInput, ExportKeyCommandOutput } from "./commands/ExportKeyCommand";
18
18
  import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
19
+ import { GetCertificateSigningRequestCommandInput, GetCertificateSigningRequestCommandOutput } from "./commands/GetCertificateSigningRequestCommand";
19
20
  import { GetDefaultKeyReplicationRegionsCommandInput, GetDefaultKeyReplicationRegionsCommandOutput } from "./commands/GetDefaultKeyReplicationRegionsCommand";
20
21
  import { GetKeyCommandInput, GetKeyCommandOutput } from "./commands/GetKeyCommand";
21
22
  import { GetParametersForExportCommandInput, GetParametersForExportCommandOutput } from "./commands/GetParametersForExportCommand";
@@ -38,11 +39,11 @@ export { __Client };
38
39
  /**
39
40
  * @public
40
41
  */
41
- export type ServiceInputTypes = AddKeyReplicationRegionsCommandInput | CreateAliasCommandInput | CreateKeyCommandInput | DeleteAliasCommandInput | DeleteKeyCommandInput | DisableDefaultKeyReplicationRegionsCommandInput | EnableDefaultKeyReplicationRegionsCommandInput | ExportKeyCommandInput | GetAliasCommandInput | GetDefaultKeyReplicationRegionsCommandInput | GetKeyCommandInput | GetParametersForExportCommandInput | GetParametersForImportCommandInput | GetPublicKeyCertificateCommandInput | ImportKeyCommandInput | ListAliasesCommandInput | ListKeysCommandInput | ListTagsForResourceCommandInput | RemoveKeyReplicationRegionsCommandInput | RestoreKeyCommandInput | StartKeyUsageCommandInput | StopKeyUsageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput;
42
+ export type ServiceInputTypes = AddKeyReplicationRegionsCommandInput | CreateAliasCommandInput | CreateKeyCommandInput | DeleteAliasCommandInput | DeleteKeyCommandInput | DisableDefaultKeyReplicationRegionsCommandInput | EnableDefaultKeyReplicationRegionsCommandInput | ExportKeyCommandInput | GetAliasCommandInput | GetCertificateSigningRequestCommandInput | GetDefaultKeyReplicationRegionsCommandInput | GetKeyCommandInput | GetParametersForExportCommandInput | GetParametersForImportCommandInput | GetPublicKeyCertificateCommandInput | ImportKeyCommandInput | ListAliasesCommandInput | ListKeysCommandInput | ListTagsForResourceCommandInput | RemoveKeyReplicationRegionsCommandInput | RestoreKeyCommandInput | StartKeyUsageCommandInput | StopKeyUsageCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput;
42
43
  /**
43
44
  * @public
44
45
  */
45
- export type ServiceOutputTypes = AddKeyReplicationRegionsCommandOutput | CreateAliasCommandOutput | CreateKeyCommandOutput | DeleteAliasCommandOutput | DeleteKeyCommandOutput | DisableDefaultKeyReplicationRegionsCommandOutput | EnableDefaultKeyReplicationRegionsCommandOutput | ExportKeyCommandOutput | GetAliasCommandOutput | GetDefaultKeyReplicationRegionsCommandOutput | GetKeyCommandOutput | GetParametersForExportCommandOutput | GetParametersForImportCommandOutput | GetPublicKeyCertificateCommandOutput | ImportKeyCommandOutput | ListAliasesCommandOutput | ListKeysCommandOutput | ListTagsForResourceCommandOutput | RemoveKeyReplicationRegionsCommandOutput | RestoreKeyCommandOutput | StartKeyUsageCommandOutput | StopKeyUsageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput;
46
+ export type ServiceOutputTypes = AddKeyReplicationRegionsCommandOutput | CreateAliasCommandOutput | CreateKeyCommandOutput | DeleteAliasCommandOutput | DeleteKeyCommandOutput | DisableDefaultKeyReplicationRegionsCommandOutput | EnableDefaultKeyReplicationRegionsCommandOutput | ExportKeyCommandOutput | GetAliasCommandOutput | GetCertificateSigningRequestCommandOutput | GetDefaultKeyReplicationRegionsCommandOutput | GetKeyCommandOutput | GetParametersForExportCommandOutput | GetParametersForImportCommandOutput | GetPublicKeyCertificateCommandOutput | ImportKeyCommandOutput | ListAliasesCommandOutput | ListKeysCommandOutput | ListTagsForResourceCommandOutput | RemoveKeyReplicationRegionsCommandOutput | RestoreKeyCommandOutput | StartKeyUsageCommandOutput | StopKeyUsageCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput;
46
47
  /**
47
48
  * @public
48
49
  */
@@ -60,7 +60,9 @@ declare const ExportKeyCommand_base: {
60
60
  * Tr34KeyBlock: { // ExportTr34KeyBlock
61
61
  * CertificateAuthorityPublicKeyIdentifier: "STRING_VALUE", // required
62
62
  * WrappingKeyCertificate: "STRING_VALUE", // required
63
- * ExportToken: "STRING_VALUE", // required
63
+ * ExportToken: "STRING_VALUE",
64
+ * SigningKeyIdentifier: "STRING_VALUE",
65
+ * SigningKeyCertificate: "STRING_VALUE",
64
66
  * KeyBlockFormat: "STRING_VALUE", // required
65
67
  * RandomNonce: "STRING_VALUE",
66
68
  * KeyBlockHeaders: {
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetCertificateSigningRequestInput, GetCertificateSigningRequestOutput } from "../models/models_0";
4
+ import { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetCertificateSigningRequestCommand}.
14
+ */
15
+ export interface GetCertificateSigningRequestCommandInput extends GetCertificateSigningRequestInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetCertificateSigningRequestCommand}.
21
+ */
22
+ export interface GetCertificateSigningRequestCommandOutput extends GetCertificateSigningRequestOutput, __MetadataBearer {
23
+ }
24
+ declare const GetCertificateSigningRequestCommand_base: {
25
+ new (input: GetCertificateSigningRequestCommandInput): import("@smithy/smithy-client").CommandImpl<GetCertificateSigningRequestCommandInput, GetCertificateSigningRequestCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetCertificateSigningRequestCommandInput): import("@smithy/smithy-client").CommandImpl<GetCertificateSigningRequestCommandInput, GetCertificateSigningRequestCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Used to retrieve the public key for a keypair.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { PaymentCryptographyClient, GetCertificateSigningRequestCommand } from "@aws-sdk/client-payment-cryptography"; // ES Modules import
35
+ * // const { PaymentCryptographyClient, GetCertificateSigningRequestCommand } = require("@aws-sdk/client-payment-cryptography"); // CommonJS import
36
+ * const client = new PaymentCryptographyClient(config);
37
+ * const input = { // GetCertificateSigningRequestInput
38
+ * KeyIdentifier: "STRING_VALUE", // required
39
+ * SigningAlgorithm: "STRING_VALUE", // required
40
+ * CertificateSubject: { // CertificateSubjectType
41
+ * CommonName: "STRING_VALUE", // required
42
+ * OrganizationUnit: "STRING_VALUE",
43
+ * Organization: "STRING_VALUE",
44
+ * City: "STRING_VALUE",
45
+ * Country: "STRING_VALUE",
46
+ * StateOrProvince: "STRING_VALUE",
47
+ * EmailAddress: "STRING_VALUE",
48
+ * },
49
+ * };
50
+ * const command = new GetCertificateSigningRequestCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // GetCertificateSigningRequestOutput
53
+ * // CertificateSigningRequest: "STRING_VALUE", // required
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param GetCertificateSigningRequestCommandInput - {@link GetCertificateSigningRequestCommandInput}
59
+ * @returns {@link GetCertificateSigningRequestCommandOutput}
60
+ * @see {@link GetCertificateSigningRequestCommandInput} for command's `input` shape.
61
+ * @see {@link GetCertificateSigningRequestCommandOutput} for command's `response` shape.
62
+ * @see {@link PaymentCryptographyClientResolvedConfig | config} for PaymentCryptographyClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You do not have sufficient access to perform this action.</p> <p>This exception is thrown when the caller lacks the necessary IAM permissions to perform the requested operation. Verify that your IAM policy includes the required permissions for the specific Amazon Web Services Payment Cryptography action you're attempting.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p> <p>This indicates a server-side error within the Amazon Web Services Payment Cryptography service. If this error persists, contact support for assistance.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The request was denied due to resource not found.</p> <p>The specified key, alias, or other resource does not exist in your account or region. Verify that the resource identifier is correct and that the resource exists in the expected region.</p>
72
+ *
73
+ * @throws {@link ServiceUnavailableException} (server fault)
74
+ * <p>The service cannot complete the request.</p> <p>The Amazon Web Services Payment Cryptography service is temporarily unavailable. This is typically a temporary condition - retry your request after a brief delay.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was denied due to request throttling.</p> <p>You have exceeded the rate limits for Amazon Web Services Payment Cryptography API calls. Implement exponential backoff and retry logic in your application to handle throttling gracefully.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>The request was denied due to an invalid request error.</p> <p>One or more parameters in your request are invalid. Check the parameter values, formats, and constraints specified in the API documentation.</p>
81
+ *
82
+ * @throws {@link PaymentCryptographyServiceException}
83
+ * <p>Base exception class for all service exceptions from PaymentCryptography service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class GetCertificateSigningRequestCommand extends GetCertificateSigningRequestCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: GetCertificateSigningRequestInput;
93
+ output: GetCertificateSigningRequestOutput;
94
+ };
95
+ sdk: {
96
+ input: GetCertificateSigningRequestCommandInput;
97
+ output: GetCertificateSigningRequestCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -82,7 +82,9 @@ declare const ImportKeyCommand_base: {
82
82
  * Tr34KeyBlock: { // ImportTr34KeyBlock
83
83
  * CertificateAuthorityPublicKeyIdentifier: "STRING_VALUE", // required
84
84
  * SigningKeyCertificate: "STRING_VALUE", // required
85
- * ImportToken: "STRING_VALUE", // required
85
+ * ImportToken: "STRING_VALUE",
86
+ * WrappingKeyIdentifier: "STRING_VALUE",
87
+ * WrappingKeyCertificate: "STRING_VALUE",
86
88
  * WrappedKeyBlock: "STRING_VALUE", // required
87
89
  * KeyBlockFormat: "STRING_VALUE", // required
88
90
  * RandomNonce: "STRING_VALUE",
@@ -7,6 +7,7 @@ export * from "./DisableDefaultKeyReplicationRegionsCommand";
7
7
  export * from "./EnableDefaultKeyReplicationRegionsCommand";
8
8
  export * from "./ExportKeyCommand";
9
9
  export * from "./GetAliasCommand";
10
+ export * from "./GetCertificateSigningRequestCommand";
10
11
  export * from "./GetDefaultKeyReplicationRegionsCommand";
11
12
  export * from "./GetKeyCommand";
12
13
  export * from "./GetParametersForExportCommand";
@@ -279,7 +279,7 @@ export type KeyReplicationState = (typeof KeyReplicationState)[keyof typeof KeyR
279
279
  */
280
280
  export interface ReplicationStatusType {
281
281
  /**
282
- * Defines the replication state of a key
282
+ * <p>The current status of key replication in this region.</p> <p>This field indicates whether the key replication is in progress, completed successfully, or has encountered an error. Possible values include states such as SYNCRHONIZED, IN_PROGRESS, DELETE_IN_PROGRESS, or FAILED. This provides visibility into the replication process for monitoring and troubleshooting purposes.</p>
283
283
  * @public
284
284
  */
285
285
  Status: KeyReplicationState | undefined;
@@ -627,6 +627,47 @@ export interface UpdateAliasOutput {
627
627
  */
628
628
  Alias: Alias | undefined;
629
629
  }
630
+ /**
631
+ * Metadata used in generating the CSR
632
+ * @public
633
+ */
634
+ export interface CertificateSubjectType {
635
+ /**
636
+ * Common Name to be used in the certificate signing request
637
+ * @public
638
+ */
639
+ CommonName: string | undefined;
640
+ /**
641
+ * Organization Unit to be used in the certificate signing request
642
+ * @public
643
+ */
644
+ OrganizationUnit?: string | undefined;
645
+ /**
646
+ * Organization to be used in the certificate signing request
647
+ * @public
648
+ */
649
+ Organization?: string | undefined;
650
+ /**
651
+ * City to be used in the certificate signing request
652
+ * @public
653
+ */
654
+ City?: string | undefined;
655
+ /**
656
+ * Country to be used in the certificate signing request
657
+ * @public
658
+ */
659
+ Country?: string | undefined;
660
+ /**
661
+ * State Or Province to be used in the certificate signing request
662
+ * @public
663
+ */
664
+ StateOrProvince?: string | undefined;
665
+ /**
666
+ * Email to be used in the certificate signing request
667
+ * @public
668
+ */
669
+ EmailAddress?: string | undefined;
670
+ }
630
671
  /**
631
672
  * <p>A structure that contains information about a tag.</p>
632
673
  * @public
@@ -1027,7 +1068,17 @@ export interface ExportTr34KeyBlock {
1027
1068
  * <p>The export token to initiate key export from Amazon Web Services Payment Cryptography. It also contains the signing key certificate that will sign the wrapped key during TR-34 key block generation. Call <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetParametersForExport.html">GetParametersForExport</a> to receive an export token. It expires after 30 days. You can use the same export token to export multiple keys from the same service account.</p>
1028
1069
  * @public
1029
1070
  */
1030
- ExportToken: string | undefined;
1071
+ ExportToken?: string | undefined;
1072
+ /**
1073
+ * Key Identifier used for signing the export key
1074
+ * @public
1075
+ */
1076
+ SigningKeyIdentifier?: string | undefined;
1077
+ /**
1078
+ * Certificate used for signing the export key
1079
+ * @public
1080
+ */
1081
+ SigningKeyCertificate?: string | undefined;
1031
1082
  /**
1032
1083
  * <p>The format of key block that Amazon Web Services Payment Cryptography will use during key export.</p>
1033
1084
  * @public
@@ -1190,6 +1241,50 @@ export interface ExportKeyOutput {
1190
1241
  */
1191
1242
  WrappedKey?: WrappedKey | undefined;
1192
1243
  }
1244
+ /**
1245
+ * @public
1246
+ * @enum
1247
+ */
1248
+ export declare const SigningAlgorithmType: {
1249
+ readonly SHA224: "SHA224";
1250
+ readonly SHA256: "SHA256";
1251
+ readonly SHA384: "SHA384";
1252
+ readonly SHA512: "SHA512";
1253
+ };
1254
+ /**
1255
+ * @public
1256
+ */
1257
+ export type SigningAlgorithmType = (typeof SigningAlgorithmType)[keyof typeof SigningAlgorithmType];
1258
+ /**
1259
+ * @public
1260
+ */
1261
+ export interface GetCertificateSigningRequestInput {
1262
+ /**
1263
+ * Asymmetric key used for generating the certificate signing request
1264
+ * @public
1265
+ */
1266
+ KeyIdentifier: string | undefined;
1267
+ /**
1268
+ * Algorithm used to generate the certificate signing request
1269
+ * @public
1270
+ */
1271
+ SigningAlgorithm: SigningAlgorithmType | undefined;
1272
+ /**
1273
+ * Certificate subject data
1274
+ * @public
1275
+ */
1276
+ CertificateSubject: CertificateSubjectType | undefined;
1277
+ }
1278
+ /**
1279
+ * @public
1280
+ */
1281
+ export interface GetCertificateSigningRequestOutput {
1282
+ /**
1283
+ * Certificate signing request
1284
+ * @public
1285
+ */
1286
+ CertificateSigningRequest: string | undefined;
1287
+ }
1193
1288
  /**
1194
1289
  * <p>Input parameters for retrieving the account's default key replication regions. This operation requires no input parameters.</p>
1195
1290
  * @public
@@ -1485,7 +1580,17 @@ export interface ImportTr34KeyBlock {
1485
1580
  * <p>The import token that initiates key import using the asymmetric TR-34 key exchange method into Amazon Web Services Payment Cryptography. It expires after 30 days. You can use the same import token to import multiple keys to the same service account.</p>
1486
1581
  * @public
1487
1582
  */
1488
- ImportToken: string | undefined;
1583
+ ImportToken?: string | undefined;
1584
+ /**
1585
+ * Key Identifier used for unwrapping the import key
1586
+ * @public
1587
+ */
1588
+ WrappingKeyIdentifier?: string | undefined;
1589
+ /**
1590
+ * Key Identifier used for unwrapping the import key
1591
+ * @public
1592
+ */
1593
+ WrappingKeyCertificate?: string | undefined;
1489
1594
  /**
1490
1595
  * <p>The TR-34 wrapped key block to import.</p>
1491
1596
  * @public
@@ -1729,7 +1834,7 @@ export interface KeySummary {
1729
1834
  */
1730
1835
  Enabled: boolean | undefined;
1731
1836
  /**
1732
- * Defines the replication type of a key
1837
+ * <p>Indicates whether this key is a multi-region key and its role in the multi-region key hierarchy.</p> <p>Multi-region keys allow the same key material to be used across multiple Amazon Web Services Regions. This field specifies whether the key is a primary key (which can be replicated to other regions) or a replica key (which is a copy of a primary key in another region).</p>
1733
1838
  * @public
1734
1839
  */
1735
1840
  MultiRegionKeyType?: MultiRegionKeyType | undefined;
@@ -1948,6 +2053,10 @@ export declare const WrappedKeyFilterSensitiveLog: (obj: WrappedKey) => any;
1948
2053
  * @internal
1949
2054
  */
1950
2055
  export declare const ExportKeyOutputFilterSensitiveLog: (obj: ExportKeyOutput) => any;
2056
+ /**
2057
+ * @internal
2058
+ */
2059
+ export declare const GetCertificateSigningRequestOutputFilterSensitiveLog: (obj: GetCertificateSigningRequestOutput) => any;
1951
2060
  /**
1952
2061
  * @internal
1953
2062
  */
@@ -9,6 +9,7 @@ import { DisableDefaultKeyReplicationRegionsCommandInput, DisableDefaultKeyRepli
9
9
  import { EnableDefaultKeyReplicationRegionsCommandInput, EnableDefaultKeyReplicationRegionsCommandOutput } from "../commands/EnableDefaultKeyReplicationRegionsCommand";
10
10
  import { ExportKeyCommandInput, ExportKeyCommandOutput } from "../commands/ExportKeyCommand";
11
11
  import { GetAliasCommandInput, GetAliasCommandOutput } from "../commands/GetAliasCommand";
12
+ import { GetCertificateSigningRequestCommandInput, GetCertificateSigningRequestCommandOutput } from "../commands/GetCertificateSigningRequestCommand";
12
13
  import { GetDefaultKeyReplicationRegionsCommandInput, GetDefaultKeyReplicationRegionsCommandOutput } from "../commands/GetDefaultKeyReplicationRegionsCommand";
13
14
  import { GetKeyCommandInput, GetKeyCommandOutput } from "../commands/GetKeyCommand";
14
15
  import { GetParametersForExportCommandInput, GetParametersForExportCommandOutput } from "../commands/GetParametersForExportCommand";
@@ -61,6 +62,10 @@ export declare const se_ExportKeyCommand: (input: ExportKeyCommandInput, context
61
62
  * serializeAws_json1_0GetAliasCommand
62
63
  */
63
64
  export declare const se_GetAliasCommand: (input: GetAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
+ /**
66
+ * serializeAws_json1_0GetCertificateSigningRequestCommand
67
+ */
68
+ export declare const se_GetCertificateSigningRequestCommand: (input: GetCertificateSigningRequestCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
69
  /**
65
70
  * serializeAws_json1_0GetDefaultKeyReplicationRegionsCommand
66
71
  */
@@ -161,6 +166,10 @@ export declare const de_ExportKeyCommand: (output: __HttpResponse, context: __Se
161
166
  * deserializeAws_json1_0GetAliasCommand
162
167
  */
163
168
  export declare const de_GetAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAliasCommandOutput>;
169
+ /**
170
+ * deserializeAws_json1_0GetCertificateSigningRequestCommand
171
+ */
172
+ export declare const de_GetCertificateSigningRequestCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCertificateSigningRequestCommandOutput>;
164
173
  /**
165
174
  * deserializeAws_json1_0GetDefaultKeyReplicationRegionsCommand
166
175
  */
@@ -35,6 +35,10 @@ import {
35
35
  GetAliasCommandInput,
36
36
  GetAliasCommandOutput,
37
37
  } from "./commands/GetAliasCommand";
38
+ import {
39
+ GetCertificateSigningRequestCommandInput,
40
+ GetCertificateSigningRequestCommandOutput,
41
+ } from "./commands/GetCertificateSigningRequestCommand";
38
42
  import {
39
43
  GetDefaultKeyReplicationRegionsCommandInput,
40
44
  GetDefaultKeyReplicationRegionsCommandOutput,
@@ -230,6 +234,19 @@ export interface PaymentCryptography {
230
234
  options: __HttpHandlerOptions,
231
235
  cb: (err: any, data?: GetAliasCommandOutput) => void
232
236
  ): void;
237
+ getCertificateSigningRequest(
238
+ args: GetCertificateSigningRequestCommandInput,
239
+ options?: __HttpHandlerOptions
240
+ ): Promise<GetCertificateSigningRequestCommandOutput>;
241
+ getCertificateSigningRequest(
242
+ args: GetCertificateSigningRequestCommandInput,
243
+ cb: (err: any, data?: GetCertificateSigningRequestCommandOutput) => void
244
+ ): void;
245
+ getCertificateSigningRequest(
246
+ args: GetCertificateSigningRequestCommandInput,
247
+ options: __HttpHandlerOptions,
248
+ cb: (err: any, data?: GetCertificateSigningRequestCommandOutput) => void
249
+ ): void;
233
250
  getDefaultKeyReplicationRegions(): Promise<GetDefaultKeyReplicationRegionsCommandOutput>;
234
251
  getDefaultKeyReplicationRegions(
235
252
  args: GetDefaultKeyReplicationRegionsCommandInput,
@@ -81,6 +81,10 @@ import {
81
81
  GetAliasCommandInput,
82
82
  GetAliasCommandOutput,
83
83
  } from "./commands/GetAliasCommand";
84
+ import {
85
+ GetCertificateSigningRequestCommandInput,
86
+ GetCertificateSigningRequestCommandOutput,
87
+ } from "./commands/GetCertificateSigningRequestCommand";
84
88
  import {
85
89
  GetDefaultKeyReplicationRegionsCommandInput,
86
90
  GetDefaultKeyReplicationRegionsCommandOutput,
@@ -162,6 +166,7 @@ export type ServiceInputTypes =
162
166
  | EnableDefaultKeyReplicationRegionsCommandInput
163
167
  | ExportKeyCommandInput
164
168
  | GetAliasCommandInput
169
+ | GetCertificateSigningRequestCommandInput
165
170
  | GetDefaultKeyReplicationRegionsCommandInput
166
171
  | GetKeyCommandInput
167
172
  | GetParametersForExportCommandInput
@@ -188,6 +193,7 @@ export type ServiceOutputTypes =
188
193
  | EnableDefaultKeyReplicationRegionsCommandOutput
189
194
  | ExportKeyCommandOutput
190
195
  | GetAliasCommandOutput
196
+ | GetCertificateSigningRequestCommandOutput
191
197
  | GetDefaultKeyReplicationRegionsCommandOutput
192
198
  | GetKeyCommandOutput
193
199
  | GetParametersForExportCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetCertificateSigningRequestInput,
5
+ GetCertificateSigningRequestOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ PaymentCryptographyClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../PaymentCryptographyClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetCertificateSigningRequestCommandInput
15
+ extends GetCertificateSigningRequestInput {}
16
+ export interface GetCertificateSigningRequestCommandOutput
17
+ extends GetCertificateSigningRequestOutput,
18
+ __MetadataBearer {}
19
+ declare const GetCertificateSigningRequestCommand_base: {
20
+ new (
21
+ input: GetCertificateSigningRequestCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetCertificateSigningRequestCommandInput,
24
+ GetCertificateSigningRequestCommandOutput,
25
+ PaymentCryptographyClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetCertificateSigningRequestCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetCertificateSigningRequestCommandInput,
33
+ GetCertificateSigningRequestCommandOutput,
34
+ PaymentCryptographyClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetCertificateSigningRequestCommand extends GetCertificateSigningRequestCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetCertificateSigningRequestInput;
44
+ output: GetCertificateSigningRequestOutput;
45
+ };
46
+ sdk: {
47
+ input: GetCertificateSigningRequestCommandInput;
48
+ output: GetCertificateSigningRequestCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -7,6 +7,7 @@ export * from "./DisableDefaultKeyReplicationRegionsCommand";
7
7
  export * from "./EnableDefaultKeyReplicationRegionsCommand";
8
8
  export * from "./ExportKeyCommand";
9
9
  export * from "./GetAliasCommand";
10
+ export * from "./GetCertificateSigningRequestCommand";
10
11
  export * from "./GetDefaultKeyReplicationRegionsCommand";
11
12
  export * from "./GetKeyCommand";
12
13
  export * from "./GetParametersForExportCommand";
@@ -255,6 +255,15 @@ export interface UpdateAliasInput {
255
255
  export interface UpdateAliasOutput {
256
256
  Alias: Alias | undefined;
257
257
  }
258
+ export interface CertificateSubjectType {
259
+ CommonName: string | undefined;
260
+ OrganizationUnit?: string | undefined;
261
+ Organization?: string | undefined;
262
+ City?: string | undefined;
263
+ Country?: string | undefined;
264
+ StateOrProvince?: string | undefined;
265
+ EmailAddress?: string | undefined;
266
+ }
258
267
  export interface Tag {
259
268
  Key: string | undefined;
260
269
  Value: string | undefined;
@@ -390,7 +399,9 @@ export type Tr34KeyBlockFormat =
390
399
  export interface ExportTr34KeyBlock {
391
400
  CertificateAuthorityPublicKeyIdentifier: string | undefined;
392
401
  WrappingKeyCertificate: string | undefined;
393
- ExportToken: string | undefined;
402
+ ExportToken?: string | undefined;
403
+ SigningKeyIdentifier?: string | undefined;
404
+ SigningKeyCertificate?: string | undefined;
394
405
  KeyBlockFormat: Tr34KeyBlockFormat | undefined;
395
406
  RandomNonce?: string | undefined;
396
407
  KeyBlockHeaders?: KeyBlockHeaders | undefined;
@@ -468,6 +479,22 @@ export interface WrappedKey {
468
479
  export interface ExportKeyOutput {
469
480
  WrappedKey?: WrappedKey | undefined;
470
481
  }
482
+ export declare const SigningAlgorithmType: {
483
+ readonly SHA224: "SHA224";
484
+ readonly SHA256: "SHA256";
485
+ readonly SHA384: "SHA384";
486
+ readonly SHA512: "SHA512";
487
+ };
488
+ export type SigningAlgorithmType =
489
+ (typeof SigningAlgorithmType)[keyof typeof SigningAlgorithmType];
490
+ export interface GetCertificateSigningRequestInput {
491
+ KeyIdentifier: string | undefined;
492
+ SigningAlgorithm: SigningAlgorithmType | undefined;
493
+ CertificateSubject: CertificateSubjectType | undefined;
494
+ }
495
+ export interface GetCertificateSigningRequestOutput {
496
+ CertificateSigningRequest: string | undefined;
497
+ }
471
498
  export interface GetDefaultKeyReplicationRegionsInput {}
472
499
  export interface GetDefaultKeyReplicationRegionsOutput {
473
500
  EnabledReplicationRegions: string[] | undefined;
@@ -544,7 +571,9 @@ export interface ImportTr31KeyBlock {
544
571
  export interface ImportTr34KeyBlock {
545
572
  CertificateAuthorityPublicKeyIdentifier: string | undefined;
546
573
  SigningKeyCertificate: string | undefined;
547
- ImportToken: string | undefined;
574
+ ImportToken?: string | undefined;
575
+ WrappingKeyIdentifier?: string | undefined;
576
+ WrappingKeyCertificate?: string | undefined;
548
577
  WrappedKeyBlock: string | undefined;
549
578
  KeyBlockFormat: Tr34KeyBlockFormat | undefined;
550
579
  RandomNonce?: string | undefined;
@@ -732,6 +761,9 @@ export declare const WrappedKeyFilterSensitiveLog: (obj: WrappedKey) => any;
732
761
  export declare const ExportKeyOutputFilterSensitiveLog: (
733
762
  obj: ExportKeyOutput
734
763
  ) => any;
764
+ export declare const GetCertificateSigningRequestOutputFilterSensitiveLog: (
765
+ obj: GetCertificateSigningRequestOutput
766
+ ) => any;
735
767
  export declare const ImportDiffieHellmanTr31KeyBlockFilterSensitiveLog: (
736
768
  obj: ImportDiffieHellmanTr31KeyBlock
737
769
  ) => any;
@@ -39,6 +39,10 @@ import {
39
39
  GetAliasCommandInput,
40
40
  GetAliasCommandOutput,
41
41
  } from "../commands/GetAliasCommand";
42
+ import {
43
+ GetCertificateSigningRequestCommandInput,
44
+ GetCertificateSigningRequestCommandOutput,
45
+ } from "../commands/GetCertificateSigningRequestCommand";
42
46
  import {
43
47
  GetDefaultKeyReplicationRegionsCommandInput,
44
48
  GetDefaultKeyReplicationRegionsCommandOutput,
@@ -139,6 +143,10 @@ export declare const se_GetAliasCommand: (
139
143
  input: GetAliasCommandInput,
140
144
  context: __SerdeContext
141
145
  ) => Promise<__HttpRequest>;
146
+ export declare const se_GetCertificateSigningRequestCommand: (
147
+ input: GetCertificateSigningRequestCommandInput,
148
+ context: __SerdeContext
149
+ ) => Promise<__HttpRequest>;
142
150
  export declare const se_GetDefaultKeyReplicationRegionsCommand: (
143
151
  input: GetDefaultKeyReplicationRegionsCommandInput,
144
152
  context: __SerdeContext
@@ -239,6 +247,10 @@ export declare const de_GetAliasCommand: (
239
247
  output: __HttpResponse,
240
248
  context: __SerdeContext
241
249
  ) => Promise<GetAliasCommandOutput>;
250
+ export declare const de_GetCertificateSigningRequestCommand: (
251
+ output: __HttpResponse,
252
+ context: __SerdeContext
253
+ ) => Promise<GetCertificateSigningRequestCommandOutput>;
242
254
  export declare const de_GetDefaultKeyReplicationRegionsCommand: (
243
255
  output: __HttpResponse,
244
256
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-payment-cryptography",
3
3
  "description": "AWS SDK for JavaScript Payment Cryptography Client for Node.js, Browser and React Native",
4
- "version": "3.887.0",
4
+ "version": "3.888.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-payment-cryptography",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.887.0",
24
- "@aws-sdk/credential-provider-node": "3.887.0",
23
+ "@aws-sdk/core": "3.888.0",
24
+ "@aws-sdk/credential-provider-node": "3.888.0",
25
25
  "@aws-sdk/middleware-host-header": "3.887.0",
26
26
  "@aws-sdk/middleware-logger": "3.887.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.887.0",
28
- "@aws-sdk/middleware-user-agent": "3.887.0",
28
+ "@aws-sdk/middleware-user-agent": "3.888.0",
29
29
  "@aws-sdk/region-config-resolver": "3.887.0",
30
30
  "@aws-sdk/types": "3.887.0",
31
31
  "@aws-sdk/util-endpoints": "3.887.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.887.0",
33
- "@aws-sdk/util-user-agent-node": "3.887.0",
33
+ "@aws-sdk/util-user-agent-node": "3.888.0",
34
34
  "@smithy/config-resolver": "^4.2.1",
35
35
  "@smithy/core": "^3.11.0",
36
36
  "@smithy/fetch-http-handler": "^5.2.1",