@aws-sdk/client-transfer 3.234.0 → 3.236.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/endpoint/ruleset.js +4 -315
- package/dist-cjs/models/models_0.js +27 -18
- package/dist-cjs/protocols/Aws_json1_1.js +28 -24
- package/dist-es/endpoint/ruleset.js +4 -315
- package/dist-es/models/models_0.js +21 -13
- package/dist-es/protocols/Aws_json1_1.js +28 -24
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +36 -37
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +23 -8
- package/package.json +4 -4
|
@@ -1,315 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
builtIn: "AWS::Region",
|
|
6
|
-
required: false,
|
|
7
|
-
documentation: "The AWS region used to dispatch the request.",
|
|
8
|
-
type: "String",
|
|
9
|
-
},
|
|
10
|
-
UseDualStack: {
|
|
11
|
-
builtIn: "AWS::UseDualStack",
|
|
12
|
-
required: true,
|
|
13
|
-
default: false,
|
|
14
|
-
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
15
|
-
type: "Boolean",
|
|
16
|
-
},
|
|
17
|
-
UseFIPS: {
|
|
18
|
-
builtIn: "AWS::UseFIPS",
|
|
19
|
-
required: true,
|
|
20
|
-
default: false,
|
|
21
|
-
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
22
|
-
type: "Boolean",
|
|
23
|
-
},
|
|
24
|
-
Endpoint: {
|
|
25
|
-
builtIn: "SDK::Endpoint",
|
|
26
|
-
required: false,
|
|
27
|
-
documentation: "Override the endpoint used to send this request",
|
|
28
|
-
type: "String",
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
rules: [
|
|
32
|
-
{
|
|
33
|
-
conditions: [
|
|
34
|
-
{
|
|
35
|
-
fn: "aws.partition",
|
|
36
|
-
argv: [
|
|
37
|
-
{
|
|
38
|
-
ref: "Region",
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
assign: "PartitionResult",
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
type: "tree",
|
|
45
|
-
rules: [
|
|
46
|
-
{
|
|
47
|
-
conditions: [
|
|
48
|
-
{
|
|
49
|
-
fn: "isSet",
|
|
50
|
-
argv: [
|
|
51
|
-
{
|
|
52
|
-
ref: "Endpoint",
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
fn: "parseURL",
|
|
58
|
-
argv: [
|
|
59
|
-
{
|
|
60
|
-
ref: "Endpoint",
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
assign: "url",
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
type: "tree",
|
|
67
|
-
rules: [
|
|
68
|
-
{
|
|
69
|
-
conditions: [
|
|
70
|
-
{
|
|
71
|
-
fn: "booleanEquals",
|
|
72
|
-
argv: [
|
|
73
|
-
{
|
|
74
|
-
ref: "UseFIPS",
|
|
75
|
-
},
|
|
76
|
-
true,
|
|
77
|
-
],
|
|
78
|
-
},
|
|
79
|
-
],
|
|
80
|
-
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
81
|
-
type: "error",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
conditions: [],
|
|
85
|
-
type: "tree",
|
|
86
|
-
rules: [
|
|
87
|
-
{
|
|
88
|
-
conditions: [
|
|
89
|
-
{
|
|
90
|
-
fn: "booleanEquals",
|
|
91
|
-
argv: [
|
|
92
|
-
{
|
|
93
|
-
ref: "UseDualStack",
|
|
94
|
-
},
|
|
95
|
-
true,
|
|
96
|
-
],
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
100
|
-
type: "error",
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
conditions: [],
|
|
104
|
-
endpoint: {
|
|
105
|
-
url: {
|
|
106
|
-
ref: "Endpoint",
|
|
107
|
-
},
|
|
108
|
-
properties: {},
|
|
109
|
-
headers: {},
|
|
110
|
-
},
|
|
111
|
-
type: "endpoint",
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
conditions: [
|
|
119
|
-
{
|
|
120
|
-
fn: "booleanEquals",
|
|
121
|
-
argv: [
|
|
122
|
-
{
|
|
123
|
-
ref: "UseFIPS",
|
|
124
|
-
},
|
|
125
|
-
true,
|
|
126
|
-
],
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
fn: "booleanEquals",
|
|
130
|
-
argv: [
|
|
131
|
-
{
|
|
132
|
-
ref: "UseDualStack",
|
|
133
|
-
},
|
|
134
|
-
true,
|
|
135
|
-
],
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
type: "tree",
|
|
139
|
-
rules: [
|
|
140
|
-
{
|
|
141
|
-
conditions: [
|
|
142
|
-
{
|
|
143
|
-
fn: "booleanEquals",
|
|
144
|
-
argv: [
|
|
145
|
-
true,
|
|
146
|
-
{
|
|
147
|
-
fn: "getAttr",
|
|
148
|
-
argv: [
|
|
149
|
-
{
|
|
150
|
-
ref: "PartitionResult",
|
|
151
|
-
},
|
|
152
|
-
"supportsFIPS",
|
|
153
|
-
],
|
|
154
|
-
},
|
|
155
|
-
],
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
fn: "booleanEquals",
|
|
159
|
-
argv: [
|
|
160
|
-
true,
|
|
161
|
-
{
|
|
162
|
-
fn: "getAttr",
|
|
163
|
-
argv: [
|
|
164
|
-
{
|
|
165
|
-
ref: "PartitionResult",
|
|
166
|
-
},
|
|
167
|
-
"supportsDualStack",
|
|
168
|
-
],
|
|
169
|
-
},
|
|
170
|
-
],
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
type: "tree",
|
|
174
|
-
rules: [
|
|
175
|
-
{
|
|
176
|
-
conditions: [],
|
|
177
|
-
endpoint: {
|
|
178
|
-
url: "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
179
|
-
properties: {},
|
|
180
|
-
headers: {},
|
|
181
|
-
},
|
|
182
|
-
type: "endpoint",
|
|
183
|
-
},
|
|
184
|
-
],
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
conditions: [],
|
|
188
|
-
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
189
|
-
type: "error",
|
|
190
|
-
},
|
|
191
|
-
],
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
conditions: [
|
|
195
|
-
{
|
|
196
|
-
fn: "booleanEquals",
|
|
197
|
-
argv: [
|
|
198
|
-
{
|
|
199
|
-
ref: "UseFIPS",
|
|
200
|
-
},
|
|
201
|
-
true,
|
|
202
|
-
],
|
|
203
|
-
},
|
|
204
|
-
],
|
|
205
|
-
type: "tree",
|
|
206
|
-
rules: [
|
|
207
|
-
{
|
|
208
|
-
conditions: [
|
|
209
|
-
{
|
|
210
|
-
fn: "booleanEquals",
|
|
211
|
-
argv: [
|
|
212
|
-
true,
|
|
213
|
-
{
|
|
214
|
-
fn: "getAttr",
|
|
215
|
-
argv: [
|
|
216
|
-
{
|
|
217
|
-
ref: "PartitionResult",
|
|
218
|
-
},
|
|
219
|
-
"supportsFIPS",
|
|
220
|
-
],
|
|
221
|
-
},
|
|
222
|
-
],
|
|
223
|
-
},
|
|
224
|
-
],
|
|
225
|
-
type: "tree",
|
|
226
|
-
rules: [
|
|
227
|
-
{
|
|
228
|
-
conditions: [],
|
|
229
|
-
type: "tree",
|
|
230
|
-
rules: [
|
|
231
|
-
{
|
|
232
|
-
conditions: [],
|
|
233
|
-
endpoint: {
|
|
234
|
-
url: "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
235
|
-
properties: {},
|
|
236
|
-
headers: {},
|
|
237
|
-
},
|
|
238
|
-
type: "endpoint",
|
|
239
|
-
},
|
|
240
|
-
],
|
|
241
|
-
},
|
|
242
|
-
],
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
conditions: [],
|
|
246
|
-
error: "FIPS is enabled but this partition does not support FIPS",
|
|
247
|
-
type: "error",
|
|
248
|
-
},
|
|
249
|
-
],
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
conditions: [
|
|
253
|
-
{
|
|
254
|
-
fn: "booleanEquals",
|
|
255
|
-
argv: [
|
|
256
|
-
{
|
|
257
|
-
ref: "UseDualStack",
|
|
258
|
-
},
|
|
259
|
-
true,
|
|
260
|
-
],
|
|
261
|
-
},
|
|
262
|
-
],
|
|
263
|
-
type: "tree",
|
|
264
|
-
rules: [
|
|
265
|
-
{
|
|
266
|
-
conditions: [
|
|
267
|
-
{
|
|
268
|
-
fn: "booleanEquals",
|
|
269
|
-
argv: [
|
|
270
|
-
true,
|
|
271
|
-
{
|
|
272
|
-
fn: "getAttr",
|
|
273
|
-
argv: [
|
|
274
|
-
{
|
|
275
|
-
ref: "PartitionResult",
|
|
276
|
-
},
|
|
277
|
-
"supportsDualStack",
|
|
278
|
-
],
|
|
279
|
-
},
|
|
280
|
-
],
|
|
281
|
-
},
|
|
282
|
-
],
|
|
283
|
-
type: "tree",
|
|
284
|
-
rules: [
|
|
285
|
-
{
|
|
286
|
-
conditions: [],
|
|
287
|
-
endpoint: {
|
|
288
|
-
url: "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
289
|
-
properties: {},
|
|
290
|
-
headers: {},
|
|
291
|
-
},
|
|
292
|
-
type: "endpoint",
|
|
293
|
-
},
|
|
294
|
-
],
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
conditions: [],
|
|
298
|
-
error: "DualStack is enabled but this partition does not support DualStack",
|
|
299
|
-
type: "error",
|
|
300
|
-
},
|
|
301
|
-
],
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
conditions: [],
|
|
305
|
-
endpoint: {
|
|
306
|
-
url: "https://transfer.{Region}.{PartitionResult#dnsSuffix}",
|
|
307
|
-
properties: {},
|
|
308
|
-
headers: {},
|
|
309
|
-
},
|
|
310
|
-
type: "endpoint",
|
|
311
|
-
},
|
|
312
|
-
],
|
|
313
|
-
},
|
|
314
|
-
],
|
|
315
|
-
};
|
|
1
|
+
const r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://transfer.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -164,19 +164,6 @@ export class ServiceUnavailableException extends __BaseException {
|
|
|
164
164
|
this.Message = opts.Message;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
export class ThrottlingException extends __BaseException {
|
|
168
|
-
constructor(opts) {
|
|
169
|
-
super({
|
|
170
|
-
name: "ThrottlingException",
|
|
171
|
-
$fault: "client",
|
|
172
|
-
...opts,
|
|
173
|
-
});
|
|
174
|
-
this.name = "ThrottlingException";
|
|
175
|
-
this.$fault = "client";
|
|
176
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
177
|
-
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
167
|
export var ProfileType;
|
|
181
168
|
(function (ProfileType) {
|
|
182
169
|
ProfileType["LOCAL"] = "LOCAL";
|
|
@@ -218,10 +205,28 @@ export var Protocol;
|
|
|
218
205
|
Protocol["FTPS"] = "FTPS";
|
|
219
206
|
Protocol["SFTP"] = "SFTP";
|
|
220
207
|
})(Protocol || (Protocol = {}));
|
|
208
|
+
export class ThrottlingException extends __BaseException {
|
|
209
|
+
constructor(opts) {
|
|
210
|
+
super({
|
|
211
|
+
name: "ThrottlingException",
|
|
212
|
+
$fault: "client",
|
|
213
|
+
...opts,
|
|
214
|
+
});
|
|
215
|
+
this.name = "ThrottlingException";
|
|
216
|
+
this.$fault = "client";
|
|
217
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
218
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
export var EncryptionType;
|
|
222
|
+
(function (EncryptionType) {
|
|
223
|
+
EncryptionType["PGP"] = "PGP";
|
|
224
|
+
})(EncryptionType || (EncryptionType = {}));
|
|
221
225
|
export var WorkflowStepType;
|
|
222
226
|
(function (WorkflowStepType) {
|
|
223
227
|
WorkflowStepType["COPY"] = "COPY";
|
|
224
228
|
WorkflowStepType["CUSTOM"] = "CUSTOM";
|
|
229
|
+
WorkflowStepType["DECRYPT"] = "DECRYPT";
|
|
225
230
|
WorkflowStepType["DELETE"] = "DELETE";
|
|
226
231
|
WorkflowStepType["TAG"] = "TAG";
|
|
227
232
|
})(WorkflowStepType || (WorkflowStepType = {}));
|
|
@@ -349,6 +354,9 @@ export const CreateUserResponseFilterSensitiveLog = (obj) => ({
|
|
|
349
354
|
export const CustomStepDetailsFilterSensitiveLog = (obj) => ({
|
|
350
355
|
...obj,
|
|
351
356
|
});
|
|
357
|
+
export const DecryptStepDetailsFilterSensitiveLog = (obj) => ({
|
|
358
|
+
...obj,
|
|
359
|
+
});
|
|
352
360
|
export const DeleteStepDetailsFilterSensitiveLog = (obj) => ({
|
|
353
361
|
...obj,
|
|
354
362
|
});
|
|
@@ -604,9 +604,6 @@ const deserializeAws_json1_1CreateAgreementCommandError = async (output, context
|
|
|
604
604
|
case "ServiceUnavailableException":
|
|
605
605
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
606
606
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
607
|
-
case "ThrottlingException":
|
|
608
|
-
case "com.amazonaws.transfer#ThrottlingException":
|
|
609
|
-
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
610
607
|
default:
|
|
611
608
|
const parsedBody = parsedOutput.body;
|
|
612
609
|
throwDefaultError({
|
|
@@ -652,9 +649,6 @@ const deserializeAws_json1_1CreateConnectorCommandError = async (output, context
|
|
|
652
649
|
case "ServiceUnavailableException":
|
|
653
650
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
654
651
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
655
|
-
case "ThrottlingException":
|
|
656
|
-
case "com.amazonaws.transfer#ThrottlingException":
|
|
657
|
-
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
658
652
|
default:
|
|
659
653
|
const parsedBody = parsedOutput.body;
|
|
660
654
|
throwDefaultError({
|
|
@@ -697,9 +691,6 @@ const deserializeAws_json1_1CreateProfileCommandError = async (output, context)
|
|
|
697
691
|
case "ServiceUnavailableException":
|
|
698
692
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
699
693
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
700
|
-
case "ThrottlingException":
|
|
701
|
-
case "com.amazonaws.transfer#ThrottlingException":
|
|
702
|
-
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
703
694
|
default:
|
|
704
695
|
const parsedBody = parsedOutput.body;
|
|
705
696
|
throwDefaultError({
|
|
@@ -2716,9 +2707,6 @@ const deserializeAws_json1_1UpdateAccessCommandError = async (output, context) =
|
|
|
2716
2707
|
case "ServiceUnavailableException":
|
|
2717
2708
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2718
2709
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2719
|
-
case "ThrottlingException":
|
|
2720
|
-
case "com.amazonaws.transfer#ThrottlingException":
|
|
2721
|
-
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2722
2710
|
default:
|
|
2723
2711
|
const parsedBody = parsedOutput.body;
|
|
2724
2712
|
throwDefaultError({
|
|
@@ -2764,9 +2752,6 @@ const deserializeAws_json1_1UpdateAgreementCommandError = async (output, context
|
|
|
2764
2752
|
case "ServiceUnavailableException":
|
|
2765
2753
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2766
2754
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2767
|
-
case "ThrottlingException":
|
|
2768
|
-
case "com.amazonaws.transfer#ThrottlingException":
|
|
2769
|
-
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2770
2755
|
default:
|
|
2771
2756
|
const parsedBody = parsedOutput.body;
|
|
2772
2757
|
throwDefaultError({
|
|
@@ -2809,9 +2794,6 @@ const deserializeAws_json1_1UpdateCertificateCommandError = async (output, conte
|
|
|
2809
2794
|
case "ServiceUnavailableException":
|
|
2810
2795
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2811
2796
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2812
|
-
case "ThrottlingException":
|
|
2813
|
-
case "com.amazonaws.transfer#ThrottlingException":
|
|
2814
|
-
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2815
2797
|
default:
|
|
2816
2798
|
const parsedBody = parsedOutput.body;
|
|
2817
2799
|
throwDefaultError({
|
|
@@ -2857,9 +2839,6 @@ const deserializeAws_json1_1UpdateConnectorCommandError = async (output, context
|
|
|
2857
2839
|
case "ServiceUnavailableException":
|
|
2858
2840
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2859
2841
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2860
|
-
case "ThrottlingException":
|
|
2861
|
-
case "com.amazonaws.transfer#ThrottlingException":
|
|
2862
|
-
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2863
2842
|
default:
|
|
2864
2843
|
const parsedBody = parsedOutput.body;
|
|
2865
2844
|
throwDefaultError({
|
|
@@ -2947,9 +2926,6 @@ const deserializeAws_json1_1UpdateProfileCommandError = async (output, context)
|
|
|
2947
2926
|
case "ServiceUnavailableException":
|
|
2948
2927
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2949
2928
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2950
|
-
case "ThrottlingException":
|
|
2951
|
-
case "com.amazonaws.transfer#ThrottlingException":
|
|
2952
|
-
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2953
2929
|
default:
|
|
2954
2930
|
const parsedBody = parsedOutput.body;
|
|
2955
2931
|
throwDefaultError({
|
|
@@ -3293,6 +3269,17 @@ const serializeAws_json1_1CustomStepDetails = (input, context) => {
|
|
|
3293
3269
|
...(input.TimeoutSeconds != null && { TimeoutSeconds: input.TimeoutSeconds }),
|
|
3294
3270
|
};
|
|
3295
3271
|
};
|
|
3272
|
+
const serializeAws_json1_1DecryptStepDetails = (input, context) => {
|
|
3273
|
+
return {
|
|
3274
|
+
...(input.DestinationFileLocation != null && {
|
|
3275
|
+
DestinationFileLocation: serializeAws_json1_1InputFileLocation(input.DestinationFileLocation, context),
|
|
3276
|
+
}),
|
|
3277
|
+
...(input.Name != null && { Name: input.Name }),
|
|
3278
|
+
...(input.OverwriteExisting != null && { OverwriteExisting: input.OverwriteExisting }),
|
|
3279
|
+
...(input.SourceFileLocation != null && { SourceFileLocation: input.SourceFileLocation }),
|
|
3280
|
+
...(input.Type != null && { Type: input.Type }),
|
|
3281
|
+
};
|
|
3282
|
+
};
|
|
3296
3283
|
const serializeAws_json1_1DeleteAccessRequest = (input, context) => {
|
|
3297
3284
|
return {
|
|
3298
3285
|
...(input.ExternalId != null && { ExternalId: input.ExternalId }),
|
|
@@ -3853,6 +3840,9 @@ const serializeAws_json1_1WorkflowStep = (input, context) => {
|
|
|
3853
3840
|
...(input.CustomStepDetails != null && {
|
|
3854
3841
|
CustomStepDetails: serializeAws_json1_1CustomStepDetails(input.CustomStepDetails, context),
|
|
3855
3842
|
}),
|
|
3843
|
+
...(input.DecryptStepDetails != null && {
|
|
3844
|
+
DecryptStepDetails: serializeAws_json1_1DecryptStepDetails(input.DecryptStepDetails, context),
|
|
3845
|
+
}),
|
|
3856
3846
|
...(input.DeleteStepDetails != null && {
|
|
3857
3847
|
DeleteStepDetails: serializeAws_json1_1DeleteStepDetails(input.DeleteStepDetails, context),
|
|
3858
3848
|
}),
|
|
@@ -3979,6 +3969,17 @@ const deserializeAws_json1_1CustomStepDetails = (output, context) => {
|
|
|
3979
3969
|
TimeoutSeconds: __expectInt32(output.TimeoutSeconds),
|
|
3980
3970
|
};
|
|
3981
3971
|
};
|
|
3972
|
+
const deserializeAws_json1_1DecryptStepDetails = (output, context) => {
|
|
3973
|
+
return {
|
|
3974
|
+
DestinationFileLocation: output.DestinationFileLocation != null
|
|
3975
|
+
? deserializeAws_json1_1InputFileLocation(output.DestinationFileLocation, context)
|
|
3976
|
+
: undefined,
|
|
3977
|
+
Name: __expectString(output.Name),
|
|
3978
|
+
OverwriteExisting: __expectString(output.OverwriteExisting),
|
|
3979
|
+
SourceFileLocation: __expectString(output.SourceFileLocation),
|
|
3980
|
+
Type: __expectString(output.Type),
|
|
3981
|
+
};
|
|
3982
|
+
};
|
|
3982
3983
|
const deserializeAws_json1_1DeleteStepDetails = (output, context) => {
|
|
3983
3984
|
return {
|
|
3984
3985
|
Name: __expectString(output.Name),
|
|
@@ -4935,6 +4936,9 @@ const deserializeAws_json1_1WorkflowStep = (output, context) => {
|
|
|
4935
4936
|
CustomStepDetails: output.CustomStepDetails != null
|
|
4936
4937
|
? deserializeAws_json1_1CustomStepDetails(output.CustomStepDetails, context)
|
|
4937
4938
|
: undefined,
|
|
4939
|
+
DecryptStepDetails: output.DecryptStepDetails != null
|
|
4940
|
+
? deserializeAws_json1_1DecryptStepDetails(output.DecryptStepDetails, context)
|
|
4941
|
+
: undefined,
|
|
4938
4942
|
DeleteStepDetails: output.DeleteStepDetails != null
|
|
4939
4943
|
? deserializeAws_json1_1DeleteStepDetails(output.DeleteStepDetails, context)
|
|
4940
4944
|
: undefined,
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|