@aws-sdk/client-kms 3.1137.0 → 3.1139.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -1096,10 +1096,10 @@ const _m = "message";
1096
1096
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kms";
1097
1097
  const _se = "server";
1098
1098
  const n0 = "com.amazonaws.kms";
1099
- const _s_registry = TypeRegistry.for(_s);
1099
+ const _s_registry = new TypeRegistry(_s);
1100
1100
  var KMSServiceException$ = [-3, _s, "KMSServiceException", 0, [], []];
1101
1101
  _s_registry.registerError(KMSServiceException$, KMSServiceException);
1102
- const n0_registry = TypeRegistry.for(n0);
1102
+ const n0_registry = new TypeRegistry(n0);
1103
1103
  var AlreadyExistsException$ = [-3, n0, _AEE,
1104
1104
  { [_aQE]: [`AlreadyExists`, 409], [_e]: _c, [_hE]: 409 },
1105
1105
  [_m],
@@ -382,10 +382,10 @@ const n0 = "com.amazonaws.kms";
382
382
  import { TypeRegistry } from "@smithy/core/schema";
383
383
  import { AlreadyExistsException, CloudHsmClusterInUseException, CloudHsmClusterInvalidConfigurationException, CloudHsmClusterNotActiveException, CloudHsmClusterNotFoundException, CloudHsmClusterNotRelatedException, ConflictException, CustomKeyStoreHasCMKsException, CustomKeyStoreInvalidStateException, CustomKeyStoreNameInUseException, CustomKeyStoreNotFoundException, DependencyTimeoutException, DisabledException, DryRunOperationException, ExpiredImportTokenException, IncorrectKeyException, IncorrectKeyMaterialException, IncorrectTrustAnchorException, InvalidAliasNameException, InvalidArnException, InvalidCiphertextException, InvalidGrantIdException, InvalidGrantTokenException, InvalidImportTokenException, InvalidKeyUsageException, InvalidMarkerException, KeyUnavailableException, KMSInternalException, KMSInvalidMacException, KMSInvalidSignatureException, KMSInvalidStateException, LimitExceededException, MalformedPolicyDocumentException, NotFoundException, TagException, UnsupportedOperationException, XksKeyAlreadyInUseException, XksKeyInvalidConfigurationException, XksKeyNotFoundException, XksProxyIncorrectAuthenticationCredentialException, XksProxyInvalidConfigurationException, XksProxyInvalidResponseException, XksProxyUriEndpointInUseException, XksProxyUriInUseException, XksProxyUriUnreachableException, XksProxyVpcEndpointServiceInUseException, XksProxyVpcEndpointServiceInvalidConfigurationException, XksProxyVpcEndpointServiceNotFoundException, } from "../models/errors";
384
384
  import { KMSServiceException } from "../models/KMSServiceException";
385
- const _s_registry = TypeRegistry.for(_s);
385
+ const _s_registry = new TypeRegistry(_s);
386
386
  export var KMSServiceException$ = [-3, _s, "KMSServiceException", 0, [], []];
387
387
  _s_registry.registerError(KMSServiceException$, KMSServiceException);
388
- const n0_registry = TypeRegistry.for(n0);
388
+ const n0_registry = new TypeRegistry(n0);
389
389
  export var AlreadyExistsException$ = [-3, n0, _AEE,
390
390
  { [_aQE]: [`AlreadyExists`, 409], [_e]: _c, [_hE]: 409 },
391
391
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type CancelKeyDeletionCommandInput, type CancelKeyDeletionCommandOutput } from "./commands/CancelKeyDeletionCommand";
3
3
  import { type ConnectCustomKeyStoreCommandInput, type ConnectCustomKeyStoreCommandOutput } from "./commands/ConnectCustomKeyStoreCommand";
4
4
  import { type CreateAliasCommandInput, type CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
@@ -54,339 +54,345 @@ import { type UpdatePrimaryRegionCommandInput, type UpdatePrimaryRegionCommandOu
54
54
  import { type VerifyCommandInput, type VerifyCommandOutput } from "./commands/VerifyCommand";
55
55
  import { type VerifyMacCommandInput, type VerifyMacCommandOutput } from "./commands/VerifyMacCommand";
56
56
  import { KMSClient } from "./KMSClient";
57
+ /**
58
+ * @public
59
+ */
60
+ export interface KMSRequestOptions extends __HttpHandlerOptions {
61
+ metricsRecorder?: __MetricsRecorder<unknown>;
62
+ }
57
63
  export interface KMS {
58
64
  /**
59
65
  * @see {@link CancelKeyDeletionCommand}
60
66
  */
61
- cancelKeyDeletion(args: CancelKeyDeletionCommandInput, options?: __HttpHandlerOptions): Promise<CancelKeyDeletionCommandOutput>;
67
+ cancelKeyDeletion(args: CancelKeyDeletionCommandInput, options?: KMSRequestOptions): Promise<CancelKeyDeletionCommandOutput>;
62
68
  cancelKeyDeletion(args: CancelKeyDeletionCommandInput, cb: (err: any, data?: CancelKeyDeletionCommandOutput) => void): void;
63
- cancelKeyDeletion(args: CancelKeyDeletionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelKeyDeletionCommandOutput) => void): void;
69
+ cancelKeyDeletion(args: CancelKeyDeletionCommandInput, options: KMSRequestOptions, cb: (err: any, data?: CancelKeyDeletionCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link ConnectCustomKeyStoreCommand}
66
72
  */
67
- connectCustomKeyStore(args: ConnectCustomKeyStoreCommandInput, options?: __HttpHandlerOptions): Promise<ConnectCustomKeyStoreCommandOutput>;
73
+ connectCustomKeyStore(args: ConnectCustomKeyStoreCommandInput, options?: KMSRequestOptions): Promise<ConnectCustomKeyStoreCommandOutput>;
68
74
  connectCustomKeyStore(args: ConnectCustomKeyStoreCommandInput, cb: (err: any, data?: ConnectCustomKeyStoreCommandOutput) => void): void;
69
- connectCustomKeyStore(args: ConnectCustomKeyStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConnectCustomKeyStoreCommandOutput) => void): void;
75
+ connectCustomKeyStore(args: ConnectCustomKeyStoreCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ConnectCustomKeyStoreCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link CreateAliasCommand}
72
78
  */
73
- createAlias(args: CreateAliasCommandInput, options?: __HttpHandlerOptions): Promise<CreateAliasCommandOutput>;
79
+ createAlias(args: CreateAliasCommandInput, options?: KMSRequestOptions): Promise<CreateAliasCommandOutput>;
74
80
  createAlias(args: CreateAliasCommandInput, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
75
- createAlias(args: CreateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
81
+ createAlias(args: CreateAliasCommandInput, options: KMSRequestOptions, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link CreateCustomKeyStoreCommand}
78
84
  */
79
- createCustomKeyStore(args: CreateCustomKeyStoreCommandInput, options?: __HttpHandlerOptions): Promise<CreateCustomKeyStoreCommandOutput>;
85
+ createCustomKeyStore(args: CreateCustomKeyStoreCommandInput, options?: KMSRequestOptions): Promise<CreateCustomKeyStoreCommandOutput>;
80
86
  createCustomKeyStore(args: CreateCustomKeyStoreCommandInput, cb: (err: any, data?: CreateCustomKeyStoreCommandOutput) => void): void;
81
- createCustomKeyStore(args: CreateCustomKeyStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomKeyStoreCommandOutput) => void): void;
87
+ createCustomKeyStore(args: CreateCustomKeyStoreCommandInput, options: KMSRequestOptions, cb: (err: any, data?: CreateCustomKeyStoreCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link CreateGrantCommand}
84
90
  */
85
- createGrant(args: CreateGrantCommandInput, options?: __HttpHandlerOptions): Promise<CreateGrantCommandOutput>;
91
+ createGrant(args: CreateGrantCommandInput, options?: KMSRequestOptions): Promise<CreateGrantCommandOutput>;
86
92
  createGrant(args: CreateGrantCommandInput, cb: (err: any, data?: CreateGrantCommandOutput) => void): void;
87
- createGrant(args: CreateGrantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGrantCommandOutput) => void): void;
93
+ createGrant(args: CreateGrantCommandInput, options: KMSRequestOptions, cb: (err: any, data?: CreateGrantCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link CreateKeyCommand}
90
96
  */
91
97
  createKey(): Promise<CreateKeyCommandOutput>;
92
- createKey(args: CreateKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateKeyCommandOutput>;
98
+ createKey(args: CreateKeyCommandInput, options?: KMSRequestOptions): Promise<CreateKeyCommandOutput>;
93
99
  createKey(args: CreateKeyCommandInput, cb: (err: any, data?: CreateKeyCommandOutput) => void): void;
94
- createKey(args: CreateKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKeyCommandOutput) => void): void;
100
+ createKey(args: CreateKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: CreateKeyCommandOutput) => void): void;
95
101
  /**
96
102
  * @see {@link DecryptCommand}
97
103
  */
98
104
  decrypt(): Promise<DecryptCommandOutput>;
99
- decrypt(args: DecryptCommandInput, options?: __HttpHandlerOptions): Promise<DecryptCommandOutput>;
105
+ decrypt(args: DecryptCommandInput, options?: KMSRequestOptions): Promise<DecryptCommandOutput>;
100
106
  decrypt(args: DecryptCommandInput, cb: (err: any, data?: DecryptCommandOutput) => void): void;
101
- decrypt(args: DecryptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DecryptCommandOutput) => void): void;
107
+ decrypt(args: DecryptCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DecryptCommandOutput) => void): void;
102
108
  /**
103
109
  * @see {@link DeleteAliasCommand}
104
110
  */
105
- deleteAlias(args: DeleteAliasCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAliasCommandOutput>;
111
+ deleteAlias(args: DeleteAliasCommandInput, options?: KMSRequestOptions): Promise<DeleteAliasCommandOutput>;
106
112
  deleteAlias(args: DeleteAliasCommandInput, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
107
- deleteAlias(args: DeleteAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
113
+ deleteAlias(args: DeleteAliasCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
108
114
  /**
109
115
  * @see {@link DeleteCustomKeyStoreCommand}
110
116
  */
111
- deleteCustomKeyStore(args: DeleteCustomKeyStoreCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomKeyStoreCommandOutput>;
117
+ deleteCustomKeyStore(args: DeleteCustomKeyStoreCommandInput, options?: KMSRequestOptions): Promise<DeleteCustomKeyStoreCommandOutput>;
112
118
  deleteCustomKeyStore(args: DeleteCustomKeyStoreCommandInput, cb: (err: any, data?: DeleteCustomKeyStoreCommandOutput) => void): void;
113
- deleteCustomKeyStore(args: DeleteCustomKeyStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomKeyStoreCommandOutput) => void): void;
119
+ deleteCustomKeyStore(args: DeleteCustomKeyStoreCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DeleteCustomKeyStoreCommandOutput) => void): void;
114
120
  /**
115
121
  * @see {@link DeleteImportedKeyMaterialCommand}
116
122
  */
117
- deleteImportedKeyMaterial(args: DeleteImportedKeyMaterialCommandInput, options?: __HttpHandlerOptions): Promise<DeleteImportedKeyMaterialCommandOutput>;
123
+ deleteImportedKeyMaterial(args: DeleteImportedKeyMaterialCommandInput, options?: KMSRequestOptions): Promise<DeleteImportedKeyMaterialCommandOutput>;
118
124
  deleteImportedKeyMaterial(args: DeleteImportedKeyMaterialCommandInput, cb: (err: any, data?: DeleteImportedKeyMaterialCommandOutput) => void): void;
119
- deleteImportedKeyMaterial(args: DeleteImportedKeyMaterialCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteImportedKeyMaterialCommandOutput) => void): void;
125
+ deleteImportedKeyMaterial(args: DeleteImportedKeyMaterialCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DeleteImportedKeyMaterialCommandOutput) => void): void;
120
126
  /**
121
127
  * @see {@link DeriveSharedSecretCommand}
122
128
  */
123
- deriveSharedSecret(args: DeriveSharedSecretCommandInput, options?: __HttpHandlerOptions): Promise<DeriveSharedSecretCommandOutput>;
129
+ deriveSharedSecret(args: DeriveSharedSecretCommandInput, options?: KMSRequestOptions): Promise<DeriveSharedSecretCommandOutput>;
124
130
  deriveSharedSecret(args: DeriveSharedSecretCommandInput, cb: (err: any, data?: DeriveSharedSecretCommandOutput) => void): void;
125
- deriveSharedSecret(args: DeriveSharedSecretCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeriveSharedSecretCommandOutput) => void): void;
131
+ deriveSharedSecret(args: DeriveSharedSecretCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DeriveSharedSecretCommandOutput) => void): void;
126
132
  /**
127
133
  * @see {@link DescribeCustomKeyStoresCommand}
128
134
  */
129
135
  describeCustomKeyStores(): Promise<DescribeCustomKeyStoresCommandOutput>;
130
- describeCustomKeyStores(args: DescribeCustomKeyStoresCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCustomKeyStoresCommandOutput>;
136
+ describeCustomKeyStores(args: DescribeCustomKeyStoresCommandInput, options?: KMSRequestOptions): Promise<DescribeCustomKeyStoresCommandOutput>;
131
137
  describeCustomKeyStores(args: DescribeCustomKeyStoresCommandInput, cb: (err: any, data?: DescribeCustomKeyStoresCommandOutput) => void): void;
132
- describeCustomKeyStores(args: DescribeCustomKeyStoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCustomKeyStoresCommandOutput) => void): void;
138
+ describeCustomKeyStores(args: DescribeCustomKeyStoresCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DescribeCustomKeyStoresCommandOutput) => void): void;
133
139
  /**
134
140
  * @see {@link DescribeKeyCommand}
135
141
  */
136
- describeKey(args: DescribeKeyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeKeyCommandOutput>;
142
+ describeKey(args: DescribeKeyCommandInput, options?: KMSRequestOptions): Promise<DescribeKeyCommandOutput>;
137
143
  describeKey(args: DescribeKeyCommandInput, cb: (err: any, data?: DescribeKeyCommandOutput) => void): void;
138
- describeKey(args: DescribeKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeKeyCommandOutput) => void): void;
144
+ describeKey(args: DescribeKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DescribeKeyCommandOutput) => void): void;
139
145
  /**
140
146
  * @see {@link DisableKeyCommand}
141
147
  */
142
- disableKey(args: DisableKeyCommandInput, options?: __HttpHandlerOptions): Promise<DisableKeyCommandOutput>;
148
+ disableKey(args: DisableKeyCommandInput, options?: KMSRequestOptions): Promise<DisableKeyCommandOutput>;
143
149
  disableKey(args: DisableKeyCommandInput, cb: (err: any, data?: DisableKeyCommandOutput) => void): void;
144
- disableKey(args: DisableKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableKeyCommandOutput) => void): void;
150
+ disableKey(args: DisableKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DisableKeyCommandOutput) => void): void;
145
151
  /**
146
152
  * @see {@link DisableKeyRotationCommand}
147
153
  */
148
- disableKeyRotation(args: DisableKeyRotationCommandInput, options?: __HttpHandlerOptions): Promise<DisableKeyRotationCommandOutput>;
154
+ disableKeyRotation(args: DisableKeyRotationCommandInput, options?: KMSRequestOptions): Promise<DisableKeyRotationCommandOutput>;
149
155
  disableKeyRotation(args: DisableKeyRotationCommandInput, cb: (err: any, data?: DisableKeyRotationCommandOutput) => void): void;
150
- disableKeyRotation(args: DisableKeyRotationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableKeyRotationCommandOutput) => void): void;
156
+ disableKeyRotation(args: DisableKeyRotationCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DisableKeyRotationCommandOutput) => void): void;
151
157
  /**
152
158
  * @see {@link DisconnectCustomKeyStoreCommand}
153
159
  */
154
- disconnectCustomKeyStore(args: DisconnectCustomKeyStoreCommandInput, options?: __HttpHandlerOptions): Promise<DisconnectCustomKeyStoreCommandOutput>;
160
+ disconnectCustomKeyStore(args: DisconnectCustomKeyStoreCommandInput, options?: KMSRequestOptions): Promise<DisconnectCustomKeyStoreCommandOutput>;
155
161
  disconnectCustomKeyStore(args: DisconnectCustomKeyStoreCommandInput, cb: (err: any, data?: DisconnectCustomKeyStoreCommandOutput) => void): void;
156
- disconnectCustomKeyStore(args: DisconnectCustomKeyStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisconnectCustomKeyStoreCommandOutput) => void): void;
162
+ disconnectCustomKeyStore(args: DisconnectCustomKeyStoreCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DisconnectCustomKeyStoreCommandOutput) => void): void;
157
163
  /**
158
164
  * @see {@link EnableKeyCommand}
159
165
  */
160
- enableKey(args: EnableKeyCommandInput, options?: __HttpHandlerOptions): Promise<EnableKeyCommandOutput>;
166
+ enableKey(args: EnableKeyCommandInput, options?: KMSRequestOptions): Promise<EnableKeyCommandOutput>;
161
167
  enableKey(args: EnableKeyCommandInput, cb: (err: any, data?: EnableKeyCommandOutput) => void): void;
162
- enableKey(args: EnableKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableKeyCommandOutput) => void): void;
168
+ enableKey(args: EnableKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: EnableKeyCommandOutput) => void): void;
163
169
  /**
164
170
  * @see {@link EnableKeyRotationCommand}
165
171
  */
166
- enableKeyRotation(args: EnableKeyRotationCommandInput, options?: __HttpHandlerOptions): Promise<EnableKeyRotationCommandOutput>;
172
+ enableKeyRotation(args: EnableKeyRotationCommandInput, options?: KMSRequestOptions): Promise<EnableKeyRotationCommandOutput>;
167
173
  enableKeyRotation(args: EnableKeyRotationCommandInput, cb: (err: any, data?: EnableKeyRotationCommandOutput) => void): void;
168
- enableKeyRotation(args: EnableKeyRotationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableKeyRotationCommandOutput) => void): void;
174
+ enableKeyRotation(args: EnableKeyRotationCommandInput, options: KMSRequestOptions, cb: (err: any, data?: EnableKeyRotationCommandOutput) => void): void;
169
175
  /**
170
176
  * @see {@link EncryptCommand}
171
177
  */
172
- encrypt(args: EncryptCommandInput, options?: __HttpHandlerOptions): Promise<EncryptCommandOutput>;
178
+ encrypt(args: EncryptCommandInput, options?: KMSRequestOptions): Promise<EncryptCommandOutput>;
173
179
  encrypt(args: EncryptCommandInput, cb: (err: any, data?: EncryptCommandOutput) => void): void;
174
- encrypt(args: EncryptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EncryptCommandOutput) => void): void;
180
+ encrypt(args: EncryptCommandInput, options: KMSRequestOptions, cb: (err: any, data?: EncryptCommandOutput) => void): void;
175
181
  /**
176
182
  * @see {@link GenerateDataKeyCommand}
177
183
  */
178
- generateDataKey(args: GenerateDataKeyCommandInput, options?: __HttpHandlerOptions): Promise<GenerateDataKeyCommandOutput>;
184
+ generateDataKey(args: GenerateDataKeyCommandInput, options?: KMSRequestOptions): Promise<GenerateDataKeyCommandOutput>;
179
185
  generateDataKey(args: GenerateDataKeyCommandInput, cb: (err: any, data?: GenerateDataKeyCommandOutput) => void): void;
180
- generateDataKey(args: GenerateDataKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateDataKeyCommandOutput) => void): void;
186
+ generateDataKey(args: GenerateDataKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateDataKeyCommandOutput) => void): void;
181
187
  /**
182
188
  * @see {@link GenerateDataKeyPairCommand}
183
189
  */
184
- generateDataKeyPair(args: GenerateDataKeyPairCommandInput, options?: __HttpHandlerOptions): Promise<GenerateDataKeyPairCommandOutput>;
190
+ generateDataKeyPair(args: GenerateDataKeyPairCommandInput, options?: KMSRequestOptions): Promise<GenerateDataKeyPairCommandOutput>;
185
191
  generateDataKeyPair(args: GenerateDataKeyPairCommandInput, cb: (err: any, data?: GenerateDataKeyPairCommandOutput) => void): void;
186
- generateDataKeyPair(args: GenerateDataKeyPairCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateDataKeyPairCommandOutput) => void): void;
192
+ generateDataKeyPair(args: GenerateDataKeyPairCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateDataKeyPairCommandOutput) => void): void;
187
193
  /**
188
194
  * @see {@link GenerateDataKeyPairWithoutPlaintextCommand}
189
195
  */
190
- generateDataKeyPairWithoutPlaintext(args: GenerateDataKeyPairWithoutPlaintextCommandInput, options?: __HttpHandlerOptions): Promise<GenerateDataKeyPairWithoutPlaintextCommandOutput>;
196
+ generateDataKeyPairWithoutPlaintext(args: GenerateDataKeyPairWithoutPlaintextCommandInput, options?: KMSRequestOptions): Promise<GenerateDataKeyPairWithoutPlaintextCommandOutput>;
191
197
  generateDataKeyPairWithoutPlaintext(args: GenerateDataKeyPairWithoutPlaintextCommandInput, cb: (err: any, data?: GenerateDataKeyPairWithoutPlaintextCommandOutput) => void): void;
192
- generateDataKeyPairWithoutPlaintext(args: GenerateDataKeyPairWithoutPlaintextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateDataKeyPairWithoutPlaintextCommandOutput) => void): void;
198
+ generateDataKeyPairWithoutPlaintext(args: GenerateDataKeyPairWithoutPlaintextCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateDataKeyPairWithoutPlaintextCommandOutput) => void): void;
193
199
  /**
194
200
  * @see {@link GenerateDataKeyWithoutPlaintextCommand}
195
201
  */
196
- generateDataKeyWithoutPlaintext(args: GenerateDataKeyWithoutPlaintextCommandInput, options?: __HttpHandlerOptions): Promise<GenerateDataKeyWithoutPlaintextCommandOutput>;
202
+ generateDataKeyWithoutPlaintext(args: GenerateDataKeyWithoutPlaintextCommandInput, options?: KMSRequestOptions): Promise<GenerateDataKeyWithoutPlaintextCommandOutput>;
197
203
  generateDataKeyWithoutPlaintext(args: GenerateDataKeyWithoutPlaintextCommandInput, cb: (err: any, data?: GenerateDataKeyWithoutPlaintextCommandOutput) => void): void;
198
- generateDataKeyWithoutPlaintext(args: GenerateDataKeyWithoutPlaintextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateDataKeyWithoutPlaintextCommandOutput) => void): void;
204
+ generateDataKeyWithoutPlaintext(args: GenerateDataKeyWithoutPlaintextCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateDataKeyWithoutPlaintextCommandOutput) => void): void;
199
205
  /**
200
206
  * @see {@link GenerateMacCommand}
201
207
  */
202
- generateMac(args: GenerateMacCommandInput, options?: __HttpHandlerOptions): Promise<GenerateMacCommandOutput>;
208
+ generateMac(args: GenerateMacCommandInput, options?: KMSRequestOptions): Promise<GenerateMacCommandOutput>;
203
209
  generateMac(args: GenerateMacCommandInput, cb: (err: any, data?: GenerateMacCommandOutput) => void): void;
204
- generateMac(args: GenerateMacCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateMacCommandOutput) => void): void;
210
+ generateMac(args: GenerateMacCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateMacCommandOutput) => void): void;
205
211
  /**
206
212
  * @see {@link GenerateRandomCommand}
207
213
  */
208
214
  generateRandom(): Promise<GenerateRandomCommandOutput>;
209
- generateRandom(args: GenerateRandomCommandInput, options?: __HttpHandlerOptions): Promise<GenerateRandomCommandOutput>;
215
+ generateRandom(args: GenerateRandomCommandInput, options?: KMSRequestOptions): Promise<GenerateRandomCommandOutput>;
210
216
  generateRandom(args: GenerateRandomCommandInput, cb: (err: any, data?: GenerateRandomCommandOutput) => void): void;
211
- generateRandom(args: GenerateRandomCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateRandomCommandOutput) => void): void;
217
+ generateRandom(args: GenerateRandomCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateRandomCommandOutput) => void): void;
212
218
  /**
213
219
  * @see {@link GetKeyLastUsageCommand}
214
220
  */
215
- getKeyLastUsage(args: GetKeyLastUsageCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyLastUsageCommandOutput>;
221
+ getKeyLastUsage(args: GetKeyLastUsageCommandInput, options?: KMSRequestOptions): Promise<GetKeyLastUsageCommandOutput>;
216
222
  getKeyLastUsage(args: GetKeyLastUsageCommandInput, cb: (err: any, data?: GetKeyLastUsageCommandOutput) => void): void;
217
- getKeyLastUsage(args: GetKeyLastUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKeyLastUsageCommandOutput) => void): void;
223
+ getKeyLastUsage(args: GetKeyLastUsageCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GetKeyLastUsageCommandOutput) => void): void;
218
224
  /**
219
225
  * @see {@link GetKeyPolicyCommand}
220
226
  */
221
- getKeyPolicy(args: GetKeyPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyPolicyCommandOutput>;
227
+ getKeyPolicy(args: GetKeyPolicyCommandInput, options?: KMSRequestOptions): Promise<GetKeyPolicyCommandOutput>;
222
228
  getKeyPolicy(args: GetKeyPolicyCommandInput, cb: (err: any, data?: GetKeyPolicyCommandOutput) => void): void;
223
- getKeyPolicy(args: GetKeyPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKeyPolicyCommandOutput) => void): void;
229
+ getKeyPolicy(args: GetKeyPolicyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GetKeyPolicyCommandOutput) => void): void;
224
230
  /**
225
231
  * @see {@link GetKeyRotationStatusCommand}
226
232
  */
227
- getKeyRotationStatus(args: GetKeyRotationStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyRotationStatusCommandOutput>;
233
+ getKeyRotationStatus(args: GetKeyRotationStatusCommandInput, options?: KMSRequestOptions): Promise<GetKeyRotationStatusCommandOutput>;
228
234
  getKeyRotationStatus(args: GetKeyRotationStatusCommandInput, cb: (err: any, data?: GetKeyRotationStatusCommandOutput) => void): void;
229
- getKeyRotationStatus(args: GetKeyRotationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKeyRotationStatusCommandOutput) => void): void;
235
+ getKeyRotationStatus(args: GetKeyRotationStatusCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GetKeyRotationStatusCommandOutput) => void): void;
230
236
  /**
231
237
  * @see {@link GetParametersForImportCommand}
232
238
  */
233
- getParametersForImport(args: GetParametersForImportCommandInput, options?: __HttpHandlerOptions): Promise<GetParametersForImportCommandOutput>;
239
+ getParametersForImport(args: GetParametersForImportCommandInput, options?: KMSRequestOptions): Promise<GetParametersForImportCommandOutput>;
234
240
  getParametersForImport(args: GetParametersForImportCommandInput, cb: (err: any, data?: GetParametersForImportCommandOutput) => void): void;
235
- getParametersForImport(args: GetParametersForImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetParametersForImportCommandOutput) => void): void;
241
+ getParametersForImport(args: GetParametersForImportCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GetParametersForImportCommandOutput) => void): void;
236
242
  /**
237
243
  * @see {@link GetPublicKeyCommand}
238
244
  */
239
- getPublicKey(args: GetPublicKeyCommandInput, options?: __HttpHandlerOptions): Promise<GetPublicKeyCommandOutput>;
245
+ getPublicKey(args: GetPublicKeyCommandInput, options?: KMSRequestOptions): Promise<GetPublicKeyCommandOutput>;
240
246
  getPublicKey(args: GetPublicKeyCommandInput, cb: (err: any, data?: GetPublicKeyCommandOutput) => void): void;
241
- getPublicKey(args: GetPublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPublicKeyCommandOutput) => void): void;
247
+ getPublicKey(args: GetPublicKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GetPublicKeyCommandOutput) => void): void;
242
248
  /**
243
249
  * @see {@link ImportKeyMaterialCommand}
244
250
  */
245
- importKeyMaterial(args: ImportKeyMaterialCommandInput, options?: __HttpHandlerOptions): Promise<ImportKeyMaterialCommandOutput>;
251
+ importKeyMaterial(args: ImportKeyMaterialCommandInput, options?: KMSRequestOptions): Promise<ImportKeyMaterialCommandOutput>;
246
252
  importKeyMaterial(args: ImportKeyMaterialCommandInput, cb: (err: any, data?: ImportKeyMaterialCommandOutput) => void): void;
247
- importKeyMaterial(args: ImportKeyMaterialCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportKeyMaterialCommandOutput) => void): void;
253
+ importKeyMaterial(args: ImportKeyMaterialCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ImportKeyMaterialCommandOutput) => void): void;
248
254
  /**
249
255
  * @see {@link ListAliasesCommand}
250
256
  */
251
257
  listAliases(): Promise<ListAliasesCommandOutput>;
252
- listAliases(args: ListAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListAliasesCommandOutput>;
258
+ listAliases(args: ListAliasesCommandInput, options?: KMSRequestOptions): Promise<ListAliasesCommandOutput>;
253
259
  listAliases(args: ListAliasesCommandInput, cb: (err: any, data?: ListAliasesCommandOutput) => void): void;
254
- listAliases(args: ListAliasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAliasesCommandOutput) => void): void;
260
+ listAliases(args: ListAliasesCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListAliasesCommandOutput) => void): void;
255
261
  /**
256
262
  * @see {@link ListGrantsCommand}
257
263
  */
258
- listGrants(args: ListGrantsCommandInput, options?: __HttpHandlerOptions): Promise<ListGrantsCommandOutput>;
264
+ listGrants(args: ListGrantsCommandInput, options?: KMSRequestOptions): Promise<ListGrantsCommandOutput>;
259
265
  listGrants(args: ListGrantsCommandInput, cb: (err: any, data?: ListGrantsCommandOutput) => void): void;
260
- listGrants(args: ListGrantsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGrantsCommandOutput) => void): void;
266
+ listGrants(args: ListGrantsCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListGrantsCommandOutput) => void): void;
261
267
  /**
262
268
  * @see {@link ListKeyPoliciesCommand}
263
269
  */
264
- listKeyPolicies(args: ListKeyPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListKeyPoliciesCommandOutput>;
270
+ listKeyPolicies(args: ListKeyPoliciesCommandInput, options?: KMSRequestOptions): Promise<ListKeyPoliciesCommandOutput>;
265
271
  listKeyPolicies(args: ListKeyPoliciesCommandInput, cb: (err: any, data?: ListKeyPoliciesCommandOutput) => void): void;
266
- listKeyPolicies(args: ListKeyPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKeyPoliciesCommandOutput) => void): void;
272
+ listKeyPolicies(args: ListKeyPoliciesCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListKeyPoliciesCommandOutput) => void): void;
267
273
  /**
268
274
  * @see {@link ListKeyRotationsCommand}
269
275
  */
270
- listKeyRotations(args: ListKeyRotationsCommandInput, options?: __HttpHandlerOptions): Promise<ListKeyRotationsCommandOutput>;
276
+ listKeyRotations(args: ListKeyRotationsCommandInput, options?: KMSRequestOptions): Promise<ListKeyRotationsCommandOutput>;
271
277
  listKeyRotations(args: ListKeyRotationsCommandInput, cb: (err: any, data?: ListKeyRotationsCommandOutput) => void): void;
272
- listKeyRotations(args: ListKeyRotationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKeyRotationsCommandOutput) => void): void;
278
+ listKeyRotations(args: ListKeyRotationsCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListKeyRotationsCommandOutput) => void): void;
273
279
  /**
274
280
  * @see {@link ListKeysCommand}
275
281
  */
276
282
  listKeys(): Promise<ListKeysCommandOutput>;
277
- listKeys(args: ListKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListKeysCommandOutput>;
283
+ listKeys(args: ListKeysCommandInput, options?: KMSRequestOptions): Promise<ListKeysCommandOutput>;
278
284
  listKeys(args: ListKeysCommandInput, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
279
- listKeys(args: ListKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
285
+ listKeys(args: ListKeysCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
280
286
  /**
281
287
  * @see {@link ListResourceTagsCommand}
282
288
  */
283
- listResourceTags(args: ListResourceTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceTagsCommandOutput>;
289
+ listResourceTags(args: ListResourceTagsCommandInput, options?: KMSRequestOptions): Promise<ListResourceTagsCommandOutput>;
284
290
  listResourceTags(args: ListResourceTagsCommandInput, cb: (err: any, data?: ListResourceTagsCommandOutput) => void): void;
285
- listResourceTags(args: ListResourceTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceTagsCommandOutput) => void): void;
291
+ listResourceTags(args: ListResourceTagsCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListResourceTagsCommandOutput) => void): void;
286
292
  /**
287
293
  * @see {@link ListRetirableGrantsCommand}
288
294
  */
289
295
  listRetirableGrants(): Promise<ListRetirableGrantsCommandOutput>;
290
- listRetirableGrants(args: ListRetirableGrantsCommandInput, options?: __HttpHandlerOptions): Promise<ListRetirableGrantsCommandOutput>;
296
+ listRetirableGrants(args: ListRetirableGrantsCommandInput, options?: KMSRequestOptions): Promise<ListRetirableGrantsCommandOutput>;
291
297
  listRetirableGrants(args: ListRetirableGrantsCommandInput, cb: (err: any, data?: ListRetirableGrantsCommandOutput) => void): void;
292
- listRetirableGrants(args: ListRetirableGrantsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRetirableGrantsCommandOutput) => void): void;
298
+ listRetirableGrants(args: ListRetirableGrantsCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListRetirableGrantsCommandOutput) => void): void;
293
299
  /**
294
300
  * @see {@link PutKeyPolicyCommand}
295
301
  */
296
- putKeyPolicy(args: PutKeyPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutKeyPolicyCommandOutput>;
302
+ putKeyPolicy(args: PutKeyPolicyCommandInput, options?: KMSRequestOptions): Promise<PutKeyPolicyCommandOutput>;
297
303
  putKeyPolicy(args: PutKeyPolicyCommandInput, cb: (err: any, data?: PutKeyPolicyCommandOutput) => void): void;
298
- putKeyPolicy(args: PutKeyPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutKeyPolicyCommandOutput) => void): void;
304
+ putKeyPolicy(args: PutKeyPolicyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: PutKeyPolicyCommandOutput) => void): void;
299
305
  /**
300
306
  * @see {@link ReEncryptCommand}
301
307
  */
302
- reEncrypt(args: ReEncryptCommandInput, options?: __HttpHandlerOptions): Promise<ReEncryptCommandOutput>;
308
+ reEncrypt(args: ReEncryptCommandInput, options?: KMSRequestOptions): Promise<ReEncryptCommandOutput>;
303
309
  reEncrypt(args: ReEncryptCommandInput, cb: (err: any, data?: ReEncryptCommandOutput) => void): void;
304
- reEncrypt(args: ReEncryptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ReEncryptCommandOutput) => void): void;
310
+ reEncrypt(args: ReEncryptCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ReEncryptCommandOutput) => void): void;
305
311
  /**
306
312
  * @see {@link ReplicateKeyCommand}
307
313
  */
308
- replicateKey(args: ReplicateKeyCommandInput, options?: __HttpHandlerOptions): Promise<ReplicateKeyCommandOutput>;
314
+ replicateKey(args: ReplicateKeyCommandInput, options?: KMSRequestOptions): Promise<ReplicateKeyCommandOutput>;
309
315
  replicateKey(args: ReplicateKeyCommandInput, cb: (err: any, data?: ReplicateKeyCommandOutput) => void): void;
310
- replicateKey(args: ReplicateKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ReplicateKeyCommandOutput) => void): void;
316
+ replicateKey(args: ReplicateKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ReplicateKeyCommandOutput) => void): void;
311
317
  /**
312
318
  * @see {@link RetireGrantCommand}
313
319
  */
314
320
  retireGrant(): Promise<RetireGrantCommandOutput>;
315
- retireGrant(args: RetireGrantCommandInput, options?: __HttpHandlerOptions): Promise<RetireGrantCommandOutput>;
321
+ retireGrant(args: RetireGrantCommandInput, options?: KMSRequestOptions): Promise<RetireGrantCommandOutput>;
316
322
  retireGrant(args: RetireGrantCommandInput, cb: (err: any, data?: RetireGrantCommandOutput) => void): void;
317
- retireGrant(args: RetireGrantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetireGrantCommandOutput) => void): void;
323
+ retireGrant(args: RetireGrantCommandInput, options: KMSRequestOptions, cb: (err: any, data?: RetireGrantCommandOutput) => void): void;
318
324
  /**
319
325
  * @see {@link RevokeGrantCommand}
320
326
  */
321
- revokeGrant(args: RevokeGrantCommandInput, options?: __HttpHandlerOptions): Promise<RevokeGrantCommandOutput>;
327
+ revokeGrant(args: RevokeGrantCommandInput, options?: KMSRequestOptions): Promise<RevokeGrantCommandOutput>;
322
328
  revokeGrant(args: RevokeGrantCommandInput, cb: (err: any, data?: RevokeGrantCommandOutput) => void): void;
323
- revokeGrant(args: RevokeGrantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokeGrantCommandOutput) => void): void;
329
+ revokeGrant(args: RevokeGrantCommandInput, options: KMSRequestOptions, cb: (err: any, data?: RevokeGrantCommandOutput) => void): void;
324
330
  /**
325
331
  * @see {@link RotateKeyOnDemandCommand}
326
332
  */
327
- rotateKeyOnDemand(args: RotateKeyOnDemandCommandInput, options?: __HttpHandlerOptions): Promise<RotateKeyOnDemandCommandOutput>;
333
+ rotateKeyOnDemand(args: RotateKeyOnDemandCommandInput, options?: KMSRequestOptions): Promise<RotateKeyOnDemandCommandOutput>;
328
334
  rotateKeyOnDemand(args: RotateKeyOnDemandCommandInput, cb: (err: any, data?: RotateKeyOnDemandCommandOutput) => void): void;
329
- rotateKeyOnDemand(args: RotateKeyOnDemandCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RotateKeyOnDemandCommandOutput) => void): void;
335
+ rotateKeyOnDemand(args: RotateKeyOnDemandCommandInput, options: KMSRequestOptions, cb: (err: any, data?: RotateKeyOnDemandCommandOutput) => void): void;
330
336
  /**
331
337
  * @see {@link ScheduleKeyDeletionCommand}
332
338
  */
333
- scheduleKeyDeletion(args: ScheduleKeyDeletionCommandInput, options?: __HttpHandlerOptions): Promise<ScheduleKeyDeletionCommandOutput>;
339
+ scheduleKeyDeletion(args: ScheduleKeyDeletionCommandInput, options?: KMSRequestOptions): Promise<ScheduleKeyDeletionCommandOutput>;
334
340
  scheduleKeyDeletion(args: ScheduleKeyDeletionCommandInput, cb: (err: any, data?: ScheduleKeyDeletionCommandOutput) => void): void;
335
- scheduleKeyDeletion(args: ScheduleKeyDeletionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ScheduleKeyDeletionCommandOutput) => void): void;
341
+ scheduleKeyDeletion(args: ScheduleKeyDeletionCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ScheduleKeyDeletionCommandOutput) => void): void;
336
342
  /**
337
343
  * @see {@link SignCommand}
338
344
  */
339
- sign(args: SignCommandInput, options?: __HttpHandlerOptions): Promise<SignCommandOutput>;
345
+ sign(args: SignCommandInput, options?: KMSRequestOptions): Promise<SignCommandOutput>;
340
346
  sign(args: SignCommandInput, cb: (err: any, data?: SignCommandOutput) => void): void;
341
- sign(args: SignCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SignCommandOutput) => void): void;
347
+ sign(args: SignCommandInput, options: KMSRequestOptions, cb: (err: any, data?: SignCommandOutput) => void): void;
342
348
  /**
343
349
  * @see {@link TagResourceCommand}
344
350
  */
345
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
351
+ tagResource(args: TagResourceCommandInput, options?: KMSRequestOptions): Promise<TagResourceCommandOutput>;
346
352
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
347
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
353
+ tagResource(args: TagResourceCommandInput, options: KMSRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
348
354
  /**
349
355
  * @see {@link UntagResourceCommand}
350
356
  */
351
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
357
+ untagResource(args: UntagResourceCommandInput, options?: KMSRequestOptions): Promise<UntagResourceCommandOutput>;
352
358
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
353
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
359
+ untagResource(args: UntagResourceCommandInput, options: KMSRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
354
360
  /**
355
361
  * @see {@link UpdateAliasCommand}
356
362
  */
357
- updateAlias(args: UpdateAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAliasCommandOutput>;
363
+ updateAlias(args: UpdateAliasCommandInput, options?: KMSRequestOptions): Promise<UpdateAliasCommandOutput>;
358
364
  updateAlias(args: UpdateAliasCommandInput, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
359
- updateAlias(args: UpdateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
365
+ updateAlias(args: UpdateAliasCommandInput, options: KMSRequestOptions, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
360
366
  /**
361
367
  * @see {@link UpdateCustomKeyStoreCommand}
362
368
  */
363
- updateCustomKeyStore(args: UpdateCustomKeyStoreCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCustomKeyStoreCommandOutput>;
369
+ updateCustomKeyStore(args: UpdateCustomKeyStoreCommandInput, options?: KMSRequestOptions): Promise<UpdateCustomKeyStoreCommandOutput>;
364
370
  updateCustomKeyStore(args: UpdateCustomKeyStoreCommandInput, cb: (err: any, data?: UpdateCustomKeyStoreCommandOutput) => void): void;
365
- updateCustomKeyStore(args: UpdateCustomKeyStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCustomKeyStoreCommandOutput) => void): void;
371
+ updateCustomKeyStore(args: UpdateCustomKeyStoreCommandInput, options: KMSRequestOptions, cb: (err: any, data?: UpdateCustomKeyStoreCommandOutput) => void): void;
366
372
  /**
367
373
  * @see {@link UpdateKeyDescriptionCommand}
368
374
  */
369
- updateKeyDescription(args: UpdateKeyDescriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKeyDescriptionCommandOutput>;
375
+ updateKeyDescription(args: UpdateKeyDescriptionCommandInput, options?: KMSRequestOptions): Promise<UpdateKeyDescriptionCommandOutput>;
370
376
  updateKeyDescription(args: UpdateKeyDescriptionCommandInput, cb: (err: any, data?: UpdateKeyDescriptionCommandOutput) => void): void;
371
- updateKeyDescription(args: UpdateKeyDescriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKeyDescriptionCommandOutput) => void): void;
377
+ updateKeyDescription(args: UpdateKeyDescriptionCommandInput, options: KMSRequestOptions, cb: (err: any, data?: UpdateKeyDescriptionCommandOutput) => void): void;
372
378
  /**
373
379
  * @see {@link UpdatePrimaryRegionCommand}
374
380
  */
375
- updatePrimaryRegion(args: UpdatePrimaryRegionCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePrimaryRegionCommandOutput>;
381
+ updatePrimaryRegion(args: UpdatePrimaryRegionCommandInput, options?: KMSRequestOptions): Promise<UpdatePrimaryRegionCommandOutput>;
376
382
  updatePrimaryRegion(args: UpdatePrimaryRegionCommandInput, cb: (err: any, data?: UpdatePrimaryRegionCommandOutput) => void): void;
377
- updatePrimaryRegion(args: UpdatePrimaryRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePrimaryRegionCommandOutput) => void): void;
383
+ updatePrimaryRegion(args: UpdatePrimaryRegionCommandInput, options: KMSRequestOptions, cb: (err: any, data?: UpdatePrimaryRegionCommandOutput) => void): void;
378
384
  /**
379
385
  * @see {@link VerifyCommand}
380
386
  */
381
- verify(args: VerifyCommandInput, options?: __HttpHandlerOptions): Promise<VerifyCommandOutput>;
387
+ verify(args: VerifyCommandInput, options?: KMSRequestOptions): Promise<VerifyCommandOutput>;
382
388
  verify(args: VerifyCommandInput, cb: (err: any, data?: VerifyCommandOutput) => void): void;
383
- verify(args: VerifyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyCommandOutput) => void): void;
389
+ verify(args: VerifyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: VerifyCommandOutput) => void): void;
384
390
  /**
385
391
  * @see {@link VerifyMacCommand}
386
392
  */
387
- verifyMac(args: VerifyMacCommandInput, options?: __HttpHandlerOptions): Promise<VerifyMacCommandOutput>;
393
+ verifyMac(args: VerifyMacCommandInput, options?: KMSRequestOptions): Promise<VerifyMacCommandOutput>;
388
394
  verifyMac(args: VerifyMacCommandInput, cb: (err: any, data?: VerifyMacCommandOutput) => void): void;
389
- verifyMac(args: VerifyMacCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyMacCommandOutput) => void): void;
395
+ verifyMac(args: VerifyMacCommandInput, options: KMSRequestOptions, cb: (err: any, data?: VerifyMacCommandOutput) => void): void;
390
396
  /**
391
397
  * @see {@link DescribeCustomKeyStoresCommand}
392
398
  * @param args - command input.