@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,95 +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 { ListExecutionsRequest, ListExecutionsResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1ListExecutionsCommand,
|
|
17
|
-
serializeAws_json1_1ListExecutionsCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
20
|
-
|
|
21
|
-
export interface ListExecutionsCommandInput extends ListExecutionsRequest {}
|
|
22
|
-
export interface ListExecutionsCommandOutput extends ListExecutionsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists all executions for the specified workflow.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { TransferClient, ListExecutionsCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
30
|
-
* // const { TransferClient, ListExecutionsCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
31
|
-
* const client = new TransferClient(config);
|
|
32
|
-
* const command = new ListExecutionsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListExecutionsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListExecutionsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListExecutionsCommand extends $Command<
|
|
42
|
-
ListExecutionsCommandInput,
|
|
43
|
-
ListExecutionsCommandOutput,
|
|
44
|
-
TransferClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListExecutionsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: TransferClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListExecutionsCommandInput, ListExecutionsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "TransferClient";
|
|
69
|
-
const commandName = "ListExecutionsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListExecutionsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListExecutionsResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListExecutionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1ListExecutionsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListExecutionsCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1ListExecutionsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,96 +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 { ListSecurityPoliciesRequest, ListSecurityPoliciesResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1ListSecurityPoliciesCommand,
|
|
17
|
-
serializeAws_json1_1ListSecurityPoliciesCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
20
|
-
|
|
21
|
-
export interface ListSecurityPoliciesCommandInput extends ListSecurityPoliciesRequest {}
|
|
22
|
-
export interface ListSecurityPoliciesCommandOutput extends ListSecurityPoliciesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists the security policies that are attached to your file transfer protocol-enabled
|
|
26
|
-
* servers.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { TransferClient, ListSecurityPoliciesCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
31
|
-
* // const { TransferClient, ListSecurityPoliciesCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
32
|
-
* const client = new TransferClient(config);
|
|
33
|
-
* const command = new ListSecurityPoliciesCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListSecurityPoliciesCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListSecurityPoliciesCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListSecurityPoliciesCommand extends $Command<
|
|
43
|
-
ListSecurityPoliciesCommandInput,
|
|
44
|
-
ListSecurityPoliciesCommandOutput,
|
|
45
|
-
TransferClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListSecurityPoliciesCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: TransferClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "TransferClient";
|
|
70
|
-
const commandName = "ListSecurityPoliciesCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListSecurityPoliciesRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListSecurityPoliciesResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListSecurityPoliciesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1ListSecurityPoliciesCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListSecurityPoliciesCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1ListSecurityPoliciesCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,96 +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 { ListServersRequest, ListServersResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1ListServersCommand,
|
|
17
|
-
serializeAws_json1_1ListServersCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
20
|
-
|
|
21
|
-
export interface ListServersCommandInput extends ListServersRequest {}
|
|
22
|
-
export interface ListServersCommandOutput extends ListServersResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services
|
|
26
|
-
* account.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { TransferClient, ListServersCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
31
|
-
* // const { TransferClient, ListServersCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
32
|
-
* const client = new TransferClient(config);
|
|
33
|
-
* const command = new ListServersCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListServersCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListServersCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListServersCommand extends $Command<
|
|
43
|
-
ListServersCommandInput,
|
|
44
|
-
ListServersCommandOutput,
|
|
45
|
-
TransferClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListServersCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: TransferClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListServersCommandInput, ListServersCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "TransferClient";
|
|
70
|
-
const commandName = "ListServersCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListServersRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListServersResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListServersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1ListServersCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListServersCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1ListServersCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,96 +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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1ListTagsForResourceCommand,
|
|
17
|
-
serializeAws_json1_1ListTagsForResourceCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
20
|
-
|
|
21
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
22
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The
|
|
26
|
-
* resource can be a user, server, or role.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { TransferClient, ListTagsForResourceCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
31
|
-
* // const { TransferClient, ListTagsForResourceCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
32
|
-
* const client = new TransferClient(config);
|
|
33
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
43
|
-
ListTagsForResourceCommandInput,
|
|
44
|
-
ListTagsForResourceCommandOutput,
|
|
45
|
-
TransferClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: TransferClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "TransferClient";
|
|
70
|
-
const commandName = "ListTagsForResourceCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1ListTagsForResourceCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,93 +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 { ListUsersRequest, ListUsersResponse } from "../models/models_0";
|
|
15
|
-
import { deserializeAws_json1_1ListUsersCommand, serializeAws_json1_1ListUsersCommand } from "../protocols/Aws_json1_1";
|
|
16
|
-
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
17
|
-
|
|
18
|
-
export interface ListUsersCommandInput extends ListUsersRequest {}
|
|
19
|
-
export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* <p>Lists the users for a file transfer protocol-enabled server that you specify by passing
|
|
23
|
-
* the <code>ServerId</code> parameter.</p>
|
|
24
|
-
* @example
|
|
25
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
-
* ```javascript
|
|
27
|
-
* import { TransferClient, ListUsersCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
28
|
-
* // const { TransferClient, ListUsersCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
29
|
-
* const client = new TransferClient(config);
|
|
30
|
-
* const command = new ListUsersCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link ListUsersCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link ListUsersCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
|
-
export class ListUsersCommand extends $Command<
|
|
40
|
-
ListUsersCommandInput,
|
|
41
|
-
ListUsersCommandOutput,
|
|
42
|
-
TransferClientResolvedConfig
|
|
43
|
-
> {
|
|
44
|
-
// Start section: command_properties
|
|
45
|
-
// End section: command_properties
|
|
46
|
-
|
|
47
|
-
constructor(readonly input: ListUsersCommandInput) {
|
|
48
|
-
// Start section: command_constructor
|
|
49
|
-
super();
|
|
50
|
-
// End section: command_constructor
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
56
|
-
resolveMiddleware(
|
|
57
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
58
|
-
configuration: TransferClientResolvedConfig,
|
|
59
|
-
options?: __HttpHandlerOptions
|
|
60
|
-
): Handler<ListUsersCommandInput, ListUsersCommandOutput> {
|
|
61
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
62
|
-
|
|
63
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
64
|
-
|
|
65
|
-
const { logger } = configuration;
|
|
66
|
-
const clientName = "TransferClient";
|
|
67
|
-
const commandName = "ListUsersCommand";
|
|
68
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
69
|
-
logger,
|
|
70
|
-
clientName,
|
|
71
|
-
commandName,
|
|
72
|
-
inputFilterSensitiveLog: ListUsersRequest.filterSensitiveLog,
|
|
73
|
-
outputFilterSensitiveLog: ListUsersResponse.filterSensitiveLog,
|
|
74
|
-
};
|
|
75
|
-
const { requestHandler } = configuration;
|
|
76
|
-
return stack.resolve(
|
|
77
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
78
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
79
|
-
handlerExecutionContext
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
private serialize(input: ListUsersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
84
|
-
return serializeAws_json1_1ListUsersCommand(input, context);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListUsersCommandOutput> {
|
|
88
|
-
return deserializeAws_json1_1ListUsersCommand(output, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// Start section: command_body_extra
|
|
92
|
-
// End section: command_body_extra
|
|
93
|
-
}
|
|
@@ -1,95 +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 { ListWorkflowsRequest, ListWorkflowsResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1ListWorkflowsCommand,
|
|
17
|
-
serializeAws_json1_1ListWorkflowsCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
20
|
-
|
|
21
|
-
export interface ListWorkflowsCommandInput extends ListWorkflowsRequest {}
|
|
22
|
-
export interface ListWorkflowsCommandOutput extends ListWorkflowsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists all of your workflows.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { TransferClient, ListWorkflowsCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
30
|
-
* // const { TransferClient, ListWorkflowsCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
31
|
-
* const client = new TransferClient(config);
|
|
32
|
-
* const command = new ListWorkflowsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListWorkflowsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListWorkflowsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListWorkflowsCommand extends $Command<
|
|
42
|
-
ListWorkflowsCommandInput,
|
|
43
|
-
ListWorkflowsCommandOutput,
|
|
44
|
-
TransferClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListWorkflowsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: TransferClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListWorkflowsCommandInput, ListWorkflowsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "TransferClient";
|
|
69
|
-
const commandName = "ListWorkflowsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListWorkflowsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListWorkflowsResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListWorkflowsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1ListWorkflowsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListWorkflowsCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1ListWorkflowsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -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 { SendWorkflowStepStateRequest, SendWorkflowStepStateResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1SendWorkflowStepStateCommand,
|
|
17
|
-
serializeAws_json1_1SendWorkflowStepStateCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
20
|
-
|
|
21
|
-
export interface SendWorkflowStepStateCommandInput extends SendWorkflowStepStateRequest {}
|
|
22
|
-
export interface SendWorkflowStepStateCommandOutput extends SendWorkflowStepStateResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Sends a callback for asynchronous custom steps.</p>
|
|
26
|
-
* <p>
|
|
27
|
-
* The <code>ExecutionId</code>, <code>WorkflowId</code>, and <code>Token</code> are passed to the target resource during execution of a custom step of a workflow.
|
|
28
|
-
* You must include those with their callback as well as providing a status.
|
|
29
|
-
* </p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { TransferClient, SendWorkflowStepStateCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
34
|
-
* // const { TransferClient, SendWorkflowStepStateCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
35
|
-
* const client = new TransferClient(config);
|
|
36
|
-
* const command = new SendWorkflowStepStateCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link SendWorkflowStepStateCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link SendWorkflowStepStateCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class SendWorkflowStepStateCommand extends $Command<
|
|
46
|
-
SendWorkflowStepStateCommandInput,
|
|
47
|
-
SendWorkflowStepStateCommandOutput,
|
|
48
|
-
TransferClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: SendWorkflowStepStateCommandInput) {
|
|
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<SendWorkflowStepStateCommandInput, SendWorkflowStepStateCommandOutput> {
|
|
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 = "SendWorkflowStepStateCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: SendWorkflowStepStateRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: SendWorkflowStepStateResponse.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: SendWorkflowStepStateCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1SendWorkflowStepStateCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SendWorkflowStepStateCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1SendWorkflowStepStateCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|