@aws-sdk/client-transfer 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/Transfer.js +0 -12
- package/dist-cjs/TransferClient.js +0 -17
- package/dist-cjs/commands/CreateAccessCommand.js +0 -30
- package/dist-cjs/commands/CreateServerCommand.js +0 -28
- package/dist-cjs/commands/CreateUserCommand.js +0 -31
- package/dist-cjs/commands/CreateWorkflowCommand.js +0 -28
- package/dist-cjs/commands/DeleteAccessCommand.js +0 -26
- package/dist-cjs/commands/DeleteServerCommand.js +0 -27
- package/dist-cjs/commands/DeleteSshPublicKeyCommand.js +0 -25
- package/dist-cjs/commands/DeleteUserCommand.js +0 -31
- package/dist-cjs/commands/DeleteWorkflowCommand.js +0 -25
- package/dist-cjs/commands/DescribeAccessCommand.js +0 -30
- package/dist-cjs/commands/DescribeExecutionCommand.js +0 -25
- package/dist-cjs/commands/DescribeSecurityPolicyCommand.js +0 -28
- package/dist-cjs/commands/DescribeServerCommand.js +0 -30
- package/dist-cjs/commands/DescribeUserCommand.js +0 -29
- package/dist-cjs/commands/DescribeWorkflowCommand.js +0 -25
- package/dist-cjs/commands/ImportSshPublicKeyCommand.js +0 -30
- package/dist-cjs/commands/ListAccessesCommand.js +0 -25
- package/dist-cjs/commands/ListExecutionsCommand.js +0 -25
- package/dist-cjs/commands/ListSecurityPoliciesCommand.js +0 -26
- package/dist-cjs/commands/ListServersCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/ListUsersCommand.js +0 -26
- package/dist-cjs/commands/ListWorkflowsCommand.js +0 -25
- package/dist-cjs/commands/SendWorkflowStepStateCommand.js +0 -29
- package/dist-cjs/commands/StartServerCommand.js +0 -33
- package/dist-cjs/commands/StopServerCommand.js +0 -39
- package/dist-cjs/commands/TagResourceCommand.js +0 -28
- package/dist-cjs/commands/TestIdentityProviderCommand.js +0 -63
- package/dist-cjs/commands/UntagResourceCommand.js +0 -28
- package/dist-cjs/commands/UpdateAccessCommand.js +0 -26
- package/dist-cjs/commands/UpdateServerCommand.js +0 -29
- package/dist-cjs/commands/UpdateUserCommand.js +0 -30
- package/dist-cjs/commands/index.js +35 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -43
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -304
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAccessesPaginator.js +0 -11
- package/dist-cjs/pagination/ListExecutionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListSecurityPoliciesPaginator.js +0 -11
- package/dist-cjs/pagination/ListServersPaginator.js +0 -11
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -11
- package/dist-cjs/pagination/ListUsersPaginator.js +0 -11
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Transfer.js +0 -1
- package/dist-es/TransferClient.js +0 -1
- package/dist-es/commands/CreateAccessCommand.js +0 -1
- package/dist-es/commands/CreateServerCommand.js +0 -1
- package/dist-es/commands/CreateUserCommand.js +0 -1
- package/dist-es/commands/CreateWorkflowCommand.js +0 -1
- package/dist-es/commands/DeleteAccessCommand.js +0 -1
- package/dist-es/commands/DeleteServerCommand.js +0 -1
- package/dist-es/commands/DeleteSshPublicKeyCommand.js +0 -1
- package/dist-es/commands/DeleteUserCommand.js +0 -1
- package/dist-es/commands/DeleteWorkflowCommand.js +0 -1
- package/dist-es/commands/DescribeAccessCommand.js +0 -1
- package/dist-es/commands/DescribeExecutionCommand.js +0 -1
- package/dist-es/commands/DescribeSecurityPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeServerCommand.js +0 -1
- package/dist-es/commands/DescribeUserCommand.js +0 -1
- package/dist-es/commands/DescribeWorkflowCommand.js +0 -1
- package/dist-es/commands/ImportSshPublicKeyCommand.js +0 -1
- package/dist-es/commands/ListAccessesCommand.js +0 -1
- package/dist-es/commands/ListExecutionsCommand.js +0 -1
- package/dist-es/commands/ListSecurityPoliciesCommand.js +0 -1
- package/dist-es/commands/ListServersCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListUsersCommand.js +0 -1
- package/dist-es/commands/ListWorkflowsCommand.js +0 -1
- package/dist-es/commands/SendWorkflowStepStateCommand.js +0 -1
- package/dist-es/commands/StartServerCommand.js +0 -1
- package/dist-es/commands/StopServerCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/TestIdentityProviderCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateAccessCommand.js +0 -1
- package/dist-es/commands/UpdateServerCommand.js +0 -1
- package/dist-es/commands/UpdateUserCommand.js +0 -1
- package/dist-es/commands/index.js +32 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -43
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAccessesPaginator.js +0 -1
- package/dist-es/pagination/ListExecutionsPaginator.js +0 -1
- package/dist-es/pagination/ListSecurityPoliciesPaginator.js +0 -1
- package/dist-es/pagination/ListServersPaginator.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/pagination/ListUsersPaginator.js +0 -1
- package/dist-es/pagination/ListWorkflowsPaginator.js +0 -1
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +32 -0
- package/dist-types/index.d.ts +4 -42
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/Transfer.d.ts +33 -239
- package/dist-types/ts3.4/TransferClient.d.ts +24 -97
- package/dist-types/ts3.4/commands/CreateAccessCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateServerCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteAccessCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteServerCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteSshPublicKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAccessCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeSecurityPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeServerCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeWorkflowCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ImportSshPublicKeyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListAccessesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListServersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SendWorkflowStepStateCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/StartServerCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/StopServerCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/TestIdentityProviderCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateAccessCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateServerCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/index.d.ts +32 -0
- package/dist-types/ts3.4/index.d.ts +4 -42
- package/dist-types/ts3.4/models/models_0.d.ts +451 -2421
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/Transfer.js.map +0 -1
- package/dist-cjs/TransferClient.js.map +0 -1
- package/dist-cjs/commands/CreateAccessCommand.js.map +0 -1
- package/dist-cjs/commands/CreateServerCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserCommand.js.map +0 -1
- package/dist-cjs/commands/CreateWorkflowCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAccessCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteServerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSshPublicKeyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteWorkflowCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccessCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeExecutionCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSecurityPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeServerCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUserCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkflowCommand.js.map +0 -1
- package/dist-cjs/commands/ImportSshPublicKeyCommand.js.map +0 -1
- package/dist-cjs/commands/ListAccessesCommand.js.map +0 -1
- package/dist-cjs/commands/ListExecutionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSecurityPoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/ListServersCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListUsersCommand.js.map +0 -1
- package/dist-cjs/commands/ListWorkflowsCommand.js.map +0 -1
- package/dist-cjs/commands/SendWorkflowStepStateCommand.js.map +0 -1
- package/dist-cjs/commands/StartServerCommand.js.map +0 -1
- package/dist-cjs/commands/StopServerCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/TestIdentityProviderCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAccessCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateServerCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateUserCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAccessesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListExecutionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSecurityPoliciesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListServersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUsersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListWorkflowsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Transfer.js.map +0 -1
- package/dist-es/TransferClient.js.map +0 -1
- package/dist-es/commands/CreateAccessCommand.js.map +0 -1
- package/dist-es/commands/CreateServerCommand.js.map +0 -1
- package/dist-es/commands/CreateUserCommand.js.map +0 -1
- package/dist-es/commands/CreateWorkflowCommand.js.map +0 -1
- package/dist-es/commands/DeleteAccessCommand.js.map +0 -1
- package/dist-es/commands/DeleteServerCommand.js.map +0 -1
- package/dist-es/commands/DeleteSshPublicKeyCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserCommand.js.map +0 -1
- package/dist-es/commands/DeleteWorkflowCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccessCommand.js.map +0 -1
- package/dist-es/commands/DescribeExecutionCommand.js.map +0 -1
- package/dist-es/commands/DescribeSecurityPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeServerCommand.js.map +0 -1
- package/dist-es/commands/DescribeUserCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkflowCommand.js.map +0 -1
- package/dist-es/commands/ImportSshPublicKeyCommand.js.map +0 -1
- package/dist-es/commands/ListAccessesCommand.js.map +0 -1
- package/dist-es/commands/ListExecutionsCommand.js.map +0 -1
- package/dist-es/commands/ListSecurityPoliciesCommand.js.map +0 -1
- package/dist-es/commands/ListServersCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListUsersCommand.js.map +0 -1
- package/dist-es/commands/ListWorkflowsCommand.js.map +0 -1
- package/dist-es/commands/SendWorkflowStepStateCommand.js.map +0 -1
- package/dist-es/commands/StartServerCommand.js.map +0 -1
- package/dist-es/commands/StopServerCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/TestIdentityProviderCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateAccessCommand.js.map +0 -1
- package/dist-es/commands/UpdateServerCommand.js.map +0 -1
- package/dist-es/commands/UpdateUserCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAccessesPaginator.js.map +0 -1
- package/dist-es/pagination/ListExecutionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListSecurityPoliciesPaginator.js.map +0 -1
- package/dist-es/pagination/ListServersPaginator.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/pagination/ListUsersPaginator.js.map +0 -1
- package/dist-es/pagination/ListWorkflowsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Transfer.ts +0 -1228
- package/src/TransferClient.ts +0 -355
- package/src/commands/CreateAccessCommand.ts +0 -100
- package/src/commands/CreateServerCommand.ts +0 -98
- package/src/commands/CreateUserCommand.ts +0 -101
- package/src/commands/CreateWorkflowCommand.ts +0 -98
- package/src/commands/DeleteAccessCommand.ts +0 -96
- package/src/commands/DeleteServerCommand.ts +0 -97
- package/src/commands/DeleteSshPublicKeyCommand.ts +0 -95
- package/src/commands/DeleteUserCommand.ts +0 -101
- package/src/commands/DeleteWorkflowCommand.ts +0 -95
- package/src/commands/DescribeAccessCommand.ts +0 -100
- package/src/commands/DescribeExecutionCommand.ts +0 -95
- package/src/commands/DescribeSecurityPolicyCommand.ts +0 -98
- package/src/commands/DescribeServerCommand.ts +0 -100
- package/src/commands/DescribeUserCommand.ts +0 -99
- package/src/commands/DescribeWorkflowCommand.ts +0 -95
- package/src/commands/ImportSshPublicKeyCommand.ts +0 -100
- package/src/commands/ListAccessesCommand.ts +0 -95
- package/src/commands/ListExecutionsCommand.ts +0 -95
- package/src/commands/ListSecurityPoliciesCommand.ts +0 -96
- package/src/commands/ListServersCommand.ts +0 -96
- package/src/commands/ListTagsForResourceCommand.ts +0 -96
- package/src/commands/ListUsersCommand.ts +0 -93
- package/src/commands/ListWorkflowsCommand.ts +0 -95
- package/src/commands/SendWorkflowStepStateCommand.ts +0 -99
- package/src/commands/StartServerCommand.ts +0 -103
- package/src/commands/StopServerCommand.ts +0 -109
- package/src/commands/TagResourceCommand.ts +0 -98
- package/src/commands/TestIdentityProviderCommand.ts +0 -133
- package/src/commands/UntagResourceCommand.ts +0 -98
- package/src/commands/UpdateAccessCommand.ts +0 -96
- package/src/commands/UpdateServerCommand.ts +0 -99
- package/src/commands/UpdateUserCommand.ts +0 -100
- package/src/endpoints.ts +0 -91
- package/src/index.ts +0 -43
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -3943
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAccessesPaginator.ts +0 -59
- package/src/pagination/ListExecutionsPaginator.ts +0 -59
- package/src/pagination/ListSecurityPoliciesPaginator.ts +0 -59
- package/src/pagination/ListServersPaginator.ts +0 -55
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/pagination/ListUsersPaginator.ts +0 -55
- package/src/pagination/ListWorkflowsPaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -5079
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { UpdateServerRequest, UpdateServerResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1UpdateServerCommand,
|
|
17
|
-
serializeAws_json1_1UpdateServerCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
20
|
-
|
|
21
|
-
export interface UpdateServerCommandInput extends UpdateServerRequest {}
|
|
22
|
-
export interface UpdateServerCommandOutput extends UpdateServerResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates the file transfer protocol-enabled server's properties after that server has
|
|
26
|
-
* been created.</p>
|
|
27
|
-
*
|
|
28
|
-
* <p>The <code>UpdateServer</code> call returns the <code>ServerId</code> of the server you
|
|
29
|
-
* updated.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { TransferClient, UpdateServerCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
34
|
-
* // const { TransferClient, UpdateServerCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
35
|
-
* const client = new TransferClient(config);
|
|
36
|
-
* const command = new UpdateServerCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link UpdateServerCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link UpdateServerCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class UpdateServerCommand extends $Command<
|
|
46
|
-
UpdateServerCommandInput,
|
|
47
|
-
UpdateServerCommandOutput,
|
|
48
|
-
TransferClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: UpdateServerCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: TransferClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<UpdateServerCommandInput, UpdateServerCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "TransferClient";
|
|
73
|
-
const commandName = "UpdateServerCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: UpdateServerRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: UpdateServerResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: UpdateServerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1UpdateServerCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateServerCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1UpdateServerCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { UpdateUserRequest, UpdateUserResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1UpdateUserCommand,
|
|
17
|
-
serializeAws_json1_1UpdateUserCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
20
|
-
|
|
21
|
-
export interface UpdateUserCommandInput extends UpdateUserRequest {}
|
|
22
|
-
export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Assigns new properties to a user. Parameters you pass modify any or all of the following:
|
|
26
|
-
* the home directory, role, and policy for the <code>UserName</code> and <code>ServerId</code>
|
|
27
|
-
* you specify.</p>
|
|
28
|
-
*
|
|
29
|
-
* <p>The response returns the <code>ServerId</code> and the <code>UserName</code> for the
|
|
30
|
-
* updated user.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { TransferClient, UpdateUserCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
35
|
-
* // const { TransferClient, UpdateUserCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
36
|
-
* const client = new TransferClient(config);
|
|
37
|
-
* const command = new UpdateUserCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link UpdateUserCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link UpdateUserCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class UpdateUserCommand extends $Command<
|
|
47
|
-
UpdateUserCommandInput,
|
|
48
|
-
UpdateUserCommandOutput,
|
|
49
|
-
TransferClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: UpdateUserCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: TransferClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<UpdateUserCommandInput, UpdateUserCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "TransferClient";
|
|
74
|
-
const commandName = "UpdateUserCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: UpdateUserRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: UpdateUserResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: UpdateUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1UpdateUserCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateUserCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1UpdateUserCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
package/src/endpoints.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
3
|
-
|
|
4
|
-
const regionHash: RegionHash = {
|
|
5
|
-
"fips-ca-central-1": {
|
|
6
|
-
hostname: "transfer-fips.ca-central-1.amazonaws.com",
|
|
7
|
-
signingRegion: "ca-central-1",
|
|
8
|
-
},
|
|
9
|
-
"fips-us-east-1": {
|
|
10
|
-
hostname: "transfer-fips.us-east-1.amazonaws.com",
|
|
11
|
-
signingRegion: "us-east-1",
|
|
12
|
-
},
|
|
13
|
-
"fips-us-east-2": {
|
|
14
|
-
hostname: "transfer-fips.us-east-2.amazonaws.com",
|
|
15
|
-
signingRegion: "us-east-2",
|
|
16
|
-
},
|
|
17
|
-
"fips-us-gov-east-1": {
|
|
18
|
-
hostname: "transfer-fips.us-gov-east-1.amazonaws.com",
|
|
19
|
-
signingRegion: "us-gov-east-1",
|
|
20
|
-
},
|
|
21
|
-
"fips-us-gov-west-1": {
|
|
22
|
-
hostname: "transfer-fips.us-gov-west-1.amazonaws.com",
|
|
23
|
-
signingRegion: "us-gov-west-1",
|
|
24
|
-
},
|
|
25
|
-
"fips-us-west-1": {
|
|
26
|
-
hostname: "transfer-fips.us-west-1.amazonaws.com",
|
|
27
|
-
signingRegion: "us-west-1",
|
|
28
|
-
},
|
|
29
|
-
"fips-us-west-2": {
|
|
30
|
-
hostname: "transfer-fips.us-west-2.amazonaws.com",
|
|
31
|
-
signingRegion: "us-west-2",
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
const partitionHash: PartitionHash = {
|
|
36
|
-
aws: {
|
|
37
|
-
regions: [
|
|
38
|
-
"af-south-1",
|
|
39
|
-
"ap-east-1",
|
|
40
|
-
"ap-northeast-1",
|
|
41
|
-
"ap-northeast-2",
|
|
42
|
-
"ap-northeast-3",
|
|
43
|
-
"ap-south-1",
|
|
44
|
-
"ap-southeast-1",
|
|
45
|
-
"ap-southeast-2",
|
|
46
|
-
"ca-central-1",
|
|
47
|
-
"eu-central-1",
|
|
48
|
-
"eu-north-1",
|
|
49
|
-
"eu-south-1",
|
|
50
|
-
"eu-west-1",
|
|
51
|
-
"eu-west-2",
|
|
52
|
-
"eu-west-3",
|
|
53
|
-
"fips-ca-central-1",
|
|
54
|
-
"fips-us-east-1",
|
|
55
|
-
"fips-us-east-2",
|
|
56
|
-
"fips-us-west-1",
|
|
57
|
-
"fips-us-west-2",
|
|
58
|
-
"me-south-1",
|
|
59
|
-
"sa-east-1",
|
|
60
|
-
"us-east-1",
|
|
61
|
-
"us-east-2",
|
|
62
|
-
"us-west-1",
|
|
63
|
-
"us-west-2",
|
|
64
|
-
],
|
|
65
|
-
hostname: "transfer.{region}.amazonaws.com",
|
|
66
|
-
},
|
|
67
|
-
"aws-cn": {
|
|
68
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
69
|
-
hostname: "transfer.{region}.amazonaws.com.cn",
|
|
70
|
-
},
|
|
71
|
-
"aws-iso": {
|
|
72
|
-
regions: ["us-iso-east-1"],
|
|
73
|
-
hostname: "transfer.{region}.c2s.ic.gov",
|
|
74
|
-
},
|
|
75
|
-
"aws-iso-b": {
|
|
76
|
-
regions: ["us-isob-east-1"],
|
|
77
|
-
hostname: "transfer.{region}.sc2s.sgov.gov",
|
|
78
|
-
},
|
|
79
|
-
"aws-us-gov": {
|
|
80
|
-
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
81
|
-
hostname: "transfer.{region}.amazonaws.com",
|
|
82
|
-
},
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
|
|
86
|
-
getRegionInfo(region, {
|
|
87
|
-
...options,
|
|
88
|
-
signingService: "transfer",
|
|
89
|
-
regionHash,
|
|
90
|
-
partitionHash,
|
|
91
|
-
});
|
package/src/index.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export * from "./TransferClient";
|
|
2
|
-
export * from "./Transfer";
|
|
3
|
-
export * from "./commands/CreateAccessCommand";
|
|
4
|
-
export * from "./commands/CreateServerCommand";
|
|
5
|
-
export * from "./commands/CreateUserCommand";
|
|
6
|
-
export * from "./commands/CreateWorkflowCommand";
|
|
7
|
-
export * from "./commands/DeleteAccessCommand";
|
|
8
|
-
export * from "./commands/DeleteServerCommand";
|
|
9
|
-
export * from "./commands/DeleteSshPublicKeyCommand";
|
|
10
|
-
export * from "./commands/DeleteUserCommand";
|
|
11
|
-
export * from "./commands/DeleteWorkflowCommand";
|
|
12
|
-
export * from "./commands/DescribeAccessCommand";
|
|
13
|
-
export * from "./commands/DescribeExecutionCommand";
|
|
14
|
-
export * from "./commands/DescribeSecurityPolicyCommand";
|
|
15
|
-
export * from "./commands/DescribeServerCommand";
|
|
16
|
-
export * from "./commands/DescribeUserCommand";
|
|
17
|
-
export * from "./commands/DescribeWorkflowCommand";
|
|
18
|
-
export * from "./commands/ImportSshPublicKeyCommand";
|
|
19
|
-
export * from "./commands/ListAccessesCommand";
|
|
20
|
-
export * from "./pagination/ListAccessesPaginator";
|
|
21
|
-
export * from "./commands/ListExecutionsCommand";
|
|
22
|
-
export * from "./pagination/ListExecutionsPaginator";
|
|
23
|
-
export * from "./commands/ListSecurityPoliciesCommand";
|
|
24
|
-
export * from "./pagination/ListSecurityPoliciesPaginator";
|
|
25
|
-
export * from "./commands/ListServersCommand";
|
|
26
|
-
export * from "./pagination/ListServersPaginator";
|
|
27
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
28
|
-
export * from "./pagination/ListTagsForResourcePaginator";
|
|
29
|
-
export * from "./commands/ListUsersCommand";
|
|
30
|
-
export * from "./pagination/ListUsersPaginator";
|
|
31
|
-
export * from "./commands/ListWorkflowsCommand";
|
|
32
|
-
export * from "./pagination/ListWorkflowsPaginator";
|
|
33
|
-
export * from "./commands/SendWorkflowStepStateCommand";
|
|
34
|
-
export * from "./commands/StartServerCommand";
|
|
35
|
-
export * from "./commands/StopServerCommand";
|
|
36
|
-
export * from "./commands/TagResourceCommand";
|
|
37
|
-
export * from "./commands/TestIdentityProviderCommand";
|
|
38
|
-
export * from "./commands/UntagResourceCommand";
|
|
39
|
-
export * from "./commands/UpdateAccessCommand";
|
|
40
|
-
export * from "./commands/UpdateServerCommand";
|
|
41
|
-
export * from "./commands/UpdateUserCommand";
|
|
42
|
-
export * from "./pagination/Interfaces";
|
|
43
|
-
export * from "./models/index";
|
package/src/models/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|