@aws-sdk/client-transfer 3.734.0 → 3.738.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-types/commands/CreateAgreementCommand.d.ts +12 -1
- package/dist-types/commands/DescribeAgreementCommand.d.ts +7 -0
- package/dist-types/commands/UpdateAgreementCommand.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +98 -1
- package/dist-types/ts3.4/models/models_0.d.ts +11 -1
- package/package.json +2 -2
|
@@ -33,6 +33,10 @@ declare const CreateAgreementCommand_base: {
|
|
|
33
33
|
* combines a server, local profile, partner profile, certificate, and other
|
|
34
34
|
* attributes.</p>
|
|
35
35
|
* <p>The partner is identified with the <code>PartnerProfileId</code>, and the AS2 process is identified with the <code>LocalProfileId</code>.</p>
|
|
36
|
+
* <note>
|
|
37
|
+
* <p>Specify <i>either</i>
|
|
38
|
+
* <code>BaseDirectory</code> or <code>CustomDirectories</code>, but not both. Specifying both causes the command to fail.</p>
|
|
39
|
+
* </note>
|
|
36
40
|
* @example
|
|
37
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
42
|
* ```javascript
|
|
@@ -44,7 +48,7 @@ declare const CreateAgreementCommand_base: {
|
|
|
44
48
|
* ServerId: "STRING_VALUE", // required
|
|
45
49
|
* LocalProfileId: "STRING_VALUE", // required
|
|
46
50
|
* PartnerProfileId: "STRING_VALUE", // required
|
|
47
|
-
* BaseDirectory: "STRING_VALUE",
|
|
51
|
+
* BaseDirectory: "STRING_VALUE",
|
|
48
52
|
* AccessRole: "STRING_VALUE", // required
|
|
49
53
|
* Status: "ACTIVE" || "INACTIVE",
|
|
50
54
|
* Tags: [ // Tags
|
|
@@ -55,6 +59,13 @@ declare const CreateAgreementCommand_base: {
|
|
|
55
59
|
* ],
|
|
56
60
|
* PreserveFilename: "ENABLED" || "DISABLED",
|
|
57
61
|
* EnforceMessageSigning: "ENABLED" || "DISABLED",
|
|
62
|
+
* CustomDirectories: { // CustomDirectoriesType
|
|
63
|
+
* FailedFilesDirectory: "STRING_VALUE", // required
|
|
64
|
+
* MdnFilesDirectory: "STRING_VALUE", // required
|
|
65
|
+
* PayloadFilesDirectory: "STRING_VALUE", // required
|
|
66
|
+
* StatusFilesDirectory: "STRING_VALUE", // required
|
|
67
|
+
* TemporaryFilesDirectory: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
58
69
|
* };
|
|
59
70
|
* const command = new CreateAgreementCommand(input);
|
|
60
71
|
* const response = await client.send(command);
|
|
@@ -59,6 +59,13 @@ declare const DescribeAgreementCommand_base: {
|
|
|
59
59
|
* // ],
|
|
60
60
|
* // PreserveFilename: "ENABLED" || "DISABLED",
|
|
61
61
|
* // EnforceMessageSigning: "ENABLED" || "DISABLED",
|
|
62
|
+
* // CustomDirectories: { // CustomDirectoriesType
|
|
63
|
+
* // FailedFilesDirectory: "STRING_VALUE", // required
|
|
64
|
+
* // MdnFilesDirectory: "STRING_VALUE", // required
|
|
65
|
+
* // PayloadFilesDirectory: "STRING_VALUE", // required
|
|
66
|
+
* // StatusFilesDirectory: "STRING_VALUE", // required
|
|
67
|
+
* // TemporaryFilesDirectory: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
62
69
|
* // },
|
|
63
70
|
* // };
|
|
64
71
|
*
|
|
@@ -30,6 +30,11 @@ declare const UpdateAgreementCommand_base: {
|
|
|
30
30
|
* <p>Updates some of the parameters for an existing agreement. Provide the
|
|
31
31
|
* <code>AgreementId</code> and the <code>ServerId</code> for the agreement that you want to
|
|
32
32
|
* update, along with the new values for the parameters to update.</p>
|
|
33
|
+
* <note>
|
|
34
|
+
* <p>Specify <i>either</i>
|
|
35
|
+
* <code>BaseDirectory</code> or <code>CustomDirectories</code>, but not both. Specifying both causes the command to fail.</p>
|
|
36
|
+
* <p>If you update an agreement from using base directory to custom directories, the base directory is no longer used. Similarly, if you change from custom directories to a base directory, the custom directories are no longer used.</p>
|
|
37
|
+
* </note>
|
|
33
38
|
* @example
|
|
34
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
40
|
* ```javascript
|
|
@@ -47,6 +52,13 @@ declare const UpdateAgreementCommand_base: {
|
|
|
47
52
|
* AccessRole: "STRING_VALUE",
|
|
48
53
|
* PreserveFilename: "ENABLED" || "DISABLED",
|
|
49
54
|
* EnforceMessageSigning: "ENABLED" || "DISABLED",
|
|
55
|
+
* CustomDirectories: { // CustomDirectoriesType
|
|
56
|
+
* FailedFilesDirectory: "STRING_VALUE", // required
|
|
57
|
+
* MdnFilesDirectory: "STRING_VALUE", // required
|
|
58
|
+
* PayloadFilesDirectory: "STRING_VALUE", // required
|
|
59
|
+
* StatusFilesDirectory: "STRING_VALUE", // required
|
|
60
|
+
* TemporaryFilesDirectory: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
50
62
|
* };
|
|
51
63
|
* const command = new UpdateAgreementCommand(input);
|
|
52
64
|
* const response = await client.send(command);
|
|
@@ -13,6 +13,37 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
*/
|
|
14
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>Contains Amazon S3 locations for storing specific types of AS2 message files.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface CustomDirectoriesType {
|
|
21
|
+
/**
|
|
22
|
+
* <p>Specifies a location to store failed AS2 message files.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
FailedFilesDirectory: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>Specifies a location to store MDN files.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
MdnFilesDirectory: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* <p>Specifies a location to store the payload for AS2 message files.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
PayloadFilesDirectory: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>Specifies a location to store AS2 status messages.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
StatusFilesDirectory: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>Specifies a location to store temporary AS2 message files.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
TemporaryFilesDirectory: string | undefined;
|
|
46
|
+
}
|
|
16
47
|
/**
|
|
17
48
|
* @public
|
|
18
49
|
* @enum
|
|
@@ -100,7 +131,7 @@ export interface CreateAgreementRequest {
|
|
|
100
131
|
* <code>/<i>amzn-s3-demo-bucket</i>/home/mydirectory</code>.</p>
|
|
101
132
|
* @public
|
|
102
133
|
*/
|
|
103
|
-
BaseDirectory
|
|
134
|
+
BaseDirectory?: string | undefined;
|
|
104
135
|
/**
|
|
105
136
|
* <p>Connectors are used to send files using either the AS2 or SFTP protocol. For the access role,
|
|
106
137
|
* provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.</p>
|
|
@@ -179,6 +210,28 @@ export interface CreateAgreementRequest {
|
|
|
179
210
|
* @public
|
|
180
211
|
*/
|
|
181
212
|
EnforceMessageSigning?: EnforceMessageSigningType | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* <p>A <code>CustomDirectoriesType</code> structure. This structure specifies custom directories for storing various AS2 message files. You can specify directories for the following types of files.</p>
|
|
215
|
+
* <ul>
|
|
216
|
+
* <li>
|
|
217
|
+
* <p>Failed files</p>
|
|
218
|
+
* </li>
|
|
219
|
+
* <li>
|
|
220
|
+
* <p>MDN files</p>
|
|
221
|
+
* </li>
|
|
222
|
+
* <li>
|
|
223
|
+
* <p>Payload files</p>
|
|
224
|
+
* </li>
|
|
225
|
+
* <li>
|
|
226
|
+
* <p>Status files</p>
|
|
227
|
+
* </li>
|
|
228
|
+
* <li>
|
|
229
|
+
* <p>Temporary files</p>
|
|
230
|
+
* </li>
|
|
231
|
+
* </ul>
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
CustomDirectories?: CustomDirectoriesType | undefined;
|
|
182
235
|
}
|
|
183
236
|
/**
|
|
184
237
|
* @public
|
|
@@ -425,6 +478,28 @@ export interface DescribedAgreement {
|
|
|
425
478
|
* @public
|
|
426
479
|
*/
|
|
427
480
|
EnforceMessageSigning?: EnforceMessageSigningType | undefined;
|
|
481
|
+
/**
|
|
482
|
+
* <p>A <code>CustomDirectoriesType</code> structure. This structure specifies custom directories for storing various AS2 message files. You can specify directories for the following types of files.</p>
|
|
483
|
+
* <ul>
|
|
484
|
+
* <li>
|
|
485
|
+
* <p>Failed files</p>
|
|
486
|
+
* </li>
|
|
487
|
+
* <li>
|
|
488
|
+
* <p>MDN files</p>
|
|
489
|
+
* </li>
|
|
490
|
+
* <li>
|
|
491
|
+
* <p>Payload files</p>
|
|
492
|
+
* </li>
|
|
493
|
+
* <li>
|
|
494
|
+
* <p>Status files</p>
|
|
495
|
+
* </li>
|
|
496
|
+
* <li>
|
|
497
|
+
* <p>Temporary files</p>
|
|
498
|
+
* </li>
|
|
499
|
+
* </ul>
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
502
|
+
CustomDirectories?: CustomDirectoriesType | undefined;
|
|
428
503
|
}
|
|
429
504
|
/**
|
|
430
505
|
* @public
|
|
@@ -644,6 +719,28 @@ export interface UpdateAgreementRequest {
|
|
|
644
719
|
* @public
|
|
645
720
|
*/
|
|
646
721
|
EnforceMessageSigning?: EnforceMessageSigningType | undefined;
|
|
722
|
+
/**
|
|
723
|
+
* <p>A <code>CustomDirectoriesType</code> structure. This structure specifies custom directories for storing various AS2 message files. You can specify directories for the following types of files.</p>
|
|
724
|
+
* <ul>
|
|
725
|
+
* <li>
|
|
726
|
+
* <p>Failed files</p>
|
|
727
|
+
* </li>
|
|
728
|
+
* <li>
|
|
729
|
+
* <p>MDN files</p>
|
|
730
|
+
* </li>
|
|
731
|
+
* <li>
|
|
732
|
+
* <p>Payload files</p>
|
|
733
|
+
* </li>
|
|
734
|
+
* <li>
|
|
735
|
+
* <p>Status files</p>
|
|
736
|
+
* </li>
|
|
737
|
+
* <li>
|
|
738
|
+
* <p>Temporary files</p>
|
|
739
|
+
* </li>
|
|
740
|
+
* </ul>
|
|
741
|
+
* @public
|
|
742
|
+
*/
|
|
743
|
+
CustomDirectories?: CustomDirectoriesType | undefined;
|
|
647
744
|
}
|
|
648
745
|
/**
|
|
649
746
|
* @public
|
|
@@ -8,6 +8,13 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
+
export interface CustomDirectoriesType {
|
|
12
|
+
FailedFilesDirectory: string | undefined;
|
|
13
|
+
MdnFilesDirectory: string | undefined;
|
|
14
|
+
PayloadFilesDirectory: string | undefined;
|
|
15
|
+
StatusFilesDirectory: string | undefined;
|
|
16
|
+
TemporaryFilesDirectory: string | undefined;
|
|
17
|
+
}
|
|
11
18
|
export declare const EnforceMessageSigningType: {
|
|
12
19
|
readonly DISABLED: "DISABLED";
|
|
13
20
|
readonly ENABLED: "ENABLED";
|
|
@@ -35,12 +42,13 @@ export interface CreateAgreementRequest {
|
|
|
35
42
|
ServerId: string | undefined;
|
|
36
43
|
LocalProfileId: string | undefined;
|
|
37
44
|
PartnerProfileId: string | undefined;
|
|
38
|
-
BaseDirectory
|
|
45
|
+
BaseDirectory?: string | undefined;
|
|
39
46
|
AccessRole: string | undefined;
|
|
40
47
|
Status?: AgreementStatusType | undefined;
|
|
41
48
|
Tags?: Tag[] | undefined;
|
|
42
49
|
PreserveFilename?: PreserveFilenameType | undefined;
|
|
43
50
|
EnforceMessageSigning?: EnforceMessageSigningType | undefined;
|
|
51
|
+
CustomDirectories?: CustomDirectoriesType | undefined;
|
|
44
52
|
}
|
|
45
53
|
export interface CreateAgreementResponse {
|
|
46
54
|
AgreementId: string | undefined;
|
|
@@ -118,6 +126,7 @@ export interface DescribedAgreement {
|
|
|
118
126
|
Tags?: Tag[] | undefined;
|
|
119
127
|
PreserveFilename?: PreserveFilenameType | undefined;
|
|
120
128
|
EnforceMessageSigning?: EnforceMessageSigningType | undefined;
|
|
129
|
+
CustomDirectories?: CustomDirectoriesType | undefined;
|
|
121
130
|
}
|
|
122
131
|
export interface DescribeAgreementResponse {
|
|
123
132
|
Agreement: DescribedAgreement | undefined;
|
|
@@ -159,6 +168,7 @@ export interface UpdateAgreementRequest {
|
|
|
159
168
|
AccessRole?: string | undefined;
|
|
160
169
|
PreserveFilename?: PreserveFilenameType | undefined;
|
|
161
170
|
EnforceMessageSigning?: EnforceMessageSigningType | undefined;
|
|
171
|
+
CustomDirectories?: CustomDirectoriesType | undefined;
|
|
162
172
|
}
|
|
163
173
|
export interface UpdateAgreementResponse {
|
|
164
174
|
AgreementId: string | undefined;
|
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.
|
|
4
|
+
"version": "3.738.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-transfer",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.734.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.738.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|