@aws-sdk/client-transfer 3.450.0 → 3.453.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateServerRequestFilterSensitiveLog = exports.TestIdentityProviderRequestFilterSensitiveLog = exports.ImportHostKeyRequestFilterSensitiveLog = exports.ImportCertificateRequestFilterSensitiveLog = exports.DescribeCertificateResponseFilterSensitiveLog = exports.DescribedCertificateFilterSensitiveLog = exports.CreateServerRequestFilterSensitiveLog = exports.InvalidNextTokenException = exports.State = exports.ExecutionStatus = exports.ExecutionErrorType = exports.CustomStepStatus = exports.WorkflowStepType = exports.EncryptionType = exports.Protocol = exports.TlsSessionResumptionMode = exports.SetStatOption = exports.IdentityProviderType = exports.SftpAuthenticationMethods = exports.EndpointType = exports.Domain = exports.ProfileType = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.ResourceExistsException = exports.InvalidRequestException = exports.InternalServiceError = exports.HomeDirectoryType = exports.OverwriteExisting = exports.ConflictException = exports.CertificateUsageType = exports.CertificateType = exports.CertificateStatusType = exports.As2Transport = exports.SigningAlg = exports.MdnSigningAlg = exports.MdnResponse = exports.EncryptionAlg = exports.CompressionEnum = exports.AgreementStatusType = exports.AccessDeniedException = void 0;
3
+ exports.UpdateServerRequestFilterSensitiveLog = exports.TestIdentityProviderRequestFilterSensitiveLog = exports.ImportHostKeyRequestFilterSensitiveLog = exports.ImportCertificateRequestFilterSensitiveLog = exports.DescribeCertificateResponseFilterSensitiveLog = exports.DescribedCertificateFilterSensitiveLog = exports.CreateServerRequestFilterSensitiveLog = exports.InvalidNextTokenException = exports.State = exports.ExecutionStatus = exports.ExecutionErrorType = exports.CustomStepStatus = exports.WorkflowStepType = exports.EncryptionType = exports.DirectoryListingOptimization = exports.Protocol = exports.TlsSessionResumptionMode = exports.SetStatOption = exports.IdentityProviderType = exports.SftpAuthenticationMethods = exports.EndpointType = exports.Domain = exports.ProfileType = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.ResourceExistsException = exports.InvalidRequestException = exports.InternalServiceError = exports.HomeDirectoryType = exports.MapType = exports.OverwriteExisting = exports.ConflictException = exports.CertificateUsageType = exports.CertificateType = exports.CertificateStatusType = exports.As2Transport = exports.SigningAlg = exports.MdnSigningAlg = exports.MdnResponse = exports.EncryptionAlg = exports.CompressionEnum = exports.AgreementStatusType = exports.AccessDeniedException = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const TransferServiceException_1 = require("./TransferServiceException");
6
6
  class AccessDeniedException extends TransferServiceException_1.TransferServiceException {
@@ -84,6 +84,10 @@ exports.OverwriteExisting = {
84
84
  FALSE: "FALSE",
85
85
  TRUE: "TRUE",
86
86
  };
87
+ exports.MapType = {
88
+ DIRECTORY: "DIRECTORY",
89
+ FILE: "FILE",
90
+ };
87
91
  exports.HomeDirectoryType = {
88
92
  LOGICAL: "LOGICAL",
89
93
  PATH: "PATH",
@@ -216,6 +220,10 @@ exports.Protocol = {
216
220
  FTPS: "FTPS",
217
221
  SFTP: "SFTP",
218
222
  };
223
+ exports.DirectoryListingOptimization = {
224
+ DISABLED: "DISABLED",
225
+ ENABLED: "ENABLED",
226
+ };
219
227
  exports.EncryptionType = {
220
228
  PGP: "PGP",
221
229
  };
@@ -79,6 +79,10 @@ export const OverwriteExisting = {
79
79
  FALSE: "FALSE",
80
80
  TRUE: "TRUE",
81
81
  };
82
+ export const MapType = {
83
+ DIRECTORY: "DIRECTORY",
84
+ FILE: "FILE",
85
+ };
82
86
  export const HomeDirectoryType = {
83
87
  LOGICAL: "LOGICAL",
84
88
  PATH: "PATH",
@@ -205,6 +209,10 @@ export const Protocol = {
205
209
  FTPS: "FTPS",
206
210
  SFTP: "SFTP",
207
211
  };
212
+ export const DirectoryListingOptimization = {
213
+ DISABLED: "DISABLED",
214
+ ENABLED: "ENABLED",
215
+ };
208
216
  export const EncryptionType = {
209
217
  PGP: "PGP",
210
218
  };
@@ -42,6 +42,7 @@ export interface CreateAccessCommandOutput extends CreateAccessResponse, __Metad
42
42
  * { // HomeDirectoryMapEntry
43
43
  * Entry: "STRING_VALUE", // required
44
44
  * Target: "STRING_VALUE", // required
45
+ * Type: "FILE" || "DIRECTORY",
45
46
  * },
46
47
  * ],
47
48
  * Policy: "STRING_VALUE",
@@ -97,6 +97,9 @@ export interface CreateServerCommandOutput extends CreateServerResponse, __Metad
97
97
  * StructuredLogDestinations: [ // StructuredLogDestinations
98
98
  * "STRING_VALUE",
99
99
  * ],
100
+ * S3StorageOptions: { // S3StorageOptions
101
+ * DirectoryListingOptimization: "ENABLED" || "DISABLED",
102
+ * },
100
103
  * };
101
104
  * const command = new CreateServerCommand(input);
102
105
  * const response = await client.send(command);
@@ -43,6 +43,7 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
43
43
  * { // HomeDirectoryMapEntry
44
44
  * Entry: "STRING_VALUE", // required
45
45
  * Target: "STRING_VALUE", // required
46
+ * Type: "FILE" || "DIRECTORY",
46
47
  * },
47
48
  * ],
48
49
  * Policy: "STRING_VALUE",
@@ -48,6 +48,7 @@ export interface DescribeAccessCommandOutput extends DescribeAccessResponse, __M
48
48
  * // { // HomeDirectoryMapEntry
49
49
  * // Entry: "STRING_VALUE", // required
50
50
  * // Target: "STRING_VALUE", // required
51
+ * // Type: "FILE" || "DIRECTORY",
51
52
  * // },
52
53
  * // ],
53
54
  * // HomeDirectoryType: "PATH" || "LOGICAL",
@@ -108,6 +108,9 @@ export interface DescribeServerCommandOutput extends DescribeServerResponse, __M
108
108
  * // StructuredLogDestinations: [ // StructuredLogDestinations
109
109
  * // "STRING_VALUE",
110
110
  * // ],
111
+ * // S3StorageOptions: { // S3StorageOptions
112
+ * // DirectoryListingOptimization: "ENABLED" || "DISABLED",
113
+ * // },
111
114
  * // },
112
115
  * // };
113
116
  *
@@ -48,6 +48,7 @@ export interface DescribeUserCommandOutput extends DescribeUserResponse, __Metad
48
48
  * // { // HomeDirectoryMapEntry
49
49
  * // Entry: "STRING_VALUE", // required
50
50
  * // Target: "STRING_VALUE", // required
51
+ * // Type: "FILE" || "DIRECTORY",
51
52
  * // },
52
53
  * // ],
53
54
  * // HomeDirectoryType: "PATH" || "LOGICAL",
@@ -38,6 +38,7 @@ export interface UpdateAccessCommandOutput extends UpdateAccessResponse, __Metad
38
38
  * { // HomeDirectoryMapEntry
39
39
  * Entry: "STRING_VALUE", // required
40
40
  * Target: "STRING_VALUE", // required
41
+ * Type: "FILE" || "DIRECTORY",
41
42
  * },
42
43
  * ],
43
44
  * Policy: "STRING_VALUE",
@@ -90,6 +90,9 @@ export interface UpdateServerCommandOutput extends UpdateServerResponse, __Metad
90
90
  * StructuredLogDestinations: [ // StructuredLogDestinations
91
91
  * "STRING_VALUE",
92
92
  * ],
93
+ * S3StorageOptions: { // S3StorageOptions
94
+ * DirectoryListingOptimization: "ENABLED" || "DISABLED",
95
+ * },
93
96
  * };
94
97
  * const command = new UpdateServerCommand(input);
95
98
  * const response = await client.send(command);
@@ -41,6 +41,7 @@ export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataB
41
41
  * { // HomeDirectoryMapEntry
42
42
  * Entry: "STRING_VALUE", // required
43
43
  * Target: "STRING_VALUE", // required
44
+ * Type: "FILE" || "DIRECTORY",
44
45
  * },
45
46
  * ],
46
47
  * Policy: "STRING_VALUE",
@@ -390,6 +390,18 @@ export interface CopyStepDetails {
390
390
  */
391
391
  SourceFileLocation?: string;
392
392
  }
393
+ /**
394
+ * @public
395
+ * @enum
396
+ */
397
+ export declare const MapType: {
398
+ readonly DIRECTORY: "DIRECTORY";
399
+ readonly FILE: "FILE";
400
+ };
401
+ /**
402
+ * @public
403
+ */
404
+ export type MapType = (typeof MapType)[keyof typeof MapType];
393
405
  /**
394
406
  * @public
395
407
  * <p>Represents an object that contains entries and targets for
@@ -407,9 +419,19 @@ export interface HomeDirectoryMapEntry {
407
419
  Entry: string | undefined;
408
420
  /**
409
421
  * @public
410
- * <p>Represents the map target that is used in a <code>HomeDirectorymapEntry</code>.</p>
422
+ * <p>Represents the map target that is used in a <code>HomeDirectoryMapEntry</code>.</p>
411
423
  */
412
424
  Target: string | undefined;
425
+ /**
426
+ * @public
427
+ * <p>Specifies the type of mapping. Set the type to <code>FILE</code> if you want the mapping to point to a file, or <code>DIRECTORY</code> for the directory to point to a directory.</p>
428
+ * <note>
429
+ * <p>By default, home directory mappings have a <code>Type</code> of <code>DIRECTORY</code> when you create a Transfer Family server. You would need to explicitly
430
+ * set <code>Type</code> to <code>FILE</code> if you want a mapping to have a file
431
+ * target.</p>
432
+ * </note>
433
+ */
434
+ Type?: MapType;
413
435
  }
414
436
  /**
415
437
  * @public
@@ -1231,6 +1253,31 @@ export declare const Protocol: {
1231
1253
  * @public
1232
1254
  */
1233
1255
  export type Protocol = (typeof Protocol)[keyof typeof Protocol];
1256
+ /**
1257
+ * @public
1258
+ * @enum
1259
+ */
1260
+ export declare const DirectoryListingOptimization: {
1261
+ readonly DISABLED: "DISABLED";
1262
+ readonly ENABLED: "ENABLED";
1263
+ };
1264
+ /**
1265
+ * @public
1266
+ */
1267
+ export type DirectoryListingOptimization = (typeof DirectoryListingOptimization)[keyof typeof DirectoryListingOptimization];
1268
+ /**
1269
+ * @public
1270
+ * <p>The Amazon S3 storage options that are configured for your server.</p>
1271
+ */
1272
+ export interface S3StorageOptions {
1273
+ /**
1274
+ * @public
1275
+ * <p>Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.</p>
1276
+ * <p>By default, home directory mappings have a <code>TYPE</code> of <code>DIRECTORY</code>. If you enable this option, you would then need to explicitly set the <code>HomeDirectoryMapEntry</code>
1277
+ * <code>Type</code> to <code>FILE</code> if you want a mapping to have a file target.</p>
1278
+ */
1279
+ DirectoryListingOptimization?: DirectoryListingOptimization;
1280
+ }
1234
1281
  /**
1235
1282
  * @public
1236
1283
  * <p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p>
@@ -1547,6 +1594,13 @@ export interface CreateServerRequest {
1547
1594
  * </p>
1548
1595
  */
1549
1596
  StructuredLogDestinations?: string[];
1597
+ /**
1598
+ * @public
1599
+ * <p>Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.</p>
1600
+ * <p>By default, home directory mappings have a <code>TYPE</code> of <code>DIRECTORY</code>. If you enable this option, you would then need to explicitly set the <code>HomeDirectoryMapEntry</code>
1601
+ * <code>Type</code> to <code>FILE</code> if you want a mapping to have a file target.</p>
1602
+ */
1603
+ S3StorageOptions?: S3StorageOptions;
1550
1604
  }
1551
1605
  /**
1552
1606
  * @public
@@ -3395,6 +3449,13 @@ export interface DescribedServer {
3395
3449
  * </p>
3396
3450
  */
3397
3451
  StructuredLogDestinations?: string[];
3452
+ /**
3453
+ * @public
3454
+ * <p>Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.</p>
3455
+ * <p>By default, home directory mappings have a <code>TYPE</code> of <code>DIRECTORY</code>. If you enable this option, you would then need to explicitly set the <code>HomeDirectoryMapEntry</code>
3456
+ * <code>Type</code> to <code>FILE</code> if you want a mapping to have a file target.</p>
3457
+ */
3458
+ S3StorageOptions?: S3StorageOptions;
3398
3459
  }
3399
3460
  /**
3400
3461
  * @public
@@ -5727,6 +5788,13 @@ export interface UpdateServerRequest {
5727
5788
  * </p>
5728
5789
  */
5729
5790
  StructuredLogDestinations?: string[];
5791
+ /**
5792
+ * @public
5793
+ * <p>Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.</p>
5794
+ * <p>By default, home directory mappings have a <code>TYPE</code> of <code>DIRECTORY</code>. If you enable this option, you would then need to explicitly set the <code>HomeDirectoryMapEntry</code>
5795
+ * <code>Type</code> to <code>FILE</code> if you want a mapping to have a file target.</p>
5796
+ */
5797
+ S3StorageOptions?: S3StorageOptions;
5730
5798
  }
5731
5799
  /**
5732
5800
  * @public
@@ -113,9 +113,15 @@ export interface CopyStepDetails {
113
113
  OverwriteExisting?: OverwriteExisting;
114
114
  SourceFileLocation?: string;
115
115
  }
116
+ export declare const MapType: {
117
+ readonly DIRECTORY: "DIRECTORY";
118
+ readonly FILE: "FILE";
119
+ };
120
+ export type MapType = (typeof MapType)[keyof typeof MapType];
116
121
  export interface HomeDirectoryMapEntry {
117
122
  Entry: string | undefined;
118
123
  Target: string | undefined;
124
+ Type?: MapType;
119
125
  }
120
126
  export declare const HomeDirectoryType: {
121
127
  readonly LOGICAL: "LOGICAL";
@@ -306,6 +312,15 @@ export declare const Protocol: {
306
312
  readonly SFTP: "SFTP";
307
313
  };
308
314
  export type Protocol = (typeof Protocol)[keyof typeof Protocol];
315
+ export declare const DirectoryListingOptimization: {
316
+ readonly DISABLED: "DISABLED";
317
+ readonly ENABLED: "ENABLED";
318
+ };
319
+ export type DirectoryListingOptimization =
320
+ (typeof DirectoryListingOptimization)[keyof typeof DirectoryListingOptimization];
321
+ export interface S3StorageOptions {
322
+ DirectoryListingOptimization?: DirectoryListingOptimization;
323
+ }
309
324
  export interface WorkflowDetail {
310
325
  WorkflowId: string | undefined;
311
326
  ExecutionRole: string | undefined;
@@ -331,6 +346,7 @@ export interface CreateServerRequest {
331
346
  Tags?: Tag[];
332
347
  WorkflowDetails?: WorkflowDetails;
333
348
  StructuredLogDestinations?: string[];
349
+ S3StorageOptions?: S3StorageOptions;
334
350
  }
335
351
  export interface CreateServerResponse {
336
352
  ServerId: string | undefined;
@@ -644,6 +660,7 @@ export interface DescribedServer {
644
660
  UserCount?: number;
645
661
  WorkflowDetails?: WorkflowDetails;
646
662
  StructuredLogDestinations?: string[];
663
+ S3StorageOptions?: S3StorageOptions;
647
664
  }
648
665
  export interface SshPublicKey {
649
666
  DateImported: Date | undefined;
@@ -1069,6 +1086,7 @@ export interface UpdateServerRequest {
1069
1086
  ServerId: string | undefined;
1070
1087
  WorkflowDetails?: WorkflowDetails;
1071
1088
  StructuredLogDestinations?: string[];
1089
+ S3StorageOptions?: S3StorageOptions;
1072
1090
  }
1073
1091
  export interface UpdateServerResponse {
1074
1092
  ServerId: string | undefined;
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.450.0",
4
+ "version": "3.453.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",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.450.0",
25
- "@aws-sdk/core": "3.445.0",
26
- "@aws-sdk/credential-provider-node": "3.450.0",
27
- "@aws-sdk/middleware-host-header": "3.449.0",
28
- "@aws-sdk/middleware-logger": "3.449.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.449.0",
30
- "@aws-sdk/middleware-signing": "3.449.0",
31
- "@aws-sdk/middleware-user-agent": "3.449.0",
32
- "@aws-sdk/region-config-resolver": "3.433.0",
33
- "@aws-sdk/types": "3.449.0",
34
- "@aws-sdk/util-endpoints": "3.449.0",
35
- "@aws-sdk/util-user-agent-browser": "3.449.0",
36
- "@aws-sdk/util-user-agent-node": "3.449.0",
37
- "@smithy/config-resolver": "^2.0.16",
38
- "@smithy/fetch-http-handler": "^2.2.4",
39
- "@smithy/hash-node": "^2.0.12",
40
- "@smithy/invalid-dependency": "^2.0.12",
41
- "@smithy/middleware-content-length": "^2.0.14",
42
- "@smithy/middleware-endpoint": "^2.1.3",
43
- "@smithy/middleware-retry": "^2.0.18",
44
- "@smithy/middleware-serde": "^2.0.12",
45
- "@smithy/middleware-stack": "^2.0.6",
46
- "@smithy/node-config-provider": "^2.1.3",
47
- "@smithy/node-http-handler": "^2.1.8",
48
- "@smithy/protocol-http": "^3.0.8",
49
- "@smithy/smithy-client": "^2.1.12",
50
- "@smithy/types": "^2.4.0",
51
- "@smithy/url-parser": "^2.0.12",
52
- "@smithy/util-base64": "^2.0.0",
24
+ "@aws-sdk/client-sts": "3.451.0",
25
+ "@aws-sdk/core": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.451.0",
27
+ "@aws-sdk/middleware-host-header": "3.451.0",
28
+ "@aws-sdk/middleware-logger": "3.451.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.451.0",
30
+ "@aws-sdk/middleware-signing": "3.451.0",
31
+ "@aws-sdk/middleware-user-agent": "3.451.0",
32
+ "@aws-sdk/region-config-resolver": "3.451.0",
33
+ "@aws-sdk/types": "3.451.0",
34
+ "@aws-sdk/util-endpoints": "3.451.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.451.0",
36
+ "@aws-sdk/util-user-agent-node": "3.451.0",
37
+ "@smithy/config-resolver": "^2.0.18",
38
+ "@smithy/fetch-http-handler": "^2.2.6",
39
+ "@smithy/hash-node": "^2.0.15",
40
+ "@smithy/invalid-dependency": "^2.0.13",
41
+ "@smithy/middleware-content-length": "^2.0.15",
42
+ "@smithy/middleware-endpoint": "^2.2.0",
43
+ "@smithy/middleware-retry": "^2.0.20",
44
+ "@smithy/middleware-serde": "^2.0.13",
45
+ "@smithy/middleware-stack": "^2.0.7",
46
+ "@smithy/node-config-provider": "^2.1.5",
47
+ "@smithy/node-http-handler": "^2.1.9",
48
+ "@smithy/protocol-http": "^3.0.9",
49
+ "@smithy/smithy-client": "^2.1.15",
50
+ "@smithy/types": "^2.5.0",
51
+ "@smithy/url-parser": "^2.0.13",
52
+ "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.16",
56
- "@smithy/util-defaults-mode-node": "^2.0.21",
57
- "@smithy/util-endpoints": "^1.0.2",
58
- "@smithy/util-retry": "^2.0.5",
59
- "@smithy/util-utf8": "^2.0.0",
60
- "@smithy/util-waiter": "^2.0.12",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.19",
56
+ "@smithy/util-defaults-mode-node": "^2.0.25",
57
+ "@smithy/util-endpoints": "^1.0.4",
58
+ "@smithy/util-retry": "^2.0.6",
59
+ "@smithy/util-utf8": "^2.0.2",
60
+ "@smithy/util-waiter": "^2.0.13",
61
61
  "tslib": "^2.5.0"
62
62
  },
63
63
  "devDependencies": {