@@ -25,6 +25,34 @@ export class AccessDeniedException extends __BaseException {
25
25
}
26
26
}
27
27
28
+ /**
29
+ * @public
30
+ * @enum
31
+ */
32
+ export const EnforceMessageSigningType = {
33
+ DISABLED : "DISABLED" ,
34
+ ENABLED : "ENABLED" ,
35
+ } as const ;
36
+
37
+ /**
38
+ * @public
39
+ */
40
+ export type EnforceMessageSigningType = ( typeof EnforceMessageSigningType ) [ keyof typeof EnforceMessageSigningType ] ;
41
+
42
+ /**
43
+ * @public
44
+ * @enum
45
+ */
46
+ export const PreserveFilenameType = {
47
+ DISABLED : "DISABLED" ,
48
+ ENABLED : "ENABLED" ,
49
+ } as const ;
50
+
51
+ /**
52
+ * @public
53
+ */
54
+ export type PreserveFilenameType = ( typeof PreserveFilenameType ) [ keyof typeof PreserveFilenameType ] ;
55
+
28
56
/**
29
57
* @public
30
58
* @enum
@@ -142,6 +170,44 @@ export interface CreateAgreementRequest {
142
170
* @public
143
171
*/
144
172
Tags ?: Tag [ ] | undefined ;
173
+
174
+ /**
175
+ * <p>
176
+ * Determines whether or not Transfer Family appends a unique string of characters to the end of the AS2 message payload
177
+ * filename when saving it.
178
+ * </p>
179
+ * <ul>
180
+ * <li>
181
+ * <p>
182
+ * <code>ENABLED</code>: the filename provided by your trading parter is preserved when the file is saved.</p>
183
+ * </li>
184
+ * <li>
185
+ * <p>
186
+ * <code>DISABLED</code> (default value): when Transfer Family saves the file, the filename is adjusted, as
187
+ * described in <a href="https://docs.aws.amazon.com/transfer/latest/userguide/send-as2-messages.html#file-names-as2">File names and locations</a>.</p>
188
+ * </li>
189
+ * </ul>
190
+ * @public
191
+ */
192
+ PreserveFilename ?: PreserveFilenameType | undefined ;
193
+
194
+ /**
195
+ * <p>
196
+ * Determines whether or not unsigned messages from your trading partners will be accepted.
197
+ * </p>
198
+ * <ul>
199
+ * <li>
200
+ * <p>
201
+ * <code>ENABLED</code>: Transfer Family rejects unsigned messages from your trading partner.</p>
202
+ * </li>
203
+ * <li>
204
+ * <p>
205
+ * <code>DISABLED</code> (default value): Transfer Family accepts unsigned messages from your trading partner.</p>
206
+ * </li>
207
+ * </ul>
208
+ * @public
209
+ */
210
+ EnforceMessageSigning ?: EnforceMessageSigningType | undefined ;
145
211
}
146
212
147
213
/**
@@ -425,6 +491,44 @@ export interface DescribedAgreement {
425
491
* @public
426
492
*/
427
493
Tags ?: Tag [ ] | undefined ;
494
+
495
+ /**
496
+ * <p>
497
+ * Determines whether or not Transfer Family appends a unique string of characters to the end of the AS2 message payload
498
+ * filename when saving it.
499
+ * </p>
500
+ * <ul>
501
+ * <li>
502
+ * <p>
503
+ * <code>ENABLED</code>: the filename provided by your trading parter is preserved when the file is saved.</p>
504
+ * </li>
505
+ * <li>
506
+ * <p>
507
+ * <code>DISABLED</code> (default value): when Transfer Family saves the file, the filename is adjusted, as
508
+ * described in <a href="https://docs.aws.amazon.com/transfer/latest/userguide/send-as2-messages.html#file-names-as2">File names and locations</a>.</p>
509
+ * </li>
510
+ * </ul>
511
+ * @public
512
+ */
513
+ PreserveFilename ?: PreserveFilenameType | undefined ;
514
+
515
+ /**
516
+ * <p>
517
+ * Determines whether or not unsigned messages from your trading partners will be accepted.
518
+ * </p>
519
+ * <ul>
520
+ * <li>
521
+ * <p>
522
+ * <code>ENABLED</code>: Transfer Family rejects unsigned messages from your trading partner.</p>
523
+ * </li>
524
+ * <li>
525
+ * <p>
526
+ * <code>DISABLED</code> (default value): Transfer Family accepts unsigned messages from your trading partner.</p>
527
+ * </li>
528
+ * </ul>
529
+ * @public
530
+ */
531
+ EnforceMessageSigning ?: EnforceMessageSigningType | undefined ;
428
532
}
429
533
430
534
/**
@@ -638,6 +742,44 @@ export interface UpdateAgreementRequest {
638
742
* @public
639
743
*/
640
744
AccessRole ?: string | undefined ;
745
+
746
+ /**
747
+ * <p>
748
+ * Determines whether or not Transfer Family appends a unique string of characters to the end of the AS2 message payload
749
+ * filename when saving it.
750
+ * </p>
751
+ * <ul>
752
+ * <li>
753
+ * <p>
754
+ * <code>ENABLED</code>: the filename provided by your trading parter is preserved when the file is saved.</p>
755
+ * </li>
756
+ * <li>
757
+ * <p>
758
+ * <code>DISABLED</code> (default value): when Transfer Family saves the file, the filename is adjusted, as
759
+ * described in <a href="https://docs.aws.amazon.com/transfer/latest/userguide/send-as2-messages.html#file-names-as2">File names and locations</a>.</p>
760
+ * </li>
761
+ * </ul>
762
+ * @public
763
+ */
764
+ PreserveFilename ?: PreserveFilenameType | undefined ;
765
+
766
+ /**
767
+ * <p>
768
+ * Determines whether or not unsigned messages from your trading partners will be accepted.
769
+ * </p>
770
+ * <ul>
771
+ * <li>
772
+ * <p>
773
+ * <code>ENABLED</code>: Transfer Family rejects unsigned messages from your trading partner.</p>
774
+ * </li>
775
+ * <li>
776
+ * <p>
777
+ * <code>DISABLED</code> (default value): Transfer Family accepts unsigned messages from your trading partner.</p>
778
+ * </li>
779
+ * </ul>
780
+ * @public
781
+ */
782
+ EnforceMessageSigning ?: EnforceMessageSigningType | undefined ;
641
783
}
642
784
643
785
/**
@@ -714,6 +856,20 @@ export const MdnSigningAlg = {
714
856
*/
715
857
export type MdnSigningAlg = ( typeof MdnSigningAlg ) [ keyof typeof MdnSigningAlg ] ;
716
858
859
+ /**
860
+ * @public
861
+ * @enum
862
+ */
863
+ export const PreserveContentType = {
864
+ DISABLED : "DISABLED" ,
865
+ ENABLED : "ENABLED" ,
866
+ } as const ;
867
+
868
+ /**
869
+ * @public
870
+ */
871
+ export type PreserveContentType = ( typeof PreserveContentType ) [ keyof typeof PreserveContentType ] ;
872
+
717
873
/**
718
874
* @public
719
875
* @enum
@@ -838,6 +994,14 @@ export interface As2ConnectorConfig {
838
994
* @public
839
995
*/
840
996
BasicAuthSecretId ?: string | undefined ;
997
+
998
+ /**
999
+ * <p>Allows you to use the Amazon S3 <code>Content-Type</code> that is associated with objects in S3 instead of
1000
+ * having the content type mapped based on the file extension. This parameter is enabled by default when you create an AS2 connector
1001
+ * from the console, but disabled by default when you create an AS2 connector by calling the API directly.</p>
1002
+ * @public
1003
+ */
1004
+ PreserveContentType ?: PreserveContentType | undefined ;
841
1005
}
842
1006
843
1007
/**
@@ -957,9 +1121,7 @@ export interface DescribedCertificate {
957
1121
Usage ?: CertificateUsageType | undefined ;
958
1122
959
1123
/**
960
- * <p>The certificate can be either <code>ACTIVE</code>, <code>PENDING_ROTATION</code>, or
961
- * <code>INACTIVE</code>. <code>PENDING_ROTATION</code> means that this certificate will
962
- * replace the current certificate when it expires.</p>
1124
+ * <p>Currently, the only available status is <code>ACTIVE</code>: all other values are reserved for future use.</p>
963
1125
* @public
964
1126
*/
965
1127
Status ?: CertificateStatusType | undefined ;
0 commit comments