@aws-sdk/client-payment-cryptography 3.1039.0 → 3.1041.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 +5 -5
@@ -48,6 +48,10 @@ import {
48
48
  AddKeyReplicationRegionsCommandInput,
49
49
  AddKeyReplicationRegionsCommandOutput,
50
50
  } from "./commands/AddKeyReplicationRegionsCommand";
51
+ import {
52
+ AssociateMpaTeamCommandInput,
53
+ AssociateMpaTeamCommandOutput,
54
+ } from "./commands/AssociateMpaTeamCommand";
51
55
  import {
52
56
  CreateAliasCommandInput,
53
57
  CreateAliasCommandOutput,
@@ -64,10 +68,18 @@ import {
64
68
  DeleteKeyCommandInput,
65
69
  DeleteKeyCommandOutput,
66
70
  } from "./commands/DeleteKeyCommand";
71
+ import {
72
+ DeleteResourcePolicyCommandInput,
73
+ DeleteResourcePolicyCommandOutput,
74
+ } from "./commands/DeleteResourcePolicyCommand";
67
75
  import {
68
76
  DisableDefaultKeyReplicationRegionsCommandInput,
69
77
  DisableDefaultKeyReplicationRegionsCommandOutput,
70
78
  } from "./commands/DisableDefaultKeyReplicationRegionsCommand";
79
+ import {
80
+ DisassociateMpaTeamCommandInput,
81
+ DisassociateMpaTeamCommandOutput,
82
+ } from "./commands/DisassociateMpaTeamCommand";
71
83
  import {
72
84
  EnableDefaultKeyReplicationRegionsCommandInput,
73
85
  EnableDefaultKeyReplicationRegionsCommandOutput,
@@ -92,6 +104,10 @@ import {
92
104
  GetKeyCommandInput,
93
105
  GetKeyCommandOutput,
94
106
  } from "./commands/GetKeyCommand";
107
+ import {
108
+ GetMpaTeamAssociationCommandInput,
109
+ GetMpaTeamAssociationCommandOutput,
110
+ } from "./commands/GetMpaTeamAssociationCommand";
95
111
  import {
96
112
  GetParametersForExportCommandInput,
97
113
  GetParametersForExportCommandOutput,
@@ -104,6 +120,10 @@ import {
104
120
  GetPublicKeyCertificateCommandInput,
105
121
  GetPublicKeyCertificateCommandOutput,
106
122
  } from "./commands/GetPublicKeyCertificateCommand";
123
+ import {
124
+ GetResourcePolicyCommandInput,
125
+ GetResourcePolicyCommandOutput,
126
+ } from "./commands/GetResourcePolicyCommand";
107
127
  import {
108
128
  ImportKeyCommandInput,
109
129
  ImportKeyCommandOutput,
@@ -120,6 +140,10 @@ import {
120
140
  ListTagsForResourceCommandInput,
121
141
  ListTagsForResourceCommandOutput,
122
142
  } from "./commands/ListTagsForResourceCommand";
143
+ import {
144
+ PutResourcePolicyCommandInput,
145
+ PutResourcePolicyCommandOutput,
146
+ } from "./commands/PutResourcePolicyCommand";
123
147
  import {
124
148
  RemoveKeyReplicationRegionsCommandInput,
125
149
  RemoveKeyReplicationRegionsCommandOutput,
@@ -157,24 +181,30 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
157
181
  export { __Client };
158
182
  export type ServiceInputTypes =
159
183
  | AddKeyReplicationRegionsCommandInput
184
+ | AssociateMpaTeamCommandInput
160
185
  | CreateAliasCommandInput
161
186
  | CreateKeyCommandInput
162
187
  | DeleteAliasCommandInput
163
188
  | DeleteKeyCommandInput
189
+ | DeleteResourcePolicyCommandInput
164
190
  | DisableDefaultKeyReplicationRegionsCommandInput
191
+ | DisassociateMpaTeamCommandInput
165
192
  | EnableDefaultKeyReplicationRegionsCommandInput
166
193
  | ExportKeyCommandInput
167
194
  | GetAliasCommandInput
168
195
  | GetCertificateSigningRequestCommandInput
169
196
  | GetDefaultKeyReplicationRegionsCommandInput
170
197
  | GetKeyCommandInput
198
+ | GetMpaTeamAssociationCommandInput
171
199
  | GetParametersForExportCommandInput
172
200
  | GetParametersForImportCommandInput
173
201
  | GetPublicKeyCertificateCommandInput
202
+ | GetResourcePolicyCommandInput
174
203
  | ImportKeyCommandInput
175
204
  | ListAliasesCommandInput
176
205
  | ListKeysCommandInput
177
206
  | ListTagsForResourceCommandInput
207
+ | PutResourcePolicyCommandInput
178
208
  | RemoveKeyReplicationRegionsCommandInput
179
209
  | RestoreKeyCommandInput
180
210
  | StartKeyUsageCommandInput
@@ -184,24 +214,30 @@ export type ServiceInputTypes =
184
214
  | UpdateAliasCommandInput;
185
215
  export type ServiceOutputTypes =
186
216
  | AddKeyReplicationRegionsCommandOutput
217
+ | AssociateMpaTeamCommandOutput
187
218
  | CreateAliasCommandOutput
188
219
  | CreateKeyCommandOutput
189
220
  | DeleteAliasCommandOutput
190
221
  | DeleteKeyCommandOutput
222
+ | DeleteResourcePolicyCommandOutput
191
223
  | DisableDefaultKeyReplicationRegionsCommandOutput
224
+ | DisassociateMpaTeamCommandOutput
192
225
  | EnableDefaultKeyReplicationRegionsCommandOutput
193
226
  | ExportKeyCommandOutput
194
227
  | GetAliasCommandOutput
195
228
  | GetCertificateSigningRequestCommandOutput
196
229
  | GetDefaultKeyReplicationRegionsCommandOutput
197
230
  | GetKeyCommandOutput
231
+ | GetMpaTeamAssociationCommandOutput
198
232
  | GetParametersForExportCommandOutput
199
233
  | GetParametersForImportCommandOutput
200
234
  | GetPublicKeyCertificateCommandOutput
235
+ | GetResourcePolicyCommandOutput
201
236
  | ImportKeyCommandOutput
202
237
  | ListAliasesCommandOutput
203
238
  | ListKeysCommandOutput
204
239
  | ListTagsForResourceCommandOutput
240
+ | PutResourcePolicyCommandOutput
205
241
  | RemoveKeyReplicationRegionsCommandOutput
206
242
  | RestoreKeyCommandOutput
207
243
  | StartKeyUsageCommandOutput
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AssociateMpaTeamInput,
5
+ AssociateMpaTeamOutput,
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 AssociateMpaTeamCommandInput extends AssociateMpaTeamInput {}
15
+ export interface AssociateMpaTeamCommandOutput
16
+ extends AssociateMpaTeamOutput,
17
+ __MetadataBearer {}
18
+ declare const AssociateMpaTeamCommand_base: {
19
+ new (
20
+ input: AssociateMpaTeamCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ AssociateMpaTeamCommandInput,
23
+ AssociateMpaTeamCommandOutput,
24
+ PaymentCryptographyClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: AssociateMpaTeamCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ AssociateMpaTeamCommandInput,
32
+ AssociateMpaTeamCommandOutput,
33
+ PaymentCryptographyClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class AssociateMpaTeamCommand extends AssociateMpaTeamCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: AssociateMpaTeamInput;
43
+ output: AssociateMpaTeamOutput;
44
+ };
45
+ sdk: {
46
+ input: AssociateMpaTeamCommandInput;
47
+ output: AssociateMpaTeamCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteResourcePolicyInput,
5
+ DeleteResourcePolicyOutput,
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 DeleteResourcePolicyCommandInput
15
+ extends DeleteResourcePolicyInput {}
16
+ export interface DeleteResourcePolicyCommandOutput
17
+ extends DeleteResourcePolicyOutput,
18
+ __MetadataBearer {}
19
+ declare const DeleteResourcePolicyCommand_base: {
20
+ new (
21
+ input: DeleteResourcePolicyCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteResourcePolicyCommandInput,
24
+ DeleteResourcePolicyCommandOutput,
25
+ PaymentCryptographyClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteResourcePolicyCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteResourcePolicyCommandInput,
33
+ DeleteResourcePolicyCommandOutput,
34
+ PaymentCryptographyClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteResourcePolicyInput;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeleteResourcePolicyCommandInput;
48
+ output: DeleteResourcePolicyCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DisassociateMpaTeamInput,
5
+ DisassociateMpaTeamOutput,
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 DisassociateMpaTeamCommandInput
15
+ extends DisassociateMpaTeamInput {}
16
+ export interface DisassociateMpaTeamCommandOutput
17
+ extends DisassociateMpaTeamOutput,
18
+ __MetadataBearer {}
19
+ declare const DisassociateMpaTeamCommand_base: {
20
+ new (
21
+ input: DisassociateMpaTeamCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DisassociateMpaTeamCommandInput,
24
+ DisassociateMpaTeamCommandOutput,
25
+ PaymentCryptographyClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DisassociateMpaTeamCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DisassociateMpaTeamCommandInput,
33
+ DisassociateMpaTeamCommandOutput,
34
+ PaymentCryptographyClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DisassociateMpaTeamCommand extends DisassociateMpaTeamCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DisassociateMpaTeamInput;
44
+ output: DisassociateMpaTeamOutput;
45
+ };
46
+ sdk: {
47
+ input: DisassociateMpaTeamCommandInput;
48
+ output: DisassociateMpaTeamCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetMpaTeamAssociationInput,
5
+ GetMpaTeamAssociationOutput,
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 GetMpaTeamAssociationCommandInput
15
+ extends GetMpaTeamAssociationInput {}
16
+ export interface GetMpaTeamAssociationCommandOutput
17
+ extends GetMpaTeamAssociationOutput,
18
+ __MetadataBearer {}
19
+ declare const GetMpaTeamAssociationCommand_base: {
20
+ new (
21
+ input: GetMpaTeamAssociationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetMpaTeamAssociationCommandInput,
24
+ GetMpaTeamAssociationCommandOutput,
25
+ PaymentCryptographyClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetMpaTeamAssociationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetMpaTeamAssociationCommandInput,
33
+ GetMpaTeamAssociationCommandOutput,
34
+ PaymentCryptographyClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetMpaTeamAssociationCommand extends GetMpaTeamAssociationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetMpaTeamAssociationInput;
44
+ output: GetMpaTeamAssociationOutput;
45
+ };
46
+ sdk: {
47
+ input: GetMpaTeamAssociationCommandInput;
48
+ output: GetMpaTeamAssociationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetResourcePolicyInput,
5
+ GetResourcePolicyOutput,
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 GetResourcePolicyCommandInput extends GetResourcePolicyInput {}
15
+ export interface GetResourcePolicyCommandOutput
16
+ extends GetResourcePolicyOutput,
17
+ __MetadataBearer {}
18
+ declare const GetResourcePolicyCommand_base: {
19
+ new (
20
+ input: GetResourcePolicyCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetResourcePolicyCommandInput,
23
+ GetResourcePolicyCommandOutput,
24
+ PaymentCryptographyClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: GetResourcePolicyCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetResourcePolicyCommandInput,
32
+ GetResourcePolicyCommandOutput,
33
+ PaymentCryptographyClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetResourcePolicyInput;
43
+ output: GetResourcePolicyOutput;
44
+ };
45
+ sdk: {
46
+ input: GetResourcePolicyCommandInput;
47
+ output: GetResourcePolicyCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ PutResourcePolicyInput,
5
+ PutResourcePolicyOutput,
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 PutResourcePolicyCommandInput extends PutResourcePolicyInput {}
15
+ export interface PutResourcePolicyCommandOutput
16
+ extends PutResourcePolicyOutput,
17
+ __MetadataBearer {}
18
+ declare const PutResourcePolicyCommand_base: {
19
+ new (
20
+ input: PutResourcePolicyCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ PutResourcePolicyCommandInput,
23
+ PutResourcePolicyCommandOutput,
24
+ PaymentCryptographyClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: PutResourcePolicyCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ PutResourcePolicyCommandInput,
32
+ PutResourcePolicyCommandOutput,
33
+ PaymentCryptographyClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: PutResourcePolicyInput;
43
+ output: PutResourcePolicyOutput;
44
+ };
45
+ sdk: {
46
+ input: PutResourcePolicyCommandInput;
47
+ output: PutResourcePolicyCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -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";
@@ -93,6 +93,13 @@ export declare const KeyState: {
93
93
  readonly DELETE_PENDING: "DELETE_PENDING";
94
94
  };
95
95
  export type KeyState = (typeof KeyState)[keyof typeof KeyState];
96
+ export declare const SessionStatus: {
97
+ readonly APPROVED: "APPROVED";
98
+ readonly CANCELLED: "CANCELLED";
99
+ readonly FAILED: "FAILED";
100
+ readonly PENDING: "PENDING";
101
+ };
102
+ export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
96
103
  export declare const MultiRegionKeyType: {
97
104
  readonly PRIMARY: "PRIMARY";
98
105
  readonly REPLICA: "REPLICA";
@@ -115,6 +122,17 @@ export declare const As2805KeyVariant: {
115
122
  };
116
123
  export type As2805KeyVariant =
117
124
  (typeof As2805KeyVariant)[keyof typeof As2805KeyVariant];
125
+ export declare const MpaOperation: {
126
+ readonly IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE: "IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE";
127
+ };
128
+ export type MpaOperation = (typeof MpaOperation)[keyof typeof MpaOperation];
129
+ export declare const AssociationState: {
130
+ readonly ACTIVE: "ACTIVE";
131
+ readonly DELETE_PENDING: "DELETE_PENDING";
132
+ readonly UPDATE_PENDING: "UPDATE_PENDING";
133
+ };
134
+ export type AssociationState =
135
+ (typeof AssociationState)[keyof typeof AssociationState];
118
136
  export declare const SymmetricKeyAlgorithm: {
119
137
  readonly AES_128: "AES_128";
120
138
  readonly AES_192: "AES_192";
@@ -62,3 +62,11 @@ export declare class ServiceUnavailableException extends __BaseException {
62
62
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
63
63
  );
64
64
  }
65
+ export declare class PublicPolicyException extends __BaseException {
66
+ readonly name: "PublicPolicyException";
67
+ readonly $fault: "client";
68
+ Message?: string | undefined;
69
+ constructor(
70
+ opts: __ExceptionOptionType<PublicPolicyException, __BaseException>
71
+ );
72
+ }
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  As2805KeyVariant,
3
+ AssociationState,
3
4
  DeriveKeyUsage,
4
5
  KeyAlgorithm,
5
6
  KeyCheckValueAlgorithm,
@@ -12,7 +13,9 @@ import {
12
13
  KeyReplicationState,
13
14
  KeyState,
14
15
  KeyUsage,
16
+ MpaOperation,
15
17
  MultiRegionKeyType,
18
+ SessionStatus,
16
19
  SigningAlgorithmType,
17
20
  SymmetricKeyAlgorithm,
18
21
  Tr34KeyBlockFormat,
@@ -40,6 +43,12 @@ export interface KeyAttributes {
40
43
  KeyAlgorithm: KeyAlgorithm | undefined;
41
44
  KeyModesOfUse: KeyModesOfUse | undefined;
42
45
  }
46
+ export interface MpaStatus {
47
+ MpaSessionArn: string | undefined;
48
+ Status: SessionStatus | undefined;
49
+ InitiationDate: Date | undefined;
50
+ StatusMessage?: string | undefined;
51
+ }
43
52
  export interface ReplicationStatusType {
44
53
  Status: KeyReplicationState | undefined;
45
54
  StatusMessage?: string | undefined;
@@ -63,6 +72,7 @@ export interface Key {
63
72
  PrimaryRegion?: string | undefined;
64
73
  ReplicationStatus?: Record<string, ReplicationStatusType> | undefined;
65
74
  UsingDefaultReplicationRegions?: boolean | undefined;
75
+ MpaStatus?: MpaStatus | undefined;
66
76
  }
67
77
  export interface AddKeyReplicationRegionsOutput {
68
78
  Key: Key | undefined;
@@ -104,6 +114,20 @@ export interface UpdateAliasInput {
104
114
  export interface UpdateAliasOutput {
105
115
  Alias: Alias | undefined;
106
116
  }
117
+ export interface AssociateMpaTeamInput {
118
+ Action: MpaOperation | undefined;
119
+ MpaTeamArn: string | undefined;
120
+ RequesterComment?: string | undefined;
121
+ }
122
+ export interface MpaTeamAssociation {
123
+ Action: MpaOperation | undefined;
124
+ MpaTeamArn: string | undefined;
125
+ AssociationState: AssociationState | undefined;
126
+ MpaStatus?: MpaStatus | undefined;
127
+ }
128
+ export interface AssociateMpaTeamOutput {
129
+ MpaTeamAssociation: MpaTeamAssociation | undefined;
130
+ }
107
131
  export interface CertificateSubjectType {
108
132
  CommonName: string | undefined;
109
133
  OrganizationUnit?: string | undefined;
@@ -136,6 +160,10 @@ export interface DeleteKeyInput {
136
160
  export interface DeleteKeyOutput {
137
161
  Key: Key | undefined;
138
162
  }
163
+ export interface DeleteResourcePolicyInput {
164
+ ResourceArn: string | undefined;
165
+ }
166
+ export interface DeleteResourcePolicyOutput {}
139
167
  export type DiffieHellmanDerivationData =
140
168
  | DiffieHellmanDerivationData.SharedInformationMember
141
169
  | DiffieHellmanDerivationData.$UnknownMember;
@@ -159,6 +187,13 @@ export interface DisableDefaultKeyReplicationRegionsInput {
159
187
  export interface DisableDefaultKeyReplicationRegionsOutput {
160
188
  EnabledReplicationRegions: string[] | undefined;
161
189
  }
190
+ export interface DisassociateMpaTeamInput {
191
+ Action: MpaOperation | undefined;
192
+ RequesterComment?: string | undefined;
193
+ }
194
+ export interface DisassociateMpaTeamOutput {
195
+ MpaTeamAssociation: MpaTeamAssociation | undefined;
196
+ }
162
197
  export interface EnableDefaultKeyReplicationRegionsInput {
163
198
  ReplicationRegions: string[] | undefined;
164
199
  }
@@ -309,6 +344,12 @@ export interface GetKeyInput {
309
344
  export interface GetKeyOutput {
310
345
  Key: Key | undefined;
311
346
  }
347
+ export interface GetMpaTeamAssociationInput {
348
+ Action: MpaOperation | undefined;
349
+ }
350
+ export interface GetMpaTeamAssociationOutput {
351
+ MpaTeamAssociation: MpaTeamAssociation | undefined;
352
+ }
312
353
  export interface GetParametersForExportInput {
313
354
  KeyMaterialType: KeyMaterialType | undefined;
314
355
  SigningKeyAlgorithm: KeyAlgorithm | undefined;
@@ -340,6 +381,13 @@ export interface GetPublicKeyCertificateOutput {
340
381
  KeyCertificate: string | undefined;
341
382
  KeyCertificateChain: string | undefined;
342
383
  }
384
+ export interface GetResourcePolicyInput {
385
+ ResourceArn: string | undefined;
386
+ }
387
+ export interface GetResourcePolicyOutput {
388
+ ResourceArn: string | undefined;
389
+ Policy: string | undefined;
390
+ }
343
391
  export interface ImportAs2805KeyCryptogram {
344
392
  As2805KeyVariant: As2805KeyVariant | undefined;
345
393
  KeyModesOfUse: KeyModesOfUse | undefined;
@@ -495,6 +543,7 @@ export interface ImportKeyInput {
495
543
  Enabled?: boolean | undefined;
496
544
  Tags?: Tag[] | undefined;
497
545
  ReplicationRegions?: string[] | undefined;
546
+ RequesterComment?: string | undefined;
498
547
  }
499
548
  export interface ImportKeyOutput {
500
549
  Key: Key | undefined;
@@ -552,6 +601,14 @@ export interface ListTagsForResourceOutput {
552
601
  Tags: Tag[] | undefined;
553
602
  NextToken?: string | undefined;
554
603
  }
604
+ export interface PutResourcePolicyInput {
605
+ ResourceArn: string | undefined;
606
+ Policy: string | undefined;
607
+ }
608
+ export interface PutResourcePolicyOutput {
609
+ ResourceArn: string | undefined;
610
+ Policy: string | undefined;
611
+ }
555
612
  export interface TagResourceInput {
556
613
  ResourceArn: string | undefined;
557
614
  Tags: Tag[] | undefined;