@aws-sdk/client-transfer 3.48.0 → 3.52.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 CHANGED
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-transfer
20
+
21
+
22
+
23
+
24
+
25
+ # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-transfer
28
+
29
+
30
+
31
+
32
+
33
+ # [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
34
+
35
+ **Note:** Version bump only for package @aws-sdk/client-transfer
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
7
42
 
8
43
  **Note:** Version bump only for package @aws-sdk/client-transfer
@@ -2923,6 +2923,14 @@ const serializeAws_json1_1CreateServerRequest = (input, context) => {
2923
2923
  ...(input.IdentityProviderType !== undefined &&
2924
2924
  input.IdentityProviderType !== null && { IdentityProviderType: input.IdentityProviderType }),
2925
2925
  ...(input.LoggingRole !== undefined && input.LoggingRole !== null && { LoggingRole: input.LoggingRole }),
2926
+ ...(input.PostAuthenticationLoginBanner !== undefined &&
2927
+ input.PostAuthenticationLoginBanner !== null && {
2928
+ PostAuthenticationLoginBanner: input.PostAuthenticationLoginBanner,
2929
+ }),
2930
+ ...(input.PreAuthenticationLoginBanner !== undefined &&
2931
+ input.PreAuthenticationLoginBanner !== null && {
2932
+ PreAuthenticationLoginBanner: input.PreAuthenticationLoginBanner,
2933
+ }),
2926
2934
  ...(input.ProtocolDetails !== undefined &&
2927
2935
  input.ProtocolDetails !== null && {
2928
2936
  ProtocolDetails: serializeAws_json1_1ProtocolDetails(input.ProtocolDetails, context),
@@ -3353,6 +3361,14 @@ const serializeAws_json1_1UpdateServerRequest = (input, context) => {
3353
3361
  IdentityProviderDetails: serializeAws_json1_1IdentityProviderDetails(input.IdentityProviderDetails, context),
3354
3362
  }),
3355
3363
  ...(input.LoggingRole !== undefined && input.LoggingRole !== null && { LoggingRole: input.LoggingRole }),
3364
+ ...(input.PostAuthenticationLoginBanner !== undefined &&
3365
+ input.PostAuthenticationLoginBanner !== null && {
3366
+ PostAuthenticationLoginBanner: input.PostAuthenticationLoginBanner,
3367
+ }),
3368
+ ...(input.PreAuthenticationLoginBanner !== undefined &&
3369
+ input.PreAuthenticationLoginBanner !== null && {
3370
+ PreAuthenticationLoginBanner: input.PreAuthenticationLoginBanner,
3371
+ }),
3356
3372
  ...(input.ProtocolDetails !== undefined &&
3357
3373
  input.ProtocolDetails !== null && {
3358
3374
  ProtocolDetails: serializeAws_json1_1ProtocolDetails(input.ProtocolDetails, context),
@@ -3569,6 +3585,8 @@ const deserializeAws_json1_1DescribedServer = (output, context) => {
3569
3585
  : undefined,
3570
3586
  IdentityProviderType: smithy_client_1.expectString(output.IdentityProviderType),
3571
3587
  LoggingRole: smithy_client_1.expectString(output.LoggingRole),
3588
+ PostAuthenticationLoginBanner: smithy_client_1.expectString(output.PostAuthenticationLoginBanner),
3589
+ PreAuthenticationLoginBanner: smithy_client_1.expectString(output.PreAuthenticationLoginBanner),
3572
3590
  ProtocolDetails: output.ProtocolDetails !== undefined && output.ProtocolDetails !== null
3573
3591
  ? deserializeAws_json1_1ProtocolDetails(output.ProtocolDetails, context)
3574
3592
  : undefined,
@@ -3220,14 +3220,20 @@ var serializeAws_json1_1CreateAccessRequest = function (input, context) {
3220
3220
  input.PosixProfile !== null && { PosixProfile: serializeAws_json1_1PosixProfile(input.PosixProfile, context) })), (input.Role !== undefined && input.Role !== null && { Role: input.Role })), (input.ServerId !== undefined && input.ServerId !== null && { ServerId: input.ServerId }));
3221
3221
  };
3222
3222
  var serializeAws_json1_1CreateServerRequest = function (input, context) {
3223
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Certificate !== undefined && input.Certificate !== null && { Certificate: input.Certificate })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.EndpointDetails !== undefined &&
3223
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Certificate !== undefined && input.Certificate !== null && { Certificate: input.Certificate })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.EndpointDetails !== undefined &&
3224
3224
  input.EndpointDetails !== null && {
3225
3225
  EndpointDetails: serializeAws_json1_1EndpointDetails(input.EndpointDetails, context),
3226
3226
  })), (input.EndpointType !== undefined && input.EndpointType !== null && { EndpointType: input.EndpointType })), (input.HostKey !== undefined && input.HostKey !== null && { HostKey: input.HostKey })), (input.IdentityProviderDetails !== undefined &&
3227
3227
  input.IdentityProviderDetails !== null && {
3228
3228
  IdentityProviderDetails: serializeAws_json1_1IdentityProviderDetails(input.IdentityProviderDetails, context),
3229
3229
  })), (input.IdentityProviderType !== undefined &&
3230
- input.IdentityProviderType !== null && { IdentityProviderType: input.IdentityProviderType })), (input.LoggingRole !== undefined && input.LoggingRole !== null && { LoggingRole: input.LoggingRole })), (input.ProtocolDetails !== undefined &&
3230
+ input.IdentityProviderType !== null && { IdentityProviderType: input.IdentityProviderType })), (input.LoggingRole !== undefined && input.LoggingRole !== null && { LoggingRole: input.LoggingRole })), (input.PostAuthenticationLoginBanner !== undefined &&
3231
+ input.PostAuthenticationLoginBanner !== null && {
3232
+ PostAuthenticationLoginBanner: input.PostAuthenticationLoginBanner,
3233
+ })), (input.PreAuthenticationLoginBanner !== undefined &&
3234
+ input.PreAuthenticationLoginBanner !== null && {
3235
+ PreAuthenticationLoginBanner: input.PreAuthenticationLoginBanner,
3236
+ })), (input.ProtocolDetails !== undefined &&
3231
3237
  input.ProtocolDetails !== null && {
3232
3238
  ProtocolDetails: serializeAws_json1_1ProtocolDetails(input.ProtocolDetails, context),
3233
3239
  })), (input.Protocols !== undefined &&
@@ -3490,13 +3496,19 @@ var serializeAws_json1_1UpdateAccessRequest = function (input, context) {
3490
3496
  input.PosixProfile !== null && { PosixProfile: serializeAws_json1_1PosixProfile(input.PosixProfile, context) })), (input.Role !== undefined && input.Role !== null && { Role: input.Role })), (input.ServerId !== undefined && input.ServerId !== null && { ServerId: input.ServerId }));
3491
3497
  };
3492
3498
  var serializeAws_json1_1UpdateServerRequest = function (input, context) {
3493
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Certificate !== undefined && input.Certificate !== null && { Certificate: input.Certificate })), (input.EndpointDetails !== undefined &&
3499
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Certificate !== undefined && input.Certificate !== null && { Certificate: input.Certificate })), (input.EndpointDetails !== undefined &&
3494
3500
  input.EndpointDetails !== null && {
3495
3501
  EndpointDetails: serializeAws_json1_1EndpointDetails(input.EndpointDetails, context),
3496
3502
  })), (input.EndpointType !== undefined && input.EndpointType !== null && { EndpointType: input.EndpointType })), (input.HostKey !== undefined && input.HostKey !== null && { HostKey: input.HostKey })), (input.IdentityProviderDetails !== undefined &&
3497
3503
  input.IdentityProviderDetails !== null && {
3498
3504
  IdentityProviderDetails: serializeAws_json1_1IdentityProviderDetails(input.IdentityProviderDetails, context),
3499
- })), (input.LoggingRole !== undefined && input.LoggingRole !== null && { LoggingRole: input.LoggingRole })), (input.ProtocolDetails !== undefined &&
3505
+ })), (input.LoggingRole !== undefined && input.LoggingRole !== null && { LoggingRole: input.LoggingRole })), (input.PostAuthenticationLoginBanner !== undefined &&
3506
+ input.PostAuthenticationLoginBanner !== null && {
3507
+ PostAuthenticationLoginBanner: input.PostAuthenticationLoginBanner,
3508
+ })), (input.PreAuthenticationLoginBanner !== undefined &&
3509
+ input.PreAuthenticationLoginBanner !== null && {
3510
+ PreAuthenticationLoginBanner: input.PreAuthenticationLoginBanner,
3511
+ })), (input.ProtocolDetails !== undefined &&
3500
3512
  input.ProtocolDetails !== null && {
3501
3513
  ProtocolDetails: serializeAws_json1_1ProtocolDetails(input.ProtocolDetails, context),
3502
3514
  })), (input.Protocols !== undefined &&
@@ -3687,6 +3699,8 @@ var deserializeAws_json1_1DescribedServer = function (output, context) {
3687
3699
  : undefined,
3688
3700
  IdentityProviderType: __expectString(output.IdentityProviderType),
3689
3701
  LoggingRole: __expectString(output.LoggingRole),
3702
+ PostAuthenticationLoginBanner: __expectString(output.PostAuthenticationLoginBanner),
3703
+ PreAuthenticationLoginBanner: __expectString(output.PreAuthenticationLoginBanner),
3690
3704
  ProtocolDetails: output.ProtocolDetails !== undefined && output.ProtocolDetails !== null
3691
3705
  ? deserializeAws_json1_1ProtocolDetails(output.ProtocolDetails, context)
3692
3706
  : undefined,
@@ -732,6 +732,8 @@ export interface CreateServerRequest {
732
732
  * your CloudWatch logs.</p>
733
733
  */
734
734
  LoggingRole?: string;
735
+ PostAuthenticationLoginBanner?: string;
736
+ PreAuthenticationLoginBanner?: string;
735
737
  /**
736
738
  * <p>Specifies the file transfer protocol or protocols over which your file transfer protocol
737
739
  * client can connect to your server's endpoint. The available protocols are:</p>
@@ -1766,6 +1768,8 @@ export interface DescribedServer {
1766
1768
  * your CloudWatch logs.</p>
1767
1769
  */
1768
1770
  LoggingRole?: string;
1771
+ PostAuthenticationLoginBanner?: string;
1772
+ PreAuthenticationLoginBanner?: string;
1769
1773
  /**
1770
1774
  * <p>Specifies the file transfer protocol or protocols over which your file transfer protocol
1771
1775
  * client can connect to your server's endpoint. The available protocols are:</p>
@@ -3118,6 +3122,8 @@ export interface UpdateServerRequest {
3118
3122
  * your CloudWatch logs.</p>
3119
3123
  */
3120
3124
  LoggingRole?: string;
3125
+ PostAuthenticationLoginBanner?: string;
3126
+ PreAuthenticationLoginBanner?: string;
3121
3127
  /**
3122
3128
  * <p>Specifies the file transfer protocol or protocols over which your file transfer protocol
3123
3129
  * client can connect to your server's endpoint. The available protocols are:</p>
@@ -271,6 +271,8 @@ export interface CreateServerRequest {
271
271
  IdentityProviderType?: IdentityProviderType | string;
272
272
 
273
273
  LoggingRole?: string;
274
+ PostAuthenticationLoginBanner?: string;
275
+ PreAuthenticationLoginBanner?: string;
274
276
 
275
277
  Protocols?: (Protocol | string)[];
276
278
 
@@ -693,6 +695,8 @@ export interface DescribedServer {
693
695
  IdentityProviderType?: IdentityProviderType | string;
694
696
 
695
697
  LoggingRole?: string;
698
+ PostAuthenticationLoginBanner?: string;
699
+ PreAuthenticationLoginBanner?: string;
696
700
 
697
701
  Protocols?: (Protocol | string)[];
698
702
 
@@ -1264,6 +1268,8 @@ export interface UpdateServerRequest {
1264
1268
  IdentityProviderDetails?: IdentityProviderDetails;
1265
1269
 
1266
1270
  LoggingRole?: string;
1271
+ PostAuthenticationLoginBanner?: string;
1272
+ PreAuthenticationLoginBanner?: string;
1267
1273
 
1268
1274
  Protocols?: (Protocol | string)[];
1269
1275
 
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.48.0",
4
+ "version": "3.52.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",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,41 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.48.0",
22
- "@aws-sdk/config-resolver": "3.47.2",
23
- "@aws-sdk/credential-provider-node": "3.48.0",
24
- "@aws-sdk/fetch-http-handler": "3.47.2",
25
- "@aws-sdk/hash-node": "3.47.2",
26
- "@aws-sdk/invalid-dependency": "3.47.2",
27
- "@aws-sdk/middleware-content-length": "3.47.2",
28
- "@aws-sdk/middleware-host-header": "3.47.2",
29
- "@aws-sdk/middleware-logger": "3.47.2",
30
- "@aws-sdk/middleware-retry": "3.47.2",
31
- "@aws-sdk/middleware-serde": "3.47.2",
32
- "@aws-sdk/middleware-signing": "3.47.2",
33
- "@aws-sdk/middleware-stack": "3.47.2",
34
- "@aws-sdk/middleware-user-agent": "3.47.2",
35
- "@aws-sdk/node-config-provider": "3.47.2",
36
- "@aws-sdk/node-http-handler": "3.47.2",
37
- "@aws-sdk/protocol-http": "3.47.2",
38
- "@aws-sdk/smithy-client": "3.47.2",
39
- "@aws-sdk/types": "3.47.1",
40
- "@aws-sdk/url-parser": "3.47.2",
41
- "@aws-sdk/util-base64-browser": "3.47.1",
42
- "@aws-sdk/util-base64-node": "3.47.2",
43
- "@aws-sdk/util-body-length-browser": "3.47.1",
44
- "@aws-sdk/util-body-length-node": "3.47.1",
45
- "@aws-sdk/util-defaults-mode-browser": "3.47.2",
46
- "@aws-sdk/util-defaults-mode-node": "3.47.2",
47
- "@aws-sdk/util-user-agent-browser": "3.47.2",
48
- "@aws-sdk/util-user-agent-node": "3.47.2",
49
- "@aws-sdk/util-utf8-browser": "3.47.1",
50
- "@aws-sdk/util-utf8-node": "3.47.2",
21
+ "@aws-sdk/client-sts": "3.52.0",
22
+ "@aws-sdk/config-resolver": "3.52.0",
23
+ "@aws-sdk/credential-provider-node": "3.52.0",
24
+ "@aws-sdk/fetch-http-handler": "3.52.0",
25
+ "@aws-sdk/hash-node": "3.52.0",
26
+ "@aws-sdk/invalid-dependency": "3.52.0",
27
+ "@aws-sdk/middleware-content-length": "3.52.0",
28
+ "@aws-sdk/middleware-host-header": "3.52.0",
29
+ "@aws-sdk/middleware-logger": "3.52.0",
30
+ "@aws-sdk/middleware-retry": "3.52.0",
31
+ "@aws-sdk/middleware-serde": "3.52.0",
32
+ "@aws-sdk/middleware-signing": "3.52.0",
33
+ "@aws-sdk/middleware-stack": "3.52.0",
34
+ "@aws-sdk/middleware-user-agent": "3.52.0",
35
+ "@aws-sdk/node-config-provider": "3.52.0",
36
+ "@aws-sdk/node-http-handler": "3.52.0",
37
+ "@aws-sdk/protocol-http": "3.52.0",
38
+ "@aws-sdk/smithy-client": "3.52.0",
39
+ "@aws-sdk/types": "3.52.0",
40
+ "@aws-sdk/url-parser": "3.52.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.52.0",
44
+ "@aws-sdk/util-body-length-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.52.0",
48
+ "@aws-sdk/util-user-agent-node": "3.52.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.47.1",
55
- "@types/node": "^12.7.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
+ "@tsconfig/recommended": "1.0.1",
56
+ "@types/node": "^12.7.5",
57
+ "concurrently": "7.0.0",
58
+ "downlevel-dts": "0.7.0",
59
+ "rimraf": "3.0.2",
60
+ "typedoc": "0.19.2",
61
+ "typescript": "~4.3.5"
56
62
  },
57
63
  "engines": {
58
64
  "node": ">=12.0.0"