@aws-sdk/client-transfer 3.301.0 → 3.303.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.
@@ -8,39 +8,47 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
- export declare enum AgreementStatusType {
12
- ACTIVE = "ACTIVE",
13
- INACTIVE = "INACTIVE",
14
- }
15
- export declare enum CompressionEnum {
16
- DISABLED = "DISABLED",
17
- ZLIB = "ZLIB",
18
- }
19
- export declare enum EncryptionAlg {
20
- AES128_CBC = "AES128_CBC",
21
- AES192_CBC = "AES192_CBC",
22
- AES256_CBC = "AES256_CBC",
23
- NONE = "NONE",
24
- }
25
- export declare enum MdnResponse {
26
- NONE = "NONE",
27
- SYNC = "SYNC",
28
- }
29
- export declare enum MdnSigningAlg {
30
- DEFAULT = "DEFAULT",
31
- NONE = "NONE",
32
- SHA1 = "SHA1",
33
- SHA256 = "SHA256",
34
- SHA384 = "SHA384",
35
- SHA512 = "SHA512",
36
- }
37
- export declare enum SigningAlg {
38
- NONE = "NONE",
39
- SHA1 = "SHA1",
40
- SHA256 = "SHA256",
41
- SHA384 = "SHA384",
42
- SHA512 = "SHA512",
43
- }
11
+ export declare const AgreementStatusType: {
12
+ readonly ACTIVE: "ACTIVE";
13
+ readonly INACTIVE: "INACTIVE";
14
+ };
15
+ export type AgreementStatusType =
16
+ (typeof AgreementStatusType)[keyof typeof AgreementStatusType];
17
+ export declare const CompressionEnum: {
18
+ readonly DISABLED: "DISABLED";
19
+ readonly ZLIB: "ZLIB";
20
+ };
21
+ export type CompressionEnum =
22
+ (typeof CompressionEnum)[keyof typeof CompressionEnum];
23
+ export declare const EncryptionAlg: {
24
+ readonly AES128_CBC: "AES128_CBC";
25
+ readonly AES192_CBC: "AES192_CBC";
26
+ readonly AES256_CBC: "AES256_CBC";
27
+ readonly NONE: "NONE";
28
+ };
29
+ export type EncryptionAlg = (typeof EncryptionAlg)[keyof typeof EncryptionAlg];
30
+ export declare const MdnResponse: {
31
+ readonly NONE: "NONE";
32
+ readonly SYNC: "SYNC";
33
+ };
34
+ export type MdnResponse = (typeof MdnResponse)[keyof typeof MdnResponse];
35
+ export declare const MdnSigningAlg: {
36
+ readonly DEFAULT: "DEFAULT";
37
+ readonly NONE: "NONE";
38
+ readonly SHA1: "SHA1";
39
+ readonly SHA256: "SHA256";
40
+ readonly SHA384: "SHA384";
41
+ readonly SHA512: "SHA512";
42
+ };
43
+ export type MdnSigningAlg = (typeof MdnSigningAlg)[keyof typeof MdnSigningAlg];
44
+ export declare const SigningAlg: {
45
+ readonly NONE: "NONE";
46
+ readonly SHA1: "SHA1";
47
+ readonly SHA256: "SHA256";
48
+ readonly SHA384: "SHA384";
49
+ readonly SHA512: "SHA512";
50
+ };
51
+ export type SigningAlg = (typeof SigningAlg)[keyof typeof SigningAlg];
44
52
  export interface As2ConnectorConfig {
45
53
  LocalProfileId?: string;
46
54
  PartnerProfileId?: string;
@@ -51,22 +59,29 @@ export interface As2ConnectorConfig {
51
59
  MdnSigningAlgorithm?: MdnSigningAlg | string;
52
60
  MdnResponse?: MdnResponse | string;
53
61
  }
54
- export declare enum As2Transport {
55
- HTTP = "HTTP",
56
- }
57
- export declare enum CertificateStatusType {
58
- ACTIVE = "ACTIVE",
59
- INACTIVE = "INACTIVE",
60
- PENDING_ROTATION = "PENDING_ROTATION",
61
- }
62
- export declare enum CertificateType {
63
- CERTIFICATE = "CERTIFICATE",
64
- CERTIFICATE_WITH_PRIVATE_KEY = "CERTIFICATE_WITH_PRIVATE_KEY",
65
- }
66
- export declare enum CertificateUsageType {
67
- ENCRYPTION = "ENCRYPTION",
68
- SIGNING = "SIGNING",
69
- }
62
+ export declare const As2Transport: {
63
+ readonly HTTP: "HTTP";
64
+ };
65
+ export type As2Transport = (typeof As2Transport)[keyof typeof As2Transport];
66
+ export declare const CertificateStatusType: {
67
+ readonly ACTIVE: "ACTIVE";
68
+ readonly INACTIVE: "INACTIVE";
69
+ readonly PENDING_ROTATION: "PENDING_ROTATION";
70
+ };
71
+ export type CertificateStatusType =
72
+ (typeof CertificateStatusType)[keyof typeof CertificateStatusType];
73
+ export declare const CertificateType: {
74
+ readonly CERTIFICATE: "CERTIFICATE";
75
+ readonly CERTIFICATE_WITH_PRIVATE_KEY: "CERTIFICATE_WITH_PRIVATE_KEY";
76
+ };
77
+ export type CertificateType =
78
+ (typeof CertificateType)[keyof typeof CertificateType];
79
+ export declare const CertificateUsageType: {
80
+ readonly ENCRYPTION: "ENCRYPTION";
81
+ readonly SIGNING: "SIGNING";
82
+ };
83
+ export type CertificateUsageType =
84
+ (typeof CertificateUsageType)[keyof typeof CertificateUsageType];
70
85
  export declare class ConflictException extends __BaseException {
71
86
  readonly name: "ConflictException";
72
87
  readonly $fault: "client";
@@ -85,10 +100,12 @@ export interface InputFileLocation {
85
100
  S3FileLocation?: S3InputFileLocation;
86
101
  EfsFileLocation?: EfsFileLocation;
87
102
  }
88
- export declare enum OverwriteExisting {
89
- FALSE = "FALSE",
90
- TRUE = "TRUE",
91
- }
103
+ export declare const OverwriteExisting: {
104
+ readonly FALSE: "FALSE";
105
+ readonly TRUE: "TRUE";
106
+ };
107
+ export type OverwriteExisting =
108
+ (typeof OverwriteExisting)[keyof typeof OverwriteExisting];
92
109
  export interface CopyStepDetails {
93
110
  Name?: string;
94
111
  DestinationFileLocation?: InputFileLocation;
@@ -99,10 +116,12 @@ export interface HomeDirectoryMapEntry {
99
116
  Entry: string | undefined;
100
117
  Target: string | undefined;
101
118
  }
102
- export declare enum HomeDirectoryType {
103
- LOGICAL = "LOGICAL",
104
- PATH = "PATH",
105
- }
119
+ export declare const HomeDirectoryType: {
120
+ readonly LOGICAL: "LOGICAL";
121
+ readonly PATH: "PATH";
122
+ };
123
+ export type HomeDirectoryType =
124
+ (typeof HomeDirectoryType)[keyof typeof HomeDirectoryType];
106
125
  export interface PosixProfile {
107
126
  Uid: number | undefined;
108
127
  Gid: number | undefined;
@@ -201,10 +220,11 @@ export interface CreateConnectorRequest {
201
220
  export interface CreateConnectorResponse {
202
221
  ConnectorId: string | undefined;
203
222
  }
204
- export declare enum ProfileType {
205
- LOCAL = "LOCAL",
206
- PARTNER = "PARTNER",
207
- }
223
+ export declare const ProfileType: {
224
+ readonly LOCAL: "LOCAL";
225
+ readonly PARTNER: "PARTNER";
226
+ };
227
+ export type ProfileType = (typeof ProfileType)[keyof typeof ProfileType];
208
228
  export interface CreateProfileRequest {
209
229
  As2Id: string | undefined;
210
230
  ProfileType: ProfileType | string | undefined;
@@ -214,10 +234,11 @@ export interface CreateProfileRequest {
214
234
  export interface CreateProfileResponse {
215
235
  ProfileId: string | undefined;
216
236
  }
217
- export declare enum Domain {
218
- EFS = "EFS",
219
- S3 = "S3",
220
- }
237
+ export declare const Domain: {
238
+ readonly EFS: "EFS";
239
+ readonly S3: "S3";
240
+ };
241
+ export type Domain = (typeof Domain)[keyof typeof Domain];
221
242
  export interface EndpointDetails {
222
243
  AddressAllocationIds?: string[];
223
244
  SubnetIds?: string[];
@@ -225,44 +246,51 @@ export interface EndpointDetails {
225
246
  VpcId?: string;
226
247
  SecurityGroupIds?: string[];
227
248
  }
228
- export declare enum EndpointType {
229
- PUBLIC = "PUBLIC",
230
- VPC = "VPC",
231
- VPC_ENDPOINT = "VPC_ENDPOINT",
232
- }
249
+ export declare const EndpointType: {
250
+ readonly PUBLIC: "PUBLIC";
251
+ readonly VPC: "VPC";
252
+ readonly VPC_ENDPOINT: "VPC_ENDPOINT";
253
+ };
254
+ export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
233
255
  export interface IdentityProviderDetails {
234
256
  Url?: string;
235
257
  InvocationRole?: string;
236
258
  DirectoryId?: string;
237
259
  Function?: string;
238
260
  }
239
- export declare enum IdentityProviderType {
240
- API_GATEWAY = "API_GATEWAY",
241
- AWS_DIRECTORY_SERVICE = "AWS_DIRECTORY_SERVICE",
242
- AWS_LAMBDA = "AWS_LAMBDA",
243
- SERVICE_MANAGED = "SERVICE_MANAGED",
244
- }
245
- export declare enum SetStatOption {
246
- DEFAULT = "DEFAULT",
247
- ENABLE_NO_OP = "ENABLE_NO_OP",
248
- }
249
- export declare enum TlsSessionResumptionMode {
250
- DISABLED = "DISABLED",
251
- ENABLED = "ENABLED",
252
- ENFORCED = "ENFORCED",
253
- }
261
+ export declare const IdentityProviderType: {
262
+ readonly API_GATEWAY: "API_GATEWAY";
263
+ readonly AWS_DIRECTORY_SERVICE: "AWS_DIRECTORY_SERVICE";
264
+ readonly AWS_LAMBDA: "AWS_LAMBDA";
265
+ readonly SERVICE_MANAGED: "SERVICE_MANAGED";
266
+ };
267
+ export type IdentityProviderType =
268
+ (typeof IdentityProviderType)[keyof typeof IdentityProviderType];
269
+ export declare const SetStatOption: {
270
+ readonly DEFAULT: "DEFAULT";
271
+ readonly ENABLE_NO_OP: "ENABLE_NO_OP";
272
+ };
273
+ export type SetStatOption = (typeof SetStatOption)[keyof typeof SetStatOption];
274
+ export declare const TlsSessionResumptionMode: {
275
+ readonly DISABLED: "DISABLED";
276
+ readonly ENABLED: "ENABLED";
277
+ readonly ENFORCED: "ENFORCED";
278
+ };
279
+ export type TlsSessionResumptionMode =
280
+ (typeof TlsSessionResumptionMode)[keyof typeof TlsSessionResumptionMode];
254
281
  export interface ProtocolDetails {
255
282
  PassiveIp?: string;
256
283
  TlsSessionResumptionMode?: TlsSessionResumptionMode | string;
257
284
  SetStatOption?: SetStatOption | string;
258
285
  As2Transports?: (As2Transport | string)[];
259
286
  }
260
- export declare enum Protocol {
261
- AS2 = "AS2",
262
- FTP = "FTP",
263
- FTPS = "FTPS",
264
- SFTP = "SFTP",
265
- }
287
+ export declare const Protocol: {
288
+ readonly AS2: "AS2";
289
+ readonly FTP: "FTP";
290
+ readonly FTPS: "FTPS";
291
+ readonly SFTP: "SFTP";
292
+ };
293
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
266
294
  export interface WorkflowDetail {
267
295
  WorkflowId: string | undefined;
268
296
  ExecutionRole: string | undefined;
@@ -313,9 +341,11 @@ export interface CustomStepDetails {
313
341
  TimeoutSeconds?: number;
314
342
  SourceFileLocation?: string;
315
343
  }
316
- export declare enum EncryptionType {
317
- PGP = "PGP",
318
- }
344
+ export declare const EncryptionType: {
345
+ readonly PGP: "PGP";
346
+ };
347
+ export type EncryptionType =
348
+ (typeof EncryptionType)[keyof typeof EncryptionType];
319
349
  export interface DecryptStepDetails {
320
350
  Name?: string;
321
351
  Type: EncryptionType | string | undefined;
@@ -336,13 +366,15 @@ export interface TagStepDetails {
336
366
  Tags?: S3Tag[];
337
367
  SourceFileLocation?: string;
338
368
  }
339
- export declare enum WorkflowStepType {
340
- COPY = "COPY",
341
- CUSTOM = "CUSTOM",
342
- DECRYPT = "DECRYPT",
343
- DELETE = "DELETE",
344
- TAG = "TAG",
345
- }
369
+ export declare const WorkflowStepType: {
370
+ readonly COPY: "COPY";
371
+ readonly CUSTOM: "CUSTOM";
372
+ readonly DECRYPT: "DECRYPT";
373
+ readonly DELETE: "DELETE";
374
+ readonly TAG: "TAG";
375
+ };
376
+ export type WorkflowStepType =
377
+ (typeof WorkflowStepType)[keyof typeof WorkflowStepType];
346
378
  export interface WorkflowStep {
347
379
  Type?: WorkflowStepType | string;
348
380
  CopyStepDetails?: CopyStepDetails;
@@ -360,10 +392,12 @@ export interface CreateWorkflowRequest {
360
392
  export interface CreateWorkflowResponse {
361
393
  WorkflowId: string | undefined;
362
394
  }
363
- export declare enum CustomStepStatus {
364
- FAILURE = "FAILURE",
365
- SUCCESS = "SUCCESS",
366
- }
395
+ export declare const CustomStepStatus: {
396
+ readonly FAILURE: "FAILURE";
397
+ readonly SUCCESS: "SUCCESS";
398
+ };
399
+ export type CustomStepStatus =
400
+ (typeof CustomStepStatus)[keyof typeof CustomStepStatus];
367
401
  export interface DeleteAccessRequest {
368
402
  ServerId: string | undefined;
369
403
  ExternalId: string | undefined;
@@ -487,16 +521,18 @@ export interface LoggingConfiguration {
487
521
  LoggingRole?: string;
488
522
  LogGroupName?: string;
489
523
  }
490
- export declare enum ExecutionErrorType {
491
- ALREADY_EXISTS = "ALREADY_EXISTS",
492
- BAD_REQUEST = "BAD_REQUEST",
493
- CUSTOM_STEP_FAILED = "CUSTOM_STEP_FAILED",
494
- INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR",
495
- NOT_FOUND = "NOT_FOUND",
496
- PERMISSION_DENIED = "PERMISSION_DENIED",
497
- THROTTLED = "THROTTLED",
498
- TIMEOUT = "TIMEOUT",
499
- }
524
+ export declare const ExecutionErrorType: {
525
+ readonly ALREADY_EXISTS: "ALREADY_EXISTS";
526
+ readonly BAD_REQUEST: "BAD_REQUEST";
527
+ readonly CUSTOM_STEP_FAILED: "CUSTOM_STEP_FAILED";
528
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
529
+ readonly NOT_FOUND: "NOT_FOUND";
530
+ readonly PERMISSION_DENIED: "PERMISSION_DENIED";
531
+ readonly THROTTLED: "THROTTLED";
532
+ readonly TIMEOUT: "TIMEOUT";
533
+ };
534
+ export type ExecutionErrorType =
535
+ (typeof ExecutionErrorType)[keyof typeof ExecutionErrorType];
500
536
  export interface ExecutionError {
501
537
  Type: ExecutionErrorType | string | undefined;
502
538
  Message: string | undefined;
@@ -518,12 +554,14 @@ export interface UserDetails {
518
554
  export interface ServiceMetadata {
519
555
  UserDetails: UserDetails | undefined;
520
556
  }
521
- export declare enum ExecutionStatus {
522
- COMPLETED = "COMPLETED",
523
- EXCEPTION = "EXCEPTION",
524
- HANDLING_EXCEPTION = "HANDLING_EXCEPTION",
525
- IN_PROGRESS = "IN_PROGRESS",
526
- }
557
+ export declare const ExecutionStatus: {
558
+ readonly COMPLETED: "COMPLETED";
559
+ readonly EXCEPTION: "EXCEPTION";
560
+ readonly HANDLING_EXCEPTION: "HANDLING_EXCEPTION";
561
+ readonly IN_PROGRESS: "IN_PROGRESS";
562
+ };
563
+ export type ExecutionStatus =
564
+ (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
527
565
  export interface DescribedExecution {
528
566
  ExecutionId?: string;
529
567
  InitialFileLocation?: FileLocation;
@@ -559,14 +597,15 @@ export interface DescribedSecurityPolicy {
559
597
  SshMacs?: string[];
560
598
  TlsCiphers?: string[];
561
599
  }
562
- export declare enum State {
563
- OFFLINE = "OFFLINE",
564
- ONLINE = "ONLINE",
565
- STARTING = "STARTING",
566
- START_FAILED = "START_FAILED",
567
- STOPPING = "STOPPING",
568
- STOP_FAILED = "STOP_FAILED",
569
- }
600
+ export declare const State: {
601
+ readonly OFFLINE: "OFFLINE";
602
+ readonly ONLINE: "ONLINE";
603
+ readonly STARTING: "STARTING";
604
+ readonly START_FAILED: "START_FAILED";
605
+ readonly STOPPING: "STOPPING";
606
+ readonly STOP_FAILED: "STOP_FAILED";
607
+ };
608
+ export type State = (typeof State)[keyof typeof State];
570
609
  export interface DescribedServer {
571
610
  Arn: string | undefined;
572
611
  Certificate?: string;
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.301.0",
4
+ "version": "3.303.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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
56
- "@aws-sdk/util-waiter": "3.296.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
+ "@aws-sdk/util-waiter": "3.303.0",
57
57
  "tslib": "^2.5.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "concurrently": "7.0.0",