@aws-sdk/client-kms 3.193.0 → 3.195.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/CHANGELOG.md +19 -0
- package/dist-cjs/KMSClient.js +11 -8
- package/dist-cjs/commands/CancelKeyDeletionCommand.js +10 -0
- package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +10 -0
- package/dist-cjs/commands/CreateAliasCommand.js +10 -0
- package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +10 -0
- package/dist-cjs/commands/CreateGrantCommand.js +10 -0
- package/dist-cjs/commands/CreateKeyCommand.js +10 -0
- package/dist-cjs/commands/DecryptCommand.js +10 -0
- package/dist-cjs/commands/DeleteAliasCommand.js +10 -0
- package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +10 -0
- package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +10 -0
- package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +10 -0
- package/dist-cjs/commands/DescribeKeyCommand.js +10 -0
- package/dist-cjs/commands/DisableKeyCommand.js +10 -0
- package/dist-cjs/commands/DisableKeyRotationCommand.js +10 -0
- package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +10 -0
- package/dist-cjs/commands/EnableKeyCommand.js +10 -0
- package/dist-cjs/commands/EnableKeyRotationCommand.js +10 -0
- package/dist-cjs/commands/EncryptCommand.js +10 -0
- package/dist-cjs/commands/GenerateDataKeyCommand.js +10 -0
- package/dist-cjs/commands/GenerateDataKeyPairCommand.js +10 -0
- package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +10 -0
- package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +10 -0
- package/dist-cjs/commands/GenerateMacCommand.js +10 -0
- package/dist-cjs/commands/GenerateRandomCommand.js +10 -0
- package/dist-cjs/commands/GetKeyPolicyCommand.js +10 -0
- package/dist-cjs/commands/GetKeyRotationStatusCommand.js +10 -0
- package/dist-cjs/commands/GetParametersForImportCommand.js +10 -0
- package/dist-cjs/commands/GetPublicKeyCommand.js +10 -0
- package/dist-cjs/commands/ImportKeyMaterialCommand.js +10 -0
- package/dist-cjs/commands/ListAliasesCommand.js +10 -0
- package/dist-cjs/commands/ListGrantsCommand.js +10 -0
- package/dist-cjs/commands/ListKeyPoliciesCommand.js +10 -0
- package/dist-cjs/commands/ListKeysCommand.js +10 -0
- package/dist-cjs/commands/ListResourceTagsCommand.js +10 -0
- package/dist-cjs/commands/ListRetirableGrantsCommand.js +10 -0
- package/dist-cjs/commands/PutKeyPolicyCommand.js +10 -0
- package/dist-cjs/commands/ReEncryptCommand.js +10 -0
- package/dist-cjs/commands/ReplicateKeyCommand.js +10 -0
- package/dist-cjs/commands/RetireGrantCommand.js +10 -0
- package/dist-cjs/commands/RevokeGrantCommand.js +10 -0
- package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +10 -0
- package/dist-cjs/commands/SignCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAliasCommand.js +10 -0
- package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +10 -0
- package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +10 -0
- package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +10 -0
- package/dist-cjs/commands/VerifyCommand.js +10 -0
- package/dist-cjs/commands/VerifyMacCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/KMSClient.js +12 -9
- package/dist-es/commands/CancelKeyDeletionCommand.js +10 -0
- package/dist-es/commands/ConnectCustomKeyStoreCommand.js +10 -0
- package/dist-es/commands/CreateAliasCommand.js +10 -0
- package/dist-es/commands/CreateCustomKeyStoreCommand.js +10 -0
- package/dist-es/commands/CreateGrantCommand.js +10 -0
- package/dist-es/commands/CreateKeyCommand.js +10 -0
- package/dist-es/commands/DecryptCommand.js +10 -0
- package/dist-es/commands/DeleteAliasCommand.js +10 -0
- package/dist-es/commands/DeleteCustomKeyStoreCommand.js +10 -0
- package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +10 -0
- package/dist-es/commands/DescribeCustomKeyStoresCommand.js +10 -0
- package/dist-es/commands/DescribeKeyCommand.js +10 -0
- package/dist-es/commands/DisableKeyCommand.js +10 -0
- package/dist-es/commands/DisableKeyRotationCommand.js +10 -0
- package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +10 -0
- package/dist-es/commands/EnableKeyCommand.js +10 -0
- package/dist-es/commands/EnableKeyRotationCommand.js +10 -0
- package/dist-es/commands/EncryptCommand.js +10 -0
- package/dist-es/commands/GenerateDataKeyCommand.js +10 -0
- package/dist-es/commands/GenerateDataKeyPairCommand.js +10 -0
- package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +10 -0
- package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +10 -0
- package/dist-es/commands/GenerateMacCommand.js +10 -0
- package/dist-es/commands/GenerateRandomCommand.js +10 -0
- package/dist-es/commands/GetKeyPolicyCommand.js +10 -0
- package/dist-es/commands/GetKeyRotationStatusCommand.js +10 -0
- package/dist-es/commands/GetParametersForImportCommand.js +10 -0
- package/dist-es/commands/GetPublicKeyCommand.js +10 -0
- package/dist-es/commands/ImportKeyMaterialCommand.js +10 -0
- package/dist-es/commands/ListAliasesCommand.js +10 -0
- package/dist-es/commands/ListGrantsCommand.js +10 -0
- package/dist-es/commands/ListKeyPoliciesCommand.js +10 -0
- package/dist-es/commands/ListKeysCommand.js +10 -0
- package/dist-es/commands/ListResourceTagsCommand.js +10 -0
- package/dist-es/commands/ListRetirableGrantsCommand.js +10 -0
- package/dist-es/commands/PutKeyPolicyCommand.js +10 -0
- package/dist-es/commands/ReEncryptCommand.js +10 -0
- package/dist-es/commands/ReplicateKeyCommand.js +10 -0
- package/dist-es/commands/RetireGrantCommand.js +10 -0
- package/dist-es/commands/RevokeGrantCommand.js +10 -0
- package/dist-es/commands/ScheduleKeyDeletionCommand.js +10 -0
- package/dist-es/commands/SignCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAliasCommand.js +10 -0
- package/dist-es/commands/UpdateCustomKeyStoreCommand.js +10 -0
- package/dist-es/commands/UpdateKeyDescriptionCommand.js +10 -0
- package/dist-es/commands/UpdatePrimaryRegionCommand.js +10 -0
- package/dist-es/commands/VerifyCommand.js +10 -0
- package/dist-es/commands/VerifyMacCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/KMSClient.d.ts +6 -9
- package/dist-types/commands/CancelKeyDeletionCommand.d.ts +2 -0
- package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +2 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +2 -0
- package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +2 -0
- package/dist-types/commands/CreateGrantCommand.d.ts +2 -0
- package/dist-types/commands/CreateKeyCommand.d.ts +2 -0
- package/dist-types/commands/DecryptCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +2 -0
- package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +2 -0
- package/dist-types/commands/DescribeKeyCommand.d.ts +2 -0
- package/dist-types/commands/DisableKeyCommand.d.ts +2 -0
- package/dist-types/commands/DisableKeyRotationCommand.d.ts +2 -0
- package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +2 -0
- package/dist-types/commands/EnableKeyCommand.d.ts +2 -0
- package/dist-types/commands/EnableKeyRotationCommand.d.ts +2 -0
- package/dist-types/commands/EncryptCommand.d.ts +2 -0
- package/dist-types/commands/GenerateDataKeyCommand.d.ts +2 -0
- package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +2 -0
- package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +2 -0
- package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +2 -0
- package/dist-types/commands/GenerateMacCommand.d.ts +2 -0
- package/dist-types/commands/GenerateRandomCommand.d.ts +2 -0
- package/dist-types/commands/GetKeyPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +2 -0
- package/dist-types/commands/GetParametersForImportCommand.d.ts +2 -0
- package/dist-types/commands/GetPublicKeyCommand.d.ts +2 -0
- package/dist-types/commands/ImportKeyMaterialCommand.d.ts +2 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +2 -0
- package/dist-types/commands/ListGrantsCommand.d.ts +2 -0
- package/dist-types/commands/ListKeyPoliciesCommand.d.ts +2 -0
- package/dist-types/commands/ListKeysCommand.d.ts +2 -0
- package/dist-types/commands/ListResourceTagsCommand.d.ts +2 -0
- package/dist-types/commands/ListRetirableGrantsCommand.d.ts +2 -0
- package/dist-types/commands/PutKeyPolicyCommand.d.ts +2 -0
- package/dist-types/commands/ReEncryptCommand.d.ts +2 -0
- package/dist-types/commands/ReplicateKeyCommand.d.ts +2 -0
- package/dist-types/commands/RetireGrantCommand.d.ts +2 -0
- package/dist-types/commands/RevokeGrantCommand.d.ts +2 -0
- package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +2 -0
- package/dist-types/commands/SignCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAliasCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +2 -0
- package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +2 -0
- package/dist-types/commands/VerifyCommand.d.ts +2 -0
- package/dist-types/commands/VerifyMacCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/KMSClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DecryptCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/EncryptCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SignCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/VerifyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/VerifyMacCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +4 -2
- package/dist-cjs/endpoints.js +0 -383
- package/dist-es/endpoints.js +0 -379
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListKeysRequestFilterSensitiveLog, ListKeysResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListKeysCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListKeysCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListResourceTagsRequestFilterSensitiveLog, ListResourceTagsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListResourceTagsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListResourceTagsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListGrantsResponseFilterSensitiveLog, ListRetirableGrantsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListRetirableGrantsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListRetirableGrantsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PutKeyPolicyRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class PutKeyPolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutKeyPolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ReEncryptRequestFilterSensitiveLog, ReEncryptResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ReEncryptCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ReEncryptCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ReplicateKeyRequestFilterSensitiveLog, ReplicateKeyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ReplicateKeyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ReplicateKeyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RetireGrantRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class RetireGrantCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RetireGrantCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RevokeGrantRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class RevokeGrantCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RevokeGrantCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ScheduleKeyDeletionRequestFilterSensitiveLog, ScheduleKeyDeletionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ScheduleKeyDeletionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ScheduleKeyDeletionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SignRequestFilterSensitiveLog, SignResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class SignCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, SignCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class TagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UntagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateAliasRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateAliasCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAliasCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateCustomKeyStoreRequestFilterSensitiveLog, UpdateCustomKeyStoreResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateCustomKeyStoreCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCustomKeyStoreCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateKeyDescriptionRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateKeyDescriptionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateKeyDescriptionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdatePrimaryRegionRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdatePrimaryRegionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePrimaryRegionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { VerifyRequestFilterSensitiveLog, VerifyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class VerifyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, VerifyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { VerifyMacRequestFilterSensitiveLog, VerifyMacResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class VerifyMacCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, VerifyMacCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KMSClient";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|