@aws-sdk/client-transfer 3.252.0 → 3.256.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.
|
@@ -3596,11 +3596,11 @@ const serializeAws_json1_1IdentityProviderDetails = (input, context) => {
|
|
|
3596
3596
|
};
|
|
3597
3597
|
const serializeAws_json1_1ImportCertificateRequest = (input, context) => {
|
|
3598
3598
|
return {
|
|
3599
|
-
...(input.ActiveDate != null && { ActiveDate: Math.round(input.ActiveDate.getTime() / 1000)
|
|
3599
|
+
...(input.ActiveDate != null && { ActiveDate: Math.round(input.ActiveDate.getTime() / 1000) }),
|
|
3600
3600
|
...(input.Certificate != null && { Certificate: input.Certificate }),
|
|
3601
3601
|
...(input.CertificateChain != null && { CertificateChain: input.CertificateChain }),
|
|
3602
3602
|
...(input.Description != null && { Description: input.Description }),
|
|
3603
|
-
...(input.InactiveDate != null && { InactiveDate: Math.round(input.InactiveDate.getTime() / 1000)
|
|
3603
|
+
...(input.InactiveDate != null && { InactiveDate: Math.round(input.InactiveDate.getTime() / 1000) }),
|
|
3604
3604
|
...(input.PrivateKey != null && { PrivateKey: input.PrivateKey }),
|
|
3605
3605
|
...(input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
3606
3606
|
...(input.Usage != null && { Usage: input.Usage }),
|
|
@@ -3890,10 +3890,10 @@ const serializeAws_json1_1UpdateAgreementRequest = (input, context) => {
|
|
|
3890
3890
|
};
|
|
3891
3891
|
const serializeAws_json1_1UpdateCertificateRequest = (input, context) => {
|
|
3892
3892
|
return {
|
|
3893
|
-
...(input.ActiveDate != null && { ActiveDate: Math.round(input.ActiveDate.getTime() / 1000)
|
|
3893
|
+
...(input.ActiveDate != null && { ActiveDate: Math.round(input.ActiveDate.getTime() / 1000) }),
|
|
3894
3894
|
...(input.CertificateId != null && { CertificateId: input.CertificateId }),
|
|
3895
3895
|
...(input.Description != null && { Description: input.Description }),
|
|
3896
|
-
...(input.InactiveDate != null && { InactiveDate: Math.round(input.InactiveDate.getTime() / 1000)
|
|
3896
|
+
...(input.InactiveDate != null && { InactiveDate: Math.round(input.InactiveDate.getTime() / 1000) }),
|
|
3897
3897
|
};
|
|
3898
3898
|
};
|
|
3899
3899
|
const serializeAws_json1_1UpdateConnectorRequest = (input, context) => {
|
|
@@ -3475,11 +3475,11 @@ const serializeAws_json1_1IdentityProviderDetails = (input, context) => {
|
|
|
3475
3475
|
};
|
|
3476
3476
|
const serializeAws_json1_1ImportCertificateRequest = (input, context) => {
|
|
3477
3477
|
return {
|
|
3478
|
-
...(input.ActiveDate != null && { ActiveDate: Math.round(input.ActiveDate.getTime() / 1000)
|
|
3478
|
+
...(input.ActiveDate != null && { ActiveDate: Math.round(input.ActiveDate.getTime() / 1000) }),
|
|
3479
3479
|
...(input.Certificate != null && { Certificate: input.Certificate }),
|
|
3480
3480
|
...(input.CertificateChain != null && { CertificateChain: input.CertificateChain }),
|
|
3481
3481
|
...(input.Description != null && { Description: input.Description }),
|
|
3482
|
-
...(input.InactiveDate != null && { InactiveDate: Math.round(input.InactiveDate.getTime() / 1000)
|
|
3482
|
+
...(input.InactiveDate != null && { InactiveDate: Math.round(input.InactiveDate.getTime() / 1000) }),
|
|
3483
3483
|
...(input.PrivateKey != null && { PrivateKey: input.PrivateKey }),
|
|
3484
3484
|
...(input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
3485
3485
|
...(input.Usage != null && { Usage: input.Usage }),
|
|
@@ -3769,10 +3769,10 @@ const serializeAws_json1_1UpdateAgreementRequest = (input, context) => {
|
|
|
3769
3769
|
};
|
|
3770
3770
|
const serializeAws_json1_1UpdateCertificateRequest = (input, context) => {
|
|
3771
3771
|
return {
|
|
3772
|
-
...(input.ActiveDate != null && { ActiveDate: Math.round(input.ActiveDate.getTime() / 1000)
|
|
3772
|
+
...(input.ActiveDate != null && { ActiveDate: Math.round(input.ActiveDate.getTime() / 1000) }),
|
|
3773
3773
|
...(input.CertificateId != null && { CertificateId: input.CertificateId }),
|
|
3774
3774
|
...(input.Description != null && { Description: input.Description }),
|
|
3775
|
-
...(input.InactiveDate != null && { InactiveDate: Math.round(input.InactiveDate.getTime() / 1000)
|
|
3775
|
+
...(input.InactiveDate != null && { InactiveDate: Math.round(input.InactiveDate.getTime() / 1000) }),
|
|
3776
3776
|
};
|
|
3777
3777
|
};
|
|
3778
3778
|
const serializeAws_json1_1UpdateConnectorRequest = (input, context) => {
|
|
@@ -5,8 +5,8 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { CreateAccessCommandInput, CreateAccessCommandOutput } from "./commands/CreateAccessCommand";
|
|
11
11
|
import { CreateAgreementCommandInput, CreateAgreementCommandOutput } from "./commands/CreateAgreementCommand";
|
|
12
12
|
import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
@@ -74,11 +74,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
74
74
|
*/
|
|
75
75
|
requestHandler?: __HttpHandler;
|
|
76
76
|
/**
|
|
77
|
-
* A constructor for a class implementing the {@link
|
|
77
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
78
78
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
79
79
|
* @internal
|
|
80
80
|
*/
|
|
81
|
-
sha256?: __HashConstructor;
|
|
81
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
82
82
|
/**
|
|
83
83
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
84
84
|
* @internal
|
|
@@ -164,9 +164,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
164
164
|
*/
|
|
165
165
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
166
166
|
/**
|
|
167
|
-
* The {@link
|
|
167
|
+
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
168
168
|
*/
|
|
169
|
-
defaultsMode?:
|
|
169
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
170
170
|
}
|
|
171
171
|
declare type TransferClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
172
172
|
/**
|
|
@@ -25,12 +25,13 @@ import {
|
|
|
25
25
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
26
26
|
import {
|
|
27
27
|
Client as __Client,
|
|
28
|
-
DefaultsMode,
|
|
28
|
+
DefaultsMode as __DefaultsMode,
|
|
29
29
|
SmithyConfiguration as __SmithyConfiguration,
|
|
30
30
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
31
31
|
} from "@aws-sdk/smithy-client";
|
|
32
32
|
import {
|
|
33
33
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
34
35
|
Credentials as __Credentials,
|
|
35
36
|
Decoder as __Decoder,
|
|
36
37
|
Encoder as __Encoder,
|
|
@@ -401,7 +402,7 @@ export declare type ServiceOutputTypes =
|
|
|
401
402
|
export interface ClientDefaults
|
|
402
403
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
403
404
|
requestHandler?: __HttpHandler;
|
|
404
|
-
sha256?: __HashConstructor;
|
|
405
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
405
406
|
urlParser?: __UrlParser;
|
|
406
407
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
407
408
|
streamCollector?: __StreamCollector;
|
|
@@ -420,7 +421,7 @@ export interface ClientDefaults
|
|
|
420
421
|
region?: string | __Provider<string>;
|
|
421
422
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
422
423
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
423
|
-
defaultsMode?:
|
|
424
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
424
425
|
}
|
|
425
426
|
declare type TransferClientConfigType = Partial<
|
|
426
427
|
__SmithyConfiguration<__HttpHandlerOptions>
|
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.
|
|
4
|
+
"version": "3.256.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,42 +18,42 @@
|
|
|
18
18
|
"module": "./dist-es/index.js",
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aws-crypto/sha256-browser": "
|
|
22
|
-
"@aws-crypto/sha256-js": "
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.256.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.256.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.254.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.254.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.254.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.254.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.254.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.254.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.254.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.254.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.254.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.254.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.254.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.254.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.254.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.254.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.254.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.254.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.254.0",
|
|
43
|
+
"@aws-sdk/types": "3.254.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.254.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.254.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.254.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.254.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.254.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.254.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.254.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
55
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
56
|
+
"@aws-sdk/util-waiter": "3.254.0",
|
|
57
57
|
"tslib": "^2.3.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|