@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.
@@ -15,55 +15,85 @@ export declare class AccessDeniedException extends __BaseException {
15
15
  }
16
16
  /**
17
17
  * @public
18
+ * @enum
18
19
  */
19
- export declare enum AgreementStatusType {
20
- ACTIVE = "ACTIVE",
21
- INACTIVE = "INACTIVE"
22
- }
20
+ export declare const AgreementStatusType: {
21
+ readonly ACTIVE: "ACTIVE";
22
+ readonly INACTIVE: "INACTIVE";
23
+ };
23
24
  /**
24
25
  * @public
25
26
  */
26
- export declare enum CompressionEnum {
27
- DISABLED = "DISABLED",
28
- ZLIB = "ZLIB"
29
- }
27
+ export type AgreementStatusType = (typeof AgreementStatusType)[keyof typeof AgreementStatusType];
30
28
  /**
31
29
  * @public
30
+ * @enum
32
31
  */
33
- export declare enum EncryptionAlg {
34
- AES128_CBC = "AES128_CBC",
35
- AES192_CBC = "AES192_CBC",
36
- AES256_CBC = "AES256_CBC",
37
- NONE = "NONE"
38
- }
32
+ export declare const CompressionEnum: {
33
+ readonly DISABLED: "DISABLED";
34
+ readonly ZLIB: "ZLIB";
35
+ };
39
36
  /**
40
37
  * @public
41
38
  */
42
- export declare enum MdnResponse {
43
- NONE = "NONE",
44
- SYNC = "SYNC"
45
- }
39
+ export type CompressionEnum = (typeof CompressionEnum)[keyof typeof CompressionEnum];
46
40
  /**
47
41
  * @public
42
+ * @enum
48
43
  */
49
- export declare enum MdnSigningAlg {
50
- DEFAULT = "DEFAULT",
51
- NONE = "NONE",
52
- SHA1 = "SHA1",
53
- SHA256 = "SHA256",
54
- SHA384 = "SHA384",
55
- SHA512 = "SHA512"
56
- }
44
+ export declare const EncryptionAlg: {
45
+ readonly AES128_CBC: "AES128_CBC";
46
+ readonly AES192_CBC: "AES192_CBC";
47
+ readonly AES256_CBC: "AES256_CBC";
48
+ readonly NONE: "NONE";
49
+ };
57
50
  /**
58
51
  * @public
59
52
  */
60
- export declare enum SigningAlg {
61
- NONE = "NONE",
62
- SHA1 = "SHA1",
63
- SHA256 = "SHA256",
64
- SHA384 = "SHA384",
65
- SHA512 = "SHA512"
66
- }
53
+ export type EncryptionAlg = (typeof EncryptionAlg)[keyof typeof EncryptionAlg];
54
+ /**
55
+ * @public
56
+ * @enum
57
+ */
58
+ export declare const MdnResponse: {
59
+ readonly NONE: "NONE";
60
+ readonly SYNC: "SYNC";
61
+ };
62
+ /**
63
+ * @public
64
+ */
65
+ export type MdnResponse = (typeof MdnResponse)[keyof typeof MdnResponse];
66
+ /**
67
+ * @public
68
+ * @enum
69
+ */
70
+ export declare const MdnSigningAlg: {
71
+ readonly DEFAULT: "DEFAULT";
72
+ readonly NONE: "NONE";
73
+ readonly SHA1: "SHA1";
74
+ readonly SHA256: "SHA256";
75
+ readonly SHA384: "SHA384";
76
+ readonly SHA512: "SHA512";
77
+ };
78
+ /**
79
+ * @public
80
+ */
81
+ export type MdnSigningAlg = (typeof MdnSigningAlg)[keyof typeof MdnSigningAlg];
82
+ /**
83
+ * @public
84
+ * @enum
85
+ */
86
+ export declare const SigningAlg: {
87
+ readonly NONE: "NONE";
88
+ readonly SHA1: "SHA1";
89
+ readonly SHA256: "SHA256";
90
+ readonly SHA384: "SHA384";
91
+ readonly SHA512: "SHA512";
92
+ };
93
+ /**
94
+ * @public
95
+ */
96
+ export type SigningAlg = (typeof SigningAlg)[keyof typeof SigningAlg];
67
97
  /**
68
98
  * @public
69
99
  * <p>Contains the details for a connector object. The connector object is used for AS2 outbound
@@ -123,32 +153,52 @@ export interface As2ConnectorConfig {
123
153
  }
124
154
  /**
125
155
  * @public
156
+ * @enum
126
157
  */
127
- export declare enum As2Transport {
128
- HTTP = "HTTP"
129
- }
158
+ export declare const As2Transport: {
159
+ readonly HTTP: "HTTP";
160
+ };
130
161
  /**
131
162
  * @public
132
163
  */
133
- export declare enum CertificateStatusType {
134
- ACTIVE = "ACTIVE",
135
- INACTIVE = "INACTIVE",
136
- PENDING_ROTATION = "PENDING_ROTATION"
137
- }
164
+ export type As2Transport = (typeof As2Transport)[keyof typeof As2Transport];
138
165
  /**
139
166
  * @public
167
+ * @enum
140
168
  */
141
- export declare enum CertificateType {
142
- CERTIFICATE = "CERTIFICATE",
143
- CERTIFICATE_WITH_PRIVATE_KEY = "CERTIFICATE_WITH_PRIVATE_KEY"
144
- }
169
+ export declare const CertificateStatusType: {
170
+ readonly ACTIVE: "ACTIVE";
171
+ readonly INACTIVE: "INACTIVE";
172
+ readonly PENDING_ROTATION: "PENDING_ROTATION";
173
+ };
145
174
  /**
146
175
  * @public
147
176
  */
148
- export declare enum CertificateUsageType {
149
- ENCRYPTION = "ENCRYPTION",
150
- SIGNING = "SIGNING"
151
- }
177
+ export type CertificateStatusType = (typeof CertificateStatusType)[keyof typeof CertificateStatusType];
178
+ /**
179
+ * @public
180
+ * @enum
181
+ */
182
+ export declare const CertificateType: {
183
+ readonly CERTIFICATE: "CERTIFICATE";
184
+ readonly CERTIFICATE_WITH_PRIVATE_KEY: "CERTIFICATE_WITH_PRIVATE_KEY";
185
+ };
186
+ /**
187
+ * @public
188
+ */
189
+ export type CertificateType = (typeof CertificateType)[keyof typeof CertificateType];
190
+ /**
191
+ * @public
192
+ * @enum
193
+ */
194
+ export declare const CertificateUsageType: {
195
+ readonly ENCRYPTION: "ENCRYPTION";
196
+ readonly SIGNING: "SIGNING";
197
+ };
198
+ /**
199
+ * @public
200
+ */
201
+ export type CertificateUsageType = (typeof CertificateUsageType)[keyof typeof CertificateUsageType];
152
202
  /**
153
203
  * @public
154
204
  * <p>This exception is thrown when the <code>UpdateServer</code> is called for a file transfer
@@ -222,11 +272,16 @@ export interface InputFileLocation {
222
272
  }
223
273
  /**
224
274
  * @public
275
+ * @enum
225
276
  */
226
- export declare enum OverwriteExisting {
227
- FALSE = "FALSE",
228
- TRUE = "TRUE"
229
- }
277
+ export declare const OverwriteExisting: {
278
+ readonly FALSE: "FALSE";
279
+ readonly TRUE: "TRUE";
280
+ };
281
+ /**
282
+ * @public
283
+ */
284
+ export type OverwriteExisting = (typeof OverwriteExisting)[keyof typeof OverwriteExisting];
230
285
  /**
231
286
  * @public
232
287
  * <p>Each step type has its own <code>StepDetails</code> structure.</p>
@@ -297,11 +352,16 @@ export interface HomeDirectoryMapEntry {
297
352
  }
298
353
  /**
299
354
  * @public
355
+ * @enum
300
356
  */
301
- export declare enum HomeDirectoryType {
302
- LOGICAL = "LOGICAL",
303
- PATH = "PATH"
304
- }
357
+ export declare const HomeDirectoryType: {
358
+ readonly LOGICAL: "LOGICAL";
359
+ readonly PATH: "PATH";
360
+ };
361
+ /**
362
+ * @public
363
+ */
364
+ export type HomeDirectoryType = (typeof HomeDirectoryType)[keyof typeof HomeDirectoryType];
305
365
  /**
306
366
  * @public
307
367
  * <p>The full POSIX identity, including user ID (<code>Uid</code>), group ID
@@ -635,11 +695,16 @@ export interface CreateConnectorResponse {
635
695
  }
636
696
  /**
637
697
  * @public
698
+ * @enum
638
699
  */
639
- export declare enum ProfileType {
640
- LOCAL = "LOCAL",
641
- PARTNER = "PARTNER"
642
- }
700
+ export declare const ProfileType: {
701
+ readonly LOCAL: "LOCAL";
702
+ readonly PARTNER: "PARTNER";
703
+ };
704
+ /**
705
+ * @public
706
+ */
707
+ export type ProfileType = (typeof ProfileType)[keyof typeof ProfileType];
643
708
  /**
644
709
  * @public
645
710
  */
@@ -683,11 +748,16 @@ export interface CreateProfileResponse {
683
748
  }
684
749
  /**
685
750
  * @public
751
+ * @enum
686
752
  */
687
- export declare enum Domain {
688
- EFS = "EFS",
689
- S3 = "S3"
690
- }
753
+ export declare const Domain: {
754
+ readonly EFS: "EFS";
755
+ readonly S3: "S3";
756
+ };
757
+ /**
758
+ * @public
759
+ */
760
+ export type Domain = (typeof Domain)[keyof typeof Domain];
691
761
  /**
692
762
  * @public
693
763
  * <p>The virtual private cloud (VPC) endpoint settings that are configured for your file
@@ -758,12 +828,17 @@ export interface EndpointDetails {
758
828
  }
759
829
  /**
760
830
  * @public
831
+ * @enum
761
832
  */
762
- export declare enum EndpointType {
763
- PUBLIC = "PUBLIC",
764
- VPC = "VPC",
765
- VPC_ENDPOINT = "VPC_ENDPOINT"
766
- }
833
+ export declare const EndpointType: {
834
+ readonly PUBLIC: "PUBLIC";
835
+ readonly VPC: "VPC";
836
+ readonly VPC_ENDPOINT: "VPC_ENDPOINT";
837
+ };
838
+ /**
839
+ * @public
840
+ */
841
+ export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
767
842
  /**
768
843
  * @public
769
844
  * <p>Returns information related to the type of user authentication that is in use for a file
@@ -791,28 +866,43 @@ export interface IdentityProviderDetails {
791
866
  }
792
867
  /**
793
868
  * @public
869
+ * @enum
794
870
  */
795
- export declare enum IdentityProviderType {
796
- API_GATEWAY = "API_GATEWAY",
797
- AWS_DIRECTORY_SERVICE = "AWS_DIRECTORY_SERVICE",
798
- AWS_LAMBDA = "AWS_LAMBDA",
799
- SERVICE_MANAGED = "SERVICE_MANAGED"
800
- }
871
+ export declare const IdentityProviderType: {
872
+ readonly API_GATEWAY: "API_GATEWAY";
873
+ readonly AWS_DIRECTORY_SERVICE: "AWS_DIRECTORY_SERVICE";
874
+ readonly AWS_LAMBDA: "AWS_LAMBDA";
875
+ readonly SERVICE_MANAGED: "SERVICE_MANAGED";
876
+ };
801
877
  /**
802
878
  * @public
803
879
  */
804
- export declare enum SetStatOption {
805
- DEFAULT = "DEFAULT",
806
- ENABLE_NO_OP = "ENABLE_NO_OP"
807
- }
880
+ export type IdentityProviderType = (typeof IdentityProviderType)[keyof typeof IdentityProviderType];
808
881
  /**
809
882
  * @public
883
+ * @enum
810
884
  */
811
- export declare enum TlsSessionResumptionMode {
812
- DISABLED = "DISABLED",
813
- ENABLED = "ENABLED",
814
- ENFORCED = "ENFORCED"
815
- }
885
+ export declare const SetStatOption: {
886
+ readonly DEFAULT: "DEFAULT";
887
+ readonly ENABLE_NO_OP: "ENABLE_NO_OP";
888
+ };
889
+ /**
890
+ * @public
891
+ */
892
+ export type SetStatOption = (typeof SetStatOption)[keyof typeof SetStatOption];
893
+ /**
894
+ * @public
895
+ * @enum
896
+ */
897
+ export declare const TlsSessionResumptionMode: {
898
+ readonly DISABLED: "DISABLED";
899
+ readonly ENABLED: "ENABLED";
900
+ readonly ENFORCED: "ENFORCED";
901
+ };
902
+ /**
903
+ * @public
904
+ */
905
+ export type TlsSessionResumptionMode = (typeof TlsSessionResumptionMode)[keyof typeof TlsSessionResumptionMode];
816
906
  /**
817
907
  * @public
818
908
  * <p>
@@ -897,13 +987,18 @@ export interface ProtocolDetails {
897
987
  }
898
988
  /**
899
989
  * @public
990
+ * @enum
900
991
  */
901
- export declare enum Protocol {
902
- AS2 = "AS2",
903
- FTP = "FTP",
904
- FTPS = "FTPS",
905
- SFTP = "SFTP"
906
- }
992
+ export declare const Protocol: {
993
+ readonly AS2: "AS2";
994
+ readonly FTP: "FTP";
995
+ readonly FTPS: "FTPS";
996
+ readonly SFTP: "SFTP";
997
+ };
998
+ /**
999
+ * @public
1000
+ */
1001
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
907
1002
  /**
908
1003
  * @public
909
1004
  * <p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p>
@@ -1354,10 +1449,15 @@ export interface CustomStepDetails {
1354
1449
  }
1355
1450
  /**
1356
1451
  * @public
1452
+ * @enum
1357
1453
  */
1358
- export declare enum EncryptionType {
1359
- PGP = "PGP"
1360
- }
1454
+ export declare const EncryptionType: {
1455
+ readonly PGP: "PGP";
1456
+ };
1457
+ /**
1458
+ * @public
1459
+ */
1460
+ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
1361
1461
  /**
1362
1462
  * @public
1363
1463
  * <p>Each step type has its own <code>StepDetails</code> structure.</p>
@@ -1467,14 +1567,19 @@ export interface TagStepDetails {
1467
1567
  }
1468
1568
  /**
1469
1569
  * @public
1570
+ * @enum
1470
1571
  */
1471
- export declare enum WorkflowStepType {
1472
- COPY = "COPY",
1473
- CUSTOM = "CUSTOM",
1474
- DECRYPT = "DECRYPT",
1475
- DELETE = "DELETE",
1476
- TAG = "TAG"
1477
- }
1572
+ export declare const WorkflowStepType: {
1573
+ readonly COPY: "COPY";
1574
+ readonly CUSTOM: "CUSTOM";
1575
+ readonly DECRYPT: "DECRYPT";
1576
+ readonly DELETE: "DELETE";
1577
+ readonly TAG: "TAG";
1578
+ };
1579
+ /**
1580
+ * @public
1581
+ */
1582
+ export type WorkflowStepType = (typeof WorkflowStepType)[keyof typeof WorkflowStepType];
1478
1583
  /**
1479
1584
  * @public
1480
1585
  * <p>The basic building block of a workflow.</p>
@@ -1656,11 +1761,16 @@ export interface CreateWorkflowResponse {
1656
1761
  }
1657
1762
  /**
1658
1763
  * @public
1764
+ * @enum
1659
1765
  */
1660
- export declare enum CustomStepStatus {
1661
- FAILURE = "FAILURE",
1662
- SUCCESS = "SUCCESS"
1663
- }
1766
+ export declare const CustomStepStatus: {
1767
+ readonly FAILURE: "FAILURE";
1768
+ readonly SUCCESS: "SUCCESS";
1769
+ };
1770
+ /**
1771
+ * @public
1772
+ */
1773
+ export type CustomStepStatus = (typeof CustomStepStatus)[keyof typeof CustomStepStatus];
1664
1774
  /**
1665
1775
  * @public
1666
1776
  */
@@ -2171,17 +2281,22 @@ export interface LoggingConfiguration {
2171
2281
  }
2172
2282
  /**
2173
2283
  * @public
2284
+ * @enum
2174
2285
  */
2175
- export declare enum ExecutionErrorType {
2176
- ALREADY_EXISTS = "ALREADY_EXISTS",
2177
- BAD_REQUEST = "BAD_REQUEST",
2178
- CUSTOM_STEP_FAILED = "CUSTOM_STEP_FAILED",
2179
- INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR",
2180
- NOT_FOUND = "NOT_FOUND",
2181
- PERMISSION_DENIED = "PERMISSION_DENIED",
2182
- THROTTLED = "THROTTLED",
2183
- TIMEOUT = "TIMEOUT"
2184
- }
2286
+ export declare const ExecutionErrorType: {
2287
+ readonly ALREADY_EXISTS: "ALREADY_EXISTS";
2288
+ readonly BAD_REQUEST: "BAD_REQUEST";
2289
+ readonly CUSTOM_STEP_FAILED: "CUSTOM_STEP_FAILED";
2290
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
2291
+ readonly NOT_FOUND: "NOT_FOUND";
2292
+ readonly PERMISSION_DENIED: "PERMISSION_DENIED";
2293
+ readonly THROTTLED: "THROTTLED";
2294
+ readonly TIMEOUT: "TIMEOUT";
2295
+ };
2296
+ /**
2297
+ * @public
2298
+ */
2299
+ export type ExecutionErrorType = (typeof ExecutionErrorType)[keyof typeof ExecutionErrorType];
2185
2300
  /**
2186
2301
  * @public
2187
2302
  * <p>Specifies the error message and type, for an error that occurs during the execution of the workflow.</p>
@@ -2333,13 +2448,18 @@ export interface ServiceMetadata {
2333
2448
  }
2334
2449
  /**
2335
2450
  * @public
2451
+ * @enum
2336
2452
  */
2337
- export declare enum ExecutionStatus {
2338
- COMPLETED = "COMPLETED",
2339
- EXCEPTION = "EXCEPTION",
2340
- HANDLING_EXCEPTION = "HANDLING_EXCEPTION",
2341
- IN_PROGRESS = "IN_PROGRESS"
2342
- }
2453
+ export declare const ExecutionStatus: {
2454
+ readonly COMPLETED: "COMPLETED";
2455
+ readonly EXCEPTION: "EXCEPTION";
2456
+ readonly HANDLING_EXCEPTION: "HANDLING_EXCEPTION";
2457
+ readonly IN_PROGRESS: "IN_PROGRESS";
2458
+ };
2459
+ /**
2460
+ * @public
2461
+ */
2462
+ export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
2343
2463
  /**
2344
2464
  * @public
2345
2465
  * <p>The details for an execution object.</p>
@@ -2521,15 +2641,20 @@ export interface DescribedSecurityPolicy {
2521
2641
  }
2522
2642
  /**
2523
2643
  * @public
2644
+ * @enum
2524
2645
  */
2525
- export declare enum State {
2526
- OFFLINE = "OFFLINE",
2527
- ONLINE = "ONLINE",
2528
- STARTING = "STARTING",
2529
- START_FAILED = "START_FAILED",
2530
- STOPPING = "STOPPING",
2531
- STOP_FAILED = "STOP_FAILED"
2532
- }
2646
+ export declare const State: {
2647
+ readonly OFFLINE: "OFFLINE";
2648
+ readonly ONLINE: "ONLINE";
2649
+ readonly STARTING: "STARTING";
2650
+ readonly START_FAILED: "START_FAILED";
2651
+ readonly STOPPING: "STOPPING";
2652
+ readonly STOP_FAILED: "STOP_FAILED";
2653
+ };
2654
+ /**
2655
+ * @public
2656
+ */
2657
+ export type State = (typeof State)[keyof typeof State];
2533
2658
  /**
2534
2659
  * @public
2535
2660
  * <p>Describes the properties of a file transfer protocol-enabled server that was