@aws-sdk/client-payment-cryptography 3.1039.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 +1 -1
@@ -140,6 +140,20 @@ export declare const KeyState: {
140
140
  * @public
141
141
  */
142
142
  export type KeyState = (typeof KeyState)[keyof typeof KeyState];
143
+ /**
144
+ * @public
145
+ * @enum
146
+ */
147
+ export declare const SessionStatus: {
148
+ readonly APPROVED: "APPROVED";
149
+ readonly CANCELLED: "CANCELLED";
150
+ readonly FAILED: "FAILED";
151
+ readonly PENDING: "PENDING";
152
+ };
153
+ /**
154
+ * @public
155
+ */
156
+ export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
143
157
  /**
144
158
  * @public
145
159
  * @enum
@@ -180,6 +194,30 @@ export declare const As2805KeyVariant: {
180
194
  * @public
181
195
  */
182
196
  export type As2805KeyVariant = (typeof As2805KeyVariant)[keyof typeof As2805KeyVariant];
197
+ /**
198
+ * @public
199
+ * @enum
200
+ */
201
+ export declare const MpaOperation: {
202
+ readonly IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE: "IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE";
203
+ };
204
+ /**
205
+ * @public
206
+ */
207
+ export type MpaOperation = (typeof MpaOperation)[keyof typeof MpaOperation];
208
+ /**
209
+ * @public
210
+ * @enum
211
+ */
212
+ export declare const AssociationState: {
213
+ readonly ACTIVE: "ACTIVE";
214
+ readonly DELETE_PENDING: "DELETE_PENDING";
215
+ readonly UPDATE_PENDING: "UPDATE_PENDING";
216
+ };
217
+ /**
218
+ * @public
219
+ */
220
+ export type AssociationState = (typeof AssociationState)[keyof typeof AssociationState];
183
221
  /**
184
222
  * @public
185
223
  * @enum
@@ -108,3 +108,16 @@ export declare class ServiceUnavailableException extends __BaseException {
108
108
  */
109
109
  constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
110
110
  }
111
+ /**
112
+ * <p>The resource-based policy would grant public access to the key.</p> <p>Modify the policy to restrict access to specific principals and resubmit the request.</p>
113
+ * @public
114
+ */
115
+ export declare class PublicPolicyException extends __BaseException {
116
+ readonly name: "PublicPolicyException";
117
+ readonly $fault: "client";
118
+ Message?: string | undefined;
119
+ /**
120
+ * @internal
121
+ */
122
+ constructor(opts: __ExceptionOptionType<PublicPolicyException, __BaseException>);
123
+ }
@@ -1,4 +1,4 @@
1
- import type { As2805KeyVariant, DeriveKeyUsage, KeyAlgorithm, KeyCheckValueAlgorithm, KeyClass, KeyDerivationFunction, KeyDerivationHashAlgorithm, KeyExportability, KeyMaterialType, KeyOrigin, KeyReplicationState, KeyState, KeyUsage, MultiRegionKeyType, SigningAlgorithmType, SymmetricKeyAlgorithm, Tr34KeyBlockFormat, WrappedKeyMaterialFormat, WrappingKeySpec } from "./enums";
1
+ import type { As2805KeyVariant, AssociationState, DeriveKeyUsage, KeyAlgorithm, KeyCheckValueAlgorithm, KeyClass, KeyDerivationFunction, KeyDerivationHashAlgorithm, KeyExportability, KeyMaterialType, KeyOrigin, KeyReplicationState, KeyState, KeyUsage, MpaOperation, MultiRegionKeyType, SessionStatus, SigningAlgorithmType, SymmetricKeyAlgorithm, Tr34KeyBlockFormat, WrappedKeyMaterialFormat, WrappingKeySpec } from "./enums";
2
2
  /**
3
3
  * <p>Input parameters for adding replication regions to a specific key.</p>
4
4
  * @public
@@ -92,6 +92,32 @@ export interface KeyAttributes {
92
92
  */
93
93
  KeyModesOfUse: KeyModesOfUse | undefined;
94
94
  }
95
+ /**
96
+ * <p>The status of an MPA session.</p>
97
+ * @public
98
+ */
99
+ export interface MpaStatus {
100
+ /**
101
+ * <p>The ARN of the MPA session.</p>
102
+ * @public
103
+ */
104
+ MpaSessionArn: string | undefined;
105
+ /**
106
+ * <p>The current status of the MPA session.</p>
107
+ * @public
108
+ */
109
+ Status: SessionStatus | undefined;
110
+ /**
111
+ * <p>The date and time when the MPA session was initiated.</p>
112
+ * @public
113
+ */
114
+ InitiationDate: Date | undefined;
115
+ /**
116
+ * <p>The message providing additional information about the MPA session status.</p>
117
+ * @public
118
+ */
119
+ StatusMessage?: string | undefined;
120
+ }
95
121
  /**
96
122
  * <p>Represents the replication status information for a key in a replication region for <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-multi-region-replication.html">Multi-Region key replication</a>.</p> <p>This structure contains details about the current state of key replication, including any status messages and operational information about the replication process.</p>
97
123
  * @public
@@ -203,6 +229,11 @@ export interface Key {
203
229
  * @public
204
230
  */
205
231
  UsingDefaultReplicationRegions?: boolean | undefined;
232
+ /**
233
+ * <p>The Multi-Party Approval (MPA) status for the key, if applicable.</p>
234
+ * @public
235
+ */
236
+ MpaStatus?: MpaStatus | undefined;
206
237
  }
207
238
  /**
208
239
  * <p>Output from adding replication regions to a key.</p>
@@ -351,6 +382,62 @@ export interface UpdateAliasOutput {
351
382
  */
352
383
  Alias: Alias | undefined;
353
384
  }
385
+ /**
386
+ * @public
387
+ */
388
+ export interface AssociateMpaTeamInput {
389
+ /**
390
+ * <p>The protected operation to associate with the MPA team. Currently, the only supported value is <code>IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE</code>.</p>
391
+ * @public
392
+ */
393
+ Action: MpaOperation | undefined;
394
+ /**
395
+ * <p>The ARN of the MPA team to associate with the protected operation.</p>
396
+ * @public
397
+ */
398
+ MpaTeamArn: string | undefined;
399
+ /**
400
+ * <p>The comment from the requester explaining the reason for the association.</p> <important> <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important>
401
+ * @public
402
+ */
403
+ RequesterComment?: string | undefined;
404
+ }
405
+ /**
406
+ * <p>The details of an MPA team association with a protected operation.</p>
407
+ * @public
408
+ */
409
+ export interface MpaTeamAssociation {
410
+ /**
411
+ * <p>The protected operation associated with the MPA team.</p>
412
+ * @public
413
+ */
414
+ Action: MpaOperation | undefined;
415
+ /**
416
+ * <p>The ARN of the MPA team.</p>
417
+ * @public
418
+ */
419
+ MpaTeamArn: string | undefined;
420
+ /**
421
+ * <p>The state of the MPA team association.</p>
422
+ * @public
423
+ */
424
+ AssociationState: AssociationState | undefined;
425
+ /**
426
+ * <p>The MPA session status for the association, if applicable.</p>
427
+ * @public
428
+ */
429
+ MpaStatus?: MpaStatus | undefined;
430
+ }
431
+ /**
432
+ * @public
433
+ */
434
+ export interface AssociateMpaTeamOutput {
435
+ /**
436
+ * <p>The details of the MPA team association.</p>
437
+ * @public
438
+ */
439
+ MpaTeamAssociation: MpaTeamAssociation | undefined;
440
+ }
354
441
  /**
355
442
  * <p>The metadata used to create the certificate signing request.</p>
356
443
  * @public
@@ -483,6 +570,21 @@ export interface DeleteKeyOutput {
483
570
  */
484
571
  Key: Key | undefined;
485
572
  }
573
+ /**
574
+ * @public
575
+ */
576
+ export interface DeleteResourcePolicyInput {
577
+ /**
578
+ * <p>The <code>KeyARN</code> of the key whose resource-based policy you want to delete.</p>
579
+ * @public
580
+ */
581
+ ResourceArn: string | undefined;
582
+ }
583
+ /**
584
+ * @public
585
+ */
586
+ export interface DeleteResourcePolicyOutput {
587
+ }
486
588
  /**
487
589
  * <p>The shared information used when deriving a key using ECDH.</p>
488
590
  * @public
@@ -538,6 +640,31 @@ export interface DisableDefaultKeyReplicationRegionsOutput {
538
640
  */
539
641
  EnabledReplicationRegions: string[] | undefined;
540
642
  }
643
+ /**
644
+ * @public
645
+ */
646
+ export interface DisassociateMpaTeamInput {
647
+ /**
648
+ * <p>The protected operation to disassociate from the MPA team. Currently, the only supported value is <code>IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE</code>.</p>
649
+ * @public
650
+ */
651
+ Action: MpaOperation | undefined;
652
+ /**
653
+ * <p>The comment from the requester explaining the reason for the disassociation.</p> <important> <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important>
654
+ * @public
655
+ */
656
+ RequesterComment?: string | undefined;
657
+ }
658
+ /**
659
+ * @public
660
+ */
661
+ export interface DisassociateMpaTeamOutput {
662
+ /**
663
+ * <p>The details of the MPA team association.</p>
664
+ * @public
665
+ */
666
+ MpaTeamAssociation: MpaTeamAssociation | undefined;
667
+ }
541
668
  /**
542
669
  * <p>Input parameters for enabling default key replication regions for the account.</p>
543
670
  * @public
@@ -979,6 +1106,26 @@ export interface GetKeyOutput {
979
1106
  */
980
1107
  Key: Key | undefined;
981
1108
  }
1109
+ /**
1110
+ * @public
1111
+ */
1112
+ export interface GetMpaTeamAssociationInput {
1113
+ /**
1114
+ * <p>The protected operation whose MPA team association you want to retrieve. Currently, the only supported value is <code>IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE</code>.</p>
1115
+ * @public
1116
+ */
1117
+ Action: MpaOperation | undefined;
1118
+ }
1119
+ /**
1120
+ * @public
1121
+ */
1122
+ export interface GetMpaTeamAssociationOutput {
1123
+ /**
1124
+ * <p>The details of the MPA team association.</p>
1125
+ * @public
1126
+ */
1127
+ MpaTeamAssociation: MpaTeamAssociation | undefined;
1128
+ }
982
1129
  /**
983
1130
  * @public
984
1131
  */
@@ -1104,6 +1251,31 @@ export interface GetPublicKeyCertificateOutput {
1104
1251
  */
1105
1252
  KeyCertificateChain: string | undefined;
1106
1253
  }
1254
+ /**
1255
+ * @public
1256
+ */
1257
+ export interface GetResourcePolicyInput {
1258
+ /**
1259
+ * <p>The <code>KeyARN</code> of the key whose resource-based policy you want to retrieve.</p>
1260
+ * @public
1261
+ */
1262
+ ResourceArn: string | undefined;
1263
+ }
1264
+ /**
1265
+ * @public
1266
+ */
1267
+ export interface GetResourcePolicyOutput {
1268
+ /**
1269
+ * <p>The <code>KeyARN</code> of the key.</p>
1270
+ * @public
1271
+ */
1272
+ ResourceArn: string | undefined;
1273
+ /**
1274
+ * <p>The resource-based policy attached to the key, in JSON format.</p>
1275
+ * @public
1276
+ */
1277
+ Policy: string | undefined;
1278
+ }
1107
1279
  /**
1108
1280
  * <p>Parameter information for key material import using AS2805 key cryptogram format.</p>
1109
1281
  * @public
@@ -1480,6 +1652,11 @@ export interface ImportKeyInput {
1480
1652
  * @public
1481
1653
  */
1482
1654
  ReplicationRegions?: string[] | undefined;
1655
+ /**
1656
+ * <p>The comment from the requester explaining the reason for the import.</p> <important> <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important>
1657
+ * @public
1658
+ */
1659
+ RequesterComment?: string | undefined;
1483
1660
  }
1484
1661
  /**
1485
1662
  * @public
@@ -1694,6 +1871,36 @@ export interface ListTagsForResourceOutput {
1694
1871
  */
1695
1872
  NextToken?: string | undefined;
1696
1873
  }
1874
+ /**
1875
+ * @public
1876
+ */
1877
+ export interface PutResourcePolicyInput {
1878
+ /**
1879
+ * <p>The <code>KeyARN</code> of the key to attach the resource-based policy to.</p>
1880
+ * @public
1881
+ */
1882
+ ResourceArn: string | undefined;
1883
+ /**
1884
+ * <p>The resource-based policy to attach to the key, in JSON format.</p>
1885
+ * @public
1886
+ */
1887
+ Policy: string | undefined;
1888
+ }
1889
+ /**
1890
+ * @public
1891
+ */
1892
+ export interface PutResourcePolicyOutput {
1893
+ /**
1894
+ * <p>The <code>KeyARN</code> of the key that the resource-based policy was attached to.</p>
1895
+ * @public
1896
+ */
1897
+ ResourceArn: string | undefined;
1898
+ /**
1899
+ * <p>The resource-based policy that was attached to the key.</p>
1900
+ * @public
1901
+ */
1902
+ Policy: string | undefined;
1903
+ }
1697
1904
  /**
1698
1905
  * @public
1699
1906
  */
@@ -4,6 +4,7 @@ export declare var PaymentCryptographyServiceException$: StaticErrorSchema;
4
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
5
  export declare var ConflictException$: StaticErrorSchema;
6
6
  export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var PublicPolicyException$: StaticErrorSchema;
7
8
  export declare var ResourceNotFoundException$: StaticErrorSchema;
8
9
  export declare var ServiceQuotaExceededException$: StaticErrorSchema;
9
10
  export declare var ServiceUnavailableException$: StaticErrorSchema;
@@ -18,6 +19,8 @@ export declare const errorTypeRegistries: TypeRegistry[];
18
19
  export declare var AddKeyReplicationRegionsInput$: StaticStructureSchema;
19
20
  export declare var AddKeyReplicationRegionsOutput$: StaticStructureSchema;
20
21
  export declare var Alias$: StaticStructureSchema;
22
+ export declare var AssociateMpaTeamInput$: StaticStructureSchema;
23
+ export declare var AssociateMpaTeamOutput$: StaticStructureSchema;
21
24
  export declare var CertificateSubjectType$: StaticStructureSchema;
22
25
  export declare var CreateAliasInput$: StaticStructureSchema;
23
26
  export declare var CreateAliasOutput$: StaticStructureSchema;
@@ -27,8 +30,12 @@ export declare var DeleteAliasInput$: StaticStructureSchema;
27
30
  export declare var DeleteAliasOutput$: StaticStructureSchema;
28
31
  export declare var DeleteKeyInput$: StaticStructureSchema;
29
32
  export declare var DeleteKeyOutput$: StaticStructureSchema;
33
+ export declare var DeleteResourcePolicyInput$: StaticStructureSchema;
34
+ export declare var DeleteResourcePolicyOutput$: StaticStructureSchema;
30
35
  export declare var DisableDefaultKeyReplicationRegionsInput$: StaticStructureSchema;
31
36
  export declare var DisableDefaultKeyReplicationRegionsOutput$: StaticStructureSchema;
37
+ export declare var DisassociateMpaTeamInput$: StaticStructureSchema;
38
+ export declare var DisassociateMpaTeamOutput$: StaticStructureSchema;
32
39
  export declare var EnableDefaultKeyReplicationRegionsInput$: StaticStructureSchema;
33
40
  export declare var EnableDefaultKeyReplicationRegionsOutput$: StaticStructureSchema;
34
41
  export declare var ExportAs2805KeyCryptogram$: StaticStructureSchema;
@@ -48,12 +55,16 @@ export declare var GetDefaultKeyReplicationRegionsInput$: StaticStructureSchema;
48
55
  export declare var GetDefaultKeyReplicationRegionsOutput$: StaticStructureSchema;
49
56
  export declare var GetKeyInput$: StaticStructureSchema;
50
57
  export declare var GetKeyOutput$: StaticStructureSchema;
58
+ export declare var GetMpaTeamAssociationInput$: StaticStructureSchema;
59
+ export declare var GetMpaTeamAssociationOutput$: StaticStructureSchema;
51
60
  export declare var GetParametersForExportInput$: StaticStructureSchema;
52
61
  export declare var GetParametersForExportOutput$: StaticStructureSchema;
53
62
  export declare var GetParametersForImportInput$: StaticStructureSchema;
54
63
  export declare var GetParametersForImportOutput$: StaticStructureSchema;
55
64
  export declare var GetPublicKeyCertificateInput$: StaticStructureSchema;
56
65
  export declare var GetPublicKeyCertificateOutput$: StaticStructureSchema;
66
+ export declare var GetResourcePolicyInput$: StaticStructureSchema;
67
+ export declare var GetResourcePolicyOutput$: StaticStructureSchema;
57
68
  export declare var ImportAs2805KeyCryptogram$: StaticStructureSchema;
58
69
  export declare var ImportDiffieHellmanTr31KeyBlock$: StaticStructureSchema;
59
70
  export declare var ImportKeyCryptogram$: StaticStructureSchema;
@@ -72,6 +83,10 @@ export declare var ListKeysInput$: StaticStructureSchema;
72
83
  export declare var ListKeysOutput$: StaticStructureSchema;
73
84
  export declare var ListTagsForResourceInput$: StaticStructureSchema;
74
85
  export declare var ListTagsForResourceOutput$: StaticStructureSchema;
86
+ export declare var MpaStatus$: StaticStructureSchema;
87
+ export declare var MpaTeamAssociation$: StaticStructureSchema;
88
+ export declare var PutResourcePolicyInput$: StaticStructureSchema;
89
+ export declare var PutResourcePolicyOutput$: StaticStructureSchema;
75
90
  export declare var RemoveKeyReplicationRegionsInput$: StaticStructureSchema;
76
91
  export declare var RemoveKeyReplicationRegionsOutput$: StaticStructureSchema;
77
92
  export declare var ReplicationStatusType$: StaticStructureSchema;
@@ -95,24 +110,30 @@ export declare var DiffieHellmanDerivationData$: StaticUnionSchema;
95
110
  export declare var ExportKeyMaterial$: StaticUnionSchema;
96
111
  export declare var ImportKeyMaterial$: StaticUnionSchema;
97
112
  export declare var AddKeyReplicationRegions$: StaticOperationSchema;
113
+ export declare var AssociateMpaTeam$: StaticOperationSchema;
98
114
  export declare var CreateAlias$: StaticOperationSchema;
99
115
  export declare var CreateKey$: StaticOperationSchema;
100
116
  export declare var DeleteAlias$: StaticOperationSchema;
101
117
  export declare var DeleteKey$: StaticOperationSchema;
118
+ export declare var DeleteResourcePolicy$: StaticOperationSchema;
102
119
  export declare var DisableDefaultKeyReplicationRegions$: StaticOperationSchema;
120
+ export declare var DisassociateMpaTeam$: StaticOperationSchema;
103
121
  export declare var EnableDefaultKeyReplicationRegions$: StaticOperationSchema;
104
122
  export declare var ExportKey$: StaticOperationSchema;
105
123
  export declare var GetAlias$: StaticOperationSchema;
106
124
  export declare var GetCertificateSigningRequest$: StaticOperationSchema;
107
125
  export declare var GetDefaultKeyReplicationRegions$: StaticOperationSchema;
108
126
  export declare var GetKey$: StaticOperationSchema;
127
+ export declare var GetMpaTeamAssociation$: StaticOperationSchema;
109
128
  export declare var GetParametersForExport$: StaticOperationSchema;
110
129
  export declare var GetParametersForImport$: StaticOperationSchema;
111
130
  export declare var GetPublicKeyCertificate$: StaticOperationSchema;
131
+ export declare var GetResourcePolicy$: StaticOperationSchema;
112
132
  export declare var ImportKey$: StaticOperationSchema;
113
133
  export declare var ListAliases$: StaticOperationSchema;
114
134
  export declare var ListKeys$: StaticOperationSchema;
115
135
  export declare var ListTagsForResource$: StaticOperationSchema;
136
+ export declare var PutResourcePolicy$: StaticOperationSchema;
116
137
  export declare var RemoveKeyReplicationRegions$: StaticOperationSchema;
117
138
  export declare var RestoreKey$: StaticOperationSchema;
118
139
  export declare var StartKeyUsage$: StaticOperationSchema;
@@ -7,6 +7,10 @@ import {
7
7
  AddKeyReplicationRegionsCommandInput,
8
8
  AddKeyReplicationRegionsCommandOutput,
9
9
  } from "./commands/AddKeyReplicationRegionsCommand";
10
+ import {
11
+ AssociateMpaTeamCommandInput,
12
+ AssociateMpaTeamCommandOutput,
13
+ } from "./commands/AssociateMpaTeamCommand";
10
14
  import {
11
15
  CreateAliasCommandInput,
12
16
  CreateAliasCommandOutput,
@@ -23,10 +27,18 @@ import {
23
27
  DeleteKeyCommandInput,
24
28
  DeleteKeyCommandOutput,
25
29
  } from "./commands/DeleteKeyCommand";
30
+ import {
31
+ DeleteResourcePolicyCommandInput,
32
+ DeleteResourcePolicyCommandOutput,
33
+ } from "./commands/DeleteResourcePolicyCommand";
26
34
  import {
27
35
  DisableDefaultKeyReplicationRegionsCommandInput,
28
36
  DisableDefaultKeyReplicationRegionsCommandOutput,
29
37
  } from "./commands/DisableDefaultKeyReplicationRegionsCommand";
38
+ import {
39
+ DisassociateMpaTeamCommandInput,
40
+ DisassociateMpaTeamCommandOutput,
41
+ } from "./commands/DisassociateMpaTeamCommand";
30
42
  import {
31
43
  EnableDefaultKeyReplicationRegionsCommandInput,
32
44
  EnableDefaultKeyReplicationRegionsCommandOutput,
@@ -51,6 +63,10 @@ import {
51
63
  GetKeyCommandInput,
52
64
  GetKeyCommandOutput,
53
65
  } from "./commands/GetKeyCommand";
66
+ import {
67
+ GetMpaTeamAssociationCommandInput,
68
+ GetMpaTeamAssociationCommandOutput,
69
+ } from "./commands/GetMpaTeamAssociationCommand";
54
70
  import {
55
71
  GetParametersForExportCommandInput,
56
72
  GetParametersForExportCommandOutput,
@@ -63,6 +79,10 @@ import {
63
79
  GetPublicKeyCertificateCommandInput,
64
80
  GetPublicKeyCertificateCommandOutput,
65
81
  } from "./commands/GetPublicKeyCertificateCommand";
82
+ import {
83
+ GetResourcePolicyCommandInput,
84
+ GetResourcePolicyCommandOutput,
85
+ } from "./commands/GetResourcePolicyCommand";
66
86
  import {
67
87
  ImportKeyCommandInput,
68
88
  ImportKeyCommandOutput,
@@ -79,6 +99,10 @@ import {
79
99
  ListTagsForResourceCommandInput,
80
100
  ListTagsForResourceCommandOutput,
81
101
  } from "./commands/ListTagsForResourceCommand";
102
+ import {
103
+ PutResourcePolicyCommandInput,
104
+ PutResourcePolicyCommandOutput,
105
+ } from "./commands/PutResourcePolicyCommand";
82
106
  import {
83
107
  RemoveKeyReplicationRegionsCommandInput,
84
108
  RemoveKeyReplicationRegionsCommandOutput,
@@ -122,6 +146,19 @@ export interface PaymentCryptography {
122
146
  options: __HttpHandlerOptions,
123
147
  cb: (err: any, data?: AddKeyReplicationRegionsCommandOutput) => void
124
148
  ): void;
149
+ associateMpaTeam(
150
+ args: AssociateMpaTeamCommandInput,
151
+ options?: __HttpHandlerOptions
152
+ ): Promise<AssociateMpaTeamCommandOutput>;
153
+ associateMpaTeam(
154
+ args: AssociateMpaTeamCommandInput,
155
+ cb: (err: any, data?: AssociateMpaTeamCommandOutput) => void
156
+ ): void;
157
+ associateMpaTeam(
158
+ args: AssociateMpaTeamCommandInput,
159
+ options: __HttpHandlerOptions,
160
+ cb: (err: any, data?: AssociateMpaTeamCommandOutput) => void
161
+ ): void;
125
162
  createAlias(
126
163
  args: CreateAliasCommandInput,
127
164
  options?: __HttpHandlerOptions
@@ -174,6 +211,19 @@ export interface PaymentCryptography {
174
211
  options: __HttpHandlerOptions,
175
212
  cb: (err: any, data?: DeleteKeyCommandOutput) => void
176
213
  ): void;
214
+ deleteResourcePolicy(
215
+ args: DeleteResourcePolicyCommandInput,
216
+ options?: __HttpHandlerOptions
217
+ ): Promise<DeleteResourcePolicyCommandOutput>;
218
+ deleteResourcePolicy(
219
+ args: DeleteResourcePolicyCommandInput,
220
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
221
+ ): void;
222
+ deleteResourcePolicy(
223
+ args: DeleteResourcePolicyCommandInput,
224
+ options: __HttpHandlerOptions,
225
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
226
+ ): void;
177
227
  disableDefaultKeyReplicationRegions(
178
228
  args: DisableDefaultKeyReplicationRegionsCommandInput,
179
229
  options?: __HttpHandlerOptions
@@ -193,6 +243,19 @@ export interface PaymentCryptography {
193
243
  data?: DisableDefaultKeyReplicationRegionsCommandOutput
194
244
  ) => void
195
245
  ): void;
246
+ disassociateMpaTeam(
247
+ args: DisassociateMpaTeamCommandInput,
248
+ options?: __HttpHandlerOptions
249
+ ): Promise<DisassociateMpaTeamCommandOutput>;
250
+ disassociateMpaTeam(
251
+ args: DisassociateMpaTeamCommandInput,
252
+ cb: (err: any, data?: DisassociateMpaTeamCommandOutput) => void
253
+ ): void;
254
+ disassociateMpaTeam(
255
+ args: DisassociateMpaTeamCommandInput,
256
+ options: __HttpHandlerOptions,
257
+ cb: (err: any, data?: DisassociateMpaTeamCommandOutput) => void
258
+ ): void;
196
259
  enableDefaultKeyReplicationRegions(
197
260
  args: EnableDefaultKeyReplicationRegionsCommandInput,
198
261
  options?: __HttpHandlerOptions
@@ -278,6 +341,19 @@ export interface PaymentCryptography {
278
341
  options: __HttpHandlerOptions,
279
342
  cb: (err: any, data?: GetKeyCommandOutput) => void
280
343
  ): void;
344
+ getMpaTeamAssociation(
345
+ args: GetMpaTeamAssociationCommandInput,
346
+ options?: __HttpHandlerOptions
347
+ ): Promise<GetMpaTeamAssociationCommandOutput>;
348
+ getMpaTeamAssociation(
349
+ args: GetMpaTeamAssociationCommandInput,
350
+ cb: (err: any, data?: GetMpaTeamAssociationCommandOutput) => void
351
+ ): void;
352
+ getMpaTeamAssociation(
353
+ args: GetMpaTeamAssociationCommandInput,
354
+ options: __HttpHandlerOptions,
355
+ cb: (err: any, data?: GetMpaTeamAssociationCommandOutput) => void
356
+ ): void;
281
357
  getParametersForExport(
282
358
  args: GetParametersForExportCommandInput,
283
359
  options?: __HttpHandlerOptions
@@ -317,6 +393,19 @@ export interface PaymentCryptography {
317
393
  options: __HttpHandlerOptions,
318
394
  cb: (err: any, data?: GetPublicKeyCertificateCommandOutput) => void
319
395
  ): void;
396
+ getResourcePolicy(
397
+ args: GetResourcePolicyCommandInput,
398
+ options?: __HttpHandlerOptions
399
+ ): Promise<GetResourcePolicyCommandOutput>;
400
+ getResourcePolicy(
401
+ args: GetResourcePolicyCommandInput,
402
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
403
+ ): void;
404
+ getResourcePolicy(
405
+ args: GetResourcePolicyCommandInput,
406
+ options: __HttpHandlerOptions,
407
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
408
+ ): void;
320
409
  importKey(
321
410
  args: ImportKeyCommandInput,
322
411
  options?: __HttpHandlerOptions
@@ -371,6 +460,19 @@ export interface PaymentCryptography {
371
460
  options: __HttpHandlerOptions,
372
461
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
373
462
  ): void;
463
+ putResourcePolicy(
464
+ args: PutResourcePolicyCommandInput,
465
+ options?: __HttpHandlerOptions
466
+ ): Promise<PutResourcePolicyCommandOutput>;
467
+ putResourcePolicy(
468
+ args: PutResourcePolicyCommandInput,
469
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
470
+ ): void;
471
+ putResourcePolicy(
472
+ args: PutResourcePolicyCommandInput,
473
+ options: __HttpHandlerOptions,
474
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
475
+ ): void;
374
476
  removeKeyReplicationRegions(
375
477
  args: RemoveKeyReplicationRegionsCommandInput,
376
478
  options?: __HttpHandlerOptions