@aws-sdk/client-transfer 3.42.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/endpoints.js +1 -28
- package/dist-cjs/models/models_0.js +15 -63
- package/dist-cjs/protocols/Aws_json1_1.js +7 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -28
- package/dist-es/models/models_0.js +10 -40
- package/dist-es/protocols/Aws_json1_1.js +8 -3
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/TransferClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +90 -97
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/TransferClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +18 -45
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateAccessCommandInput, CreateAccessCommandOutput } from "./commands/CreateAccessCommand";
|
|
10
10
|
import { CreateServerCommandInput, CreateServerCommandOutput } from "./commands/CreateServerCommand";
|
|
@@ -140,6 +140,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
140
140
|
* @internal
|
|
141
141
|
*/
|
|
142
142
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
143
|
+
/**
|
|
144
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
145
|
+
*/
|
|
146
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
143
147
|
}
|
|
144
148
|
declare type TransferClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
145
149
|
/**
|
|
@@ -7,12 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
7
7
|
$fault: "client";
|
|
8
8
|
Message?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace AccessDeniedException {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
|
-
}
|
|
16
10
|
/**
|
|
17
11
|
* <p>This exception is thrown when the <code>UpdateServer</code> is called for a file transfer
|
|
18
12
|
* protocol-enabled server that has VPC as the endpoint type and the server's
|
|
@@ -23,12 +17,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
23
17
|
$fault: "client";
|
|
24
18
|
Message: string | undefined;
|
|
25
19
|
}
|
|
26
|
-
export declare namespace ConflictException {
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
31
|
-
}
|
|
32
20
|
/**
|
|
33
21
|
* <p>Reserved for future use.</p>
|
|
34
22
|
* <p>
|
|
@@ -320,12 +308,6 @@ export interface InternalServiceError extends __SmithyException, $MetadataBearer
|
|
|
320
308
|
$fault: "server";
|
|
321
309
|
Message: string | undefined;
|
|
322
310
|
}
|
|
323
|
-
export declare namespace InternalServiceError {
|
|
324
|
-
/**
|
|
325
|
-
* @internal
|
|
326
|
-
*/
|
|
327
|
-
const filterSensitiveLog: (obj: InternalServiceError) => any;
|
|
328
|
-
}
|
|
329
311
|
/**
|
|
330
312
|
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
331
313
|
*/
|
|
@@ -334,12 +316,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
334
316
|
$fault: "client";
|
|
335
317
|
Message: string | undefined;
|
|
336
318
|
}
|
|
337
|
-
export declare namespace InvalidRequestException {
|
|
338
|
-
/**
|
|
339
|
-
* @internal
|
|
340
|
-
*/
|
|
341
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
342
|
-
}
|
|
343
319
|
/**
|
|
344
320
|
* <p>The requested resource does not exist.</p>
|
|
345
321
|
*/
|
|
@@ -350,12 +326,6 @@ export interface ResourceExistsException extends __SmithyException, $MetadataBea
|
|
|
350
326
|
Resource: string | undefined;
|
|
351
327
|
ResourceType: string | undefined;
|
|
352
328
|
}
|
|
353
|
-
export declare namespace ResourceExistsException {
|
|
354
|
-
/**
|
|
355
|
-
* @internal
|
|
356
|
-
*/
|
|
357
|
-
const filterSensitiveLog: (obj: ResourceExistsException) => any;
|
|
358
|
-
}
|
|
359
329
|
/**
|
|
360
330
|
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
361
331
|
* service.</p>
|
|
@@ -367,12 +337,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
367
337
|
Resource: string | undefined;
|
|
368
338
|
ResourceType: string | undefined;
|
|
369
339
|
}
|
|
370
|
-
export declare namespace ResourceNotFoundException {
|
|
371
|
-
/**
|
|
372
|
-
* @internal
|
|
373
|
-
*/
|
|
374
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
375
|
-
}
|
|
376
340
|
/**
|
|
377
341
|
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
378
342
|
*/
|
|
@@ -381,12 +345,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
|
|
|
381
345
|
$fault: "server";
|
|
382
346
|
Message?: string;
|
|
383
347
|
}
|
|
384
|
-
export declare namespace ServiceUnavailableException {
|
|
385
|
-
/**
|
|
386
|
-
* @internal
|
|
387
|
-
*/
|
|
388
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
389
|
-
}
|
|
390
348
|
export declare enum Domain {
|
|
391
349
|
EFS = "EFS",
|
|
392
350
|
S3 = "S3"
|
|
@@ -494,7 +452,7 @@ export interface IdentityProviderDetails {
|
|
|
494
452
|
*/
|
|
495
453
|
InvocationRole?: string;
|
|
496
454
|
/**
|
|
497
|
-
* <p>The identifier of the Amazon Web
|
|
455
|
+
* <p>The identifier of the Amazon Web Services Directory Service directory that you want to stop sharing.</p>
|
|
498
456
|
*/
|
|
499
457
|
DirectoryId?: string;
|
|
500
458
|
/**
|
|
@@ -514,6 +472,75 @@ export declare enum IdentityProviderType {
|
|
|
514
472
|
AWS_LAMBDA = "AWS_LAMBDA",
|
|
515
473
|
SERVICE_MANAGED = "SERVICE_MANAGED"
|
|
516
474
|
}
|
|
475
|
+
export declare enum TlsSessionResumptionMode {
|
|
476
|
+
DISABLED = "DISABLED",
|
|
477
|
+
ENABLED = "ENABLED",
|
|
478
|
+
ENFORCED = "ENFORCED"
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* <p>
|
|
482
|
+
* The protocol settings that are configured for your server.
|
|
483
|
+
* </p>
|
|
484
|
+
*/
|
|
485
|
+
export interface ProtocolDetails {
|
|
486
|
+
/**
|
|
487
|
+
* <p>
|
|
488
|
+
* Indicates passive mode, for FTP and FTPS protocols.
|
|
489
|
+
* Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
|
|
490
|
+
* For example:
|
|
491
|
+
* </p>
|
|
492
|
+
* <p>
|
|
493
|
+
* <code>
|
|
494
|
+
* aws transfer update-server --protocol-details PassiveIp=<i>0.0.0.0</i>
|
|
495
|
+
* </code>
|
|
496
|
+
* </p>
|
|
497
|
+
* <p>Replace <code>
|
|
498
|
+
* <i>0.0.0.0</i>
|
|
499
|
+
* </code> in the example above with the actual IP address you want to use.</p>
|
|
500
|
+
* <note>
|
|
501
|
+
* <p>
|
|
502
|
+
* If you change the <code>PassiveIp</code> value, you must stop and then restart your Transfer server for the change to take effect. For details on using Passive IP (PASV) in a NAT environment, see <a href="http://aws.amazon.com/blogs/storage/configuring-your-ftps-server-behind-a-firewall-or-nat-with-aws-transfer-family/">Configuring your FTPS server behind a firewall or NAT with Amazon Web Services Transfer Family</a>.
|
|
503
|
+
* </p>
|
|
504
|
+
* </note>
|
|
505
|
+
*/
|
|
506
|
+
PassiveIp?: string;
|
|
507
|
+
/**
|
|
508
|
+
* <p>A property used with Transfer servers that use the FTPS protocol. TLS Session Resumption provides a mechanism to resume or share a negotiated secret
|
|
509
|
+
* key between the control and data connection for an FTPS session. <code>TlsSessionResumptionMode</code> determines whether or not the server resumes recent,
|
|
510
|
+
* negotiated sessions through a unique session ID. This property is available during <code>CreateServer</code> and <code>UpdateServer</code> calls.
|
|
511
|
+
* If a <code>TlsSessionResumptionMode</code> value is not specified during CreateServer, it is set to <code>ENFORCED</code> by default.</p>
|
|
512
|
+
* <ul>
|
|
513
|
+
* <li>
|
|
514
|
+
* <p>
|
|
515
|
+
* <code>DISABLED</code>: the server does not process TLS session resumption client requests and creates a new TLS session for each request. </p>
|
|
516
|
+
* </li>
|
|
517
|
+
* <li>
|
|
518
|
+
* <p>
|
|
519
|
+
* <code>ENABLED</code>: the server processes and accepts clients that are performing TLS session resumption.
|
|
520
|
+
* The server doesn't reject client data connections that do not perform the TLS session resumption client processing.</p>
|
|
521
|
+
* </li>
|
|
522
|
+
* <li>
|
|
523
|
+
* <p>
|
|
524
|
+
* <code>ENFORCED</code>: the server processes and accepts clients that are performing TLS session resumption.
|
|
525
|
+
* The server rejects client data connections that do not perform the TLS session resumption client processing.
|
|
526
|
+
* Before you set the value to <code>ENFORCED</code>, test your clients.</p>
|
|
527
|
+
* <note>
|
|
528
|
+
* <p>Not all FTPS clients perform TLS session resumption. So, if you choose to enforce
|
|
529
|
+
* TLS session resumption, you prevent any connections from FTPS clients that don't perform
|
|
530
|
+
* the protocol negotiation. To determine whether or not you can use the
|
|
531
|
+
* <code>ENFORCED</code> value, you need to test your clients.</p>
|
|
532
|
+
* </note>
|
|
533
|
+
* </li>
|
|
534
|
+
* </ul>
|
|
535
|
+
*/
|
|
536
|
+
TlsSessionResumptionMode?: TlsSessionResumptionMode | string;
|
|
537
|
+
}
|
|
538
|
+
export declare namespace ProtocolDetails {
|
|
539
|
+
/**
|
|
540
|
+
* @internal
|
|
541
|
+
*/
|
|
542
|
+
const filterSensitiveLog: (obj: ProtocolDetails) => any;
|
|
543
|
+
}
|
|
517
544
|
export declare enum Protocol {
|
|
518
545
|
FTP = "FTP",
|
|
519
546
|
FTPS = "FTPS",
|
|
@@ -695,7 +722,7 @@ export interface CreateServerRequest {
|
|
|
695
722
|
* <p>Use the <code>API_GATEWAY</code> value to integrate with an identity provider of your choosing. The
|
|
696
723
|
* <code>API_GATEWAY</code> setting requires you to provide an API Gateway endpoint URL to call
|
|
697
724
|
* for authentication using the <code>IdentityProviderDetails</code> parameter.</p>
|
|
698
|
-
* <p>Use the <code>
|
|
725
|
+
* <p>Use the <code>AWS_LAMBDA</code> value to directly use a Lambda function as your identity provider. If you choose this value,
|
|
699
726
|
* you must specify the ARN for the lambda function in the <code>Function</code> parameter for the <code>IdentityProviderDetails</code> data type.</p>
|
|
700
727
|
*/
|
|
701
728
|
IdentityProviderType?: IdentityProviderType | string;
|
|
@@ -744,6 +771,16 @@ export interface CreateServerRequest {
|
|
|
744
771
|
* </note>
|
|
745
772
|
*/
|
|
746
773
|
Protocols?: (Protocol | string)[];
|
|
774
|
+
/**
|
|
775
|
+
* <p>The protocol settings that are configured for your server.</p>
|
|
776
|
+
* <p>
|
|
777
|
+
* Use the <code>PassiveIp</code> parameter to indicate passive mode (for FTP and FTPS protocols).
|
|
778
|
+
* Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
|
|
779
|
+
* </p>
|
|
780
|
+
* <p>Use the <code>TlsSessionResumptionMode</code> parameter to determine whether or not your Transfer server
|
|
781
|
+
* resumes recent, negotiated sessions through a unique session ID.</p>
|
|
782
|
+
*/
|
|
783
|
+
ProtocolDetails?: ProtocolDetails;
|
|
747
784
|
/**
|
|
748
785
|
* <p>Specifies the name of the security policy that is attached to the server.</p>
|
|
749
786
|
*/
|
|
@@ -785,12 +822,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
785
822
|
$fault: "client";
|
|
786
823
|
RetryAfterSeconds?: string;
|
|
787
824
|
}
|
|
788
|
-
export declare namespace ThrottlingException {
|
|
789
|
-
/**
|
|
790
|
-
* @internal
|
|
791
|
-
*/
|
|
792
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
793
|
-
}
|
|
794
825
|
export interface CreateUserRequest {
|
|
795
826
|
/**
|
|
796
827
|
* <p>The landing directory (folder) for a user when they log in to the server using the client.</p>
|
|
@@ -886,6 +917,11 @@ export interface CreateUserRequest {
|
|
|
886
917
|
/**
|
|
887
918
|
* <p>The public portion of the Secure Shell (SSH) key used to authenticate the user to the
|
|
888
919
|
* server.</p>
|
|
920
|
+
* <note>
|
|
921
|
+
* <p>
|
|
922
|
+
* Currently, Transfer Family does not accept elliptical curve keys (keys beginning with <code>ecdsa</code>).
|
|
923
|
+
* </p>
|
|
924
|
+
* </note>
|
|
889
925
|
*/
|
|
890
926
|
SshPublicKeyBody?: string;
|
|
891
927
|
/**
|
|
@@ -1648,45 +1684,6 @@ export declare namespace DescribedSecurityPolicy {
|
|
|
1648
1684
|
*/
|
|
1649
1685
|
const filterSensitiveLog: (obj: DescribedSecurityPolicy) => any;
|
|
1650
1686
|
}
|
|
1651
|
-
/**
|
|
1652
|
-
* <p>
|
|
1653
|
-
* The protocol settings that are configured for your server.
|
|
1654
|
-
* </p>
|
|
1655
|
-
* <note>
|
|
1656
|
-
* <p>
|
|
1657
|
-
* This type is only valid in the <code>UpdateServer</code> API.
|
|
1658
|
-
* </p>
|
|
1659
|
-
* </note>
|
|
1660
|
-
*/
|
|
1661
|
-
export interface ProtocolDetails {
|
|
1662
|
-
/**
|
|
1663
|
-
* <p>
|
|
1664
|
-
* Indicates passive mode, for FTP and FTPS protocols.
|
|
1665
|
-
* Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
|
|
1666
|
-
* For example:
|
|
1667
|
-
* </p>
|
|
1668
|
-
* <p>
|
|
1669
|
-
* <code>
|
|
1670
|
-
* aws transfer update-server --protocol-details PassiveIp=<i>0.0.0.0</i>
|
|
1671
|
-
* </code>
|
|
1672
|
-
* </p>
|
|
1673
|
-
* <p>Replace <code>
|
|
1674
|
-
* <i>0.0.0.0</i>
|
|
1675
|
-
* </code> in the example above with the actual IP address you want to use.</p>
|
|
1676
|
-
* <note>
|
|
1677
|
-
* <p>
|
|
1678
|
-
* If you change the <code>PassiveIp</code> value, you must stop and then restart your Transfer server for the change to take effect. For details on using Passive IP (PASV) in a NAT environment, see <a href="http://aws.amazon.com/blogs/storage/configuring-your-ftps-server-behind-a-firewall-or-nat-with-aws-transfer-family/">Configuring your FTPS server behind a firewall or NAT with Amazon Web Services Transfer Family</a>.
|
|
1679
|
-
* </p>
|
|
1680
|
-
* </note>
|
|
1681
|
-
*/
|
|
1682
|
-
PassiveIp?: string;
|
|
1683
|
-
}
|
|
1684
|
-
export declare namespace ProtocolDetails {
|
|
1685
|
-
/**
|
|
1686
|
-
* @internal
|
|
1687
|
-
*/
|
|
1688
|
-
const filterSensitiveLog: (obj: ProtocolDetails) => any;
|
|
1689
|
-
}
|
|
1690
1687
|
export declare enum State {
|
|
1691
1688
|
OFFLINE = "OFFLINE",
|
|
1692
1689
|
ONLINE = "ONLINE",
|
|
@@ -1759,7 +1756,7 @@ export interface DescribedServer {
|
|
|
1759
1756
|
* <p>Use the <code>API_GATEWAY</code> value to integrate with an identity provider of your choosing. The
|
|
1760
1757
|
* <code>API_GATEWAY</code> setting requires you to provide an API Gateway endpoint URL to call
|
|
1761
1758
|
* for authentication using the <code>IdentityProviderDetails</code> parameter.</p>
|
|
1762
|
-
* <p>Use the <code>
|
|
1759
|
+
* <p>Use the <code>AWS_LAMBDA</code> value to directly use a Lambda function as your identity provider. If you choose this value,
|
|
1763
1760
|
* you must specify the ARN for the lambda function in the <code>Function</code> parameter for the <code>IdentityProviderDetails</code> data type.</p>
|
|
1764
1761
|
*/
|
|
1765
1762
|
IdentityProviderType?: IdentityProviderType | string;
|
|
@@ -2170,12 +2167,6 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
|
|
|
2170
2167
|
$fault: "client";
|
|
2171
2168
|
Message: string | undefined;
|
|
2172
2169
|
}
|
|
2173
|
-
export declare namespace InvalidNextTokenException {
|
|
2174
|
-
/**
|
|
2175
|
-
* @internal
|
|
2176
|
-
*/
|
|
2177
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
2178
|
-
}
|
|
2179
2170
|
export interface ListAccessesRequest {
|
|
2180
2171
|
/**
|
|
2181
2172
|
* <p>Specifies the maximum number of access SIDs to return.</p>
|
|
@@ -2321,7 +2312,7 @@ export interface ListedServer {
|
|
|
2321
2312
|
* <p>Use the <code>API_GATEWAY</code> value to integrate with an identity provider of your choosing. The
|
|
2322
2313
|
* <code>API_GATEWAY</code> setting requires you to provide an API Gateway endpoint URL to call
|
|
2323
2314
|
* for authentication using the <code>IdentityProviderDetails</code> parameter.</p>
|
|
2324
|
-
* <p>Use the <code>
|
|
2315
|
+
* <p>Use the <code>AWS_LAMBDA</code> value to directly use a Lambda function as your identity provider. If you choose this value,
|
|
2325
2316
|
* you must specify the ARN for the lambda function in the <code>Function</code> parameter for the <code>IdentityProviderDetails</code> data type.</p>
|
|
2326
2317
|
*/
|
|
2327
2318
|
IdentityProviderType?: IdentityProviderType | string;
|
|
@@ -3066,6 +3057,8 @@ export interface UpdateServerRequest {
|
|
|
3066
3057
|
* Use the <code>PassiveIp</code> parameter to indicate passive mode (for FTP and FTPS protocols).
|
|
3067
3058
|
* Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
|
|
3068
3059
|
* </p>
|
|
3060
|
+
* <p>Use the <code>TlsSessionResumptionMode</code> parameter to determine whether or not your Transfer server
|
|
3061
|
+
* resumes recent, negotiated sessions through a unique session ID.</p>
|
|
3069
3062
|
*/
|
|
3070
3063
|
ProtocolDetails?: ProtocolDetails;
|
|
3071
3064
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { TransferClientConfig } from "./TransferClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: TransferClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { TransferClientConfig } from "./TransferClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: TransferClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateAccessCommandInput, CreateAccessCommandOutput } from "./commands/CreateAccessCommand";
|
|
10
10
|
import { CreateServerCommandInput, CreateServerCommandOutput } from "./commands/CreateServerCommand";
|
|
@@ -83,6 +83,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
83
83
|
regionInfoProvider?: RegionInfoProvider;
|
|
84
84
|
|
|
85
85
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
86
|
+
|
|
87
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
86
88
|
}
|
|
87
89
|
declare type TransferClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
88
90
|
|
|
@@ -5,20 +5,12 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
5
5
|
$fault: "client";
|
|
6
6
|
Message?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace AccessDeniedException {
|
|
9
|
-
|
|
10
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
-
}
|
|
12
8
|
|
|
13
9
|
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
14
10
|
name: "ConflictException";
|
|
15
11
|
$fault: "client";
|
|
16
12
|
Message: string | undefined;
|
|
17
13
|
}
|
|
18
|
-
export declare namespace ConflictException {
|
|
19
|
-
|
|
20
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
21
|
-
}
|
|
22
14
|
|
|
23
15
|
export interface EfsFileLocation {
|
|
24
16
|
|
|
@@ -135,20 +127,12 @@ export interface InternalServiceError extends __SmithyException, $MetadataBearer
|
|
|
135
127
|
$fault: "server";
|
|
136
128
|
Message: string | undefined;
|
|
137
129
|
}
|
|
138
|
-
export declare namespace InternalServiceError {
|
|
139
|
-
|
|
140
|
-
const filterSensitiveLog: (obj: InternalServiceError) => any;
|
|
141
|
-
}
|
|
142
130
|
|
|
143
131
|
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
144
132
|
name: "InvalidRequestException";
|
|
145
133
|
$fault: "client";
|
|
146
134
|
Message: string | undefined;
|
|
147
135
|
}
|
|
148
|
-
export declare namespace InvalidRequestException {
|
|
149
|
-
|
|
150
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
151
|
-
}
|
|
152
136
|
|
|
153
137
|
export interface ResourceExistsException extends __SmithyException, $MetadataBearer {
|
|
154
138
|
name: "ResourceExistsException";
|
|
@@ -157,10 +141,6 @@ export interface ResourceExistsException extends __SmithyException, $MetadataBea
|
|
|
157
141
|
Resource: string | undefined;
|
|
158
142
|
ResourceType: string | undefined;
|
|
159
143
|
}
|
|
160
|
-
export declare namespace ResourceExistsException {
|
|
161
|
-
|
|
162
|
-
const filterSensitiveLog: (obj: ResourceExistsException) => any;
|
|
163
|
-
}
|
|
164
144
|
|
|
165
145
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
166
146
|
name: "ResourceNotFoundException";
|
|
@@ -169,20 +149,12 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
169
149
|
Resource: string | undefined;
|
|
170
150
|
ResourceType: string | undefined;
|
|
171
151
|
}
|
|
172
|
-
export declare namespace ResourceNotFoundException {
|
|
173
|
-
|
|
174
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
175
|
-
}
|
|
176
152
|
|
|
177
153
|
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
178
154
|
name: "ServiceUnavailableException";
|
|
179
155
|
$fault: "server";
|
|
180
156
|
Message?: string;
|
|
181
157
|
}
|
|
182
|
-
export declare namespace ServiceUnavailableException {
|
|
183
|
-
|
|
184
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
185
|
-
}
|
|
186
158
|
export declare enum Domain {
|
|
187
159
|
EFS = "EFS",
|
|
188
160
|
S3 = "S3"
|
|
@@ -230,6 +202,22 @@ export declare enum IdentityProviderType {
|
|
|
230
202
|
AWS_LAMBDA = "AWS_LAMBDA",
|
|
231
203
|
SERVICE_MANAGED = "SERVICE_MANAGED"
|
|
232
204
|
}
|
|
205
|
+
export declare enum TlsSessionResumptionMode {
|
|
206
|
+
DISABLED = "DISABLED",
|
|
207
|
+
ENABLED = "ENABLED",
|
|
208
|
+
ENFORCED = "ENFORCED"
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export interface ProtocolDetails {
|
|
212
|
+
|
|
213
|
+
PassiveIp?: string;
|
|
214
|
+
|
|
215
|
+
TlsSessionResumptionMode?: TlsSessionResumptionMode | string;
|
|
216
|
+
}
|
|
217
|
+
export declare namespace ProtocolDetails {
|
|
218
|
+
|
|
219
|
+
const filterSensitiveLog: (obj: ProtocolDetails) => any;
|
|
220
|
+
}
|
|
233
221
|
export declare enum Protocol {
|
|
234
222
|
FTP = "FTP",
|
|
235
223
|
FTPS = "FTPS",
|
|
@@ -286,6 +274,8 @@ export interface CreateServerRequest {
|
|
|
286
274
|
|
|
287
275
|
Protocols?: (Protocol | string)[];
|
|
288
276
|
|
|
277
|
+
ProtocolDetails?: ProtocolDetails;
|
|
278
|
+
|
|
289
279
|
SecurityPolicyName?: string;
|
|
290
280
|
|
|
291
281
|
Tags?: Tag[];
|
|
@@ -310,10 +300,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
310
300
|
$fault: "client";
|
|
311
301
|
RetryAfterSeconds?: string;
|
|
312
302
|
}
|
|
313
|
-
export declare namespace ThrottlingException {
|
|
314
|
-
|
|
315
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
316
|
-
}
|
|
317
303
|
export interface CreateUserRequest {
|
|
318
304
|
|
|
319
305
|
HomeDirectory?: string;
|
|
@@ -677,15 +663,6 @@ export declare namespace DescribedSecurityPolicy {
|
|
|
677
663
|
|
|
678
664
|
const filterSensitiveLog: (obj: DescribedSecurityPolicy) => any;
|
|
679
665
|
}
|
|
680
|
-
|
|
681
|
-
export interface ProtocolDetails {
|
|
682
|
-
|
|
683
|
-
PassiveIp?: string;
|
|
684
|
-
}
|
|
685
|
-
export declare namespace ProtocolDetails {
|
|
686
|
-
|
|
687
|
-
const filterSensitiveLog: (obj: ProtocolDetails) => any;
|
|
688
|
-
}
|
|
689
666
|
export declare enum State {
|
|
690
667
|
OFFLINE = "OFFLINE",
|
|
691
668
|
ONLINE = "ONLINE",
|
|
@@ -913,10 +890,6 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
|
|
|
913
890
|
$fault: "client";
|
|
914
891
|
Message: string | undefined;
|
|
915
892
|
}
|
|
916
|
-
export declare namespace InvalidNextTokenException {
|
|
917
|
-
|
|
918
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
919
|
-
}
|
|
920
893
|
export interface ListAccessesRequest {
|
|
921
894
|
|
|
922
895
|
MaxResults?: number;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { TransferClientConfig } from "./TransferClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: TransferClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { TransferClientConfig } from "./TransferClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: TransferClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|