@aws-sdk/client-transfer 3.669.0 → 3.671.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.
Files changed (31) hide show
  1. package/README.md +9 -1
  2. package/dist-cjs/index.js +50 -0
  3. package/dist-cjs/runtimeConfig.browser.js +1 -1
  4. package/dist-cjs/runtimeConfig.js +1 -1
  5. package/dist-es/Transfer.js +2 -0
  6. package/dist-es/commands/ListFileTransferResultsCommand.js +22 -0
  7. package/dist-es/commands/index.js +1 -0
  8. package/dist-es/models/models_0.js +6 -0
  9. package/dist-es/pagination/ListFileTransferResultsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_json1_1.js +19 -0
  12. package/dist-es/runtimeConfig.browser.js +2 -2
  13. package/dist-es/runtimeConfig.js +2 -2
  14. package/dist-types/Transfer.d.ts +8 -1
  15. package/dist-types/TransferClient.d.ts +4 -3
  16. package/dist-types/commands/ListFileTransferResultsCommand.d.ts +100 -0
  17. package/dist-types/commands/index.d.ts +1 -0
  18. package/dist-types/index.d.ts +1 -1
  19. package/dist-types/models/models_0.d.ts +128 -9
  20. package/dist-types/pagination/ListFileTransferResultsPaginator.d.ts +7 -0
  21. package/dist-types/pagination/index.d.ts +1 -0
  22. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  23. package/dist-types/ts3.4/Transfer.d.ts +17 -0
  24. package/dist-types/ts3.4/TransferClient.d.ts +6 -0
  25. package/dist-types/ts3.4/commands/ListFileTransferResultsCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +24 -0
  28. package/dist-types/ts3.4/pagination/ListFileTransferResultsPaginator.d.ts +11 -0
  29. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  30. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  31. package/package.json +5 -5
package/README.md CHANGED
@@ -13,7 +13,7 @@ Additionally, you can use Applicability Statement 2 (AS2) to transfer files into
13
13
  Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating
14
14
  with existing authentication systems, and providing DNS routing with Amazon Route 53 so
15
15
  nothing changes for your customers and partners, or their applications. With your data in
16
- Amazon S3, you can use it with Amazon Web Services for processing, analytics, machine learning, and
16
+ Amazon S3, you can use it with Amazon Web Services services for processing, analytics, machine learning, and
17
17
  archiving. Getting started with Transfer Family is easy since there is no infrastructure to buy and
18
18
  set up.</p>
19
19
 
@@ -499,6 +499,14 @@ ListExecutions
499
499
 
500
500
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/ListExecutionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/ListExecutionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/ListExecutionsCommandOutput/)
501
501
 
502
+ </details>
503
+ <details>
504
+ <summary>
505
+ ListFileTransferResults
506
+ </summary>
507
+
508
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/ListFileTransferResultsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/ListFileTransferResultsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/ListFileTransferResultsCommandOutput/)
509
+
502
510
  </details>
503
511
  <details>
504
512
  <summary>
package/dist-cjs/index.js CHANGED
@@ -83,6 +83,7 @@ __export(src_exports, {
83
83
  ListCertificatesCommand: () => ListCertificatesCommand,
84
84
  ListConnectorsCommand: () => ListConnectorsCommand,
85
85
  ListExecutionsCommand: () => ListExecutionsCommand,
86
+ ListFileTransferResultsCommand: () => ListFileTransferResultsCommand,
86
87
  ListHostKeysCommand: () => ListHostKeysCommand,
87
88
  ListProfilesCommand: () => ListProfilesCommand,
88
89
  ListSecurityPoliciesCommand: () => ListSecurityPoliciesCommand,
@@ -119,6 +120,7 @@ __export(src_exports, {
119
120
  Transfer: () => Transfer,
120
121
  TransferClient: () => TransferClient,
121
122
  TransferServiceException: () => TransferServiceException,
123
+ TransferTableStatus: () => TransferTableStatus,
122
124
  UntagResourceCommand: () => UntagResourceCommand,
123
125
  UpdateAccessCommand: () => UpdateAccessCommand,
124
126
  UpdateAgreementCommand: () => UpdateAgreementCommand,
@@ -136,6 +138,7 @@ __export(src_exports, {
136
138
  paginateListCertificates: () => paginateListCertificates,
137
139
  paginateListConnectors: () => paginateListConnectors,
138
140
  paginateListExecutions: () => paginateListExecutions,
141
+ paginateListFileTransferResults: () => paginateListFileTransferResults,
139
142
  paginateListProfiles: () => paginateListProfiles,
140
143
  paginateListSecurityPolicies: () => paginateListSecurityPolicies,
141
144
  paginateListServers: () => paginateListServers,
@@ -534,6 +537,12 @@ var _ConflictException = class _ConflictException extends TransferServiceExcepti
534
537
  };
535
538
  __name(_ConflictException, "ConflictException");
536
539
  var ConflictException = _ConflictException;
540
+ var TransferTableStatus = {
541
+ COMPLETED: "COMPLETED",
542
+ FAILED: "FAILED",
543
+ IN_PROGRESS: "IN_PROGRESS",
544
+ QUEUED: "QUEUED"
545
+ };
537
546
  var OverwriteExisting = {
538
547
  FALSE: "FALSE",
539
548
  TRUE: "TRUE"
@@ -885,6 +894,12 @@ var se_ListExecutionsCommand = /* @__PURE__ */ __name(async (input, context) =>
885
894
  body = JSON.stringify((0, import_smithy_client._json)(input));
886
895
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
887
896
  }, "se_ListExecutionsCommand");
897
+ var se_ListFileTransferResultsCommand = /* @__PURE__ */ __name(async (input, context) => {
898
+ const headers = sharedHeaders("ListFileTransferResults");
899
+ let body;
900
+ body = JSON.stringify((0, import_smithy_client._json)(input));
901
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
902
+ }, "se_ListFileTransferResultsCommand");
888
903
  var se_ListHostKeysCommand = /* @__PURE__ */ __name(async (input, context) => {
889
904
  const headers = sharedHeaders("ListHostKeys");
890
905
  let body;
@@ -1467,6 +1482,19 @@ var de_ListExecutionsCommand = /* @__PURE__ */ __name(async (output, context) =>
1467
1482
  };
1468
1483
  return response;
1469
1484
  }, "de_ListExecutionsCommand");
1485
+ var de_ListFileTransferResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
1486
+ if (output.statusCode >= 300) {
1487
+ return de_CommandError(output, context);
1488
+ }
1489
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1490
+ let contents = {};
1491
+ contents = (0, import_smithy_client._json)(data);
1492
+ const response = {
1493
+ $metadata: deserializeMetadata(output),
1494
+ ...contents
1495
+ };
1496
+ return response;
1497
+ }, "de_ListFileTransferResultsCommand");
1470
1498
  var de_ListHostKeysCommand = /* @__PURE__ */ __name(async (output, context) => {
1471
1499
  if (output.statusCode >= 300) {
1472
1500
  return de_CommandError(output, context);
@@ -2564,6 +2592,20 @@ var _ListExecutionsCommand = class _ListExecutionsCommand extends import_smithy_
2564
2592
  __name(_ListExecutionsCommand, "ListExecutionsCommand");
2565
2593
  var ListExecutionsCommand = _ListExecutionsCommand;
2566
2594
 
2595
+ // src/commands/ListFileTransferResultsCommand.ts
2596
+
2597
+
2598
+
2599
+ var _ListFileTransferResultsCommand = class _ListFileTransferResultsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2600
+ return [
2601
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2602
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2603
+ ];
2604
+ }).s("TransferService", "ListFileTransferResults", {}).n("TransferClient", "ListFileTransferResultsCommand").f(void 0, void 0).ser(se_ListFileTransferResultsCommand).de(de_ListFileTransferResultsCommand).build() {
2605
+ };
2606
+ __name(_ListFileTransferResultsCommand, "ListFileTransferResultsCommand");
2607
+ var ListFileTransferResultsCommand = _ListFileTransferResultsCommand;
2608
+
2567
2609
  // src/commands/ListHostKeysCommand.ts
2568
2610
 
2569
2611
 
@@ -2938,6 +2980,7 @@ var commands = {
2938
2980
  ListCertificatesCommand,
2939
2981
  ListConnectorsCommand,
2940
2982
  ListExecutionsCommand,
2983
+ ListFileTransferResultsCommand,
2941
2984
  ListHostKeysCommand,
2942
2985
  ListProfilesCommand,
2943
2986
  ListSecurityPoliciesCommand,
@@ -2989,6 +3032,10 @@ var paginateListConnectors = (0, import_core.createPaginator)(TransferClient, Li
2989
3032
 
2990
3033
  var paginateListExecutions = (0, import_core.createPaginator)(TransferClient, ListExecutionsCommand, "NextToken", "NextToken", "MaxResults");
2991
3034
 
3035
+ // src/pagination/ListFileTransferResultsPaginator.ts
3036
+
3037
+ var paginateListFileTransferResults = (0, import_core.createPaginator)(TransferClient, ListFileTransferResultsCommand, "NextToken", "NextToken", "MaxResults");
3038
+
2992
3039
  // src/pagination/ListProfilesPaginator.ts
2993
3040
 
2994
3041
  var paginateListProfiles = (0, import_core.createPaginator)(TransferClient, ListProfilesCommand, "NextToken", "NextToken", "MaxResults");
@@ -3136,6 +3183,7 @@ var waitUntilServerOnline = /* @__PURE__ */ __name(async (params, input) => {
3136
3183
  ListCertificatesCommand,
3137
3184
  ListConnectorsCommand,
3138
3185
  ListExecutionsCommand,
3186
+ ListFileTransferResultsCommand,
3139
3187
  ListHostKeysCommand,
3140
3188
  ListProfilesCommand,
3141
3189
  ListSecurityPoliciesCommand,
@@ -3165,6 +3213,7 @@ var waitUntilServerOnline = /* @__PURE__ */ __name(async (params, input) => {
3165
3213
  paginateListCertificates,
3166
3214
  paginateListConnectors,
3167
3215
  paginateListExecutions,
3216
+ paginateListFileTransferResults,
3168
3217
  paginateListProfiles,
3169
3218
  paginateListSecurityPolicies,
3170
3219
  paginateListServers,
@@ -3194,6 +3243,7 @@ var waitUntilServerOnline = /* @__PURE__ */ __name(async (params, input) => {
3194
3243
  CertificateType,
3195
3244
  CertificateUsageType,
3196
3245
  ConflictException,
3246
+ TransferTableStatus,
3197
3247
  OverwriteExisting,
3198
3248
  MapType,
3199
3249
  HomeDirectoryType,
@@ -25,7 +25,7 @@ const getRuntimeConfig = (config) => {
25
25
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
26
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
27
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
- (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
+ (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
29
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
30
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
31
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -31,7 +31,7 @@ const getRuntimeConfig = (config) => {
31
31
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
32
32
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
33
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
- (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
34
+ (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
35
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
36
  region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -35,6 +35,7 @@ import { ListAgreementsCommand, } from "./commands/ListAgreementsCommand";
35
35
  import { ListCertificatesCommand, } from "./commands/ListCertificatesCommand";
36
36
  import { ListConnectorsCommand, } from "./commands/ListConnectorsCommand";
37
37
  import { ListExecutionsCommand, } from "./commands/ListExecutionsCommand";
38
+ import { ListFileTransferResultsCommand, } from "./commands/ListFileTransferResultsCommand";
38
39
  import { ListHostKeysCommand, } from "./commands/ListHostKeysCommand";
39
40
  import { ListProfilesCommand, } from "./commands/ListProfilesCommand";
40
41
  import { ListSecurityPoliciesCommand, } from "./commands/ListSecurityPoliciesCommand";
@@ -97,6 +98,7 @@ const commands = {
97
98
  ListCertificatesCommand,
98
99
  ListConnectorsCommand,
99
100
  ListExecutionsCommand,
101
+ ListFileTransferResultsCommand,
100
102
  ListHostKeysCommand,
101
103
  ListProfilesCommand,
102
104
  ListSecurityPoliciesCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListFileTransferResultsCommand, se_ListFileTransferResultsCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class ListFileTransferResultsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("TransferService", "ListFileTransferResults", {})
17
+ .n("TransferClient", "ListFileTransferResultsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListFileTransferResultsCommand)
20
+ .de(de_ListFileTransferResultsCommand)
21
+ .build() {
22
+ }
@@ -34,6 +34,7 @@ export * from "./ListAgreementsCommand";
34
34
  export * from "./ListCertificatesCommand";
35
35
  export * from "./ListConnectorsCommand";
36
36
  export * from "./ListExecutionsCommand";
37
+ export * from "./ListFileTransferResultsCommand";
37
38
  export * from "./ListHostKeysCommand";
38
39
  export * from "./ListProfilesCommand";
39
40
  export * from "./ListSecurityPoliciesCommand";
@@ -172,6 +172,12 @@ export class ConflictException extends __BaseException {
172
172
  this.Message = opts.Message;
173
173
  }
174
174
  }
175
+ export const TransferTableStatus = {
176
+ COMPLETED: "COMPLETED",
177
+ FAILED: "FAILED",
178
+ IN_PROGRESS: "IN_PROGRESS",
179
+ QUEUED: "QUEUED",
180
+ };
175
181
  export const OverwriteExisting = {
176
182
  FALSE: "FALSE",
177
183
  TRUE: "TRUE",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListFileTransferResultsCommand, } from "../commands/ListFileTransferResultsCommand";
3
+ import { TransferClient } from "../TransferClient";
4
+ export const paginateListFileTransferResults = createPaginator(TransferClient, ListFileTransferResultsCommand, "NextToken", "NextToken", "MaxResults");
@@ -4,6 +4,7 @@ export * from "./ListAgreementsPaginator";
4
4
  export * from "./ListCertificatesPaginator";
5
5
  export * from "./ListConnectorsPaginator";
6
6
  export * from "./ListExecutionsPaginator";
7
+ export * from "./ListFileTransferResultsPaginator";
7
8
  export * from "./ListProfilesPaginator";
8
9
  export * from "./ListSecurityPoliciesPaginator";
9
10
  export * from "./ListServersPaginator";
@@ -219,6 +219,12 @@ export const se_ListExecutionsCommand = async (input, context) => {
219
219
  body = JSON.stringify(_json(input));
220
220
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
221
221
  };
222
+ export const se_ListFileTransferResultsCommand = async (input, context) => {
223
+ const headers = sharedHeaders("ListFileTransferResults");
224
+ let body;
225
+ body = JSON.stringify(_json(input));
226
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
227
+ };
222
228
  export const se_ListHostKeysCommand = async (input, context) => {
223
229
  const headers = sharedHeaders("ListHostKeys");
224
230
  let body;
@@ -801,6 +807,19 @@ export const de_ListExecutionsCommand = async (output, context) => {
801
807
  };
802
808
  return response;
803
809
  };
810
+ export const de_ListFileTransferResultsCommand = async (output, context) => {
811
+ if (output.statusCode >= 300) {
812
+ return de_CommandError(output, context);
813
+ }
814
+ const data = await parseBody(output.body, context);
815
+ let contents = {};
816
+ contents = _json(data);
817
+ const response = {
818
+ $metadata: deserializeMetadata(output),
819
+ ...contents,
820
+ };
821
+ return response;
822
+ };
804
823
  export const de_ListHostKeysCommand = async (output, context) => {
805
824
  if (output.statusCode >= 300) {
806
825
  return de_CommandError(output, context);
@@ -1,6 +1,6 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
- import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
3
+ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
@@ -21,7 +21,7 @@ export const getRuntimeConfig = (config) => {
21
21
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
22
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
23
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
- defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
24
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
25
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
26
  region: config?.region ?? invalidProvider("Region is missing"),
27
27
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -1,7 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
- import { NODE_APP_ID_CONFIG_OPTIONS, defaultUserAgent } from "@aws-sdk/util-user-agent-node";
4
+ import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
5
5
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
6
  import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
@@ -27,7 +27,7 @@ export const getRuntimeConfig = (config) => {
27
27
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
28
28
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
29
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
30
- defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
31
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
32
  region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
33
33
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -35,6 +35,7 @@ import { ListAgreementsCommandInput, ListAgreementsCommandOutput } from "./comma
35
35
  import { ListCertificatesCommandInput, ListCertificatesCommandOutput } from "./commands/ListCertificatesCommand";
36
36
  import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
37
37
  import { ListExecutionsCommandInput, ListExecutionsCommandOutput } from "./commands/ListExecutionsCommand";
38
+ import { ListFileTransferResultsCommandInput, ListFileTransferResultsCommandOutput } from "./commands/ListFileTransferResultsCommand";
38
39
  import { ListHostKeysCommandInput, ListHostKeysCommandOutput } from "./commands/ListHostKeysCommand";
39
40
  import { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
40
41
  import { ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput } from "./commands/ListSecurityPoliciesCommand";
@@ -280,6 +281,12 @@ export interface Transfer {
280
281
  listExecutions(args: ListExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListExecutionsCommandOutput>;
281
282
  listExecutions(args: ListExecutionsCommandInput, cb: (err: any, data?: ListExecutionsCommandOutput) => void): void;
282
283
  listExecutions(args: ListExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExecutionsCommandOutput) => void): void;
284
+ /**
285
+ * @see {@link ListFileTransferResultsCommand}
286
+ */
287
+ listFileTransferResults(args: ListFileTransferResultsCommandInput, options?: __HttpHandlerOptions): Promise<ListFileTransferResultsCommandOutput>;
288
+ listFileTransferResults(args: ListFileTransferResultsCommandInput, cb: (err: any, data?: ListFileTransferResultsCommandOutput) => void): void;
289
+ listFileTransferResults(args: ListFileTransferResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFileTransferResultsCommandOutput) => void): void;
283
290
  /**
284
291
  * @see {@link ListHostKeysCommand}
285
292
  */
@@ -437,7 +444,7 @@ export interface Transfer {
437
444
  * Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating
438
445
  * with existing authentication systems, and providing DNS routing with Amazon Route 53 so
439
446
  * nothing changes for your customers and partners, or their applications. With your data in
440
- * Amazon S3, you can use it with Amazon Web Services for processing, analytics, machine learning, and
447
+ * Amazon S3, you can use it with Amazon Web Services services for processing, analytics, machine learning, and
441
448
  * archiving. Getting started with Transfer Family is easy since there is no infrastructure to buy and
442
449
  * set up.</p>
443
450
  * @public
@@ -43,6 +43,7 @@ import { ListAgreementsCommandInput, ListAgreementsCommandOutput } from "./comma
43
43
  import { ListCertificatesCommandInput, ListCertificatesCommandOutput } from "./commands/ListCertificatesCommand";
44
44
  import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
45
45
  import { ListExecutionsCommandInput, ListExecutionsCommandOutput } from "./commands/ListExecutionsCommand";
46
+ import { ListFileTransferResultsCommandInput, ListFileTransferResultsCommandOutput } from "./commands/ListFileTransferResultsCommand";
46
47
  import { ListHostKeysCommandInput, ListHostKeysCommandOutput } from "./commands/ListHostKeysCommand";
47
48
  import { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
48
49
  import { ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput } from "./commands/ListSecurityPoliciesCommand";
@@ -73,11 +74,11 @@ export { __Client };
73
74
  /**
74
75
  * @public
75
76
  */
76
- export type ServiceInputTypes = CreateAccessCommandInput | CreateAgreementCommandInput | CreateConnectorCommandInput | CreateProfileCommandInput | CreateServerCommandInput | CreateUserCommandInput | CreateWorkflowCommandInput | DeleteAccessCommandInput | DeleteAgreementCommandInput | DeleteCertificateCommandInput | DeleteConnectorCommandInput | DeleteHostKeyCommandInput | DeleteProfileCommandInput | DeleteServerCommandInput | DeleteSshPublicKeyCommandInput | DeleteUserCommandInput | DeleteWorkflowCommandInput | DescribeAccessCommandInput | DescribeAgreementCommandInput | DescribeCertificateCommandInput | DescribeConnectorCommandInput | DescribeExecutionCommandInput | DescribeHostKeyCommandInput | DescribeProfileCommandInput | DescribeSecurityPolicyCommandInput | DescribeServerCommandInput | DescribeUserCommandInput | DescribeWorkflowCommandInput | ImportCertificateCommandInput | ImportHostKeyCommandInput | ImportSshPublicKeyCommandInput | ListAccessesCommandInput | ListAgreementsCommandInput | ListCertificatesCommandInput | ListConnectorsCommandInput | ListExecutionsCommandInput | ListHostKeysCommandInput | ListProfilesCommandInput | ListSecurityPoliciesCommandInput | ListServersCommandInput | ListTagsForResourceCommandInput | ListUsersCommandInput | ListWorkflowsCommandInput | SendWorkflowStepStateCommandInput | StartDirectoryListingCommandInput | StartFileTransferCommandInput | StartServerCommandInput | StopServerCommandInput | TagResourceCommandInput | TestConnectionCommandInput | TestIdentityProviderCommandInput | UntagResourceCommandInput | UpdateAccessCommandInput | UpdateAgreementCommandInput | UpdateCertificateCommandInput | UpdateConnectorCommandInput | UpdateHostKeyCommandInput | UpdateProfileCommandInput | UpdateServerCommandInput | UpdateUserCommandInput;
77
+ export type ServiceInputTypes = CreateAccessCommandInput | CreateAgreementCommandInput | CreateConnectorCommandInput | CreateProfileCommandInput | CreateServerCommandInput | CreateUserCommandInput | CreateWorkflowCommandInput | DeleteAccessCommandInput | DeleteAgreementCommandInput | DeleteCertificateCommandInput | DeleteConnectorCommandInput | DeleteHostKeyCommandInput | DeleteProfileCommandInput | DeleteServerCommandInput | DeleteSshPublicKeyCommandInput | DeleteUserCommandInput | DeleteWorkflowCommandInput | DescribeAccessCommandInput | DescribeAgreementCommandInput | DescribeCertificateCommandInput | DescribeConnectorCommandInput | DescribeExecutionCommandInput | DescribeHostKeyCommandInput | DescribeProfileCommandInput | DescribeSecurityPolicyCommandInput | DescribeServerCommandInput | DescribeUserCommandInput | DescribeWorkflowCommandInput | ImportCertificateCommandInput | ImportHostKeyCommandInput | ImportSshPublicKeyCommandInput | ListAccessesCommandInput | ListAgreementsCommandInput | ListCertificatesCommandInput | ListConnectorsCommandInput | ListExecutionsCommandInput | ListFileTransferResultsCommandInput | ListHostKeysCommandInput | ListProfilesCommandInput | ListSecurityPoliciesCommandInput | ListServersCommandInput | ListTagsForResourceCommandInput | ListUsersCommandInput | ListWorkflowsCommandInput | SendWorkflowStepStateCommandInput | StartDirectoryListingCommandInput | StartFileTransferCommandInput | StartServerCommandInput | StopServerCommandInput | TagResourceCommandInput | TestConnectionCommandInput | TestIdentityProviderCommandInput | UntagResourceCommandInput | UpdateAccessCommandInput | UpdateAgreementCommandInput | UpdateCertificateCommandInput | UpdateConnectorCommandInput | UpdateHostKeyCommandInput | UpdateProfileCommandInput | UpdateServerCommandInput | UpdateUserCommandInput;
77
78
  /**
78
79
  * @public
79
80
  */
80
- export type ServiceOutputTypes = CreateAccessCommandOutput | CreateAgreementCommandOutput | CreateConnectorCommandOutput | CreateProfileCommandOutput | CreateServerCommandOutput | CreateUserCommandOutput | CreateWorkflowCommandOutput | DeleteAccessCommandOutput | DeleteAgreementCommandOutput | DeleteCertificateCommandOutput | DeleteConnectorCommandOutput | DeleteHostKeyCommandOutput | DeleteProfileCommandOutput | DeleteServerCommandOutput | DeleteSshPublicKeyCommandOutput | DeleteUserCommandOutput | DeleteWorkflowCommandOutput | DescribeAccessCommandOutput | DescribeAgreementCommandOutput | DescribeCertificateCommandOutput | DescribeConnectorCommandOutput | DescribeExecutionCommandOutput | DescribeHostKeyCommandOutput | DescribeProfileCommandOutput | DescribeSecurityPolicyCommandOutput | DescribeServerCommandOutput | DescribeUserCommandOutput | DescribeWorkflowCommandOutput | ImportCertificateCommandOutput | ImportHostKeyCommandOutput | ImportSshPublicKeyCommandOutput | ListAccessesCommandOutput | ListAgreementsCommandOutput | ListCertificatesCommandOutput | ListConnectorsCommandOutput | ListExecutionsCommandOutput | ListHostKeysCommandOutput | ListProfilesCommandOutput | ListSecurityPoliciesCommandOutput | ListServersCommandOutput | ListTagsForResourceCommandOutput | ListUsersCommandOutput | ListWorkflowsCommandOutput | SendWorkflowStepStateCommandOutput | StartDirectoryListingCommandOutput | StartFileTransferCommandOutput | StartServerCommandOutput | StopServerCommandOutput | TagResourceCommandOutput | TestConnectionCommandOutput | TestIdentityProviderCommandOutput | UntagResourceCommandOutput | UpdateAccessCommandOutput | UpdateAgreementCommandOutput | UpdateCertificateCommandOutput | UpdateConnectorCommandOutput | UpdateHostKeyCommandOutput | UpdateProfileCommandOutput | UpdateServerCommandOutput | UpdateUserCommandOutput;
81
+ export type ServiceOutputTypes = CreateAccessCommandOutput | CreateAgreementCommandOutput | CreateConnectorCommandOutput | CreateProfileCommandOutput | CreateServerCommandOutput | CreateUserCommandOutput | CreateWorkflowCommandOutput | DeleteAccessCommandOutput | DeleteAgreementCommandOutput | DeleteCertificateCommandOutput | DeleteConnectorCommandOutput | DeleteHostKeyCommandOutput | DeleteProfileCommandOutput | DeleteServerCommandOutput | DeleteSshPublicKeyCommandOutput | DeleteUserCommandOutput | DeleteWorkflowCommandOutput | DescribeAccessCommandOutput | DescribeAgreementCommandOutput | DescribeCertificateCommandOutput | DescribeConnectorCommandOutput | DescribeExecutionCommandOutput | DescribeHostKeyCommandOutput | DescribeProfileCommandOutput | DescribeSecurityPolicyCommandOutput | DescribeServerCommandOutput | DescribeUserCommandOutput | DescribeWorkflowCommandOutput | ImportCertificateCommandOutput | ImportHostKeyCommandOutput | ImportSshPublicKeyCommandOutput | ListAccessesCommandOutput | ListAgreementsCommandOutput | ListCertificatesCommandOutput | ListConnectorsCommandOutput | ListExecutionsCommandOutput | ListFileTransferResultsCommandOutput | ListHostKeysCommandOutput | ListProfilesCommandOutput | ListSecurityPoliciesCommandOutput | ListServersCommandOutput | ListTagsForResourceCommandOutput | ListUsersCommandOutput | ListWorkflowsCommandOutput | SendWorkflowStepStateCommandOutput | StartDirectoryListingCommandOutput | StartFileTransferCommandOutput | StartServerCommandOutput | StopServerCommandOutput | TagResourceCommandOutput | TestConnectionCommandOutput | TestIdentityProviderCommandOutput | UntagResourceCommandOutput | UpdateAccessCommandOutput | UpdateAgreementCommandOutput | UpdateCertificateCommandOutput | UpdateConnectorCommandOutput | UpdateHostKeyCommandOutput | UpdateProfileCommandOutput | UpdateServerCommandOutput | UpdateUserCommandOutput;
81
82
  /**
82
83
  * @public
83
84
  */
@@ -218,7 +219,7 @@ export interface TransferClientResolvedConfig extends TransferClientResolvedConf
218
219
  * Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating
219
220
  * with existing authentication systems, and providing DNS routing with Amazon Route 53 so
220
221
  * nothing changes for your customers and partners, or their applications. With your data in
221
- * Amazon S3, you can use it with Amazon Web Services for processing, analytics, machine learning, and
222
+ * Amazon S3, you can use it with Amazon Web Services services for processing, analytics, machine learning, and
222
223
  * archiving. Getting started with Transfer Family is easy since there is no infrastructure to buy and
223
224
  * set up.</p>
224
225
  * @public
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListFileTransferResultsRequest, ListFileTransferResultsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListFileTransferResultsCommand}.
14
+ */
15
+ export interface ListFileTransferResultsCommandInput extends ListFileTransferResultsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListFileTransferResultsCommand}.
21
+ */
22
+ export interface ListFileTransferResultsCommandOutput extends ListFileTransferResultsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListFileTransferResultsCommand_base: {
25
+ new (input: ListFileTransferResultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListFileTransferResultsCommandInput, ListFileTransferResultsCommandOutput, TransferClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListFileTransferResultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListFileTransferResultsCommandInput, ListFileTransferResultsCommandOutput, TransferClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Returns real-time updates and detailed information on the status of each individual file being transferred in a specific file transfer operation.
32
+ * You specify the file transfer by providing its <code>ConnectorId</code> and its <code>TransferId</code>.</p>
33
+ * <note>
34
+ * <p>File transfer results are available up to 7 days after an operation has been requested.</p>
35
+ * </note>
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { TransferClient, ListFileTransferResultsCommand } from "@aws-sdk/client-transfer"; // ES Modules import
40
+ * // const { TransferClient, ListFileTransferResultsCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
41
+ * const client = new TransferClient(config);
42
+ * const input = { // ListFileTransferResultsRequest
43
+ * ConnectorId: "STRING_VALUE", // required
44
+ * TransferId: "STRING_VALUE", // required
45
+ * NextToken: "STRING_VALUE",
46
+ * MaxResults: Number("int"),
47
+ * };
48
+ * const command = new ListFileTransferResultsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // ListFileTransferResultsResponse
51
+ * // FileTransferResults: [ // ConnectorFileTransferResults // required
52
+ * // { // ConnectorFileTransferResult
53
+ * // FilePath: "STRING_VALUE", // required
54
+ * // StatusCode: "QUEUED" || "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
55
+ * // FailureCode: "STRING_VALUE",
56
+ * // FailureMessage: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // NextToken: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListFileTransferResultsCommandInput - {@link ListFileTransferResultsCommandInput}
65
+ * @returns {@link ListFileTransferResultsCommandOutput}
66
+ * @see {@link ListFileTransferResultsCommandInput} for command's `input` shape.
67
+ * @see {@link ListFileTransferResultsCommandOutput} for command's `response` shape.
68
+ * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape.
69
+ *
70
+ * @throws {@link InternalServiceError} (server fault)
71
+ * <p>This exception is thrown when an error occurs in the Transfer Family service.</p>
72
+ *
73
+ * @throws {@link InvalidRequestException} (client fault)
74
+ * <p>This exception is thrown when the client submits a malformed request.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
78
+ * service.</p>
79
+ *
80
+ * @throws {@link ServiceUnavailableException} (server fault)
81
+ * <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
82
+ *
83
+ * @throws {@link TransferServiceException}
84
+ * <p>Base exception class for all service exceptions from Transfer service.</p>
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ListFileTransferResultsCommand extends ListFileTransferResultsCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: ListFileTransferResultsRequest;
93
+ output: ListFileTransferResultsResponse;
94
+ };
95
+ sdk: {
96
+ input: ListFileTransferResultsCommandInput;
97
+ output: ListFileTransferResultsCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -34,6 +34,7 @@ export * from "./ListAgreementsCommand";
34
34
  export * from "./ListCertificatesCommand";
35
35
  export * from "./ListConnectorsCommand";
36
36
  export * from "./ListExecutionsCommand";
37
+ export * from "./ListFileTransferResultsCommand";
37
38
  export * from "./ListHostKeysCommand";
38
39
  export * from "./ListProfilesCommand";
39
40
  export * from "./ListSecurityPoliciesCommand";
@@ -6,7 +6,7 @@
6
6
  * Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating
7
7
  * with existing authentication systems, and providing DNS routing with Amazon Route 53 so
8
8
  * nothing changes for your customers and partners, or their applications. With your data in
9
- * Amazon S3, you can use it with Amazon Web Services for processing, analytics, machine learning, and
9
+ * Amazon S3, you can use it with Amazon Web Services services for processing, analytics, machine learning, and
10
10
  * archiving. Getting started with Transfer Family is easy since there is no infrastructure to buy and
11
11
  * set up.</p>
12
12
  *
@@ -73,7 +73,7 @@ export interface CreateAgreementRequest {
73
73
  /**
74
74
  * <p>The landing directory (folder) for files transferred by using the AS2 protocol.</p>
75
75
  * <p>A <code>BaseDirectory</code> example is
76
- * <code>/DOC-EXAMPLE-BUCKET/home/mydirectory</code>.</p>
76
+ * <code>/<i>amzn-s3-demo-bucket</i>/home/mydirectory</code>.</p>
77
77
  * @public
78
78
  */
79
79
  BaseDirectory: string | undefined;
@@ -476,7 +476,7 @@ export interface UpdateAgreementRequest {
476
476
  /**
477
477
  * <p>To change the landing directory (folder) for files that are transferred, provide the
478
478
  * bucket folder that you want to use; for example,
479
- * <code>/<i>DOC-EXAMPLE-BUCKET</i>/<i>home</i>/<i>mydirectory</i>
479
+ * <code>/<i>amzn-s3-demo-bucket</i>/<i>home</i>/<i>mydirectory</i>
480
480
  * </code>.</p>
481
481
  * @public
482
482
  */
@@ -1100,6 +1100,47 @@ export declare class ConflictException extends __BaseException {
1100
1100
  */
1101
1101
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1102
1102
  }
1103
+ /**
1104
+ * @public
1105
+ * @enum
1106
+ */
1107
+ export declare const TransferTableStatus: {
1108
+ readonly COMPLETED: "COMPLETED";
1109
+ readonly FAILED: "FAILED";
1110
+ readonly IN_PROGRESS: "IN_PROGRESS";
1111
+ readonly QUEUED: "QUEUED";
1112
+ };
1113
+ /**
1114
+ * @public
1115
+ */
1116
+ export type TransferTableStatus = (typeof TransferTableStatus)[keyof typeof TransferTableStatus];
1117
+ /**
1118
+ * <p>A structure that contains the details for files transferred using an SFTP connector, during a single transfer.</p>
1119
+ * @public
1120
+ */
1121
+ export interface ConnectorFileTransferResult {
1122
+ /**
1123
+ * <p>The filename and path to where the file was sent to or retrieved from.</p>
1124
+ * @public
1125
+ */
1126
+ FilePath: string | undefined;
1127
+ /**
1128
+ * <p>The current status for the transfer.</p>
1129
+ * @public
1130
+ */
1131
+ StatusCode: TransferTableStatus | undefined;
1132
+ /**
1133
+ * <p>For transfers that fail, this parameter contains a code indicating the reason. For example, <code>RETRIEVE_FILE_NOT_FOUND</code>
1134
+ * </p>
1135
+ * @public
1136
+ */
1137
+ FailureCode?: string;
1138
+ /**
1139
+ * <p>For transfers that fail, this parameter describes the reason for the failure.</p>
1140
+ * @public
1141
+ */
1142
+ FailureMessage?: string;
1143
+ }
1103
1144
  /**
1104
1145
  * <p>Contains the details for an SFTP connector object. The connector object is used for transferring files to and from a
1105
1146
  * partner's SFTP server.</p>
@@ -1893,13 +1934,18 @@ export type Domain = (typeof Domain)[keyof typeof Domain];
1893
1934
  * endpoint.</p>
1894
1935
  * <note>
1895
1936
  * <p> After May 19, 2021, you won't be able to create a server using
1896
- * <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Servicesaccount if your account hasn't already
1937
+ * <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Services account if your account hasn't already
1897
1938
  * done so before May 19, 2021. If you have already created servers with
1898
- * <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Servicesaccount on or before May 19, 2021,
1939
+ * <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Services account on or before May 19, 2021,
1899
1940
  * you will not be affected. After this date, use
1900
1941
  * <code>EndpointType</code>=<code>VPC</code>.</p>
1901
1942
  * <p>For more information, see
1902
1943
  * https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.</p>
1944
+ * <p>It is recommended that you use <code>VPC</code> as the <code>EndpointType</code>. With
1945
+ * this endpoint type, you have the option to directly associate up to three Elastic IPv4
1946
+ * addresses (BYO IP included) with your server's endpoint and use VPC security groups to
1947
+ * restrict traffic by the client's public IP address. This is not possible with
1948
+ * <code>EndpointType</code> set to <code>VPC_ENDPOINT</code>.</p>
1903
1949
  * </note>
1904
1950
  * @public
1905
1951
  */
@@ -2266,6 +2312,10 @@ export interface WorkflowDetails {
2266
2312
  * <p>
2267
2313
  * <code>aws transfer update-server --server-id s-01234567890abcdef --workflow-details '\{"OnUpload":[]\}'</code>
2268
2314
  * </p>
2315
+ * <note>
2316
+ * <p>
2317
+ * <code>OnUpload</code> can contain a maximum of one <code>WorkflowDetail</code> object.</p>
2318
+ * </note>
2269
2319
  * @public
2270
2320
  */
2271
2321
  OnUpload?: WorkflowDetail[];
@@ -2273,6 +2323,10 @@ export interface WorkflowDetails {
2273
2323
  * <p>A trigger that starts a workflow if a file is only partially uploaded. You can attach a workflow to a server
2274
2324
  * that executes whenever there is a partial upload.</p>
2275
2325
  * <p>A <i>partial upload</i> occurs when a file is open when the session disconnects.</p>
2326
+ * <note>
2327
+ * <p>
2328
+ * <code>OnPartialUpload</code> can contain a maximum of one <code>WorkflowDetail</code> object.</p>
2329
+ * </note>
2276
2330
  * @public
2277
2331
  */
2278
2332
  OnPartialUpload?: WorkflowDetail[];
@@ -4987,6 +5041,71 @@ export interface ListExecutionsResponse {
4987
5041
  */
4988
5042
  Executions: ListedExecution[] | undefined;
4989
5043
  }
5044
+ /**
5045
+ * @public
5046
+ */
5047
+ export interface ListFileTransferResultsRequest {
5048
+ /**
5049
+ * <p>A unique identifier for a connector. This value should match the value supplied to the corresponding <code>StartFileTransfer</code> call.</p>
5050
+ * @public
5051
+ */
5052
+ ConnectorId: string | undefined;
5053
+ /**
5054
+ * <p>A unique identifier for a file transfer. This value should match the value supplied to the corresponding <code>StartFileTransfer</code> call.</p>
5055
+ * @public
5056
+ */
5057
+ TransferId: string | undefined;
5058
+ /**
5059
+ * <p>If there are more file details than returned in this call, use this value for a subsequent call to <code>ListFileTransferResults</code> to retrieve them.</p>
5060
+ * @public
5061
+ */
5062
+ NextToken?: string;
5063
+ /**
5064
+ * <p>The maximum number of files to return in a single page. Note that currently you can specify a maximum of 10 file paths in a single
5065
+ * <a href="https://docs.aws.amazon.com/transfer/latest/APIReference/API_StartFileTransfer.html">StartFileTransfer</a> operation. Thus, the maximum
5066
+ * number of file transfer results that can be returned in a single page is 10.
5067
+ * </p>
5068
+ * @public
5069
+ */
5070
+ MaxResults?: number;
5071
+ }
5072
+ /**
5073
+ * @public
5074
+ */
5075
+ export interface ListFileTransferResultsResponse {
5076
+ /**
5077
+ * <p>Returns the details for the files transferred in the transfer identified by the <code>TransferId</code> and <code>ConnectorId</code> specified.</p>
5078
+ * <ul>
5079
+ * <li>
5080
+ * <p>
5081
+ * <code>FilePath</code>: the filename and path to where the file was sent to or retrieved from.</p>
5082
+ * </li>
5083
+ * <li>
5084
+ * <p>
5085
+ * <code>StatusCode</code>: current status for the transfer. The status returned is one of the following values:<code>QUEUED</code>,
5086
+ * <code>IN_PROGRESS</code>, <code>COMPLETED</code>, or <code>FAILED</code>
5087
+ * </p>
5088
+ * </li>
5089
+ * <li>
5090
+ * <p>
5091
+ * <code>FailureCode</code>: for transfers that fail, this parameter contains a code indicating the reason. For example, <code>RETRIEVE_FILE_NOT_FOUND</code>
5092
+ * </p>
5093
+ * </li>
5094
+ * <li>
5095
+ * <p>
5096
+ * <code>FailureMessage</code>: for transfers that fail, this parameter describes the reason for the failure.</p>
5097
+ * </li>
5098
+ * </ul>
5099
+ * @public
5100
+ */
5101
+ FileTransferResults: ConnectorFileTransferResult[] | undefined;
5102
+ /**
5103
+ * <p>Returns a token that you can use to call <code>ListFileTransferResults</code> again and receive
5104
+ * additional results, if there are any (against the same <code>TransferId</code>.</p>
5105
+ * @public
5106
+ */
5107
+ NextToken?: string;
5108
+ }
4990
5109
  /**
4991
5110
  * @public
4992
5111
  */
@@ -5412,9 +5531,9 @@ export interface UpdateServerRequest {
5412
5531
  * resources only within your VPC or choose to make it internet facing by attaching Elastic IP addresses directly to it.</p>
5413
5532
  * <note>
5414
5533
  * <p> After May 19, 2021, you won't be able to create a server using
5415
- * <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Servicesaccount if your account hasn't already
5534
+ * <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Services account if your account hasn't already
5416
5535
  * done so before May 19, 2021. If you have already created servers with
5417
- * <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Servicesaccount on or before May 19, 2021,
5536
+ * <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Services account on or before May 19, 2021,
5418
5537
  * you will not be affected. After this date, use
5419
5538
  * <code>EndpointType</code>=<code>VPC</code>.</p>
5420
5539
  * <p>For more information, see
@@ -5648,12 +5767,12 @@ export interface StartFileTransferRequest {
5648
5767
  /**
5649
5768
  * <p>One or more source paths for the Amazon S3 storage. Each string represents a source
5650
5769
  * file path for one outbound file transfer. For example,
5651
- * <code>
5652
- * <i>DOC-EXAMPLE-BUCKET</i>/<i>myfile.txt</i>
5770
+ * <code>
5771
+ * <i>amzn-s3-demo-bucket</i>/<i>myfile.txt</i>
5653
5772
  * </code>.</p>
5654
5773
  * <note>
5655
5774
  * <p>Replace <code>
5656
- * <i>DOC-EXAMPLE-BUCKET</i>
5775
+ * <i>amzn-s3-demo-bucket</i>
5657
5776
  * </code> with one of your actual buckets.</p>
5658
5777
  * </note>
5659
5778
  * @public
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListFileTransferResultsCommandInput, ListFileTransferResultsCommandOutput } from "../commands/ListFileTransferResultsCommand";
3
+ import { TransferPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListFileTransferResults: (config: TransferPaginationConfiguration, input: ListFileTransferResultsCommandInput, ...rest: any[]) => Paginator<ListFileTransferResultsCommandOutput>;
@@ -4,6 +4,7 @@ export * from "./ListAgreementsPaginator";
4
4
  export * from "./ListCertificatesPaginator";
5
5
  export * from "./ListConnectorsPaginator";
6
6
  export * from "./ListExecutionsPaginator";
7
+ export * from "./ListFileTransferResultsPaginator";
7
8
  export * from "./ListProfilesPaginator";
8
9
  export * from "./ListSecurityPoliciesPaginator";
9
10
  export * from "./ListServersPaginator";
@@ -36,6 +36,7 @@ import { ListAgreementsCommandInput, ListAgreementsCommandOutput } from "../comm
36
36
  import { ListCertificatesCommandInput, ListCertificatesCommandOutput } from "../commands/ListCertificatesCommand";
37
37
  import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "../commands/ListConnectorsCommand";
38
38
  import { ListExecutionsCommandInput, ListExecutionsCommandOutput } from "../commands/ListExecutionsCommand";
39
+ import { ListFileTransferResultsCommandInput, ListFileTransferResultsCommandOutput } from "../commands/ListFileTransferResultsCommand";
39
40
  import { ListHostKeysCommandInput, ListHostKeysCommandOutput } from "../commands/ListHostKeysCommand";
40
41
  import { ListProfilesCommandInput, ListProfilesCommandOutput } from "../commands/ListProfilesCommand";
41
42
  import { ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput } from "../commands/ListSecurityPoliciesCommand";
@@ -204,6 +205,10 @@ export declare const se_ListConnectorsCommand: (input: ListConnectorsCommandInpu
204
205
  * serializeAws_json1_1ListExecutionsCommand
205
206
  */
206
207
  export declare const se_ListExecutionsCommand: (input: ListExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
208
+ /**
209
+ * serializeAws_json1_1ListFileTransferResultsCommand
210
+ */
211
+ export declare const se_ListFileTransferResultsCommand: (input: ListFileTransferResultsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
207
212
  /**
208
213
  * serializeAws_json1_1ListHostKeysCommand
209
214
  */
@@ -444,6 +449,10 @@ export declare const de_ListConnectorsCommand: (output: __HttpResponse, context:
444
449
  * deserializeAws_json1_1ListExecutionsCommand
445
450
  */
446
451
  export declare const de_ListExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListExecutionsCommandOutput>;
452
+ /**
453
+ * deserializeAws_json1_1ListFileTransferResultsCommand
454
+ */
455
+ export declare const de_ListFileTransferResultsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFileTransferResultsCommandOutput>;
447
456
  /**
448
457
  * deserializeAws_json1_1ListHostKeysCommand
449
458
  */
@@ -143,6 +143,10 @@ import {
143
143
  ListExecutionsCommandInput,
144
144
  ListExecutionsCommandOutput,
145
145
  } from "./commands/ListExecutionsCommand";
146
+ import {
147
+ ListFileTransferResultsCommandInput,
148
+ ListFileTransferResultsCommandOutput,
149
+ } from "./commands/ListFileTransferResultsCommand";
146
150
  import {
147
151
  ListHostKeysCommandInput,
148
152
  ListHostKeysCommandOutput,
@@ -712,6 +716,19 @@ export interface Transfer {
712
716
  options: __HttpHandlerOptions,
713
717
  cb: (err: any, data?: ListExecutionsCommandOutput) => void
714
718
  ): void;
719
+ listFileTransferResults(
720
+ args: ListFileTransferResultsCommandInput,
721
+ options?: __HttpHandlerOptions
722
+ ): Promise<ListFileTransferResultsCommandOutput>;
723
+ listFileTransferResults(
724
+ args: ListFileTransferResultsCommandInput,
725
+ cb: (err: any, data?: ListFileTransferResultsCommandOutput) => void
726
+ ): void;
727
+ listFileTransferResults(
728
+ args: ListFileTransferResultsCommandInput,
729
+ options: __HttpHandlerOptions,
730
+ cb: (err: any, data?: ListFileTransferResultsCommandOutput) => void
731
+ ): void;
715
732
  listHostKeys(
716
733
  args: ListHostKeysCommandInput,
717
734
  options?: __HttpHandlerOptions
@@ -189,6 +189,10 @@ import {
189
189
  ListExecutionsCommandInput,
190
190
  ListExecutionsCommandOutput,
191
191
  } from "./commands/ListExecutionsCommand";
192
+ import {
193
+ ListFileTransferResultsCommandInput,
194
+ ListFileTransferResultsCommandOutput,
195
+ } from "./commands/ListFileTransferResultsCommand";
192
196
  import {
193
197
  ListHostKeysCommandInput,
194
198
  ListHostKeysCommandOutput,
@@ -329,6 +333,7 @@ export type ServiceInputTypes =
329
333
  | ListCertificatesCommandInput
330
334
  | ListConnectorsCommandInput
331
335
  | ListExecutionsCommandInput
336
+ | ListFileTransferResultsCommandInput
332
337
  | ListHostKeysCommandInput
333
338
  | ListProfilesCommandInput
334
339
  | ListSecurityPoliciesCommandInput
@@ -390,6 +395,7 @@ export type ServiceOutputTypes =
390
395
  | ListCertificatesCommandOutput
391
396
  | ListConnectorsCommandOutput
392
397
  | ListExecutionsCommandOutput
398
+ | ListFileTransferResultsCommandOutput
393
399
  | ListHostKeysCommandOutput
394
400
  | ListProfilesCommandOutput
395
401
  | ListSecurityPoliciesCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListFileTransferResultsRequest,
5
+ ListFileTransferResultsResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ TransferClientResolvedConfig,
11
+ } from "../TransferClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListFileTransferResultsCommandInput
15
+ extends ListFileTransferResultsRequest {}
16
+ export interface ListFileTransferResultsCommandOutput
17
+ extends ListFileTransferResultsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListFileTransferResultsCommand_base: {
20
+ new (
21
+ input: ListFileTransferResultsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListFileTransferResultsCommandInput,
24
+ ListFileTransferResultsCommandOutput,
25
+ TransferClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: ListFileTransferResultsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListFileTransferResultsCommandInput,
33
+ ListFileTransferResultsCommandOutput,
34
+ TransferClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListFileTransferResultsCommand extends ListFileTransferResultsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListFileTransferResultsRequest;
44
+ output: ListFileTransferResultsResponse;
45
+ };
46
+ sdk: {
47
+ input: ListFileTransferResultsCommandInput;
48
+ output: ListFileTransferResultsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -34,6 +34,7 @@ export * from "./ListAgreementsCommand";
34
34
  export * from "./ListCertificatesCommand";
35
35
  export * from "./ListConnectorsCommand";
36
36
  export * from "./ListExecutionsCommand";
37
+ export * from "./ListFileTransferResultsCommand";
37
38
  export * from "./ListHostKeysCommand";
38
39
  export * from "./ListProfilesCommand";
39
40
  export * from "./ListSecurityPoliciesCommand";
@@ -287,6 +287,20 @@ export declare class ConflictException extends __BaseException {
287
287
  Message: string | undefined;
288
288
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
289
289
  }
290
+ export declare const TransferTableStatus: {
291
+ readonly COMPLETED: "COMPLETED";
292
+ readonly FAILED: "FAILED";
293
+ readonly IN_PROGRESS: "IN_PROGRESS";
294
+ readonly QUEUED: "QUEUED";
295
+ };
296
+ export type TransferTableStatus =
297
+ (typeof TransferTableStatus)[keyof typeof TransferTableStatus];
298
+ export interface ConnectorFileTransferResult {
299
+ FilePath: string | undefined;
300
+ StatusCode: TransferTableStatus | undefined;
301
+ FailureCode?: string;
302
+ FailureMessage?: string;
303
+ }
290
304
  export interface SftpConnectorConfig {
291
305
  UserSecretId?: string;
292
306
  TrustedHostKeys?: string[];
@@ -948,6 +962,16 @@ export interface ListExecutionsResponse {
948
962
  WorkflowId: string | undefined;
949
963
  Executions: ListedExecution[] | undefined;
950
964
  }
965
+ export interface ListFileTransferResultsRequest {
966
+ ConnectorId: string | undefined;
967
+ TransferId: string | undefined;
968
+ NextToken?: string;
969
+ MaxResults?: number;
970
+ }
971
+ export interface ListFileTransferResultsResponse {
972
+ FileTransferResults: ConnectorFileTransferResult[] | undefined;
973
+ NextToken?: string;
974
+ }
951
975
  export interface ListHostKeysRequest {
952
976
  MaxResults?: number;
953
977
  NextToken?: string;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListFileTransferResultsCommandInput,
4
+ ListFileTransferResultsCommandOutput,
5
+ } from "../commands/ListFileTransferResultsCommand";
6
+ import { TransferPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListFileTransferResults: (
8
+ config: TransferPaginationConfiguration,
9
+ input: ListFileTransferResultsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListFileTransferResultsCommandOutput>;
@@ -4,6 +4,7 @@ export * from "./ListAgreementsPaginator";
4
4
  export * from "./ListCertificatesPaginator";
5
5
  export * from "./ListConnectorsPaginator";
6
6
  export * from "./ListExecutionsPaginator";
7
+ export * from "./ListFileTransferResultsPaginator";
7
8
  export * from "./ListProfilesPaginator";
8
9
  export * from "./ListSecurityPoliciesPaginator";
9
10
  export * from "./ListServersPaginator";
@@ -147,6 +147,10 @@ import {
147
147
  ListExecutionsCommandInput,
148
148
  ListExecutionsCommandOutput,
149
149
  } from "../commands/ListExecutionsCommand";
150
+ import {
151
+ ListFileTransferResultsCommandInput,
152
+ ListFileTransferResultsCommandOutput,
153
+ } from "../commands/ListFileTransferResultsCommand";
150
154
  import {
151
155
  ListHostKeysCommandInput,
152
156
  ListHostKeysCommandOutput,
@@ -387,6 +391,10 @@ export declare const se_ListExecutionsCommand: (
387
391
  input: ListExecutionsCommandInput,
388
392
  context: __SerdeContext
389
393
  ) => Promise<__HttpRequest>;
394
+ export declare const se_ListFileTransferResultsCommand: (
395
+ input: ListFileTransferResultsCommandInput,
396
+ context: __SerdeContext
397
+ ) => Promise<__HttpRequest>;
390
398
  export declare const se_ListHostKeysCommand: (
391
399
  input: ListHostKeysCommandInput,
392
400
  context: __SerdeContext
@@ -627,6 +635,10 @@ export declare const de_ListExecutionsCommand: (
627
635
  output: __HttpResponse,
628
636
  context: __SerdeContext
629
637
  ) => Promise<ListExecutionsCommandOutput>;
638
+ export declare const de_ListFileTransferResultsCommand: (
639
+ output: __HttpResponse,
640
+ context: __SerdeContext
641
+ ) => Promise<ListFileTransferResultsCommandOutput>;
630
642
  export declare const de_ListHostKeysCommand: (
631
643
  output: __HttpResponse,
632
644
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transfer",
3
3
  "description": "AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native",
4
- "version": "3.669.0",
4
+ "version": "3.671.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-transfer",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.669.0",
24
- "@aws-sdk/client-sts": "3.669.0",
23
+ "@aws-sdk/client-sso-oidc": "3.670.0",
24
+ "@aws-sdk/client-sts": "3.670.0",
25
25
  "@aws-sdk/core": "3.667.0",
26
- "@aws-sdk/credential-provider-node": "3.669.0",
26
+ "@aws-sdk/credential-provider-node": "3.670.0",
27
27
  "@aws-sdk/middleware-host-header": "3.667.0",
28
28
  "@aws-sdk/middleware-logger": "3.667.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.667.0",
@@ -31,7 +31,7 @@
31
31
  "@aws-sdk/region-config-resolver": "3.667.0",
32
32
  "@aws-sdk/types": "3.667.0",
33
33
  "@aws-sdk/util-endpoints": "3.667.0",
34
- "@aws-sdk/util-user-agent-browser": "3.667.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.670.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.669.0",
36
36
  "@smithy/config-resolver": "^3.0.9",
37
37
  "@smithy/core": "^2.4.8",