@aws-sdk/client-transfer 3.300.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.
Files changed (63) hide show
  1. package/dist-cjs/models/models_0.js +129 -154
  2. package/dist-es/models/models_0.js +129 -154
  3. package/dist-types/commands/CreateAccessCommand.d.ts +5 -5
  4. package/dist-types/commands/CreateAgreementCommand.d.ts +3 -3
  5. package/dist-types/commands/CreateConnectorCommand.d.ts +4 -4
  6. package/dist-types/commands/CreateProfileCommand.d.ts +4 -4
  7. package/dist-types/commands/CreateServerCommand.d.ts +15 -15
  8. package/dist-types/commands/CreateUserCommand.d.ts +7 -7
  9. package/dist-types/commands/CreateWorkflowCommand.d.ts +15 -15
  10. package/dist-types/commands/DeleteAccessCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteAgreementCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteConnectorCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteHostKeyCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteProfileCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteServerCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteSshPublicKeyCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteWorkflowCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeAccessCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeAgreementCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeCertificateCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeConnectorCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeExecutionCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeHostKeyCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeProfileCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeSecurityPolicyCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeServerCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeWorkflowCommand.d.ts +1 -1
  31. package/dist-types/commands/ImportCertificateCommand.d.ts +3 -3
  32. package/dist-types/commands/ImportHostKeyCommand.d.ts +3 -3
  33. package/dist-types/commands/ImportSshPublicKeyCommand.d.ts +1 -1
  34. package/dist-types/commands/ListAccessesCommand.d.ts +1 -1
  35. package/dist-types/commands/ListAgreementsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListCertificatesCommand.d.ts +1 -1
  37. package/dist-types/commands/ListConnectorsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListExecutionsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListHostKeysCommand.d.ts +1 -1
  40. package/dist-types/commands/ListProfilesCommand.d.ts +1 -1
  41. package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +1 -1
  42. package/dist-types/commands/ListServersCommand.d.ts +1 -1
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  44. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  45. package/dist-types/commands/ListWorkflowsCommand.d.ts +1 -1
  46. package/dist-types/commands/SendWorkflowStepStateCommand.d.ts +1 -1
  47. package/dist-types/commands/StartFileTransferCommand.d.ts +2 -2
  48. package/dist-types/commands/StartServerCommand.d.ts +1 -1
  49. package/dist-types/commands/StopServerCommand.d.ts +1 -1
  50. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  51. package/dist-types/commands/TestIdentityProviderCommand.d.ts +1 -1
  52. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  53. package/dist-types/commands/UpdateAccessCommand.d.ts +5 -5
  54. package/dist-types/commands/UpdateAgreementCommand.d.ts +1 -1
  55. package/dist-types/commands/UpdateCertificateCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateConnectorCommand.d.ts +2 -2
  57. package/dist-types/commands/UpdateHostKeyCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateProfileCommand.d.ts +2 -2
  59. package/dist-types/commands/UpdateServerCommand.d.ts +13 -13
  60. package/dist-types/commands/UpdateUserCommand.d.ts +5 -5
  61. package/dist-types/models/models_0.d.ts +254 -129
  62. package/dist-types/ts3.4/models/models_0.d.ts +168 -129
  63. package/package.json +35 -35
@@ -17,65 +17,55 @@ class AccessDeniedException extends TransferServiceException_1.TransferServiceEx
17
17
  }
18
18
  }
19
19
  exports.AccessDeniedException = AccessDeniedException;
20
- var AgreementStatusType;
21
- (function (AgreementStatusType) {
22
- AgreementStatusType["ACTIVE"] = "ACTIVE";
23
- AgreementStatusType["INACTIVE"] = "INACTIVE";
24
- })(AgreementStatusType = exports.AgreementStatusType || (exports.AgreementStatusType = {}));
25
- var CompressionEnum;
26
- (function (CompressionEnum) {
27
- CompressionEnum["DISABLED"] = "DISABLED";
28
- CompressionEnum["ZLIB"] = "ZLIB";
29
- })(CompressionEnum = exports.CompressionEnum || (exports.CompressionEnum = {}));
30
- var EncryptionAlg;
31
- (function (EncryptionAlg) {
32
- EncryptionAlg["AES128_CBC"] = "AES128_CBC";
33
- EncryptionAlg["AES192_CBC"] = "AES192_CBC";
34
- EncryptionAlg["AES256_CBC"] = "AES256_CBC";
35
- EncryptionAlg["NONE"] = "NONE";
36
- })(EncryptionAlg = exports.EncryptionAlg || (exports.EncryptionAlg = {}));
37
- var MdnResponse;
38
- (function (MdnResponse) {
39
- MdnResponse["NONE"] = "NONE";
40
- MdnResponse["SYNC"] = "SYNC";
41
- })(MdnResponse = exports.MdnResponse || (exports.MdnResponse = {}));
42
- var MdnSigningAlg;
43
- (function (MdnSigningAlg) {
44
- MdnSigningAlg["DEFAULT"] = "DEFAULT";
45
- MdnSigningAlg["NONE"] = "NONE";
46
- MdnSigningAlg["SHA1"] = "SHA1";
47
- MdnSigningAlg["SHA256"] = "SHA256";
48
- MdnSigningAlg["SHA384"] = "SHA384";
49
- MdnSigningAlg["SHA512"] = "SHA512";
50
- })(MdnSigningAlg = exports.MdnSigningAlg || (exports.MdnSigningAlg = {}));
51
- var SigningAlg;
52
- (function (SigningAlg) {
53
- SigningAlg["NONE"] = "NONE";
54
- SigningAlg["SHA1"] = "SHA1";
55
- SigningAlg["SHA256"] = "SHA256";
56
- SigningAlg["SHA384"] = "SHA384";
57
- SigningAlg["SHA512"] = "SHA512";
58
- })(SigningAlg = exports.SigningAlg || (exports.SigningAlg = {}));
59
- var As2Transport;
60
- (function (As2Transport) {
61
- As2Transport["HTTP"] = "HTTP";
62
- })(As2Transport = exports.As2Transport || (exports.As2Transport = {}));
63
- var CertificateStatusType;
64
- (function (CertificateStatusType) {
65
- CertificateStatusType["ACTIVE"] = "ACTIVE";
66
- CertificateStatusType["INACTIVE"] = "INACTIVE";
67
- CertificateStatusType["PENDING_ROTATION"] = "PENDING_ROTATION";
68
- })(CertificateStatusType = exports.CertificateStatusType || (exports.CertificateStatusType = {}));
69
- var CertificateType;
70
- (function (CertificateType) {
71
- CertificateType["CERTIFICATE"] = "CERTIFICATE";
72
- CertificateType["CERTIFICATE_WITH_PRIVATE_KEY"] = "CERTIFICATE_WITH_PRIVATE_KEY";
73
- })(CertificateType = exports.CertificateType || (exports.CertificateType = {}));
74
- var CertificateUsageType;
75
- (function (CertificateUsageType) {
76
- CertificateUsageType["ENCRYPTION"] = "ENCRYPTION";
77
- CertificateUsageType["SIGNING"] = "SIGNING";
78
- })(CertificateUsageType = exports.CertificateUsageType || (exports.CertificateUsageType = {}));
20
+ exports.AgreementStatusType = {
21
+ ACTIVE: "ACTIVE",
22
+ INACTIVE: "INACTIVE",
23
+ };
24
+ exports.CompressionEnum = {
25
+ DISABLED: "DISABLED",
26
+ ZLIB: "ZLIB",
27
+ };
28
+ exports.EncryptionAlg = {
29
+ AES128_CBC: "AES128_CBC",
30
+ AES192_CBC: "AES192_CBC",
31
+ AES256_CBC: "AES256_CBC",
32
+ NONE: "NONE",
33
+ };
34
+ exports.MdnResponse = {
35
+ NONE: "NONE",
36
+ SYNC: "SYNC",
37
+ };
38
+ exports.MdnSigningAlg = {
39
+ DEFAULT: "DEFAULT",
40
+ NONE: "NONE",
41
+ SHA1: "SHA1",
42
+ SHA256: "SHA256",
43
+ SHA384: "SHA384",
44
+ SHA512: "SHA512",
45
+ };
46
+ exports.SigningAlg = {
47
+ NONE: "NONE",
48
+ SHA1: "SHA1",
49
+ SHA256: "SHA256",
50
+ SHA384: "SHA384",
51
+ SHA512: "SHA512",
52
+ };
53
+ exports.As2Transport = {
54
+ HTTP: "HTTP",
55
+ };
56
+ exports.CertificateStatusType = {
57
+ ACTIVE: "ACTIVE",
58
+ INACTIVE: "INACTIVE",
59
+ PENDING_ROTATION: "PENDING_ROTATION",
60
+ };
61
+ exports.CertificateType = {
62
+ CERTIFICATE: "CERTIFICATE",
63
+ CERTIFICATE_WITH_PRIVATE_KEY: "CERTIFICATE_WITH_PRIVATE_KEY",
64
+ };
65
+ exports.CertificateUsageType = {
66
+ ENCRYPTION: "ENCRYPTION",
67
+ SIGNING: "SIGNING",
68
+ };
79
69
  class ConflictException extends TransferServiceException_1.TransferServiceException {
80
70
  constructor(opts) {
81
71
  super({
@@ -90,16 +80,14 @@ class ConflictException extends TransferServiceException_1.TransferServiceExcept
90
80
  }
91
81
  }
92
82
  exports.ConflictException = ConflictException;
93
- var OverwriteExisting;
94
- (function (OverwriteExisting) {
95
- OverwriteExisting["FALSE"] = "FALSE";
96
- OverwriteExisting["TRUE"] = "TRUE";
97
- })(OverwriteExisting = exports.OverwriteExisting || (exports.OverwriteExisting = {}));
98
- var HomeDirectoryType;
99
- (function (HomeDirectoryType) {
100
- HomeDirectoryType["LOGICAL"] = "LOGICAL";
101
- HomeDirectoryType["PATH"] = "PATH";
102
- })(HomeDirectoryType = exports.HomeDirectoryType || (exports.HomeDirectoryType = {}));
83
+ exports.OverwriteExisting = {
84
+ FALSE: "FALSE",
85
+ TRUE: "TRUE",
86
+ };
87
+ exports.HomeDirectoryType = {
88
+ LOGICAL: "LOGICAL",
89
+ PATH: "PATH",
90
+ };
103
91
  class InternalServiceError extends TransferServiceException_1.TransferServiceException {
104
92
  constructor(opts) {
105
93
  super({
@@ -188,91 +176,78 @@ class ThrottlingException extends TransferServiceException_1.TransferServiceExce
188
176
  }
189
177
  }
190
178
  exports.ThrottlingException = ThrottlingException;
191
- var ProfileType;
192
- (function (ProfileType) {
193
- ProfileType["LOCAL"] = "LOCAL";
194
- ProfileType["PARTNER"] = "PARTNER";
195
- })(ProfileType = exports.ProfileType || (exports.ProfileType = {}));
196
- var Domain;
197
- (function (Domain) {
198
- Domain["EFS"] = "EFS";
199
- Domain["S3"] = "S3";
200
- })(Domain = exports.Domain || (exports.Domain = {}));
201
- var EndpointType;
202
- (function (EndpointType) {
203
- EndpointType["PUBLIC"] = "PUBLIC";
204
- EndpointType["VPC"] = "VPC";
205
- EndpointType["VPC_ENDPOINT"] = "VPC_ENDPOINT";
206
- })(EndpointType = exports.EndpointType || (exports.EndpointType = {}));
207
- var IdentityProviderType;
208
- (function (IdentityProviderType) {
209
- IdentityProviderType["API_GATEWAY"] = "API_GATEWAY";
210
- IdentityProviderType["AWS_DIRECTORY_SERVICE"] = "AWS_DIRECTORY_SERVICE";
211
- IdentityProviderType["AWS_LAMBDA"] = "AWS_LAMBDA";
212
- IdentityProviderType["SERVICE_MANAGED"] = "SERVICE_MANAGED";
213
- })(IdentityProviderType = exports.IdentityProviderType || (exports.IdentityProviderType = {}));
214
- var SetStatOption;
215
- (function (SetStatOption) {
216
- SetStatOption["DEFAULT"] = "DEFAULT";
217
- SetStatOption["ENABLE_NO_OP"] = "ENABLE_NO_OP";
218
- })(SetStatOption = exports.SetStatOption || (exports.SetStatOption = {}));
219
- var TlsSessionResumptionMode;
220
- (function (TlsSessionResumptionMode) {
221
- TlsSessionResumptionMode["DISABLED"] = "DISABLED";
222
- TlsSessionResumptionMode["ENABLED"] = "ENABLED";
223
- TlsSessionResumptionMode["ENFORCED"] = "ENFORCED";
224
- })(TlsSessionResumptionMode = exports.TlsSessionResumptionMode || (exports.TlsSessionResumptionMode = {}));
225
- var Protocol;
226
- (function (Protocol) {
227
- Protocol["AS2"] = "AS2";
228
- Protocol["FTP"] = "FTP";
229
- Protocol["FTPS"] = "FTPS";
230
- Protocol["SFTP"] = "SFTP";
231
- })(Protocol = exports.Protocol || (exports.Protocol = {}));
232
- var EncryptionType;
233
- (function (EncryptionType) {
234
- EncryptionType["PGP"] = "PGP";
235
- })(EncryptionType = exports.EncryptionType || (exports.EncryptionType = {}));
236
- var WorkflowStepType;
237
- (function (WorkflowStepType) {
238
- WorkflowStepType["COPY"] = "COPY";
239
- WorkflowStepType["CUSTOM"] = "CUSTOM";
240
- WorkflowStepType["DECRYPT"] = "DECRYPT";
241
- WorkflowStepType["DELETE"] = "DELETE";
242
- WorkflowStepType["TAG"] = "TAG";
243
- })(WorkflowStepType = exports.WorkflowStepType || (exports.WorkflowStepType = {}));
244
- var CustomStepStatus;
245
- (function (CustomStepStatus) {
246
- CustomStepStatus["FAILURE"] = "FAILURE";
247
- CustomStepStatus["SUCCESS"] = "SUCCESS";
248
- })(CustomStepStatus = exports.CustomStepStatus || (exports.CustomStepStatus = {}));
249
- var ExecutionErrorType;
250
- (function (ExecutionErrorType) {
251
- ExecutionErrorType["ALREADY_EXISTS"] = "ALREADY_EXISTS";
252
- ExecutionErrorType["BAD_REQUEST"] = "BAD_REQUEST";
253
- ExecutionErrorType["CUSTOM_STEP_FAILED"] = "CUSTOM_STEP_FAILED";
254
- ExecutionErrorType["INTERNAL_SERVER_ERROR"] = "INTERNAL_SERVER_ERROR";
255
- ExecutionErrorType["NOT_FOUND"] = "NOT_FOUND";
256
- ExecutionErrorType["PERMISSION_DENIED"] = "PERMISSION_DENIED";
257
- ExecutionErrorType["THROTTLED"] = "THROTTLED";
258
- ExecutionErrorType["TIMEOUT"] = "TIMEOUT";
259
- })(ExecutionErrorType = exports.ExecutionErrorType || (exports.ExecutionErrorType = {}));
260
- var ExecutionStatus;
261
- (function (ExecutionStatus) {
262
- ExecutionStatus["COMPLETED"] = "COMPLETED";
263
- ExecutionStatus["EXCEPTION"] = "EXCEPTION";
264
- ExecutionStatus["HANDLING_EXCEPTION"] = "HANDLING_EXCEPTION";
265
- ExecutionStatus["IN_PROGRESS"] = "IN_PROGRESS";
266
- })(ExecutionStatus = exports.ExecutionStatus || (exports.ExecutionStatus = {}));
267
- var State;
268
- (function (State) {
269
- State["OFFLINE"] = "OFFLINE";
270
- State["ONLINE"] = "ONLINE";
271
- State["STARTING"] = "STARTING";
272
- State["START_FAILED"] = "START_FAILED";
273
- State["STOPPING"] = "STOPPING";
274
- State["STOP_FAILED"] = "STOP_FAILED";
275
- })(State = exports.State || (exports.State = {}));
179
+ exports.ProfileType = {
180
+ LOCAL: "LOCAL",
181
+ PARTNER: "PARTNER",
182
+ };
183
+ exports.Domain = {
184
+ EFS: "EFS",
185
+ S3: "S3",
186
+ };
187
+ exports.EndpointType = {
188
+ PUBLIC: "PUBLIC",
189
+ VPC: "VPC",
190
+ VPC_ENDPOINT: "VPC_ENDPOINT",
191
+ };
192
+ exports.IdentityProviderType = {
193
+ API_GATEWAY: "API_GATEWAY",
194
+ AWS_DIRECTORY_SERVICE: "AWS_DIRECTORY_SERVICE",
195
+ AWS_LAMBDA: "AWS_LAMBDA",
196
+ SERVICE_MANAGED: "SERVICE_MANAGED",
197
+ };
198
+ exports.SetStatOption = {
199
+ DEFAULT: "DEFAULT",
200
+ ENABLE_NO_OP: "ENABLE_NO_OP",
201
+ };
202
+ exports.TlsSessionResumptionMode = {
203
+ DISABLED: "DISABLED",
204
+ ENABLED: "ENABLED",
205
+ ENFORCED: "ENFORCED",
206
+ };
207
+ exports.Protocol = {
208
+ AS2: "AS2",
209
+ FTP: "FTP",
210
+ FTPS: "FTPS",
211
+ SFTP: "SFTP",
212
+ };
213
+ exports.EncryptionType = {
214
+ PGP: "PGP",
215
+ };
216
+ exports.WorkflowStepType = {
217
+ COPY: "COPY",
218
+ CUSTOM: "CUSTOM",
219
+ DECRYPT: "DECRYPT",
220
+ DELETE: "DELETE",
221
+ TAG: "TAG",
222
+ };
223
+ exports.CustomStepStatus = {
224
+ FAILURE: "FAILURE",
225
+ SUCCESS: "SUCCESS",
226
+ };
227
+ exports.ExecutionErrorType = {
228
+ ALREADY_EXISTS: "ALREADY_EXISTS",
229
+ BAD_REQUEST: "BAD_REQUEST",
230
+ CUSTOM_STEP_FAILED: "CUSTOM_STEP_FAILED",
231
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
232
+ NOT_FOUND: "NOT_FOUND",
233
+ PERMISSION_DENIED: "PERMISSION_DENIED",
234
+ THROTTLED: "THROTTLED",
235
+ TIMEOUT: "TIMEOUT",
236
+ };
237
+ exports.ExecutionStatus = {
238
+ COMPLETED: "COMPLETED",
239
+ EXCEPTION: "EXCEPTION",
240
+ HANDLING_EXCEPTION: "HANDLING_EXCEPTION",
241
+ IN_PROGRESS: "IN_PROGRESS",
242
+ };
243
+ exports.State = {
244
+ OFFLINE: "OFFLINE",
245
+ ONLINE: "ONLINE",
246
+ STARTING: "STARTING",
247
+ START_FAILED: "START_FAILED",
248
+ STOPPING: "STOPPING",
249
+ STOP_FAILED: "STOP_FAILED",
250
+ };
276
251
  class InvalidNextTokenException extends TransferServiceException_1.TransferServiceException {
277
252
  constructor(opts) {
278
253
  super({
@@ -13,65 +13,55 @@ export class AccessDeniedException extends __BaseException {
13
13
  this.Message = opts.Message;
14
14
  }
15
15
  }
16
- export var AgreementStatusType;
17
- (function (AgreementStatusType) {
18
- AgreementStatusType["ACTIVE"] = "ACTIVE";
19
- AgreementStatusType["INACTIVE"] = "INACTIVE";
20
- })(AgreementStatusType || (AgreementStatusType = {}));
21
- export var CompressionEnum;
22
- (function (CompressionEnum) {
23
- CompressionEnum["DISABLED"] = "DISABLED";
24
- CompressionEnum["ZLIB"] = "ZLIB";
25
- })(CompressionEnum || (CompressionEnum = {}));
26
- export var EncryptionAlg;
27
- (function (EncryptionAlg) {
28
- EncryptionAlg["AES128_CBC"] = "AES128_CBC";
29
- EncryptionAlg["AES192_CBC"] = "AES192_CBC";
30
- EncryptionAlg["AES256_CBC"] = "AES256_CBC";
31
- EncryptionAlg["NONE"] = "NONE";
32
- })(EncryptionAlg || (EncryptionAlg = {}));
33
- export var MdnResponse;
34
- (function (MdnResponse) {
35
- MdnResponse["NONE"] = "NONE";
36
- MdnResponse["SYNC"] = "SYNC";
37
- })(MdnResponse || (MdnResponse = {}));
38
- export var MdnSigningAlg;
39
- (function (MdnSigningAlg) {
40
- MdnSigningAlg["DEFAULT"] = "DEFAULT";
41
- MdnSigningAlg["NONE"] = "NONE";
42
- MdnSigningAlg["SHA1"] = "SHA1";
43
- MdnSigningAlg["SHA256"] = "SHA256";
44
- MdnSigningAlg["SHA384"] = "SHA384";
45
- MdnSigningAlg["SHA512"] = "SHA512";
46
- })(MdnSigningAlg || (MdnSigningAlg = {}));
47
- export var SigningAlg;
48
- (function (SigningAlg) {
49
- SigningAlg["NONE"] = "NONE";
50
- SigningAlg["SHA1"] = "SHA1";
51
- SigningAlg["SHA256"] = "SHA256";
52
- SigningAlg["SHA384"] = "SHA384";
53
- SigningAlg["SHA512"] = "SHA512";
54
- })(SigningAlg || (SigningAlg = {}));
55
- export var As2Transport;
56
- (function (As2Transport) {
57
- As2Transport["HTTP"] = "HTTP";
58
- })(As2Transport || (As2Transport = {}));
59
- export var CertificateStatusType;
60
- (function (CertificateStatusType) {
61
- CertificateStatusType["ACTIVE"] = "ACTIVE";
62
- CertificateStatusType["INACTIVE"] = "INACTIVE";
63
- CertificateStatusType["PENDING_ROTATION"] = "PENDING_ROTATION";
64
- })(CertificateStatusType || (CertificateStatusType = {}));
65
- export var CertificateType;
66
- (function (CertificateType) {
67
- CertificateType["CERTIFICATE"] = "CERTIFICATE";
68
- CertificateType["CERTIFICATE_WITH_PRIVATE_KEY"] = "CERTIFICATE_WITH_PRIVATE_KEY";
69
- })(CertificateType || (CertificateType = {}));
70
- export var CertificateUsageType;
71
- (function (CertificateUsageType) {
72
- CertificateUsageType["ENCRYPTION"] = "ENCRYPTION";
73
- CertificateUsageType["SIGNING"] = "SIGNING";
74
- })(CertificateUsageType || (CertificateUsageType = {}));
16
+ export const AgreementStatusType = {
17
+ ACTIVE: "ACTIVE",
18
+ INACTIVE: "INACTIVE",
19
+ };
20
+ export const CompressionEnum = {
21
+ DISABLED: "DISABLED",
22
+ ZLIB: "ZLIB",
23
+ };
24
+ export const EncryptionAlg = {
25
+ AES128_CBC: "AES128_CBC",
26
+ AES192_CBC: "AES192_CBC",
27
+ AES256_CBC: "AES256_CBC",
28
+ NONE: "NONE",
29
+ };
30
+ export const MdnResponse = {
31
+ NONE: "NONE",
32
+ SYNC: "SYNC",
33
+ };
34
+ export const MdnSigningAlg = {
35
+ DEFAULT: "DEFAULT",
36
+ NONE: "NONE",
37
+ SHA1: "SHA1",
38
+ SHA256: "SHA256",
39
+ SHA384: "SHA384",
40
+ SHA512: "SHA512",
41
+ };
42
+ export const SigningAlg = {
43
+ NONE: "NONE",
44
+ SHA1: "SHA1",
45
+ SHA256: "SHA256",
46
+ SHA384: "SHA384",
47
+ SHA512: "SHA512",
48
+ };
49
+ export const As2Transport = {
50
+ HTTP: "HTTP",
51
+ };
52
+ export const CertificateStatusType = {
53
+ ACTIVE: "ACTIVE",
54
+ INACTIVE: "INACTIVE",
55
+ PENDING_ROTATION: "PENDING_ROTATION",
56
+ };
57
+ export const CertificateType = {
58
+ CERTIFICATE: "CERTIFICATE",
59
+ CERTIFICATE_WITH_PRIVATE_KEY: "CERTIFICATE_WITH_PRIVATE_KEY",
60
+ };
61
+ export const CertificateUsageType = {
62
+ ENCRYPTION: "ENCRYPTION",
63
+ SIGNING: "SIGNING",
64
+ };
75
65
  export class ConflictException extends __BaseException {
76
66
  constructor(opts) {
77
67
  super({
@@ -85,16 +75,14 @@ export class ConflictException extends __BaseException {
85
75
  this.Message = opts.Message;
86
76
  }
87
77
  }
88
- export var OverwriteExisting;
89
- (function (OverwriteExisting) {
90
- OverwriteExisting["FALSE"] = "FALSE";
91
- OverwriteExisting["TRUE"] = "TRUE";
92
- })(OverwriteExisting || (OverwriteExisting = {}));
93
- export var HomeDirectoryType;
94
- (function (HomeDirectoryType) {
95
- HomeDirectoryType["LOGICAL"] = "LOGICAL";
96
- HomeDirectoryType["PATH"] = "PATH";
97
- })(HomeDirectoryType || (HomeDirectoryType = {}));
78
+ export const OverwriteExisting = {
79
+ FALSE: "FALSE",
80
+ TRUE: "TRUE",
81
+ };
82
+ export const HomeDirectoryType = {
83
+ LOGICAL: "LOGICAL",
84
+ PATH: "PATH",
85
+ };
98
86
  export class InternalServiceError extends __BaseException {
99
87
  constructor(opts) {
100
88
  super({
@@ -177,91 +165,78 @@ export class ThrottlingException extends __BaseException {
177
165
  this.RetryAfterSeconds = opts.RetryAfterSeconds;
178
166
  }
179
167
  }
180
- export var ProfileType;
181
- (function (ProfileType) {
182
- ProfileType["LOCAL"] = "LOCAL";
183
- ProfileType["PARTNER"] = "PARTNER";
184
- })(ProfileType || (ProfileType = {}));
185
- export var Domain;
186
- (function (Domain) {
187
- Domain["EFS"] = "EFS";
188
- Domain["S3"] = "S3";
189
- })(Domain || (Domain = {}));
190
- export var EndpointType;
191
- (function (EndpointType) {
192
- EndpointType["PUBLIC"] = "PUBLIC";
193
- EndpointType["VPC"] = "VPC";
194
- EndpointType["VPC_ENDPOINT"] = "VPC_ENDPOINT";
195
- })(EndpointType || (EndpointType = {}));
196
- export var IdentityProviderType;
197
- (function (IdentityProviderType) {
198
- IdentityProviderType["API_GATEWAY"] = "API_GATEWAY";
199
- IdentityProviderType["AWS_DIRECTORY_SERVICE"] = "AWS_DIRECTORY_SERVICE";
200
- IdentityProviderType["AWS_LAMBDA"] = "AWS_LAMBDA";
201
- IdentityProviderType["SERVICE_MANAGED"] = "SERVICE_MANAGED";
202
- })(IdentityProviderType || (IdentityProviderType = {}));
203
- export var SetStatOption;
204
- (function (SetStatOption) {
205
- SetStatOption["DEFAULT"] = "DEFAULT";
206
- SetStatOption["ENABLE_NO_OP"] = "ENABLE_NO_OP";
207
- })(SetStatOption || (SetStatOption = {}));
208
- export var TlsSessionResumptionMode;
209
- (function (TlsSessionResumptionMode) {
210
- TlsSessionResumptionMode["DISABLED"] = "DISABLED";
211
- TlsSessionResumptionMode["ENABLED"] = "ENABLED";
212
- TlsSessionResumptionMode["ENFORCED"] = "ENFORCED";
213
- })(TlsSessionResumptionMode || (TlsSessionResumptionMode = {}));
214
- export var Protocol;
215
- (function (Protocol) {
216
- Protocol["AS2"] = "AS2";
217
- Protocol["FTP"] = "FTP";
218
- Protocol["FTPS"] = "FTPS";
219
- Protocol["SFTP"] = "SFTP";
220
- })(Protocol || (Protocol = {}));
221
- export var EncryptionType;
222
- (function (EncryptionType) {
223
- EncryptionType["PGP"] = "PGP";
224
- })(EncryptionType || (EncryptionType = {}));
225
- export var WorkflowStepType;
226
- (function (WorkflowStepType) {
227
- WorkflowStepType["COPY"] = "COPY";
228
- WorkflowStepType["CUSTOM"] = "CUSTOM";
229
- WorkflowStepType["DECRYPT"] = "DECRYPT";
230
- WorkflowStepType["DELETE"] = "DELETE";
231
- WorkflowStepType["TAG"] = "TAG";
232
- })(WorkflowStepType || (WorkflowStepType = {}));
233
- export var CustomStepStatus;
234
- (function (CustomStepStatus) {
235
- CustomStepStatus["FAILURE"] = "FAILURE";
236
- CustomStepStatus["SUCCESS"] = "SUCCESS";
237
- })(CustomStepStatus || (CustomStepStatus = {}));
238
- export var ExecutionErrorType;
239
- (function (ExecutionErrorType) {
240
- ExecutionErrorType["ALREADY_EXISTS"] = "ALREADY_EXISTS";
241
- ExecutionErrorType["BAD_REQUEST"] = "BAD_REQUEST";
242
- ExecutionErrorType["CUSTOM_STEP_FAILED"] = "CUSTOM_STEP_FAILED";
243
- ExecutionErrorType["INTERNAL_SERVER_ERROR"] = "INTERNAL_SERVER_ERROR";
244
- ExecutionErrorType["NOT_FOUND"] = "NOT_FOUND";
245
- ExecutionErrorType["PERMISSION_DENIED"] = "PERMISSION_DENIED";
246
- ExecutionErrorType["THROTTLED"] = "THROTTLED";
247
- ExecutionErrorType["TIMEOUT"] = "TIMEOUT";
248
- })(ExecutionErrorType || (ExecutionErrorType = {}));
249
- export var ExecutionStatus;
250
- (function (ExecutionStatus) {
251
- ExecutionStatus["COMPLETED"] = "COMPLETED";
252
- ExecutionStatus["EXCEPTION"] = "EXCEPTION";
253
- ExecutionStatus["HANDLING_EXCEPTION"] = "HANDLING_EXCEPTION";
254
- ExecutionStatus["IN_PROGRESS"] = "IN_PROGRESS";
255
- })(ExecutionStatus || (ExecutionStatus = {}));
256
- export var State;
257
- (function (State) {
258
- State["OFFLINE"] = "OFFLINE";
259
- State["ONLINE"] = "ONLINE";
260
- State["STARTING"] = "STARTING";
261
- State["START_FAILED"] = "START_FAILED";
262
- State["STOPPING"] = "STOPPING";
263
- State["STOP_FAILED"] = "STOP_FAILED";
264
- })(State || (State = {}));
168
+ export const ProfileType = {
169
+ LOCAL: "LOCAL",
170
+ PARTNER: "PARTNER",
171
+ };
172
+ export const Domain = {
173
+ EFS: "EFS",
174
+ S3: "S3",
175
+ };
176
+ export const EndpointType = {
177
+ PUBLIC: "PUBLIC",
178
+ VPC: "VPC",
179
+ VPC_ENDPOINT: "VPC_ENDPOINT",
180
+ };
181
+ export const IdentityProviderType = {
182
+ API_GATEWAY: "API_GATEWAY",
183
+ AWS_DIRECTORY_SERVICE: "AWS_DIRECTORY_SERVICE",
184
+ AWS_LAMBDA: "AWS_LAMBDA",
185
+ SERVICE_MANAGED: "SERVICE_MANAGED",
186
+ };
187
+ export const SetStatOption = {
188
+ DEFAULT: "DEFAULT",
189
+ ENABLE_NO_OP: "ENABLE_NO_OP",
190
+ };
191
+ export const TlsSessionResumptionMode = {
192
+ DISABLED: "DISABLED",
193
+ ENABLED: "ENABLED",
194
+ ENFORCED: "ENFORCED",
195
+ };
196
+ export const Protocol = {
197
+ AS2: "AS2",
198
+ FTP: "FTP",
199
+ FTPS: "FTPS",
200
+ SFTP: "SFTP",
201
+ };
202
+ export const EncryptionType = {
203
+ PGP: "PGP",
204
+ };
205
+ export const WorkflowStepType = {
206
+ COPY: "COPY",
207
+ CUSTOM: "CUSTOM",
208
+ DECRYPT: "DECRYPT",
209
+ DELETE: "DELETE",
210
+ TAG: "TAG",
211
+ };
212
+ export const CustomStepStatus = {
213
+ FAILURE: "FAILURE",
214
+ SUCCESS: "SUCCESS",
215
+ };
216
+ export const ExecutionErrorType = {
217
+ ALREADY_EXISTS: "ALREADY_EXISTS",
218
+ BAD_REQUEST: "BAD_REQUEST",
219
+ CUSTOM_STEP_FAILED: "CUSTOM_STEP_FAILED",
220
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
221
+ NOT_FOUND: "NOT_FOUND",
222
+ PERMISSION_DENIED: "PERMISSION_DENIED",
223
+ THROTTLED: "THROTTLED",
224
+ TIMEOUT: "TIMEOUT",
225
+ };
226
+ export const ExecutionStatus = {
227
+ COMPLETED: "COMPLETED",
228
+ EXCEPTION: "EXCEPTION",
229
+ HANDLING_EXCEPTION: "HANDLING_EXCEPTION",
230
+ IN_PROGRESS: "IN_PROGRESS",
231
+ };
232
+ export const State = {
233
+ OFFLINE: "OFFLINE",
234
+ ONLINE: "ONLINE",
235
+ STARTING: "STARTING",
236
+ START_FAILED: "START_FAILED",
237
+ STOPPING: "STOPPING",
238
+ STOP_FAILED: "STOP_FAILED",
239
+ };
265
240
  export class InvalidNextTokenException extends __BaseException {
266
241
  constructor(opts) {
267
242
  super({
@@ -31,20 +31,20 @@ export interface CreateAccessCommandOutput extends CreateAccessResponse, __Metad
31
31
  * import { TransferClient, CreateAccessCommand } from "@aws-sdk/client-transfer"; // ES Modules import
32
32
  * // const { TransferClient, CreateAccessCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
33
33
  * const client = new TransferClient(config);
34
- * const input = {
34
+ * const input = { // CreateAccessRequest
35
35
  * HomeDirectory: "STRING_VALUE",
36
36
  * HomeDirectoryType: "PATH" || "LOGICAL",
37
- * HomeDirectoryMappings: [
38
- * {
37
+ * HomeDirectoryMappings: [ // HomeDirectoryMappings
38
+ * { // HomeDirectoryMapEntry
39
39
  * Entry: "STRING_VALUE", // required
40
40
  * Target: "STRING_VALUE", // required
41
41
  * },
42
42
  * ],
43
43
  * Policy: "STRING_VALUE",
44
- * PosixProfile: {
44
+ * PosixProfile: { // PosixProfile
45
45
  * Uid: Number("long"), // required
46
46
  * Gid: Number("long"), // required
47
- * SecondaryGids: [
47
+ * SecondaryGids: [ // SecondaryGids
48
48
  * Number("long"),
49
49
  * ],
50
50
  * },