@aws-sdk/client-payment-cryptography 3.1038.0 → 3.1040.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 (56) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +101 -0
  3. package/dist-cjs/models/errors.js +16 -1
  4. package/dist-cjs/schemas/schemas_0.js +131 -7
  5. package/dist-es/PaymentCryptography.js +12 -0
  6. package/dist-es/commands/AssociateMpaTeamCommand.js +16 -0
  7. package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
  8. package/dist-es/commands/DisassociateMpaTeamCommand.js +16 -0
  9. package/dist-es/commands/GetMpaTeamAssociationCommand.js +16 -0
  10. package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
  11. package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
  12. package/dist-es/commands/index.js +6 -0
  13. package/dist-es/models/enums.js +14 -0
  14. package/dist-es/models/errors.js +14 -0
  15. package/dist-es/schemas/schemas_0.js +129 -5
  16. package/dist-types/PaymentCryptography.d.ts +42 -0
  17. package/dist-types/PaymentCryptographyClient.d.ts +8 -2
  18. package/dist-types/commands/AddKeyReplicationRegionsCommand.d.ts +7 -1
  19. package/dist-types/commands/AssociateMpaTeamCommand.d.ts +110 -0
  20. package/dist-types/commands/CreateKeyCommand.d.ts +6 -0
  21. package/dist-types/commands/DeleteKeyCommand.d.ts +7 -1
  22. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +93 -0
  23. package/dist-types/commands/DisassociateMpaTeamCommand.d.ts +109 -0
  24. package/dist-types/commands/ExportKeyCommand.d.ts +1 -1
  25. package/dist-types/commands/GetKeyCommand.d.ts +7 -1
  26. package/dist-types/commands/GetMpaTeamAssociationCommand.d.ts +108 -0
  27. package/dist-types/commands/GetPublicKeyCertificateCommand.d.ts +1 -1
  28. package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
  29. package/dist-types/commands/ImportKeyCommand.d.ts +8 -1
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  31. package/dist-types/commands/PutResourcePolicyCommand.d.ts +103 -0
  32. package/dist-types/commands/RemoveKeyReplicationRegionsCommand.d.ts +7 -1
  33. package/dist-types/commands/RestoreKeyCommand.d.ts +7 -1
  34. package/dist-types/commands/StartKeyUsageCommand.d.ts +7 -1
  35. package/dist-types/commands/StopKeyUsageCommand.d.ts +7 -1
  36. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  37. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  38. package/dist-types/commands/index.d.ts +6 -0
  39. package/dist-types/models/enums.d.ts +38 -0
  40. package/dist-types/models/errors.d.ts +13 -0
  41. package/dist-types/models/models_0.d.ts +208 -1
  42. package/dist-types/schemas/schemas_0.d.ts +21 -0
  43. package/dist-types/ts3.4/PaymentCryptography.d.ts +102 -0
  44. package/dist-types/ts3.4/PaymentCryptographyClient.d.ts +36 -0
  45. package/dist-types/ts3.4/commands/AssociateMpaTeamCommand.d.ts +50 -0
  46. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/DisassociateMpaTeamCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/GetMpaTeamAssociationCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +50 -0
  50. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +50 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  52. package/dist-types/ts3.4/models/enums.d.ts +18 -0
  53. package/dist-types/ts3.4/models/errors.d.ts +8 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +57 -0
  55. package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  56. package/package.json +7 -7
@@ -1,23 +1,29 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { AddKeyReplicationRegionsCommand, } from "./commands/AddKeyReplicationRegionsCommand";
3
+ import { AssociateMpaTeamCommand, } from "./commands/AssociateMpaTeamCommand";
3
4
  import { CreateAliasCommand, } from "./commands/CreateAliasCommand";
4
5
  import { CreateKeyCommand } from "./commands/CreateKeyCommand";
5
6
  import { DeleteAliasCommand, } from "./commands/DeleteAliasCommand";
6
7
  import { DeleteKeyCommand } from "./commands/DeleteKeyCommand";
8
+ import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
7
9
  import { DisableDefaultKeyReplicationRegionsCommand, } from "./commands/DisableDefaultKeyReplicationRegionsCommand";
10
+ import { DisassociateMpaTeamCommand, } from "./commands/DisassociateMpaTeamCommand";
8
11
  import { EnableDefaultKeyReplicationRegionsCommand, } from "./commands/EnableDefaultKeyReplicationRegionsCommand";
9
12
  import { ExportKeyCommand } from "./commands/ExportKeyCommand";
10
13
  import { GetAliasCommand } from "./commands/GetAliasCommand";
11
14
  import { GetCertificateSigningRequestCommand, } from "./commands/GetCertificateSigningRequestCommand";
12
15
  import { GetDefaultKeyReplicationRegionsCommand, } from "./commands/GetDefaultKeyReplicationRegionsCommand";
13
16
  import { GetKeyCommand } from "./commands/GetKeyCommand";
17
+ import { GetMpaTeamAssociationCommand, } from "./commands/GetMpaTeamAssociationCommand";
14
18
  import { GetParametersForExportCommand, } from "./commands/GetParametersForExportCommand";
15
19
  import { GetParametersForImportCommand, } from "./commands/GetParametersForImportCommand";
16
20
  import { GetPublicKeyCertificateCommand, } from "./commands/GetPublicKeyCertificateCommand";
21
+ import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
17
22
  import { ImportKeyCommand } from "./commands/ImportKeyCommand";
18
23
  import { ListAliasesCommand, } from "./commands/ListAliasesCommand";
19
24
  import { ListKeysCommand } from "./commands/ListKeysCommand";
20
25
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
26
+ import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
21
27
  import { RemoveKeyReplicationRegionsCommand, } from "./commands/RemoveKeyReplicationRegionsCommand";
22
28
  import { RestoreKeyCommand, } from "./commands/RestoreKeyCommand";
23
29
  import { StartKeyUsageCommand, } from "./commands/StartKeyUsageCommand";
@@ -31,24 +37,30 @@ import { paginateListTagsForResource } from "./pagination/ListTagsForResourcePag
31
37
  import { PaymentCryptographyClient } from "./PaymentCryptographyClient";
32
38
  const commands = {
33
39
  AddKeyReplicationRegionsCommand,
40
+ AssociateMpaTeamCommand,
34
41
  CreateAliasCommand,
35
42
  CreateKeyCommand,
36
43
  DeleteAliasCommand,
37
44
  DeleteKeyCommand,
45
+ DeleteResourcePolicyCommand,
38
46
  DisableDefaultKeyReplicationRegionsCommand,
47
+ DisassociateMpaTeamCommand,
39
48
  EnableDefaultKeyReplicationRegionsCommand,
40
49
  ExportKeyCommand,
41
50
  GetAliasCommand,
42
51
  GetCertificateSigningRequestCommand,
43
52
  GetDefaultKeyReplicationRegionsCommand,
44
53
  GetKeyCommand,
54
+ GetMpaTeamAssociationCommand,
45
55
  GetParametersForExportCommand,
46
56
  GetParametersForImportCommand,
47
57
  GetPublicKeyCertificateCommand,
58
+ GetResourcePolicyCommand,
48
59
  ImportKeyCommand,
49
60
  ListAliasesCommand,
50
61
  ListKeysCommand,
51
62
  ListTagsForResourceCommand,
63
+ PutResourcePolicyCommand,
52
64
  RemoveKeyReplicationRegionsCommand,
53
65
  RestoreKeyCommand,
54
66
  StartKeyUsageCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { AssociateMpaTeam$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class AssociateMpaTeamCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("PaymentCryptographyControlPlane", "AssociateMpaTeam", {})
13
+ .n("PaymentCryptographyClient", "AssociateMpaTeamCommand")
14
+ .sc(AssociateMpaTeam$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteResourcePolicyCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("PaymentCryptographyControlPlane", "DeleteResourcePolicy", {})
13
+ .n("PaymentCryptographyClient", "DeleteResourcePolicyCommand")
14
+ .sc(DeleteResourcePolicy$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DisassociateMpaTeam$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DisassociateMpaTeamCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("PaymentCryptographyControlPlane", "DisassociateMpaTeam", {})
13
+ .n("PaymentCryptographyClient", "DisassociateMpaTeamCommand")
14
+ .sc(DisassociateMpaTeam$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetMpaTeamAssociation$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetMpaTeamAssociationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("PaymentCryptographyControlPlane", "GetMpaTeamAssociation", {})
13
+ .n("PaymentCryptographyClient", "GetMpaTeamAssociationCommand")
14
+ .sc(GetMpaTeamAssociation$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetResourcePolicy$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetResourcePolicyCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("PaymentCryptographyControlPlane", "GetResourcePolicy", {})
13
+ .n("PaymentCryptographyClient", "GetResourcePolicyCommand")
14
+ .sc(GetResourcePolicy$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class PutResourcePolicyCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("PaymentCryptographyControlPlane", "PutResourcePolicy", {})
13
+ .n("PaymentCryptographyClient", "PutResourcePolicyCommand")
14
+ .sc(PutResourcePolicy$)
15
+ .build() {
16
+ }
@@ -1,22 +1,28 @@
1
1
  export * from "./AddKeyReplicationRegionsCommand";
2
+ export * from "./AssociateMpaTeamCommand";
2
3
  export * from "./CreateAliasCommand";
3
4
  export * from "./CreateKeyCommand";
4
5
  export * from "./DeleteAliasCommand";
5
6
  export * from "./DeleteKeyCommand";
7
+ export * from "./DeleteResourcePolicyCommand";
6
8
  export * from "./DisableDefaultKeyReplicationRegionsCommand";
9
+ export * from "./DisassociateMpaTeamCommand";
7
10
  export * from "./EnableDefaultKeyReplicationRegionsCommand";
8
11
  export * from "./ExportKeyCommand";
9
12
  export * from "./GetAliasCommand";
10
13
  export * from "./GetCertificateSigningRequestCommand";
11
14
  export * from "./GetDefaultKeyReplicationRegionsCommand";
12
15
  export * from "./GetKeyCommand";
16
+ export * from "./GetMpaTeamAssociationCommand";
13
17
  export * from "./GetParametersForExportCommand";
14
18
  export * from "./GetParametersForImportCommand";
15
19
  export * from "./GetPublicKeyCertificateCommand";
20
+ export * from "./GetResourcePolicyCommand";
16
21
  export * from "./ImportKeyCommand";
17
22
  export * from "./ListAliasesCommand";
18
23
  export * from "./ListKeysCommand";
19
24
  export * from "./ListTagsForResourceCommand";
25
+ export * from "./PutResourcePolicyCommand";
20
26
  export * from "./RemoveKeyReplicationRegionsCommand";
21
27
  export * from "./RestoreKeyCommand";
22
28
  export * from "./StartKeyUsageCommand";
@@ -84,6 +84,12 @@ export const KeyState = {
84
84
  DELETE_COMPLETE: "DELETE_COMPLETE",
85
85
  DELETE_PENDING: "DELETE_PENDING",
86
86
  };
87
+ export const SessionStatus = {
88
+ APPROVED: "APPROVED",
89
+ CANCELLED: "CANCELLED",
90
+ FAILED: "FAILED",
91
+ PENDING: "PENDING",
92
+ };
87
93
  export const MultiRegionKeyType = {
88
94
  PRIMARY: "PRIMARY",
89
95
  REPLICA: "REPLICA",
@@ -100,6 +106,14 @@ export const As2805KeyVariant = {
100
106
  PIN_ENCRYPTION_KEY_VARIANT_28: "PIN_ENCRYPTION_KEY_VARIANT_28",
101
107
  TERMINAL_MAJOR_KEY_VARIANT_00: "TERMINAL_MAJOR_KEY_VARIANT_00",
102
108
  };
109
+ export const MpaOperation = {
110
+ IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE: "IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE",
111
+ };
112
+ export const AssociationState = {
113
+ ACTIVE: "ACTIVE",
114
+ DELETE_PENDING: "DELETE_PENDING",
115
+ UPDATE_PENDING: "UPDATE_PENDING",
116
+ };
103
117
  export const SymmetricKeyAlgorithm = {
104
118
  AES_128: "AES_128",
105
119
  AES_192: "AES_192",
@@ -111,3 +111,17 @@ export class ServiceUnavailableException extends __BaseException {
111
111
  this.Message = opts.Message;
112
112
  }
113
113
  }
114
+ export class PublicPolicyException extends __BaseException {
115
+ name = "PublicPolicyException";
116
+ $fault = "client";
117
+ Message;
118
+ constructor(opts) {
119
+ super({
120
+ name: "PublicPolicyException",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ Object.setPrototypeOf(this, PublicPolicyException.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
@@ -5,7 +5,12 @@ const _AKRR = "AddKeyReplicationRegions";
5
5
  const _AKRRI = "AddKeyReplicationRegionsInput";
6
6
  const _AKRRO = "AddKeyReplicationRegionsOutput";
7
7
  const _AKV = "As2805KeyVariant";
8
+ const _AMT = "AssociateMpaTeam";
9
+ const _AMTI = "AssociateMpaTeamInput";
10
+ const _AMTO = "AssociateMpaTeamOutput";
8
11
  const _AN = "AliasName";
12
+ const _AS = "AssociationState";
13
+ const _Ac = "Action";
9
14
  const _Al = "Aliases";
10
15
  const _C = "City";
11
16
  const _CA = "CreateAlias";
@@ -40,7 +45,13 @@ const _DKID = "DeleteKeyInDays";
40
45
  const _DKO = "DeleteKeyOutput";
41
46
  const _DKU = "DeriveKeyUsage";
42
47
  const _DKe = "DeleteKey";
48
+ const _DMT = "DisassociateMpaTeam";
49
+ const _DMTI = "DisassociateMpaTeamInput";
50
+ const _DMTO = "DisassociateMpaTeamOutput";
43
51
  const _DPT = "DeletePendingTimestamp";
52
+ const _DRP = "DeleteResourcePolicy";
53
+ const _DRPI = "DeleteResourcePolicyInput";
54
+ const _DRPO = "DeleteResourcePolicyOutput";
44
55
  const _DT = "DeleteTimestamp";
45
56
  const _E = "Exportable";
46
57
  const _EA = "EmailAddress";
@@ -76,6 +87,9 @@ const _GDKRRO = "GetDefaultKeyReplicationRegionsOutput";
76
87
  const _GK = "GetKey";
77
88
  const _GKI = "GetKeyInput";
78
89
  const _GKO = "GetKeyOutput";
90
+ const _GMTA = "GetMpaTeamAssociation";
91
+ const _GMTAI = "GetMpaTeamAssociationInput";
92
+ const _GMTAO = "GetMpaTeamAssociationOutput";
79
93
  const _GPFE = "GetParametersForExport";
80
94
  const _GPFEI = "GetParametersForExportInput";
81
95
  const _GPFEO = "GetParametersForExportOutput";
@@ -85,7 +99,11 @@ const _GPFIO = "GetParametersForImportOutput";
85
99
  const _GPKC = "GetPublicKeyCertificate";
86
100
  const _GPKCI = "GetPublicKeyCertificateInput";
87
101
  const _GPKCO = "GetPublicKeyCertificateOutput";
102
+ const _GRP = "GetResourcePolicy";
103
+ const _GRPI = "GetResourcePolicyInput";
104
+ const _GRPO = "GetResourcePolicyOutput";
88
105
  const _IAKC = "ImportAs2805KeyCryptogram";
106
+ const _ID = "InitiationDate";
89
107
  const _IDHTKB = "ImportDiffieHellmanTr31KeyBlock";
90
108
  const _IK = "ImportKey";
91
109
  const _IKC = "ImportKeyCryptogram";
@@ -134,7 +152,12 @@ const _LTFRI = "ListTagsForResourceInput";
134
152
  const _LTFRO = "ListTagsForResourceOutput";
135
153
  const _M = "Message";
136
154
  const _MR = "MaxResults";
155
+ const _MRC = "MpaRequesterComment";
137
156
  const _MRKT = "MultiRegionKeyType";
157
+ const _MS = "MpaStatus";
158
+ const _MSA = "MpaSessionArn";
159
+ const _MTA = "MpaTeamArn";
160
+ const _MTAp = "MpaTeamAssociation";
138
161
  const _NR = "NoRestrictions";
139
162
  const _NT = "NextToken";
140
163
  const _O = "Organization";
@@ -142,11 +165,17 @@ const _OB = "OptionalBlocks";
142
165
  const _OBI = "OptionalBlockId";
143
166
  const _OBV = "OptionalBlockValue";
144
167
  const _OU = "OrganizationUnit";
168
+ const _P = "Policy";
145
169
  const _PKC = "PublicKeyCertificate";
146
170
  const _PKI = "PrivateKeyIdentifier";
171
+ const _PPE = "PublicPolicyException";
147
172
  const _PR = "PrimaryRegion";
173
+ const _PRP = "PutResourcePolicy";
174
+ const _PRPI = "PutResourcePolicyInput";
175
+ const _PRPO = "PutResourcePolicyOutput";
148
176
  const _PVUT = "ParametersValidUntilTimestamp";
149
177
  const _RA = "ResourceArn";
178
+ const _RC = "RequesterComment";
150
179
  const _RCPK = "RootCertificatePublicKey";
151
180
  const _RI = "ResourceId";
152
181
  const _RK = "RestoreKey";
@@ -222,7 +251,7 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.paymentcryptography";
222
251
  const _se = "server";
223
252
  const n0 = "com.amazonaws.paymentcryptography";
224
253
  import { TypeRegistry } from "@smithy/core/schema";
225
- import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ThrottlingException, ValidationException, } from "../models/errors";
254
+ import { AccessDeniedException, ConflictException, InternalServerException, PublicPolicyException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ThrottlingException, ValidationException, } from "../models/errors";
226
255
  import { PaymentCryptographyServiceException } from "../models/PaymentCryptographyServiceException";
227
256
  const _s_registry = TypeRegistry.for(_s);
228
257
  export var PaymentCryptographyServiceException$ = [-3, _s, "PaymentCryptographyServiceException", 0, [], []];
@@ -246,6 +275,12 @@ export var InternalServerException$ = [-3, n0, _ISE,
246
275
  [0]
247
276
  ];
248
277
  n0_registry.registerError(InternalServerException$, InternalServerException);
278
+ export var PublicPolicyException$ = [-3, n0, _PPE,
279
+ { [_e]: _c, [_hE]: 400 },
280
+ [_M],
281
+ [0]
282
+ ];
283
+ n0_registry.registerError(PublicPolicyException$, PublicPolicyException);
249
284
  export var ResourceNotFoundException$ = [-3, n0, _RNFE,
250
285
  { [_e]: _c, [_hE]: 404 },
251
286
  [_RI],
@@ -282,6 +317,7 @@ export const errorTypeRegistries = [
282
317
  ];
283
318
  var CertificateSigningRequestType = [0, n0, _CSRT, 8, 0];
284
319
  var KeyMaterial = [0, n0, _KM, 8, 0];
320
+ var MpaRequesterComment = [0, n0, _MRC, 8, 0];
285
321
  var OptionalBlockId = [0, n0, _OBI, 8, 0];
286
322
  var OptionalBlockValue = [0, n0, _OBV, 8, 0];
287
323
  var Tr31WrappedKeyBlock = [0, n0, _TWKB, 8, 0];
@@ -302,6 +338,16 @@ export var Alias$ = [3, n0, _A,
302
338
  [_AN, _KA],
303
339
  [0, 0], 1
304
340
  ];
341
+ export var AssociateMpaTeamInput$ = [3, n0, _AMTI,
342
+ 0,
343
+ [_Ac, _MTA, _RC],
344
+ [0, 0, [() => MpaRequesterComment, 0]], 2
345
+ ];
346
+ export var AssociateMpaTeamOutput$ = [3, n0, _AMTO,
347
+ 0,
348
+ [_MTAp],
349
+ [() => MpaTeamAssociation$], 1
350
+ ];
305
351
  export var CertificateSubjectType$ = [3, n0, _CST,
306
352
  0,
307
353
  [_CN, _OU, _O, _C, _Co, _SOP, _EA],
@@ -347,6 +393,16 @@ export var DeleteKeyOutput$ = [3, n0, _DKO,
347
393
  [_K],
348
394
  [() => Key$], 1
349
395
  ];
396
+ export var DeleteResourcePolicyInput$ = [3, n0, _DRPI,
397
+ 0,
398
+ [_RA],
399
+ [0], 1
400
+ ];
401
+ export var DeleteResourcePolicyOutput$ = [3, n0, _DRPO,
402
+ 0,
403
+ [],
404
+ []
405
+ ];
350
406
  export var DisableDefaultKeyReplicationRegionsInput$ = [3, n0, _DDKRRI,
351
407
  0,
352
408
  [_RR],
@@ -357,6 +413,16 @@ export var DisableDefaultKeyReplicationRegionsOutput$ = [3, n0, _DDKRRO,
357
413
  [_ERR],
358
414
  [64 | 0], 1
359
415
  ];
416
+ export var DisassociateMpaTeamInput$ = [3, n0, _DMTI,
417
+ 0,
418
+ [_Ac, _RC],
419
+ [0, [() => MpaRequesterComment, 0]], 1
420
+ ];
421
+ export var DisassociateMpaTeamOutput$ = [3, n0, _DMTO,
422
+ 0,
423
+ [_MTAp],
424
+ [() => MpaTeamAssociation$], 1
425
+ ];
360
426
  export var EnableDefaultKeyReplicationRegionsInput$ = [3, n0, _EDKRRI,
361
427
  0,
362
428
  [_RR],
@@ -452,6 +518,16 @@ export var GetKeyOutput$ = [3, n0, _GKO,
452
518
  [_K],
453
519
  [() => Key$], 1
454
520
  ];
521
+ export var GetMpaTeamAssociationInput$ = [3, n0, _GMTAI,
522
+ 0,
523
+ [_Ac],
524
+ [0], 1
525
+ ];
526
+ export var GetMpaTeamAssociationOutput$ = [3, n0, _GMTAO,
527
+ 0,
528
+ [_MTAp],
529
+ [() => MpaTeamAssociation$], 1
530
+ ];
455
531
  export var GetParametersForExportInput$ = [3, n0, _GPFEI,
456
532
  0,
457
533
  [_KMT, _SKA, _RLGT],
@@ -482,6 +558,16 @@ export var GetPublicKeyCertificateOutput$ = [3, n0, _GPKCO,
482
558
  [_KC, _KCC],
483
559
  [0, 0], 2
484
560
  ];
561
+ export var GetResourcePolicyInput$ = [3, n0, _GRPI,
562
+ 0,
563
+ [_RA],
564
+ [0], 1
565
+ ];
566
+ export var GetResourcePolicyOutput$ = [3, n0, _GRPO,
567
+ 0,
568
+ [_RA, _P],
569
+ [0, 0], 2
570
+ ];
485
571
  export var ImportAs2805KeyCryptogram$ = [3, n0, _IAKC,
486
572
  0,
487
573
  [_AKV, _KMOU, _KAey, _E, _WKI, _WKC],
@@ -499,8 +585,8 @@ export var ImportKeyCryptogram$ = [3, n0, _IKC,
499
585
  ];
500
586
  export var ImportKeyInput$ = [3, n0, _IKI,
501
587
  0,
502
- [_KM, _KCVA, _En, _T, _RR],
503
- [[() => ImportKeyMaterial$, 0], 0, 2, () => Tags, 64 | 0], 1
588
+ [_KM, _KCVA, _En, _T, _RR, _RC],
589
+ [[() => ImportKeyMaterial$, 0], 0, 2, () => Tags, 64 | 0, [() => MpaRequesterComment, 0]], 1
504
590
  ];
505
591
  export var ImportKeyOutput$ = [3, n0, _IKO,
506
592
  0,
@@ -519,8 +605,8 @@ export var ImportTr34KeyBlock$ = [3, n0, _ITKBm,
519
605
  ];
520
606
  export var Key$ = [3, n0, _K,
521
607
  0,
522
- [_KA, _KAe, _KCV, _KCVA, _En, _E, _KS, _KO, _CT, _UST, _USTs, _DPT, _DT, _DKU, _MRKT, _PR, _RS, _UDRR],
523
- [0, () => KeyAttributes$, 0, 0, 2, 2, 0, 0, 4, 4, 4, 4, 4, 0, 0, 0, () => ReplicationStatus, 2], 9
608
+ [_KA, _KAe, _KCV, _KCVA, _En, _E, _KS, _KO, _CT, _UST, _USTs, _DPT, _DT, _DKU, _MRKT, _PR, _RS, _UDRR, _MS],
609
+ [0, () => KeyAttributes$, 0, 0, 2, 2, 0, 0, 4, 4, 4, 4, 4, 0, 0, 0, () => ReplicationStatus, 2, () => MpaStatus$], 9
524
610
  ];
525
611
  export var KeyAttributes$ = [3, n0, _KAe,
526
612
  0,
@@ -572,6 +658,26 @@ export var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
572
658
  [_T, _NT],
573
659
  [() => Tags, 0], 1
574
660
  ];
661
+ export var MpaStatus$ = [3, n0, _MS,
662
+ 0,
663
+ [_MSA, _St, _ID, _SM],
664
+ [0, 0, 4, 0], 3
665
+ ];
666
+ export var MpaTeamAssociation$ = [3, n0, _MTAp,
667
+ 0,
668
+ [_Ac, _MTA, _AS, _MS],
669
+ [0, 0, 0, () => MpaStatus$], 3
670
+ ];
671
+ export var PutResourcePolicyInput$ = [3, n0, _PRPI,
672
+ 0,
673
+ [_RA, _P],
674
+ [0, 0], 2
675
+ ];
676
+ export var PutResourcePolicyOutput$ = [3, n0, _PRPO,
677
+ 0,
678
+ [_RA, _P],
679
+ [0, 0], 2
680
+ ];
575
681
  export var RemoveKeyReplicationRegionsInput$ = [3, n0, _RKRRI,
576
682
  0,
577
683
  [_KI, _RR],
@@ -705,6 +811,9 @@ export var ImportKeyMaterial$ = [4, n0, _IKM,
705
811
  export var AddKeyReplicationRegions$ = [9, n0, _AKRR,
706
812
  0, () => AddKeyReplicationRegionsInput$, () => AddKeyReplicationRegionsOutput$
707
813
  ];
814
+ export var AssociateMpaTeam$ = [9, n0, _AMT,
815
+ 0, () => AssociateMpaTeamInput$, () => AssociateMpaTeamOutput$
816
+ ];
708
817
  export var CreateAlias$ = [9, n0, _CA,
709
818
  2, () => CreateAliasInput$, () => CreateAliasOutput$
710
819
  ];
@@ -717,9 +826,15 @@ export var DeleteAlias$ = [9, n0, _DA,
717
826
  export var DeleteKey$ = [9, n0, _DKe,
718
827
  2, () => DeleteKeyInput$, () => DeleteKeyOutput$
719
828
  ];
829
+ export var DeleteResourcePolicy$ = [9, n0, _DRP,
830
+ 2, () => DeleteResourcePolicyInput$, () => DeleteResourcePolicyOutput$
831
+ ];
720
832
  export var DisableDefaultKeyReplicationRegions$ = [9, n0, _DDKRR,
721
833
  0, () => DisableDefaultKeyReplicationRegionsInput$, () => DisableDefaultKeyReplicationRegionsOutput$
722
834
  ];
835
+ export var DisassociateMpaTeam$ = [9, n0, _DMT,
836
+ 0, () => DisassociateMpaTeamInput$, () => DisassociateMpaTeamOutput$
837
+ ];
723
838
  export var EnableDefaultKeyReplicationRegions$ = [9, n0, _EDKRR,
724
839
  0, () => EnableDefaultKeyReplicationRegionsInput$, () => EnableDefaultKeyReplicationRegionsOutput$
725
840
  ];
@@ -738,6 +853,9 @@ export var GetDefaultKeyReplicationRegions$ = [9, n0, _GDKRR,
738
853
  export var GetKey$ = [9, n0, _GK,
739
854
  0, () => GetKeyInput$, () => GetKeyOutput$
740
855
  ];
856
+ export var GetMpaTeamAssociation$ = [9, n0, _GMTA,
857
+ 0, () => GetMpaTeamAssociationInput$, () => GetMpaTeamAssociationOutput$
858
+ ];
741
859
  export var GetParametersForExport$ = [9, n0, _GPFE,
742
860
  0, () => GetParametersForExportInput$, () => GetParametersForExportOutput$
743
861
  ];
@@ -747,6 +865,9 @@ export var GetParametersForImport$ = [9, n0, _GPFI,
747
865
  export var GetPublicKeyCertificate$ = [9, n0, _GPKC,
748
866
  0, () => GetPublicKeyCertificateInput$, () => GetPublicKeyCertificateOutput$
749
867
  ];
868
+ export var GetResourcePolicy$ = [9, n0, _GRP,
869
+ 0, () => GetResourcePolicyInput$, () => GetResourcePolicyOutput$
870
+ ];
750
871
  export var ImportKey$ = [9, n0, _IK,
751
872
  0, () => ImportKeyInput$, () => ImportKeyOutput$
752
873
  ];
@@ -759,6 +880,9 @@ export var ListKeys$ = [9, n0, _LK,
759
880
  export var ListTagsForResource$ = [9, n0, _LTFR,
760
881
  0, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
761
882
  ];
883
+ export var PutResourcePolicy$ = [9, n0, _PRP,
884
+ 2, () => PutResourcePolicyInput$, () => PutResourcePolicyOutput$
885
+ ];
762
886
  export var RemoveKeyReplicationRegions$ = [9, n0, _RKRR,
763
887
  0, () => RemoveKeyReplicationRegionsInput$, () => RemoveKeyReplicationRegionsOutput$
764
888
  ];
@@ -1,23 +1,29 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type AddKeyReplicationRegionsCommandInput, type AddKeyReplicationRegionsCommandOutput } from "./commands/AddKeyReplicationRegionsCommand";
3
+ import { type AssociateMpaTeamCommandInput, type AssociateMpaTeamCommandOutput } from "./commands/AssociateMpaTeamCommand";
3
4
  import { type CreateAliasCommandInput, type CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
4
5
  import { type CreateKeyCommandInput, type CreateKeyCommandOutput } from "./commands/CreateKeyCommand";
5
6
  import { type DeleteAliasCommandInput, type DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
6
7
  import { type DeleteKeyCommandInput, type DeleteKeyCommandOutput } from "./commands/DeleteKeyCommand";
8
+ import { type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
7
9
  import { type DisableDefaultKeyReplicationRegionsCommandInput, type DisableDefaultKeyReplicationRegionsCommandOutput } from "./commands/DisableDefaultKeyReplicationRegionsCommand";
10
+ import { type DisassociateMpaTeamCommandInput, type DisassociateMpaTeamCommandOutput } from "./commands/DisassociateMpaTeamCommand";
8
11
  import { type EnableDefaultKeyReplicationRegionsCommandInput, type EnableDefaultKeyReplicationRegionsCommandOutput } from "./commands/EnableDefaultKeyReplicationRegionsCommand";
9
12
  import { type ExportKeyCommandInput, type ExportKeyCommandOutput } from "./commands/ExportKeyCommand";
10
13
  import { type GetAliasCommandInput, type GetAliasCommandOutput } from "./commands/GetAliasCommand";
11
14
  import { type GetCertificateSigningRequestCommandInput, type GetCertificateSigningRequestCommandOutput } from "./commands/GetCertificateSigningRequestCommand";
12
15
  import { type GetDefaultKeyReplicationRegionsCommandInput, type GetDefaultKeyReplicationRegionsCommandOutput } from "./commands/GetDefaultKeyReplicationRegionsCommand";
13
16
  import { type GetKeyCommandInput, type GetKeyCommandOutput } from "./commands/GetKeyCommand";
17
+ import { type GetMpaTeamAssociationCommandInput, type GetMpaTeamAssociationCommandOutput } from "./commands/GetMpaTeamAssociationCommand";
14
18
  import { type GetParametersForExportCommandInput, type GetParametersForExportCommandOutput } from "./commands/GetParametersForExportCommand";
15
19
  import { type GetParametersForImportCommandInput, type GetParametersForImportCommandOutput } from "./commands/GetParametersForImportCommand";
16
20
  import { type GetPublicKeyCertificateCommandInput, type GetPublicKeyCertificateCommandOutput } from "./commands/GetPublicKeyCertificateCommand";
21
+ import { type GetResourcePolicyCommandInput, type GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
17
22
  import { type ImportKeyCommandInput, type ImportKeyCommandOutput } from "./commands/ImportKeyCommand";
18
23
  import { type ListAliasesCommandInput, type ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
19
24
  import { type ListKeysCommandInput, type ListKeysCommandOutput } from "./commands/ListKeysCommand";
20
25
  import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
26
+ import { type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
21
27
  import { type RemoveKeyReplicationRegionsCommandInput, type RemoveKeyReplicationRegionsCommandOutput } from "./commands/RemoveKeyReplicationRegionsCommand";
22
28
  import { type RestoreKeyCommandInput, type RestoreKeyCommandOutput } from "./commands/RestoreKeyCommand";
23
29
  import { type StartKeyUsageCommandInput, type StartKeyUsageCommandOutput } from "./commands/StartKeyUsageCommand";
@@ -33,6 +39,12 @@ export interface PaymentCryptography {
33
39
  addKeyReplicationRegions(args: AddKeyReplicationRegionsCommandInput, options?: __HttpHandlerOptions): Promise<AddKeyReplicationRegionsCommandOutput>;
34
40
  addKeyReplicationRegions(args: AddKeyReplicationRegionsCommandInput, cb: (err: any, data?: AddKeyReplicationRegionsCommandOutput) => void): void;
35
41
  addKeyReplicationRegions(args: AddKeyReplicationRegionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddKeyReplicationRegionsCommandOutput) => void): void;
42
+ /**
43
+ * @see {@link AssociateMpaTeamCommand}
44
+ */
45
+ associateMpaTeam(args: AssociateMpaTeamCommandInput, options?: __HttpHandlerOptions): Promise<AssociateMpaTeamCommandOutput>;
46
+ associateMpaTeam(args: AssociateMpaTeamCommandInput, cb: (err: any, data?: AssociateMpaTeamCommandOutput) => void): void;
47
+ associateMpaTeam(args: AssociateMpaTeamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateMpaTeamCommandOutput) => void): void;
36
48
  /**
37
49
  * @see {@link CreateAliasCommand}
38
50
  */
@@ -57,12 +69,24 @@ export interface PaymentCryptography {
57
69
  deleteKey(args: DeleteKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKeyCommandOutput>;
58
70
  deleteKey(args: DeleteKeyCommandInput, cb: (err: any, data?: DeleteKeyCommandOutput) => void): void;
59
71
  deleteKey(args: DeleteKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKeyCommandOutput) => void): void;
72
+ /**
73
+ * @see {@link DeleteResourcePolicyCommand}
74
+ */
75
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
76
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
77
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
60
78
  /**
61
79
  * @see {@link DisableDefaultKeyReplicationRegionsCommand}
62
80
  */
63
81
  disableDefaultKeyReplicationRegions(args: DisableDefaultKeyReplicationRegionsCommandInput, options?: __HttpHandlerOptions): Promise<DisableDefaultKeyReplicationRegionsCommandOutput>;
64
82
  disableDefaultKeyReplicationRegions(args: DisableDefaultKeyReplicationRegionsCommandInput, cb: (err: any, data?: DisableDefaultKeyReplicationRegionsCommandOutput) => void): void;
65
83
  disableDefaultKeyReplicationRegions(args: DisableDefaultKeyReplicationRegionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableDefaultKeyReplicationRegionsCommandOutput) => void): void;
84
+ /**
85
+ * @see {@link DisassociateMpaTeamCommand}
86
+ */
87
+ disassociateMpaTeam(args: DisassociateMpaTeamCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateMpaTeamCommandOutput>;
88
+ disassociateMpaTeam(args: DisassociateMpaTeamCommandInput, cb: (err: any, data?: DisassociateMpaTeamCommandOutput) => void): void;
89
+ disassociateMpaTeam(args: DisassociateMpaTeamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateMpaTeamCommandOutput) => void): void;
66
90
  /**
67
91
  * @see {@link EnableDefaultKeyReplicationRegionsCommand}
68
92
  */
@@ -100,6 +124,12 @@ export interface PaymentCryptography {
100
124
  getKey(args: GetKeyCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyCommandOutput>;
101
125
  getKey(args: GetKeyCommandInput, cb: (err: any, data?: GetKeyCommandOutput) => void): void;
102
126
  getKey(args: GetKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKeyCommandOutput) => void): void;
127
+ /**
128
+ * @see {@link GetMpaTeamAssociationCommand}
129
+ */
130
+ getMpaTeamAssociation(args: GetMpaTeamAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetMpaTeamAssociationCommandOutput>;
131
+ getMpaTeamAssociation(args: GetMpaTeamAssociationCommandInput, cb: (err: any, data?: GetMpaTeamAssociationCommandOutput) => void): void;
132
+ getMpaTeamAssociation(args: GetMpaTeamAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMpaTeamAssociationCommandOutput) => void): void;
103
133
  /**
104
134
  * @see {@link GetParametersForExportCommand}
105
135
  */
@@ -118,6 +148,12 @@ export interface PaymentCryptography {
118
148
  getPublicKeyCertificate(args: GetPublicKeyCertificateCommandInput, options?: __HttpHandlerOptions): Promise<GetPublicKeyCertificateCommandOutput>;
119
149
  getPublicKeyCertificate(args: GetPublicKeyCertificateCommandInput, cb: (err: any, data?: GetPublicKeyCertificateCommandOutput) => void): void;
120
150
  getPublicKeyCertificate(args: GetPublicKeyCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPublicKeyCertificateCommandOutput) => void): void;
151
+ /**
152
+ * @see {@link GetResourcePolicyCommand}
153
+ */
154
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
155
+ getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
156
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
121
157
  /**
122
158
  * @see {@link ImportKeyCommand}
123
159
  */
@@ -144,6 +180,12 @@ export interface PaymentCryptography {
144
180
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
145
181
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
146
182
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
183
+ /**
184
+ * @see {@link PutResourcePolicyCommand}
185
+ */
186
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
187
+ putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
188
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
147
189
  /**
148
190
  * @see {@link RemoveKeyReplicationRegionsCommand}
149
191
  */