@aws-sdk/client-transfer 3.577.0 → 3.579.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/dist-cjs/index.js CHANGED
@@ -346,83 +346,6 @@ var AgreementStatusType = {
346
346
  ACTIVE: "ACTIVE",
347
347
  INACTIVE: "INACTIVE"
348
348
  };
349
- var CompressionEnum = {
350
- DISABLED: "DISABLED",
351
- ZLIB: "ZLIB"
352
- };
353
- var EncryptionAlg = {
354
- AES128_CBC: "AES128_CBC",
355
- AES192_CBC: "AES192_CBC",
356
- AES256_CBC: "AES256_CBC",
357
- DES_EDE3_CBC: "DES_EDE3_CBC",
358
- NONE: "NONE"
359
- };
360
- var MdnResponse = {
361
- NONE: "NONE",
362
- SYNC: "SYNC"
363
- };
364
- var MdnSigningAlg = {
365
- DEFAULT: "DEFAULT",
366
- NONE: "NONE",
367
- SHA1: "SHA1",
368
- SHA256: "SHA256",
369
- SHA384: "SHA384",
370
- SHA512: "SHA512"
371
- };
372
- var SigningAlg = {
373
- NONE: "NONE",
374
- SHA1: "SHA1",
375
- SHA256: "SHA256",
376
- SHA384: "SHA384",
377
- SHA512: "SHA512"
378
- };
379
- var As2Transport = {
380
- HTTP: "HTTP"
381
- };
382
- var CertificateStatusType = {
383
- ACTIVE: "ACTIVE",
384
- INACTIVE: "INACTIVE",
385
- PENDING_ROTATION: "PENDING_ROTATION"
386
- };
387
- var CertificateType = {
388
- CERTIFICATE: "CERTIFICATE",
389
- CERTIFICATE_WITH_PRIVATE_KEY: "CERTIFICATE_WITH_PRIVATE_KEY"
390
- };
391
- var CertificateUsageType = {
392
- ENCRYPTION: "ENCRYPTION",
393
- SIGNING: "SIGNING",
394
- TLS: "TLS"
395
- };
396
- var _ConflictException = class _ConflictException extends TransferServiceException {
397
- /**
398
- * @internal
399
- */
400
- constructor(opts) {
401
- super({
402
- name: "ConflictException",
403
- $fault: "client",
404
- ...opts
405
- });
406
- this.name = "ConflictException";
407
- this.$fault = "client";
408
- Object.setPrototypeOf(this, _ConflictException.prototype);
409
- this.Message = opts.Message;
410
- }
411
- };
412
- __name(_ConflictException, "ConflictException");
413
- var ConflictException = _ConflictException;
414
- var OverwriteExisting = {
415
- FALSE: "FALSE",
416
- TRUE: "TRUE"
417
- };
418
- var MapType = {
419
- DIRECTORY: "DIRECTORY",
420
- FILE: "FILE"
421
- };
422
- var HomeDirectoryType = {
423
- LOGICAL: "LOGICAL",
424
- PATH: "PATH"
425
- };
426
349
  var _InternalServiceError = class _InternalServiceError extends TransferServiceException {
427
350
  /**
428
351
  * @internal
@@ -535,6 +458,101 @@ var _ThrottlingException = class _ThrottlingException extends TransferServiceExc
535
458
  };
536
459
  __name(_ThrottlingException, "ThrottlingException");
537
460
  var ThrottlingException = _ThrottlingException;
461
+ var _InvalidNextTokenException = class _InvalidNextTokenException extends TransferServiceException {
462
+ /**
463
+ * @internal
464
+ */
465
+ constructor(opts) {
466
+ super({
467
+ name: "InvalidNextTokenException",
468
+ $fault: "client",
469
+ ...opts
470
+ });
471
+ this.name = "InvalidNextTokenException";
472
+ this.$fault = "client";
473
+ Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);
474
+ this.Message = opts.Message;
475
+ }
476
+ };
477
+ __name(_InvalidNextTokenException, "InvalidNextTokenException");
478
+ var InvalidNextTokenException = _InvalidNextTokenException;
479
+ var CompressionEnum = {
480
+ DISABLED: "DISABLED",
481
+ ZLIB: "ZLIB"
482
+ };
483
+ var EncryptionAlg = {
484
+ AES128_CBC: "AES128_CBC",
485
+ AES192_CBC: "AES192_CBC",
486
+ AES256_CBC: "AES256_CBC",
487
+ DES_EDE3_CBC: "DES_EDE3_CBC",
488
+ NONE: "NONE"
489
+ };
490
+ var MdnResponse = {
491
+ NONE: "NONE",
492
+ SYNC: "SYNC"
493
+ };
494
+ var MdnSigningAlg = {
495
+ DEFAULT: "DEFAULT",
496
+ NONE: "NONE",
497
+ SHA1: "SHA1",
498
+ SHA256: "SHA256",
499
+ SHA384: "SHA384",
500
+ SHA512: "SHA512"
501
+ };
502
+ var SigningAlg = {
503
+ NONE: "NONE",
504
+ SHA1: "SHA1",
505
+ SHA256: "SHA256",
506
+ SHA384: "SHA384",
507
+ SHA512: "SHA512"
508
+ };
509
+ var As2Transport = {
510
+ HTTP: "HTTP"
511
+ };
512
+ var CertificateStatusType = {
513
+ ACTIVE: "ACTIVE",
514
+ INACTIVE: "INACTIVE",
515
+ PENDING_ROTATION: "PENDING_ROTATION"
516
+ };
517
+ var CertificateType = {
518
+ CERTIFICATE: "CERTIFICATE",
519
+ CERTIFICATE_WITH_PRIVATE_KEY: "CERTIFICATE_WITH_PRIVATE_KEY"
520
+ };
521
+ var CertificateUsageType = {
522
+ ENCRYPTION: "ENCRYPTION",
523
+ SIGNING: "SIGNING",
524
+ TLS: "TLS"
525
+ };
526
+ var _ConflictException = class _ConflictException extends TransferServiceException {
527
+ /**
528
+ * @internal
529
+ */
530
+ constructor(opts) {
531
+ super({
532
+ name: "ConflictException",
533
+ $fault: "client",
534
+ ...opts
535
+ });
536
+ this.name = "ConflictException";
537
+ this.$fault = "client";
538
+ Object.setPrototypeOf(this, _ConflictException.prototype);
539
+ this.Message = opts.Message;
540
+ }
541
+ };
542
+ __name(_ConflictException, "ConflictException");
543
+ var ConflictException = _ConflictException;
544
+ var OverwriteExisting = {
545
+ FALSE: "FALSE",
546
+ TRUE: "TRUE"
547
+ };
548
+ var MapType = {
549
+ DIRECTORY: "DIRECTORY",
550
+ FILE: "FILE"
551
+ };
552
+ var HomeDirectoryType = {
553
+ LOGICAL: "LOGICAL",
554
+ PATH: "PATH"
555
+ };
538
556
  var ProfileType = {
539
557
  LOCAL: "LOCAL",
540
558
  PARTNER: "PARTNER"
@@ -625,28 +643,6 @@ var State = {
625
643
  STOPPING: "STOPPING",
626
644
  STOP_FAILED: "STOP_FAILED"
627
645
  };
628
- var _InvalidNextTokenException = class _InvalidNextTokenException extends TransferServiceException {
629
- /**
630
- * @internal
631
- */
632
- constructor(opts) {
633
- super({
634
- name: "InvalidNextTokenException",
635
- $fault: "client",
636
- ...opts
637
- });
638
- this.name = "InvalidNextTokenException";
639
- this.$fault = "client";
640
- Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);
641
- this.Message = opts.Message;
642
- }
643
- };
644
- __name(_InvalidNextTokenException, "InvalidNextTokenException");
645
- var InvalidNextTokenException = _InvalidNextTokenException;
646
- var CreateServerRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
647
- ...obj,
648
- ...obj.HostKey && { HostKey: import_smithy_client.SENSITIVE_STRING }
649
- }), "CreateServerRequestFilterSensitiveLog");
650
646
  var DescribedCertificateFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
651
647
  ...obj,
652
648
  ...obj.Certificate && { Certificate: import_smithy_client.SENSITIVE_STRING },
@@ -662,18 +658,22 @@ var ImportCertificateRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
662
658
  ...obj.CertificateChain && { CertificateChain: import_smithy_client.SENSITIVE_STRING },
663
659
  ...obj.PrivateKey && { PrivateKey: import_smithy_client.SENSITIVE_STRING }
664
660
  }), "ImportCertificateRequestFilterSensitiveLog");
661
+ var CreateServerRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
662
+ ...obj,
663
+ ...obj.HostKey && { HostKey: import_smithy_client.SENSITIVE_STRING }
664
+ }), "CreateServerRequestFilterSensitiveLog");
665
665
  var ImportHostKeyRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
666
666
  ...obj,
667
667
  ...obj.HostKeyBody && { HostKeyBody: import_smithy_client.SENSITIVE_STRING }
668
668
  }), "ImportHostKeyRequestFilterSensitiveLog");
669
- var TestIdentityProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
670
- ...obj,
671
- ...obj.UserPassword && { UserPassword: import_smithy_client.SENSITIVE_STRING }
672
- }), "TestIdentityProviderRequestFilterSensitiveLog");
673
669
  var UpdateServerRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
674
670
  ...obj,
675
671
  ...obj.HostKey && { HostKey: import_smithy_client.SENSITIVE_STRING }
676
672
  }), "UpdateServerRequestFilterSensitiveLog");
673
+ var TestIdentityProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
674
+ ...obj,
675
+ ...obj.UserPassword && { UserPassword: import_smithy_client.SENSITIVE_STRING }
676
+ }), "TestIdentityProviderRequestFilterSensitiveLog");
677
677
 
678
678
  // src/protocols/Aws_json1_1.ts
679
679
  var se_CreateAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -3363,6 +3363,13 @@ var waitUntilServerOnline = /* @__PURE__ */ __name(async (params, input) => {
3363
3363
  waitUntilServerOnline,
3364
3364
  AccessDeniedException,
3365
3365
  AgreementStatusType,
3366
+ InternalServiceError,
3367
+ InvalidRequestException,
3368
+ ResourceExistsException,
3369
+ ResourceNotFoundException,
3370
+ ServiceUnavailableException,
3371
+ ThrottlingException,
3372
+ InvalidNextTokenException,
3366
3373
  CompressionEnum,
3367
3374
  EncryptionAlg,
3368
3375
  MdnResponse,
@@ -3376,12 +3383,6 @@ var waitUntilServerOnline = /* @__PURE__ */ __name(async (params, input) => {
3376
3383
  OverwriteExisting,
3377
3384
  MapType,
3378
3385
  HomeDirectoryType,
3379
- InternalServiceError,
3380
- InvalidRequestException,
3381
- ResourceExistsException,
3382
- ResourceNotFoundException,
3383
- ServiceUnavailableException,
3384
- ThrottlingException,
3385
3386
  ProfileType,
3386
3387
  Domain,
3387
3388
  EndpointType,
@@ -3399,13 +3400,12 @@ var waitUntilServerOnline = /* @__PURE__ */ __name(async (params, input) => {
3399
3400
  SecurityPolicyProtocol,
3400
3401
  SecurityPolicyResourceType,
3401
3402
  State,
3402
- InvalidNextTokenException,
3403
- CreateServerRequestFilterSensitiveLog,
3404
3403
  DescribedCertificateFilterSensitiveLog,
3405
3404
  DescribeCertificateResponseFilterSensitiveLog,
3406
3405
  ImportCertificateRequestFilterSensitiveLog,
3406
+ CreateServerRequestFilterSensitiveLog,
3407
3407
  ImportHostKeyRequestFilterSensitiveLog,
3408
- TestIdentityProviderRequestFilterSensitiveLog,
3409
- UpdateServerRequestFilterSensitiveLog
3408
+ UpdateServerRequestFilterSensitiveLog,
3409
+ TestIdentityProviderRequestFilterSensitiveLog
3410
3410
  });
3411
3411
 
@@ -17,78 +17,6 @@ export const AgreementStatusType = {
17
17
  ACTIVE: "ACTIVE",
18
18
  INACTIVE: "INACTIVE",
19
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
- DES_EDE3_CBC: "DES_EDE3_CBC",
29
- NONE: "NONE",
30
- };
31
- export const MdnResponse = {
32
- NONE: "NONE",
33
- SYNC: "SYNC",
34
- };
35
- export const MdnSigningAlg = {
36
- DEFAULT: "DEFAULT",
37
- NONE: "NONE",
38
- SHA1: "SHA1",
39
- SHA256: "SHA256",
40
- SHA384: "SHA384",
41
- SHA512: "SHA512",
42
- };
43
- export const SigningAlg = {
44
- NONE: "NONE",
45
- SHA1: "SHA1",
46
- SHA256: "SHA256",
47
- SHA384: "SHA384",
48
- SHA512: "SHA512",
49
- };
50
- export const As2Transport = {
51
- HTTP: "HTTP",
52
- };
53
- export const CertificateStatusType = {
54
- ACTIVE: "ACTIVE",
55
- INACTIVE: "INACTIVE",
56
- PENDING_ROTATION: "PENDING_ROTATION",
57
- };
58
- export const CertificateType = {
59
- CERTIFICATE: "CERTIFICATE",
60
- CERTIFICATE_WITH_PRIVATE_KEY: "CERTIFICATE_WITH_PRIVATE_KEY",
61
- };
62
- export const CertificateUsageType = {
63
- ENCRYPTION: "ENCRYPTION",
64
- SIGNING: "SIGNING",
65
- TLS: "TLS",
66
- };
67
- export class ConflictException extends __BaseException {
68
- constructor(opts) {
69
- super({
70
- name: "ConflictException",
71
- $fault: "client",
72
- ...opts,
73
- });
74
- this.name = "ConflictException";
75
- this.$fault = "client";
76
- Object.setPrototypeOf(this, ConflictException.prototype);
77
- this.Message = opts.Message;
78
- }
79
- }
80
- export const OverwriteExisting = {
81
- FALSE: "FALSE",
82
- TRUE: "TRUE",
83
- };
84
- export const MapType = {
85
- DIRECTORY: "DIRECTORY",
86
- FILE: "FILE",
87
- };
88
- export const HomeDirectoryType = {
89
- LOGICAL: "LOGICAL",
90
- PATH: "PATH",
91
- };
92
20
  export class InternalServiceError extends __BaseException {
93
21
  constructor(opts) {
94
22
  super({
@@ -171,6 +99,91 @@ export class ThrottlingException extends __BaseException {
171
99
  this.RetryAfterSeconds = opts.RetryAfterSeconds;
172
100
  }
173
101
  }
102
+ export class InvalidNextTokenException extends __BaseException {
103
+ constructor(opts) {
104
+ super({
105
+ name: "InvalidNextTokenException",
106
+ $fault: "client",
107
+ ...opts,
108
+ });
109
+ this.name = "InvalidNextTokenException";
110
+ this.$fault = "client";
111
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
112
+ this.Message = opts.Message;
113
+ }
114
+ }
115
+ export const CompressionEnum = {
116
+ DISABLED: "DISABLED",
117
+ ZLIB: "ZLIB",
118
+ };
119
+ export const EncryptionAlg = {
120
+ AES128_CBC: "AES128_CBC",
121
+ AES192_CBC: "AES192_CBC",
122
+ AES256_CBC: "AES256_CBC",
123
+ DES_EDE3_CBC: "DES_EDE3_CBC",
124
+ NONE: "NONE",
125
+ };
126
+ export const MdnResponse = {
127
+ NONE: "NONE",
128
+ SYNC: "SYNC",
129
+ };
130
+ export const MdnSigningAlg = {
131
+ DEFAULT: "DEFAULT",
132
+ NONE: "NONE",
133
+ SHA1: "SHA1",
134
+ SHA256: "SHA256",
135
+ SHA384: "SHA384",
136
+ SHA512: "SHA512",
137
+ };
138
+ export const SigningAlg = {
139
+ NONE: "NONE",
140
+ SHA1: "SHA1",
141
+ SHA256: "SHA256",
142
+ SHA384: "SHA384",
143
+ SHA512: "SHA512",
144
+ };
145
+ export const As2Transport = {
146
+ HTTP: "HTTP",
147
+ };
148
+ export const CertificateStatusType = {
149
+ ACTIVE: "ACTIVE",
150
+ INACTIVE: "INACTIVE",
151
+ PENDING_ROTATION: "PENDING_ROTATION",
152
+ };
153
+ export const CertificateType = {
154
+ CERTIFICATE: "CERTIFICATE",
155
+ CERTIFICATE_WITH_PRIVATE_KEY: "CERTIFICATE_WITH_PRIVATE_KEY",
156
+ };
157
+ export const CertificateUsageType = {
158
+ ENCRYPTION: "ENCRYPTION",
159
+ SIGNING: "SIGNING",
160
+ TLS: "TLS",
161
+ };
162
+ export class ConflictException extends __BaseException {
163
+ constructor(opts) {
164
+ super({
165
+ name: "ConflictException",
166
+ $fault: "client",
167
+ ...opts,
168
+ });
169
+ this.name = "ConflictException";
170
+ this.$fault = "client";
171
+ Object.setPrototypeOf(this, ConflictException.prototype);
172
+ this.Message = opts.Message;
173
+ }
174
+ }
175
+ export const OverwriteExisting = {
176
+ FALSE: "FALSE",
177
+ TRUE: "TRUE",
178
+ };
179
+ export const MapType = {
180
+ DIRECTORY: "DIRECTORY",
181
+ FILE: "FILE",
182
+ };
183
+ export const HomeDirectoryType = {
184
+ LOGICAL: "LOGICAL",
185
+ PATH: "PATH",
186
+ };
174
187
  export const ProfileType = {
175
188
  LOCAL: "LOCAL",
176
189
  PARTNER: "PARTNER",
@@ -261,23 +274,6 @@ export const State = {
261
274
  STOPPING: "STOPPING",
262
275
  STOP_FAILED: "STOP_FAILED",
263
276
  };
264
- export class InvalidNextTokenException extends __BaseException {
265
- constructor(opts) {
266
- super({
267
- name: "InvalidNextTokenException",
268
- $fault: "client",
269
- ...opts,
270
- });
271
- this.name = "InvalidNextTokenException";
272
- this.$fault = "client";
273
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
274
- this.Message = opts.Message;
275
- }
276
- }
277
- export const CreateServerRequestFilterSensitiveLog = (obj) => ({
278
- ...obj,
279
- ...(obj.HostKey && { HostKey: SENSITIVE_STRING }),
280
- });
281
277
  export const DescribedCertificateFilterSensitiveLog = (obj) => ({
282
278
  ...obj,
283
279
  ...(obj.Certificate && { Certificate: SENSITIVE_STRING }),
@@ -293,15 +289,19 @@ export const ImportCertificateRequestFilterSensitiveLog = (obj) => ({
293
289
  ...(obj.CertificateChain && { CertificateChain: SENSITIVE_STRING }),
294
290
  ...(obj.PrivateKey && { PrivateKey: SENSITIVE_STRING }),
295
291
  });
296
- export const ImportHostKeyRequestFilterSensitiveLog = (obj) => ({
292
+ export const CreateServerRequestFilterSensitiveLog = (obj) => ({
297
293
  ...obj,
298
- ...(obj.HostKeyBody && { HostKeyBody: SENSITIVE_STRING }),
294
+ ...(obj.HostKey && { HostKey: SENSITIVE_STRING }),
299
295
  });
300
- export const TestIdentityProviderRequestFilterSensitiveLog = (obj) => ({
296
+ export const ImportHostKeyRequestFilterSensitiveLog = (obj) => ({
301
297
  ...obj,
302
- ...(obj.UserPassword && { UserPassword: SENSITIVE_STRING }),
298
+ ...(obj.HostKeyBody && { HostKeyBody: SENSITIVE_STRING }),
303
299
  });
304
300
  export const UpdateServerRequestFilterSensitiveLog = (obj) => ({
305
301
  ...obj,
306
302
  ...(obj.HostKey && { HostKey: SENSITIVE_STRING }),
307
303
  });
304
+ export const TestIdentityProviderRequestFilterSensitiveLog = (obj) => ({
305
+ ...obj,
306
+ ...(obj.UserPassword && { UserPassword: SENSITIVE_STRING }),
307
+ });