@aws-sdk/client-datasync 3.306.0 → 3.310.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/commands/CancelTaskExecutionCommand.js +2 -2
- package/dist-cjs/commands/CreateAgentCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationEfsCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationFsxLustreCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationFsxOntapCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationFsxOpenZfsCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationFsxWindowsCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationHdfsCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationNfsCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationObjectStorageCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationS3Command.js +2 -2
- package/dist-cjs/commands/CreateLocationSmbCommand.js +2 -2
- package/dist-cjs/commands/CreateTaskCommand.js +2 -2
- package/dist-cjs/commands/DeleteAgentCommand.js +2 -2
- package/dist-cjs/commands/DeleteLocationCommand.js +2 -2
- package/dist-cjs/commands/DeleteTaskCommand.js +2 -2
- package/dist-cjs/commands/DescribeAgentCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationEfsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationFsxLustreCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationFsxOntapCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationFsxOpenZfsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationFsxWindowsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationHdfsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationNfsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationObjectStorageCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationS3Command.js +2 -2
- package/dist-cjs/commands/DescribeLocationSmbCommand.js +2 -2
- package/dist-cjs/commands/DescribeTaskCommand.js +2 -2
- package/dist-cjs/commands/DescribeTaskExecutionCommand.js +2 -2
- package/dist-cjs/commands/ListAgentsCommand.js +2 -2
- package/dist-cjs/commands/ListLocationsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListTaskExecutionsCommand.js +2 -2
- package/dist-cjs/commands/ListTasksCommand.js +2 -2
- package/dist-cjs/commands/StartTaskExecutionCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateAgentCommand.js +2 -2
- package/dist-cjs/commands/UpdateLocationHdfsCommand.js +2 -2
- package/dist-cjs/commands/UpdateLocationNfsCommand.js +2 -2
- package/dist-cjs/commands/UpdateLocationObjectStorageCommand.js +2 -2
- package/dist-cjs/commands/UpdateLocationSmbCommand.js +2 -2
- package/dist-cjs/commands/UpdateTaskCommand.js +2 -2
- package/dist-cjs/commands/UpdateTaskExecutionCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +713 -749
- package/dist-es/commands/CancelTaskExecutionCommand.js +3 -3
- package/dist-es/commands/CreateAgentCommand.js +3 -3
- package/dist-es/commands/CreateLocationEfsCommand.js +3 -3
- package/dist-es/commands/CreateLocationFsxLustreCommand.js +3 -3
- package/dist-es/commands/CreateLocationFsxOntapCommand.js +3 -3
- package/dist-es/commands/CreateLocationFsxOpenZfsCommand.js +3 -3
- package/dist-es/commands/CreateLocationFsxWindowsCommand.js +3 -3
- package/dist-es/commands/CreateLocationHdfsCommand.js +3 -3
- package/dist-es/commands/CreateLocationNfsCommand.js +3 -3
- package/dist-es/commands/CreateLocationObjectStorageCommand.js +3 -3
- package/dist-es/commands/CreateLocationS3Command.js +3 -3
- package/dist-es/commands/CreateLocationSmbCommand.js +3 -3
- package/dist-es/commands/CreateTaskCommand.js +3 -3
- package/dist-es/commands/DeleteAgentCommand.js +3 -3
- package/dist-es/commands/DeleteLocationCommand.js +3 -3
- package/dist-es/commands/DeleteTaskCommand.js +3 -3
- package/dist-es/commands/DescribeAgentCommand.js +3 -3
- package/dist-es/commands/DescribeLocationEfsCommand.js +3 -3
- package/dist-es/commands/DescribeLocationFsxLustreCommand.js +3 -3
- package/dist-es/commands/DescribeLocationFsxOntapCommand.js +3 -3
- package/dist-es/commands/DescribeLocationFsxOpenZfsCommand.js +3 -3
- package/dist-es/commands/DescribeLocationFsxWindowsCommand.js +3 -3
- package/dist-es/commands/DescribeLocationHdfsCommand.js +3 -3
- package/dist-es/commands/DescribeLocationNfsCommand.js +3 -3
- package/dist-es/commands/DescribeLocationObjectStorageCommand.js +3 -3
- package/dist-es/commands/DescribeLocationS3Command.js +3 -3
- package/dist-es/commands/DescribeLocationSmbCommand.js +3 -3
- package/dist-es/commands/DescribeTaskCommand.js +3 -3
- package/dist-es/commands/DescribeTaskExecutionCommand.js +3 -3
- package/dist-es/commands/ListAgentsCommand.js +3 -3
- package/dist-es/commands/ListLocationsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListTaskExecutionsCommand.js +3 -3
- package/dist-es/commands/ListTasksCommand.js +3 -3
- package/dist-es/commands/StartTaskExecutionCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateAgentCommand.js +3 -3
- package/dist-es/commands/UpdateLocationHdfsCommand.js +3 -3
- package/dist-es/commands/UpdateLocationNfsCommand.js +3 -3
- package/dist-es/commands/UpdateLocationObjectStorageCommand.js +3 -3
- package/dist-es/commands/UpdateLocationSmbCommand.js +3 -3
- package/dist-es/commands/UpdateTaskCommand.js +3 -3
- package/dist-es/commands/UpdateTaskExecutionCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +623 -659
- package/dist-types/protocols/Aws_json1_1.d.ts +352 -88
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +88 -88
- package/package.json +35 -35
|
@@ -2,416 +2,416 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { DataSyncServiceException as __BaseException } from "../models/DataSyncServiceException";
|
|
4
4
|
import { InternalException, InvalidRequestException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_CancelTaskExecutionCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "FmrsService.CancelTaskExecution",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_CancelTaskExecutionRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_CreateAgentCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.1",
|
|
17
17
|
"x-amz-target": "FmrsService.CreateAgent",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_CreateAgentRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_CreateLocationEfsCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-amz-json-1.1",
|
|
26
26
|
"x-amz-target": "FmrsService.CreateLocationEfs",
|
|
27
27
|
};
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
29
|
+
body = JSON.stringify(se_CreateLocationEfsRequest(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_CreateLocationFsxLustreCommand = async (input, context) => {
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/x-amz-json-1.1",
|
|
35
35
|
"x-amz-target": "FmrsService.CreateLocationFsxLustre",
|
|
36
36
|
};
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(se_CreateLocationFsxLustreRequest(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
41
|
+
export const se_CreateLocationFsxOntapCommand = async (input, context) => {
|
|
42
42
|
const headers = {
|
|
43
43
|
"content-type": "application/x-amz-json-1.1",
|
|
44
44
|
"x-amz-target": "FmrsService.CreateLocationFsxOntap",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify(se_CreateLocationFsxOntapRequest(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_CreateLocationFsxOpenZfsCommand = async (input, context) => {
|
|
51
51
|
const headers = {
|
|
52
52
|
"content-type": "application/x-amz-json-1.1",
|
|
53
53
|
"x-amz-target": "FmrsService.CreateLocationFsxOpenZfs",
|
|
54
54
|
};
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(se_CreateLocationFsxOpenZfsRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
59
|
+
export const se_CreateLocationFsxWindowsCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "FmrsService.CreateLocationFsxWindows",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_CreateLocationFsxWindowsRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
68
|
+
export const se_CreateLocationHdfsCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "FmrsService.CreateLocationHdfs",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_CreateLocationHdfsRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
export const
|
|
77
|
+
export const se_CreateLocationNfsCommand = async (input, context) => {
|
|
78
78
|
const headers = {
|
|
79
79
|
"content-type": "application/x-amz-json-1.1",
|
|
80
80
|
"x-amz-target": "FmrsService.CreateLocationNfs",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify(se_CreateLocationNfsRequest(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
export const
|
|
86
|
+
export const se_CreateLocationObjectStorageCommand = async (input, context) => {
|
|
87
87
|
const headers = {
|
|
88
88
|
"content-type": "application/x-amz-json-1.1",
|
|
89
89
|
"x-amz-target": "FmrsService.CreateLocationObjectStorage",
|
|
90
90
|
};
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(se_CreateLocationObjectStorageRequest(input, context));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
|
-
export const
|
|
95
|
+
export const se_CreateLocationS3Command = async (input, context) => {
|
|
96
96
|
const headers = {
|
|
97
97
|
"content-type": "application/x-amz-json-1.1",
|
|
98
98
|
"x-amz-target": "FmrsService.CreateLocationS3",
|
|
99
99
|
};
|
|
100
100
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
101
|
+
body = JSON.stringify(se_CreateLocationS3Request(input, context));
|
|
102
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
103
|
};
|
|
104
|
-
export const
|
|
104
|
+
export const se_CreateLocationSmbCommand = async (input, context) => {
|
|
105
105
|
const headers = {
|
|
106
106
|
"content-type": "application/x-amz-json-1.1",
|
|
107
107
|
"x-amz-target": "FmrsService.CreateLocationSmb",
|
|
108
108
|
};
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(se_CreateLocationSmbRequest(input, context));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
export const
|
|
113
|
+
export const se_CreateTaskCommand = async (input, context) => {
|
|
114
114
|
const headers = {
|
|
115
115
|
"content-type": "application/x-amz-json-1.1",
|
|
116
116
|
"x-amz-target": "FmrsService.CreateTask",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify(se_CreateTaskRequest(input, context));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
|
-
export const
|
|
122
|
+
export const se_DeleteAgentCommand = async (input, context) => {
|
|
123
123
|
const headers = {
|
|
124
124
|
"content-type": "application/x-amz-json-1.1",
|
|
125
125
|
"x-amz-target": "FmrsService.DeleteAgent",
|
|
126
126
|
};
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(se_DeleteAgentRequest(input, context));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
|
-
export const
|
|
131
|
+
export const se_DeleteLocationCommand = async (input, context) => {
|
|
132
132
|
const headers = {
|
|
133
133
|
"content-type": "application/x-amz-json-1.1",
|
|
134
134
|
"x-amz-target": "FmrsService.DeleteLocation",
|
|
135
135
|
};
|
|
136
136
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
137
|
+
body = JSON.stringify(se_DeleteLocationRequest(input, context));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
|
-
export const
|
|
140
|
+
export const se_DeleteTaskCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-amz-json-1.1",
|
|
143
143
|
"x-amz-target": "FmrsService.DeleteTask",
|
|
144
144
|
};
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(se_DeleteTaskRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
|
-
export const
|
|
149
|
+
export const se_DescribeAgentCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "FmrsService.DescribeAgent",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_DescribeAgentRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
export const
|
|
158
|
+
export const se_DescribeLocationEfsCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "FmrsService.DescribeLocationEfs",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_DescribeLocationEfsRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
export const
|
|
167
|
+
export const se_DescribeLocationFsxLustreCommand = async (input, context) => {
|
|
168
168
|
const headers = {
|
|
169
169
|
"content-type": "application/x-amz-json-1.1",
|
|
170
170
|
"x-amz-target": "FmrsService.DescribeLocationFsxLustre",
|
|
171
171
|
};
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify(se_DescribeLocationFsxLustreRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const se_DescribeLocationFsxOntapCommand = async (input, context) => {
|
|
177
177
|
const headers = {
|
|
178
178
|
"content-type": "application/x-amz-json-1.1",
|
|
179
179
|
"x-amz-target": "FmrsService.DescribeLocationFsxOntap",
|
|
180
180
|
};
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(se_DescribeLocationFsxOntapRequest(input, context));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
|
-
export const
|
|
185
|
+
export const se_DescribeLocationFsxOpenZfsCommand = async (input, context) => {
|
|
186
186
|
const headers = {
|
|
187
187
|
"content-type": "application/x-amz-json-1.1",
|
|
188
188
|
"x-amz-target": "FmrsService.DescribeLocationFsxOpenZfs",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
191
|
+
body = JSON.stringify(se_DescribeLocationFsxOpenZfsRequest(input, context));
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
|
-
export const
|
|
194
|
+
export const se_DescribeLocationFsxWindowsCommand = async (input, context) => {
|
|
195
195
|
const headers = {
|
|
196
196
|
"content-type": "application/x-amz-json-1.1",
|
|
197
197
|
"x-amz-target": "FmrsService.DescribeLocationFsxWindows",
|
|
198
198
|
};
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(se_DescribeLocationFsxWindowsRequest(input, context));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
|
-
export const
|
|
203
|
+
export const se_DescribeLocationHdfsCommand = async (input, context) => {
|
|
204
204
|
const headers = {
|
|
205
205
|
"content-type": "application/x-amz-json-1.1",
|
|
206
206
|
"x-amz-target": "FmrsService.DescribeLocationHdfs",
|
|
207
207
|
};
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify(se_DescribeLocationHdfsRequest(input, context));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
|
-
export const
|
|
212
|
+
export const se_DescribeLocationNfsCommand = async (input, context) => {
|
|
213
213
|
const headers = {
|
|
214
214
|
"content-type": "application/x-amz-json-1.1",
|
|
215
215
|
"x-amz-target": "FmrsService.DescribeLocationNfs",
|
|
216
216
|
};
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(se_DescribeLocationNfsRequest(input, context));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
|
-
export const
|
|
221
|
+
export const se_DescribeLocationObjectStorageCommand = async (input, context) => {
|
|
222
222
|
const headers = {
|
|
223
223
|
"content-type": "application/x-amz-json-1.1",
|
|
224
224
|
"x-amz-target": "FmrsService.DescribeLocationObjectStorage",
|
|
225
225
|
};
|
|
226
226
|
let body;
|
|
227
|
-
body = JSON.stringify(
|
|
227
|
+
body = JSON.stringify(se_DescribeLocationObjectStorageRequest(input, context));
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
export const
|
|
230
|
+
export const se_DescribeLocationS3Command = async (input, context) => {
|
|
231
231
|
const headers = {
|
|
232
232
|
"content-type": "application/x-amz-json-1.1",
|
|
233
233
|
"x-amz-target": "FmrsService.DescribeLocationS3",
|
|
234
234
|
};
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(se_DescribeLocationS3Request(input, context));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
|
-
export const
|
|
239
|
+
export const se_DescribeLocationSmbCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.1",
|
|
242
242
|
"x-amz-target": "FmrsService.DescribeLocationSmb",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_DescribeLocationSmbRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
export const
|
|
248
|
+
export const se_DescribeTaskCommand = async (input, context) => {
|
|
249
249
|
const headers = {
|
|
250
250
|
"content-type": "application/x-amz-json-1.1",
|
|
251
251
|
"x-amz-target": "FmrsService.DescribeTask",
|
|
252
252
|
};
|
|
253
253
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(se_DescribeTaskRequest(input, context));
|
|
255
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
256
|
};
|
|
257
|
-
export const
|
|
257
|
+
export const se_DescribeTaskExecutionCommand = async (input, context) => {
|
|
258
258
|
const headers = {
|
|
259
259
|
"content-type": "application/x-amz-json-1.1",
|
|
260
260
|
"x-amz-target": "FmrsService.DescribeTaskExecution",
|
|
261
261
|
};
|
|
262
262
|
let body;
|
|
263
|
-
body = JSON.stringify(
|
|
263
|
+
body = JSON.stringify(se_DescribeTaskExecutionRequest(input, context));
|
|
264
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
265
|
};
|
|
266
|
-
export const
|
|
266
|
+
export const se_ListAgentsCommand = async (input, context) => {
|
|
267
267
|
const headers = {
|
|
268
268
|
"content-type": "application/x-amz-json-1.1",
|
|
269
269
|
"x-amz-target": "FmrsService.ListAgents",
|
|
270
270
|
};
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(se_ListAgentsRequest(input, context));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
|
-
export const
|
|
275
|
+
export const se_ListLocationsCommand = async (input, context) => {
|
|
276
276
|
const headers = {
|
|
277
277
|
"content-type": "application/x-amz-json-1.1",
|
|
278
278
|
"x-amz-target": "FmrsService.ListLocations",
|
|
279
279
|
};
|
|
280
280
|
let body;
|
|
281
|
-
body = JSON.stringify(
|
|
281
|
+
body = JSON.stringify(se_ListLocationsRequest(input, context));
|
|
282
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
283
|
};
|
|
284
|
-
export const
|
|
284
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
285
285
|
const headers = {
|
|
286
286
|
"content-type": "application/x-amz-json-1.1",
|
|
287
287
|
"x-amz-target": "FmrsService.ListTagsForResource",
|
|
288
288
|
};
|
|
289
289
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
290
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
291
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
292
|
};
|
|
293
|
-
export const
|
|
293
|
+
export const se_ListTaskExecutionsCommand = async (input, context) => {
|
|
294
294
|
const headers = {
|
|
295
295
|
"content-type": "application/x-amz-json-1.1",
|
|
296
296
|
"x-amz-target": "FmrsService.ListTaskExecutions",
|
|
297
297
|
};
|
|
298
298
|
let body;
|
|
299
|
-
body = JSON.stringify(
|
|
299
|
+
body = JSON.stringify(se_ListTaskExecutionsRequest(input, context));
|
|
300
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
301
|
};
|
|
302
|
-
export const
|
|
302
|
+
export const se_ListTasksCommand = async (input, context) => {
|
|
303
303
|
const headers = {
|
|
304
304
|
"content-type": "application/x-amz-json-1.1",
|
|
305
305
|
"x-amz-target": "FmrsService.ListTasks",
|
|
306
306
|
};
|
|
307
307
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify(se_ListTasksRequest(input, context));
|
|
309
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
310
|
};
|
|
311
|
-
export const
|
|
311
|
+
export const se_StartTaskExecutionCommand = async (input, context) => {
|
|
312
312
|
const headers = {
|
|
313
313
|
"content-type": "application/x-amz-json-1.1",
|
|
314
314
|
"x-amz-target": "FmrsService.StartTaskExecution",
|
|
315
315
|
};
|
|
316
316
|
let body;
|
|
317
|
-
body = JSON.stringify(
|
|
317
|
+
body = JSON.stringify(se_StartTaskExecutionRequest(input, context));
|
|
318
318
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
319
|
};
|
|
320
|
-
export const
|
|
320
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
321
321
|
const headers = {
|
|
322
322
|
"content-type": "application/x-amz-json-1.1",
|
|
323
323
|
"x-amz-target": "FmrsService.TagResource",
|
|
324
324
|
};
|
|
325
325
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
326
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
327
327
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
328
|
};
|
|
329
|
-
export const
|
|
329
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
330
330
|
const headers = {
|
|
331
331
|
"content-type": "application/x-amz-json-1.1",
|
|
332
332
|
"x-amz-target": "FmrsService.UntagResource",
|
|
333
333
|
};
|
|
334
334
|
let body;
|
|
335
|
-
body = JSON.stringify(
|
|
335
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
336
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
337
|
};
|
|
338
|
-
export const
|
|
338
|
+
export const se_UpdateAgentCommand = async (input, context) => {
|
|
339
339
|
const headers = {
|
|
340
340
|
"content-type": "application/x-amz-json-1.1",
|
|
341
341
|
"x-amz-target": "FmrsService.UpdateAgent",
|
|
342
342
|
};
|
|
343
343
|
let body;
|
|
344
|
-
body = JSON.stringify(
|
|
344
|
+
body = JSON.stringify(se_UpdateAgentRequest(input, context));
|
|
345
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
346
346
|
};
|
|
347
|
-
export const
|
|
347
|
+
export const se_UpdateLocationHdfsCommand = async (input, context) => {
|
|
348
348
|
const headers = {
|
|
349
349
|
"content-type": "application/x-amz-json-1.1",
|
|
350
350
|
"x-amz-target": "FmrsService.UpdateLocationHdfs",
|
|
351
351
|
};
|
|
352
352
|
let body;
|
|
353
|
-
body = JSON.stringify(
|
|
353
|
+
body = JSON.stringify(se_UpdateLocationHdfsRequest(input, context));
|
|
354
354
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
355
355
|
};
|
|
356
|
-
export const
|
|
356
|
+
export const se_UpdateLocationNfsCommand = async (input, context) => {
|
|
357
357
|
const headers = {
|
|
358
358
|
"content-type": "application/x-amz-json-1.1",
|
|
359
359
|
"x-amz-target": "FmrsService.UpdateLocationNfs",
|
|
360
360
|
};
|
|
361
361
|
let body;
|
|
362
|
-
body = JSON.stringify(
|
|
362
|
+
body = JSON.stringify(se_UpdateLocationNfsRequest(input, context));
|
|
363
363
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
364
364
|
};
|
|
365
|
-
export const
|
|
365
|
+
export const se_UpdateLocationObjectStorageCommand = async (input, context) => {
|
|
366
366
|
const headers = {
|
|
367
367
|
"content-type": "application/x-amz-json-1.1",
|
|
368
368
|
"x-amz-target": "FmrsService.UpdateLocationObjectStorage",
|
|
369
369
|
};
|
|
370
370
|
let body;
|
|
371
|
-
body = JSON.stringify(
|
|
371
|
+
body = JSON.stringify(se_UpdateLocationObjectStorageRequest(input, context));
|
|
372
372
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
373
373
|
};
|
|
374
|
-
export const
|
|
374
|
+
export const se_UpdateLocationSmbCommand = async (input, context) => {
|
|
375
375
|
const headers = {
|
|
376
376
|
"content-type": "application/x-amz-json-1.1",
|
|
377
377
|
"x-amz-target": "FmrsService.UpdateLocationSmb",
|
|
378
378
|
};
|
|
379
379
|
let body;
|
|
380
|
-
body = JSON.stringify(
|
|
380
|
+
body = JSON.stringify(se_UpdateLocationSmbRequest(input, context));
|
|
381
381
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
382
382
|
};
|
|
383
|
-
export const
|
|
383
|
+
export const se_UpdateTaskCommand = async (input, context) => {
|
|
384
384
|
const headers = {
|
|
385
385
|
"content-type": "application/x-amz-json-1.1",
|
|
386
386
|
"x-amz-target": "FmrsService.UpdateTask",
|
|
387
387
|
};
|
|
388
388
|
let body;
|
|
389
|
-
body = JSON.stringify(
|
|
389
|
+
body = JSON.stringify(se_UpdateTaskRequest(input, context));
|
|
390
390
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
391
391
|
};
|
|
392
|
-
export const
|
|
392
|
+
export const se_UpdateTaskExecutionCommand = async (input, context) => {
|
|
393
393
|
const headers = {
|
|
394
394
|
"content-type": "application/x-amz-json-1.1",
|
|
395
395
|
"x-amz-target": "FmrsService.UpdateTaskExecution",
|
|
396
396
|
};
|
|
397
397
|
let body;
|
|
398
|
-
body = JSON.stringify(
|
|
398
|
+
body = JSON.stringify(se_UpdateTaskExecutionRequest(input, context));
|
|
399
399
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
400
400
|
};
|
|
401
|
-
export const
|
|
401
|
+
export const de_CancelTaskExecutionCommand = async (output, context) => {
|
|
402
402
|
if (output.statusCode >= 300) {
|
|
403
|
-
return
|
|
403
|
+
return de_CancelTaskExecutionCommandError(output, context);
|
|
404
404
|
}
|
|
405
405
|
const data = await parseBody(output.body, context);
|
|
406
406
|
let contents = {};
|
|
407
|
-
contents =
|
|
407
|
+
contents = de_CancelTaskExecutionResponse(data, context);
|
|
408
408
|
const response = {
|
|
409
409
|
$metadata: deserializeMetadata(output),
|
|
410
410
|
...contents,
|
|
411
411
|
};
|
|
412
412
|
return Promise.resolve(response);
|
|
413
413
|
};
|
|
414
|
-
const
|
|
414
|
+
const de_CancelTaskExecutionCommandError = async (output, context) => {
|
|
415
415
|
const parsedOutput = {
|
|
416
416
|
...output,
|
|
417
417
|
body: await parseErrorBody(output.body, context),
|
|
@@ -420,10 +420,10 @@ const deserializeAws_json1_1CancelTaskExecutionCommandError = async (output, con
|
|
|
420
420
|
switch (errorCode) {
|
|
421
421
|
case "InternalException":
|
|
422
422
|
case "com.amazonaws.datasync#InternalException":
|
|
423
|
-
throw await
|
|
423
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
424
424
|
case "InvalidRequestException":
|
|
425
425
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
426
|
-
throw await
|
|
426
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
427
427
|
default:
|
|
428
428
|
const parsedBody = parsedOutput.body;
|
|
429
429
|
throwDefaultError({
|
|
@@ -434,20 +434,20 @@ const deserializeAws_json1_1CancelTaskExecutionCommandError = async (output, con
|
|
|
434
434
|
});
|
|
435
435
|
}
|
|
436
436
|
};
|
|
437
|
-
export const
|
|
437
|
+
export const de_CreateAgentCommand = async (output, context) => {
|
|
438
438
|
if (output.statusCode >= 300) {
|
|
439
|
-
return
|
|
439
|
+
return de_CreateAgentCommandError(output, context);
|
|
440
440
|
}
|
|
441
441
|
const data = await parseBody(output.body, context);
|
|
442
442
|
let contents = {};
|
|
443
|
-
contents =
|
|
443
|
+
contents = de_CreateAgentResponse(data, context);
|
|
444
444
|
const response = {
|
|
445
445
|
$metadata: deserializeMetadata(output),
|
|
446
446
|
...contents,
|
|
447
447
|
};
|
|
448
448
|
return Promise.resolve(response);
|
|
449
449
|
};
|
|
450
|
-
const
|
|
450
|
+
const de_CreateAgentCommandError = async (output, context) => {
|
|
451
451
|
const parsedOutput = {
|
|
452
452
|
...output,
|
|
453
453
|
body: await parseErrorBody(output.body, context),
|
|
@@ -456,10 +456,10 @@ const deserializeAws_json1_1CreateAgentCommandError = async (output, context) =>
|
|
|
456
456
|
switch (errorCode) {
|
|
457
457
|
case "InternalException":
|
|
458
458
|
case "com.amazonaws.datasync#InternalException":
|
|
459
|
-
throw await
|
|
459
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
460
460
|
case "InvalidRequestException":
|
|
461
461
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
462
|
-
throw await
|
|
462
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
463
463
|
default:
|
|
464
464
|
const parsedBody = parsedOutput.body;
|
|
465
465
|
throwDefaultError({
|
|
@@ -470,20 +470,20 @@ const deserializeAws_json1_1CreateAgentCommandError = async (output, context) =>
|
|
|
470
470
|
});
|
|
471
471
|
}
|
|
472
472
|
};
|
|
473
|
-
export const
|
|
473
|
+
export const de_CreateLocationEfsCommand = async (output, context) => {
|
|
474
474
|
if (output.statusCode >= 300) {
|
|
475
|
-
return
|
|
475
|
+
return de_CreateLocationEfsCommandError(output, context);
|
|
476
476
|
}
|
|
477
477
|
const data = await parseBody(output.body, context);
|
|
478
478
|
let contents = {};
|
|
479
|
-
contents =
|
|
479
|
+
contents = de_CreateLocationEfsResponse(data, context);
|
|
480
480
|
const response = {
|
|
481
481
|
$metadata: deserializeMetadata(output),
|
|
482
482
|
...contents,
|
|
483
483
|
};
|
|
484
484
|
return Promise.resolve(response);
|
|
485
485
|
};
|
|
486
|
-
const
|
|
486
|
+
const de_CreateLocationEfsCommandError = async (output, context) => {
|
|
487
487
|
const parsedOutput = {
|
|
488
488
|
...output,
|
|
489
489
|
body: await parseErrorBody(output.body, context),
|
|
@@ -492,10 +492,10 @@ const deserializeAws_json1_1CreateLocationEfsCommandError = async (output, conte
|
|
|
492
492
|
switch (errorCode) {
|
|
493
493
|
case "InternalException":
|
|
494
494
|
case "com.amazonaws.datasync#InternalException":
|
|
495
|
-
throw await
|
|
495
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
496
496
|
case "InvalidRequestException":
|
|
497
497
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
498
|
-
throw await
|
|
498
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
499
499
|
default:
|
|
500
500
|
const parsedBody = parsedOutput.body;
|
|
501
501
|
throwDefaultError({
|
|
@@ -506,20 +506,20 @@ const deserializeAws_json1_1CreateLocationEfsCommandError = async (output, conte
|
|
|
506
506
|
});
|
|
507
507
|
}
|
|
508
508
|
};
|
|
509
|
-
export const
|
|
509
|
+
export const de_CreateLocationFsxLustreCommand = async (output, context) => {
|
|
510
510
|
if (output.statusCode >= 300) {
|
|
511
|
-
return
|
|
511
|
+
return de_CreateLocationFsxLustreCommandError(output, context);
|
|
512
512
|
}
|
|
513
513
|
const data = await parseBody(output.body, context);
|
|
514
514
|
let contents = {};
|
|
515
|
-
contents =
|
|
515
|
+
contents = de_CreateLocationFsxLustreResponse(data, context);
|
|
516
516
|
const response = {
|
|
517
517
|
$metadata: deserializeMetadata(output),
|
|
518
518
|
...contents,
|
|
519
519
|
};
|
|
520
520
|
return Promise.resolve(response);
|
|
521
521
|
};
|
|
522
|
-
const
|
|
522
|
+
const de_CreateLocationFsxLustreCommandError = async (output, context) => {
|
|
523
523
|
const parsedOutput = {
|
|
524
524
|
...output,
|
|
525
525
|
body: await parseErrorBody(output.body, context),
|
|
@@ -528,10 +528,10 @@ const deserializeAws_json1_1CreateLocationFsxLustreCommandError = async (output,
|
|
|
528
528
|
switch (errorCode) {
|
|
529
529
|
case "InternalException":
|
|
530
530
|
case "com.amazonaws.datasync#InternalException":
|
|
531
|
-
throw await
|
|
531
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
532
532
|
case "InvalidRequestException":
|
|
533
533
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
534
|
-
throw await
|
|
534
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
535
535
|
default:
|
|
536
536
|
const parsedBody = parsedOutput.body;
|
|
537
537
|
throwDefaultError({
|
|
@@ -542,20 +542,20 @@ const deserializeAws_json1_1CreateLocationFsxLustreCommandError = async (output,
|
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
|
-
export const
|
|
545
|
+
export const de_CreateLocationFsxOntapCommand = async (output, context) => {
|
|
546
546
|
if (output.statusCode >= 300) {
|
|
547
|
-
return
|
|
547
|
+
return de_CreateLocationFsxOntapCommandError(output, context);
|
|
548
548
|
}
|
|
549
549
|
const data = await parseBody(output.body, context);
|
|
550
550
|
let contents = {};
|
|
551
|
-
contents =
|
|
551
|
+
contents = de_CreateLocationFsxOntapResponse(data, context);
|
|
552
552
|
const response = {
|
|
553
553
|
$metadata: deserializeMetadata(output),
|
|
554
554
|
...contents,
|
|
555
555
|
};
|
|
556
556
|
return Promise.resolve(response);
|
|
557
557
|
};
|
|
558
|
-
const
|
|
558
|
+
const de_CreateLocationFsxOntapCommandError = async (output, context) => {
|
|
559
559
|
const parsedOutput = {
|
|
560
560
|
...output,
|
|
561
561
|
body: await parseErrorBody(output.body, context),
|
|
@@ -564,10 +564,10 @@ const deserializeAws_json1_1CreateLocationFsxOntapCommandError = async (output,
|
|
|
564
564
|
switch (errorCode) {
|
|
565
565
|
case "InternalException":
|
|
566
566
|
case "com.amazonaws.datasync#InternalException":
|
|
567
|
-
throw await
|
|
567
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
568
568
|
case "InvalidRequestException":
|
|
569
569
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
570
|
-
throw await
|
|
570
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
571
571
|
default:
|
|
572
572
|
const parsedBody = parsedOutput.body;
|
|
573
573
|
throwDefaultError({
|
|
@@ -578,20 +578,20 @@ const deserializeAws_json1_1CreateLocationFsxOntapCommandError = async (output,
|
|
|
578
578
|
});
|
|
579
579
|
}
|
|
580
580
|
};
|
|
581
|
-
export const
|
|
581
|
+
export const de_CreateLocationFsxOpenZfsCommand = async (output, context) => {
|
|
582
582
|
if (output.statusCode >= 300) {
|
|
583
|
-
return
|
|
583
|
+
return de_CreateLocationFsxOpenZfsCommandError(output, context);
|
|
584
584
|
}
|
|
585
585
|
const data = await parseBody(output.body, context);
|
|
586
586
|
let contents = {};
|
|
587
|
-
contents =
|
|
587
|
+
contents = de_CreateLocationFsxOpenZfsResponse(data, context);
|
|
588
588
|
const response = {
|
|
589
589
|
$metadata: deserializeMetadata(output),
|
|
590
590
|
...contents,
|
|
591
591
|
};
|
|
592
592
|
return Promise.resolve(response);
|
|
593
593
|
};
|
|
594
|
-
const
|
|
594
|
+
const de_CreateLocationFsxOpenZfsCommandError = async (output, context) => {
|
|
595
595
|
const parsedOutput = {
|
|
596
596
|
...output,
|
|
597
597
|
body: await parseErrorBody(output.body, context),
|
|
@@ -600,10 +600,10 @@ const deserializeAws_json1_1CreateLocationFsxOpenZfsCommandError = async (output
|
|
|
600
600
|
switch (errorCode) {
|
|
601
601
|
case "InternalException":
|
|
602
602
|
case "com.amazonaws.datasync#InternalException":
|
|
603
|
-
throw await
|
|
603
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
604
604
|
case "InvalidRequestException":
|
|
605
605
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
606
|
-
throw await
|
|
606
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
607
607
|
default:
|
|
608
608
|
const parsedBody = parsedOutput.body;
|
|
609
609
|
throwDefaultError({
|
|
@@ -614,20 +614,20 @@ const deserializeAws_json1_1CreateLocationFsxOpenZfsCommandError = async (output
|
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
616
|
};
|
|
617
|
-
export const
|
|
617
|
+
export const de_CreateLocationFsxWindowsCommand = async (output, context) => {
|
|
618
618
|
if (output.statusCode >= 300) {
|
|
619
|
-
return
|
|
619
|
+
return de_CreateLocationFsxWindowsCommandError(output, context);
|
|
620
620
|
}
|
|
621
621
|
const data = await parseBody(output.body, context);
|
|
622
622
|
let contents = {};
|
|
623
|
-
contents =
|
|
623
|
+
contents = de_CreateLocationFsxWindowsResponse(data, context);
|
|
624
624
|
const response = {
|
|
625
625
|
$metadata: deserializeMetadata(output),
|
|
626
626
|
...contents,
|
|
627
627
|
};
|
|
628
628
|
return Promise.resolve(response);
|
|
629
629
|
};
|
|
630
|
-
const
|
|
630
|
+
const de_CreateLocationFsxWindowsCommandError = async (output, context) => {
|
|
631
631
|
const parsedOutput = {
|
|
632
632
|
...output,
|
|
633
633
|
body: await parseErrorBody(output.body, context),
|
|
@@ -636,10 +636,10 @@ const deserializeAws_json1_1CreateLocationFsxWindowsCommandError = async (output
|
|
|
636
636
|
switch (errorCode) {
|
|
637
637
|
case "InternalException":
|
|
638
638
|
case "com.amazonaws.datasync#InternalException":
|
|
639
|
-
throw await
|
|
639
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
640
640
|
case "InvalidRequestException":
|
|
641
641
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
642
|
-
throw await
|
|
642
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
643
643
|
default:
|
|
644
644
|
const parsedBody = parsedOutput.body;
|
|
645
645
|
throwDefaultError({
|
|
@@ -650,20 +650,20 @@ const deserializeAws_json1_1CreateLocationFsxWindowsCommandError = async (output
|
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
652
|
};
|
|
653
|
-
export const
|
|
653
|
+
export const de_CreateLocationHdfsCommand = async (output, context) => {
|
|
654
654
|
if (output.statusCode >= 300) {
|
|
655
|
-
return
|
|
655
|
+
return de_CreateLocationHdfsCommandError(output, context);
|
|
656
656
|
}
|
|
657
657
|
const data = await parseBody(output.body, context);
|
|
658
658
|
let contents = {};
|
|
659
|
-
contents =
|
|
659
|
+
contents = de_CreateLocationHdfsResponse(data, context);
|
|
660
660
|
const response = {
|
|
661
661
|
$metadata: deserializeMetadata(output),
|
|
662
662
|
...contents,
|
|
663
663
|
};
|
|
664
664
|
return Promise.resolve(response);
|
|
665
665
|
};
|
|
666
|
-
const
|
|
666
|
+
const de_CreateLocationHdfsCommandError = async (output, context) => {
|
|
667
667
|
const parsedOutput = {
|
|
668
668
|
...output,
|
|
669
669
|
body: await parseErrorBody(output.body, context),
|
|
@@ -672,10 +672,10 @@ const deserializeAws_json1_1CreateLocationHdfsCommandError = async (output, cont
|
|
|
672
672
|
switch (errorCode) {
|
|
673
673
|
case "InternalException":
|
|
674
674
|
case "com.amazonaws.datasync#InternalException":
|
|
675
|
-
throw await
|
|
675
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
676
676
|
case "InvalidRequestException":
|
|
677
677
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
678
|
-
throw await
|
|
678
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
679
679
|
default:
|
|
680
680
|
const parsedBody = parsedOutput.body;
|
|
681
681
|
throwDefaultError({
|
|
@@ -686,20 +686,20 @@ const deserializeAws_json1_1CreateLocationHdfsCommandError = async (output, cont
|
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
688
|
};
|
|
689
|
-
export const
|
|
689
|
+
export const de_CreateLocationNfsCommand = async (output, context) => {
|
|
690
690
|
if (output.statusCode >= 300) {
|
|
691
|
-
return
|
|
691
|
+
return de_CreateLocationNfsCommandError(output, context);
|
|
692
692
|
}
|
|
693
693
|
const data = await parseBody(output.body, context);
|
|
694
694
|
let contents = {};
|
|
695
|
-
contents =
|
|
695
|
+
contents = de_CreateLocationNfsResponse(data, context);
|
|
696
696
|
const response = {
|
|
697
697
|
$metadata: deserializeMetadata(output),
|
|
698
698
|
...contents,
|
|
699
699
|
};
|
|
700
700
|
return Promise.resolve(response);
|
|
701
701
|
};
|
|
702
|
-
const
|
|
702
|
+
const de_CreateLocationNfsCommandError = async (output, context) => {
|
|
703
703
|
const parsedOutput = {
|
|
704
704
|
...output,
|
|
705
705
|
body: await parseErrorBody(output.body, context),
|
|
@@ -708,10 +708,10 @@ const deserializeAws_json1_1CreateLocationNfsCommandError = async (output, conte
|
|
|
708
708
|
switch (errorCode) {
|
|
709
709
|
case "InternalException":
|
|
710
710
|
case "com.amazonaws.datasync#InternalException":
|
|
711
|
-
throw await
|
|
711
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
712
712
|
case "InvalidRequestException":
|
|
713
713
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
714
|
-
throw await
|
|
714
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
715
715
|
default:
|
|
716
716
|
const parsedBody = parsedOutput.body;
|
|
717
717
|
throwDefaultError({
|
|
@@ -722,20 +722,20 @@ const deserializeAws_json1_1CreateLocationNfsCommandError = async (output, conte
|
|
|
722
722
|
});
|
|
723
723
|
}
|
|
724
724
|
};
|
|
725
|
-
export const
|
|
725
|
+
export const de_CreateLocationObjectStorageCommand = async (output, context) => {
|
|
726
726
|
if (output.statusCode >= 300) {
|
|
727
|
-
return
|
|
727
|
+
return de_CreateLocationObjectStorageCommandError(output, context);
|
|
728
728
|
}
|
|
729
729
|
const data = await parseBody(output.body, context);
|
|
730
730
|
let contents = {};
|
|
731
|
-
contents =
|
|
731
|
+
contents = de_CreateLocationObjectStorageResponse(data, context);
|
|
732
732
|
const response = {
|
|
733
733
|
$metadata: deserializeMetadata(output),
|
|
734
734
|
...contents,
|
|
735
735
|
};
|
|
736
736
|
return Promise.resolve(response);
|
|
737
737
|
};
|
|
738
|
-
const
|
|
738
|
+
const de_CreateLocationObjectStorageCommandError = async (output, context) => {
|
|
739
739
|
const parsedOutput = {
|
|
740
740
|
...output,
|
|
741
741
|
body: await parseErrorBody(output.body, context),
|
|
@@ -744,10 +744,10 @@ const deserializeAws_json1_1CreateLocationObjectStorageCommandError = async (out
|
|
|
744
744
|
switch (errorCode) {
|
|
745
745
|
case "InternalException":
|
|
746
746
|
case "com.amazonaws.datasync#InternalException":
|
|
747
|
-
throw await
|
|
747
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
748
748
|
case "InvalidRequestException":
|
|
749
749
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
750
|
-
throw await
|
|
750
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
751
751
|
default:
|
|
752
752
|
const parsedBody = parsedOutput.body;
|
|
753
753
|
throwDefaultError({
|
|
@@ -758,20 +758,20 @@ const deserializeAws_json1_1CreateLocationObjectStorageCommandError = async (out
|
|
|
758
758
|
});
|
|
759
759
|
}
|
|
760
760
|
};
|
|
761
|
-
export const
|
|
761
|
+
export const de_CreateLocationS3Command = async (output, context) => {
|
|
762
762
|
if (output.statusCode >= 300) {
|
|
763
|
-
return
|
|
763
|
+
return de_CreateLocationS3CommandError(output, context);
|
|
764
764
|
}
|
|
765
765
|
const data = await parseBody(output.body, context);
|
|
766
766
|
let contents = {};
|
|
767
|
-
contents =
|
|
767
|
+
contents = de_CreateLocationS3Response(data, context);
|
|
768
768
|
const response = {
|
|
769
769
|
$metadata: deserializeMetadata(output),
|
|
770
770
|
...contents,
|
|
771
771
|
};
|
|
772
772
|
return Promise.resolve(response);
|
|
773
773
|
};
|
|
774
|
-
const
|
|
774
|
+
const de_CreateLocationS3CommandError = async (output, context) => {
|
|
775
775
|
const parsedOutput = {
|
|
776
776
|
...output,
|
|
777
777
|
body: await parseErrorBody(output.body, context),
|
|
@@ -780,10 +780,10 @@ const deserializeAws_json1_1CreateLocationS3CommandError = async (output, contex
|
|
|
780
780
|
switch (errorCode) {
|
|
781
781
|
case "InternalException":
|
|
782
782
|
case "com.amazonaws.datasync#InternalException":
|
|
783
|
-
throw await
|
|
783
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
784
784
|
case "InvalidRequestException":
|
|
785
785
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
786
|
-
throw await
|
|
786
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
787
787
|
default:
|
|
788
788
|
const parsedBody = parsedOutput.body;
|
|
789
789
|
throwDefaultError({
|
|
@@ -794,20 +794,20 @@ const deserializeAws_json1_1CreateLocationS3CommandError = async (output, contex
|
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
796
|
};
|
|
797
|
-
export const
|
|
797
|
+
export const de_CreateLocationSmbCommand = async (output, context) => {
|
|
798
798
|
if (output.statusCode >= 300) {
|
|
799
|
-
return
|
|
799
|
+
return de_CreateLocationSmbCommandError(output, context);
|
|
800
800
|
}
|
|
801
801
|
const data = await parseBody(output.body, context);
|
|
802
802
|
let contents = {};
|
|
803
|
-
contents =
|
|
803
|
+
contents = de_CreateLocationSmbResponse(data, context);
|
|
804
804
|
const response = {
|
|
805
805
|
$metadata: deserializeMetadata(output),
|
|
806
806
|
...contents,
|
|
807
807
|
};
|
|
808
808
|
return Promise.resolve(response);
|
|
809
809
|
};
|
|
810
|
-
const
|
|
810
|
+
const de_CreateLocationSmbCommandError = async (output, context) => {
|
|
811
811
|
const parsedOutput = {
|
|
812
812
|
...output,
|
|
813
813
|
body: await parseErrorBody(output.body, context),
|
|
@@ -816,10 +816,10 @@ const deserializeAws_json1_1CreateLocationSmbCommandError = async (output, conte
|
|
|
816
816
|
switch (errorCode) {
|
|
817
817
|
case "InternalException":
|
|
818
818
|
case "com.amazonaws.datasync#InternalException":
|
|
819
|
-
throw await
|
|
819
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
820
820
|
case "InvalidRequestException":
|
|
821
821
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
822
|
-
throw await
|
|
822
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
823
823
|
default:
|
|
824
824
|
const parsedBody = parsedOutput.body;
|
|
825
825
|
throwDefaultError({
|
|
@@ -830,20 +830,20 @@ const deserializeAws_json1_1CreateLocationSmbCommandError = async (output, conte
|
|
|
830
830
|
});
|
|
831
831
|
}
|
|
832
832
|
};
|
|
833
|
-
export const
|
|
833
|
+
export const de_CreateTaskCommand = async (output, context) => {
|
|
834
834
|
if (output.statusCode >= 300) {
|
|
835
|
-
return
|
|
835
|
+
return de_CreateTaskCommandError(output, context);
|
|
836
836
|
}
|
|
837
837
|
const data = await parseBody(output.body, context);
|
|
838
838
|
let contents = {};
|
|
839
|
-
contents =
|
|
839
|
+
contents = de_CreateTaskResponse(data, context);
|
|
840
840
|
const response = {
|
|
841
841
|
$metadata: deserializeMetadata(output),
|
|
842
842
|
...contents,
|
|
843
843
|
};
|
|
844
844
|
return Promise.resolve(response);
|
|
845
845
|
};
|
|
846
|
-
const
|
|
846
|
+
const de_CreateTaskCommandError = async (output, context) => {
|
|
847
847
|
const parsedOutput = {
|
|
848
848
|
...output,
|
|
849
849
|
body: await parseErrorBody(output.body, context),
|
|
@@ -852,10 +852,10 @@ const deserializeAws_json1_1CreateTaskCommandError = async (output, context) =>
|
|
|
852
852
|
switch (errorCode) {
|
|
853
853
|
case "InternalException":
|
|
854
854
|
case "com.amazonaws.datasync#InternalException":
|
|
855
|
-
throw await
|
|
855
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
856
856
|
case "InvalidRequestException":
|
|
857
857
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
858
|
-
throw await
|
|
858
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
859
859
|
default:
|
|
860
860
|
const parsedBody = parsedOutput.body;
|
|
861
861
|
throwDefaultError({
|
|
@@ -866,20 +866,20 @@ const deserializeAws_json1_1CreateTaskCommandError = async (output, context) =>
|
|
|
866
866
|
});
|
|
867
867
|
}
|
|
868
868
|
};
|
|
869
|
-
export const
|
|
869
|
+
export const de_DeleteAgentCommand = async (output, context) => {
|
|
870
870
|
if (output.statusCode >= 300) {
|
|
871
|
-
return
|
|
871
|
+
return de_DeleteAgentCommandError(output, context);
|
|
872
872
|
}
|
|
873
873
|
const data = await parseBody(output.body, context);
|
|
874
874
|
let contents = {};
|
|
875
|
-
contents =
|
|
875
|
+
contents = de_DeleteAgentResponse(data, context);
|
|
876
876
|
const response = {
|
|
877
877
|
$metadata: deserializeMetadata(output),
|
|
878
878
|
...contents,
|
|
879
879
|
};
|
|
880
880
|
return Promise.resolve(response);
|
|
881
881
|
};
|
|
882
|
-
const
|
|
882
|
+
const de_DeleteAgentCommandError = async (output, context) => {
|
|
883
883
|
const parsedOutput = {
|
|
884
884
|
...output,
|
|
885
885
|
body: await parseErrorBody(output.body, context),
|
|
@@ -888,10 +888,10 @@ const deserializeAws_json1_1DeleteAgentCommandError = async (output, context) =>
|
|
|
888
888
|
switch (errorCode) {
|
|
889
889
|
case "InternalException":
|
|
890
890
|
case "com.amazonaws.datasync#InternalException":
|
|
891
|
-
throw await
|
|
891
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
892
892
|
case "InvalidRequestException":
|
|
893
893
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
894
|
-
throw await
|
|
894
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
895
895
|
default:
|
|
896
896
|
const parsedBody = parsedOutput.body;
|
|
897
897
|
throwDefaultError({
|
|
@@ -902,20 +902,20 @@ const deserializeAws_json1_1DeleteAgentCommandError = async (output, context) =>
|
|
|
902
902
|
});
|
|
903
903
|
}
|
|
904
904
|
};
|
|
905
|
-
export const
|
|
905
|
+
export const de_DeleteLocationCommand = async (output, context) => {
|
|
906
906
|
if (output.statusCode >= 300) {
|
|
907
|
-
return
|
|
907
|
+
return de_DeleteLocationCommandError(output, context);
|
|
908
908
|
}
|
|
909
909
|
const data = await parseBody(output.body, context);
|
|
910
910
|
let contents = {};
|
|
911
|
-
contents =
|
|
911
|
+
contents = de_DeleteLocationResponse(data, context);
|
|
912
912
|
const response = {
|
|
913
913
|
$metadata: deserializeMetadata(output),
|
|
914
914
|
...contents,
|
|
915
915
|
};
|
|
916
916
|
return Promise.resolve(response);
|
|
917
917
|
};
|
|
918
|
-
const
|
|
918
|
+
const de_DeleteLocationCommandError = async (output, context) => {
|
|
919
919
|
const parsedOutput = {
|
|
920
920
|
...output,
|
|
921
921
|
body: await parseErrorBody(output.body, context),
|
|
@@ -924,10 +924,10 @@ const deserializeAws_json1_1DeleteLocationCommandError = async (output, context)
|
|
|
924
924
|
switch (errorCode) {
|
|
925
925
|
case "InternalException":
|
|
926
926
|
case "com.amazonaws.datasync#InternalException":
|
|
927
|
-
throw await
|
|
927
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
928
928
|
case "InvalidRequestException":
|
|
929
929
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
930
|
-
throw await
|
|
930
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
931
931
|
default:
|
|
932
932
|
const parsedBody = parsedOutput.body;
|
|
933
933
|
throwDefaultError({
|
|
@@ -938,20 +938,20 @@ const deserializeAws_json1_1DeleteLocationCommandError = async (output, context)
|
|
|
938
938
|
});
|
|
939
939
|
}
|
|
940
940
|
};
|
|
941
|
-
export const
|
|
941
|
+
export const de_DeleteTaskCommand = async (output, context) => {
|
|
942
942
|
if (output.statusCode >= 300) {
|
|
943
|
-
return
|
|
943
|
+
return de_DeleteTaskCommandError(output, context);
|
|
944
944
|
}
|
|
945
945
|
const data = await parseBody(output.body, context);
|
|
946
946
|
let contents = {};
|
|
947
|
-
contents =
|
|
947
|
+
contents = de_DeleteTaskResponse(data, context);
|
|
948
948
|
const response = {
|
|
949
949
|
$metadata: deserializeMetadata(output),
|
|
950
950
|
...contents,
|
|
951
951
|
};
|
|
952
952
|
return Promise.resolve(response);
|
|
953
953
|
};
|
|
954
|
-
const
|
|
954
|
+
const de_DeleteTaskCommandError = async (output, context) => {
|
|
955
955
|
const parsedOutput = {
|
|
956
956
|
...output,
|
|
957
957
|
body: await parseErrorBody(output.body, context),
|
|
@@ -960,10 +960,10 @@ const deserializeAws_json1_1DeleteTaskCommandError = async (output, context) =>
|
|
|
960
960
|
switch (errorCode) {
|
|
961
961
|
case "InternalException":
|
|
962
962
|
case "com.amazonaws.datasync#InternalException":
|
|
963
|
-
throw await
|
|
963
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
964
964
|
case "InvalidRequestException":
|
|
965
965
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
966
|
-
throw await
|
|
966
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
967
967
|
default:
|
|
968
968
|
const parsedBody = parsedOutput.body;
|
|
969
969
|
throwDefaultError({
|
|
@@ -974,20 +974,20 @@ const deserializeAws_json1_1DeleteTaskCommandError = async (output, context) =>
|
|
|
974
974
|
});
|
|
975
975
|
}
|
|
976
976
|
};
|
|
977
|
-
export const
|
|
977
|
+
export const de_DescribeAgentCommand = async (output, context) => {
|
|
978
978
|
if (output.statusCode >= 300) {
|
|
979
|
-
return
|
|
979
|
+
return de_DescribeAgentCommandError(output, context);
|
|
980
980
|
}
|
|
981
981
|
const data = await parseBody(output.body, context);
|
|
982
982
|
let contents = {};
|
|
983
|
-
contents =
|
|
983
|
+
contents = de_DescribeAgentResponse(data, context);
|
|
984
984
|
const response = {
|
|
985
985
|
$metadata: deserializeMetadata(output),
|
|
986
986
|
...contents,
|
|
987
987
|
};
|
|
988
988
|
return Promise.resolve(response);
|
|
989
989
|
};
|
|
990
|
-
const
|
|
990
|
+
const de_DescribeAgentCommandError = async (output, context) => {
|
|
991
991
|
const parsedOutput = {
|
|
992
992
|
...output,
|
|
993
993
|
body: await parseErrorBody(output.body, context),
|
|
@@ -996,10 +996,10 @@ const deserializeAws_json1_1DescribeAgentCommandError = async (output, context)
|
|
|
996
996
|
switch (errorCode) {
|
|
997
997
|
case "InternalException":
|
|
998
998
|
case "com.amazonaws.datasync#InternalException":
|
|
999
|
-
throw await
|
|
999
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1000
1000
|
case "InvalidRequestException":
|
|
1001
1001
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1002
|
-
throw await
|
|
1002
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1003
1003
|
default:
|
|
1004
1004
|
const parsedBody = parsedOutput.body;
|
|
1005
1005
|
throwDefaultError({
|
|
@@ -1010,20 +1010,20 @@ const deserializeAws_json1_1DescribeAgentCommandError = async (output, context)
|
|
|
1010
1010
|
});
|
|
1011
1011
|
}
|
|
1012
1012
|
};
|
|
1013
|
-
export const
|
|
1013
|
+
export const de_DescribeLocationEfsCommand = async (output, context) => {
|
|
1014
1014
|
if (output.statusCode >= 300) {
|
|
1015
|
-
return
|
|
1015
|
+
return de_DescribeLocationEfsCommandError(output, context);
|
|
1016
1016
|
}
|
|
1017
1017
|
const data = await parseBody(output.body, context);
|
|
1018
1018
|
let contents = {};
|
|
1019
|
-
contents =
|
|
1019
|
+
contents = de_DescribeLocationEfsResponse(data, context);
|
|
1020
1020
|
const response = {
|
|
1021
1021
|
$metadata: deserializeMetadata(output),
|
|
1022
1022
|
...contents,
|
|
1023
1023
|
};
|
|
1024
1024
|
return Promise.resolve(response);
|
|
1025
1025
|
};
|
|
1026
|
-
const
|
|
1026
|
+
const de_DescribeLocationEfsCommandError = async (output, context) => {
|
|
1027
1027
|
const parsedOutput = {
|
|
1028
1028
|
...output,
|
|
1029
1029
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1032,10 +1032,10 @@ const deserializeAws_json1_1DescribeLocationEfsCommandError = async (output, con
|
|
|
1032
1032
|
switch (errorCode) {
|
|
1033
1033
|
case "InternalException":
|
|
1034
1034
|
case "com.amazonaws.datasync#InternalException":
|
|
1035
|
-
throw await
|
|
1035
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1036
1036
|
case "InvalidRequestException":
|
|
1037
1037
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1038
|
-
throw await
|
|
1038
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1039
1039
|
default:
|
|
1040
1040
|
const parsedBody = parsedOutput.body;
|
|
1041
1041
|
throwDefaultError({
|
|
@@ -1046,20 +1046,20 @@ const deserializeAws_json1_1DescribeLocationEfsCommandError = async (output, con
|
|
|
1046
1046
|
});
|
|
1047
1047
|
}
|
|
1048
1048
|
};
|
|
1049
|
-
export const
|
|
1049
|
+
export const de_DescribeLocationFsxLustreCommand = async (output, context) => {
|
|
1050
1050
|
if (output.statusCode >= 300) {
|
|
1051
|
-
return
|
|
1051
|
+
return de_DescribeLocationFsxLustreCommandError(output, context);
|
|
1052
1052
|
}
|
|
1053
1053
|
const data = await parseBody(output.body, context);
|
|
1054
1054
|
let contents = {};
|
|
1055
|
-
contents =
|
|
1055
|
+
contents = de_DescribeLocationFsxLustreResponse(data, context);
|
|
1056
1056
|
const response = {
|
|
1057
1057
|
$metadata: deserializeMetadata(output),
|
|
1058
1058
|
...contents,
|
|
1059
1059
|
};
|
|
1060
1060
|
return Promise.resolve(response);
|
|
1061
1061
|
};
|
|
1062
|
-
const
|
|
1062
|
+
const de_DescribeLocationFsxLustreCommandError = async (output, context) => {
|
|
1063
1063
|
const parsedOutput = {
|
|
1064
1064
|
...output,
|
|
1065
1065
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1068,10 +1068,10 @@ const deserializeAws_json1_1DescribeLocationFsxLustreCommandError = async (outpu
|
|
|
1068
1068
|
switch (errorCode) {
|
|
1069
1069
|
case "InternalException":
|
|
1070
1070
|
case "com.amazonaws.datasync#InternalException":
|
|
1071
|
-
throw await
|
|
1071
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1072
1072
|
case "InvalidRequestException":
|
|
1073
1073
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1074
|
-
throw await
|
|
1074
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1075
1075
|
default:
|
|
1076
1076
|
const parsedBody = parsedOutput.body;
|
|
1077
1077
|
throwDefaultError({
|
|
@@ -1082,20 +1082,20 @@ const deserializeAws_json1_1DescribeLocationFsxLustreCommandError = async (outpu
|
|
|
1082
1082
|
});
|
|
1083
1083
|
}
|
|
1084
1084
|
};
|
|
1085
|
-
export const
|
|
1085
|
+
export const de_DescribeLocationFsxOntapCommand = async (output, context) => {
|
|
1086
1086
|
if (output.statusCode >= 300) {
|
|
1087
|
-
return
|
|
1087
|
+
return de_DescribeLocationFsxOntapCommandError(output, context);
|
|
1088
1088
|
}
|
|
1089
1089
|
const data = await parseBody(output.body, context);
|
|
1090
1090
|
let contents = {};
|
|
1091
|
-
contents =
|
|
1091
|
+
contents = de_DescribeLocationFsxOntapResponse(data, context);
|
|
1092
1092
|
const response = {
|
|
1093
1093
|
$metadata: deserializeMetadata(output),
|
|
1094
1094
|
...contents,
|
|
1095
1095
|
};
|
|
1096
1096
|
return Promise.resolve(response);
|
|
1097
1097
|
};
|
|
1098
|
-
const
|
|
1098
|
+
const de_DescribeLocationFsxOntapCommandError = async (output, context) => {
|
|
1099
1099
|
const parsedOutput = {
|
|
1100
1100
|
...output,
|
|
1101
1101
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1104,10 +1104,10 @@ const deserializeAws_json1_1DescribeLocationFsxOntapCommandError = async (output
|
|
|
1104
1104
|
switch (errorCode) {
|
|
1105
1105
|
case "InternalException":
|
|
1106
1106
|
case "com.amazonaws.datasync#InternalException":
|
|
1107
|
-
throw await
|
|
1107
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1108
1108
|
case "InvalidRequestException":
|
|
1109
1109
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1110
|
-
throw await
|
|
1110
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1111
1111
|
default:
|
|
1112
1112
|
const parsedBody = parsedOutput.body;
|
|
1113
1113
|
throwDefaultError({
|
|
@@ -1118,20 +1118,20 @@ const deserializeAws_json1_1DescribeLocationFsxOntapCommandError = async (output
|
|
|
1118
1118
|
});
|
|
1119
1119
|
}
|
|
1120
1120
|
};
|
|
1121
|
-
export const
|
|
1121
|
+
export const de_DescribeLocationFsxOpenZfsCommand = async (output, context) => {
|
|
1122
1122
|
if (output.statusCode >= 300) {
|
|
1123
|
-
return
|
|
1123
|
+
return de_DescribeLocationFsxOpenZfsCommandError(output, context);
|
|
1124
1124
|
}
|
|
1125
1125
|
const data = await parseBody(output.body, context);
|
|
1126
1126
|
let contents = {};
|
|
1127
|
-
contents =
|
|
1127
|
+
contents = de_DescribeLocationFsxOpenZfsResponse(data, context);
|
|
1128
1128
|
const response = {
|
|
1129
1129
|
$metadata: deserializeMetadata(output),
|
|
1130
1130
|
...contents,
|
|
1131
1131
|
};
|
|
1132
1132
|
return Promise.resolve(response);
|
|
1133
1133
|
};
|
|
1134
|
-
const
|
|
1134
|
+
const de_DescribeLocationFsxOpenZfsCommandError = async (output, context) => {
|
|
1135
1135
|
const parsedOutput = {
|
|
1136
1136
|
...output,
|
|
1137
1137
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1140,10 +1140,10 @@ const deserializeAws_json1_1DescribeLocationFsxOpenZfsCommandError = async (outp
|
|
|
1140
1140
|
switch (errorCode) {
|
|
1141
1141
|
case "InternalException":
|
|
1142
1142
|
case "com.amazonaws.datasync#InternalException":
|
|
1143
|
-
throw await
|
|
1143
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1144
1144
|
case "InvalidRequestException":
|
|
1145
1145
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1146
|
-
throw await
|
|
1146
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1147
1147
|
default:
|
|
1148
1148
|
const parsedBody = parsedOutput.body;
|
|
1149
1149
|
throwDefaultError({
|
|
@@ -1154,20 +1154,20 @@ const deserializeAws_json1_1DescribeLocationFsxOpenZfsCommandError = async (outp
|
|
|
1154
1154
|
});
|
|
1155
1155
|
}
|
|
1156
1156
|
};
|
|
1157
|
-
export const
|
|
1157
|
+
export const de_DescribeLocationFsxWindowsCommand = async (output, context) => {
|
|
1158
1158
|
if (output.statusCode >= 300) {
|
|
1159
|
-
return
|
|
1159
|
+
return de_DescribeLocationFsxWindowsCommandError(output, context);
|
|
1160
1160
|
}
|
|
1161
1161
|
const data = await parseBody(output.body, context);
|
|
1162
1162
|
let contents = {};
|
|
1163
|
-
contents =
|
|
1163
|
+
contents = de_DescribeLocationFsxWindowsResponse(data, context);
|
|
1164
1164
|
const response = {
|
|
1165
1165
|
$metadata: deserializeMetadata(output),
|
|
1166
1166
|
...contents,
|
|
1167
1167
|
};
|
|
1168
1168
|
return Promise.resolve(response);
|
|
1169
1169
|
};
|
|
1170
|
-
const
|
|
1170
|
+
const de_DescribeLocationFsxWindowsCommandError = async (output, context) => {
|
|
1171
1171
|
const parsedOutput = {
|
|
1172
1172
|
...output,
|
|
1173
1173
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1176,10 +1176,10 @@ const deserializeAws_json1_1DescribeLocationFsxWindowsCommandError = async (outp
|
|
|
1176
1176
|
switch (errorCode) {
|
|
1177
1177
|
case "InternalException":
|
|
1178
1178
|
case "com.amazonaws.datasync#InternalException":
|
|
1179
|
-
throw await
|
|
1179
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1180
1180
|
case "InvalidRequestException":
|
|
1181
1181
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1182
|
-
throw await
|
|
1182
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1183
1183
|
default:
|
|
1184
1184
|
const parsedBody = parsedOutput.body;
|
|
1185
1185
|
throwDefaultError({
|
|
@@ -1190,20 +1190,20 @@ const deserializeAws_json1_1DescribeLocationFsxWindowsCommandError = async (outp
|
|
|
1190
1190
|
});
|
|
1191
1191
|
}
|
|
1192
1192
|
};
|
|
1193
|
-
export const
|
|
1193
|
+
export const de_DescribeLocationHdfsCommand = async (output, context) => {
|
|
1194
1194
|
if (output.statusCode >= 300) {
|
|
1195
|
-
return
|
|
1195
|
+
return de_DescribeLocationHdfsCommandError(output, context);
|
|
1196
1196
|
}
|
|
1197
1197
|
const data = await parseBody(output.body, context);
|
|
1198
1198
|
let contents = {};
|
|
1199
|
-
contents =
|
|
1199
|
+
contents = de_DescribeLocationHdfsResponse(data, context);
|
|
1200
1200
|
const response = {
|
|
1201
1201
|
$metadata: deserializeMetadata(output),
|
|
1202
1202
|
...contents,
|
|
1203
1203
|
};
|
|
1204
1204
|
return Promise.resolve(response);
|
|
1205
1205
|
};
|
|
1206
|
-
const
|
|
1206
|
+
const de_DescribeLocationHdfsCommandError = async (output, context) => {
|
|
1207
1207
|
const parsedOutput = {
|
|
1208
1208
|
...output,
|
|
1209
1209
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1212,10 +1212,10 @@ const deserializeAws_json1_1DescribeLocationHdfsCommandError = async (output, co
|
|
|
1212
1212
|
switch (errorCode) {
|
|
1213
1213
|
case "InternalException":
|
|
1214
1214
|
case "com.amazonaws.datasync#InternalException":
|
|
1215
|
-
throw await
|
|
1215
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1216
1216
|
case "InvalidRequestException":
|
|
1217
1217
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1218
|
-
throw await
|
|
1218
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1219
1219
|
default:
|
|
1220
1220
|
const parsedBody = parsedOutput.body;
|
|
1221
1221
|
throwDefaultError({
|
|
@@ -1226,20 +1226,20 @@ const deserializeAws_json1_1DescribeLocationHdfsCommandError = async (output, co
|
|
|
1226
1226
|
});
|
|
1227
1227
|
}
|
|
1228
1228
|
};
|
|
1229
|
-
export const
|
|
1229
|
+
export const de_DescribeLocationNfsCommand = async (output, context) => {
|
|
1230
1230
|
if (output.statusCode >= 300) {
|
|
1231
|
-
return
|
|
1231
|
+
return de_DescribeLocationNfsCommandError(output, context);
|
|
1232
1232
|
}
|
|
1233
1233
|
const data = await parseBody(output.body, context);
|
|
1234
1234
|
let contents = {};
|
|
1235
|
-
contents =
|
|
1235
|
+
contents = de_DescribeLocationNfsResponse(data, context);
|
|
1236
1236
|
const response = {
|
|
1237
1237
|
$metadata: deserializeMetadata(output),
|
|
1238
1238
|
...contents,
|
|
1239
1239
|
};
|
|
1240
1240
|
return Promise.resolve(response);
|
|
1241
1241
|
};
|
|
1242
|
-
const
|
|
1242
|
+
const de_DescribeLocationNfsCommandError = async (output, context) => {
|
|
1243
1243
|
const parsedOutput = {
|
|
1244
1244
|
...output,
|
|
1245
1245
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1248,10 +1248,10 @@ const deserializeAws_json1_1DescribeLocationNfsCommandError = async (output, con
|
|
|
1248
1248
|
switch (errorCode) {
|
|
1249
1249
|
case "InternalException":
|
|
1250
1250
|
case "com.amazonaws.datasync#InternalException":
|
|
1251
|
-
throw await
|
|
1251
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1252
1252
|
case "InvalidRequestException":
|
|
1253
1253
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1254
|
-
throw await
|
|
1254
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1255
1255
|
default:
|
|
1256
1256
|
const parsedBody = parsedOutput.body;
|
|
1257
1257
|
throwDefaultError({
|
|
@@ -1262,20 +1262,20 @@ const deserializeAws_json1_1DescribeLocationNfsCommandError = async (output, con
|
|
|
1262
1262
|
});
|
|
1263
1263
|
}
|
|
1264
1264
|
};
|
|
1265
|
-
export const
|
|
1265
|
+
export const de_DescribeLocationObjectStorageCommand = async (output, context) => {
|
|
1266
1266
|
if (output.statusCode >= 300) {
|
|
1267
|
-
return
|
|
1267
|
+
return de_DescribeLocationObjectStorageCommandError(output, context);
|
|
1268
1268
|
}
|
|
1269
1269
|
const data = await parseBody(output.body, context);
|
|
1270
1270
|
let contents = {};
|
|
1271
|
-
contents =
|
|
1271
|
+
contents = de_DescribeLocationObjectStorageResponse(data, context);
|
|
1272
1272
|
const response = {
|
|
1273
1273
|
$metadata: deserializeMetadata(output),
|
|
1274
1274
|
...contents,
|
|
1275
1275
|
};
|
|
1276
1276
|
return Promise.resolve(response);
|
|
1277
1277
|
};
|
|
1278
|
-
const
|
|
1278
|
+
const de_DescribeLocationObjectStorageCommandError = async (output, context) => {
|
|
1279
1279
|
const parsedOutput = {
|
|
1280
1280
|
...output,
|
|
1281
1281
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1284,10 +1284,10 @@ const deserializeAws_json1_1DescribeLocationObjectStorageCommandError = async (o
|
|
|
1284
1284
|
switch (errorCode) {
|
|
1285
1285
|
case "InternalException":
|
|
1286
1286
|
case "com.amazonaws.datasync#InternalException":
|
|
1287
|
-
throw await
|
|
1287
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1288
1288
|
case "InvalidRequestException":
|
|
1289
1289
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1290
|
-
throw await
|
|
1290
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1291
1291
|
default:
|
|
1292
1292
|
const parsedBody = parsedOutput.body;
|
|
1293
1293
|
throwDefaultError({
|
|
@@ -1298,20 +1298,20 @@ const deserializeAws_json1_1DescribeLocationObjectStorageCommandError = async (o
|
|
|
1298
1298
|
});
|
|
1299
1299
|
}
|
|
1300
1300
|
};
|
|
1301
|
-
export const
|
|
1301
|
+
export const de_DescribeLocationS3Command = async (output, context) => {
|
|
1302
1302
|
if (output.statusCode >= 300) {
|
|
1303
|
-
return
|
|
1303
|
+
return de_DescribeLocationS3CommandError(output, context);
|
|
1304
1304
|
}
|
|
1305
1305
|
const data = await parseBody(output.body, context);
|
|
1306
1306
|
let contents = {};
|
|
1307
|
-
contents =
|
|
1307
|
+
contents = de_DescribeLocationS3Response(data, context);
|
|
1308
1308
|
const response = {
|
|
1309
1309
|
$metadata: deserializeMetadata(output),
|
|
1310
1310
|
...contents,
|
|
1311
1311
|
};
|
|
1312
1312
|
return Promise.resolve(response);
|
|
1313
1313
|
};
|
|
1314
|
-
const
|
|
1314
|
+
const de_DescribeLocationS3CommandError = async (output, context) => {
|
|
1315
1315
|
const parsedOutput = {
|
|
1316
1316
|
...output,
|
|
1317
1317
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1320,10 +1320,10 @@ const deserializeAws_json1_1DescribeLocationS3CommandError = async (output, cont
|
|
|
1320
1320
|
switch (errorCode) {
|
|
1321
1321
|
case "InternalException":
|
|
1322
1322
|
case "com.amazonaws.datasync#InternalException":
|
|
1323
|
-
throw await
|
|
1323
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1324
1324
|
case "InvalidRequestException":
|
|
1325
1325
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1326
|
-
throw await
|
|
1326
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1327
1327
|
default:
|
|
1328
1328
|
const parsedBody = parsedOutput.body;
|
|
1329
1329
|
throwDefaultError({
|
|
@@ -1334,20 +1334,20 @@ const deserializeAws_json1_1DescribeLocationS3CommandError = async (output, cont
|
|
|
1334
1334
|
});
|
|
1335
1335
|
}
|
|
1336
1336
|
};
|
|
1337
|
-
export const
|
|
1337
|
+
export const de_DescribeLocationSmbCommand = async (output, context) => {
|
|
1338
1338
|
if (output.statusCode >= 300) {
|
|
1339
|
-
return
|
|
1339
|
+
return de_DescribeLocationSmbCommandError(output, context);
|
|
1340
1340
|
}
|
|
1341
1341
|
const data = await parseBody(output.body, context);
|
|
1342
1342
|
let contents = {};
|
|
1343
|
-
contents =
|
|
1343
|
+
contents = de_DescribeLocationSmbResponse(data, context);
|
|
1344
1344
|
const response = {
|
|
1345
1345
|
$metadata: deserializeMetadata(output),
|
|
1346
1346
|
...contents,
|
|
1347
1347
|
};
|
|
1348
1348
|
return Promise.resolve(response);
|
|
1349
1349
|
};
|
|
1350
|
-
const
|
|
1350
|
+
const de_DescribeLocationSmbCommandError = async (output, context) => {
|
|
1351
1351
|
const parsedOutput = {
|
|
1352
1352
|
...output,
|
|
1353
1353
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1356,10 +1356,10 @@ const deserializeAws_json1_1DescribeLocationSmbCommandError = async (output, con
|
|
|
1356
1356
|
switch (errorCode) {
|
|
1357
1357
|
case "InternalException":
|
|
1358
1358
|
case "com.amazonaws.datasync#InternalException":
|
|
1359
|
-
throw await
|
|
1359
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1360
1360
|
case "InvalidRequestException":
|
|
1361
1361
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1362
|
-
throw await
|
|
1362
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1363
1363
|
default:
|
|
1364
1364
|
const parsedBody = parsedOutput.body;
|
|
1365
1365
|
throwDefaultError({
|
|
@@ -1370,20 +1370,20 @@ const deserializeAws_json1_1DescribeLocationSmbCommandError = async (output, con
|
|
|
1370
1370
|
});
|
|
1371
1371
|
}
|
|
1372
1372
|
};
|
|
1373
|
-
export const
|
|
1373
|
+
export const de_DescribeTaskCommand = async (output, context) => {
|
|
1374
1374
|
if (output.statusCode >= 300) {
|
|
1375
|
-
return
|
|
1375
|
+
return de_DescribeTaskCommandError(output, context);
|
|
1376
1376
|
}
|
|
1377
1377
|
const data = await parseBody(output.body, context);
|
|
1378
1378
|
let contents = {};
|
|
1379
|
-
contents =
|
|
1379
|
+
contents = de_DescribeTaskResponse(data, context);
|
|
1380
1380
|
const response = {
|
|
1381
1381
|
$metadata: deserializeMetadata(output),
|
|
1382
1382
|
...contents,
|
|
1383
1383
|
};
|
|
1384
1384
|
return Promise.resolve(response);
|
|
1385
1385
|
};
|
|
1386
|
-
const
|
|
1386
|
+
const de_DescribeTaskCommandError = async (output, context) => {
|
|
1387
1387
|
const parsedOutput = {
|
|
1388
1388
|
...output,
|
|
1389
1389
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1392,10 +1392,10 @@ const deserializeAws_json1_1DescribeTaskCommandError = async (output, context) =
|
|
|
1392
1392
|
switch (errorCode) {
|
|
1393
1393
|
case "InternalException":
|
|
1394
1394
|
case "com.amazonaws.datasync#InternalException":
|
|
1395
|
-
throw await
|
|
1395
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1396
1396
|
case "InvalidRequestException":
|
|
1397
1397
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1398
|
-
throw await
|
|
1398
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1399
1399
|
default:
|
|
1400
1400
|
const parsedBody = parsedOutput.body;
|
|
1401
1401
|
throwDefaultError({
|
|
@@ -1406,20 +1406,20 @@ const deserializeAws_json1_1DescribeTaskCommandError = async (output, context) =
|
|
|
1406
1406
|
});
|
|
1407
1407
|
}
|
|
1408
1408
|
};
|
|
1409
|
-
export const
|
|
1409
|
+
export const de_DescribeTaskExecutionCommand = async (output, context) => {
|
|
1410
1410
|
if (output.statusCode >= 300) {
|
|
1411
|
-
return
|
|
1411
|
+
return de_DescribeTaskExecutionCommandError(output, context);
|
|
1412
1412
|
}
|
|
1413
1413
|
const data = await parseBody(output.body, context);
|
|
1414
1414
|
let contents = {};
|
|
1415
|
-
contents =
|
|
1415
|
+
contents = de_DescribeTaskExecutionResponse(data, context);
|
|
1416
1416
|
const response = {
|
|
1417
1417
|
$metadata: deserializeMetadata(output),
|
|
1418
1418
|
...contents,
|
|
1419
1419
|
};
|
|
1420
1420
|
return Promise.resolve(response);
|
|
1421
1421
|
};
|
|
1422
|
-
const
|
|
1422
|
+
const de_DescribeTaskExecutionCommandError = async (output, context) => {
|
|
1423
1423
|
const parsedOutput = {
|
|
1424
1424
|
...output,
|
|
1425
1425
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1428,10 +1428,10 @@ const deserializeAws_json1_1DescribeTaskExecutionCommandError = async (output, c
|
|
|
1428
1428
|
switch (errorCode) {
|
|
1429
1429
|
case "InternalException":
|
|
1430
1430
|
case "com.amazonaws.datasync#InternalException":
|
|
1431
|
-
throw await
|
|
1431
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1432
1432
|
case "InvalidRequestException":
|
|
1433
1433
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1434
|
-
throw await
|
|
1434
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1435
1435
|
default:
|
|
1436
1436
|
const parsedBody = parsedOutput.body;
|
|
1437
1437
|
throwDefaultError({
|
|
@@ -1442,20 +1442,20 @@ const deserializeAws_json1_1DescribeTaskExecutionCommandError = async (output, c
|
|
|
1442
1442
|
});
|
|
1443
1443
|
}
|
|
1444
1444
|
};
|
|
1445
|
-
export const
|
|
1445
|
+
export const de_ListAgentsCommand = async (output, context) => {
|
|
1446
1446
|
if (output.statusCode >= 300) {
|
|
1447
|
-
return
|
|
1447
|
+
return de_ListAgentsCommandError(output, context);
|
|
1448
1448
|
}
|
|
1449
1449
|
const data = await parseBody(output.body, context);
|
|
1450
1450
|
let contents = {};
|
|
1451
|
-
contents =
|
|
1451
|
+
contents = de_ListAgentsResponse(data, context);
|
|
1452
1452
|
const response = {
|
|
1453
1453
|
$metadata: deserializeMetadata(output),
|
|
1454
1454
|
...contents,
|
|
1455
1455
|
};
|
|
1456
1456
|
return Promise.resolve(response);
|
|
1457
1457
|
};
|
|
1458
|
-
const
|
|
1458
|
+
const de_ListAgentsCommandError = async (output, context) => {
|
|
1459
1459
|
const parsedOutput = {
|
|
1460
1460
|
...output,
|
|
1461
1461
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1464,10 +1464,10 @@ const deserializeAws_json1_1ListAgentsCommandError = async (output, context) =>
|
|
|
1464
1464
|
switch (errorCode) {
|
|
1465
1465
|
case "InternalException":
|
|
1466
1466
|
case "com.amazonaws.datasync#InternalException":
|
|
1467
|
-
throw await
|
|
1467
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1468
1468
|
case "InvalidRequestException":
|
|
1469
1469
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1470
|
-
throw await
|
|
1470
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1471
1471
|
default:
|
|
1472
1472
|
const parsedBody = parsedOutput.body;
|
|
1473
1473
|
throwDefaultError({
|
|
@@ -1478,20 +1478,20 @@ const deserializeAws_json1_1ListAgentsCommandError = async (output, context) =>
|
|
|
1478
1478
|
});
|
|
1479
1479
|
}
|
|
1480
1480
|
};
|
|
1481
|
-
export const
|
|
1481
|
+
export const de_ListLocationsCommand = async (output, context) => {
|
|
1482
1482
|
if (output.statusCode >= 300) {
|
|
1483
|
-
return
|
|
1483
|
+
return de_ListLocationsCommandError(output, context);
|
|
1484
1484
|
}
|
|
1485
1485
|
const data = await parseBody(output.body, context);
|
|
1486
1486
|
let contents = {};
|
|
1487
|
-
contents =
|
|
1487
|
+
contents = de_ListLocationsResponse(data, context);
|
|
1488
1488
|
const response = {
|
|
1489
1489
|
$metadata: deserializeMetadata(output),
|
|
1490
1490
|
...contents,
|
|
1491
1491
|
};
|
|
1492
1492
|
return Promise.resolve(response);
|
|
1493
1493
|
};
|
|
1494
|
-
const
|
|
1494
|
+
const de_ListLocationsCommandError = async (output, context) => {
|
|
1495
1495
|
const parsedOutput = {
|
|
1496
1496
|
...output,
|
|
1497
1497
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1500,10 +1500,10 @@ const deserializeAws_json1_1ListLocationsCommandError = async (output, context)
|
|
|
1500
1500
|
switch (errorCode) {
|
|
1501
1501
|
case "InternalException":
|
|
1502
1502
|
case "com.amazonaws.datasync#InternalException":
|
|
1503
|
-
throw await
|
|
1503
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1504
1504
|
case "InvalidRequestException":
|
|
1505
1505
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1506
|
-
throw await
|
|
1506
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1507
1507
|
default:
|
|
1508
1508
|
const parsedBody = parsedOutput.body;
|
|
1509
1509
|
throwDefaultError({
|
|
@@ -1514,20 +1514,20 @@ const deserializeAws_json1_1ListLocationsCommandError = async (output, context)
|
|
|
1514
1514
|
});
|
|
1515
1515
|
}
|
|
1516
1516
|
};
|
|
1517
|
-
export const
|
|
1517
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1518
1518
|
if (output.statusCode >= 300) {
|
|
1519
|
-
return
|
|
1519
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1520
1520
|
}
|
|
1521
1521
|
const data = await parseBody(output.body, context);
|
|
1522
1522
|
let contents = {};
|
|
1523
|
-
contents =
|
|
1523
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1524
1524
|
const response = {
|
|
1525
1525
|
$metadata: deserializeMetadata(output),
|
|
1526
1526
|
...contents,
|
|
1527
1527
|
};
|
|
1528
1528
|
return Promise.resolve(response);
|
|
1529
1529
|
};
|
|
1530
|
-
const
|
|
1530
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1531
1531
|
const parsedOutput = {
|
|
1532
1532
|
...output,
|
|
1533
1533
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1536,10 +1536,10 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1536
1536
|
switch (errorCode) {
|
|
1537
1537
|
case "InternalException":
|
|
1538
1538
|
case "com.amazonaws.datasync#InternalException":
|
|
1539
|
-
throw await
|
|
1539
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1540
1540
|
case "InvalidRequestException":
|
|
1541
1541
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1542
|
-
throw await
|
|
1542
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1543
1543
|
default:
|
|
1544
1544
|
const parsedBody = parsedOutput.body;
|
|
1545
1545
|
throwDefaultError({
|
|
@@ -1550,20 +1550,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1550
1550
|
});
|
|
1551
1551
|
}
|
|
1552
1552
|
};
|
|
1553
|
-
export const
|
|
1553
|
+
export const de_ListTaskExecutionsCommand = async (output, context) => {
|
|
1554
1554
|
if (output.statusCode >= 300) {
|
|
1555
|
-
return
|
|
1555
|
+
return de_ListTaskExecutionsCommandError(output, context);
|
|
1556
1556
|
}
|
|
1557
1557
|
const data = await parseBody(output.body, context);
|
|
1558
1558
|
let contents = {};
|
|
1559
|
-
contents =
|
|
1559
|
+
contents = de_ListTaskExecutionsResponse(data, context);
|
|
1560
1560
|
const response = {
|
|
1561
1561
|
$metadata: deserializeMetadata(output),
|
|
1562
1562
|
...contents,
|
|
1563
1563
|
};
|
|
1564
1564
|
return Promise.resolve(response);
|
|
1565
1565
|
};
|
|
1566
|
-
const
|
|
1566
|
+
const de_ListTaskExecutionsCommandError = async (output, context) => {
|
|
1567
1567
|
const parsedOutput = {
|
|
1568
1568
|
...output,
|
|
1569
1569
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1572,10 +1572,10 @@ const deserializeAws_json1_1ListTaskExecutionsCommandError = async (output, cont
|
|
|
1572
1572
|
switch (errorCode) {
|
|
1573
1573
|
case "InternalException":
|
|
1574
1574
|
case "com.amazonaws.datasync#InternalException":
|
|
1575
|
-
throw await
|
|
1575
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1576
1576
|
case "InvalidRequestException":
|
|
1577
1577
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1578
|
-
throw await
|
|
1578
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1579
1579
|
default:
|
|
1580
1580
|
const parsedBody = parsedOutput.body;
|
|
1581
1581
|
throwDefaultError({
|
|
@@ -1586,20 +1586,20 @@ const deserializeAws_json1_1ListTaskExecutionsCommandError = async (output, cont
|
|
|
1586
1586
|
});
|
|
1587
1587
|
}
|
|
1588
1588
|
};
|
|
1589
|
-
export const
|
|
1589
|
+
export const de_ListTasksCommand = async (output, context) => {
|
|
1590
1590
|
if (output.statusCode >= 300) {
|
|
1591
|
-
return
|
|
1591
|
+
return de_ListTasksCommandError(output, context);
|
|
1592
1592
|
}
|
|
1593
1593
|
const data = await parseBody(output.body, context);
|
|
1594
1594
|
let contents = {};
|
|
1595
|
-
contents =
|
|
1595
|
+
contents = de_ListTasksResponse(data, context);
|
|
1596
1596
|
const response = {
|
|
1597
1597
|
$metadata: deserializeMetadata(output),
|
|
1598
1598
|
...contents,
|
|
1599
1599
|
};
|
|
1600
1600
|
return Promise.resolve(response);
|
|
1601
1601
|
};
|
|
1602
|
-
const
|
|
1602
|
+
const de_ListTasksCommandError = async (output, context) => {
|
|
1603
1603
|
const parsedOutput = {
|
|
1604
1604
|
...output,
|
|
1605
1605
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1608,10 +1608,10 @@ const deserializeAws_json1_1ListTasksCommandError = async (output, context) => {
|
|
|
1608
1608
|
switch (errorCode) {
|
|
1609
1609
|
case "InternalException":
|
|
1610
1610
|
case "com.amazonaws.datasync#InternalException":
|
|
1611
|
-
throw await
|
|
1611
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1612
1612
|
case "InvalidRequestException":
|
|
1613
1613
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1614
|
-
throw await
|
|
1614
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1615
1615
|
default:
|
|
1616
1616
|
const parsedBody = parsedOutput.body;
|
|
1617
1617
|
throwDefaultError({
|
|
@@ -1622,20 +1622,20 @@ const deserializeAws_json1_1ListTasksCommandError = async (output, context) => {
|
|
|
1622
1622
|
});
|
|
1623
1623
|
}
|
|
1624
1624
|
};
|
|
1625
|
-
export const
|
|
1625
|
+
export const de_StartTaskExecutionCommand = async (output, context) => {
|
|
1626
1626
|
if (output.statusCode >= 300) {
|
|
1627
|
-
return
|
|
1627
|
+
return de_StartTaskExecutionCommandError(output, context);
|
|
1628
1628
|
}
|
|
1629
1629
|
const data = await parseBody(output.body, context);
|
|
1630
1630
|
let contents = {};
|
|
1631
|
-
contents =
|
|
1631
|
+
contents = de_StartTaskExecutionResponse(data, context);
|
|
1632
1632
|
const response = {
|
|
1633
1633
|
$metadata: deserializeMetadata(output),
|
|
1634
1634
|
...contents,
|
|
1635
1635
|
};
|
|
1636
1636
|
return Promise.resolve(response);
|
|
1637
1637
|
};
|
|
1638
|
-
const
|
|
1638
|
+
const de_StartTaskExecutionCommandError = async (output, context) => {
|
|
1639
1639
|
const parsedOutput = {
|
|
1640
1640
|
...output,
|
|
1641
1641
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1644,10 +1644,10 @@ const deserializeAws_json1_1StartTaskExecutionCommandError = async (output, cont
|
|
|
1644
1644
|
switch (errorCode) {
|
|
1645
1645
|
case "InternalException":
|
|
1646
1646
|
case "com.amazonaws.datasync#InternalException":
|
|
1647
|
-
throw await
|
|
1647
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1648
1648
|
case "InvalidRequestException":
|
|
1649
1649
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1650
|
-
throw await
|
|
1650
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1651
1651
|
default:
|
|
1652
1652
|
const parsedBody = parsedOutput.body;
|
|
1653
1653
|
throwDefaultError({
|
|
@@ -1658,20 +1658,20 @@ const deserializeAws_json1_1StartTaskExecutionCommandError = async (output, cont
|
|
|
1658
1658
|
});
|
|
1659
1659
|
}
|
|
1660
1660
|
};
|
|
1661
|
-
export const
|
|
1661
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1662
1662
|
if (output.statusCode >= 300) {
|
|
1663
|
-
return
|
|
1663
|
+
return de_TagResourceCommandError(output, context);
|
|
1664
1664
|
}
|
|
1665
1665
|
const data = await parseBody(output.body, context);
|
|
1666
1666
|
let contents = {};
|
|
1667
|
-
contents =
|
|
1667
|
+
contents = de_TagResourceResponse(data, context);
|
|
1668
1668
|
const response = {
|
|
1669
1669
|
$metadata: deserializeMetadata(output),
|
|
1670
1670
|
...contents,
|
|
1671
1671
|
};
|
|
1672
1672
|
return Promise.resolve(response);
|
|
1673
1673
|
};
|
|
1674
|
-
const
|
|
1674
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1675
1675
|
const parsedOutput = {
|
|
1676
1676
|
...output,
|
|
1677
1677
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1680,10 +1680,10 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1680
1680
|
switch (errorCode) {
|
|
1681
1681
|
case "InternalException":
|
|
1682
1682
|
case "com.amazonaws.datasync#InternalException":
|
|
1683
|
-
throw await
|
|
1683
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1684
1684
|
case "InvalidRequestException":
|
|
1685
1685
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1686
|
-
throw await
|
|
1686
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1687
1687
|
default:
|
|
1688
1688
|
const parsedBody = parsedOutput.body;
|
|
1689
1689
|
throwDefaultError({
|
|
@@ -1694,20 +1694,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1694
1694
|
});
|
|
1695
1695
|
}
|
|
1696
1696
|
};
|
|
1697
|
-
export const
|
|
1697
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1698
1698
|
if (output.statusCode >= 300) {
|
|
1699
|
-
return
|
|
1699
|
+
return de_UntagResourceCommandError(output, context);
|
|
1700
1700
|
}
|
|
1701
1701
|
const data = await parseBody(output.body, context);
|
|
1702
1702
|
let contents = {};
|
|
1703
|
-
contents =
|
|
1703
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1704
1704
|
const response = {
|
|
1705
1705
|
$metadata: deserializeMetadata(output),
|
|
1706
1706
|
...contents,
|
|
1707
1707
|
};
|
|
1708
1708
|
return Promise.resolve(response);
|
|
1709
1709
|
};
|
|
1710
|
-
const
|
|
1710
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1711
1711
|
const parsedOutput = {
|
|
1712
1712
|
...output,
|
|
1713
1713
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1716,10 +1716,10 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1716
1716
|
switch (errorCode) {
|
|
1717
1717
|
case "InternalException":
|
|
1718
1718
|
case "com.amazonaws.datasync#InternalException":
|
|
1719
|
-
throw await
|
|
1719
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1720
1720
|
case "InvalidRequestException":
|
|
1721
1721
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1722
|
-
throw await
|
|
1722
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1723
1723
|
default:
|
|
1724
1724
|
const parsedBody = parsedOutput.body;
|
|
1725
1725
|
throwDefaultError({
|
|
@@ -1730,20 +1730,20 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1730
1730
|
});
|
|
1731
1731
|
}
|
|
1732
1732
|
};
|
|
1733
|
-
export const
|
|
1733
|
+
export const de_UpdateAgentCommand = async (output, context) => {
|
|
1734
1734
|
if (output.statusCode >= 300) {
|
|
1735
|
-
return
|
|
1735
|
+
return de_UpdateAgentCommandError(output, context);
|
|
1736
1736
|
}
|
|
1737
1737
|
const data = await parseBody(output.body, context);
|
|
1738
1738
|
let contents = {};
|
|
1739
|
-
contents =
|
|
1739
|
+
contents = de_UpdateAgentResponse(data, context);
|
|
1740
1740
|
const response = {
|
|
1741
1741
|
$metadata: deserializeMetadata(output),
|
|
1742
1742
|
...contents,
|
|
1743
1743
|
};
|
|
1744
1744
|
return Promise.resolve(response);
|
|
1745
1745
|
};
|
|
1746
|
-
const
|
|
1746
|
+
const de_UpdateAgentCommandError = async (output, context) => {
|
|
1747
1747
|
const parsedOutput = {
|
|
1748
1748
|
...output,
|
|
1749
1749
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1752,10 +1752,10 @@ const deserializeAws_json1_1UpdateAgentCommandError = async (output, context) =>
|
|
|
1752
1752
|
switch (errorCode) {
|
|
1753
1753
|
case "InternalException":
|
|
1754
1754
|
case "com.amazonaws.datasync#InternalException":
|
|
1755
|
-
throw await
|
|
1755
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1756
1756
|
case "InvalidRequestException":
|
|
1757
1757
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1758
|
-
throw await
|
|
1758
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1759
1759
|
default:
|
|
1760
1760
|
const parsedBody = parsedOutput.body;
|
|
1761
1761
|
throwDefaultError({
|
|
@@ -1766,20 +1766,20 @@ const deserializeAws_json1_1UpdateAgentCommandError = async (output, context) =>
|
|
|
1766
1766
|
});
|
|
1767
1767
|
}
|
|
1768
1768
|
};
|
|
1769
|
-
export const
|
|
1769
|
+
export const de_UpdateLocationHdfsCommand = async (output, context) => {
|
|
1770
1770
|
if (output.statusCode >= 300) {
|
|
1771
|
-
return
|
|
1771
|
+
return de_UpdateLocationHdfsCommandError(output, context);
|
|
1772
1772
|
}
|
|
1773
1773
|
const data = await parseBody(output.body, context);
|
|
1774
1774
|
let contents = {};
|
|
1775
|
-
contents =
|
|
1775
|
+
contents = de_UpdateLocationHdfsResponse(data, context);
|
|
1776
1776
|
const response = {
|
|
1777
1777
|
$metadata: deserializeMetadata(output),
|
|
1778
1778
|
...contents,
|
|
1779
1779
|
};
|
|
1780
1780
|
return Promise.resolve(response);
|
|
1781
1781
|
};
|
|
1782
|
-
const
|
|
1782
|
+
const de_UpdateLocationHdfsCommandError = async (output, context) => {
|
|
1783
1783
|
const parsedOutput = {
|
|
1784
1784
|
...output,
|
|
1785
1785
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1788,10 +1788,10 @@ const deserializeAws_json1_1UpdateLocationHdfsCommandError = async (output, cont
|
|
|
1788
1788
|
switch (errorCode) {
|
|
1789
1789
|
case "InternalException":
|
|
1790
1790
|
case "com.amazonaws.datasync#InternalException":
|
|
1791
|
-
throw await
|
|
1791
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1792
1792
|
case "InvalidRequestException":
|
|
1793
1793
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1794
|
-
throw await
|
|
1794
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1795
1795
|
default:
|
|
1796
1796
|
const parsedBody = parsedOutput.body;
|
|
1797
1797
|
throwDefaultError({
|
|
@@ -1802,20 +1802,20 @@ const deserializeAws_json1_1UpdateLocationHdfsCommandError = async (output, cont
|
|
|
1802
1802
|
});
|
|
1803
1803
|
}
|
|
1804
1804
|
};
|
|
1805
|
-
export const
|
|
1805
|
+
export const de_UpdateLocationNfsCommand = async (output, context) => {
|
|
1806
1806
|
if (output.statusCode >= 300) {
|
|
1807
|
-
return
|
|
1807
|
+
return de_UpdateLocationNfsCommandError(output, context);
|
|
1808
1808
|
}
|
|
1809
1809
|
const data = await parseBody(output.body, context);
|
|
1810
1810
|
let contents = {};
|
|
1811
|
-
contents =
|
|
1811
|
+
contents = de_UpdateLocationNfsResponse(data, context);
|
|
1812
1812
|
const response = {
|
|
1813
1813
|
$metadata: deserializeMetadata(output),
|
|
1814
1814
|
...contents,
|
|
1815
1815
|
};
|
|
1816
1816
|
return Promise.resolve(response);
|
|
1817
1817
|
};
|
|
1818
|
-
const
|
|
1818
|
+
const de_UpdateLocationNfsCommandError = async (output, context) => {
|
|
1819
1819
|
const parsedOutput = {
|
|
1820
1820
|
...output,
|
|
1821
1821
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1824,10 +1824,10 @@ const deserializeAws_json1_1UpdateLocationNfsCommandError = async (output, conte
|
|
|
1824
1824
|
switch (errorCode) {
|
|
1825
1825
|
case "InternalException":
|
|
1826
1826
|
case "com.amazonaws.datasync#InternalException":
|
|
1827
|
-
throw await
|
|
1827
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1828
1828
|
case "InvalidRequestException":
|
|
1829
1829
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1830
|
-
throw await
|
|
1830
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1831
1831
|
default:
|
|
1832
1832
|
const parsedBody = parsedOutput.body;
|
|
1833
1833
|
throwDefaultError({
|
|
@@ -1838,20 +1838,20 @@ const deserializeAws_json1_1UpdateLocationNfsCommandError = async (output, conte
|
|
|
1838
1838
|
});
|
|
1839
1839
|
}
|
|
1840
1840
|
};
|
|
1841
|
-
export const
|
|
1841
|
+
export const de_UpdateLocationObjectStorageCommand = async (output, context) => {
|
|
1842
1842
|
if (output.statusCode >= 300) {
|
|
1843
|
-
return
|
|
1843
|
+
return de_UpdateLocationObjectStorageCommandError(output, context);
|
|
1844
1844
|
}
|
|
1845
1845
|
const data = await parseBody(output.body, context);
|
|
1846
1846
|
let contents = {};
|
|
1847
|
-
contents =
|
|
1847
|
+
contents = de_UpdateLocationObjectStorageResponse(data, context);
|
|
1848
1848
|
const response = {
|
|
1849
1849
|
$metadata: deserializeMetadata(output),
|
|
1850
1850
|
...contents,
|
|
1851
1851
|
};
|
|
1852
1852
|
return Promise.resolve(response);
|
|
1853
1853
|
};
|
|
1854
|
-
const
|
|
1854
|
+
const de_UpdateLocationObjectStorageCommandError = async (output, context) => {
|
|
1855
1855
|
const parsedOutput = {
|
|
1856
1856
|
...output,
|
|
1857
1857
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1860,10 +1860,10 @@ const deserializeAws_json1_1UpdateLocationObjectStorageCommandError = async (out
|
|
|
1860
1860
|
switch (errorCode) {
|
|
1861
1861
|
case "InternalException":
|
|
1862
1862
|
case "com.amazonaws.datasync#InternalException":
|
|
1863
|
-
throw await
|
|
1863
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1864
1864
|
case "InvalidRequestException":
|
|
1865
1865
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1866
|
-
throw await
|
|
1866
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1867
1867
|
default:
|
|
1868
1868
|
const parsedBody = parsedOutput.body;
|
|
1869
1869
|
throwDefaultError({
|
|
@@ -1874,20 +1874,20 @@ const deserializeAws_json1_1UpdateLocationObjectStorageCommandError = async (out
|
|
|
1874
1874
|
});
|
|
1875
1875
|
}
|
|
1876
1876
|
};
|
|
1877
|
-
export const
|
|
1877
|
+
export const de_UpdateLocationSmbCommand = async (output, context) => {
|
|
1878
1878
|
if (output.statusCode >= 300) {
|
|
1879
|
-
return
|
|
1879
|
+
return de_UpdateLocationSmbCommandError(output, context);
|
|
1880
1880
|
}
|
|
1881
1881
|
const data = await parseBody(output.body, context);
|
|
1882
1882
|
let contents = {};
|
|
1883
|
-
contents =
|
|
1883
|
+
contents = de_UpdateLocationSmbResponse(data, context);
|
|
1884
1884
|
const response = {
|
|
1885
1885
|
$metadata: deserializeMetadata(output),
|
|
1886
1886
|
...contents,
|
|
1887
1887
|
};
|
|
1888
1888
|
return Promise.resolve(response);
|
|
1889
1889
|
};
|
|
1890
|
-
const
|
|
1890
|
+
const de_UpdateLocationSmbCommandError = async (output, context) => {
|
|
1891
1891
|
const parsedOutput = {
|
|
1892
1892
|
...output,
|
|
1893
1893
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1896,10 +1896,10 @@ const deserializeAws_json1_1UpdateLocationSmbCommandError = async (output, conte
|
|
|
1896
1896
|
switch (errorCode) {
|
|
1897
1897
|
case "InternalException":
|
|
1898
1898
|
case "com.amazonaws.datasync#InternalException":
|
|
1899
|
-
throw await
|
|
1899
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1900
1900
|
case "InvalidRequestException":
|
|
1901
1901
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1902
|
-
throw await
|
|
1902
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1903
1903
|
default:
|
|
1904
1904
|
const parsedBody = parsedOutput.body;
|
|
1905
1905
|
throwDefaultError({
|
|
@@ -1910,20 +1910,20 @@ const deserializeAws_json1_1UpdateLocationSmbCommandError = async (output, conte
|
|
|
1910
1910
|
});
|
|
1911
1911
|
}
|
|
1912
1912
|
};
|
|
1913
|
-
export const
|
|
1913
|
+
export const de_UpdateTaskCommand = async (output, context) => {
|
|
1914
1914
|
if (output.statusCode >= 300) {
|
|
1915
|
-
return
|
|
1915
|
+
return de_UpdateTaskCommandError(output, context);
|
|
1916
1916
|
}
|
|
1917
1917
|
const data = await parseBody(output.body, context);
|
|
1918
1918
|
let contents = {};
|
|
1919
|
-
contents =
|
|
1919
|
+
contents = de_UpdateTaskResponse(data, context);
|
|
1920
1920
|
const response = {
|
|
1921
1921
|
$metadata: deserializeMetadata(output),
|
|
1922
1922
|
...contents,
|
|
1923
1923
|
};
|
|
1924
1924
|
return Promise.resolve(response);
|
|
1925
1925
|
};
|
|
1926
|
-
const
|
|
1926
|
+
const de_UpdateTaskCommandError = async (output, context) => {
|
|
1927
1927
|
const parsedOutput = {
|
|
1928
1928
|
...output,
|
|
1929
1929
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1932,10 +1932,10 @@ const deserializeAws_json1_1UpdateTaskCommandError = async (output, context) =>
|
|
|
1932
1932
|
switch (errorCode) {
|
|
1933
1933
|
case "InternalException":
|
|
1934
1934
|
case "com.amazonaws.datasync#InternalException":
|
|
1935
|
-
throw await
|
|
1935
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1936
1936
|
case "InvalidRequestException":
|
|
1937
1937
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1938
|
-
throw await
|
|
1938
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1939
1939
|
default:
|
|
1940
1940
|
const parsedBody = parsedOutput.body;
|
|
1941
1941
|
throwDefaultError({
|
|
@@ -1946,20 +1946,20 @@ const deserializeAws_json1_1UpdateTaskCommandError = async (output, context) =>
|
|
|
1946
1946
|
});
|
|
1947
1947
|
}
|
|
1948
1948
|
};
|
|
1949
|
-
export const
|
|
1949
|
+
export const de_UpdateTaskExecutionCommand = async (output, context) => {
|
|
1950
1950
|
if (output.statusCode >= 300) {
|
|
1951
|
-
return
|
|
1951
|
+
return de_UpdateTaskExecutionCommandError(output, context);
|
|
1952
1952
|
}
|
|
1953
1953
|
const data = await parseBody(output.body, context);
|
|
1954
1954
|
let contents = {};
|
|
1955
|
-
contents =
|
|
1955
|
+
contents = de_UpdateTaskExecutionResponse(data, context);
|
|
1956
1956
|
const response = {
|
|
1957
1957
|
$metadata: deserializeMetadata(output),
|
|
1958
1958
|
...contents,
|
|
1959
1959
|
};
|
|
1960
1960
|
return Promise.resolve(response);
|
|
1961
1961
|
};
|
|
1962
|
-
const
|
|
1962
|
+
const de_UpdateTaskExecutionCommandError = async (output, context) => {
|
|
1963
1963
|
const parsedOutput = {
|
|
1964
1964
|
...output,
|
|
1965
1965
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1968,10 +1968,10 @@ const deserializeAws_json1_1UpdateTaskExecutionCommandError = async (output, con
|
|
|
1968
1968
|
switch (errorCode) {
|
|
1969
1969
|
case "InternalException":
|
|
1970
1970
|
case "com.amazonaws.datasync#InternalException":
|
|
1971
|
-
throw await
|
|
1971
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1972
1972
|
case "InvalidRequestException":
|
|
1973
1973
|
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1974
|
-
throw await
|
|
1974
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1975
1975
|
default:
|
|
1976
1976
|
const parsedBody = parsedOutput.body;
|
|
1977
1977
|
throwDefaultError({
|
|
@@ -1982,138 +1982,134 @@ const deserializeAws_json1_1UpdateTaskExecutionCommandError = async (output, con
|
|
|
1982
1982
|
});
|
|
1983
1983
|
}
|
|
1984
1984
|
};
|
|
1985
|
-
const
|
|
1985
|
+
const de_InternalExceptionRes = async (parsedOutput, context) => {
|
|
1986
1986
|
const body = parsedOutput.body;
|
|
1987
|
-
const deserialized =
|
|
1987
|
+
const deserialized = de_InternalException(body, context);
|
|
1988
1988
|
const exception = new InternalException({
|
|
1989
1989
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1990
1990
|
...deserialized,
|
|
1991
1991
|
});
|
|
1992
1992
|
return __decorateServiceException(exception, body);
|
|
1993
1993
|
};
|
|
1994
|
-
const
|
|
1994
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1995
1995
|
const body = parsedOutput.body;
|
|
1996
|
-
const deserialized =
|
|
1996
|
+
const deserialized = de_InvalidRequestException(body, context);
|
|
1997
1997
|
const exception = new InvalidRequestException({
|
|
1998
1998
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1999
1999
|
...deserialized,
|
|
2000
2000
|
});
|
|
2001
2001
|
return __decorateServiceException(exception, body);
|
|
2002
2002
|
};
|
|
2003
|
-
const
|
|
2003
|
+
const se_AgentArnList = (input, context) => {
|
|
2004
2004
|
return input
|
|
2005
2005
|
.filter((e) => e != null)
|
|
2006
2006
|
.map((entry) => {
|
|
2007
2007
|
return entry;
|
|
2008
2008
|
});
|
|
2009
2009
|
};
|
|
2010
|
-
const
|
|
2010
|
+
const se_CancelTaskExecutionRequest = (input, context) => {
|
|
2011
2011
|
return {
|
|
2012
2012
|
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2013
2013
|
};
|
|
2014
2014
|
};
|
|
2015
|
-
const
|
|
2015
|
+
const se_CreateAgentRequest = (input, context) => {
|
|
2016
2016
|
return {
|
|
2017
2017
|
...(input.ActivationKey != null && { ActivationKey: input.ActivationKey }),
|
|
2018
2018
|
...(input.AgentName != null && { AgentName: input.AgentName }),
|
|
2019
2019
|
...(input.SecurityGroupArns != null && {
|
|
2020
|
-
SecurityGroupArns:
|
|
2020
|
+
SecurityGroupArns: se_PLSecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2021
2021
|
}),
|
|
2022
|
-
...(input.SubnetArns != null && { SubnetArns:
|
|
2023
|
-
...(input.Tags != null && { Tags:
|
|
2022
|
+
...(input.SubnetArns != null && { SubnetArns: se_PLSubnetArnList(input.SubnetArns, context) }),
|
|
2023
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2024
2024
|
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
2025
2025
|
};
|
|
2026
2026
|
};
|
|
2027
|
-
const
|
|
2027
|
+
const se_CreateLocationEfsRequest = (input, context) => {
|
|
2028
2028
|
return {
|
|
2029
2029
|
...(input.AccessPointArn != null && { AccessPointArn: input.AccessPointArn }),
|
|
2030
|
-
...(input.Ec2Config != null && { Ec2Config:
|
|
2030
|
+
...(input.Ec2Config != null && { Ec2Config: se_Ec2Config(input.Ec2Config, context) }),
|
|
2031
2031
|
...(input.EfsFilesystemArn != null && { EfsFilesystemArn: input.EfsFilesystemArn }),
|
|
2032
2032
|
...(input.FileSystemAccessRoleArn != null && { FileSystemAccessRoleArn: input.FileSystemAccessRoleArn }),
|
|
2033
2033
|
...(input.InTransitEncryption != null && { InTransitEncryption: input.InTransitEncryption }),
|
|
2034
2034
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2035
|
-
...(input.Tags != null && { Tags:
|
|
2035
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2036
2036
|
};
|
|
2037
2037
|
};
|
|
2038
|
-
const
|
|
2038
|
+
const se_CreateLocationFsxLustreRequest = (input, context) => {
|
|
2039
2039
|
return {
|
|
2040
2040
|
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
2041
2041
|
...(input.SecurityGroupArns != null && {
|
|
2042
|
-
SecurityGroupArns:
|
|
2042
|
+
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2043
2043
|
}),
|
|
2044
2044
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2045
|
-
...(input.Tags != null && { Tags:
|
|
2045
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2046
2046
|
};
|
|
2047
2047
|
};
|
|
2048
|
-
const
|
|
2048
|
+
const se_CreateLocationFsxOntapRequest = (input, context) => {
|
|
2049
2049
|
return {
|
|
2050
|
-
...(input.Protocol != null && { Protocol:
|
|
2050
|
+
...(input.Protocol != null && { Protocol: se_FsxProtocol(input.Protocol, context) }),
|
|
2051
2051
|
...(input.SecurityGroupArns != null && {
|
|
2052
|
-
SecurityGroupArns:
|
|
2052
|
+
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2053
2053
|
}),
|
|
2054
2054
|
...(input.StorageVirtualMachineArn != null && { StorageVirtualMachineArn: input.StorageVirtualMachineArn }),
|
|
2055
2055
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2056
|
-
...(input.Tags != null && { Tags:
|
|
2056
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2057
2057
|
};
|
|
2058
2058
|
};
|
|
2059
|
-
const
|
|
2059
|
+
const se_CreateLocationFsxOpenZfsRequest = (input, context) => {
|
|
2060
2060
|
return {
|
|
2061
2061
|
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
2062
|
-
...(input.Protocol != null && { Protocol:
|
|
2062
|
+
...(input.Protocol != null && { Protocol: se_FsxProtocol(input.Protocol, context) }),
|
|
2063
2063
|
...(input.SecurityGroupArns != null && {
|
|
2064
|
-
SecurityGroupArns:
|
|
2064
|
+
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2065
2065
|
}),
|
|
2066
2066
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2067
|
-
...(input.Tags != null && { Tags:
|
|
2067
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2068
2068
|
};
|
|
2069
2069
|
};
|
|
2070
|
-
const
|
|
2070
|
+
const se_CreateLocationFsxWindowsRequest = (input, context) => {
|
|
2071
2071
|
return {
|
|
2072
2072
|
...(input.Domain != null && { Domain: input.Domain }),
|
|
2073
2073
|
...(input.FsxFilesystemArn != null && { FsxFilesystemArn: input.FsxFilesystemArn }),
|
|
2074
2074
|
...(input.Password != null && { Password: input.Password }),
|
|
2075
2075
|
...(input.SecurityGroupArns != null && {
|
|
2076
|
-
SecurityGroupArns:
|
|
2076
|
+
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2077
2077
|
}),
|
|
2078
2078
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2079
|
-
...(input.Tags != null && { Tags:
|
|
2079
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2080
2080
|
...(input.User != null && { User: input.User }),
|
|
2081
2081
|
};
|
|
2082
2082
|
};
|
|
2083
|
-
const
|
|
2083
|
+
const se_CreateLocationHdfsRequest = (input, context) => {
|
|
2084
2084
|
return {
|
|
2085
|
-
...(input.AgentArns != null && { AgentArns:
|
|
2085
|
+
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2086
2086
|
...(input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType }),
|
|
2087
2087
|
...(input.BlockSize != null && { BlockSize: input.BlockSize }),
|
|
2088
2088
|
...(input.KerberosKeytab != null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) }),
|
|
2089
2089
|
...(input.KerberosKrb5Conf != null && { KerberosKrb5Conf: context.base64Encoder(input.KerberosKrb5Conf) }),
|
|
2090
2090
|
...(input.KerberosPrincipal != null && { KerberosPrincipal: input.KerberosPrincipal }),
|
|
2091
2091
|
...(input.KmsKeyProviderUri != null && { KmsKeyProviderUri: input.KmsKeyProviderUri }),
|
|
2092
|
-
...(input.NameNodes != null && { NameNodes:
|
|
2093
|
-
...(input.QopConfiguration != null && {
|
|
2094
|
-
QopConfiguration: serializeAws_json1_1QopConfiguration(input.QopConfiguration, context),
|
|
2095
|
-
}),
|
|
2092
|
+
...(input.NameNodes != null && { NameNodes: se_HdfsNameNodeList(input.NameNodes, context) }),
|
|
2093
|
+
...(input.QopConfiguration != null && { QopConfiguration: se_QopConfiguration(input.QopConfiguration, context) }),
|
|
2096
2094
|
...(input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor }),
|
|
2097
2095
|
...(input.SimpleUser != null && { SimpleUser: input.SimpleUser }),
|
|
2098
2096
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2099
|
-
...(input.Tags != null && { Tags:
|
|
2097
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2100
2098
|
};
|
|
2101
2099
|
};
|
|
2102
|
-
const
|
|
2100
|
+
const se_CreateLocationNfsRequest = (input, context) => {
|
|
2103
2101
|
return {
|
|
2104
|
-
...(input.MountOptions != null && {
|
|
2105
|
-
|
|
2106
|
-
}),
|
|
2107
|
-
...(input.OnPremConfig != null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) }),
|
|
2102
|
+
...(input.MountOptions != null && { MountOptions: se_NfsMountOptions(input.MountOptions, context) }),
|
|
2103
|
+
...(input.OnPremConfig != null && { OnPremConfig: se_OnPremConfig(input.OnPremConfig, context) }),
|
|
2108
2104
|
...(input.ServerHostname != null && { ServerHostname: input.ServerHostname }),
|
|
2109
2105
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2110
|
-
...(input.Tags != null && { Tags:
|
|
2106
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2111
2107
|
};
|
|
2112
2108
|
};
|
|
2113
|
-
const
|
|
2109
|
+
const se_CreateLocationObjectStorageRequest = (input, context) => {
|
|
2114
2110
|
return {
|
|
2115
2111
|
...(input.AccessKey != null && { AccessKey: input.AccessKey }),
|
|
2116
|
-
...(input.AgentArns != null && { AgentArns:
|
|
2112
|
+
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2117
2113
|
...(input.BucketName != null && { BucketName: input.BucketName }),
|
|
2118
2114
|
...(input.SecretKey != null && { SecretKey: input.SecretKey }),
|
|
2119
2115
|
...(input.ServerCertificate != null && { ServerCertificate: context.base64Encoder(input.ServerCertificate) }),
|
|
@@ -2121,263 +2117,257 @@ const serializeAws_json1_1CreateLocationObjectStorageRequest = (input, context)
|
|
|
2121
2117
|
...(input.ServerPort != null && { ServerPort: input.ServerPort }),
|
|
2122
2118
|
...(input.ServerProtocol != null && { ServerProtocol: input.ServerProtocol }),
|
|
2123
2119
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2124
|
-
...(input.Tags != null && { Tags:
|
|
2120
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2125
2121
|
};
|
|
2126
2122
|
};
|
|
2127
|
-
const
|
|
2123
|
+
const se_CreateLocationS3Request = (input, context) => {
|
|
2128
2124
|
return {
|
|
2129
|
-
...(input.AgentArns != null && { AgentArns:
|
|
2125
|
+
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2130
2126
|
...(input.S3BucketArn != null && { S3BucketArn: input.S3BucketArn }),
|
|
2131
|
-
...(input.S3Config != null && { S3Config:
|
|
2127
|
+
...(input.S3Config != null && { S3Config: se_S3Config(input.S3Config, context) }),
|
|
2132
2128
|
...(input.S3StorageClass != null && { S3StorageClass: input.S3StorageClass }),
|
|
2133
2129
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2134
|
-
...(input.Tags != null && { Tags:
|
|
2130
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2135
2131
|
};
|
|
2136
2132
|
};
|
|
2137
|
-
const
|
|
2133
|
+
const se_CreateLocationSmbRequest = (input, context) => {
|
|
2138
2134
|
return {
|
|
2139
|
-
...(input.AgentArns != null && { AgentArns:
|
|
2135
|
+
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2140
2136
|
...(input.Domain != null && { Domain: input.Domain }),
|
|
2141
|
-
...(input.MountOptions != null && {
|
|
2142
|
-
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
2143
|
-
}),
|
|
2137
|
+
...(input.MountOptions != null && { MountOptions: se_SmbMountOptions(input.MountOptions, context) }),
|
|
2144
2138
|
...(input.Password != null && { Password: input.Password }),
|
|
2145
2139
|
...(input.ServerHostname != null && { ServerHostname: input.ServerHostname }),
|
|
2146
2140
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2147
|
-
...(input.Tags != null && { Tags:
|
|
2141
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2148
2142
|
...(input.User != null && { User: input.User }),
|
|
2149
2143
|
};
|
|
2150
2144
|
};
|
|
2151
|
-
const
|
|
2145
|
+
const se_CreateTaskRequest = (input, context) => {
|
|
2152
2146
|
return {
|
|
2153
2147
|
...(input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn }),
|
|
2154
2148
|
...(input.DestinationLocationArn != null && { DestinationLocationArn: input.DestinationLocationArn }),
|
|
2155
|
-
...(input.Excludes != null && { Excludes:
|
|
2156
|
-
...(input.Includes != null && { Includes:
|
|
2149
|
+
...(input.Excludes != null && { Excludes: se_FilterList(input.Excludes, context) }),
|
|
2150
|
+
...(input.Includes != null && { Includes: se_FilterList(input.Includes, context) }),
|
|
2157
2151
|
...(input.Name != null && { Name: input.Name }),
|
|
2158
|
-
...(input.Options != null && { Options:
|
|
2159
|
-
...(input.Schedule != null && { Schedule:
|
|
2152
|
+
...(input.Options != null && { Options: se_Options(input.Options, context) }),
|
|
2153
|
+
...(input.Schedule != null && { Schedule: se_TaskSchedule(input.Schedule, context) }),
|
|
2160
2154
|
...(input.SourceLocationArn != null && { SourceLocationArn: input.SourceLocationArn }),
|
|
2161
|
-
...(input.Tags != null && { Tags:
|
|
2155
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2162
2156
|
};
|
|
2163
2157
|
};
|
|
2164
|
-
const
|
|
2158
|
+
const se_DeleteAgentRequest = (input, context) => {
|
|
2165
2159
|
return {
|
|
2166
2160
|
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2167
2161
|
};
|
|
2168
2162
|
};
|
|
2169
|
-
const
|
|
2163
|
+
const se_DeleteLocationRequest = (input, context) => {
|
|
2170
2164
|
return {
|
|
2171
2165
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2172
2166
|
};
|
|
2173
2167
|
};
|
|
2174
|
-
const
|
|
2168
|
+
const se_DeleteTaskRequest = (input, context) => {
|
|
2175
2169
|
return {
|
|
2176
2170
|
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2177
2171
|
};
|
|
2178
2172
|
};
|
|
2179
|
-
const
|
|
2173
|
+
const se_DescribeAgentRequest = (input, context) => {
|
|
2180
2174
|
return {
|
|
2181
2175
|
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2182
2176
|
};
|
|
2183
2177
|
};
|
|
2184
|
-
const
|
|
2178
|
+
const se_DescribeLocationEfsRequest = (input, context) => {
|
|
2185
2179
|
return {
|
|
2186
2180
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2187
2181
|
};
|
|
2188
2182
|
};
|
|
2189
|
-
const
|
|
2183
|
+
const se_DescribeLocationFsxLustreRequest = (input, context) => {
|
|
2190
2184
|
return {
|
|
2191
2185
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2192
2186
|
};
|
|
2193
2187
|
};
|
|
2194
|
-
const
|
|
2188
|
+
const se_DescribeLocationFsxOntapRequest = (input, context) => {
|
|
2195
2189
|
return {
|
|
2196
2190
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2197
2191
|
};
|
|
2198
2192
|
};
|
|
2199
|
-
const
|
|
2193
|
+
const se_DescribeLocationFsxOpenZfsRequest = (input, context) => {
|
|
2200
2194
|
return {
|
|
2201
2195
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2202
2196
|
};
|
|
2203
2197
|
};
|
|
2204
|
-
const
|
|
2198
|
+
const se_DescribeLocationFsxWindowsRequest = (input, context) => {
|
|
2205
2199
|
return {
|
|
2206
2200
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2207
2201
|
};
|
|
2208
2202
|
};
|
|
2209
|
-
const
|
|
2203
|
+
const se_DescribeLocationHdfsRequest = (input, context) => {
|
|
2210
2204
|
return {
|
|
2211
2205
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2212
2206
|
};
|
|
2213
2207
|
};
|
|
2214
|
-
const
|
|
2208
|
+
const se_DescribeLocationNfsRequest = (input, context) => {
|
|
2215
2209
|
return {
|
|
2216
2210
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2217
2211
|
};
|
|
2218
2212
|
};
|
|
2219
|
-
const
|
|
2213
|
+
const se_DescribeLocationObjectStorageRequest = (input, context) => {
|
|
2220
2214
|
return {
|
|
2221
2215
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2222
2216
|
};
|
|
2223
2217
|
};
|
|
2224
|
-
const
|
|
2218
|
+
const se_DescribeLocationS3Request = (input, context) => {
|
|
2225
2219
|
return {
|
|
2226
2220
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2227
2221
|
};
|
|
2228
2222
|
};
|
|
2229
|
-
const
|
|
2223
|
+
const se_DescribeLocationSmbRequest = (input, context) => {
|
|
2230
2224
|
return {
|
|
2231
2225
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2232
2226
|
};
|
|
2233
2227
|
};
|
|
2234
|
-
const
|
|
2228
|
+
const se_DescribeTaskExecutionRequest = (input, context) => {
|
|
2235
2229
|
return {
|
|
2236
2230
|
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2237
2231
|
};
|
|
2238
2232
|
};
|
|
2239
|
-
const
|
|
2233
|
+
const se_DescribeTaskRequest = (input, context) => {
|
|
2240
2234
|
return {
|
|
2241
2235
|
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2242
2236
|
};
|
|
2243
2237
|
};
|
|
2244
|
-
const
|
|
2238
|
+
const se_Ec2Config = (input, context) => {
|
|
2245
2239
|
return {
|
|
2246
2240
|
...(input.SecurityGroupArns != null && {
|
|
2247
|
-
SecurityGroupArns:
|
|
2241
|
+
SecurityGroupArns: se_Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
2248
2242
|
}),
|
|
2249
2243
|
...(input.SubnetArn != null && { SubnetArn: input.SubnetArn }),
|
|
2250
2244
|
};
|
|
2251
2245
|
};
|
|
2252
|
-
const
|
|
2246
|
+
const se_Ec2SecurityGroupArnList = (input, context) => {
|
|
2253
2247
|
return input
|
|
2254
2248
|
.filter((e) => e != null)
|
|
2255
2249
|
.map((entry) => {
|
|
2256
2250
|
return entry;
|
|
2257
2251
|
});
|
|
2258
2252
|
};
|
|
2259
|
-
const
|
|
2253
|
+
const se_FilterList = (input, context) => {
|
|
2260
2254
|
return input
|
|
2261
2255
|
.filter((e) => e != null)
|
|
2262
2256
|
.map((entry) => {
|
|
2263
|
-
return
|
|
2257
|
+
return se_FilterRule(entry, context);
|
|
2264
2258
|
});
|
|
2265
2259
|
};
|
|
2266
|
-
const
|
|
2260
|
+
const se_FilterRule = (input, context) => {
|
|
2267
2261
|
return {
|
|
2268
2262
|
...(input.FilterType != null && { FilterType: input.FilterType }),
|
|
2269
2263
|
...(input.Value != null && { Value: input.Value }),
|
|
2270
2264
|
};
|
|
2271
2265
|
};
|
|
2272
|
-
const
|
|
2266
|
+
const se_FilterValues = (input, context) => {
|
|
2273
2267
|
return input
|
|
2274
2268
|
.filter((e) => e != null)
|
|
2275
2269
|
.map((entry) => {
|
|
2276
2270
|
return entry;
|
|
2277
2271
|
});
|
|
2278
2272
|
};
|
|
2279
|
-
const
|
|
2273
|
+
const se_FsxProtocol = (input, context) => {
|
|
2280
2274
|
return {
|
|
2281
|
-
...(input.NFS != null && { NFS:
|
|
2282
|
-
...(input.SMB != null && { SMB:
|
|
2275
|
+
...(input.NFS != null && { NFS: se_FsxProtocolNfs(input.NFS, context) }),
|
|
2276
|
+
...(input.SMB != null && { SMB: se_FsxProtocolSmb(input.SMB, context) }),
|
|
2283
2277
|
};
|
|
2284
2278
|
};
|
|
2285
|
-
const
|
|
2279
|
+
const se_FsxProtocolNfs = (input, context) => {
|
|
2286
2280
|
return {
|
|
2287
|
-
...(input.MountOptions != null && {
|
|
2288
|
-
MountOptions: serializeAws_json1_1NfsMountOptions(input.MountOptions, context),
|
|
2289
|
-
}),
|
|
2281
|
+
...(input.MountOptions != null && { MountOptions: se_NfsMountOptions(input.MountOptions, context) }),
|
|
2290
2282
|
};
|
|
2291
2283
|
};
|
|
2292
|
-
const
|
|
2284
|
+
const se_FsxProtocolSmb = (input, context) => {
|
|
2293
2285
|
return {
|
|
2294
2286
|
...(input.Domain != null && { Domain: input.Domain }),
|
|
2295
|
-
...(input.MountOptions != null && {
|
|
2296
|
-
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
2297
|
-
}),
|
|
2287
|
+
...(input.MountOptions != null && { MountOptions: se_SmbMountOptions(input.MountOptions, context) }),
|
|
2298
2288
|
...(input.Password != null && { Password: input.Password }),
|
|
2299
2289
|
...(input.User != null && { User: input.User }),
|
|
2300
2290
|
};
|
|
2301
2291
|
};
|
|
2302
|
-
const
|
|
2292
|
+
const se_HdfsNameNode = (input, context) => {
|
|
2303
2293
|
return {
|
|
2304
2294
|
...(input.Hostname != null && { Hostname: input.Hostname }),
|
|
2305
2295
|
...(input.Port != null && { Port: input.Port }),
|
|
2306
2296
|
};
|
|
2307
2297
|
};
|
|
2308
|
-
const
|
|
2298
|
+
const se_HdfsNameNodeList = (input, context) => {
|
|
2309
2299
|
return input
|
|
2310
2300
|
.filter((e) => e != null)
|
|
2311
2301
|
.map((entry) => {
|
|
2312
|
-
return
|
|
2302
|
+
return se_HdfsNameNode(entry, context);
|
|
2313
2303
|
});
|
|
2314
2304
|
};
|
|
2315
|
-
const
|
|
2305
|
+
const se_InputTagList = (input, context) => {
|
|
2316
2306
|
return input
|
|
2317
2307
|
.filter((e) => e != null)
|
|
2318
2308
|
.map((entry) => {
|
|
2319
|
-
return
|
|
2309
|
+
return se_TagListEntry(entry, context);
|
|
2320
2310
|
});
|
|
2321
2311
|
};
|
|
2322
|
-
const
|
|
2312
|
+
const se_ListAgentsRequest = (input, context) => {
|
|
2323
2313
|
return {
|
|
2324
2314
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2325
2315
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2326
2316
|
};
|
|
2327
2317
|
};
|
|
2328
|
-
const
|
|
2318
|
+
const se_ListLocationsRequest = (input, context) => {
|
|
2329
2319
|
return {
|
|
2330
|
-
...(input.Filters != null && { Filters:
|
|
2320
|
+
...(input.Filters != null && { Filters: se_LocationFilters(input.Filters, context) }),
|
|
2331
2321
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2332
2322
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2333
2323
|
};
|
|
2334
2324
|
};
|
|
2335
|
-
const
|
|
2325
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2336
2326
|
return {
|
|
2337
2327
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2338
2328
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2339
2329
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2340
2330
|
};
|
|
2341
2331
|
};
|
|
2342
|
-
const
|
|
2332
|
+
const se_ListTaskExecutionsRequest = (input, context) => {
|
|
2343
2333
|
return {
|
|
2344
2334
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2345
2335
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2346
2336
|
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2347
2337
|
};
|
|
2348
2338
|
};
|
|
2349
|
-
const
|
|
2339
|
+
const se_ListTasksRequest = (input, context) => {
|
|
2350
2340
|
return {
|
|
2351
|
-
...(input.Filters != null && { Filters:
|
|
2341
|
+
...(input.Filters != null && { Filters: se_TaskFilters(input.Filters, context) }),
|
|
2352
2342
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2353
2343
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2354
2344
|
};
|
|
2355
2345
|
};
|
|
2356
|
-
const
|
|
2346
|
+
const se_LocationFilter = (input, context) => {
|
|
2357
2347
|
return {
|
|
2358
2348
|
...(input.Name != null && { Name: input.Name }),
|
|
2359
2349
|
...(input.Operator != null && { Operator: input.Operator }),
|
|
2360
|
-
...(input.Values != null && { Values:
|
|
2350
|
+
...(input.Values != null && { Values: se_FilterValues(input.Values, context) }),
|
|
2361
2351
|
};
|
|
2362
2352
|
};
|
|
2363
|
-
const
|
|
2353
|
+
const se_LocationFilters = (input, context) => {
|
|
2364
2354
|
return input
|
|
2365
2355
|
.filter((e) => e != null)
|
|
2366
2356
|
.map((entry) => {
|
|
2367
|
-
return
|
|
2357
|
+
return se_LocationFilter(entry, context);
|
|
2368
2358
|
});
|
|
2369
2359
|
};
|
|
2370
|
-
const
|
|
2360
|
+
const se_NfsMountOptions = (input, context) => {
|
|
2371
2361
|
return {
|
|
2372
2362
|
...(input.Version != null && { Version: input.Version }),
|
|
2373
2363
|
};
|
|
2374
2364
|
};
|
|
2375
|
-
const
|
|
2365
|
+
const se_OnPremConfig = (input, context) => {
|
|
2376
2366
|
return {
|
|
2377
|
-
...(input.AgentArns != null && { AgentArns:
|
|
2367
|
+
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2378
2368
|
};
|
|
2379
2369
|
};
|
|
2380
|
-
const
|
|
2370
|
+
const se_Options = (input, context) => {
|
|
2381
2371
|
return {
|
|
2382
2372
|
...(input.Atime != null && { Atime: input.Atime }),
|
|
2383
2373
|
...(input.BytesPerSecond != null && { BytesPerSecond: input.BytesPerSecond }),
|
|
@@ -2398,100 +2388,98 @@ const serializeAws_json1_1Options = (input, context) => {
|
|
|
2398
2388
|
...(input.VerifyMode != null && { VerifyMode: input.VerifyMode }),
|
|
2399
2389
|
};
|
|
2400
2390
|
};
|
|
2401
|
-
const
|
|
2391
|
+
const se_PLSecurityGroupArnList = (input, context) => {
|
|
2402
2392
|
return input
|
|
2403
2393
|
.filter((e) => e != null)
|
|
2404
2394
|
.map((entry) => {
|
|
2405
2395
|
return entry;
|
|
2406
2396
|
});
|
|
2407
2397
|
};
|
|
2408
|
-
const
|
|
2398
|
+
const se_PLSubnetArnList = (input, context) => {
|
|
2409
2399
|
return input
|
|
2410
2400
|
.filter((e) => e != null)
|
|
2411
2401
|
.map((entry) => {
|
|
2412
2402
|
return entry;
|
|
2413
2403
|
});
|
|
2414
2404
|
};
|
|
2415
|
-
const
|
|
2405
|
+
const se_QopConfiguration = (input, context) => {
|
|
2416
2406
|
return {
|
|
2417
2407
|
...(input.DataTransferProtection != null && { DataTransferProtection: input.DataTransferProtection }),
|
|
2418
2408
|
...(input.RpcProtection != null && { RpcProtection: input.RpcProtection }),
|
|
2419
2409
|
};
|
|
2420
2410
|
};
|
|
2421
|
-
const
|
|
2411
|
+
const se_S3Config = (input, context) => {
|
|
2422
2412
|
return {
|
|
2423
2413
|
...(input.BucketAccessRoleArn != null && { BucketAccessRoleArn: input.BucketAccessRoleArn }),
|
|
2424
2414
|
};
|
|
2425
2415
|
};
|
|
2426
|
-
const
|
|
2416
|
+
const se_SmbMountOptions = (input, context) => {
|
|
2427
2417
|
return {
|
|
2428
2418
|
...(input.Version != null && { Version: input.Version }),
|
|
2429
2419
|
};
|
|
2430
2420
|
};
|
|
2431
|
-
const
|
|
2421
|
+
const se_StartTaskExecutionRequest = (input, context) => {
|
|
2432
2422
|
return {
|
|
2433
|
-
...(input.Excludes != null && { Excludes:
|
|
2434
|
-
...(input.Includes != null && { Includes:
|
|
2435
|
-
...(input.OverrideOptions != null && {
|
|
2436
|
-
|
|
2437
|
-
}),
|
|
2438
|
-
...(input.Tags != null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }),
|
|
2423
|
+
...(input.Excludes != null && { Excludes: se_FilterList(input.Excludes, context) }),
|
|
2424
|
+
...(input.Includes != null && { Includes: se_FilterList(input.Includes, context) }),
|
|
2425
|
+
...(input.OverrideOptions != null && { OverrideOptions: se_Options(input.OverrideOptions, context) }),
|
|
2426
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2439
2427
|
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2440
2428
|
};
|
|
2441
2429
|
};
|
|
2442
|
-
const
|
|
2430
|
+
const se_TagKeyList = (input, context) => {
|
|
2443
2431
|
return input
|
|
2444
2432
|
.filter((e) => e != null)
|
|
2445
2433
|
.map((entry) => {
|
|
2446
2434
|
return entry;
|
|
2447
2435
|
});
|
|
2448
2436
|
};
|
|
2449
|
-
const
|
|
2437
|
+
const se_TagListEntry = (input, context) => {
|
|
2450
2438
|
return {
|
|
2451
2439
|
...(input.Key != null && { Key: input.Key }),
|
|
2452
2440
|
...(input.Value != null && { Value: input.Value }),
|
|
2453
2441
|
};
|
|
2454
2442
|
};
|
|
2455
|
-
const
|
|
2443
|
+
const se_TagResourceRequest = (input, context) => {
|
|
2456
2444
|
return {
|
|
2457
2445
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2458
|
-
...(input.Tags != null && { Tags:
|
|
2446
|
+
...(input.Tags != null && { Tags: se_InputTagList(input.Tags, context) }),
|
|
2459
2447
|
};
|
|
2460
2448
|
};
|
|
2461
|
-
const
|
|
2449
|
+
const se_TaskFilter = (input, context) => {
|
|
2462
2450
|
return {
|
|
2463
2451
|
...(input.Name != null && { Name: input.Name }),
|
|
2464
2452
|
...(input.Operator != null && { Operator: input.Operator }),
|
|
2465
|
-
...(input.Values != null && { Values:
|
|
2453
|
+
...(input.Values != null && { Values: se_FilterValues(input.Values, context) }),
|
|
2466
2454
|
};
|
|
2467
2455
|
};
|
|
2468
|
-
const
|
|
2456
|
+
const se_TaskFilters = (input, context) => {
|
|
2469
2457
|
return input
|
|
2470
2458
|
.filter((e) => e != null)
|
|
2471
2459
|
.map((entry) => {
|
|
2472
|
-
return
|
|
2460
|
+
return se_TaskFilter(entry, context);
|
|
2473
2461
|
});
|
|
2474
2462
|
};
|
|
2475
|
-
const
|
|
2463
|
+
const se_TaskSchedule = (input, context) => {
|
|
2476
2464
|
return {
|
|
2477
2465
|
...(input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }),
|
|
2478
2466
|
};
|
|
2479
2467
|
};
|
|
2480
|
-
const
|
|
2468
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
2481
2469
|
return {
|
|
2482
|
-
...(input.Keys != null && { Keys:
|
|
2470
|
+
...(input.Keys != null && { Keys: se_TagKeyList(input.Keys, context) }),
|
|
2483
2471
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2484
2472
|
};
|
|
2485
2473
|
};
|
|
2486
|
-
const
|
|
2474
|
+
const se_UpdateAgentRequest = (input, context) => {
|
|
2487
2475
|
return {
|
|
2488
2476
|
...(input.AgentArn != null && { AgentArn: input.AgentArn }),
|
|
2489
2477
|
...(input.Name != null && { Name: input.Name }),
|
|
2490
2478
|
};
|
|
2491
2479
|
};
|
|
2492
|
-
const
|
|
2480
|
+
const se_UpdateLocationHdfsRequest = (input, context) => {
|
|
2493
2481
|
return {
|
|
2494
|
-
...(input.AgentArns != null && { AgentArns:
|
|
2482
|
+
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2495
2483
|
...(input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType }),
|
|
2496
2484
|
...(input.BlockSize != null && { BlockSize: input.BlockSize }),
|
|
2497
2485
|
...(input.KerberosKeytab != null && { KerberosKeytab: context.base64Encoder(input.KerberosKeytab) }),
|
|
@@ -2499,29 +2487,25 @@ const serializeAws_json1_1UpdateLocationHdfsRequest = (input, context) => {
|
|
|
2499
2487
|
...(input.KerberosPrincipal != null && { KerberosPrincipal: input.KerberosPrincipal }),
|
|
2500
2488
|
...(input.KmsKeyProviderUri != null && { KmsKeyProviderUri: input.KmsKeyProviderUri }),
|
|
2501
2489
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2502
|
-
...(input.NameNodes != null && { NameNodes:
|
|
2503
|
-
...(input.QopConfiguration != null && {
|
|
2504
|
-
QopConfiguration: serializeAws_json1_1QopConfiguration(input.QopConfiguration, context),
|
|
2505
|
-
}),
|
|
2490
|
+
...(input.NameNodes != null && { NameNodes: se_HdfsNameNodeList(input.NameNodes, context) }),
|
|
2491
|
+
...(input.QopConfiguration != null && { QopConfiguration: se_QopConfiguration(input.QopConfiguration, context) }),
|
|
2506
2492
|
...(input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor }),
|
|
2507
2493
|
...(input.SimpleUser != null && { SimpleUser: input.SimpleUser }),
|
|
2508
2494
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2509
2495
|
};
|
|
2510
2496
|
};
|
|
2511
|
-
const
|
|
2497
|
+
const se_UpdateLocationNfsRequest = (input, context) => {
|
|
2512
2498
|
return {
|
|
2513
2499
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2514
|
-
...(input.MountOptions != null && {
|
|
2515
|
-
|
|
2516
|
-
}),
|
|
2517
|
-
...(input.OnPremConfig != null && { OnPremConfig: serializeAws_json1_1OnPremConfig(input.OnPremConfig, context) }),
|
|
2500
|
+
...(input.MountOptions != null && { MountOptions: se_NfsMountOptions(input.MountOptions, context) }),
|
|
2501
|
+
...(input.OnPremConfig != null && { OnPremConfig: se_OnPremConfig(input.OnPremConfig, context) }),
|
|
2518
2502
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2519
2503
|
};
|
|
2520
2504
|
};
|
|
2521
|
-
const
|
|
2505
|
+
const se_UpdateLocationObjectStorageRequest = (input, context) => {
|
|
2522
2506
|
return {
|
|
2523
2507
|
...(input.AccessKey != null && { AccessKey: input.AccessKey }),
|
|
2524
|
-
...(input.AgentArns != null && { AgentArns:
|
|
2508
|
+
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2525
2509
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2526
2510
|
...(input.SecretKey != null && { SecretKey: input.SecretKey }),
|
|
2527
2511
|
...(input.ServerCertificate != null && { ServerCertificate: context.base64Encoder(input.ServerCertificate) }),
|
|
@@ -2530,37 +2514,35 @@ const serializeAws_json1_1UpdateLocationObjectStorageRequest = (input, context)
|
|
|
2530
2514
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2531
2515
|
};
|
|
2532
2516
|
};
|
|
2533
|
-
const
|
|
2517
|
+
const se_UpdateLocationSmbRequest = (input, context) => {
|
|
2534
2518
|
return {
|
|
2535
|
-
...(input.AgentArns != null && { AgentArns:
|
|
2519
|
+
...(input.AgentArns != null && { AgentArns: se_AgentArnList(input.AgentArns, context) }),
|
|
2536
2520
|
...(input.Domain != null && { Domain: input.Domain }),
|
|
2537
2521
|
...(input.LocationArn != null && { LocationArn: input.LocationArn }),
|
|
2538
|
-
...(input.MountOptions != null && {
|
|
2539
|
-
MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
|
|
2540
|
-
}),
|
|
2522
|
+
...(input.MountOptions != null && { MountOptions: se_SmbMountOptions(input.MountOptions, context) }),
|
|
2541
2523
|
...(input.Password != null && { Password: input.Password }),
|
|
2542
2524
|
...(input.Subdirectory != null && { Subdirectory: input.Subdirectory }),
|
|
2543
2525
|
...(input.User != null && { User: input.User }),
|
|
2544
2526
|
};
|
|
2545
2527
|
};
|
|
2546
|
-
const
|
|
2528
|
+
const se_UpdateTaskExecutionRequest = (input, context) => {
|
|
2547
2529
|
return {
|
|
2548
|
-
...(input.Options != null && { Options:
|
|
2530
|
+
...(input.Options != null && { Options: se_Options(input.Options, context) }),
|
|
2549
2531
|
...(input.TaskExecutionArn != null && { TaskExecutionArn: input.TaskExecutionArn }),
|
|
2550
2532
|
};
|
|
2551
2533
|
};
|
|
2552
|
-
const
|
|
2534
|
+
const se_UpdateTaskRequest = (input, context) => {
|
|
2553
2535
|
return {
|
|
2554
2536
|
...(input.CloudWatchLogGroupArn != null && { CloudWatchLogGroupArn: input.CloudWatchLogGroupArn }),
|
|
2555
|
-
...(input.Excludes != null && { Excludes:
|
|
2556
|
-
...(input.Includes != null && { Includes:
|
|
2537
|
+
...(input.Excludes != null && { Excludes: se_FilterList(input.Excludes, context) }),
|
|
2538
|
+
...(input.Includes != null && { Includes: se_FilterList(input.Includes, context) }),
|
|
2557
2539
|
...(input.Name != null && { Name: input.Name }),
|
|
2558
|
-
...(input.Options != null && { Options:
|
|
2559
|
-
...(input.Schedule != null && { Schedule:
|
|
2540
|
+
...(input.Options != null && { Options: se_Options(input.Options, context) }),
|
|
2541
|
+
...(input.Schedule != null && { Schedule: se_TaskSchedule(input.Schedule, context) }),
|
|
2560
2542
|
...(input.TaskArn != null && { TaskArn: input.TaskArn }),
|
|
2561
2543
|
};
|
|
2562
2544
|
};
|
|
2563
|
-
const
|
|
2545
|
+
const de_AgentArnList = (output, context) => {
|
|
2564
2546
|
const retVal = (output || [])
|
|
2565
2547
|
.filter((e) => e != null)
|
|
2566
2548
|
.map((entry) => {
|
|
@@ -2571,97 +2553,97 @@ const deserializeAws_json1_1AgentArnList = (output, context) => {
|
|
|
2571
2553
|
});
|
|
2572
2554
|
return retVal;
|
|
2573
2555
|
};
|
|
2574
|
-
const
|
|
2556
|
+
const de_AgentList = (output, context) => {
|
|
2575
2557
|
const retVal = (output || [])
|
|
2576
2558
|
.filter((e) => e != null)
|
|
2577
2559
|
.map((entry) => {
|
|
2578
2560
|
if (entry === null) {
|
|
2579
2561
|
return null;
|
|
2580
2562
|
}
|
|
2581
|
-
return
|
|
2563
|
+
return de_AgentListEntry(entry, context);
|
|
2582
2564
|
});
|
|
2583
2565
|
return retVal;
|
|
2584
2566
|
};
|
|
2585
|
-
const
|
|
2567
|
+
const de_AgentListEntry = (output, context) => {
|
|
2586
2568
|
return {
|
|
2587
2569
|
AgentArn: __expectString(output.AgentArn),
|
|
2588
2570
|
Name: __expectString(output.Name),
|
|
2589
2571
|
Status: __expectString(output.Status),
|
|
2590
2572
|
};
|
|
2591
2573
|
};
|
|
2592
|
-
const
|
|
2574
|
+
const de_CancelTaskExecutionResponse = (output, context) => {
|
|
2593
2575
|
return {};
|
|
2594
2576
|
};
|
|
2595
|
-
const
|
|
2577
|
+
const de_CreateAgentResponse = (output, context) => {
|
|
2596
2578
|
return {
|
|
2597
2579
|
AgentArn: __expectString(output.AgentArn),
|
|
2598
2580
|
};
|
|
2599
2581
|
};
|
|
2600
|
-
const
|
|
2582
|
+
const de_CreateLocationEfsResponse = (output, context) => {
|
|
2601
2583
|
return {
|
|
2602
2584
|
LocationArn: __expectString(output.LocationArn),
|
|
2603
2585
|
};
|
|
2604
2586
|
};
|
|
2605
|
-
const
|
|
2587
|
+
const de_CreateLocationFsxLustreResponse = (output, context) => {
|
|
2606
2588
|
return {
|
|
2607
2589
|
LocationArn: __expectString(output.LocationArn),
|
|
2608
2590
|
};
|
|
2609
2591
|
};
|
|
2610
|
-
const
|
|
2592
|
+
const de_CreateLocationFsxOntapResponse = (output, context) => {
|
|
2611
2593
|
return {
|
|
2612
2594
|
LocationArn: __expectString(output.LocationArn),
|
|
2613
2595
|
};
|
|
2614
2596
|
};
|
|
2615
|
-
const
|
|
2597
|
+
const de_CreateLocationFsxOpenZfsResponse = (output, context) => {
|
|
2616
2598
|
return {
|
|
2617
2599
|
LocationArn: __expectString(output.LocationArn),
|
|
2618
2600
|
};
|
|
2619
2601
|
};
|
|
2620
|
-
const
|
|
2602
|
+
const de_CreateLocationFsxWindowsResponse = (output, context) => {
|
|
2621
2603
|
return {
|
|
2622
2604
|
LocationArn: __expectString(output.LocationArn),
|
|
2623
2605
|
};
|
|
2624
2606
|
};
|
|
2625
|
-
const
|
|
2607
|
+
const de_CreateLocationHdfsResponse = (output, context) => {
|
|
2626
2608
|
return {
|
|
2627
2609
|
LocationArn: __expectString(output.LocationArn),
|
|
2628
2610
|
};
|
|
2629
2611
|
};
|
|
2630
|
-
const
|
|
2612
|
+
const de_CreateLocationNfsResponse = (output, context) => {
|
|
2631
2613
|
return {
|
|
2632
2614
|
LocationArn: __expectString(output.LocationArn),
|
|
2633
2615
|
};
|
|
2634
2616
|
};
|
|
2635
|
-
const
|
|
2617
|
+
const de_CreateLocationObjectStorageResponse = (output, context) => {
|
|
2636
2618
|
return {
|
|
2637
2619
|
LocationArn: __expectString(output.LocationArn),
|
|
2638
2620
|
};
|
|
2639
2621
|
};
|
|
2640
|
-
const
|
|
2622
|
+
const de_CreateLocationS3Response = (output, context) => {
|
|
2641
2623
|
return {
|
|
2642
2624
|
LocationArn: __expectString(output.LocationArn),
|
|
2643
2625
|
};
|
|
2644
2626
|
};
|
|
2645
|
-
const
|
|
2627
|
+
const de_CreateLocationSmbResponse = (output, context) => {
|
|
2646
2628
|
return {
|
|
2647
2629
|
LocationArn: __expectString(output.LocationArn),
|
|
2648
2630
|
};
|
|
2649
2631
|
};
|
|
2650
|
-
const
|
|
2632
|
+
const de_CreateTaskResponse = (output, context) => {
|
|
2651
2633
|
return {
|
|
2652
2634
|
TaskArn: __expectString(output.TaskArn),
|
|
2653
2635
|
};
|
|
2654
2636
|
};
|
|
2655
|
-
const
|
|
2637
|
+
const de_DeleteAgentResponse = (output, context) => {
|
|
2656
2638
|
return {};
|
|
2657
2639
|
};
|
|
2658
|
-
const
|
|
2640
|
+
const de_DeleteLocationResponse = (output, context) => {
|
|
2659
2641
|
return {};
|
|
2660
2642
|
};
|
|
2661
|
-
const
|
|
2643
|
+
const de_DeleteTaskResponse = (output, context) => {
|
|
2662
2644
|
return {};
|
|
2663
2645
|
};
|
|
2664
|
-
const
|
|
2646
|
+
const de_DescribeAgentResponse = (output, context) => {
|
|
2665
2647
|
return {
|
|
2666
2648
|
AgentArn: __expectString(output.AgentArn),
|
|
2667
2649
|
CreationTime: output.CreationTime != null
|
|
@@ -2672,38 +2654,34 @@ const deserializeAws_json1_1DescribeAgentResponse = (output, context) => {
|
|
|
2672
2654
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastConnectionTime)))
|
|
2673
2655
|
: undefined,
|
|
2674
2656
|
Name: __expectString(output.Name),
|
|
2675
|
-
PrivateLinkConfig: output.PrivateLinkConfig != null
|
|
2676
|
-
? deserializeAws_json1_1PrivateLinkConfig(output.PrivateLinkConfig, context)
|
|
2677
|
-
: undefined,
|
|
2657
|
+
PrivateLinkConfig: output.PrivateLinkConfig != null ? de_PrivateLinkConfig(output.PrivateLinkConfig, context) : undefined,
|
|
2678
2658
|
Status: __expectString(output.Status),
|
|
2679
2659
|
};
|
|
2680
2660
|
};
|
|
2681
|
-
const
|
|
2661
|
+
const de_DescribeLocationEfsResponse = (output, context) => {
|
|
2682
2662
|
return {
|
|
2683
2663
|
AccessPointArn: __expectString(output.AccessPointArn),
|
|
2684
2664
|
CreationTime: output.CreationTime != null
|
|
2685
2665
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2686
2666
|
: undefined,
|
|
2687
|
-
Ec2Config: output.Ec2Config != null ?
|
|
2667
|
+
Ec2Config: output.Ec2Config != null ? de_Ec2Config(output.Ec2Config, context) : undefined,
|
|
2688
2668
|
FileSystemAccessRoleArn: __expectString(output.FileSystemAccessRoleArn),
|
|
2689
2669
|
InTransitEncryption: __expectString(output.InTransitEncryption),
|
|
2690
2670
|
LocationArn: __expectString(output.LocationArn),
|
|
2691
2671
|
LocationUri: __expectString(output.LocationUri),
|
|
2692
2672
|
};
|
|
2693
2673
|
};
|
|
2694
|
-
const
|
|
2674
|
+
const de_DescribeLocationFsxLustreResponse = (output, context) => {
|
|
2695
2675
|
return {
|
|
2696
2676
|
CreationTime: output.CreationTime != null
|
|
2697
2677
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2698
2678
|
: undefined,
|
|
2699
2679
|
LocationArn: __expectString(output.LocationArn),
|
|
2700
2680
|
LocationUri: __expectString(output.LocationUri),
|
|
2701
|
-
SecurityGroupArns: output.SecurityGroupArns != null
|
|
2702
|
-
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
2703
|
-
: undefined,
|
|
2681
|
+
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2704
2682
|
};
|
|
2705
2683
|
};
|
|
2706
|
-
const
|
|
2684
|
+
const de_DescribeLocationFsxOntapResponse = (output, context) => {
|
|
2707
2685
|
return {
|
|
2708
2686
|
CreationTime: output.CreationTime != null
|
|
2709
2687
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
@@ -2711,27 +2689,23 @@ const deserializeAws_json1_1DescribeLocationFsxOntapResponse = (output, context)
|
|
|
2711
2689
|
FsxFilesystemArn: __expectString(output.FsxFilesystemArn),
|
|
2712
2690
|
LocationArn: __expectString(output.LocationArn),
|
|
2713
2691
|
LocationUri: __expectString(output.LocationUri),
|
|
2714
|
-
Protocol: output.Protocol != null ?
|
|
2715
|
-
SecurityGroupArns: output.SecurityGroupArns != null
|
|
2716
|
-
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
2717
|
-
: undefined,
|
|
2692
|
+
Protocol: output.Protocol != null ? de_FsxProtocol(output.Protocol, context) : undefined,
|
|
2693
|
+
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2718
2694
|
StorageVirtualMachineArn: __expectString(output.StorageVirtualMachineArn),
|
|
2719
2695
|
};
|
|
2720
2696
|
};
|
|
2721
|
-
const
|
|
2697
|
+
const de_DescribeLocationFsxOpenZfsResponse = (output, context) => {
|
|
2722
2698
|
return {
|
|
2723
2699
|
CreationTime: output.CreationTime != null
|
|
2724
2700
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2725
2701
|
: undefined,
|
|
2726
2702
|
LocationArn: __expectString(output.LocationArn),
|
|
2727
2703
|
LocationUri: __expectString(output.LocationUri),
|
|
2728
|
-
Protocol: output.Protocol != null ?
|
|
2729
|
-
SecurityGroupArns: output.SecurityGroupArns != null
|
|
2730
|
-
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
2731
|
-
: undefined,
|
|
2704
|
+
Protocol: output.Protocol != null ? de_FsxProtocol(output.Protocol, context) : undefined,
|
|
2705
|
+
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2732
2706
|
};
|
|
2733
2707
|
};
|
|
2734
|
-
const
|
|
2708
|
+
const de_DescribeLocationFsxWindowsResponse = (output, context) => {
|
|
2735
2709
|
return {
|
|
2736
2710
|
CreationTime: output.CreationTime != null
|
|
2737
2711
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
@@ -2739,15 +2713,13 @@ const deserializeAws_json1_1DescribeLocationFsxWindowsResponse = (output, contex
|
|
|
2739
2713
|
Domain: __expectString(output.Domain),
|
|
2740
2714
|
LocationArn: __expectString(output.LocationArn),
|
|
2741
2715
|
LocationUri: __expectString(output.LocationUri),
|
|
2742
|
-
SecurityGroupArns: output.SecurityGroupArns != null
|
|
2743
|
-
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
2744
|
-
: undefined,
|
|
2716
|
+
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2745
2717
|
User: __expectString(output.User),
|
|
2746
2718
|
};
|
|
2747
2719
|
};
|
|
2748
|
-
const
|
|
2720
|
+
const de_DescribeLocationHdfsResponse = (output, context) => {
|
|
2749
2721
|
return {
|
|
2750
|
-
AgentArns: output.AgentArns != null ?
|
|
2722
|
+
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2751
2723
|
AuthenticationType: __expectString(output.AuthenticationType),
|
|
2752
2724
|
BlockSize: __expectInt32(output.BlockSize),
|
|
2753
2725
|
CreationTime: output.CreationTime != null
|
|
@@ -2757,29 +2729,27 @@ const deserializeAws_json1_1DescribeLocationHdfsResponse = (output, context) =>
|
|
|
2757
2729
|
KmsKeyProviderUri: __expectString(output.KmsKeyProviderUri),
|
|
2758
2730
|
LocationArn: __expectString(output.LocationArn),
|
|
2759
2731
|
LocationUri: __expectString(output.LocationUri),
|
|
2760
|
-
NameNodes: output.NameNodes != null ?
|
|
2761
|
-
QopConfiguration: output.QopConfiguration != null
|
|
2762
|
-
? deserializeAws_json1_1QopConfiguration(output.QopConfiguration, context)
|
|
2763
|
-
: undefined,
|
|
2732
|
+
NameNodes: output.NameNodes != null ? de_HdfsNameNodeList(output.NameNodes, context) : undefined,
|
|
2733
|
+
QopConfiguration: output.QopConfiguration != null ? de_QopConfiguration(output.QopConfiguration, context) : undefined,
|
|
2764
2734
|
ReplicationFactor: __expectInt32(output.ReplicationFactor),
|
|
2765
2735
|
SimpleUser: __expectString(output.SimpleUser),
|
|
2766
2736
|
};
|
|
2767
2737
|
};
|
|
2768
|
-
const
|
|
2738
|
+
const de_DescribeLocationNfsResponse = (output, context) => {
|
|
2769
2739
|
return {
|
|
2770
2740
|
CreationTime: output.CreationTime != null
|
|
2771
2741
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2772
2742
|
: undefined,
|
|
2773
2743
|
LocationArn: __expectString(output.LocationArn),
|
|
2774
2744
|
LocationUri: __expectString(output.LocationUri),
|
|
2775
|
-
MountOptions: output.MountOptions != null ?
|
|
2776
|
-
OnPremConfig: output.OnPremConfig != null ?
|
|
2745
|
+
MountOptions: output.MountOptions != null ? de_NfsMountOptions(output.MountOptions, context) : undefined,
|
|
2746
|
+
OnPremConfig: output.OnPremConfig != null ? de_OnPremConfig(output.OnPremConfig, context) : undefined,
|
|
2777
2747
|
};
|
|
2778
2748
|
};
|
|
2779
|
-
const
|
|
2749
|
+
const de_DescribeLocationObjectStorageResponse = (output, context) => {
|
|
2780
2750
|
return {
|
|
2781
2751
|
AccessKey: __expectString(output.AccessKey),
|
|
2782
|
-
AgentArns: output.AgentArns != null ?
|
|
2752
|
+
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2783
2753
|
CreationTime: output.CreationTime != null
|
|
2784
2754
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2785
2755
|
: undefined,
|
|
@@ -2790,49 +2760,49 @@ const deserializeAws_json1_1DescribeLocationObjectStorageResponse = (output, con
|
|
|
2790
2760
|
ServerProtocol: __expectString(output.ServerProtocol),
|
|
2791
2761
|
};
|
|
2792
2762
|
};
|
|
2793
|
-
const
|
|
2763
|
+
const de_DescribeLocationS3Response = (output, context) => {
|
|
2794
2764
|
return {
|
|
2795
|
-
AgentArns: output.AgentArns != null ?
|
|
2765
|
+
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2796
2766
|
CreationTime: output.CreationTime != null
|
|
2797
2767
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2798
2768
|
: undefined,
|
|
2799
2769
|
LocationArn: __expectString(output.LocationArn),
|
|
2800
2770
|
LocationUri: __expectString(output.LocationUri),
|
|
2801
|
-
S3Config: output.S3Config != null ?
|
|
2771
|
+
S3Config: output.S3Config != null ? de_S3Config(output.S3Config, context) : undefined,
|
|
2802
2772
|
S3StorageClass: __expectString(output.S3StorageClass),
|
|
2803
2773
|
};
|
|
2804
2774
|
};
|
|
2805
|
-
const
|
|
2775
|
+
const de_DescribeLocationSmbResponse = (output, context) => {
|
|
2806
2776
|
return {
|
|
2807
|
-
AgentArns: output.AgentArns != null ?
|
|
2777
|
+
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
2808
2778
|
CreationTime: output.CreationTime != null
|
|
2809
2779
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
2810
2780
|
: undefined,
|
|
2811
2781
|
Domain: __expectString(output.Domain),
|
|
2812
2782
|
LocationArn: __expectString(output.LocationArn),
|
|
2813
2783
|
LocationUri: __expectString(output.LocationUri),
|
|
2814
|
-
MountOptions: output.MountOptions != null ?
|
|
2784
|
+
MountOptions: output.MountOptions != null ? de_SmbMountOptions(output.MountOptions, context) : undefined,
|
|
2815
2785
|
User: __expectString(output.User),
|
|
2816
2786
|
};
|
|
2817
2787
|
};
|
|
2818
|
-
const
|
|
2788
|
+
const de_DescribeTaskExecutionResponse = (output, context) => {
|
|
2819
2789
|
return {
|
|
2820
2790
|
BytesCompressed: __expectLong(output.BytesCompressed),
|
|
2821
2791
|
BytesTransferred: __expectLong(output.BytesTransferred),
|
|
2822
2792
|
BytesWritten: __expectLong(output.BytesWritten),
|
|
2823
2793
|
EstimatedBytesToTransfer: __expectLong(output.EstimatedBytesToTransfer),
|
|
2824
2794
|
EstimatedFilesToTransfer: __expectLong(output.EstimatedFilesToTransfer),
|
|
2825
|
-
Excludes: output.Excludes != null ?
|
|
2795
|
+
Excludes: output.Excludes != null ? de_FilterList(output.Excludes, context) : undefined,
|
|
2826
2796
|
FilesTransferred: __expectLong(output.FilesTransferred),
|
|
2827
|
-
Includes: output.Includes != null ?
|
|
2828
|
-
Options: output.Options != null ?
|
|
2829
|
-
Result: output.Result != null ?
|
|
2797
|
+
Includes: output.Includes != null ? de_FilterList(output.Includes, context) : undefined,
|
|
2798
|
+
Options: output.Options != null ? de_Options(output.Options, context) : undefined,
|
|
2799
|
+
Result: output.Result != null ? de_TaskExecutionResultDetail(output.Result, context) : undefined,
|
|
2830
2800
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2831
2801
|
Status: __expectString(output.Status),
|
|
2832
2802
|
TaskExecutionArn: __expectString(output.TaskExecutionArn),
|
|
2833
2803
|
};
|
|
2834
2804
|
};
|
|
2835
|
-
const
|
|
2805
|
+
const de_DescribeTaskResponse = (output, context) => {
|
|
2836
2806
|
return {
|
|
2837
2807
|
CloudWatchLogGroupArn: __expectString(output.CloudWatchLogGroupArn),
|
|
2838
2808
|
CreationTime: output.CreationTime != null
|
|
@@ -2841,24 +2811,24 @@ const deserializeAws_json1_1DescribeTaskResponse = (output, context) => {
|
|
|
2841
2811
|
CurrentTaskExecutionArn: __expectString(output.CurrentTaskExecutionArn),
|
|
2842
2812
|
DestinationLocationArn: __expectString(output.DestinationLocationArn),
|
|
2843
2813
|
DestinationNetworkInterfaceArns: output.DestinationNetworkInterfaceArns != null
|
|
2844
|
-
?
|
|
2814
|
+
? de_DestinationNetworkInterfaceArns(output.DestinationNetworkInterfaceArns, context)
|
|
2845
2815
|
: undefined,
|
|
2846
2816
|
ErrorCode: __expectString(output.ErrorCode),
|
|
2847
2817
|
ErrorDetail: __expectString(output.ErrorDetail),
|
|
2848
|
-
Excludes: output.Excludes != null ?
|
|
2849
|
-
Includes: output.Includes != null ?
|
|
2818
|
+
Excludes: output.Excludes != null ? de_FilterList(output.Excludes, context) : undefined,
|
|
2819
|
+
Includes: output.Includes != null ? de_FilterList(output.Includes, context) : undefined,
|
|
2850
2820
|
Name: __expectString(output.Name),
|
|
2851
|
-
Options: output.Options != null ?
|
|
2852
|
-
Schedule: output.Schedule != null ?
|
|
2821
|
+
Options: output.Options != null ? de_Options(output.Options, context) : undefined,
|
|
2822
|
+
Schedule: output.Schedule != null ? de_TaskSchedule(output.Schedule, context) : undefined,
|
|
2853
2823
|
SourceLocationArn: __expectString(output.SourceLocationArn),
|
|
2854
2824
|
SourceNetworkInterfaceArns: output.SourceNetworkInterfaceArns != null
|
|
2855
|
-
?
|
|
2825
|
+
? de_SourceNetworkInterfaceArns(output.SourceNetworkInterfaceArns, context)
|
|
2856
2826
|
: undefined,
|
|
2857
2827
|
Status: __expectString(output.Status),
|
|
2858
2828
|
TaskArn: __expectString(output.TaskArn),
|
|
2859
2829
|
};
|
|
2860
2830
|
};
|
|
2861
|
-
const
|
|
2831
|
+
const de_DestinationNetworkInterfaceArns = (output, context) => {
|
|
2862
2832
|
const retVal = (output || [])
|
|
2863
2833
|
.filter((e) => e != null)
|
|
2864
2834
|
.map((entry) => {
|
|
@@ -2869,15 +2839,13 @@ const deserializeAws_json1_1DestinationNetworkInterfaceArns = (output, context)
|
|
|
2869
2839
|
});
|
|
2870
2840
|
return retVal;
|
|
2871
2841
|
};
|
|
2872
|
-
const
|
|
2842
|
+
const de_Ec2Config = (output, context) => {
|
|
2873
2843
|
return {
|
|
2874
|
-
SecurityGroupArns: output.SecurityGroupArns != null
|
|
2875
|
-
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
2876
|
-
: undefined,
|
|
2844
|
+
SecurityGroupArns: output.SecurityGroupArns != null ? de_Ec2SecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
2877
2845
|
SubnetArn: __expectString(output.SubnetArn),
|
|
2878
2846
|
};
|
|
2879
2847
|
};
|
|
2880
|
-
const
|
|
2848
|
+
const de_Ec2SecurityGroupArnList = (output, context) => {
|
|
2881
2849
|
const retVal = (output || [])
|
|
2882
2850
|
.filter((e) => e != null)
|
|
2883
2851
|
.map((entry) => {
|
|
@@ -2888,132 +2856,130 @@ const deserializeAws_json1_1Ec2SecurityGroupArnList = (output, context) => {
|
|
|
2888
2856
|
});
|
|
2889
2857
|
return retVal;
|
|
2890
2858
|
};
|
|
2891
|
-
const
|
|
2859
|
+
const de_FilterList = (output, context) => {
|
|
2892
2860
|
const retVal = (output || [])
|
|
2893
2861
|
.filter((e) => e != null)
|
|
2894
2862
|
.map((entry) => {
|
|
2895
2863
|
if (entry === null) {
|
|
2896
2864
|
return null;
|
|
2897
2865
|
}
|
|
2898
|
-
return
|
|
2866
|
+
return de_FilterRule(entry, context);
|
|
2899
2867
|
});
|
|
2900
2868
|
return retVal;
|
|
2901
2869
|
};
|
|
2902
|
-
const
|
|
2870
|
+
const de_FilterRule = (output, context) => {
|
|
2903
2871
|
return {
|
|
2904
2872
|
FilterType: __expectString(output.FilterType),
|
|
2905
2873
|
Value: __expectString(output.Value),
|
|
2906
2874
|
};
|
|
2907
2875
|
};
|
|
2908
|
-
const
|
|
2876
|
+
const de_FsxProtocol = (output, context) => {
|
|
2909
2877
|
return {
|
|
2910
|
-
NFS: output.NFS != null ?
|
|
2911
|
-
SMB: output.SMB != null ?
|
|
2878
|
+
NFS: output.NFS != null ? de_FsxProtocolNfs(output.NFS, context) : undefined,
|
|
2879
|
+
SMB: output.SMB != null ? de_FsxProtocolSmb(output.SMB, context) : undefined,
|
|
2912
2880
|
};
|
|
2913
2881
|
};
|
|
2914
|
-
const
|
|
2882
|
+
const de_FsxProtocolNfs = (output, context) => {
|
|
2915
2883
|
return {
|
|
2916
|
-
MountOptions: output.MountOptions != null ?
|
|
2884
|
+
MountOptions: output.MountOptions != null ? de_NfsMountOptions(output.MountOptions, context) : undefined,
|
|
2917
2885
|
};
|
|
2918
2886
|
};
|
|
2919
|
-
const
|
|
2887
|
+
const de_FsxProtocolSmb = (output, context) => {
|
|
2920
2888
|
return {
|
|
2921
2889
|
Domain: __expectString(output.Domain),
|
|
2922
|
-
MountOptions: output.MountOptions != null ?
|
|
2890
|
+
MountOptions: output.MountOptions != null ? de_SmbMountOptions(output.MountOptions, context) : undefined,
|
|
2923
2891
|
Password: __expectString(output.Password),
|
|
2924
2892
|
User: __expectString(output.User),
|
|
2925
2893
|
};
|
|
2926
2894
|
};
|
|
2927
|
-
const
|
|
2895
|
+
const de_HdfsNameNode = (output, context) => {
|
|
2928
2896
|
return {
|
|
2929
2897
|
Hostname: __expectString(output.Hostname),
|
|
2930
2898
|
Port: __expectInt32(output.Port),
|
|
2931
2899
|
};
|
|
2932
2900
|
};
|
|
2933
|
-
const
|
|
2901
|
+
const de_HdfsNameNodeList = (output, context) => {
|
|
2934
2902
|
const retVal = (output || [])
|
|
2935
2903
|
.filter((e) => e != null)
|
|
2936
2904
|
.map((entry) => {
|
|
2937
2905
|
if (entry === null) {
|
|
2938
2906
|
return null;
|
|
2939
2907
|
}
|
|
2940
|
-
return
|
|
2908
|
+
return de_HdfsNameNode(entry, context);
|
|
2941
2909
|
});
|
|
2942
2910
|
return retVal;
|
|
2943
2911
|
};
|
|
2944
|
-
const
|
|
2912
|
+
const de_InternalException = (output, context) => {
|
|
2945
2913
|
return {
|
|
2946
2914
|
errorCode: __expectString(output.errorCode),
|
|
2947
2915
|
message: __expectString(output.message),
|
|
2948
2916
|
};
|
|
2949
2917
|
};
|
|
2950
|
-
const
|
|
2918
|
+
const de_InvalidRequestException = (output, context) => {
|
|
2951
2919
|
return {
|
|
2952
2920
|
datasyncErrorCode: __expectString(output.datasyncErrorCode),
|
|
2953
2921
|
errorCode: __expectString(output.errorCode),
|
|
2954
2922
|
message: __expectString(output.message),
|
|
2955
2923
|
};
|
|
2956
2924
|
};
|
|
2957
|
-
const
|
|
2925
|
+
const de_ListAgentsResponse = (output, context) => {
|
|
2958
2926
|
return {
|
|
2959
|
-
Agents: output.Agents != null ?
|
|
2927
|
+
Agents: output.Agents != null ? de_AgentList(output.Agents, context) : undefined,
|
|
2960
2928
|
NextToken: __expectString(output.NextToken),
|
|
2961
2929
|
};
|
|
2962
2930
|
};
|
|
2963
|
-
const
|
|
2931
|
+
const de_ListLocationsResponse = (output, context) => {
|
|
2964
2932
|
return {
|
|
2965
|
-
Locations: output.Locations != null ?
|
|
2933
|
+
Locations: output.Locations != null ? de_LocationList(output.Locations, context) : undefined,
|
|
2966
2934
|
NextToken: __expectString(output.NextToken),
|
|
2967
2935
|
};
|
|
2968
2936
|
};
|
|
2969
|
-
const
|
|
2937
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2970
2938
|
return {
|
|
2971
2939
|
NextToken: __expectString(output.NextToken),
|
|
2972
|
-
Tags: output.Tags != null ?
|
|
2940
|
+
Tags: output.Tags != null ? de_OutputTagList(output.Tags, context) : undefined,
|
|
2973
2941
|
};
|
|
2974
2942
|
};
|
|
2975
|
-
const
|
|
2943
|
+
const de_ListTaskExecutionsResponse = (output, context) => {
|
|
2976
2944
|
return {
|
|
2977
2945
|
NextToken: __expectString(output.NextToken),
|
|
2978
|
-
TaskExecutions: output.TaskExecutions != null
|
|
2979
|
-
? deserializeAws_json1_1TaskExecutionList(output.TaskExecutions, context)
|
|
2980
|
-
: undefined,
|
|
2946
|
+
TaskExecutions: output.TaskExecutions != null ? de_TaskExecutionList(output.TaskExecutions, context) : undefined,
|
|
2981
2947
|
};
|
|
2982
2948
|
};
|
|
2983
|
-
const
|
|
2949
|
+
const de_ListTasksResponse = (output, context) => {
|
|
2984
2950
|
return {
|
|
2985
2951
|
NextToken: __expectString(output.NextToken),
|
|
2986
|
-
Tasks: output.Tasks != null ?
|
|
2952
|
+
Tasks: output.Tasks != null ? de_TaskList(output.Tasks, context) : undefined,
|
|
2987
2953
|
};
|
|
2988
2954
|
};
|
|
2989
|
-
const
|
|
2955
|
+
const de_LocationList = (output, context) => {
|
|
2990
2956
|
const retVal = (output || [])
|
|
2991
2957
|
.filter((e) => e != null)
|
|
2992
2958
|
.map((entry) => {
|
|
2993
2959
|
if (entry === null) {
|
|
2994
2960
|
return null;
|
|
2995
2961
|
}
|
|
2996
|
-
return
|
|
2962
|
+
return de_LocationListEntry(entry, context);
|
|
2997
2963
|
});
|
|
2998
2964
|
return retVal;
|
|
2999
2965
|
};
|
|
3000
|
-
const
|
|
2966
|
+
const de_LocationListEntry = (output, context) => {
|
|
3001
2967
|
return {
|
|
3002
2968
|
LocationArn: __expectString(output.LocationArn),
|
|
3003
2969
|
LocationUri: __expectString(output.LocationUri),
|
|
3004
2970
|
};
|
|
3005
2971
|
};
|
|
3006
|
-
const
|
|
2972
|
+
const de_NfsMountOptions = (output, context) => {
|
|
3007
2973
|
return {
|
|
3008
2974
|
Version: __expectString(output.Version),
|
|
3009
2975
|
};
|
|
3010
2976
|
};
|
|
3011
|
-
const
|
|
2977
|
+
const de_OnPremConfig = (output, context) => {
|
|
3012
2978
|
return {
|
|
3013
|
-
AgentArns: output.AgentArns != null ?
|
|
2979
|
+
AgentArns: output.AgentArns != null ? de_AgentArnList(output.AgentArns, context) : undefined,
|
|
3014
2980
|
};
|
|
3015
2981
|
};
|
|
3016
|
-
const
|
|
2982
|
+
const de_Options = (output, context) => {
|
|
3017
2983
|
return {
|
|
3018
2984
|
Atime: __expectString(output.Atime),
|
|
3019
2985
|
BytesPerSecond: __expectLong(output.BytesPerSecond),
|
|
@@ -3032,18 +2998,18 @@ const deserializeAws_json1_1Options = (output, context) => {
|
|
|
3032
2998
|
VerifyMode: __expectString(output.VerifyMode),
|
|
3033
2999
|
};
|
|
3034
3000
|
};
|
|
3035
|
-
const
|
|
3001
|
+
const de_OutputTagList = (output, context) => {
|
|
3036
3002
|
const retVal = (output || [])
|
|
3037
3003
|
.filter((e) => e != null)
|
|
3038
3004
|
.map((entry) => {
|
|
3039
3005
|
if (entry === null) {
|
|
3040
3006
|
return null;
|
|
3041
3007
|
}
|
|
3042
|
-
return
|
|
3008
|
+
return de_TagListEntry(entry, context);
|
|
3043
3009
|
});
|
|
3044
3010
|
return retVal;
|
|
3045
3011
|
};
|
|
3046
|
-
const
|
|
3012
|
+
const de_PLSecurityGroupArnList = (output, context) => {
|
|
3047
3013
|
const retVal = (output || [])
|
|
3048
3014
|
.filter((e) => e != null)
|
|
3049
3015
|
.map((entry) => {
|
|
@@ -3054,7 +3020,7 @@ const deserializeAws_json1_1PLSecurityGroupArnList = (output, context) => {
|
|
|
3054
3020
|
});
|
|
3055
3021
|
return retVal;
|
|
3056
3022
|
};
|
|
3057
|
-
const
|
|
3023
|
+
const de_PLSubnetArnList = (output, context) => {
|
|
3058
3024
|
const retVal = (output || [])
|
|
3059
3025
|
.filter((e) => e != null)
|
|
3060
3026
|
.map((entry) => {
|
|
@@ -3065,33 +3031,31 @@ const deserializeAws_json1_1PLSubnetArnList = (output, context) => {
|
|
|
3065
3031
|
});
|
|
3066
3032
|
return retVal;
|
|
3067
3033
|
};
|
|
3068
|
-
const
|
|
3034
|
+
const de_PrivateLinkConfig = (output, context) => {
|
|
3069
3035
|
return {
|
|
3070
3036
|
PrivateLinkEndpoint: __expectString(output.PrivateLinkEndpoint),
|
|
3071
|
-
SecurityGroupArns: output.SecurityGroupArns != null
|
|
3072
|
-
|
|
3073
|
-
: undefined,
|
|
3074
|
-
SubnetArns: output.SubnetArns != null ? deserializeAws_json1_1PLSubnetArnList(output.SubnetArns, context) : undefined,
|
|
3037
|
+
SecurityGroupArns: output.SecurityGroupArns != null ? de_PLSecurityGroupArnList(output.SecurityGroupArns, context) : undefined,
|
|
3038
|
+
SubnetArns: output.SubnetArns != null ? de_PLSubnetArnList(output.SubnetArns, context) : undefined,
|
|
3075
3039
|
VpcEndpointId: __expectString(output.VpcEndpointId),
|
|
3076
3040
|
};
|
|
3077
3041
|
};
|
|
3078
|
-
const
|
|
3042
|
+
const de_QopConfiguration = (output, context) => {
|
|
3079
3043
|
return {
|
|
3080
3044
|
DataTransferProtection: __expectString(output.DataTransferProtection),
|
|
3081
3045
|
RpcProtection: __expectString(output.RpcProtection),
|
|
3082
3046
|
};
|
|
3083
3047
|
};
|
|
3084
|
-
const
|
|
3048
|
+
const de_S3Config = (output, context) => {
|
|
3085
3049
|
return {
|
|
3086
3050
|
BucketAccessRoleArn: __expectString(output.BucketAccessRoleArn),
|
|
3087
3051
|
};
|
|
3088
3052
|
};
|
|
3089
|
-
const
|
|
3053
|
+
const de_SmbMountOptions = (output, context) => {
|
|
3090
3054
|
return {
|
|
3091
3055
|
Version: __expectString(output.Version),
|
|
3092
3056
|
};
|
|
3093
3057
|
};
|
|
3094
|
-
const
|
|
3058
|
+
const de_SourceNetworkInterfaceArns = (output, context) => {
|
|
3095
3059
|
const retVal = (output || [])
|
|
3096
3060
|
.filter((e) => e != null)
|
|
3097
3061
|
.map((entry) => {
|
|
@@ -3102,38 +3066,38 @@ const deserializeAws_json1_1SourceNetworkInterfaceArns = (output, context) => {
|
|
|
3102
3066
|
});
|
|
3103
3067
|
return retVal;
|
|
3104
3068
|
};
|
|
3105
|
-
const
|
|
3069
|
+
const de_StartTaskExecutionResponse = (output, context) => {
|
|
3106
3070
|
return {
|
|
3107
3071
|
TaskExecutionArn: __expectString(output.TaskExecutionArn),
|
|
3108
3072
|
};
|
|
3109
3073
|
};
|
|
3110
|
-
const
|
|
3074
|
+
const de_TagListEntry = (output, context) => {
|
|
3111
3075
|
return {
|
|
3112
3076
|
Key: __expectString(output.Key),
|
|
3113
3077
|
Value: __expectString(output.Value),
|
|
3114
3078
|
};
|
|
3115
3079
|
};
|
|
3116
|
-
const
|
|
3080
|
+
const de_TagResourceResponse = (output, context) => {
|
|
3117
3081
|
return {};
|
|
3118
3082
|
};
|
|
3119
|
-
const
|
|
3083
|
+
const de_TaskExecutionList = (output, context) => {
|
|
3120
3084
|
const retVal = (output || [])
|
|
3121
3085
|
.filter((e) => e != null)
|
|
3122
3086
|
.map((entry) => {
|
|
3123
3087
|
if (entry === null) {
|
|
3124
3088
|
return null;
|
|
3125
3089
|
}
|
|
3126
|
-
return
|
|
3090
|
+
return de_TaskExecutionListEntry(entry, context);
|
|
3127
3091
|
});
|
|
3128
3092
|
return retVal;
|
|
3129
3093
|
};
|
|
3130
|
-
const
|
|
3094
|
+
const de_TaskExecutionListEntry = (output, context) => {
|
|
3131
3095
|
return {
|
|
3132
3096
|
Status: __expectString(output.Status),
|
|
3133
3097
|
TaskExecutionArn: __expectString(output.TaskExecutionArn),
|
|
3134
3098
|
};
|
|
3135
3099
|
};
|
|
3136
|
-
const
|
|
3100
|
+
const de_TaskExecutionResultDetail = (output, context) => {
|
|
3137
3101
|
return {
|
|
3138
3102
|
ErrorCode: __expectString(output.ErrorCode),
|
|
3139
3103
|
ErrorDetail: __expectString(output.ErrorDetail),
|
|
@@ -3146,51 +3110,51 @@ const deserializeAws_json1_1TaskExecutionResultDetail = (output, context) => {
|
|
|
3146
3110
|
VerifyStatus: __expectString(output.VerifyStatus),
|
|
3147
3111
|
};
|
|
3148
3112
|
};
|
|
3149
|
-
const
|
|
3113
|
+
const de_TaskList = (output, context) => {
|
|
3150
3114
|
const retVal = (output || [])
|
|
3151
3115
|
.filter((e) => e != null)
|
|
3152
3116
|
.map((entry) => {
|
|
3153
3117
|
if (entry === null) {
|
|
3154
3118
|
return null;
|
|
3155
3119
|
}
|
|
3156
|
-
return
|
|
3120
|
+
return de_TaskListEntry(entry, context);
|
|
3157
3121
|
});
|
|
3158
3122
|
return retVal;
|
|
3159
3123
|
};
|
|
3160
|
-
const
|
|
3124
|
+
const de_TaskListEntry = (output, context) => {
|
|
3161
3125
|
return {
|
|
3162
3126
|
Name: __expectString(output.Name),
|
|
3163
3127
|
Status: __expectString(output.Status),
|
|
3164
3128
|
TaskArn: __expectString(output.TaskArn),
|
|
3165
3129
|
};
|
|
3166
3130
|
};
|
|
3167
|
-
const
|
|
3131
|
+
const de_TaskSchedule = (output, context) => {
|
|
3168
3132
|
return {
|
|
3169
3133
|
ScheduleExpression: __expectString(output.ScheduleExpression),
|
|
3170
3134
|
};
|
|
3171
3135
|
};
|
|
3172
|
-
const
|
|
3136
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
3173
3137
|
return {};
|
|
3174
3138
|
};
|
|
3175
|
-
const
|
|
3139
|
+
const de_UpdateAgentResponse = (output, context) => {
|
|
3176
3140
|
return {};
|
|
3177
3141
|
};
|
|
3178
|
-
const
|
|
3142
|
+
const de_UpdateLocationHdfsResponse = (output, context) => {
|
|
3179
3143
|
return {};
|
|
3180
3144
|
};
|
|
3181
|
-
const
|
|
3145
|
+
const de_UpdateLocationNfsResponse = (output, context) => {
|
|
3182
3146
|
return {};
|
|
3183
3147
|
};
|
|
3184
|
-
const
|
|
3148
|
+
const de_UpdateLocationObjectStorageResponse = (output, context) => {
|
|
3185
3149
|
return {};
|
|
3186
3150
|
};
|
|
3187
|
-
const
|
|
3151
|
+
const de_UpdateLocationSmbResponse = (output, context) => {
|
|
3188
3152
|
return {};
|
|
3189
3153
|
};
|
|
3190
|
-
const
|
|
3154
|
+
const de_UpdateTaskExecutionResponse = (output, context) => {
|
|
3191
3155
|
return {};
|
|
3192
3156
|
};
|
|
3193
|
-
const
|
|
3157
|
+
const de_UpdateTaskResponse = (output, context) => {
|
|
3194
3158
|
return {};
|
|
3195
3159
|
};
|
|
3196
3160
|
const deserializeMetadata = (output) => ({
|