@aws-sdk/client-transfer 3.477.0 → 3.481.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CreateAccessCommand.js +18 -41
- package/dist-cjs/commands/CreateAgreementCommand.js +18 -41
- package/dist-cjs/commands/CreateConnectorCommand.js +18 -41
- package/dist-cjs/commands/CreateProfileCommand.js +18 -41
- package/dist-cjs/commands/CreateServerCommand.js +18 -41
- package/dist-cjs/commands/CreateUserCommand.js +18 -41
- package/dist-cjs/commands/CreateWorkflowCommand.js +18 -41
- package/dist-cjs/commands/DeleteAccessCommand.js +18 -41
- package/dist-cjs/commands/DeleteAgreementCommand.js +18 -41
- package/dist-cjs/commands/DeleteCertificateCommand.js +18 -41
- package/dist-cjs/commands/DeleteConnectorCommand.js +18 -41
- package/dist-cjs/commands/DeleteHostKeyCommand.js +18 -41
- package/dist-cjs/commands/DeleteProfileCommand.js +18 -41
- package/dist-cjs/commands/DeleteServerCommand.js +18 -41
- package/dist-cjs/commands/DeleteSshPublicKeyCommand.js +18 -41
- package/dist-cjs/commands/DeleteUserCommand.js +18 -41
- package/dist-cjs/commands/DeleteWorkflowCommand.js +18 -41
- package/dist-cjs/commands/DescribeAccessCommand.js +18 -41
- package/dist-cjs/commands/DescribeAgreementCommand.js +18 -41
- package/dist-cjs/commands/DescribeCertificateCommand.js +18 -41
- package/dist-cjs/commands/DescribeConnectorCommand.js +18 -41
- package/dist-cjs/commands/DescribeExecutionCommand.js +18 -41
- package/dist-cjs/commands/DescribeHostKeyCommand.js +18 -41
- package/dist-cjs/commands/DescribeProfileCommand.js +18 -41
- package/dist-cjs/commands/DescribeSecurityPolicyCommand.js +18 -41
- package/dist-cjs/commands/DescribeServerCommand.js +18 -41
- package/dist-cjs/commands/DescribeUserCommand.js +18 -41
- package/dist-cjs/commands/DescribeWorkflowCommand.js +18 -41
- package/dist-cjs/commands/ImportCertificateCommand.js +18 -41
- package/dist-cjs/commands/ImportHostKeyCommand.js +18 -41
- package/dist-cjs/commands/ImportSshPublicKeyCommand.js +18 -41
- package/dist-cjs/commands/ListAccessesCommand.js +18 -41
- package/dist-cjs/commands/ListAgreementsCommand.js +18 -41
- package/dist-cjs/commands/ListCertificatesCommand.js +18 -41
- package/dist-cjs/commands/ListConnectorsCommand.js +18 -41
- package/dist-cjs/commands/ListExecutionsCommand.js +18 -41
- package/dist-cjs/commands/ListHostKeysCommand.js +18 -41
- package/dist-cjs/commands/ListProfilesCommand.js +18 -41
- package/dist-cjs/commands/ListSecurityPoliciesCommand.js +18 -41
- package/dist-cjs/commands/ListServersCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListUsersCommand.js +18 -41
- package/dist-cjs/commands/ListWorkflowsCommand.js +18 -41
- package/dist-cjs/commands/SendWorkflowStepStateCommand.js +18 -41
- package/dist-cjs/commands/StartFileTransferCommand.js +18 -41
- package/dist-cjs/commands/StartServerCommand.js +18 -41
- package/dist-cjs/commands/StopServerCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TestConnectionCommand.js +18 -41
- package/dist-cjs/commands/TestIdentityProviderCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateAccessCommand.js +18 -41
- package/dist-cjs/commands/UpdateAgreementCommand.js +18 -41
- package/dist-cjs/commands/UpdateCertificateCommand.js +18 -41
- package/dist-cjs/commands/UpdateConnectorCommand.js +18 -41
- package/dist-cjs/commands/UpdateHostKeyCommand.js +18 -41
- package/dist-cjs/commands/UpdateProfileCommand.js +18 -41
- package/dist-cjs/commands/UpdateServerCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListAccessesPaginator.js +2 -24
- package/dist-cjs/pagination/ListAgreementsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCertificatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListConnectorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityPoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListServersPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
- package/dist-cjs/pagination/ListUsersPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +2 -24
- package/dist-es/commands/CreateAccessCommand.js +18 -41
- package/dist-es/commands/CreateAgreementCommand.js +18 -41
- package/dist-es/commands/CreateConnectorCommand.js +18 -41
- package/dist-es/commands/CreateProfileCommand.js +18 -41
- package/dist-es/commands/CreateServerCommand.js +18 -41
- package/dist-es/commands/CreateUserCommand.js +18 -41
- package/dist-es/commands/CreateWorkflowCommand.js +18 -41
- package/dist-es/commands/DeleteAccessCommand.js +18 -41
- package/dist-es/commands/DeleteAgreementCommand.js +18 -41
- package/dist-es/commands/DeleteCertificateCommand.js +18 -41
- package/dist-es/commands/DeleteConnectorCommand.js +18 -41
- package/dist-es/commands/DeleteHostKeyCommand.js +18 -41
- package/dist-es/commands/DeleteProfileCommand.js +18 -41
- package/dist-es/commands/DeleteServerCommand.js +18 -41
- package/dist-es/commands/DeleteSshPublicKeyCommand.js +18 -41
- package/dist-es/commands/DeleteUserCommand.js +18 -41
- package/dist-es/commands/DeleteWorkflowCommand.js +18 -41
- package/dist-es/commands/DescribeAccessCommand.js +18 -41
- package/dist-es/commands/DescribeAgreementCommand.js +18 -41
- package/dist-es/commands/DescribeCertificateCommand.js +18 -41
- package/dist-es/commands/DescribeConnectorCommand.js +18 -41
- package/dist-es/commands/DescribeExecutionCommand.js +18 -41
- package/dist-es/commands/DescribeHostKeyCommand.js +18 -41
- package/dist-es/commands/DescribeProfileCommand.js +18 -41
- package/dist-es/commands/DescribeSecurityPolicyCommand.js +18 -41
- package/dist-es/commands/DescribeServerCommand.js +18 -41
- package/dist-es/commands/DescribeUserCommand.js +18 -41
- package/dist-es/commands/DescribeWorkflowCommand.js +18 -41
- package/dist-es/commands/ImportCertificateCommand.js +18 -41
- package/dist-es/commands/ImportHostKeyCommand.js +18 -41
- package/dist-es/commands/ImportSshPublicKeyCommand.js +18 -41
- package/dist-es/commands/ListAccessesCommand.js +18 -41
- package/dist-es/commands/ListAgreementsCommand.js +18 -41
- package/dist-es/commands/ListCertificatesCommand.js +18 -41
- package/dist-es/commands/ListConnectorsCommand.js +18 -41
- package/dist-es/commands/ListExecutionsCommand.js +18 -41
- package/dist-es/commands/ListHostKeysCommand.js +18 -41
- package/dist-es/commands/ListProfilesCommand.js +18 -41
- package/dist-es/commands/ListSecurityPoliciesCommand.js +18 -41
- package/dist-es/commands/ListServersCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListUsersCommand.js +18 -41
- package/dist-es/commands/ListWorkflowsCommand.js +18 -41
- package/dist-es/commands/SendWorkflowStepStateCommand.js +18 -41
- package/dist-es/commands/StartFileTransferCommand.js +18 -41
- package/dist-es/commands/StartServerCommand.js +18 -41
- package/dist-es/commands/StopServerCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TestConnectionCommand.js +18 -41
- package/dist-es/commands/TestIdentityProviderCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateAccessCommand.js +18 -41
- package/dist-es/commands/UpdateAgreementCommand.js +18 -41
- package/dist-es/commands/UpdateCertificateCommand.js +18 -41
- package/dist-es/commands/UpdateConnectorCommand.js +18 -41
- package/dist-es/commands/UpdateHostKeyCommand.js +18 -41
- package/dist-es/commands/UpdateProfileCommand.js +18 -41
- package/dist-es/commands/UpdateServerCommand.js +18 -41
- package/dist-es/commands/UpdateUserCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListAccessesPaginator.js +2 -23
- package/dist-es/pagination/ListAgreementsPaginator.js +2 -23
- package/dist-es/pagination/ListCertificatesPaginator.js +2 -23
- package/dist-es/pagination/ListConnectorsPaginator.js +2 -23
- package/dist-es/pagination/ListExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityPoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListServersPaginator.js +2 -23
- package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
- package/dist-es/pagination/ListUsersPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowsPaginator.js +2 -23
- package/dist-types/commands/CreateAccessCommand.d.ts +6 -21
- package/dist-types/commands/CreateAgreementCommand.d.ts +6 -21
- package/dist-types/commands/CreateConnectorCommand.d.ts +6 -21
- package/dist-types/commands/CreateProfileCommand.d.ts +6 -21
- package/dist-types/commands/CreateServerCommand.d.ts +6 -21
- package/dist-types/commands/CreateUserCommand.d.ts +6 -21
- package/dist-types/commands/CreateWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAccessCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAgreementCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCertificateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConnectorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteHostKeyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteProfileCommand.d.ts +6 -21
- package/dist-types/commands/DeleteServerCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSshPublicKeyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
- package/dist-types/commands/DeleteWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAccessCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAgreementCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCertificateCommand.d.ts +6 -21
- package/dist-types/commands/DescribeConnectorCommand.d.ts +6 -21
- package/dist-types/commands/DescribeExecutionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeHostKeyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeProfileCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSecurityPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeServerCommand.d.ts +6 -21
- package/dist-types/commands/DescribeUserCommand.d.ts +6 -21
- package/dist-types/commands/DescribeWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/ImportCertificateCommand.d.ts +6 -21
- package/dist-types/commands/ImportHostKeyCommand.d.ts +6 -21
- package/dist-types/commands/ImportSshPublicKeyCommand.d.ts +6 -21
- package/dist-types/commands/ListAccessesCommand.d.ts +6 -21
- package/dist-types/commands/ListAgreementsCommand.d.ts +6 -21
- package/dist-types/commands/ListCertificatesCommand.d.ts +6 -21
- package/dist-types/commands/ListConnectorsCommand.d.ts +6 -21
- package/dist-types/commands/ListExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListHostKeysCommand.d.ts +6 -21
- package/dist-types/commands/ListProfilesCommand.d.ts +6 -21
- package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/ListServersCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListUsersCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkflowsCommand.d.ts +6 -21
- package/dist-types/commands/SendWorkflowStepStateCommand.d.ts +6 -21
- package/dist-types/commands/StartFileTransferCommand.d.ts +6 -21
- package/dist-types/commands/StartServerCommand.d.ts +6 -21
- package/dist-types/commands/StopServerCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TestConnectionCommand.d.ts +6 -21
- package/dist-types/commands/TestIdentityProviderCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAccessCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAgreementCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCertificateCommand.d.ts +6 -21
- package/dist-types/commands/UpdateConnectorCommand.d.ts +6 -21
- package/dist-types/commands/UpdateHostKeyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateProfileCommand.d.ts +6 -21
- package/dist-types/commands/UpdateServerCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListAccessesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAgreementsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateAccessCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateAgreementCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateServerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAccessCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAgreementCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteHostKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteServerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSshPublicKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAccessCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAgreementCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeConnectorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeHostKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeProfileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeSecurityPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeServerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ImportHostKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ImportSshPublicKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAccessesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAgreementsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListHostKeysCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListServersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendWorkflowStepStateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartFileTransferCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartServerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopServerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TestConnectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TestIdentityProviderCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAccessCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAgreementCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateCertificateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateHostKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateServerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListAccessesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAgreementsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCertificatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityPoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListServersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateConnectorCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TransferClient";
|
|
29
|
-
const commandName = "UpdateConnectorCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "TransferService",
|
|
38
|
-
operation: "UpdateConnector",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateConnectorCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateConnectorCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateConnectorCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("TransferService", "UpdateConnector", {})
|
|
22
|
+
.n("TransferClient", "UpdateConnectorCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateConnectorCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateConnectorCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateConnectorCommand = UpdateConnectorCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateHostKeyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TransferClient";
|
|
29
|
-
const commandName = "UpdateHostKeyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "TransferService",
|
|
38
|
-
operation: "UpdateHostKey",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateHostKeyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateHostKeyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateHostKeyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("TransferService", "UpdateHostKey", {})
|
|
22
|
+
.n("TransferClient", "UpdateHostKeyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateHostKeyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateHostKeyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateHostKeyCommand = UpdateHostKeyCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateProfileCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TransferClient";
|
|
29
|
-
const commandName = "UpdateProfileCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "TransferService",
|
|
38
|
-
operation: "UpdateProfile",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateProfileCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateProfileCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateProfileCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("TransferService", "UpdateProfile", {})
|
|
22
|
+
.n("TransferClient", "UpdateProfileCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateProfileCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateProfileCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateProfileCommand = UpdateProfileCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class UpdateServerCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "TransferClient";
|
|
30
|
-
const commandName = "UpdateServerCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UpdateServerRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "TransferService",
|
|
39
|
-
operation: "UpdateServer",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_json1_1_1.se_UpdateServerCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_1_1.de_UpdateServerCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdateServerCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("TransferService", "UpdateServer", {})
|
|
23
|
+
.n("TransferClient", "UpdateServerCommand")
|
|
24
|
+
.f(models_0_1.UpdateServerRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_json1_1_1.se_UpdateServerCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_UpdateServerCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdateServerCommand = UpdateServerCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateUserCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TransferClient";
|
|
29
|
-
const commandName = "UpdateUserCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "TransferService",
|
|
38
|
-
operation: "UpdateUser",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateUserCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateUserCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateUserCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("TransferService", "UpdateUser", {})
|
|
22
|
+
.n("TransferClient", "UpdateUserCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateUserCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateUserCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateUserCommand = UpdateUserCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAccesses = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAccessesCommand_1 = require("../commands/ListAccessesCommand");
|
|
5
6
|
const TransferClient_1 = require("../TransferClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAccessesCommand_1.ListAccessesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAccesses(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TransferClient_1.TransferClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAccesses = paginateListAccesses;
|
|
7
|
+
exports.paginateListAccesses = (0, core_1.createPaginator)(TransferClient_1.TransferClient, ListAccessesCommand_1.ListAccessesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAgreements = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAgreementsCommand_1 = require("../commands/ListAgreementsCommand");
|
|
5
6
|
const TransferClient_1 = require("../TransferClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAgreementsCommand_1.ListAgreementsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAgreements(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TransferClient_1.TransferClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAgreements = paginateListAgreements;
|
|
7
|
+
exports.paginateListAgreements = (0, core_1.createPaginator)(TransferClient_1.TransferClient, ListAgreementsCommand_1.ListAgreementsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCertificates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCertificatesCommand_1 = require("../commands/ListCertificatesCommand");
|
|
5
6
|
const TransferClient_1 = require("../TransferClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCertificatesCommand_1.ListCertificatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCertificates(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TransferClient_1.TransferClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCertificates = paginateListCertificates;
|
|
7
|
+
exports.paginateListCertificates = (0, core_1.createPaginator)(TransferClient_1.TransferClient, ListCertificatesCommand_1.ListCertificatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConnectors = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListConnectorsCommand_1 = require("../commands/ListConnectorsCommand");
|
|
5
6
|
const TransferClient_1 = require("../TransferClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListConnectorsCommand_1.ListConnectorsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListConnectors(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TransferClient_1.TransferClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListConnectors = paginateListConnectors;
|
|
7
|
+
exports.paginateListConnectors = (0, core_1.createPaginator)(TransferClient_1.TransferClient, ListConnectorsCommand_1.ListConnectorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListExecutions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListExecutionsCommand_1 = require("../commands/ListExecutionsCommand");
|
|
5
6
|
const TransferClient_1 = require("../TransferClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListExecutionsCommand_1.ListExecutionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListExecutions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TransferClient_1.TransferClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListExecutions = paginateListExecutions;
|
|
7
|
+
exports.paginateListExecutions = (0, core_1.createPaginator)(TransferClient_1.TransferClient, ListExecutionsCommand_1.ListExecutionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListProfiles = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListProfilesCommand_1 = require("../commands/ListProfilesCommand");
|
|
5
6
|
const TransferClient_1 = require("../TransferClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListProfilesCommand_1.ListProfilesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListProfiles(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TransferClient_1.TransferClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListProfiles = paginateListProfiles;
|
|
7
|
+
exports.paginateListProfiles = (0, core_1.createPaginator)(TransferClient_1.TransferClient, ListProfilesCommand_1.ListProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSecurityPolicies = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSecurityPoliciesCommand_1 = require("../commands/ListSecurityPoliciesCommand");
|
|
5
6
|
const TransferClient_1 = require("../TransferClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSecurityPoliciesCommand_1.ListSecurityPoliciesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSecurityPolicies(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TransferClient_1.TransferClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSecurityPolicies = paginateListSecurityPolicies;
|
|
7
|
+
exports.paginateListSecurityPolicies = (0, core_1.createPaginator)(TransferClient_1.TransferClient, ListSecurityPoliciesCommand_1.ListSecurityPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListServers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListServersCommand_1 = require("../commands/ListServersCommand");
|
|
5
6
|
const TransferClient_1 = require("../TransferClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListServersCommand_1.ListServersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListServers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TransferClient_1.TransferClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListServers = paginateListServers;
|
|
7
|
+
exports.paginateListServers = (0, core_1.createPaginator)(TransferClient_1.TransferClient, ListServersCommand_1.ListServersCommand, "NextToken", "NextToken", "MaxResults");
|