@aws-sdk/client-transfer 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/TransferClient.js +11 -8
- package/dist-cjs/commands/CreateAccessCommand.js +10 -0
- package/dist-cjs/commands/CreateAgreementCommand.js +10 -0
- package/dist-cjs/commands/CreateConnectorCommand.js +10 -0
- package/dist-cjs/commands/CreateProfileCommand.js +10 -0
- package/dist-cjs/commands/CreateServerCommand.js +10 -0
- package/dist-cjs/commands/CreateUserCommand.js +10 -0
- package/dist-cjs/commands/CreateWorkflowCommand.js +10 -0
- package/dist-cjs/commands/DeleteAccessCommand.js +10 -0
- package/dist-cjs/commands/DeleteAgreementCommand.js +10 -0
- package/dist-cjs/commands/DeleteCertificateCommand.js +10 -0
- package/dist-cjs/commands/DeleteConnectorCommand.js +10 -0
- package/dist-cjs/commands/DeleteHostKeyCommand.js +10 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +10 -0
- package/dist-cjs/commands/DeleteServerCommand.js +10 -0
- package/dist-cjs/commands/DeleteSshPublicKeyCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserCommand.js +10 -0
- package/dist-cjs/commands/DeleteWorkflowCommand.js +10 -0
- package/dist-cjs/commands/DescribeAccessCommand.js +10 -0
- package/dist-cjs/commands/DescribeAgreementCommand.js +10 -0
- package/dist-cjs/commands/DescribeCertificateCommand.js +10 -0
- package/dist-cjs/commands/DescribeConnectorCommand.js +10 -0
- package/dist-cjs/commands/DescribeExecutionCommand.js +10 -0
- package/dist-cjs/commands/DescribeHostKeyCommand.js +10 -0
- package/dist-cjs/commands/DescribeProfileCommand.js +10 -0
- package/dist-cjs/commands/DescribeSecurityPolicyCommand.js +10 -0
- package/dist-cjs/commands/DescribeServerCommand.js +10 -0
- package/dist-cjs/commands/DescribeUserCommand.js +10 -0
- package/dist-cjs/commands/DescribeWorkflowCommand.js +10 -0
- package/dist-cjs/commands/ImportCertificateCommand.js +10 -0
- package/dist-cjs/commands/ImportHostKeyCommand.js +10 -0
- package/dist-cjs/commands/ImportSshPublicKeyCommand.js +10 -0
- package/dist-cjs/commands/ListAccessesCommand.js +10 -0
- package/dist-cjs/commands/ListAgreementsCommand.js +10 -0
- package/dist-cjs/commands/ListCertificatesCommand.js +10 -0
- package/dist-cjs/commands/ListConnectorsCommand.js +10 -0
- package/dist-cjs/commands/ListExecutionsCommand.js +10 -0
- package/dist-cjs/commands/ListHostKeysCommand.js +10 -0
- package/dist-cjs/commands/ListProfilesCommand.js +10 -0
- package/dist-cjs/commands/ListSecurityPoliciesCommand.js +10 -0
- package/dist-cjs/commands/ListServersCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListUsersCommand.js +10 -0
- package/dist-cjs/commands/ListWorkflowsCommand.js +10 -0
- package/dist-cjs/commands/SendWorkflowStepStateCommand.js +10 -0
- package/dist-cjs/commands/StartFileTransferCommand.js +10 -0
- package/dist-cjs/commands/StartServerCommand.js +10 -0
- package/dist-cjs/commands/StopServerCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/TestIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAccessCommand.js +10 -0
- package/dist-cjs/commands/UpdateAgreementCommand.js +10 -0
- package/dist-cjs/commands/UpdateCertificateCommand.js +10 -0
- package/dist-cjs/commands/UpdateConnectorCommand.js +10 -0
- package/dist-cjs/commands/UpdateHostKeyCommand.js +10 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +10 -0
- package/dist-cjs/commands/UpdateServerCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserCommand.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/TransferClient.js +12 -9
- package/dist-es/commands/CreateAccessCommand.js +10 -0
- package/dist-es/commands/CreateAgreementCommand.js +10 -0
- package/dist-es/commands/CreateConnectorCommand.js +10 -0
- package/dist-es/commands/CreateProfileCommand.js +10 -0
- package/dist-es/commands/CreateServerCommand.js +10 -0
- package/dist-es/commands/CreateUserCommand.js +10 -0
- package/dist-es/commands/CreateWorkflowCommand.js +10 -0
- package/dist-es/commands/DeleteAccessCommand.js +10 -0
- package/dist-es/commands/DeleteAgreementCommand.js +10 -0
- package/dist-es/commands/DeleteCertificateCommand.js +10 -0
- package/dist-es/commands/DeleteConnectorCommand.js +10 -0
- package/dist-es/commands/DeleteHostKeyCommand.js +10 -0
- package/dist-es/commands/DeleteProfileCommand.js +10 -0
- package/dist-es/commands/DeleteServerCommand.js +10 -0
- package/dist-es/commands/DeleteSshPublicKeyCommand.js +10 -0
- package/dist-es/commands/DeleteUserCommand.js +10 -0
- package/dist-es/commands/DeleteWorkflowCommand.js +10 -0
- package/dist-es/commands/DescribeAccessCommand.js +10 -0
- package/dist-es/commands/DescribeAgreementCommand.js +10 -0
- package/dist-es/commands/DescribeCertificateCommand.js +10 -0
- package/dist-es/commands/DescribeConnectorCommand.js +10 -0
- package/dist-es/commands/DescribeExecutionCommand.js +10 -0
- package/dist-es/commands/DescribeHostKeyCommand.js +10 -0
- package/dist-es/commands/DescribeProfileCommand.js +10 -0
- package/dist-es/commands/DescribeSecurityPolicyCommand.js +10 -0
- package/dist-es/commands/DescribeServerCommand.js +10 -0
- package/dist-es/commands/DescribeUserCommand.js +10 -0
- package/dist-es/commands/DescribeWorkflowCommand.js +10 -0
- package/dist-es/commands/ImportCertificateCommand.js +10 -0
- package/dist-es/commands/ImportHostKeyCommand.js +10 -0
- package/dist-es/commands/ImportSshPublicKeyCommand.js +10 -0
- package/dist-es/commands/ListAccessesCommand.js +10 -0
- package/dist-es/commands/ListAgreementsCommand.js +10 -0
- package/dist-es/commands/ListCertificatesCommand.js +10 -0
- package/dist-es/commands/ListConnectorsCommand.js +10 -0
- package/dist-es/commands/ListExecutionsCommand.js +10 -0
- package/dist-es/commands/ListHostKeysCommand.js +10 -0
- package/dist-es/commands/ListProfilesCommand.js +10 -0
- package/dist-es/commands/ListSecurityPoliciesCommand.js +10 -0
- package/dist-es/commands/ListServersCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListUsersCommand.js +10 -0
- package/dist-es/commands/ListWorkflowsCommand.js +10 -0
- package/dist-es/commands/SendWorkflowStepStateCommand.js +10 -0
- package/dist-es/commands/StartFileTransferCommand.js +10 -0
- package/dist-es/commands/StartServerCommand.js +10 -0
- package/dist-es/commands/StopServerCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/TestIdentityProviderCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAccessCommand.js +10 -0
- package/dist-es/commands/UpdateAgreementCommand.js +10 -0
- package/dist-es/commands/UpdateCertificateCommand.js +10 -0
- package/dist-es/commands/UpdateConnectorCommand.js +10 -0
- package/dist-es/commands/UpdateHostKeyCommand.js +10 -0
- package/dist-es/commands/UpdateProfileCommand.js +10 -0
- package/dist-es/commands/UpdateServerCommand.js +10 -0
- package/dist-es/commands/UpdateUserCommand.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/TransferClient.d.ts +6 -9
- package/dist-types/commands/CreateAccessCommand.d.ts +2 -0
- package/dist-types/commands/CreateAgreementCommand.d.ts +2 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +2 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +2 -0
- package/dist-types/commands/CreateServerCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserCommand.d.ts +2 -0
- package/dist-types/commands/CreateWorkflowCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAccessCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAgreementCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteHostKeyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +2 -0
- package/dist-types/commands/DeleteServerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSshPublicKeyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -0
- package/dist-types/commands/DeleteWorkflowCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAccessCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAgreementCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCertificateCommand.d.ts +2 -0
- package/dist-types/commands/DescribeConnectorCommand.d.ts +2 -0
- package/dist-types/commands/DescribeExecutionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeHostKeyCommand.d.ts +2 -0
- package/dist-types/commands/DescribeProfileCommand.d.ts +2 -0
- package/dist-types/commands/DescribeSecurityPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DescribeServerCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +2 -0
- package/dist-types/commands/DescribeWorkflowCommand.d.ts +2 -0
- package/dist-types/commands/ImportCertificateCommand.d.ts +2 -0
- package/dist-types/commands/ImportHostKeyCommand.d.ts +2 -0
- package/dist-types/commands/ImportSshPublicKeyCommand.d.ts +2 -0
- package/dist-types/commands/ListAccessesCommand.d.ts +2 -0
- package/dist-types/commands/ListAgreementsCommand.d.ts +2 -0
- package/dist-types/commands/ListCertificatesCommand.d.ts +2 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +2 -0
- package/dist-types/commands/ListExecutionsCommand.d.ts +2 -0
- package/dist-types/commands/ListHostKeysCommand.d.ts +2 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +2 -0
- package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +2 -0
- package/dist-types/commands/ListServersCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListUsersCommand.d.ts +2 -0
- package/dist-types/commands/ListWorkflowsCommand.d.ts +2 -0
- package/dist-types/commands/SendWorkflowStepStateCommand.d.ts +2 -0
- package/dist-types/commands/StartFileTransferCommand.d.ts +2 -0
- package/dist-types/commands/StartServerCommand.d.ts +2 -0
- package/dist-types/commands/StopServerCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/TestIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAccessCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAgreementCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCertificateCommand.d.ts +2 -0
- package/dist-types/commands/UpdateConnectorCommand.d.ts +2 -0
- package/dist-types/commands/UpdateHostKeyCommand.d.ts +2 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServerCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserCommand.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/TransferClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CreateAccessCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAgreementCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAccessCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAgreementCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteHostKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSshPublicKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAccessCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAgreementCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeConnectorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeHostKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeSecurityPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeWorkflowCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportHostKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportSshPublicKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccessesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAgreementsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListHostKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListServersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SendWorkflowStepStateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartFileTransferCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TestIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAccessCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAgreementCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateHostKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserCommand.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 -194
- package/dist-es/endpoints.js +0 -190
- 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 { ListServersRequestFilterSensitiveLog, ListServersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListServersCommand 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, ListServersCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListTagsForResourceCommand 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, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { ListUsersRequestFilterSensitiveLog, ListUsersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListUsersCommand 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, ListUsersCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { ListWorkflowsRequestFilterSensitiveLog, ListWorkflowsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListWorkflowsCommand 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, ListWorkflowsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { SendWorkflowStepStateRequestFilterSensitiveLog, SendWorkflowStepStateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class SendWorkflowStepStateCommand 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, SendWorkflowStepStateCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { StartFileTransferRequestFilterSensitiveLog, StartFileTransferResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartFileTransferCommand 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, StartFileTransferCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { StartServerRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartServerCommand 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, StartServerCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { StopServerRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StopServerCommand 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, StopServerCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 = "TransferClient";
|
|
@@ -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 { TestIdentityProviderRequestFilterSensitiveLog, TestIdentityProviderResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class TestIdentityProviderCommand 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, TestIdentityProviderCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 = "TransferClient";
|
|
@@ -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 { UpdateAccessRequestFilterSensitiveLog, UpdateAccessResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateAccessCommand 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, UpdateAccessCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { UpdateAgreementRequestFilterSensitiveLog, UpdateAgreementResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateAgreementCommand 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, UpdateAgreementCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { UpdateCertificateRequestFilterSensitiveLog, UpdateCertificateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateCertificateCommand 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, UpdateCertificateCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { UpdateConnectorRequestFilterSensitiveLog, UpdateConnectorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateConnectorCommand 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, UpdateConnectorCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { UpdateHostKeyRequestFilterSensitiveLog, UpdateHostKeyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateHostKeyCommand 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, UpdateHostKeyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { UpdateProfileRequestFilterSensitiveLog, UpdateProfileResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateProfileCommand 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, UpdateProfileCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { UpdateServerRequestFilterSensitiveLog, UpdateServerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateServerCommand 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, UpdateServerCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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 { UpdateUserRequestFilterSensitiveLog, UpdateUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateUserCommand 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, UpdateUserCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "TransferClient";
|
|
@@ -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
|
+
};
|