@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
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateCertificateCommand, se_UpdateCertificateCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateCertificateCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TransferClient";
|
|
26
|
-
const commandName = "UpdateCertificateCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TransferService",
|
|
35
|
-
operation: "UpdateCertificate",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateCertificateCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateCertificateCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateCertificateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TransferService", "UpdateCertificate", {})
|
|
19
|
+
.n("TransferClient", "UpdateCertificateCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateCertificateCommand)
|
|
22
|
+
.de(de_UpdateCertificateCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateConnectorCommand, se_UpdateConnectorCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateConnectorCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TransferClient";
|
|
26
|
-
const commandName = "UpdateConnectorCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TransferService",
|
|
35
|
-
operation: "UpdateConnector",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateConnectorCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateConnectorCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateConnectorCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TransferService", "UpdateConnector", {})
|
|
19
|
+
.n("TransferClient", "UpdateConnectorCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateConnectorCommand)
|
|
22
|
+
.de(de_UpdateConnectorCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateHostKeyCommand, se_UpdateHostKeyCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateHostKeyCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TransferClient";
|
|
26
|
-
const commandName = "UpdateHostKeyCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TransferService",
|
|
35
|
-
operation: "UpdateHostKey",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateHostKeyCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateHostKeyCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateHostKeyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TransferService", "UpdateHostKey", {})
|
|
19
|
+
.n("TransferClient", "UpdateHostKeyCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateHostKeyCommand)
|
|
22
|
+
.de(de_UpdateHostKeyCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateProfileCommand, se_UpdateProfileCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateProfileCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TransferClient";
|
|
26
|
-
const commandName = "UpdateProfileCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TransferService",
|
|
35
|
-
operation: "UpdateProfile",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateProfileCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateProfileCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateProfileCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TransferService", "UpdateProfile", {})
|
|
19
|
+
.n("TransferClient", "UpdateProfileCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateProfileCommand)
|
|
22
|
+
.de(de_UpdateProfileCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { UpdateServerRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_UpdateServerCommand, se_UpdateServerCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateServerCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "TransferClient";
|
|
27
|
-
const commandName = "UpdateServerCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateServerRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "TransferService",
|
|
36
|
-
operation: "UpdateServer",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateServerCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateServerCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateServerCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("TransferService", "UpdateServer", {})
|
|
20
|
+
.n("TransferClient", "UpdateServerCommand")
|
|
21
|
+
.f(UpdateServerRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UpdateServerCommand)
|
|
23
|
+
.de(de_UpdateServerCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateUserCommand, se_UpdateUserCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateUserCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TransferClient";
|
|
26
|
-
const commandName = "UpdateUserCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TransferService",
|
|
35
|
-
operation: "UpdateUser",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateUserCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateUserCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateUserCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TransferService", "UpdateUser", {})
|
|
19
|
+
.n("TransferClient", "UpdateUserCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateUserCommand)
|
|
22
|
+
.de(de_UpdateUserCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "transfer",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAccessesCommand, } from "../commands/ListAccessesCommand";
|
|
2
3
|
import { TransferClient } from "../TransferClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAccessesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAccesses(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TransferClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAccesses = createPaginator(TransferClient, ListAccessesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAgreementsCommand, } from "../commands/ListAgreementsCommand";
|
|
2
3
|
import { TransferClient } from "../TransferClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAgreementsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAgreements(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TransferClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAgreements = createPaginator(TransferClient, ListAgreementsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCertificatesCommand, } from "../commands/ListCertificatesCommand";
|
|
2
3
|
import { TransferClient } from "../TransferClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCertificatesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCertificates(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TransferClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListCertificates = createPaginator(TransferClient, ListCertificatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListConnectorsCommand, } from "../commands/ListConnectorsCommand";
|
|
2
3
|
import { TransferClient } from "../TransferClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListConnectorsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListConnectors(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TransferClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListConnectors = createPaginator(TransferClient, ListConnectorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListExecutionsCommand, } from "../commands/ListExecutionsCommand";
|
|
2
3
|
import { TransferClient } from "../TransferClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListExecutionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListExecutions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TransferClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListExecutions = createPaginator(TransferClient, ListExecutionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListProfilesCommand, } from "../commands/ListProfilesCommand";
|
|
2
3
|
import { TransferClient } from "../TransferClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProfilesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProfiles(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TransferClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListProfiles = createPaginator(TransferClient, ListProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSecurityPoliciesCommand, } from "../commands/ListSecurityPoliciesCommand";
|
|
2
3
|
import { TransferClient } from "../TransferClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSecurityPoliciesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSecurityPolicies(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TransferClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListSecurityPolicies = createPaginator(TransferClient, ListSecurityPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListServersCommand } from "../commands/ListServersCommand";
|
|
2
3
|
import { TransferClient } from "../TransferClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListServersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListServers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TransferClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Transfer | TransferClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListServers = createPaginator(TransferClient, ListServersCommand, "NextToken", "NextToken", "MaxResults");
|