@aws-sdk/client-kms 3.169.0 → 3.170.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 (74) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/KMS.d.ts +907 -255
  3. package/dist-types/ts3.4/KMSClient.d.ts +425 -123
  4. package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +38 -17
  5. package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +41 -17
  6. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +32 -17
  7. package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +41 -17
  8. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +34 -17
  9. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +34 -17
  10. package/dist-types/ts3.4/commands/DecryptCommand.d.ts +34 -17
  11. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +32 -17
  12. package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +41 -17
  13. package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +37 -17
  14. package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +41 -17
  15. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +34 -17
  16. package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +32 -17
  17. package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +33 -17
  18. package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +41 -17
  19. package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +32 -17
  20. package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +33 -17
  21. package/dist-types/ts3.4/commands/EncryptCommand.d.ts +34 -17
  22. package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +37 -17
  23. package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +38 -17
  24. package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +41 -17
  25. package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +41 -17
  26. package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +34 -17
  27. package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +37 -17
  28. package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +34 -17
  29. package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +41 -17
  30. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +41 -17
  31. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +34 -17
  32. package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +38 -17
  33. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +34 -17
  34. package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +34 -17
  35. package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +37 -17
  36. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +34 -17
  37. package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +37 -17
  38. package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +38 -17
  39. package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +32 -17
  40. package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +34 -17
  41. package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +34 -17
  42. package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +32 -17
  43. package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +32 -17
  44. package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +38 -17
  45. package/dist-types/ts3.4/commands/SignCommand.d.ts +32 -17
  46. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
  47. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +32 -17
  48. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +32 -17
  49. package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +41 -17
  50. package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +36 -17
  51. package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +33 -17
  52. package/dist-types/ts3.4/commands/VerifyCommand.d.ts +32 -17
  53. package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +34 -17
  54. package/dist-types/ts3.4/commands/index.d.ts +50 -50
  55. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  56. package/dist-types/ts3.4/index.d.ts +6 -6
  57. package/dist-types/ts3.4/models/KMSServiceException.d.ts +8 -6
  58. package/dist-types/ts3.4/models/index.d.ts +1 -1
  59. package/dist-types/ts3.4/models/models_0.d.ts +1533 -1364
  60. package/dist-types/ts3.4/pagination/DescribeCustomKeyStoresPaginator.d.ts +11 -4
  61. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  62. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -4
  63. package/dist-types/ts3.4/pagination/ListGrantsPaginator.d.ts +11 -4
  64. package/dist-types/ts3.4/pagination/ListKeyPoliciesPaginator.d.ts +11 -4
  65. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +11 -4
  66. package/dist-types/ts3.4/pagination/ListResourceTagsPaginator.d.ts +11 -4
  67. package/dist-types/ts3.4/pagination/ListRetirableGrantsPaginator.d.ts +11 -4
  68. package/dist-types/ts3.4/pagination/index.d.ts +8 -8
  69. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +602 -152
  70. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  71. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  72. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  73. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  74. package/package.json +34 -34
@@ -1,123 +1,425 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
- import { CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput } from "./commands/CancelKeyDeletionCommand";
10
- import { ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput } from "./commands/ConnectCustomKeyStoreCommand";
11
- import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
12
- import { CreateCustomKeyStoreCommandInput, CreateCustomKeyStoreCommandOutput } from "./commands/CreateCustomKeyStoreCommand";
13
- import { CreateGrantCommandInput, CreateGrantCommandOutput } from "./commands/CreateGrantCommand";
14
- import { CreateKeyCommandInput, CreateKeyCommandOutput } from "./commands/CreateKeyCommand";
15
- import { DecryptCommandInput, DecryptCommandOutput } from "./commands/DecryptCommand";
16
- import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
17
- import { DeleteCustomKeyStoreCommandInput, DeleteCustomKeyStoreCommandOutput } from "./commands/DeleteCustomKeyStoreCommand";
18
- import { DeleteImportedKeyMaterialCommandInput, DeleteImportedKeyMaterialCommandOutput } from "./commands/DeleteImportedKeyMaterialCommand";
19
- import { DescribeCustomKeyStoresCommandInput, DescribeCustomKeyStoresCommandOutput } from "./commands/DescribeCustomKeyStoresCommand";
20
- import { DescribeKeyCommandInput, DescribeKeyCommandOutput } from "./commands/DescribeKeyCommand";
21
- import { DisableKeyCommandInput, DisableKeyCommandOutput } from "./commands/DisableKeyCommand";
22
- import { DisableKeyRotationCommandInput, DisableKeyRotationCommandOutput } from "./commands/DisableKeyRotationCommand";
23
- import { DisconnectCustomKeyStoreCommandInput, DisconnectCustomKeyStoreCommandOutput } from "./commands/DisconnectCustomKeyStoreCommand";
24
- import { EnableKeyCommandInput, EnableKeyCommandOutput } from "./commands/EnableKeyCommand";
25
- import { EnableKeyRotationCommandInput, EnableKeyRotationCommandOutput } from "./commands/EnableKeyRotationCommand";
26
- import { EncryptCommandInput, EncryptCommandOutput } from "./commands/EncryptCommand";
27
- import { GenerateDataKeyCommandInput, GenerateDataKeyCommandOutput } from "./commands/GenerateDataKeyCommand";
28
- import { GenerateDataKeyPairCommandInput, GenerateDataKeyPairCommandOutput } from "./commands/GenerateDataKeyPairCommand";
29
- import { GenerateDataKeyPairWithoutPlaintextCommandInput, GenerateDataKeyPairWithoutPlaintextCommandOutput } from "./commands/GenerateDataKeyPairWithoutPlaintextCommand";
30
- import { GenerateDataKeyWithoutPlaintextCommandInput, GenerateDataKeyWithoutPlaintextCommandOutput } from "./commands/GenerateDataKeyWithoutPlaintextCommand";
31
- import { GenerateMacCommandInput, GenerateMacCommandOutput } from "./commands/GenerateMacCommand";
32
- import { GenerateRandomCommandInput, GenerateRandomCommandOutput } from "./commands/GenerateRandomCommand";
33
- import { GetKeyPolicyCommandInput, GetKeyPolicyCommandOutput } from "./commands/GetKeyPolicyCommand";
34
- import { GetKeyRotationStatusCommandInput, GetKeyRotationStatusCommandOutput } from "./commands/GetKeyRotationStatusCommand";
35
- import { GetParametersForImportCommandInput, GetParametersForImportCommandOutput } from "./commands/GetParametersForImportCommand";
36
- import { GetPublicKeyCommandInput, GetPublicKeyCommandOutput } from "./commands/GetPublicKeyCommand";
37
- import { ImportKeyMaterialCommandInput, ImportKeyMaterialCommandOutput } from "./commands/ImportKeyMaterialCommand";
38
- import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
39
- import { ListGrantsCommandInput, ListGrantsCommandOutput } from "./commands/ListGrantsCommand";
40
- import { ListKeyPoliciesCommandInput, ListKeyPoliciesCommandOutput } from "./commands/ListKeyPoliciesCommand";
41
- import { ListKeysCommandInput, ListKeysCommandOutput } from "./commands/ListKeysCommand";
42
- import { ListResourceTagsCommandInput, ListResourceTagsCommandOutput } from "./commands/ListResourceTagsCommand";
43
- import { ListRetirableGrantsCommandInput, ListRetirableGrantsCommandOutput } from "./commands/ListRetirableGrantsCommand";
44
- import { PutKeyPolicyCommandInput, PutKeyPolicyCommandOutput } from "./commands/PutKeyPolicyCommand";
45
- import { ReEncryptCommandInput, ReEncryptCommandOutput } from "./commands/ReEncryptCommand";
46
- import { ReplicateKeyCommandInput, ReplicateKeyCommandOutput } from "./commands/ReplicateKeyCommand";
47
- import { RetireGrantCommandInput, RetireGrantCommandOutput } from "./commands/RetireGrantCommand";
48
- import { RevokeGrantCommandInput, RevokeGrantCommandOutput } from "./commands/RevokeGrantCommand";
49
- import { ScheduleKeyDeletionCommandInput, ScheduleKeyDeletionCommandOutput } from "./commands/ScheduleKeyDeletionCommand";
50
- import { SignCommandInput, SignCommandOutput } from "./commands/SignCommand";
51
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
52
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
53
- import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand";
54
- import { UpdateCustomKeyStoreCommandInput, UpdateCustomKeyStoreCommandOutput } from "./commands/UpdateCustomKeyStoreCommand";
55
- import { UpdateKeyDescriptionCommandInput, UpdateKeyDescriptionCommandOutput } from "./commands/UpdateKeyDescriptionCommand";
56
- import { UpdatePrimaryRegionCommandInput, UpdatePrimaryRegionCommandOutput } from "./commands/UpdatePrimaryRegionCommand";
57
- import { VerifyCommandInput, VerifyCommandOutput } from "./commands/VerifyCommand";
58
- import { VerifyMacCommandInput, VerifyMacCommandOutput } from "./commands/VerifyMacCommand";
59
- export declare type ServiceInputTypes = CancelKeyDeletionCommandInput | ConnectCustomKeyStoreCommandInput | CreateAliasCommandInput | CreateCustomKeyStoreCommandInput | CreateGrantCommandInput | CreateKeyCommandInput | DecryptCommandInput | DeleteAliasCommandInput | DeleteCustomKeyStoreCommandInput | DeleteImportedKeyMaterialCommandInput | DescribeCustomKeyStoresCommandInput | DescribeKeyCommandInput | DisableKeyCommandInput | DisableKeyRotationCommandInput | DisconnectCustomKeyStoreCommandInput | EnableKeyCommandInput | EnableKeyRotationCommandInput | EncryptCommandInput | GenerateDataKeyCommandInput | GenerateDataKeyPairCommandInput | GenerateDataKeyPairWithoutPlaintextCommandInput | GenerateDataKeyWithoutPlaintextCommandInput | GenerateMacCommandInput | GenerateRandomCommandInput | GetKeyPolicyCommandInput | GetKeyRotationStatusCommandInput | GetParametersForImportCommandInput | GetPublicKeyCommandInput | ImportKeyMaterialCommandInput | ListAliasesCommandInput | ListGrantsCommandInput | ListKeyPoliciesCommandInput | ListKeysCommandInput | ListResourceTagsCommandInput | ListRetirableGrantsCommandInput | PutKeyPolicyCommandInput | ReEncryptCommandInput | ReplicateKeyCommandInput | RetireGrantCommandInput | RevokeGrantCommandInput | ScheduleKeyDeletionCommandInput | SignCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCustomKeyStoreCommandInput | UpdateKeyDescriptionCommandInput | UpdatePrimaryRegionCommandInput | VerifyCommandInput | VerifyMacCommandInput;
60
- export declare type ServiceOutputTypes = CancelKeyDeletionCommandOutput | ConnectCustomKeyStoreCommandOutput | CreateAliasCommandOutput | CreateCustomKeyStoreCommandOutput | CreateGrantCommandOutput | CreateKeyCommandOutput | DecryptCommandOutput | DeleteAliasCommandOutput | DeleteCustomKeyStoreCommandOutput | DeleteImportedKeyMaterialCommandOutput | DescribeCustomKeyStoresCommandOutput | DescribeKeyCommandOutput | DisableKeyCommandOutput | DisableKeyRotationCommandOutput | DisconnectCustomKeyStoreCommandOutput | EnableKeyCommandOutput | EnableKeyRotationCommandOutput | EncryptCommandOutput | GenerateDataKeyCommandOutput | GenerateDataKeyPairCommandOutput | GenerateDataKeyPairWithoutPlaintextCommandOutput | GenerateDataKeyWithoutPlaintextCommandOutput | GenerateMacCommandOutput | GenerateRandomCommandOutput | GetKeyPolicyCommandOutput | GetKeyRotationStatusCommandOutput | GetParametersForImportCommandOutput | GetPublicKeyCommandOutput | ImportKeyMaterialCommandOutput | ListAliasesCommandOutput | ListGrantsCommandOutput | ListKeyPoliciesCommandOutput | ListKeysCommandOutput | ListResourceTagsCommandOutput | ListRetirableGrantsCommandOutput | PutKeyPolicyCommandOutput | ReEncryptCommandOutput | ReplicateKeyCommandOutput | RetireGrantCommandOutput | RevokeGrantCommandOutput | ScheduleKeyDeletionCommandOutput | SignCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCustomKeyStoreCommandOutput | UpdateKeyDescriptionCommandOutput | UpdatePrimaryRegionCommandOutput | VerifyCommandOutput | VerifyMacCommandOutput;
61
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
62
-
63
- requestHandler?: __HttpHandler;
64
-
65
- sha256?: __HashConstructor;
66
-
67
- urlParser?: __UrlParser;
68
-
69
- bodyLengthChecker?: __BodyLengthCalculator;
70
-
71
- streamCollector?: __StreamCollector;
72
-
73
- base64Decoder?: __Decoder;
74
-
75
- base64Encoder?: __Encoder;
76
-
77
- utf8Decoder?: __Decoder;
78
-
79
- utf8Encoder?: __Encoder;
80
-
81
- runtime?: string;
82
-
83
- disableHostPrefix?: boolean;
84
-
85
- maxAttempts?: number | __Provider<number>;
86
-
87
- retryMode?: string | __Provider<string>;
88
-
89
- logger?: __Logger;
90
-
91
- useDualstackEndpoint?: boolean | __Provider<boolean>;
92
-
93
- useFipsEndpoint?: boolean | __Provider<boolean>;
94
-
95
- serviceId?: string;
96
-
97
- region?: string | __Provider<string>;
98
-
99
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
100
-
101
- regionInfoProvider?: RegionInfoProvider;
102
-
103
- defaultUserAgentProvider?: Provider<__UserAgent>;
104
-
105
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
106
- }
107
- declare type KMSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
108
-
109
- export interface KMSClientConfig extends KMSClientConfigType {
110
- }
111
- declare type KMSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
112
-
113
- export interface KMSClientResolvedConfig extends KMSClientResolvedConfigType {
114
- }
115
-
116
- export declare class KMSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, KMSClientResolvedConfig> {
117
-
118
- readonly config: KMSClientResolvedConfig;
119
- constructor(configuration: KMSClientConfig);
120
-
121
- destroy(): void;
122
- }
123
- export {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ CancelKeyDeletionCommandInput,
47
+ CancelKeyDeletionCommandOutput,
48
+ } from "./commands/CancelKeyDeletionCommand";
49
+ import {
50
+ ConnectCustomKeyStoreCommandInput,
51
+ ConnectCustomKeyStoreCommandOutput,
52
+ } from "./commands/ConnectCustomKeyStoreCommand";
53
+ import {
54
+ CreateAliasCommandInput,
55
+ CreateAliasCommandOutput,
56
+ } from "./commands/CreateAliasCommand";
57
+ import {
58
+ CreateCustomKeyStoreCommandInput,
59
+ CreateCustomKeyStoreCommandOutput,
60
+ } from "./commands/CreateCustomKeyStoreCommand";
61
+ import {
62
+ CreateGrantCommandInput,
63
+ CreateGrantCommandOutput,
64
+ } from "./commands/CreateGrantCommand";
65
+ import {
66
+ CreateKeyCommandInput,
67
+ CreateKeyCommandOutput,
68
+ } from "./commands/CreateKeyCommand";
69
+ import {
70
+ DecryptCommandInput,
71
+ DecryptCommandOutput,
72
+ } from "./commands/DecryptCommand";
73
+ import {
74
+ DeleteAliasCommandInput,
75
+ DeleteAliasCommandOutput,
76
+ } from "./commands/DeleteAliasCommand";
77
+ import {
78
+ DeleteCustomKeyStoreCommandInput,
79
+ DeleteCustomKeyStoreCommandOutput,
80
+ } from "./commands/DeleteCustomKeyStoreCommand";
81
+ import {
82
+ DeleteImportedKeyMaterialCommandInput,
83
+ DeleteImportedKeyMaterialCommandOutput,
84
+ } from "./commands/DeleteImportedKeyMaterialCommand";
85
+ import {
86
+ DescribeCustomKeyStoresCommandInput,
87
+ DescribeCustomKeyStoresCommandOutput,
88
+ } from "./commands/DescribeCustomKeyStoresCommand";
89
+ import {
90
+ DescribeKeyCommandInput,
91
+ DescribeKeyCommandOutput,
92
+ } from "./commands/DescribeKeyCommand";
93
+ import {
94
+ DisableKeyCommandInput,
95
+ DisableKeyCommandOutput,
96
+ } from "./commands/DisableKeyCommand";
97
+ import {
98
+ DisableKeyRotationCommandInput,
99
+ DisableKeyRotationCommandOutput,
100
+ } from "./commands/DisableKeyRotationCommand";
101
+ import {
102
+ DisconnectCustomKeyStoreCommandInput,
103
+ DisconnectCustomKeyStoreCommandOutput,
104
+ } from "./commands/DisconnectCustomKeyStoreCommand";
105
+ import {
106
+ EnableKeyCommandInput,
107
+ EnableKeyCommandOutput,
108
+ } from "./commands/EnableKeyCommand";
109
+ import {
110
+ EnableKeyRotationCommandInput,
111
+ EnableKeyRotationCommandOutput,
112
+ } from "./commands/EnableKeyRotationCommand";
113
+ import {
114
+ EncryptCommandInput,
115
+ EncryptCommandOutput,
116
+ } from "./commands/EncryptCommand";
117
+ import {
118
+ GenerateDataKeyCommandInput,
119
+ GenerateDataKeyCommandOutput,
120
+ } from "./commands/GenerateDataKeyCommand";
121
+ import {
122
+ GenerateDataKeyPairCommandInput,
123
+ GenerateDataKeyPairCommandOutput,
124
+ } from "./commands/GenerateDataKeyPairCommand";
125
+ import {
126
+ GenerateDataKeyPairWithoutPlaintextCommandInput,
127
+ GenerateDataKeyPairWithoutPlaintextCommandOutput,
128
+ } from "./commands/GenerateDataKeyPairWithoutPlaintextCommand";
129
+ import {
130
+ GenerateDataKeyWithoutPlaintextCommandInput,
131
+ GenerateDataKeyWithoutPlaintextCommandOutput,
132
+ } from "./commands/GenerateDataKeyWithoutPlaintextCommand";
133
+ import {
134
+ GenerateMacCommandInput,
135
+ GenerateMacCommandOutput,
136
+ } from "./commands/GenerateMacCommand";
137
+ import {
138
+ GenerateRandomCommandInput,
139
+ GenerateRandomCommandOutput,
140
+ } from "./commands/GenerateRandomCommand";
141
+ import {
142
+ GetKeyPolicyCommandInput,
143
+ GetKeyPolicyCommandOutput,
144
+ } from "./commands/GetKeyPolicyCommand";
145
+ import {
146
+ GetKeyRotationStatusCommandInput,
147
+ GetKeyRotationStatusCommandOutput,
148
+ } from "./commands/GetKeyRotationStatusCommand";
149
+ import {
150
+ GetParametersForImportCommandInput,
151
+ GetParametersForImportCommandOutput,
152
+ } from "./commands/GetParametersForImportCommand";
153
+ import {
154
+ GetPublicKeyCommandInput,
155
+ GetPublicKeyCommandOutput,
156
+ } from "./commands/GetPublicKeyCommand";
157
+ import {
158
+ ImportKeyMaterialCommandInput,
159
+ ImportKeyMaterialCommandOutput,
160
+ } from "./commands/ImportKeyMaterialCommand";
161
+ import {
162
+ ListAliasesCommandInput,
163
+ ListAliasesCommandOutput,
164
+ } from "./commands/ListAliasesCommand";
165
+ import {
166
+ ListGrantsCommandInput,
167
+ ListGrantsCommandOutput,
168
+ } from "./commands/ListGrantsCommand";
169
+ import {
170
+ ListKeyPoliciesCommandInput,
171
+ ListKeyPoliciesCommandOutput,
172
+ } from "./commands/ListKeyPoliciesCommand";
173
+ import {
174
+ ListKeysCommandInput,
175
+ ListKeysCommandOutput,
176
+ } from "./commands/ListKeysCommand";
177
+ import {
178
+ ListResourceTagsCommandInput,
179
+ ListResourceTagsCommandOutput,
180
+ } from "./commands/ListResourceTagsCommand";
181
+ import {
182
+ ListRetirableGrantsCommandInput,
183
+ ListRetirableGrantsCommandOutput,
184
+ } from "./commands/ListRetirableGrantsCommand";
185
+ import {
186
+ PutKeyPolicyCommandInput,
187
+ PutKeyPolicyCommandOutput,
188
+ } from "./commands/PutKeyPolicyCommand";
189
+ import {
190
+ ReEncryptCommandInput,
191
+ ReEncryptCommandOutput,
192
+ } from "./commands/ReEncryptCommand";
193
+ import {
194
+ ReplicateKeyCommandInput,
195
+ ReplicateKeyCommandOutput,
196
+ } from "./commands/ReplicateKeyCommand";
197
+ import {
198
+ RetireGrantCommandInput,
199
+ RetireGrantCommandOutput,
200
+ } from "./commands/RetireGrantCommand";
201
+ import {
202
+ RevokeGrantCommandInput,
203
+ RevokeGrantCommandOutput,
204
+ } from "./commands/RevokeGrantCommand";
205
+ import {
206
+ ScheduleKeyDeletionCommandInput,
207
+ ScheduleKeyDeletionCommandOutput,
208
+ } from "./commands/ScheduleKeyDeletionCommand";
209
+ import { SignCommandInput, SignCommandOutput } from "./commands/SignCommand";
210
+ import {
211
+ TagResourceCommandInput,
212
+ TagResourceCommandOutput,
213
+ } from "./commands/TagResourceCommand";
214
+ import {
215
+ UntagResourceCommandInput,
216
+ UntagResourceCommandOutput,
217
+ } from "./commands/UntagResourceCommand";
218
+ import {
219
+ UpdateAliasCommandInput,
220
+ UpdateAliasCommandOutput,
221
+ } from "./commands/UpdateAliasCommand";
222
+ import {
223
+ UpdateCustomKeyStoreCommandInput,
224
+ UpdateCustomKeyStoreCommandOutput,
225
+ } from "./commands/UpdateCustomKeyStoreCommand";
226
+ import {
227
+ UpdateKeyDescriptionCommandInput,
228
+ UpdateKeyDescriptionCommandOutput,
229
+ } from "./commands/UpdateKeyDescriptionCommand";
230
+ import {
231
+ UpdatePrimaryRegionCommandInput,
232
+ UpdatePrimaryRegionCommandOutput,
233
+ } from "./commands/UpdatePrimaryRegionCommand";
234
+ import {
235
+ VerifyCommandInput,
236
+ VerifyCommandOutput,
237
+ } from "./commands/VerifyCommand";
238
+ import {
239
+ VerifyMacCommandInput,
240
+ VerifyMacCommandOutput,
241
+ } from "./commands/VerifyMacCommand";
242
+ export declare type ServiceInputTypes =
243
+ | CancelKeyDeletionCommandInput
244
+ | ConnectCustomKeyStoreCommandInput
245
+ | CreateAliasCommandInput
246
+ | CreateCustomKeyStoreCommandInput
247
+ | CreateGrantCommandInput
248
+ | CreateKeyCommandInput
249
+ | DecryptCommandInput
250
+ | DeleteAliasCommandInput
251
+ | DeleteCustomKeyStoreCommandInput
252
+ | DeleteImportedKeyMaterialCommandInput
253
+ | DescribeCustomKeyStoresCommandInput
254
+ | DescribeKeyCommandInput
255
+ | DisableKeyCommandInput
256
+ | DisableKeyRotationCommandInput
257
+ | DisconnectCustomKeyStoreCommandInput
258
+ | EnableKeyCommandInput
259
+ | EnableKeyRotationCommandInput
260
+ | EncryptCommandInput
261
+ | GenerateDataKeyCommandInput
262
+ | GenerateDataKeyPairCommandInput
263
+ | GenerateDataKeyPairWithoutPlaintextCommandInput
264
+ | GenerateDataKeyWithoutPlaintextCommandInput
265
+ | GenerateMacCommandInput
266
+ | GenerateRandomCommandInput
267
+ | GetKeyPolicyCommandInput
268
+ | GetKeyRotationStatusCommandInput
269
+ | GetParametersForImportCommandInput
270
+ | GetPublicKeyCommandInput
271
+ | ImportKeyMaterialCommandInput
272
+ | ListAliasesCommandInput
273
+ | ListGrantsCommandInput
274
+ | ListKeyPoliciesCommandInput
275
+ | ListKeysCommandInput
276
+ | ListResourceTagsCommandInput
277
+ | ListRetirableGrantsCommandInput
278
+ | PutKeyPolicyCommandInput
279
+ | ReEncryptCommandInput
280
+ | ReplicateKeyCommandInput
281
+ | RetireGrantCommandInput
282
+ | RevokeGrantCommandInput
283
+ | ScheduleKeyDeletionCommandInput
284
+ | SignCommandInput
285
+ | TagResourceCommandInput
286
+ | UntagResourceCommandInput
287
+ | UpdateAliasCommandInput
288
+ | UpdateCustomKeyStoreCommandInput
289
+ | UpdateKeyDescriptionCommandInput
290
+ | UpdatePrimaryRegionCommandInput
291
+ | VerifyCommandInput
292
+ | VerifyMacCommandInput;
293
+ export declare type ServiceOutputTypes =
294
+ | CancelKeyDeletionCommandOutput
295
+ | ConnectCustomKeyStoreCommandOutput
296
+ | CreateAliasCommandOutput
297
+ | CreateCustomKeyStoreCommandOutput
298
+ | CreateGrantCommandOutput
299
+ | CreateKeyCommandOutput
300
+ | DecryptCommandOutput
301
+ | DeleteAliasCommandOutput
302
+ | DeleteCustomKeyStoreCommandOutput
303
+ | DeleteImportedKeyMaterialCommandOutput
304
+ | DescribeCustomKeyStoresCommandOutput
305
+ | DescribeKeyCommandOutput
306
+ | DisableKeyCommandOutput
307
+ | DisableKeyRotationCommandOutput
308
+ | DisconnectCustomKeyStoreCommandOutput
309
+ | EnableKeyCommandOutput
310
+ | EnableKeyRotationCommandOutput
311
+ | EncryptCommandOutput
312
+ | GenerateDataKeyCommandOutput
313
+ | GenerateDataKeyPairCommandOutput
314
+ | GenerateDataKeyPairWithoutPlaintextCommandOutput
315
+ | GenerateDataKeyWithoutPlaintextCommandOutput
316
+ | GenerateMacCommandOutput
317
+ | GenerateRandomCommandOutput
318
+ | GetKeyPolicyCommandOutput
319
+ | GetKeyRotationStatusCommandOutput
320
+ | GetParametersForImportCommandOutput
321
+ | GetPublicKeyCommandOutput
322
+ | ImportKeyMaterialCommandOutput
323
+ | ListAliasesCommandOutput
324
+ | ListGrantsCommandOutput
325
+ | ListKeyPoliciesCommandOutput
326
+ | ListKeysCommandOutput
327
+ | ListResourceTagsCommandOutput
328
+ | ListRetirableGrantsCommandOutput
329
+ | PutKeyPolicyCommandOutput
330
+ | ReEncryptCommandOutput
331
+ | ReplicateKeyCommandOutput
332
+ | RetireGrantCommandOutput
333
+ | RevokeGrantCommandOutput
334
+ | ScheduleKeyDeletionCommandOutput
335
+ | SignCommandOutput
336
+ | TagResourceCommandOutput
337
+ | UntagResourceCommandOutput
338
+ | UpdateAliasCommandOutput
339
+ | UpdateCustomKeyStoreCommandOutput
340
+ | UpdateKeyDescriptionCommandOutput
341
+ | UpdatePrimaryRegionCommandOutput
342
+ | VerifyCommandOutput
343
+ | VerifyMacCommandOutput;
344
+ export interface ClientDefaults
345
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
346
+ requestHandler?: __HttpHandler;
347
+
348
+ sha256?: __HashConstructor;
349
+
350
+ urlParser?: __UrlParser;
351
+
352
+ bodyLengthChecker?: __BodyLengthCalculator;
353
+
354
+ streamCollector?: __StreamCollector;
355
+
356
+ base64Decoder?: __Decoder;
357
+
358
+ base64Encoder?: __Encoder;
359
+
360
+ utf8Decoder?: __Decoder;
361
+
362
+ utf8Encoder?: __Encoder;
363
+
364
+ runtime?: string;
365
+
366
+ disableHostPrefix?: boolean;
367
+
368
+ maxAttempts?: number | __Provider<number>;
369
+
370
+ retryMode?: string | __Provider<string>;
371
+
372
+ logger?: __Logger;
373
+
374
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
375
+
376
+ useFipsEndpoint?: boolean | __Provider<boolean>;
377
+
378
+ serviceId?: string;
379
+
380
+ region?: string | __Provider<string>;
381
+
382
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
383
+
384
+ regionInfoProvider?: RegionInfoProvider;
385
+
386
+ defaultUserAgentProvider?: Provider<__UserAgent>;
387
+
388
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
389
+ }
390
+ declare type KMSClientConfigType = Partial<
391
+ __SmithyConfiguration<__HttpHandlerOptions>
392
+ > &
393
+ ClientDefaults &
394
+ RegionInputConfig &
395
+ EndpointsInputConfig &
396
+ RetryInputConfig &
397
+ HostHeaderInputConfig &
398
+ AwsAuthInputConfig &
399
+ UserAgentInputConfig;
400
+
401
+ export interface KMSClientConfig extends KMSClientConfigType {}
402
+ declare type KMSClientResolvedConfigType =
403
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
404
+ Required<ClientDefaults> &
405
+ RegionResolvedConfig &
406
+ EndpointsResolvedConfig &
407
+ RetryResolvedConfig &
408
+ HostHeaderResolvedConfig &
409
+ AwsAuthResolvedConfig &
410
+ UserAgentResolvedConfig;
411
+
412
+ export interface KMSClientResolvedConfig extends KMSClientResolvedConfigType {}
413
+
414
+ export declare class KMSClient extends __Client<
415
+ __HttpHandlerOptions,
416
+ ServiceInputTypes,
417
+ ServiceOutputTypes,
418
+ KMSClientResolvedConfig
419
+ > {
420
+ readonly config: KMSClientResolvedConfig;
421
+ constructor(configuration: KMSClientConfig);
422
+
423
+ destroy(): void;
424
+ }
425
+ export {};
@@ -1,17 +1,38 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
4
- import { CancelKeyDeletionRequest, CancelKeyDeletionResponse } from "../models/models_0";
5
- export interface CancelKeyDeletionCommandInput extends CancelKeyDeletionRequest {
6
- }
7
- export interface CancelKeyDeletionCommandOutput extends CancelKeyDeletionResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class CancelKeyDeletionCommand extends $Command<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, KMSClientResolvedConfig> {
11
- readonly input: CancelKeyDeletionCommandInput;
12
- constructor(input: CancelKeyDeletionCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ KMSClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../KMSClient";
13
+ import {
14
+ CancelKeyDeletionRequest,
15
+ CancelKeyDeletionResponse,
16
+ } from "../models/models_0";
17
+ export interface CancelKeyDeletionCommandInput
18
+ extends CancelKeyDeletionRequest {}
19
+ export interface CancelKeyDeletionCommandOutput
20
+ extends CancelKeyDeletionResponse,
21
+ __MetadataBearer {}
22
+
23
+ export declare class CancelKeyDeletionCommand extends $Command<
24
+ CancelKeyDeletionCommandInput,
25
+ CancelKeyDeletionCommandOutput,
26
+ KMSClientResolvedConfig
27
+ > {
28
+ readonly input: CancelKeyDeletionCommandInput;
29
+ constructor(input: CancelKeyDeletionCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KMSClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }