@aws-sdk/client-snowball 3.306.0 → 3.309.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/CancelClusterCommand.js +2 -2
- package/dist-cjs/commands/CancelJobCommand.js +2 -2
- package/dist-cjs/commands/CreateAddressCommand.js +2 -2
- package/dist-cjs/commands/CreateClusterCommand.js +2 -2
- package/dist-cjs/commands/CreateJobCommand.js +2 -2
- package/dist-cjs/commands/CreateLongTermPricingCommand.js +2 -2
- package/dist-cjs/commands/CreateReturnShippingLabelCommand.js +2 -2
- package/dist-cjs/commands/DescribeAddressCommand.js +2 -2
- package/dist-cjs/commands/DescribeAddressesCommand.js +2 -2
- package/dist-cjs/commands/DescribeClusterCommand.js +2 -2
- package/dist-cjs/commands/DescribeJobCommand.js +2 -2
- package/dist-cjs/commands/DescribeReturnShippingLabelCommand.js +2 -2
- package/dist-cjs/commands/GetJobManifestCommand.js +2 -2
- package/dist-cjs/commands/GetJobUnlockCodeCommand.js +2 -2
- package/dist-cjs/commands/GetSnowballUsageCommand.js +2 -2
- package/dist-cjs/commands/GetSoftwareUpdatesCommand.js +2 -2
- package/dist-cjs/commands/ListClusterJobsCommand.js +2 -2
- package/dist-cjs/commands/ListClustersCommand.js +2 -2
- package/dist-cjs/commands/ListCompatibleImagesCommand.js +2 -2
- package/dist-cjs/commands/ListJobsCommand.js +2 -2
- package/dist-cjs/commands/ListLongTermPricingCommand.js +2 -2
- package/dist-cjs/commands/ListServiceVersionsCommand.js +2 -2
- package/dist-cjs/commands/UpdateClusterCommand.js +2 -2
- package/dist-cjs/commands/UpdateJobCommand.js +2 -2
- package/dist-cjs/commands/UpdateJobShipmentStateCommand.js +2 -2
- package/dist-cjs/commands/UpdateLongTermPricingCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +519 -561
- package/dist-es/commands/CancelClusterCommand.js +3 -3
- package/dist-es/commands/CancelJobCommand.js +3 -3
- package/dist-es/commands/CreateAddressCommand.js +3 -3
- package/dist-es/commands/CreateClusterCommand.js +3 -3
- package/dist-es/commands/CreateJobCommand.js +3 -3
- package/dist-es/commands/CreateLongTermPricingCommand.js +3 -3
- package/dist-es/commands/CreateReturnShippingLabelCommand.js +3 -3
- package/dist-es/commands/DescribeAddressCommand.js +3 -3
- package/dist-es/commands/DescribeAddressesCommand.js +3 -3
- package/dist-es/commands/DescribeClusterCommand.js +3 -3
- package/dist-es/commands/DescribeJobCommand.js +3 -3
- package/dist-es/commands/DescribeReturnShippingLabelCommand.js +3 -3
- package/dist-es/commands/GetJobManifestCommand.js +3 -3
- package/dist-es/commands/GetJobUnlockCodeCommand.js +3 -3
- package/dist-es/commands/GetSnowballUsageCommand.js +3 -3
- package/dist-es/commands/GetSoftwareUpdatesCommand.js +3 -3
- package/dist-es/commands/ListClusterJobsCommand.js +3 -3
- package/dist-es/commands/ListClustersCommand.js +3 -3
- package/dist-es/commands/ListCompatibleImagesCommand.js +3 -3
- package/dist-es/commands/ListJobsCommand.js +3 -3
- package/dist-es/commands/ListLongTermPricingCommand.js +3 -3
- package/dist-es/commands/ListServiceVersionsCommand.js +3 -3
- package/dist-es/commands/UpdateClusterCommand.js +3 -3
- package/dist-es/commands/UpdateJobCommand.js +3 -3
- package/dist-es/commands/UpdateJobShipmentStateCommand.js +3 -3
- package/dist-es/commands/UpdateLongTermPricingCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +465 -507
- package/dist-types/protocols/Aws_json1_1.d.ts +208 -52
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +52 -52
- package/package.json +6 -6
|
@@ -1,286 +1,286 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_UpdateJobCommand = exports.de_UpdateClusterCommand = exports.de_ListServiceVersionsCommand = exports.de_ListLongTermPricingCommand = exports.de_ListJobsCommand = exports.de_ListCompatibleImagesCommand = exports.de_ListClustersCommand = exports.de_ListClusterJobsCommand = exports.de_GetSoftwareUpdatesCommand = exports.de_GetSnowballUsageCommand = exports.de_GetJobUnlockCodeCommand = exports.de_GetJobManifestCommand = exports.de_DescribeReturnShippingLabelCommand = exports.de_DescribeJobCommand = exports.de_DescribeClusterCommand = exports.de_DescribeAddressesCommand = exports.de_DescribeAddressCommand = exports.de_CreateReturnShippingLabelCommand = exports.de_CreateLongTermPricingCommand = exports.de_CreateJobCommand = exports.de_CreateClusterCommand = exports.de_CreateAddressCommand = exports.de_CancelJobCommand = exports.de_CancelClusterCommand = exports.se_UpdateLongTermPricingCommand = exports.se_UpdateJobShipmentStateCommand = exports.se_UpdateJobCommand = exports.se_UpdateClusterCommand = exports.se_ListServiceVersionsCommand = exports.se_ListLongTermPricingCommand = exports.se_ListJobsCommand = exports.se_ListCompatibleImagesCommand = exports.se_ListClustersCommand = exports.se_ListClusterJobsCommand = exports.se_GetSoftwareUpdatesCommand = exports.se_GetSnowballUsageCommand = exports.se_GetJobUnlockCodeCommand = exports.se_GetJobManifestCommand = exports.se_DescribeReturnShippingLabelCommand = exports.se_DescribeJobCommand = exports.se_DescribeClusterCommand = exports.se_DescribeAddressesCommand = exports.se_DescribeAddressCommand = exports.se_CreateReturnShippingLabelCommand = exports.se_CreateLongTermPricingCommand = exports.se_CreateJobCommand = exports.se_CreateClusterCommand = exports.se_CreateAddressCommand = exports.se_CancelJobCommand = exports.se_CancelClusterCommand = void 0;
|
|
4
|
+
exports.de_UpdateLongTermPricingCommand = exports.de_UpdateJobShipmentStateCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const SnowballServiceException_1 = require("../models/SnowballServiceException");
|
|
9
|
-
const
|
|
9
|
+
const se_CancelClusterCommand = async (input, context) => {
|
|
10
10
|
const headers = {
|
|
11
11
|
"content-type": "application/x-amz-json-1.1",
|
|
12
12
|
"x-amz-target": "AWSIESnowballJobManagementService.CancelCluster",
|
|
13
13
|
};
|
|
14
14
|
let body;
|
|
15
|
-
body = JSON.stringify(
|
|
15
|
+
body = JSON.stringify(se_CancelClusterRequest(input, context));
|
|
16
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
17
|
};
|
|
18
|
-
exports.
|
|
19
|
-
const
|
|
18
|
+
exports.se_CancelClusterCommand = se_CancelClusterCommand;
|
|
19
|
+
const se_CancelJobCommand = async (input, context) => {
|
|
20
20
|
const headers = {
|
|
21
21
|
"content-type": "application/x-amz-json-1.1",
|
|
22
22
|
"x-amz-target": "AWSIESnowballJobManagementService.CancelJob",
|
|
23
23
|
};
|
|
24
24
|
let body;
|
|
25
|
-
body = JSON.stringify(
|
|
25
|
+
body = JSON.stringify(se_CancelJobRequest(input, context));
|
|
26
26
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
27
27
|
};
|
|
28
|
-
exports.
|
|
29
|
-
const
|
|
28
|
+
exports.se_CancelJobCommand = se_CancelJobCommand;
|
|
29
|
+
const se_CreateAddressCommand = async (input, context) => {
|
|
30
30
|
const headers = {
|
|
31
31
|
"content-type": "application/x-amz-json-1.1",
|
|
32
32
|
"x-amz-target": "AWSIESnowballJobManagementService.CreateAddress",
|
|
33
33
|
};
|
|
34
34
|
let body;
|
|
35
|
-
body = JSON.stringify(
|
|
35
|
+
body = JSON.stringify(se_CreateAddressRequest(input, context));
|
|
36
36
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
37
|
};
|
|
38
|
-
exports.
|
|
39
|
-
const
|
|
38
|
+
exports.se_CreateAddressCommand = se_CreateAddressCommand;
|
|
39
|
+
const se_CreateClusterCommand = async (input, context) => {
|
|
40
40
|
const headers = {
|
|
41
41
|
"content-type": "application/x-amz-json-1.1",
|
|
42
42
|
"x-amz-target": "AWSIESnowballJobManagementService.CreateCluster",
|
|
43
43
|
};
|
|
44
44
|
let body;
|
|
45
|
-
body = JSON.stringify(
|
|
45
|
+
body = JSON.stringify(se_CreateClusterRequest(input, context));
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
|
-
exports.
|
|
49
|
-
const
|
|
48
|
+
exports.se_CreateClusterCommand = se_CreateClusterCommand;
|
|
49
|
+
const se_CreateJobCommand = async (input, context) => {
|
|
50
50
|
const headers = {
|
|
51
51
|
"content-type": "application/x-amz-json-1.1",
|
|
52
52
|
"x-amz-target": "AWSIESnowballJobManagementService.CreateJob",
|
|
53
53
|
};
|
|
54
54
|
let body;
|
|
55
|
-
body = JSON.stringify(
|
|
55
|
+
body = JSON.stringify(se_CreateJobRequest(input, context));
|
|
56
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
57
57
|
};
|
|
58
|
-
exports.
|
|
59
|
-
const
|
|
58
|
+
exports.se_CreateJobCommand = se_CreateJobCommand;
|
|
59
|
+
const se_CreateLongTermPricingCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "AWSIESnowballJobManagementService.CreateLongTermPricing",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_CreateLongTermPricingRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
exports.
|
|
69
|
-
const
|
|
68
|
+
exports.se_CreateLongTermPricingCommand = se_CreateLongTermPricingCommand;
|
|
69
|
+
const se_CreateReturnShippingLabelCommand = async (input, context) => {
|
|
70
70
|
const headers = {
|
|
71
71
|
"content-type": "application/x-amz-json-1.1",
|
|
72
72
|
"x-amz-target": "AWSIESnowballJobManagementService.CreateReturnShippingLabel",
|
|
73
73
|
};
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(se_CreateReturnShippingLabelRequest(input, context));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
|
-
exports.
|
|
79
|
-
const
|
|
78
|
+
exports.se_CreateReturnShippingLabelCommand = se_CreateReturnShippingLabelCommand;
|
|
79
|
+
const se_DescribeAddressCommand = async (input, context) => {
|
|
80
80
|
const headers = {
|
|
81
81
|
"content-type": "application/x-amz-json-1.1",
|
|
82
82
|
"x-amz-target": "AWSIESnowballJobManagementService.DescribeAddress",
|
|
83
83
|
};
|
|
84
84
|
let body;
|
|
85
|
-
body = JSON.stringify(
|
|
85
|
+
body = JSON.stringify(se_DescribeAddressRequest(input, context));
|
|
86
86
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
87
87
|
};
|
|
88
|
-
exports.
|
|
89
|
-
const
|
|
88
|
+
exports.se_DescribeAddressCommand = se_DescribeAddressCommand;
|
|
89
|
+
const se_DescribeAddressesCommand = async (input, context) => {
|
|
90
90
|
const headers = {
|
|
91
91
|
"content-type": "application/x-amz-json-1.1",
|
|
92
92
|
"x-amz-target": "AWSIESnowballJobManagementService.DescribeAddresses",
|
|
93
93
|
};
|
|
94
94
|
let body;
|
|
95
|
-
body = JSON.stringify(
|
|
95
|
+
body = JSON.stringify(se_DescribeAddressesRequest(input, context));
|
|
96
96
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
97
97
|
};
|
|
98
|
-
exports.
|
|
99
|
-
const
|
|
98
|
+
exports.se_DescribeAddressesCommand = se_DescribeAddressesCommand;
|
|
99
|
+
const se_DescribeClusterCommand = async (input, context) => {
|
|
100
100
|
const headers = {
|
|
101
101
|
"content-type": "application/x-amz-json-1.1",
|
|
102
102
|
"x-amz-target": "AWSIESnowballJobManagementService.DescribeCluster",
|
|
103
103
|
};
|
|
104
104
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify(se_DescribeClusterRequest(input, context));
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
108
|
-
exports.
|
|
109
|
-
const
|
|
108
|
+
exports.se_DescribeClusterCommand = se_DescribeClusterCommand;
|
|
109
|
+
const se_DescribeJobCommand = async (input, context) => {
|
|
110
110
|
const headers = {
|
|
111
111
|
"content-type": "application/x-amz-json-1.1",
|
|
112
112
|
"x-amz-target": "AWSIESnowballJobManagementService.DescribeJob",
|
|
113
113
|
};
|
|
114
114
|
let body;
|
|
115
|
-
body = JSON.stringify(
|
|
115
|
+
body = JSON.stringify(se_DescribeJobRequest(input, context));
|
|
116
116
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
117
117
|
};
|
|
118
|
-
exports.
|
|
119
|
-
const
|
|
118
|
+
exports.se_DescribeJobCommand = se_DescribeJobCommand;
|
|
119
|
+
const se_DescribeReturnShippingLabelCommand = async (input, context) => {
|
|
120
120
|
const headers = {
|
|
121
121
|
"content-type": "application/x-amz-json-1.1",
|
|
122
122
|
"x-amz-target": "AWSIESnowballJobManagementService.DescribeReturnShippingLabel",
|
|
123
123
|
};
|
|
124
124
|
let body;
|
|
125
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify(se_DescribeReturnShippingLabelRequest(input, context));
|
|
126
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
127
127
|
};
|
|
128
|
-
exports.
|
|
129
|
-
const
|
|
128
|
+
exports.se_DescribeReturnShippingLabelCommand = se_DescribeReturnShippingLabelCommand;
|
|
129
|
+
const se_GetJobManifestCommand = async (input, context) => {
|
|
130
130
|
const headers = {
|
|
131
131
|
"content-type": "application/x-amz-json-1.1",
|
|
132
132
|
"x-amz-target": "AWSIESnowballJobManagementService.GetJobManifest",
|
|
133
133
|
};
|
|
134
134
|
let body;
|
|
135
|
-
body = JSON.stringify(
|
|
135
|
+
body = JSON.stringify(se_GetJobManifestRequest(input, context));
|
|
136
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
137
|
};
|
|
138
|
-
exports.
|
|
139
|
-
const
|
|
138
|
+
exports.se_GetJobManifestCommand = se_GetJobManifestCommand;
|
|
139
|
+
const se_GetJobUnlockCodeCommand = async (input, context) => {
|
|
140
140
|
const headers = {
|
|
141
141
|
"content-type": "application/x-amz-json-1.1",
|
|
142
142
|
"x-amz-target": "AWSIESnowballJobManagementService.GetJobUnlockCode",
|
|
143
143
|
};
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify(se_GetJobUnlockCodeRequest(input, context));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
|
-
exports.
|
|
149
|
-
const
|
|
148
|
+
exports.se_GetJobUnlockCodeCommand = se_GetJobUnlockCodeCommand;
|
|
149
|
+
const se_GetSnowballUsageCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "AWSIESnowballJobManagementService.GetSnowballUsage",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_GetSnowballUsageRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
exports.
|
|
159
|
-
const
|
|
158
|
+
exports.se_GetSnowballUsageCommand = se_GetSnowballUsageCommand;
|
|
159
|
+
const se_GetSoftwareUpdatesCommand = async (input, context) => {
|
|
160
160
|
const headers = {
|
|
161
161
|
"content-type": "application/x-amz-json-1.1",
|
|
162
162
|
"x-amz-target": "AWSIESnowballJobManagementService.GetSoftwareUpdates",
|
|
163
163
|
};
|
|
164
164
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify(se_GetSoftwareUpdatesRequest(input, context));
|
|
166
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
167
|
};
|
|
168
|
-
exports.
|
|
169
|
-
const
|
|
168
|
+
exports.se_GetSoftwareUpdatesCommand = se_GetSoftwareUpdatesCommand;
|
|
169
|
+
const se_ListClusterJobsCommand = async (input, context) => {
|
|
170
170
|
const headers = {
|
|
171
171
|
"content-type": "application/x-amz-json-1.1",
|
|
172
172
|
"x-amz-target": "AWSIESnowballJobManagementService.ListClusterJobs",
|
|
173
173
|
};
|
|
174
174
|
let body;
|
|
175
|
-
body = JSON.stringify(
|
|
175
|
+
body = JSON.stringify(se_ListClusterJobsRequest(input, context));
|
|
176
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
177
|
};
|
|
178
|
-
exports.
|
|
179
|
-
const
|
|
178
|
+
exports.se_ListClusterJobsCommand = se_ListClusterJobsCommand;
|
|
179
|
+
const se_ListClustersCommand = async (input, context) => {
|
|
180
180
|
const headers = {
|
|
181
181
|
"content-type": "application/x-amz-json-1.1",
|
|
182
182
|
"x-amz-target": "AWSIESnowballJobManagementService.ListClusters",
|
|
183
183
|
};
|
|
184
184
|
let body;
|
|
185
|
-
body = JSON.stringify(
|
|
185
|
+
body = JSON.stringify(se_ListClustersRequest(input, context));
|
|
186
186
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
187
187
|
};
|
|
188
|
-
exports.
|
|
189
|
-
const
|
|
188
|
+
exports.se_ListClustersCommand = se_ListClustersCommand;
|
|
189
|
+
const se_ListCompatibleImagesCommand = async (input, context) => {
|
|
190
190
|
const headers = {
|
|
191
191
|
"content-type": "application/x-amz-json-1.1",
|
|
192
192
|
"x-amz-target": "AWSIESnowballJobManagementService.ListCompatibleImages",
|
|
193
193
|
};
|
|
194
194
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify(se_ListCompatibleImagesRequest(input, context));
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
|
-
exports.
|
|
199
|
-
const
|
|
198
|
+
exports.se_ListCompatibleImagesCommand = se_ListCompatibleImagesCommand;
|
|
199
|
+
const se_ListJobsCommand = async (input, context) => {
|
|
200
200
|
const headers = {
|
|
201
201
|
"content-type": "application/x-amz-json-1.1",
|
|
202
202
|
"x-amz-target": "AWSIESnowballJobManagementService.ListJobs",
|
|
203
203
|
};
|
|
204
204
|
let body;
|
|
205
|
-
body = JSON.stringify(
|
|
205
|
+
body = JSON.stringify(se_ListJobsRequest(input, context));
|
|
206
206
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
207
207
|
};
|
|
208
|
-
exports.
|
|
209
|
-
const
|
|
208
|
+
exports.se_ListJobsCommand = se_ListJobsCommand;
|
|
209
|
+
const se_ListLongTermPricingCommand = async (input, context) => {
|
|
210
210
|
const headers = {
|
|
211
211
|
"content-type": "application/x-amz-json-1.1",
|
|
212
212
|
"x-amz-target": "AWSIESnowballJobManagementService.ListLongTermPricing",
|
|
213
213
|
};
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify(se_ListLongTermPricingRequest(input, context));
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
218
|
-
exports.
|
|
219
|
-
const
|
|
218
|
+
exports.se_ListLongTermPricingCommand = se_ListLongTermPricingCommand;
|
|
219
|
+
const se_ListServiceVersionsCommand = async (input, context) => {
|
|
220
220
|
const headers = {
|
|
221
221
|
"content-type": "application/x-amz-json-1.1",
|
|
222
222
|
"x-amz-target": "AWSIESnowballJobManagementService.ListServiceVersions",
|
|
223
223
|
};
|
|
224
224
|
let body;
|
|
225
|
-
body = JSON.stringify(
|
|
225
|
+
body = JSON.stringify(se_ListServiceVersionsRequest(input, context));
|
|
226
226
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
227
|
};
|
|
228
|
-
exports.
|
|
229
|
-
const
|
|
228
|
+
exports.se_ListServiceVersionsCommand = se_ListServiceVersionsCommand;
|
|
229
|
+
const se_UpdateClusterCommand = async (input, context) => {
|
|
230
230
|
const headers = {
|
|
231
231
|
"content-type": "application/x-amz-json-1.1",
|
|
232
232
|
"x-amz-target": "AWSIESnowballJobManagementService.UpdateCluster",
|
|
233
233
|
};
|
|
234
234
|
let body;
|
|
235
|
-
body = JSON.stringify(
|
|
235
|
+
body = JSON.stringify(se_UpdateClusterRequest(input, context));
|
|
236
236
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
237
237
|
};
|
|
238
|
-
exports.
|
|
239
|
-
const
|
|
238
|
+
exports.se_UpdateClusterCommand = se_UpdateClusterCommand;
|
|
239
|
+
const se_UpdateJobCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.1",
|
|
242
242
|
"x-amz-target": "AWSIESnowballJobManagementService.UpdateJob",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_UpdateJobRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
exports.
|
|
249
|
-
const
|
|
248
|
+
exports.se_UpdateJobCommand = se_UpdateJobCommand;
|
|
249
|
+
const se_UpdateJobShipmentStateCommand = async (input, context) => {
|
|
250
250
|
const headers = {
|
|
251
251
|
"content-type": "application/x-amz-json-1.1",
|
|
252
252
|
"x-amz-target": "AWSIESnowballJobManagementService.UpdateJobShipmentState",
|
|
253
253
|
};
|
|
254
254
|
let body;
|
|
255
|
-
body = JSON.stringify(
|
|
255
|
+
body = JSON.stringify(se_UpdateJobShipmentStateRequest(input, context));
|
|
256
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
257
|
};
|
|
258
|
-
exports.
|
|
259
|
-
const
|
|
258
|
+
exports.se_UpdateJobShipmentStateCommand = se_UpdateJobShipmentStateCommand;
|
|
259
|
+
const se_UpdateLongTermPricingCommand = async (input, context) => {
|
|
260
260
|
const headers = {
|
|
261
261
|
"content-type": "application/x-amz-json-1.1",
|
|
262
262
|
"x-amz-target": "AWSIESnowballJobManagementService.UpdateLongTermPricing",
|
|
263
263
|
};
|
|
264
264
|
let body;
|
|
265
|
-
body = JSON.stringify(
|
|
265
|
+
body = JSON.stringify(se_UpdateLongTermPricingRequest(input, context));
|
|
266
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
267
|
};
|
|
268
|
-
exports.
|
|
269
|
-
const
|
|
268
|
+
exports.se_UpdateLongTermPricingCommand = se_UpdateLongTermPricingCommand;
|
|
269
|
+
const de_CancelClusterCommand = async (output, context) => {
|
|
270
270
|
if (output.statusCode >= 300) {
|
|
271
|
-
return
|
|
271
|
+
return de_CancelClusterCommandError(output, context);
|
|
272
272
|
}
|
|
273
273
|
const data = await parseBody(output.body, context);
|
|
274
274
|
let contents = {};
|
|
275
|
-
contents =
|
|
275
|
+
contents = de_CancelClusterResult(data, context);
|
|
276
276
|
const response = {
|
|
277
277
|
$metadata: deserializeMetadata(output),
|
|
278
278
|
...contents,
|
|
279
279
|
};
|
|
280
280
|
return Promise.resolve(response);
|
|
281
281
|
};
|
|
282
|
-
exports.
|
|
283
|
-
const
|
|
282
|
+
exports.de_CancelClusterCommand = de_CancelClusterCommand;
|
|
283
|
+
const de_CancelClusterCommandError = async (output, context) => {
|
|
284
284
|
const parsedOutput = {
|
|
285
285
|
...output,
|
|
286
286
|
body: await parseErrorBody(output.body, context),
|
|
@@ -289,13 +289,13 @@ const deserializeAws_json1_1CancelClusterCommandError = async (output, context)
|
|
|
289
289
|
switch (errorCode) {
|
|
290
290
|
case "InvalidJobStateException":
|
|
291
291
|
case "com.amazonaws.snowball#InvalidJobStateException":
|
|
292
|
-
throw await
|
|
292
|
+
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
293
293
|
case "InvalidResourceException":
|
|
294
294
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
295
|
-
throw await
|
|
295
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
296
296
|
case "KMSRequestFailedException":
|
|
297
297
|
case "com.amazonaws.snowball#KMSRequestFailedException":
|
|
298
|
-
throw await
|
|
298
|
+
throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
|
|
299
299
|
default:
|
|
300
300
|
const parsedBody = parsedOutput.body;
|
|
301
301
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -306,21 +306,21 @@ const deserializeAws_json1_1CancelClusterCommandError = async (output, context)
|
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
|
-
const
|
|
309
|
+
const de_CancelJobCommand = async (output, context) => {
|
|
310
310
|
if (output.statusCode >= 300) {
|
|
311
|
-
return
|
|
311
|
+
return de_CancelJobCommandError(output, context);
|
|
312
312
|
}
|
|
313
313
|
const data = await parseBody(output.body, context);
|
|
314
314
|
let contents = {};
|
|
315
|
-
contents =
|
|
315
|
+
contents = de_CancelJobResult(data, context);
|
|
316
316
|
const response = {
|
|
317
317
|
$metadata: deserializeMetadata(output),
|
|
318
318
|
...contents,
|
|
319
319
|
};
|
|
320
320
|
return Promise.resolve(response);
|
|
321
321
|
};
|
|
322
|
-
exports.
|
|
323
|
-
const
|
|
322
|
+
exports.de_CancelJobCommand = de_CancelJobCommand;
|
|
323
|
+
const de_CancelJobCommandError = async (output, context) => {
|
|
324
324
|
const parsedOutput = {
|
|
325
325
|
...output,
|
|
326
326
|
body: await parseErrorBody(output.body, context),
|
|
@@ -329,13 +329,13 @@ const deserializeAws_json1_1CancelJobCommandError = async (output, context) => {
|
|
|
329
329
|
switch (errorCode) {
|
|
330
330
|
case "InvalidJobStateException":
|
|
331
331
|
case "com.amazonaws.snowball#InvalidJobStateException":
|
|
332
|
-
throw await
|
|
332
|
+
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
333
333
|
case "InvalidResourceException":
|
|
334
334
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
335
|
-
throw await
|
|
335
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
336
336
|
case "KMSRequestFailedException":
|
|
337
337
|
case "com.amazonaws.snowball#KMSRequestFailedException":
|
|
338
|
-
throw await
|
|
338
|
+
throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
|
|
339
339
|
default:
|
|
340
340
|
const parsedBody = parsedOutput.body;
|
|
341
341
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -346,21 +346,21 @@ const deserializeAws_json1_1CancelJobCommandError = async (output, context) => {
|
|
|
346
346
|
});
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
|
-
const
|
|
349
|
+
const de_CreateAddressCommand = async (output, context) => {
|
|
350
350
|
if (output.statusCode >= 300) {
|
|
351
|
-
return
|
|
351
|
+
return de_CreateAddressCommandError(output, context);
|
|
352
352
|
}
|
|
353
353
|
const data = await parseBody(output.body, context);
|
|
354
354
|
let contents = {};
|
|
355
|
-
contents =
|
|
355
|
+
contents = de_CreateAddressResult(data, context);
|
|
356
356
|
const response = {
|
|
357
357
|
$metadata: deserializeMetadata(output),
|
|
358
358
|
...contents,
|
|
359
359
|
};
|
|
360
360
|
return Promise.resolve(response);
|
|
361
361
|
};
|
|
362
|
-
exports.
|
|
363
|
-
const
|
|
362
|
+
exports.de_CreateAddressCommand = de_CreateAddressCommand;
|
|
363
|
+
const de_CreateAddressCommandError = async (output, context) => {
|
|
364
364
|
const parsedOutput = {
|
|
365
365
|
...output,
|
|
366
366
|
body: await parseErrorBody(output.body, context),
|
|
@@ -369,10 +369,10 @@ const deserializeAws_json1_1CreateAddressCommandError = async (output, context)
|
|
|
369
369
|
switch (errorCode) {
|
|
370
370
|
case "InvalidAddressException":
|
|
371
371
|
case "com.amazonaws.snowball#InvalidAddressException":
|
|
372
|
-
throw await
|
|
372
|
+
throw await de_InvalidAddressExceptionRes(parsedOutput, context);
|
|
373
373
|
case "UnsupportedAddressException":
|
|
374
374
|
case "com.amazonaws.snowball#UnsupportedAddressException":
|
|
375
|
-
throw await
|
|
375
|
+
throw await de_UnsupportedAddressExceptionRes(parsedOutput, context);
|
|
376
376
|
default:
|
|
377
377
|
const parsedBody = parsedOutput.body;
|
|
378
378
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -383,21 +383,21 @@ const deserializeAws_json1_1CreateAddressCommandError = async (output, context)
|
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
};
|
|
386
|
-
const
|
|
386
|
+
const de_CreateClusterCommand = async (output, context) => {
|
|
387
387
|
if (output.statusCode >= 300) {
|
|
388
|
-
return
|
|
388
|
+
return de_CreateClusterCommandError(output, context);
|
|
389
389
|
}
|
|
390
390
|
const data = await parseBody(output.body, context);
|
|
391
391
|
let contents = {};
|
|
392
|
-
contents =
|
|
392
|
+
contents = de_CreateClusterResult(data, context);
|
|
393
393
|
const response = {
|
|
394
394
|
$metadata: deserializeMetadata(output),
|
|
395
395
|
...contents,
|
|
396
396
|
};
|
|
397
397
|
return Promise.resolve(response);
|
|
398
398
|
};
|
|
399
|
-
exports.
|
|
400
|
-
const
|
|
399
|
+
exports.de_CreateClusterCommand = de_CreateClusterCommand;
|
|
400
|
+
const de_CreateClusterCommandError = async (output, context) => {
|
|
401
401
|
const parsedOutput = {
|
|
402
402
|
...output,
|
|
403
403
|
body: await parseErrorBody(output.body, context),
|
|
@@ -406,16 +406,16 @@ const deserializeAws_json1_1CreateClusterCommandError = async (output, context)
|
|
|
406
406
|
switch (errorCode) {
|
|
407
407
|
case "Ec2RequestFailedException":
|
|
408
408
|
case "com.amazonaws.snowball#Ec2RequestFailedException":
|
|
409
|
-
throw await
|
|
409
|
+
throw await de_Ec2RequestFailedExceptionRes(parsedOutput, context);
|
|
410
410
|
case "InvalidInputCombinationException":
|
|
411
411
|
case "com.amazonaws.snowball#InvalidInputCombinationException":
|
|
412
|
-
throw await
|
|
412
|
+
throw await de_InvalidInputCombinationExceptionRes(parsedOutput, context);
|
|
413
413
|
case "InvalidResourceException":
|
|
414
414
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
415
|
-
throw await
|
|
415
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
416
416
|
case "KMSRequestFailedException":
|
|
417
417
|
case "com.amazonaws.snowball#KMSRequestFailedException":
|
|
418
|
-
throw await
|
|
418
|
+
throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
|
|
419
419
|
default:
|
|
420
420
|
const parsedBody = parsedOutput.body;
|
|
421
421
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -426,21 +426,21 @@ const deserializeAws_json1_1CreateClusterCommandError = async (output, context)
|
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
428
|
};
|
|
429
|
-
const
|
|
429
|
+
const de_CreateJobCommand = async (output, context) => {
|
|
430
430
|
if (output.statusCode >= 300) {
|
|
431
|
-
return
|
|
431
|
+
return de_CreateJobCommandError(output, context);
|
|
432
432
|
}
|
|
433
433
|
const data = await parseBody(output.body, context);
|
|
434
434
|
let contents = {};
|
|
435
|
-
contents =
|
|
435
|
+
contents = de_CreateJobResult(data, context);
|
|
436
436
|
const response = {
|
|
437
437
|
$metadata: deserializeMetadata(output),
|
|
438
438
|
...contents,
|
|
439
439
|
};
|
|
440
440
|
return Promise.resolve(response);
|
|
441
441
|
};
|
|
442
|
-
exports.
|
|
443
|
-
const
|
|
442
|
+
exports.de_CreateJobCommand = de_CreateJobCommand;
|
|
443
|
+
const de_CreateJobCommandError = async (output, context) => {
|
|
444
444
|
const parsedOutput = {
|
|
445
445
|
...output,
|
|
446
446
|
body: await parseErrorBody(output.body, context),
|
|
@@ -449,19 +449,19 @@ const deserializeAws_json1_1CreateJobCommandError = async (output, context) => {
|
|
|
449
449
|
switch (errorCode) {
|
|
450
450
|
case "ClusterLimitExceededException":
|
|
451
451
|
case "com.amazonaws.snowball#ClusterLimitExceededException":
|
|
452
|
-
throw await
|
|
452
|
+
throw await de_ClusterLimitExceededExceptionRes(parsedOutput, context);
|
|
453
453
|
case "Ec2RequestFailedException":
|
|
454
454
|
case "com.amazonaws.snowball#Ec2RequestFailedException":
|
|
455
|
-
throw await
|
|
455
|
+
throw await de_Ec2RequestFailedExceptionRes(parsedOutput, context);
|
|
456
456
|
case "InvalidInputCombinationException":
|
|
457
457
|
case "com.amazonaws.snowball#InvalidInputCombinationException":
|
|
458
|
-
throw await
|
|
458
|
+
throw await de_InvalidInputCombinationExceptionRes(parsedOutput, context);
|
|
459
459
|
case "InvalidResourceException":
|
|
460
460
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
461
|
-
throw await
|
|
461
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
462
462
|
case "KMSRequestFailedException":
|
|
463
463
|
case "com.amazonaws.snowball#KMSRequestFailedException":
|
|
464
|
-
throw await
|
|
464
|
+
throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
|
|
465
465
|
default:
|
|
466
466
|
const parsedBody = parsedOutput.body;
|
|
467
467
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -472,21 +472,21 @@ const deserializeAws_json1_1CreateJobCommandError = async (output, context) => {
|
|
|
472
472
|
});
|
|
473
473
|
}
|
|
474
474
|
};
|
|
475
|
-
const
|
|
475
|
+
const de_CreateLongTermPricingCommand = async (output, context) => {
|
|
476
476
|
if (output.statusCode >= 300) {
|
|
477
|
-
return
|
|
477
|
+
return de_CreateLongTermPricingCommandError(output, context);
|
|
478
478
|
}
|
|
479
479
|
const data = await parseBody(output.body, context);
|
|
480
480
|
let contents = {};
|
|
481
|
-
contents =
|
|
481
|
+
contents = de_CreateLongTermPricingResult(data, context);
|
|
482
482
|
const response = {
|
|
483
483
|
$metadata: deserializeMetadata(output),
|
|
484
484
|
...contents,
|
|
485
485
|
};
|
|
486
486
|
return Promise.resolve(response);
|
|
487
487
|
};
|
|
488
|
-
exports.
|
|
489
|
-
const
|
|
488
|
+
exports.de_CreateLongTermPricingCommand = de_CreateLongTermPricingCommand;
|
|
489
|
+
const de_CreateLongTermPricingCommandError = async (output, context) => {
|
|
490
490
|
const parsedOutput = {
|
|
491
491
|
...output,
|
|
492
492
|
body: await parseErrorBody(output.body, context),
|
|
@@ -495,7 +495,7 @@ const deserializeAws_json1_1CreateLongTermPricingCommandError = async (output, c
|
|
|
495
495
|
switch (errorCode) {
|
|
496
496
|
case "InvalidResourceException":
|
|
497
497
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
498
|
-
throw await
|
|
498
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
499
499
|
default:
|
|
500
500
|
const parsedBody = parsedOutput.body;
|
|
501
501
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -506,21 +506,21 @@ const deserializeAws_json1_1CreateLongTermPricingCommandError = async (output, c
|
|
|
506
506
|
});
|
|
507
507
|
}
|
|
508
508
|
};
|
|
509
|
-
const
|
|
509
|
+
const de_CreateReturnShippingLabelCommand = async (output, context) => {
|
|
510
510
|
if (output.statusCode >= 300) {
|
|
511
|
-
return
|
|
511
|
+
return de_CreateReturnShippingLabelCommandError(output, context);
|
|
512
512
|
}
|
|
513
513
|
const data = await parseBody(output.body, context);
|
|
514
514
|
let contents = {};
|
|
515
|
-
contents =
|
|
515
|
+
contents = de_CreateReturnShippingLabelResult(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
|
-
exports.
|
|
523
|
-
const
|
|
522
|
+
exports.de_CreateReturnShippingLabelCommand = de_CreateReturnShippingLabelCommand;
|
|
523
|
+
const de_CreateReturnShippingLabelCommandError = async (output, context) => {
|
|
524
524
|
const parsedOutput = {
|
|
525
525
|
...output,
|
|
526
526
|
body: await parseErrorBody(output.body, context),
|
|
@@ -529,19 +529,19 @@ const deserializeAws_json1_1CreateReturnShippingLabelCommandError = async (outpu
|
|
|
529
529
|
switch (errorCode) {
|
|
530
530
|
case "ConflictException":
|
|
531
531
|
case "com.amazonaws.snowball#ConflictException":
|
|
532
|
-
throw await
|
|
532
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
533
533
|
case "InvalidInputCombinationException":
|
|
534
534
|
case "com.amazonaws.snowball#InvalidInputCombinationException":
|
|
535
|
-
throw await
|
|
535
|
+
throw await de_InvalidInputCombinationExceptionRes(parsedOutput, context);
|
|
536
536
|
case "InvalidJobStateException":
|
|
537
537
|
case "com.amazonaws.snowball#InvalidJobStateException":
|
|
538
|
-
throw await
|
|
538
|
+
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
539
539
|
case "InvalidResourceException":
|
|
540
540
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
541
|
-
throw await
|
|
541
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
542
542
|
case "ReturnShippingLabelAlreadyExistsException":
|
|
543
543
|
case "com.amazonaws.snowball#ReturnShippingLabelAlreadyExistsException":
|
|
544
|
-
throw await
|
|
544
|
+
throw await de_ReturnShippingLabelAlreadyExistsExceptionRes(parsedOutput, context);
|
|
545
545
|
default:
|
|
546
546
|
const parsedBody = parsedOutput.body;
|
|
547
547
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -552,21 +552,21 @@ const deserializeAws_json1_1CreateReturnShippingLabelCommandError = async (outpu
|
|
|
552
552
|
});
|
|
553
553
|
}
|
|
554
554
|
};
|
|
555
|
-
const
|
|
555
|
+
const de_DescribeAddressCommand = async (output, context) => {
|
|
556
556
|
if (output.statusCode >= 300) {
|
|
557
|
-
return
|
|
557
|
+
return de_DescribeAddressCommandError(output, context);
|
|
558
558
|
}
|
|
559
559
|
const data = await parseBody(output.body, context);
|
|
560
560
|
let contents = {};
|
|
561
|
-
contents =
|
|
561
|
+
contents = de_DescribeAddressResult(data, context);
|
|
562
562
|
const response = {
|
|
563
563
|
$metadata: deserializeMetadata(output),
|
|
564
564
|
...contents,
|
|
565
565
|
};
|
|
566
566
|
return Promise.resolve(response);
|
|
567
567
|
};
|
|
568
|
-
exports.
|
|
569
|
-
const
|
|
568
|
+
exports.de_DescribeAddressCommand = de_DescribeAddressCommand;
|
|
569
|
+
const de_DescribeAddressCommandError = async (output, context) => {
|
|
570
570
|
const parsedOutput = {
|
|
571
571
|
...output,
|
|
572
572
|
body: await parseErrorBody(output.body, context),
|
|
@@ -575,7 +575,7 @@ const deserializeAws_json1_1DescribeAddressCommandError = async (output, context
|
|
|
575
575
|
switch (errorCode) {
|
|
576
576
|
case "InvalidResourceException":
|
|
577
577
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
578
|
-
throw await
|
|
578
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
579
579
|
default:
|
|
580
580
|
const parsedBody = parsedOutput.body;
|
|
581
581
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -586,21 +586,21 @@ const deserializeAws_json1_1DescribeAddressCommandError = async (output, context
|
|
|
586
586
|
});
|
|
587
587
|
}
|
|
588
588
|
};
|
|
589
|
-
const
|
|
589
|
+
const de_DescribeAddressesCommand = async (output, context) => {
|
|
590
590
|
if (output.statusCode >= 300) {
|
|
591
|
-
return
|
|
591
|
+
return de_DescribeAddressesCommandError(output, context);
|
|
592
592
|
}
|
|
593
593
|
const data = await parseBody(output.body, context);
|
|
594
594
|
let contents = {};
|
|
595
|
-
contents =
|
|
595
|
+
contents = de_DescribeAddressesResult(data, context);
|
|
596
596
|
const response = {
|
|
597
597
|
$metadata: deserializeMetadata(output),
|
|
598
598
|
...contents,
|
|
599
599
|
};
|
|
600
600
|
return Promise.resolve(response);
|
|
601
601
|
};
|
|
602
|
-
exports.
|
|
603
|
-
const
|
|
602
|
+
exports.de_DescribeAddressesCommand = de_DescribeAddressesCommand;
|
|
603
|
+
const de_DescribeAddressesCommandError = async (output, context) => {
|
|
604
604
|
const parsedOutput = {
|
|
605
605
|
...output,
|
|
606
606
|
body: await parseErrorBody(output.body, context),
|
|
@@ -609,10 +609,10 @@ const deserializeAws_json1_1DescribeAddressesCommandError = async (output, conte
|
|
|
609
609
|
switch (errorCode) {
|
|
610
610
|
case "InvalidNextTokenException":
|
|
611
611
|
case "com.amazonaws.snowball#InvalidNextTokenException":
|
|
612
|
-
throw await
|
|
612
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
613
613
|
case "InvalidResourceException":
|
|
614
614
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
615
|
-
throw await
|
|
615
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
616
616
|
default:
|
|
617
617
|
const parsedBody = parsedOutput.body;
|
|
618
618
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -623,21 +623,21 @@ const deserializeAws_json1_1DescribeAddressesCommandError = async (output, conte
|
|
|
623
623
|
});
|
|
624
624
|
}
|
|
625
625
|
};
|
|
626
|
-
const
|
|
626
|
+
const de_DescribeClusterCommand = async (output, context) => {
|
|
627
627
|
if (output.statusCode >= 300) {
|
|
628
|
-
return
|
|
628
|
+
return de_DescribeClusterCommandError(output, context);
|
|
629
629
|
}
|
|
630
630
|
const data = await parseBody(output.body, context);
|
|
631
631
|
let contents = {};
|
|
632
|
-
contents =
|
|
632
|
+
contents = de_DescribeClusterResult(data, context);
|
|
633
633
|
const response = {
|
|
634
634
|
$metadata: deserializeMetadata(output),
|
|
635
635
|
...contents,
|
|
636
636
|
};
|
|
637
637
|
return Promise.resolve(response);
|
|
638
638
|
};
|
|
639
|
-
exports.
|
|
640
|
-
const
|
|
639
|
+
exports.de_DescribeClusterCommand = de_DescribeClusterCommand;
|
|
640
|
+
const de_DescribeClusterCommandError = async (output, context) => {
|
|
641
641
|
const parsedOutput = {
|
|
642
642
|
...output,
|
|
643
643
|
body: await parseErrorBody(output.body, context),
|
|
@@ -646,7 +646,7 @@ const deserializeAws_json1_1DescribeClusterCommandError = async (output, context
|
|
|
646
646
|
switch (errorCode) {
|
|
647
647
|
case "InvalidResourceException":
|
|
648
648
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
649
|
-
throw await
|
|
649
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
650
650
|
default:
|
|
651
651
|
const parsedBody = parsedOutput.body;
|
|
652
652
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -657,21 +657,21 @@ const deserializeAws_json1_1DescribeClusterCommandError = async (output, context
|
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
659
|
};
|
|
660
|
-
const
|
|
660
|
+
const de_DescribeJobCommand = async (output, context) => {
|
|
661
661
|
if (output.statusCode >= 300) {
|
|
662
|
-
return
|
|
662
|
+
return de_DescribeJobCommandError(output, context);
|
|
663
663
|
}
|
|
664
664
|
const data = await parseBody(output.body, context);
|
|
665
665
|
let contents = {};
|
|
666
|
-
contents =
|
|
666
|
+
contents = de_DescribeJobResult(data, context);
|
|
667
667
|
const response = {
|
|
668
668
|
$metadata: deserializeMetadata(output),
|
|
669
669
|
...contents,
|
|
670
670
|
};
|
|
671
671
|
return Promise.resolve(response);
|
|
672
672
|
};
|
|
673
|
-
exports.
|
|
674
|
-
const
|
|
673
|
+
exports.de_DescribeJobCommand = de_DescribeJobCommand;
|
|
674
|
+
const de_DescribeJobCommandError = async (output, context) => {
|
|
675
675
|
const parsedOutput = {
|
|
676
676
|
...output,
|
|
677
677
|
body: await parseErrorBody(output.body, context),
|
|
@@ -680,7 +680,7 @@ const deserializeAws_json1_1DescribeJobCommandError = async (output, context) =>
|
|
|
680
680
|
switch (errorCode) {
|
|
681
681
|
case "InvalidResourceException":
|
|
682
682
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
683
|
-
throw await
|
|
683
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
684
684
|
default:
|
|
685
685
|
const parsedBody = parsedOutput.body;
|
|
686
686
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -691,21 +691,21 @@ const deserializeAws_json1_1DescribeJobCommandError = async (output, context) =>
|
|
|
691
691
|
});
|
|
692
692
|
}
|
|
693
693
|
};
|
|
694
|
-
const
|
|
694
|
+
const de_DescribeReturnShippingLabelCommand = async (output, context) => {
|
|
695
695
|
if (output.statusCode >= 300) {
|
|
696
|
-
return
|
|
696
|
+
return de_DescribeReturnShippingLabelCommandError(output, context);
|
|
697
697
|
}
|
|
698
698
|
const data = await parseBody(output.body, context);
|
|
699
699
|
let contents = {};
|
|
700
|
-
contents =
|
|
700
|
+
contents = de_DescribeReturnShippingLabelResult(data, context);
|
|
701
701
|
const response = {
|
|
702
702
|
$metadata: deserializeMetadata(output),
|
|
703
703
|
...contents,
|
|
704
704
|
};
|
|
705
705
|
return Promise.resolve(response);
|
|
706
706
|
};
|
|
707
|
-
exports.
|
|
708
|
-
const
|
|
707
|
+
exports.de_DescribeReturnShippingLabelCommand = de_DescribeReturnShippingLabelCommand;
|
|
708
|
+
const de_DescribeReturnShippingLabelCommandError = async (output, context) => {
|
|
709
709
|
const parsedOutput = {
|
|
710
710
|
...output,
|
|
711
711
|
body: await parseErrorBody(output.body, context),
|
|
@@ -714,13 +714,13 @@ const deserializeAws_json1_1DescribeReturnShippingLabelCommandError = async (out
|
|
|
714
714
|
switch (errorCode) {
|
|
715
715
|
case "ConflictException":
|
|
716
716
|
case "com.amazonaws.snowball#ConflictException":
|
|
717
|
-
throw await
|
|
717
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
718
718
|
case "InvalidJobStateException":
|
|
719
719
|
case "com.amazonaws.snowball#InvalidJobStateException":
|
|
720
|
-
throw await
|
|
720
|
+
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
721
721
|
case "InvalidResourceException":
|
|
722
722
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
723
|
-
throw await
|
|
723
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
724
724
|
default:
|
|
725
725
|
const parsedBody = parsedOutput.body;
|
|
726
726
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -731,21 +731,21 @@ const deserializeAws_json1_1DescribeReturnShippingLabelCommandError = async (out
|
|
|
731
731
|
});
|
|
732
732
|
}
|
|
733
733
|
};
|
|
734
|
-
const
|
|
734
|
+
const de_GetJobManifestCommand = async (output, context) => {
|
|
735
735
|
if (output.statusCode >= 300) {
|
|
736
|
-
return
|
|
736
|
+
return de_GetJobManifestCommandError(output, context);
|
|
737
737
|
}
|
|
738
738
|
const data = await parseBody(output.body, context);
|
|
739
739
|
let contents = {};
|
|
740
|
-
contents =
|
|
740
|
+
contents = de_GetJobManifestResult(data, context);
|
|
741
741
|
const response = {
|
|
742
742
|
$metadata: deserializeMetadata(output),
|
|
743
743
|
...contents,
|
|
744
744
|
};
|
|
745
745
|
return Promise.resolve(response);
|
|
746
746
|
};
|
|
747
|
-
exports.
|
|
748
|
-
const
|
|
747
|
+
exports.de_GetJobManifestCommand = de_GetJobManifestCommand;
|
|
748
|
+
const de_GetJobManifestCommandError = async (output, context) => {
|
|
749
749
|
const parsedOutput = {
|
|
750
750
|
...output,
|
|
751
751
|
body: await parseErrorBody(output.body, context),
|
|
@@ -754,10 +754,10 @@ const deserializeAws_json1_1GetJobManifestCommandError = async (output, context)
|
|
|
754
754
|
switch (errorCode) {
|
|
755
755
|
case "InvalidJobStateException":
|
|
756
756
|
case "com.amazonaws.snowball#InvalidJobStateException":
|
|
757
|
-
throw await
|
|
757
|
+
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
758
758
|
case "InvalidResourceException":
|
|
759
759
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
760
|
-
throw await
|
|
760
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
761
761
|
default:
|
|
762
762
|
const parsedBody = parsedOutput.body;
|
|
763
763
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -768,21 +768,21 @@ const deserializeAws_json1_1GetJobManifestCommandError = async (output, context)
|
|
|
768
768
|
});
|
|
769
769
|
}
|
|
770
770
|
};
|
|
771
|
-
const
|
|
771
|
+
const de_GetJobUnlockCodeCommand = async (output, context) => {
|
|
772
772
|
if (output.statusCode >= 300) {
|
|
773
|
-
return
|
|
773
|
+
return de_GetJobUnlockCodeCommandError(output, context);
|
|
774
774
|
}
|
|
775
775
|
const data = await parseBody(output.body, context);
|
|
776
776
|
let contents = {};
|
|
777
|
-
contents =
|
|
777
|
+
contents = de_GetJobUnlockCodeResult(data, context);
|
|
778
778
|
const response = {
|
|
779
779
|
$metadata: deserializeMetadata(output),
|
|
780
780
|
...contents,
|
|
781
781
|
};
|
|
782
782
|
return Promise.resolve(response);
|
|
783
783
|
};
|
|
784
|
-
exports.
|
|
785
|
-
const
|
|
784
|
+
exports.de_GetJobUnlockCodeCommand = de_GetJobUnlockCodeCommand;
|
|
785
|
+
const de_GetJobUnlockCodeCommandError = async (output, context) => {
|
|
786
786
|
const parsedOutput = {
|
|
787
787
|
...output,
|
|
788
788
|
body: await parseErrorBody(output.body, context),
|
|
@@ -791,10 +791,10 @@ const deserializeAws_json1_1GetJobUnlockCodeCommandError = async (output, contex
|
|
|
791
791
|
switch (errorCode) {
|
|
792
792
|
case "InvalidJobStateException":
|
|
793
793
|
case "com.amazonaws.snowball#InvalidJobStateException":
|
|
794
|
-
throw await
|
|
794
|
+
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
795
795
|
case "InvalidResourceException":
|
|
796
796
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
797
|
-
throw await
|
|
797
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
798
798
|
default:
|
|
799
799
|
const parsedBody = parsedOutput.body;
|
|
800
800
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -805,21 +805,21 @@ const deserializeAws_json1_1GetJobUnlockCodeCommandError = async (output, contex
|
|
|
805
805
|
});
|
|
806
806
|
}
|
|
807
807
|
};
|
|
808
|
-
const
|
|
808
|
+
const de_GetSnowballUsageCommand = async (output, context) => {
|
|
809
809
|
if (output.statusCode >= 300) {
|
|
810
|
-
return
|
|
810
|
+
return de_GetSnowballUsageCommandError(output, context);
|
|
811
811
|
}
|
|
812
812
|
const data = await parseBody(output.body, context);
|
|
813
813
|
let contents = {};
|
|
814
|
-
contents =
|
|
814
|
+
contents = de_GetSnowballUsageResult(data, context);
|
|
815
815
|
const response = {
|
|
816
816
|
$metadata: deserializeMetadata(output),
|
|
817
817
|
...contents,
|
|
818
818
|
};
|
|
819
819
|
return Promise.resolve(response);
|
|
820
820
|
};
|
|
821
|
-
exports.
|
|
822
|
-
const
|
|
821
|
+
exports.de_GetSnowballUsageCommand = de_GetSnowballUsageCommand;
|
|
822
|
+
const de_GetSnowballUsageCommandError = async (output, context) => {
|
|
823
823
|
const parsedOutput = {
|
|
824
824
|
...output,
|
|
825
825
|
body: await parseErrorBody(output.body, context),
|
|
@@ -833,21 +833,21 @@ const deserializeAws_json1_1GetSnowballUsageCommandError = async (output, contex
|
|
|
833
833
|
errorCode,
|
|
834
834
|
});
|
|
835
835
|
};
|
|
836
|
-
const
|
|
836
|
+
const de_GetSoftwareUpdatesCommand = async (output, context) => {
|
|
837
837
|
if (output.statusCode >= 300) {
|
|
838
|
-
return
|
|
838
|
+
return de_GetSoftwareUpdatesCommandError(output, context);
|
|
839
839
|
}
|
|
840
840
|
const data = await parseBody(output.body, context);
|
|
841
841
|
let contents = {};
|
|
842
|
-
contents =
|
|
842
|
+
contents = de_GetSoftwareUpdatesResult(data, context);
|
|
843
843
|
const response = {
|
|
844
844
|
$metadata: deserializeMetadata(output),
|
|
845
845
|
...contents,
|
|
846
846
|
};
|
|
847
847
|
return Promise.resolve(response);
|
|
848
848
|
};
|
|
849
|
-
exports.
|
|
850
|
-
const
|
|
849
|
+
exports.de_GetSoftwareUpdatesCommand = de_GetSoftwareUpdatesCommand;
|
|
850
|
+
const de_GetSoftwareUpdatesCommandError = async (output, context) => {
|
|
851
851
|
const parsedOutput = {
|
|
852
852
|
...output,
|
|
853
853
|
body: await parseErrorBody(output.body, context),
|
|
@@ -856,10 +856,10 @@ const deserializeAws_json1_1GetSoftwareUpdatesCommandError = async (output, cont
|
|
|
856
856
|
switch (errorCode) {
|
|
857
857
|
case "InvalidJobStateException":
|
|
858
858
|
case "com.amazonaws.snowball#InvalidJobStateException":
|
|
859
|
-
throw await
|
|
859
|
+
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
860
860
|
case "InvalidResourceException":
|
|
861
861
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
862
|
-
throw await
|
|
862
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
863
863
|
default:
|
|
864
864
|
const parsedBody = parsedOutput.body;
|
|
865
865
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -870,21 +870,21 @@ const deserializeAws_json1_1GetSoftwareUpdatesCommandError = async (output, cont
|
|
|
870
870
|
});
|
|
871
871
|
}
|
|
872
872
|
};
|
|
873
|
-
const
|
|
873
|
+
const de_ListClusterJobsCommand = async (output, context) => {
|
|
874
874
|
if (output.statusCode >= 300) {
|
|
875
|
-
return
|
|
875
|
+
return de_ListClusterJobsCommandError(output, context);
|
|
876
876
|
}
|
|
877
877
|
const data = await parseBody(output.body, context);
|
|
878
878
|
let contents = {};
|
|
879
|
-
contents =
|
|
879
|
+
contents = de_ListClusterJobsResult(data, context);
|
|
880
880
|
const response = {
|
|
881
881
|
$metadata: deserializeMetadata(output),
|
|
882
882
|
...contents,
|
|
883
883
|
};
|
|
884
884
|
return Promise.resolve(response);
|
|
885
885
|
};
|
|
886
|
-
exports.
|
|
887
|
-
const
|
|
886
|
+
exports.de_ListClusterJobsCommand = de_ListClusterJobsCommand;
|
|
887
|
+
const de_ListClusterJobsCommandError = async (output, context) => {
|
|
888
888
|
const parsedOutput = {
|
|
889
889
|
...output,
|
|
890
890
|
body: await parseErrorBody(output.body, context),
|
|
@@ -893,10 +893,10 @@ const deserializeAws_json1_1ListClusterJobsCommandError = async (output, context
|
|
|
893
893
|
switch (errorCode) {
|
|
894
894
|
case "InvalidNextTokenException":
|
|
895
895
|
case "com.amazonaws.snowball#InvalidNextTokenException":
|
|
896
|
-
throw await
|
|
896
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
897
897
|
case "InvalidResourceException":
|
|
898
898
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
899
|
-
throw await
|
|
899
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
900
900
|
default:
|
|
901
901
|
const parsedBody = parsedOutput.body;
|
|
902
902
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -907,21 +907,21 @@ const deserializeAws_json1_1ListClusterJobsCommandError = async (output, context
|
|
|
907
907
|
});
|
|
908
908
|
}
|
|
909
909
|
};
|
|
910
|
-
const
|
|
910
|
+
const de_ListClustersCommand = async (output, context) => {
|
|
911
911
|
if (output.statusCode >= 300) {
|
|
912
|
-
return
|
|
912
|
+
return de_ListClustersCommandError(output, context);
|
|
913
913
|
}
|
|
914
914
|
const data = await parseBody(output.body, context);
|
|
915
915
|
let contents = {};
|
|
916
|
-
contents =
|
|
916
|
+
contents = de_ListClustersResult(data, context);
|
|
917
917
|
const response = {
|
|
918
918
|
$metadata: deserializeMetadata(output),
|
|
919
919
|
...contents,
|
|
920
920
|
};
|
|
921
921
|
return Promise.resolve(response);
|
|
922
922
|
};
|
|
923
|
-
exports.
|
|
924
|
-
const
|
|
923
|
+
exports.de_ListClustersCommand = de_ListClustersCommand;
|
|
924
|
+
const de_ListClustersCommandError = async (output, context) => {
|
|
925
925
|
const parsedOutput = {
|
|
926
926
|
...output,
|
|
927
927
|
body: await parseErrorBody(output.body, context),
|
|
@@ -930,7 +930,7 @@ const deserializeAws_json1_1ListClustersCommandError = async (output, context) =
|
|
|
930
930
|
switch (errorCode) {
|
|
931
931
|
case "InvalidNextTokenException":
|
|
932
932
|
case "com.amazonaws.snowball#InvalidNextTokenException":
|
|
933
|
-
throw await
|
|
933
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
934
934
|
default:
|
|
935
935
|
const parsedBody = parsedOutput.body;
|
|
936
936
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -941,21 +941,21 @@ const deserializeAws_json1_1ListClustersCommandError = async (output, context) =
|
|
|
941
941
|
});
|
|
942
942
|
}
|
|
943
943
|
};
|
|
944
|
-
const
|
|
944
|
+
const de_ListCompatibleImagesCommand = async (output, context) => {
|
|
945
945
|
if (output.statusCode >= 300) {
|
|
946
|
-
return
|
|
946
|
+
return de_ListCompatibleImagesCommandError(output, context);
|
|
947
947
|
}
|
|
948
948
|
const data = await parseBody(output.body, context);
|
|
949
949
|
let contents = {};
|
|
950
|
-
contents =
|
|
950
|
+
contents = de_ListCompatibleImagesResult(data, context);
|
|
951
951
|
const response = {
|
|
952
952
|
$metadata: deserializeMetadata(output),
|
|
953
953
|
...contents,
|
|
954
954
|
};
|
|
955
955
|
return Promise.resolve(response);
|
|
956
956
|
};
|
|
957
|
-
exports.
|
|
958
|
-
const
|
|
957
|
+
exports.de_ListCompatibleImagesCommand = de_ListCompatibleImagesCommand;
|
|
958
|
+
const de_ListCompatibleImagesCommandError = async (output, context) => {
|
|
959
959
|
const parsedOutput = {
|
|
960
960
|
...output,
|
|
961
961
|
body: await parseErrorBody(output.body, context),
|
|
@@ -964,10 +964,10 @@ const deserializeAws_json1_1ListCompatibleImagesCommandError = async (output, co
|
|
|
964
964
|
switch (errorCode) {
|
|
965
965
|
case "Ec2RequestFailedException":
|
|
966
966
|
case "com.amazonaws.snowball#Ec2RequestFailedException":
|
|
967
|
-
throw await
|
|
967
|
+
throw await de_Ec2RequestFailedExceptionRes(parsedOutput, context);
|
|
968
968
|
case "InvalidNextTokenException":
|
|
969
969
|
case "com.amazonaws.snowball#InvalidNextTokenException":
|
|
970
|
-
throw await
|
|
970
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
971
971
|
default:
|
|
972
972
|
const parsedBody = parsedOutput.body;
|
|
973
973
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -978,21 +978,21 @@ const deserializeAws_json1_1ListCompatibleImagesCommandError = async (output, co
|
|
|
978
978
|
});
|
|
979
979
|
}
|
|
980
980
|
};
|
|
981
|
-
const
|
|
981
|
+
const de_ListJobsCommand = async (output, context) => {
|
|
982
982
|
if (output.statusCode >= 300) {
|
|
983
|
-
return
|
|
983
|
+
return de_ListJobsCommandError(output, context);
|
|
984
984
|
}
|
|
985
985
|
const data = await parseBody(output.body, context);
|
|
986
986
|
let contents = {};
|
|
987
|
-
contents =
|
|
987
|
+
contents = de_ListJobsResult(data, context);
|
|
988
988
|
const response = {
|
|
989
989
|
$metadata: deserializeMetadata(output),
|
|
990
990
|
...contents,
|
|
991
991
|
};
|
|
992
992
|
return Promise.resolve(response);
|
|
993
993
|
};
|
|
994
|
-
exports.
|
|
995
|
-
const
|
|
994
|
+
exports.de_ListJobsCommand = de_ListJobsCommand;
|
|
995
|
+
const de_ListJobsCommandError = async (output, context) => {
|
|
996
996
|
const parsedOutput = {
|
|
997
997
|
...output,
|
|
998
998
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1001,7 +1001,7 @@ const deserializeAws_json1_1ListJobsCommandError = async (output, context) => {
|
|
|
1001
1001
|
switch (errorCode) {
|
|
1002
1002
|
case "InvalidNextTokenException":
|
|
1003
1003
|
case "com.amazonaws.snowball#InvalidNextTokenException":
|
|
1004
|
-
throw await
|
|
1004
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1005
1005
|
default:
|
|
1006
1006
|
const parsedBody = parsedOutput.body;
|
|
1007
1007
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1012,21 +1012,21 @@ const deserializeAws_json1_1ListJobsCommandError = async (output, context) => {
|
|
|
1012
1012
|
});
|
|
1013
1013
|
}
|
|
1014
1014
|
};
|
|
1015
|
-
const
|
|
1015
|
+
const de_ListLongTermPricingCommand = async (output, context) => {
|
|
1016
1016
|
if (output.statusCode >= 300) {
|
|
1017
|
-
return
|
|
1017
|
+
return de_ListLongTermPricingCommandError(output, context);
|
|
1018
1018
|
}
|
|
1019
1019
|
const data = await parseBody(output.body, context);
|
|
1020
1020
|
let contents = {};
|
|
1021
|
-
contents =
|
|
1021
|
+
contents = de_ListLongTermPricingResult(data, context);
|
|
1022
1022
|
const response = {
|
|
1023
1023
|
$metadata: deserializeMetadata(output),
|
|
1024
1024
|
...contents,
|
|
1025
1025
|
};
|
|
1026
1026
|
return Promise.resolve(response);
|
|
1027
1027
|
};
|
|
1028
|
-
exports.
|
|
1029
|
-
const
|
|
1028
|
+
exports.de_ListLongTermPricingCommand = de_ListLongTermPricingCommand;
|
|
1029
|
+
const de_ListLongTermPricingCommandError = async (output, context) => {
|
|
1030
1030
|
const parsedOutput = {
|
|
1031
1031
|
...output,
|
|
1032
1032
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1035,10 +1035,10 @@ const deserializeAws_json1_1ListLongTermPricingCommandError = async (output, con
|
|
|
1035
1035
|
switch (errorCode) {
|
|
1036
1036
|
case "InvalidNextTokenException":
|
|
1037
1037
|
case "com.amazonaws.snowball#InvalidNextTokenException":
|
|
1038
|
-
throw await
|
|
1038
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1039
1039
|
case "InvalidResourceException":
|
|
1040
1040
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
1041
|
-
throw await
|
|
1041
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
1042
1042
|
default:
|
|
1043
1043
|
const parsedBody = parsedOutput.body;
|
|
1044
1044
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1049,21 +1049,21 @@ const deserializeAws_json1_1ListLongTermPricingCommandError = async (output, con
|
|
|
1049
1049
|
});
|
|
1050
1050
|
}
|
|
1051
1051
|
};
|
|
1052
|
-
const
|
|
1052
|
+
const de_ListServiceVersionsCommand = async (output, context) => {
|
|
1053
1053
|
if (output.statusCode >= 300) {
|
|
1054
|
-
return
|
|
1054
|
+
return de_ListServiceVersionsCommandError(output, context);
|
|
1055
1055
|
}
|
|
1056
1056
|
const data = await parseBody(output.body, context);
|
|
1057
1057
|
let contents = {};
|
|
1058
|
-
contents =
|
|
1058
|
+
contents = de_ListServiceVersionsResult(data, context);
|
|
1059
1059
|
const response = {
|
|
1060
1060
|
$metadata: deserializeMetadata(output),
|
|
1061
1061
|
...contents,
|
|
1062
1062
|
};
|
|
1063
1063
|
return Promise.resolve(response);
|
|
1064
1064
|
};
|
|
1065
|
-
exports.
|
|
1066
|
-
const
|
|
1065
|
+
exports.de_ListServiceVersionsCommand = de_ListServiceVersionsCommand;
|
|
1066
|
+
const de_ListServiceVersionsCommandError = async (output, context) => {
|
|
1067
1067
|
const parsedOutput = {
|
|
1068
1068
|
...output,
|
|
1069
1069
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1072,10 +1072,10 @@ const deserializeAws_json1_1ListServiceVersionsCommandError = async (output, con
|
|
|
1072
1072
|
switch (errorCode) {
|
|
1073
1073
|
case "InvalidNextTokenException":
|
|
1074
1074
|
case "com.amazonaws.snowball#InvalidNextTokenException":
|
|
1075
|
-
throw await
|
|
1075
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1076
1076
|
case "InvalidResourceException":
|
|
1077
1077
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
1078
|
-
throw await
|
|
1078
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
1079
1079
|
default:
|
|
1080
1080
|
const parsedBody = parsedOutput.body;
|
|
1081
1081
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1086,21 +1086,21 @@ const deserializeAws_json1_1ListServiceVersionsCommandError = async (output, con
|
|
|
1086
1086
|
});
|
|
1087
1087
|
}
|
|
1088
1088
|
};
|
|
1089
|
-
const
|
|
1089
|
+
const de_UpdateClusterCommand = async (output, context) => {
|
|
1090
1090
|
if (output.statusCode >= 300) {
|
|
1091
|
-
return
|
|
1091
|
+
return de_UpdateClusterCommandError(output, context);
|
|
1092
1092
|
}
|
|
1093
1093
|
const data = await parseBody(output.body, context);
|
|
1094
1094
|
let contents = {};
|
|
1095
|
-
contents =
|
|
1095
|
+
contents = de_UpdateClusterResult(data, context);
|
|
1096
1096
|
const response = {
|
|
1097
1097
|
$metadata: deserializeMetadata(output),
|
|
1098
1098
|
...contents,
|
|
1099
1099
|
};
|
|
1100
1100
|
return Promise.resolve(response);
|
|
1101
1101
|
};
|
|
1102
|
-
exports.
|
|
1103
|
-
const
|
|
1102
|
+
exports.de_UpdateClusterCommand = de_UpdateClusterCommand;
|
|
1103
|
+
const de_UpdateClusterCommandError = async (output, context) => {
|
|
1104
1104
|
const parsedOutput = {
|
|
1105
1105
|
...output,
|
|
1106
1106
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1109,19 +1109,19 @@ const deserializeAws_json1_1UpdateClusterCommandError = async (output, context)
|
|
|
1109
1109
|
switch (errorCode) {
|
|
1110
1110
|
case "Ec2RequestFailedException":
|
|
1111
1111
|
case "com.amazonaws.snowball#Ec2RequestFailedException":
|
|
1112
|
-
throw await
|
|
1112
|
+
throw await de_Ec2RequestFailedExceptionRes(parsedOutput, context);
|
|
1113
1113
|
case "InvalidInputCombinationException":
|
|
1114
1114
|
case "com.amazonaws.snowball#InvalidInputCombinationException":
|
|
1115
|
-
throw await
|
|
1115
|
+
throw await de_InvalidInputCombinationExceptionRes(parsedOutput, context);
|
|
1116
1116
|
case "InvalidJobStateException":
|
|
1117
1117
|
case "com.amazonaws.snowball#InvalidJobStateException":
|
|
1118
|
-
throw await
|
|
1118
|
+
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
1119
1119
|
case "InvalidResourceException":
|
|
1120
1120
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
1121
|
-
throw await
|
|
1121
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
1122
1122
|
case "KMSRequestFailedException":
|
|
1123
1123
|
case "com.amazonaws.snowball#KMSRequestFailedException":
|
|
1124
|
-
throw await
|
|
1124
|
+
throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
|
|
1125
1125
|
default:
|
|
1126
1126
|
const parsedBody = parsedOutput.body;
|
|
1127
1127
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1132,21 +1132,21 @@ const deserializeAws_json1_1UpdateClusterCommandError = async (output, context)
|
|
|
1132
1132
|
});
|
|
1133
1133
|
}
|
|
1134
1134
|
};
|
|
1135
|
-
const
|
|
1135
|
+
const de_UpdateJobCommand = async (output, context) => {
|
|
1136
1136
|
if (output.statusCode >= 300) {
|
|
1137
|
-
return
|
|
1137
|
+
return de_UpdateJobCommandError(output, context);
|
|
1138
1138
|
}
|
|
1139
1139
|
const data = await parseBody(output.body, context);
|
|
1140
1140
|
let contents = {};
|
|
1141
|
-
contents =
|
|
1141
|
+
contents = de_UpdateJobResult(data, context);
|
|
1142
1142
|
const response = {
|
|
1143
1143
|
$metadata: deserializeMetadata(output),
|
|
1144
1144
|
...contents,
|
|
1145
1145
|
};
|
|
1146
1146
|
return Promise.resolve(response);
|
|
1147
1147
|
};
|
|
1148
|
-
exports.
|
|
1149
|
-
const
|
|
1148
|
+
exports.de_UpdateJobCommand = de_UpdateJobCommand;
|
|
1149
|
+
const de_UpdateJobCommandError = async (output, context) => {
|
|
1150
1150
|
const parsedOutput = {
|
|
1151
1151
|
...output,
|
|
1152
1152
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1155,22 +1155,22 @@ const deserializeAws_json1_1UpdateJobCommandError = async (output, context) => {
|
|
|
1155
1155
|
switch (errorCode) {
|
|
1156
1156
|
case "ClusterLimitExceededException":
|
|
1157
1157
|
case "com.amazonaws.snowball#ClusterLimitExceededException":
|
|
1158
|
-
throw await
|
|
1158
|
+
throw await de_ClusterLimitExceededExceptionRes(parsedOutput, context);
|
|
1159
1159
|
case "Ec2RequestFailedException":
|
|
1160
1160
|
case "com.amazonaws.snowball#Ec2RequestFailedException":
|
|
1161
|
-
throw await
|
|
1161
|
+
throw await de_Ec2RequestFailedExceptionRes(parsedOutput, context);
|
|
1162
1162
|
case "InvalidInputCombinationException":
|
|
1163
1163
|
case "com.amazonaws.snowball#InvalidInputCombinationException":
|
|
1164
|
-
throw await
|
|
1164
|
+
throw await de_InvalidInputCombinationExceptionRes(parsedOutput, context);
|
|
1165
1165
|
case "InvalidJobStateException":
|
|
1166
1166
|
case "com.amazonaws.snowball#InvalidJobStateException":
|
|
1167
|
-
throw await
|
|
1167
|
+
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
1168
1168
|
case "InvalidResourceException":
|
|
1169
1169
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
1170
|
-
throw await
|
|
1170
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
1171
1171
|
case "KMSRequestFailedException":
|
|
1172
1172
|
case "com.amazonaws.snowball#KMSRequestFailedException":
|
|
1173
|
-
throw await
|
|
1173
|
+
throw await de_KMSRequestFailedExceptionRes(parsedOutput, context);
|
|
1174
1174
|
default:
|
|
1175
1175
|
const parsedBody = parsedOutput.body;
|
|
1176
1176
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1181,21 +1181,21 @@ const deserializeAws_json1_1UpdateJobCommandError = async (output, context) => {
|
|
|
1181
1181
|
});
|
|
1182
1182
|
}
|
|
1183
1183
|
};
|
|
1184
|
-
const
|
|
1184
|
+
const de_UpdateJobShipmentStateCommand = async (output, context) => {
|
|
1185
1185
|
if (output.statusCode >= 300) {
|
|
1186
|
-
return
|
|
1186
|
+
return de_UpdateJobShipmentStateCommandError(output, context);
|
|
1187
1187
|
}
|
|
1188
1188
|
const data = await parseBody(output.body, context);
|
|
1189
1189
|
let contents = {};
|
|
1190
|
-
contents =
|
|
1190
|
+
contents = de_UpdateJobShipmentStateResult(data, context);
|
|
1191
1191
|
const response = {
|
|
1192
1192
|
$metadata: deserializeMetadata(output),
|
|
1193
1193
|
...contents,
|
|
1194
1194
|
};
|
|
1195
1195
|
return Promise.resolve(response);
|
|
1196
1196
|
};
|
|
1197
|
-
exports.
|
|
1198
|
-
const
|
|
1197
|
+
exports.de_UpdateJobShipmentStateCommand = de_UpdateJobShipmentStateCommand;
|
|
1198
|
+
const de_UpdateJobShipmentStateCommandError = async (output, context) => {
|
|
1199
1199
|
const parsedOutput = {
|
|
1200
1200
|
...output,
|
|
1201
1201
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1204,10 +1204,10 @@ const deserializeAws_json1_1UpdateJobShipmentStateCommandError = async (output,
|
|
|
1204
1204
|
switch (errorCode) {
|
|
1205
1205
|
case "InvalidJobStateException":
|
|
1206
1206
|
case "com.amazonaws.snowball#InvalidJobStateException":
|
|
1207
|
-
throw await
|
|
1207
|
+
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
1208
1208
|
case "InvalidResourceException":
|
|
1209
1209
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
1210
|
-
throw await
|
|
1210
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
1211
1211
|
default:
|
|
1212
1212
|
const parsedBody = parsedOutput.body;
|
|
1213
1213
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1218,21 +1218,21 @@ const deserializeAws_json1_1UpdateJobShipmentStateCommandError = async (output,
|
|
|
1218
1218
|
});
|
|
1219
1219
|
}
|
|
1220
1220
|
};
|
|
1221
|
-
const
|
|
1221
|
+
const de_UpdateLongTermPricingCommand = async (output, context) => {
|
|
1222
1222
|
if (output.statusCode >= 300) {
|
|
1223
|
-
return
|
|
1223
|
+
return de_UpdateLongTermPricingCommandError(output, context);
|
|
1224
1224
|
}
|
|
1225
1225
|
const data = await parseBody(output.body, context);
|
|
1226
1226
|
let contents = {};
|
|
1227
|
-
contents =
|
|
1227
|
+
contents = de_UpdateLongTermPricingResult(data, context);
|
|
1228
1228
|
const response = {
|
|
1229
1229
|
$metadata: deserializeMetadata(output),
|
|
1230
1230
|
...contents,
|
|
1231
1231
|
};
|
|
1232
1232
|
return Promise.resolve(response);
|
|
1233
1233
|
};
|
|
1234
|
-
exports.
|
|
1235
|
-
const
|
|
1234
|
+
exports.de_UpdateLongTermPricingCommand = de_UpdateLongTermPricingCommand;
|
|
1235
|
+
const de_UpdateLongTermPricingCommandError = async (output, context) => {
|
|
1236
1236
|
const parsedOutput = {
|
|
1237
1237
|
...output,
|
|
1238
1238
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1241,7 +1241,7 @@ const deserializeAws_json1_1UpdateLongTermPricingCommandError = async (output, c
|
|
|
1241
1241
|
switch (errorCode) {
|
|
1242
1242
|
case "InvalidResourceException":
|
|
1243
1243
|
case "com.amazonaws.snowball#InvalidResourceException":
|
|
1244
|
-
throw await
|
|
1244
|
+
throw await de_InvalidResourceExceptionRes(parsedOutput, context);
|
|
1245
1245
|
default:
|
|
1246
1246
|
const parsedBody = parsedOutput.body;
|
|
1247
1247
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1252,106 +1252,106 @@ const deserializeAws_json1_1UpdateLongTermPricingCommandError = async (output, c
|
|
|
1252
1252
|
});
|
|
1253
1253
|
}
|
|
1254
1254
|
};
|
|
1255
|
-
const
|
|
1255
|
+
const de_ClusterLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1256
1256
|
const body = parsedOutput.body;
|
|
1257
|
-
const deserialized =
|
|
1257
|
+
const deserialized = de_ClusterLimitExceededException(body, context);
|
|
1258
1258
|
const exception = new models_0_1.ClusterLimitExceededException({
|
|
1259
1259
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1260
1260
|
...deserialized,
|
|
1261
1261
|
});
|
|
1262
1262
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1263
1263
|
};
|
|
1264
|
-
const
|
|
1264
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1265
1265
|
const body = parsedOutput.body;
|
|
1266
|
-
const deserialized =
|
|
1266
|
+
const deserialized = de_ConflictException(body, context);
|
|
1267
1267
|
const exception = new models_0_1.ConflictException({
|
|
1268
1268
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1269
1269
|
...deserialized,
|
|
1270
1270
|
});
|
|
1271
1271
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1272
1272
|
};
|
|
1273
|
-
const
|
|
1273
|
+
const de_Ec2RequestFailedExceptionRes = async (parsedOutput, context) => {
|
|
1274
1274
|
const body = parsedOutput.body;
|
|
1275
|
-
const deserialized =
|
|
1275
|
+
const deserialized = de_Ec2RequestFailedException(body, context);
|
|
1276
1276
|
const exception = new models_0_1.Ec2RequestFailedException({
|
|
1277
1277
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1278
1278
|
...deserialized,
|
|
1279
1279
|
});
|
|
1280
1280
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1281
1281
|
};
|
|
1282
|
-
const
|
|
1282
|
+
const de_InvalidAddressExceptionRes = async (parsedOutput, context) => {
|
|
1283
1283
|
const body = parsedOutput.body;
|
|
1284
|
-
const deserialized =
|
|
1284
|
+
const deserialized = de_InvalidAddressException(body, context);
|
|
1285
1285
|
const exception = new models_0_1.InvalidAddressException({
|
|
1286
1286
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1287
1287
|
...deserialized,
|
|
1288
1288
|
});
|
|
1289
1289
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1290
1290
|
};
|
|
1291
|
-
const
|
|
1291
|
+
const de_InvalidInputCombinationExceptionRes = async (parsedOutput, context) => {
|
|
1292
1292
|
const body = parsedOutput.body;
|
|
1293
|
-
const deserialized =
|
|
1293
|
+
const deserialized = de_InvalidInputCombinationException(body, context);
|
|
1294
1294
|
const exception = new models_0_1.InvalidInputCombinationException({
|
|
1295
1295
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1296
1296
|
...deserialized,
|
|
1297
1297
|
});
|
|
1298
1298
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1299
1299
|
};
|
|
1300
|
-
const
|
|
1300
|
+
const de_InvalidJobStateExceptionRes = async (parsedOutput, context) => {
|
|
1301
1301
|
const body = parsedOutput.body;
|
|
1302
|
-
const deserialized =
|
|
1302
|
+
const deserialized = de_InvalidJobStateException(body, context);
|
|
1303
1303
|
const exception = new models_0_1.InvalidJobStateException({
|
|
1304
1304
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1305
1305
|
...deserialized,
|
|
1306
1306
|
});
|
|
1307
1307
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1308
1308
|
};
|
|
1309
|
-
const
|
|
1309
|
+
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
1310
1310
|
const body = parsedOutput.body;
|
|
1311
|
-
const deserialized =
|
|
1311
|
+
const deserialized = de_InvalidNextTokenException(body, context);
|
|
1312
1312
|
const exception = new models_0_1.InvalidNextTokenException({
|
|
1313
1313
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1314
1314
|
...deserialized,
|
|
1315
1315
|
});
|
|
1316
1316
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1317
1317
|
};
|
|
1318
|
-
const
|
|
1318
|
+
const de_InvalidResourceExceptionRes = async (parsedOutput, context) => {
|
|
1319
1319
|
const body = parsedOutput.body;
|
|
1320
|
-
const deserialized =
|
|
1320
|
+
const deserialized = de_InvalidResourceException(body, context);
|
|
1321
1321
|
const exception = new models_0_1.InvalidResourceException({
|
|
1322
1322
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1323
1323
|
...deserialized,
|
|
1324
1324
|
});
|
|
1325
1325
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1326
1326
|
};
|
|
1327
|
-
const
|
|
1327
|
+
const de_KMSRequestFailedExceptionRes = async (parsedOutput, context) => {
|
|
1328
1328
|
const body = parsedOutput.body;
|
|
1329
|
-
const deserialized =
|
|
1329
|
+
const deserialized = de_KMSRequestFailedException(body, context);
|
|
1330
1330
|
const exception = new models_0_1.KMSRequestFailedException({
|
|
1331
1331
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1332
1332
|
...deserialized,
|
|
1333
1333
|
});
|
|
1334
1334
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1335
1335
|
};
|
|
1336
|
-
const
|
|
1336
|
+
const de_ReturnShippingLabelAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1337
1337
|
const body = parsedOutput.body;
|
|
1338
|
-
const deserialized =
|
|
1338
|
+
const deserialized = de_ReturnShippingLabelAlreadyExistsException(body, context);
|
|
1339
1339
|
const exception = new models_0_1.ReturnShippingLabelAlreadyExistsException({
|
|
1340
1340
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1341
1341
|
...deserialized,
|
|
1342
1342
|
});
|
|
1343
1343
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1344
1344
|
};
|
|
1345
|
-
const
|
|
1345
|
+
const de_UnsupportedAddressExceptionRes = async (parsedOutput, context) => {
|
|
1346
1346
|
const body = parsedOutput.body;
|
|
1347
|
-
const deserialized =
|
|
1347
|
+
const deserialized = de_UnsupportedAddressException(body, context);
|
|
1348
1348
|
const exception = new models_0_1.UnsupportedAddressException({
|
|
1349
1349
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1350
1350
|
...deserialized,
|
|
1351
1351
|
});
|
|
1352
1352
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1353
1353
|
};
|
|
1354
|
-
const
|
|
1354
|
+
const se_Address = (input, context) => {
|
|
1355
1355
|
return {
|
|
1356
1356
|
...(input.AddressId != null && { AddressId: input.AddressId }),
|
|
1357
1357
|
...(input.City != null && { City: input.City }),
|
|
@@ -1369,390 +1369,380 @@ const serializeAws_json1_1Address = (input, context) => {
|
|
|
1369
1369
|
...(input.Street3 != null && { Street3: input.Street3 }),
|
|
1370
1370
|
};
|
|
1371
1371
|
};
|
|
1372
|
-
const
|
|
1372
|
+
const se_CancelClusterRequest = (input, context) => {
|
|
1373
1373
|
return {
|
|
1374
1374
|
...(input.ClusterId != null && { ClusterId: input.ClusterId }),
|
|
1375
1375
|
};
|
|
1376
1376
|
};
|
|
1377
|
-
const
|
|
1377
|
+
const se_CancelJobRequest = (input, context) => {
|
|
1378
1378
|
return {
|
|
1379
1379
|
...(input.JobId != null && { JobId: input.JobId }),
|
|
1380
1380
|
};
|
|
1381
1381
|
};
|
|
1382
|
-
const
|
|
1382
|
+
const se_CreateAddressRequest = (input, context) => {
|
|
1383
1383
|
return {
|
|
1384
|
-
...(input.Address != null && { Address:
|
|
1384
|
+
...(input.Address != null && { Address: se_Address(input.Address, context) }),
|
|
1385
1385
|
};
|
|
1386
1386
|
};
|
|
1387
|
-
const
|
|
1387
|
+
const se_CreateClusterRequest = (input, context) => {
|
|
1388
1388
|
return {
|
|
1389
1389
|
...(input.AddressId != null && { AddressId: input.AddressId }),
|
|
1390
1390
|
...(input.Description != null && { Description: input.Description }),
|
|
1391
1391
|
...(input.ForwardingAddressId != null && { ForwardingAddressId: input.ForwardingAddressId }),
|
|
1392
1392
|
...(input.JobType != null && { JobType: input.JobType }),
|
|
1393
1393
|
...(input.KmsKeyARN != null && { KmsKeyARN: input.KmsKeyARN }),
|
|
1394
|
-
...(input.Notification != null && { Notification:
|
|
1394
|
+
...(input.Notification != null && { Notification: se_Notification(input.Notification, context) }),
|
|
1395
1395
|
...(input.OnDeviceServiceConfiguration != null && {
|
|
1396
|
-
OnDeviceServiceConfiguration:
|
|
1396
|
+
OnDeviceServiceConfiguration: se_OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
|
|
1397
1397
|
}),
|
|
1398
1398
|
...(input.RemoteManagement != null && { RemoteManagement: input.RemoteManagement }),
|
|
1399
|
-
...(input.Resources != null && { Resources:
|
|
1399
|
+
...(input.Resources != null && { Resources: se_JobResource(input.Resources, context) }),
|
|
1400
1400
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1401
1401
|
...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
|
|
1402
1402
|
...(input.SnowballType != null && { SnowballType: input.SnowballType }),
|
|
1403
|
-
...(input.TaxDocuments != null && { TaxDocuments:
|
|
1403
|
+
...(input.TaxDocuments != null && { TaxDocuments: se_TaxDocuments(input.TaxDocuments, context) }),
|
|
1404
1404
|
};
|
|
1405
1405
|
};
|
|
1406
|
-
const
|
|
1406
|
+
const se_CreateJobRequest = (input, context) => {
|
|
1407
1407
|
return {
|
|
1408
1408
|
...(input.AddressId != null && { AddressId: input.AddressId }),
|
|
1409
1409
|
...(input.ClusterId != null && { ClusterId: input.ClusterId }),
|
|
1410
1410
|
...(input.Description != null && { Description: input.Description }),
|
|
1411
1411
|
...(input.DeviceConfiguration != null && {
|
|
1412
|
-
DeviceConfiguration:
|
|
1412
|
+
DeviceConfiguration: se_DeviceConfiguration(input.DeviceConfiguration, context),
|
|
1413
1413
|
}),
|
|
1414
1414
|
...(input.ForwardingAddressId != null && { ForwardingAddressId: input.ForwardingAddressId }),
|
|
1415
1415
|
...(input.JobType != null && { JobType: input.JobType }),
|
|
1416
1416
|
...(input.KmsKeyARN != null && { KmsKeyARN: input.KmsKeyARN }),
|
|
1417
1417
|
...(input.LongTermPricingId != null && { LongTermPricingId: input.LongTermPricingId }),
|
|
1418
|
-
...(input.Notification != null && { Notification:
|
|
1418
|
+
...(input.Notification != null && { Notification: se_Notification(input.Notification, context) }),
|
|
1419
1419
|
...(input.OnDeviceServiceConfiguration != null && {
|
|
1420
|
-
OnDeviceServiceConfiguration:
|
|
1420
|
+
OnDeviceServiceConfiguration: se_OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
|
|
1421
1421
|
}),
|
|
1422
1422
|
...(input.RemoteManagement != null && { RemoteManagement: input.RemoteManagement }),
|
|
1423
|
-
...(input.Resources != null && { Resources:
|
|
1423
|
+
...(input.Resources != null && { Resources: se_JobResource(input.Resources, context) }),
|
|
1424
1424
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1425
1425
|
...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
|
|
1426
1426
|
...(input.SnowballCapacityPreference != null && { SnowballCapacityPreference: input.SnowballCapacityPreference }),
|
|
1427
1427
|
...(input.SnowballType != null && { SnowballType: input.SnowballType }),
|
|
1428
|
-
...(input.TaxDocuments != null && { TaxDocuments:
|
|
1428
|
+
...(input.TaxDocuments != null && { TaxDocuments: se_TaxDocuments(input.TaxDocuments, context) }),
|
|
1429
1429
|
};
|
|
1430
1430
|
};
|
|
1431
|
-
const
|
|
1431
|
+
const se_CreateLongTermPricingRequest = (input, context) => {
|
|
1432
1432
|
return {
|
|
1433
1433
|
...(input.IsLongTermPricingAutoRenew != null && { IsLongTermPricingAutoRenew: input.IsLongTermPricingAutoRenew }),
|
|
1434
1434
|
...(input.LongTermPricingType != null && { LongTermPricingType: input.LongTermPricingType }),
|
|
1435
1435
|
...(input.SnowballType != null && { SnowballType: input.SnowballType }),
|
|
1436
1436
|
};
|
|
1437
1437
|
};
|
|
1438
|
-
const
|
|
1438
|
+
const se_CreateReturnShippingLabelRequest = (input, context) => {
|
|
1439
1439
|
return {
|
|
1440
1440
|
...(input.JobId != null && { JobId: input.JobId }),
|
|
1441
1441
|
...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
|
|
1442
1442
|
};
|
|
1443
1443
|
};
|
|
1444
|
-
const
|
|
1444
|
+
const se_DependentService = (input, context) => {
|
|
1445
1445
|
return {
|
|
1446
1446
|
...(input.ServiceName != null && { ServiceName: input.ServiceName }),
|
|
1447
|
-
...(input.ServiceVersion != null && {
|
|
1448
|
-
ServiceVersion: serializeAws_json1_1ServiceVersion(input.ServiceVersion, context),
|
|
1449
|
-
}),
|
|
1447
|
+
...(input.ServiceVersion != null && { ServiceVersion: se_ServiceVersion(input.ServiceVersion, context) }),
|
|
1450
1448
|
};
|
|
1451
1449
|
};
|
|
1452
|
-
const
|
|
1450
|
+
const se_DependentServiceList = (input, context) => {
|
|
1453
1451
|
return input
|
|
1454
1452
|
.filter((e) => e != null)
|
|
1455
1453
|
.map((entry) => {
|
|
1456
|
-
return
|
|
1454
|
+
return se_DependentService(entry, context);
|
|
1457
1455
|
});
|
|
1458
1456
|
};
|
|
1459
|
-
const
|
|
1457
|
+
const se_DescribeAddressesRequest = (input, context) => {
|
|
1460
1458
|
return {
|
|
1461
1459
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1462
1460
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1463
1461
|
};
|
|
1464
1462
|
};
|
|
1465
|
-
const
|
|
1463
|
+
const se_DescribeAddressRequest = (input, context) => {
|
|
1466
1464
|
return {
|
|
1467
1465
|
...(input.AddressId != null && { AddressId: input.AddressId }),
|
|
1468
1466
|
};
|
|
1469
1467
|
};
|
|
1470
|
-
const
|
|
1468
|
+
const se_DescribeClusterRequest = (input, context) => {
|
|
1471
1469
|
return {
|
|
1472
1470
|
...(input.ClusterId != null && { ClusterId: input.ClusterId }),
|
|
1473
1471
|
};
|
|
1474
1472
|
};
|
|
1475
|
-
const
|
|
1473
|
+
const se_DescribeJobRequest = (input, context) => {
|
|
1476
1474
|
return {
|
|
1477
1475
|
...(input.JobId != null && { JobId: input.JobId }),
|
|
1478
1476
|
};
|
|
1479
1477
|
};
|
|
1480
|
-
const
|
|
1478
|
+
const se_DescribeReturnShippingLabelRequest = (input, context) => {
|
|
1481
1479
|
return {
|
|
1482
1480
|
...(input.JobId != null && { JobId: input.JobId }),
|
|
1483
1481
|
};
|
|
1484
1482
|
};
|
|
1485
|
-
const
|
|
1483
|
+
const se_DeviceConfiguration = (input, context) => {
|
|
1486
1484
|
return {
|
|
1487
1485
|
...(input.SnowconeDeviceConfiguration != null && {
|
|
1488
|
-
SnowconeDeviceConfiguration:
|
|
1486
|
+
SnowconeDeviceConfiguration: se_SnowconeDeviceConfiguration(input.SnowconeDeviceConfiguration, context),
|
|
1489
1487
|
}),
|
|
1490
1488
|
};
|
|
1491
1489
|
};
|
|
1492
|
-
const
|
|
1490
|
+
const se_Ec2AmiResource = (input, context) => {
|
|
1493
1491
|
return {
|
|
1494
1492
|
...(input.AmiId != null && { AmiId: input.AmiId }),
|
|
1495
1493
|
...(input.SnowballAmiId != null && { SnowballAmiId: input.SnowballAmiId }),
|
|
1496
1494
|
};
|
|
1497
1495
|
};
|
|
1498
|
-
const
|
|
1496
|
+
const se_Ec2AmiResourceList = (input, context) => {
|
|
1499
1497
|
return input
|
|
1500
1498
|
.filter((e) => e != null)
|
|
1501
1499
|
.map((entry) => {
|
|
1502
|
-
return
|
|
1500
|
+
return se_Ec2AmiResource(entry, context);
|
|
1503
1501
|
});
|
|
1504
1502
|
};
|
|
1505
|
-
const
|
|
1503
|
+
const se_EKSOnDeviceServiceConfiguration = (input, context) => {
|
|
1506
1504
|
return {
|
|
1507
1505
|
...(input.EKSAnywhereVersion != null && { EKSAnywhereVersion: input.EKSAnywhereVersion }),
|
|
1508
1506
|
...(input.KubernetesVersion != null && { KubernetesVersion: input.KubernetesVersion }),
|
|
1509
1507
|
};
|
|
1510
1508
|
};
|
|
1511
|
-
const
|
|
1509
|
+
const se_EventTriggerDefinition = (input, context) => {
|
|
1512
1510
|
return {
|
|
1513
1511
|
...(input.EventResourceARN != null && { EventResourceARN: input.EventResourceARN }),
|
|
1514
1512
|
};
|
|
1515
1513
|
};
|
|
1516
|
-
const
|
|
1514
|
+
const se_EventTriggerDefinitionList = (input, context) => {
|
|
1517
1515
|
return input
|
|
1518
1516
|
.filter((e) => e != null)
|
|
1519
1517
|
.map((entry) => {
|
|
1520
|
-
return
|
|
1518
|
+
return se_EventTriggerDefinition(entry, context);
|
|
1521
1519
|
});
|
|
1522
1520
|
};
|
|
1523
|
-
const
|
|
1521
|
+
const se_GetJobManifestRequest = (input, context) => {
|
|
1524
1522
|
return {
|
|
1525
1523
|
...(input.JobId != null && { JobId: input.JobId }),
|
|
1526
1524
|
};
|
|
1527
1525
|
};
|
|
1528
|
-
const
|
|
1526
|
+
const se_GetJobUnlockCodeRequest = (input, context) => {
|
|
1529
1527
|
return {
|
|
1530
1528
|
...(input.JobId != null && { JobId: input.JobId }),
|
|
1531
1529
|
};
|
|
1532
1530
|
};
|
|
1533
|
-
const
|
|
1531
|
+
const se_GetSnowballUsageRequest = (input, context) => {
|
|
1534
1532
|
return {};
|
|
1535
1533
|
};
|
|
1536
|
-
const
|
|
1534
|
+
const se_GetSoftwareUpdatesRequest = (input, context) => {
|
|
1537
1535
|
return {
|
|
1538
1536
|
...(input.JobId != null && { JobId: input.JobId }),
|
|
1539
1537
|
};
|
|
1540
1538
|
};
|
|
1541
|
-
const
|
|
1539
|
+
const se_INDTaxDocuments = (input, context) => {
|
|
1542
1540
|
return {
|
|
1543
1541
|
...(input.GSTIN != null && { GSTIN: input.GSTIN }),
|
|
1544
1542
|
};
|
|
1545
1543
|
};
|
|
1546
|
-
const
|
|
1544
|
+
const se_JobResource = (input, context) => {
|
|
1547
1545
|
return {
|
|
1548
|
-
...(input.Ec2AmiResources != null && {
|
|
1549
|
-
|
|
1550
|
-
}),
|
|
1551
|
-
...(input.LambdaResources != null && {
|
|
1552
|
-
LambdaResources: serializeAws_json1_1LambdaResourceList(input.LambdaResources, context),
|
|
1553
|
-
}),
|
|
1554
|
-
...(input.S3Resources != null && { S3Resources: serializeAws_json1_1S3ResourceList(input.S3Resources, context) }),
|
|
1546
|
+
...(input.Ec2AmiResources != null && { Ec2AmiResources: se_Ec2AmiResourceList(input.Ec2AmiResources, context) }),
|
|
1547
|
+
...(input.LambdaResources != null && { LambdaResources: se_LambdaResourceList(input.LambdaResources, context) }),
|
|
1548
|
+
...(input.S3Resources != null && { S3Resources: se_S3ResourceList(input.S3Resources, context) }),
|
|
1555
1549
|
};
|
|
1556
1550
|
};
|
|
1557
|
-
const
|
|
1551
|
+
const se_JobStateList = (input, context) => {
|
|
1558
1552
|
return input
|
|
1559
1553
|
.filter((e) => e != null)
|
|
1560
1554
|
.map((entry) => {
|
|
1561
1555
|
return entry;
|
|
1562
1556
|
});
|
|
1563
1557
|
};
|
|
1564
|
-
const
|
|
1558
|
+
const se_KeyRange = (input, context) => {
|
|
1565
1559
|
return {
|
|
1566
1560
|
...(input.BeginMarker != null && { BeginMarker: input.BeginMarker }),
|
|
1567
1561
|
...(input.EndMarker != null && { EndMarker: input.EndMarker }),
|
|
1568
1562
|
};
|
|
1569
1563
|
};
|
|
1570
|
-
const
|
|
1564
|
+
const se_LambdaResource = (input, context) => {
|
|
1571
1565
|
return {
|
|
1572
|
-
...(input.EventTriggers != null && {
|
|
1573
|
-
EventTriggers: serializeAws_json1_1EventTriggerDefinitionList(input.EventTriggers, context),
|
|
1574
|
-
}),
|
|
1566
|
+
...(input.EventTriggers != null && { EventTriggers: se_EventTriggerDefinitionList(input.EventTriggers, context) }),
|
|
1575
1567
|
...(input.LambdaArn != null && { LambdaArn: input.LambdaArn }),
|
|
1576
1568
|
};
|
|
1577
1569
|
};
|
|
1578
|
-
const
|
|
1570
|
+
const se_LambdaResourceList = (input, context) => {
|
|
1579
1571
|
return input
|
|
1580
1572
|
.filter((e) => e != null)
|
|
1581
1573
|
.map((entry) => {
|
|
1582
|
-
return
|
|
1574
|
+
return se_LambdaResource(entry, context);
|
|
1583
1575
|
});
|
|
1584
1576
|
};
|
|
1585
|
-
const
|
|
1577
|
+
const se_ListClusterJobsRequest = (input, context) => {
|
|
1586
1578
|
return {
|
|
1587
1579
|
...(input.ClusterId != null && { ClusterId: input.ClusterId }),
|
|
1588
1580
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1589
1581
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1590
1582
|
};
|
|
1591
1583
|
};
|
|
1592
|
-
const
|
|
1584
|
+
const se_ListClustersRequest = (input, context) => {
|
|
1593
1585
|
return {
|
|
1594
1586
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1595
1587
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1596
1588
|
};
|
|
1597
1589
|
};
|
|
1598
|
-
const
|
|
1590
|
+
const se_ListCompatibleImagesRequest = (input, context) => {
|
|
1599
1591
|
return {
|
|
1600
1592
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1601
1593
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1602
1594
|
};
|
|
1603
1595
|
};
|
|
1604
|
-
const
|
|
1596
|
+
const se_ListJobsRequest = (input, context) => {
|
|
1605
1597
|
return {
|
|
1606
1598
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1607
1599
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1608
1600
|
};
|
|
1609
1601
|
};
|
|
1610
|
-
const
|
|
1602
|
+
const se_ListLongTermPricingRequest = (input, context) => {
|
|
1611
1603
|
return {
|
|
1612
1604
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1613
1605
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1614
1606
|
};
|
|
1615
1607
|
};
|
|
1616
|
-
const
|
|
1608
|
+
const se_ListServiceVersionsRequest = (input, context) => {
|
|
1617
1609
|
return {
|
|
1618
1610
|
...(input.DependentServices != null && {
|
|
1619
|
-
DependentServices:
|
|
1611
|
+
DependentServices: se_DependentServiceList(input.DependentServices, context),
|
|
1620
1612
|
}),
|
|
1621
1613
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1622
1614
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1623
1615
|
...(input.ServiceName != null && { ServiceName: input.ServiceName }),
|
|
1624
1616
|
};
|
|
1625
1617
|
};
|
|
1626
|
-
const
|
|
1618
|
+
const se_NFSOnDeviceServiceConfiguration = (input, context) => {
|
|
1627
1619
|
return {
|
|
1628
1620
|
...(input.StorageLimit != null && { StorageLimit: input.StorageLimit }),
|
|
1629
1621
|
...(input.StorageUnit != null && { StorageUnit: input.StorageUnit }),
|
|
1630
1622
|
};
|
|
1631
1623
|
};
|
|
1632
|
-
const
|
|
1624
|
+
const se_Notification = (input, context) => {
|
|
1633
1625
|
return {
|
|
1634
|
-
...(input.JobStatesToNotify != null && {
|
|
1635
|
-
JobStatesToNotify: serializeAws_json1_1JobStateList(input.JobStatesToNotify, context),
|
|
1636
|
-
}),
|
|
1626
|
+
...(input.JobStatesToNotify != null && { JobStatesToNotify: se_JobStateList(input.JobStatesToNotify, context) }),
|
|
1637
1627
|
...(input.NotifyAll != null && { NotifyAll: input.NotifyAll }),
|
|
1638
1628
|
...(input.SnsTopicARN != null && { SnsTopicARN: input.SnsTopicARN }),
|
|
1639
1629
|
};
|
|
1640
1630
|
};
|
|
1641
|
-
const
|
|
1631
|
+
const se_OnDeviceServiceConfiguration = (input, context) => {
|
|
1642
1632
|
return {
|
|
1643
1633
|
...(input.EKSOnDeviceService != null && {
|
|
1644
|
-
EKSOnDeviceService:
|
|
1634
|
+
EKSOnDeviceService: se_EKSOnDeviceServiceConfiguration(input.EKSOnDeviceService, context),
|
|
1645
1635
|
}),
|
|
1646
1636
|
...(input.NFSOnDeviceService != null && {
|
|
1647
|
-
NFSOnDeviceService:
|
|
1637
|
+
NFSOnDeviceService: se_NFSOnDeviceServiceConfiguration(input.NFSOnDeviceService, context),
|
|
1648
1638
|
}),
|
|
1649
1639
|
...(input.TGWOnDeviceService != null && {
|
|
1650
|
-
TGWOnDeviceService:
|
|
1640
|
+
TGWOnDeviceService: se_TGWOnDeviceServiceConfiguration(input.TGWOnDeviceService, context),
|
|
1651
1641
|
}),
|
|
1652
1642
|
};
|
|
1653
1643
|
};
|
|
1654
|
-
const
|
|
1644
|
+
const se_S3Resource = (input, context) => {
|
|
1655
1645
|
return {
|
|
1656
1646
|
...(input.BucketArn != null && { BucketArn: input.BucketArn }),
|
|
1657
|
-
...(input.KeyRange != null && { KeyRange:
|
|
1647
|
+
...(input.KeyRange != null && { KeyRange: se_KeyRange(input.KeyRange, context) }),
|
|
1658
1648
|
...(input.TargetOnDeviceServices != null && {
|
|
1659
|
-
TargetOnDeviceServices:
|
|
1649
|
+
TargetOnDeviceServices: se_TargetOnDeviceServiceList(input.TargetOnDeviceServices, context),
|
|
1660
1650
|
}),
|
|
1661
1651
|
};
|
|
1662
1652
|
};
|
|
1663
|
-
const
|
|
1653
|
+
const se_S3ResourceList = (input, context) => {
|
|
1664
1654
|
return input
|
|
1665
1655
|
.filter((e) => e != null)
|
|
1666
1656
|
.map((entry) => {
|
|
1667
|
-
return
|
|
1657
|
+
return se_S3Resource(entry, context);
|
|
1668
1658
|
});
|
|
1669
1659
|
};
|
|
1670
|
-
const
|
|
1660
|
+
const se_ServiceVersion = (input, context) => {
|
|
1671
1661
|
return {
|
|
1672
1662
|
...(input.Version != null && { Version: input.Version }),
|
|
1673
1663
|
};
|
|
1674
1664
|
};
|
|
1675
|
-
const
|
|
1665
|
+
const se_SnowconeDeviceConfiguration = (input, context) => {
|
|
1676
1666
|
return {
|
|
1677
1667
|
...(input.WirelessConnection != null && {
|
|
1678
|
-
WirelessConnection:
|
|
1668
|
+
WirelessConnection: se_WirelessConnection(input.WirelessConnection, context),
|
|
1679
1669
|
}),
|
|
1680
1670
|
};
|
|
1681
1671
|
};
|
|
1682
|
-
const
|
|
1672
|
+
const se_TargetOnDeviceService = (input, context) => {
|
|
1683
1673
|
return {
|
|
1684
1674
|
...(input.ServiceName != null && { ServiceName: input.ServiceName }),
|
|
1685
1675
|
...(input.TransferOption != null && { TransferOption: input.TransferOption }),
|
|
1686
1676
|
};
|
|
1687
1677
|
};
|
|
1688
|
-
const
|
|
1678
|
+
const se_TargetOnDeviceServiceList = (input, context) => {
|
|
1689
1679
|
return input
|
|
1690
1680
|
.filter((e) => e != null)
|
|
1691
1681
|
.map((entry) => {
|
|
1692
|
-
return
|
|
1682
|
+
return se_TargetOnDeviceService(entry, context);
|
|
1693
1683
|
});
|
|
1694
1684
|
};
|
|
1695
|
-
const
|
|
1685
|
+
const se_TaxDocuments = (input, context) => {
|
|
1696
1686
|
return {
|
|
1697
|
-
...(input.IND != null && { IND:
|
|
1687
|
+
...(input.IND != null && { IND: se_INDTaxDocuments(input.IND, context) }),
|
|
1698
1688
|
};
|
|
1699
1689
|
};
|
|
1700
|
-
const
|
|
1690
|
+
const se_TGWOnDeviceServiceConfiguration = (input, context) => {
|
|
1701
1691
|
return {
|
|
1702
1692
|
...(input.StorageLimit != null && { StorageLimit: input.StorageLimit }),
|
|
1703
1693
|
...(input.StorageUnit != null && { StorageUnit: input.StorageUnit }),
|
|
1704
1694
|
};
|
|
1705
1695
|
};
|
|
1706
|
-
const
|
|
1696
|
+
const se_UpdateClusterRequest = (input, context) => {
|
|
1707
1697
|
return {
|
|
1708
1698
|
...(input.AddressId != null && { AddressId: input.AddressId }),
|
|
1709
1699
|
...(input.ClusterId != null && { ClusterId: input.ClusterId }),
|
|
1710
1700
|
...(input.Description != null && { Description: input.Description }),
|
|
1711
1701
|
...(input.ForwardingAddressId != null && { ForwardingAddressId: input.ForwardingAddressId }),
|
|
1712
|
-
...(input.Notification != null && { Notification:
|
|
1702
|
+
...(input.Notification != null && { Notification: se_Notification(input.Notification, context) }),
|
|
1713
1703
|
...(input.OnDeviceServiceConfiguration != null && {
|
|
1714
|
-
OnDeviceServiceConfiguration:
|
|
1704
|
+
OnDeviceServiceConfiguration: se_OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
|
|
1715
1705
|
}),
|
|
1716
|
-
...(input.Resources != null && { Resources:
|
|
1706
|
+
...(input.Resources != null && { Resources: se_JobResource(input.Resources, context) }),
|
|
1717
1707
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1718
1708
|
...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
|
|
1719
1709
|
};
|
|
1720
1710
|
};
|
|
1721
|
-
const
|
|
1711
|
+
const se_UpdateJobRequest = (input, context) => {
|
|
1722
1712
|
return {
|
|
1723
1713
|
...(input.AddressId != null && { AddressId: input.AddressId }),
|
|
1724
1714
|
...(input.Description != null && { Description: input.Description }),
|
|
1725
1715
|
...(input.ForwardingAddressId != null && { ForwardingAddressId: input.ForwardingAddressId }),
|
|
1726
1716
|
...(input.JobId != null && { JobId: input.JobId }),
|
|
1727
|
-
...(input.Notification != null && { Notification:
|
|
1717
|
+
...(input.Notification != null && { Notification: se_Notification(input.Notification, context) }),
|
|
1728
1718
|
...(input.OnDeviceServiceConfiguration != null && {
|
|
1729
|
-
OnDeviceServiceConfiguration:
|
|
1719
|
+
OnDeviceServiceConfiguration: se_OnDeviceServiceConfiguration(input.OnDeviceServiceConfiguration, context),
|
|
1730
1720
|
}),
|
|
1731
|
-
...(input.Resources != null && { Resources:
|
|
1721
|
+
...(input.Resources != null && { Resources: se_JobResource(input.Resources, context) }),
|
|
1732
1722
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1733
1723
|
...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
|
|
1734
1724
|
...(input.SnowballCapacityPreference != null && { SnowballCapacityPreference: input.SnowballCapacityPreference }),
|
|
1735
1725
|
};
|
|
1736
1726
|
};
|
|
1737
|
-
const
|
|
1727
|
+
const se_UpdateJobShipmentStateRequest = (input, context) => {
|
|
1738
1728
|
return {
|
|
1739
1729
|
...(input.JobId != null && { JobId: input.JobId }),
|
|
1740
1730
|
...(input.ShipmentState != null && { ShipmentState: input.ShipmentState }),
|
|
1741
1731
|
};
|
|
1742
1732
|
};
|
|
1743
|
-
const
|
|
1733
|
+
const se_UpdateLongTermPricingRequest = (input, context) => {
|
|
1744
1734
|
return {
|
|
1745
1735
|
...(input.IsLongTermPricingAutoRenew != null && { IsLongTermPricingAutoRenew: input.IsLongTermPricingAutoRenew }),
|
|
1746
1736
|
...(input.LongTermPricingId != null && { LongTermPricingId: input.LongTermPricingId }),
|
|
1747
1737
|
...(input.ReplacementJob != null && { ReplacementJob: input.ReplacementJob }),
|
|
1748
1738
|
};
|
|
1749
1739
|
};
|
|
1750
|
-
const
|
|
1740
|
+
const se_WirelessConnection = (input, context) => {
|
|
1751
1741
|
return {
|
|
1752
1742
|
...(input.IsWifiEnabled != null && { IsWifiEnabled: input.IsWifiEnabled }),
|
|
1753
1743
|
};
|
|
1754
1744
|
};
|
|
1755
|
-
const
|
|
1745
|
+
const de_Address = (output, context) => {
|
|
1756
1746
|
return {
|
|
1757
1747
|
AddressId: (0, smithy_client_1.expectString)(output.AddressId),
|
|
1758
1748
|
City: (0, smithy_client_1.expectString)(output.City),
|
|
@@ -1770,29 +1760,29 @@ const deserializeAws_json1_1Address = (output, context) => {
|
|
|
1770
1760
|
Street3: (0, smithy_client_1.expectString)(output.Street3),
|
|
1771
1761
|
};
|
|
1772
1762
|
};
|
|
1773
|
-
const
|
|
1763
|
+
const de_AddressList = (output, context) => {
|
|
1774
1764
|
const retVal = (output || [])
|
|
1775
1765
|
.filter((e) => e != null)
|
|
1776
1766
|
.map((entry) => {
|
|
1777
1767
|
if (entry === null) {
|
|
1778
1768
|
return null;
|
|
1779
1769
|
}
|
|
1780
|
-
return
|
|
1770
|
+
return de_Address(entry, context);
|
|
1781
1771
|
});
|
|
1782
1772
|
return retVal;
|
|
1783
1773
|
};
|
|
1784
|
-
const
|
|
1774
|
+
const de_CancelClusterResult = (output, context) => {
|
|
1785
1775
|
return {};
|
|
1786
1776
|
};
|
|
1787
|
-
const
|
|
1777
|
+
const de_CancelJobResult = (output, context) => {
|
|
1788
1778
|
return {};
|
|
1789
1779
|
};
|
|
1790
|
-
const
|
|
1780
|
+
const de_ClusterLimitExceededException = (output, context) => {
|
|
1791
1781
|
return {
|
|
1792
1782
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1793
1783
|
};
|
|
1794
1784
|
};
|
|
1795
|
-
const
|
|
1785
|
+
const de_ClusterListEntry = (output, context) => {
|
|
1796
1786
|
return {
|
|
1797
1787
|
ClusterId: (0, smithy_client_1.expectString)(output.ClusterId),
|
|
1798
1788
|
ClusterState: (0, smithy_client_1.expectString)(output.ClusterState),
|
|
@@ -1802,18 +1792,18 @@ const deserializeAws_json1_1ClusterListEntry = (output, context) => {
|
|
|
1802
1792
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1803
1793
|
};
|
|
1804
1794
|
};
|
|
1805
|
-
const
|
|
1795
|
+
const de_ClusterListEntryList = (output, context) => {
|
|
1806
1796
|
const retVal = (output || [])
|
|
1807
1797
|
.filter((e) => e != null)
|
|
1808
1798
|
.map((entry) => {
|
|
1809
1799
|
if (entry === null) {
|
|
1810
1800
|
return null;
|
|
1811
1801
|
}
|
|
1812
|
-
return
|
|
1802
|
+
return de_ClusterListEntry(entry, context);
|
|
1813
1803
|
});
|
|
1814
1804
|
return retVal;
|
|
1815
1805
|
};
|
|
1816
|
-
const
|
|
1806
|
+
const de_ClusterMetadata = (output, context) => {
|
|
1817
1807
|
return {
|
|
1818
1808
|
AddressId: (0, smithy_client_1.expectString)(output.AddressId),
|
|
1819
1809
|
ClusterId: (0, smithy_client_1.expectString)(output.ClusterId),
|
|
@@ -1825,66 +1815,66 @@ const deserializeAws_json1_1ClusterMetadata = (output, context) => {
|
|
|
1825
1815
|
ForwardingAddressId: (0, smithy_client_1.expectString)(output.ForwardingAddressId),
|
|
1826
1816
|
JobType: (0, smithy_client_1.expectString)(output.JobType),
|
|
1827
1817
|
KmsKeyARN: (0, smithy_client_1.expectString)(output.KmsKeyARN),
|
|
1828
|
-
Notification: output.Notification != null ?
|
|
1818
|
+
Notification: output.Notification != null ? de_Notification(output.Notification, context) : undefined,
|
|
1829
1819
|
OnDeviceServiceConfiguration: output.OnDeviceServiceConfiguration != null
|
|
1830
|
-
?
|
|
1820
|
+
? de_OnDeviceServiceConfiguration(output.OnDeviceServiceConfiguration, context)
|
|
1831
1821
|
: undefined,
|
|
1832
|
-
Resources: output.Resources != null ?
|
|
1822
|
+
Resources: output.Resources != null ? de_JobResource(output.Resources, context) : undefined,
|
|
1833
1823
|
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1834
1824
|
ShippingOption: (0, smithy_client_1.expectString)(output.ShippingOption),
|
|
1835
1825
|
SnowballType: (0, smithy_client_1.expectString)(output.SnowballType),
|
|
1836
|
-
TaxDocuments: output.TaxDocuments != null ?
|
|
1826
|
+
TaxDocuments: output.TaxDocuments != null ? de_TaxDocuments(output.TaxDocuments, context) : undefined,
|
|
1837
1827
|
};
|
|
1838
1828
|
};
|
|
1839
|
-
const
|
|
1829
|
+
const de_CompatibleImage = (output, context) => {
|
|
1840
1830
|
return {
|
|
1841
1831
|
AmiId: (0, smithy_client_1.expectString)(output.AmiId),
|
|
1842
1832
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1843
1833
|
};
|
|
1844
1834
|
};
|
|
1845
|
-
const
|
|
1835
|
+
const de_CompatibleImageList = (output, context) => {
|
|
1846
1836
|
const retVal = (output || [])
|
|
1847
1837
|
.filter((e) => e != null)
|
|
1848
1838
|
.map((entry) => {
|
|
1849
1839
|
if (entry === null) {
|
|
1850
1840
|
return null;
|
|
1851
1841
|
}
|
|
1852
|
-
return
|
|
1842
|
+
return de_CompatibleImage(entry, context);
|
|
1853
1843
|
});
|
|
1854
1844
|
return retVal;
|
|
1855
1845
|
};
|
|
1856
|
-
const
|
|
1846
|
+
const de_ConflictException = (output, context) => {
|
|
1857
1847
|
return {
|
|
1858
1848
|
ConflictResource: (0, smithy_client_1.expectString)(output.ConflictResource),
|
|
1859
1849
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1860
1850
|
};
|
|
1861
1851
|
};
|
|
1862
|
-
const
|
|
1852
|
+
const de_CreateAddressResult = (output, context) => {
|
|
1863
1853
|
return {
|
|
1864
1854
|
AddressId: (0, smithy_client_1.expectString)(output.AddressId),
|
|
1865
1855
|
};
|
|
1866
1856
|
};
|
|
1867
|
-
const
|
|
1857
|
+
const de_CreateClusterResult = (output, context) => {
|
|
1868
1858
|
return {
|
|
1869
1859
|
ClusterId: (0, smithy_client_1.expectString)(output.ClusterId),
|
|
1870
1860
|
};
|
|
1871
1861
|
};
|
|
1872
|
-
const
|
|
1862
|
+
const de_CreateJobResult = (output, context) => {
|
|
1873
1863
|
return {
|
|
1874
1864
|
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
1875
1865
|
};
|
|
1876
1866
|
};
|
|
1877
|
-
const
|
|
1867
|
+
const de_CreateLongTermPricingResult = (output, context) => {
|
|
1878
1868
|
return {
|
|
1879
1869
|
LongTermPricingId: (0, smithy_client_1.expectString)(output.LongTermPricingId),
|
|
1880
1870
|
};
|
|
1881
1871
|
};
|
|
1882
|
-
const
|
|
1872
|
+
const de_CreateReturnShippingLabelResult = (output, context) => {
|
|
1883
1873
|
return {
|
|
1884
1874
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1885
1875
|
};
|
|
1886
1876
|
};
|
|
1887
|
-
const
|
|
1877
|
+
const de_DataTransfer = (output, context) => {
|
|
1888
1878
|
return {
|
|
1889
1879
|
BytesTransferred: (0, smithy_client_1.expectLong)(output.BytesTransferred),
|
|
1890
1880
|
ObjectsTransferred: (0, smithy_client_1.expectLong)(output.ObjectsTransferred),
|
|
@@ -1892,48 +1882,46 @@ const deserializeAws_json1_1DataTransfer = (output, context) => {
|
|
|
1892
1882
|
TotalObjects: (0, smithy_client_1.expectLong)(output.TotalObjects),
|
|
1893
1883
|
};
|
|
1894
1884
|
};
|
|
1895
|
-
const
|
|
1885
|
+
const de_DependentService = (output, context) => {
|
|
1896
1886
|
return {
|
|
1897
1887
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
1898
|
-
ServiceVersion: output.ServiceVersion != null ?
|
|
1888
|
+
ServiceVersion: output.ServiceVersion != null ? de_ServiceVersion(output.ServiceVersion, context) : undefined,
|
|
1899
1889
|
};
|
|
1900
1890
|
};
|
|
1901
|
-
const
|
|
1891
|
+
const de_DependentServiceList = (output, context) => {
|
|
1902
1892
|
const retVal = (output || [])
|
|
1903
1893
|
.filter((e) => e != null)
|
|
1904
1894
|
.map((entry) => {
|
|
1905
1895
|
if (entry === null) {
|
|
1906
1896
|
return null;
|
|
1907
1897
|
}
|
|
1908
|
-
return
|
|
1898
|
+
return de_DependentService(entry, context);
|
|
1909
1899
|
});
|
|
1910
1900
|
return retVal;
|
|
1911
1901
|
};
|
|
1912
|
-
const
|
|
1902
|
+
const de_DescribeAddressesResult = (output, context) => {
|
|
1913
1903
|
return {
|
|
1914
|
-
Addresses: output.Addresses != null ?
|
|
1904
|
+
Addresses: output.Addresses != null ? de_AddressList(output.Addresses, context) : undefined,
|
|
1915
1905
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1916
1906
|
};
|
|
1917
1907
|
};
|
|
1918
|
-
const
|
|
1908
|
+
const de_DescribeAddressResult = (output, context) => {
|
|
1919
1909
|
return {
|
|
1920
|
-
Address: output.Address != null ?
|
|
1910
|
+
Address: output.Address != null ? de_Address(output.Address, context) : undefined,
|
|
1921
1911
|
};
|
|
1922
1912
|
};
|
|
1923
|
-
const
|
|
1913
|
+
const de_DescribeClusterResult = (output, context) => {
|
|
1924
1914
|
return {
|
|
1925
|
-
ClusterMetadata: output.ClusterMetadata != null
|
|
1926
|
-
? deserializeAws_json1_1ClusterMetadata(output.ClusterMetadata, context)
|
|
1927
|
-
: undefined,
|
|
1915
|
+
ClusterMetadata: output.ClusterMetadata != null ? de_ClusterMetadata(output.ClusterMetadata, context) : undefined,
|
|
1928
1916
|
};
|
|
1929
1917
|
};
|
|
1930
|
-
const
|
|
1918
|
+
const de_DescribeJobResult = (output, context) => {
|
|
1931
1919
|
return {
|
|
1932
|
-
JobMetadata: output.JobMetadata != null ?
|
|
1933
|
-
SubJobMetadata: output.SubJobMetadata != null ?
|
|
1920
|
+
JobMetadata: output.JobMetadata != null ? de_JobMetadata(output.JobMetadata, context) : undefined,
|
|
1921
|
+
SubJobMetadata: output.SubJobMetadata != null ? de_JobMetadataList(output.SubJobMetadata, context) : undefined,
|
|
1934
1922
|
};
|
|
1935
1923
|
};
|
|
1936
|
-
const
|
|
1924
|
+
const de_DescribeReturnShippingLabelResult = (output, context) => {
|
|
1937
1925
|
return {
|
|
1938
1926
|
ExpirationDate: output.ExpirationDate != null
|
|
1939
1927
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationDate)))
|
|
@@ -1942,110 +1930,110 @@ const deserializeAws_json1_1DescribeReturnShippingLabelResult = (output, context
|
|
|
1942
1930
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1943
1931
|
};
|
|
1944
1932
|
};
|
|
1945
|
-
const
|
|
1933
|
+
const de_DeviceConfiguration = (output, context) => {
|
|
1946
1934
|
return {
|
|
1947
1935
|
SnowconeDeviceConfiguration: output.SnowconeDeviceConfiguration != null
|
|
1948
|
-
?
|
|
1936
|
+
? de_SnowconeDeviceConfiguration(output.SnowconeDeviceConfiguration, context)
|
|
1949
1937
|
: undefined,
|
|
1950
1938
|
};
|
|
1951
1939
|
};
|
|
1952
|
-
const
|
|
1940
|
+
const de_Ec2AmiResource = (output, context) => {
|
|
1953
1941
|
return {
|
|
1954
1942
|
AmiId: (0, smithy_client_1.expectString)(output.AmiId),
|
|
1955
1943
|
SnowballAmiId: (0, smithy_client_1.expectString)(output.SnowballAmiId),
|
|
1956
1944
|
};
|
|
1957
1945
|
};
|
|
1958
|
-
const
|
|
1946
|
+
const de_Ec2AmiResourceList = (output, context) => {
|
|
1959
1947
|
const retVal = (output || [])
|
|
1960
1948
|
.filter((e) => e != null)
|
|
1961
1949
|
.map((entry) => {
|
|
1962
1950
|
if (entry === null) {
|
|
1963
1951
|
return null;
|
|
1964
1952
|
}
|
|
1965
|
-
return
|
|
1953
|
+
return de_Ec2AmiResource(entry, context);
|
|
1966
1954
|
});
|
|
1967
1955
|
return retVal;
|
|
1968
1956
|
};
|
|
1969
|
-
const
|
|
1957
|
+
const de_Ec2RequestFailedException = (output, context) => {
|
|
1970
1958
|
return {
|
|
1971
1959
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1972
1960
|
};
|
|
1973
1961
|
};
|
|
1974
|
-
const
|
|
1962
|
+
const de_EKSOnDeviceServiceConfiguration = (output, context) => {
|
|
1975
1963
|
return {
|
|
1976
1964
|
EKSAnywhereVersion: (0, smithy_client_1.expectString)(output.EKSAnywhereVersion),
|
|
1977
1965
|
KubernetesVersion: (0, smithy_client_1.expectString)(output.KubernetesVersion),
|
|
1978
1966
|
};
|
|
1979
1967
|
};
|
|
1980
|
-
const
|
|
1968
|
+
const de_EventTriggerDefinition = (output, context) => {
|
|
1981
1969
|
return {
|
|
1982
1970
|
EventResourceARN: (0, smithy_client_1.expectString)(output.EventResourceARN),
|
|
1983
1971
|
};
|
|
1984
1972
|
};
|
|
1985
|
-
const
|
|
1973
|
+
const de_EventTriggerDefinitionList = (output, context) => {
|
|
1986
1974
|
const retVal = (output || [])
|
|
1987
1975
|
.filter((e) => e != null)
|
|
1988
1976
|
.map((entry) => {
|
|
1989
1977
|
if (entry === null) {
|
|
1990
1978
|
return null;
|
|
1991
1979
|
}
|
|
1992
|
-
return
|
|
1980
|
+
return de_EventTriggerDefinition(entry, context);
|
|
1993
1981
|
});
|
|
1994
1982
|
return retVal;
|
|
1995
1983
|
};
|
|
1996
|
-
const
|
|
1984
|
+
const de_GetJobManifestResult = (output, context) => {
|
|
1997
1985
|
return {
|
|
1998
1986
|
ManifestURI: (0, smithy_client_1.expectString)(output.ManifestURI),
|
|
1999
1987
|
};
|
|
2000
1988
|
};
|
|
2001
|
-
const
|
|
1989
|
+
const de_GetJobUnlockCodeResult = (output, context) => {
|
|
2002
1990
|
return {
|
|
2003
1991
|
UnlockCode: (0, smithy_client_1.expectString)(output.UnlockCode),
|
|
2004
1992
|
};
|
|
2005
1993
|
};
|
|
2006
|
-
const
|
|
1994
|
+
const de_GetSnowballUsageResult = (output, context) => {
|
|
2007
1995
|
return {
|
|
2008
1996
|
SnowballLimit: (0, smithy_client_1.expectInt32)(output.SnowballLimit),
|
|
2009
1997
|
SnowballsInUse: (0, smithy_client_1.expectInt32)(output.SnowballsInUse),
|
|
2010
1998
|
};
|
|
2011
1999
|
};
|
|
2012
|
-
const
|
|
2000
|
+
const de_GetSoftwareUpdatesResult = (output, context) => {
|
|
2013
2001
|
return {
|
|
2014
2002
|
UpdatesURI: (0, smithy_client_1.expectString)(output.UpdatesURI),
|
|
2015
2003
|
};
|
|
2016
2004
|
};
|
|
2017
|
-
const
|
|
2005
|
+
const de_INDTaxDocuments = (output, context) => {
|
|
2018
2006
|
return {
|
|
2019
2007
|
GSTIN: (0, smithy_client_1.expectString)(output.GSTIN),
|
|
2020
2008
|
};
|
|
2021
2009
|
};
|
|
2022
|
-
const
|
|
2010
|
+
const de_InvalidAddressException = (output, context) => {
|
|
2023
2011
|
return {
|
|
2024
2012
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2025
2013
|
};
|
|
2026
2014
|
};
|
|
2027
|
-
const
|
|
2015
|
+
const de_InvalidInputCombinationException = (output, context) => {
|
|
2028
2016
|
return {
|
|
2029
2017
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2030
2018
|
};
|
|
2031
2019
|
};
|
|
2032
|
-
const
|
|
2020
|
+
const de_InvalidJobStateException = (output, context) => {
|
|
2033
2021
|
return {
|
|
2034
2022
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2035
2023
|
};
|
|
2036
2024
|
};
|
|
2037
|
-
const
|
|
2025
|
+
const de_InvalidNextTokenException = (output, context) => {
|
|
2038
2026
|
return {
|
|
2039
2027
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2040
2028
|
};
|
|
2041
2029
|
};
|
|
2042
|
-
const
|
|
2030
|
+
const de_InvalidResourceException = (output, context) => {
|
|
2043
2031
|
return {
|
|
2044
2032
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2045
2033
|
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
2046
2034
|
};
|
|
2047
2035
|
};
|
|
2048
|
-
const
|
|
2036
|
+
const de_JobListEntry = (output, context) => {
|
|
2049
2037
|
return {
|
|
2050
2038
|
CreationDate: output.CreationDate != null
|
|
2051
2039
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
@@ -2058,83 +2046,73 @@ const deserializeAws_json1_1JobListEntry = (output, context) => {
|
|
|
2058
2046
|
SnowballType: (0, smithy_client_1.expectString)(output.SnowballType),
|
|
2059
2047
|
};
|
|
2060
2048
|
};
|
|
2061
|
-
const
|
|
2049
|
+
const de_JobListEntryList = (output, context) => {
|
|
2062
2050
|
const retVal = (output || [])
|
|
2063
2051
|
.filter((e) => e != null)
|
|
2064
2052
|
.map((entry) => {
|
|
2065
2053
|
if (entry === null) {
|
|
2066
2054
|
return null;
|
|
2067
2055
|
}
|
|
2068
|
-
return
|
|
2056
|
+
return de_JobListEntry(entry, context);
|
|
2069
2057
|
});
|
|
2070
2058
|
return retVal;
|
|
2071
2059
|
};
|
|
2072
|
-
const
|
|
2060
|
+
const de_JobLogs = (output, context) => {
|
|
2073
2061
|
return {
|
|
2074
2062
|
JobCompletionReportURI: (0, smithy_client_1.expectString)(output.JobCompletionReportURI),
|
|
2075
2063
|
JobFailureLogURI: (0, smithy_client_1.expectString)(output.JobFailureLogURI),
|
|
2076
2064
|
JobSuccessLogURI: (0, smithy_client_1.expectString)(output.JobSuccessLogURI),
|
|
2077
2065
|
};
|
|
2078
2066
|
};
|
|
2079
|
-
const
|
|
2067
|
+
const de_JobMetadata = (output, context) => {
|
|
2080
2068
|
return {
|
|
2081
2069
|
AddressId: (0, smithy_client_1.expectString)(output.AddressId),
|
|
2082
2070
|
ClusterId: (0, smithy_client_1.expectString)(output.ClusterId),
|
|
2083
2071
|
CreationDate: output.CreationDate != null
|
|
2084
2072
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
2085
2073
|
: undefined,
|
|
2086
|
-
DataTransferProgress: output.DataTransferProgress != null
|
|
2087
|
-
? deserializeAws_json1_1DataTransfer(output.DataTransferProgress, context)
|
|
2088
|
-
: undefined,
|
|
2074
|
+
DataTransferProgress: output.DataTransferProgress != null ? de_DataTransfer(output.DataTransferProgress, context) : undefined,
|
|
2089
2075
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2090
|
-
DeviceConfiguration: output.DeviceConfiguration != null
|
|
2091
|
-
? deserializeAws_json1_1DeviceConfiguration(output.DeviceConfiguration, context)
|
|
2092
|
-
: undefined,
|
|
2076
|
+
DeviceConfiguration: output.DeviceConfiguration != null ? de_DeviceConfiguration(output.DeviceConfiguration, context) : undefined,
|
|
2093
2077
|
ForwardingAddressId: (0, smithy_client_1.expectString)(output.ForwardingAddressId),
|
|
2094
2078
|
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
2095
|
-
JobLogInfo: output.JobLogInfo != null ?
|
|
2079
|
+
JobLogInfo: output.JobLogInfo != null ? de_JobLogs(output.JobLogInfo, context) : undefined,
|
|
2096
2080
|
JobState: (0, smithy_client_1.expectString)(output.JobState),
|
|
2097
2081
|
JobType: (0, smithy_client_1.expectString)(output.JobType),
|
|
2098
2082
|
KmsKeyARN: (0, smithy_client_1.expectString)(output.KmsKeyARN),
|
|
2099
2083
|
LongTermPricingId: (0, smithy_client_1.expectString)(output.LongTermPricingId),
|
|
2100
|
-
Notification: output.Notification != null ?
|
|
2084
|
+
Notification: output.Notification != null ? de_Notification(output.Notification, context) : undefined,
|
|
2101
2085
|
OnDeviceServiceConfiguration: output.OnDeviceServiceConfiguration != null
|
|
2102
|
-
?
|
|
2086
|
+
? de_OnDeviceServiceConfiguration(output.OnDeviceServiceConfiguration, context)
|
|
2103
2087
|
: undefined,
|
|
2104
2088
|
RemoteManagement: (0, smithy_client_1.expectString)(output.RemoteManagement),
|
|
2105
|
-
Resources: output.Resources != null ?
|
|
2089
|
+
Resources: output.Resources != null ? de_JobResource(output.Resources, context) : undefined,
|
|
2106
2090
|
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
2107
|
-
ShippingDetails: output.ShippingDetails != null
|
|
2108
|
-
? deserializeAws_json1_1ShippingDetails(output.ShippingDetails, context)
|
|
2109
|
-
: undefined,
|
|
2091
|
+
ShippingDetails: output.ShippingDetails != null ? de_ShippingDetails(output.ShippingDetails, context) : undefined,
|
|
2110
2092
|
SnowballCapacityPreference: (0, smithy_client_1.expectString)(output.SnowballCapacityPreference),
|
|
2111
2093
|
SnowballType: (0, smithy_client_1.expectString)(output.SnowballType),
|
|
2112
|
-
TaxDocuments: output.TaxDocuments != null ?
|
|
2094
|
+
TaxDocuments: output.TaxDocuments != null ? de_TaxDocuments(output.TaxDocuments, context) : undefined,
|
|
2113
2095
|
};
|
|
2114
2096
|
};
|
|
2115
|
-
const
|
|
2097
|
+
const de_JobMetadataList = (output, context) => {
|
|
2116
2098
|
const retVal = (output || [])
|
|
2117
2099
|
.filter((e) => e != null)
|
|
2118
2100
|
.map((entry) => {
|
|
2119
2101
|
if (entry === null) {
|
|
2120
2102
|
return null;
|
|
2121
2103
|
}
|
|
2122
|
-
return
|
|
2104
|
+
return de_JobMetadata(entry, context);
|
|
2123
2105
|
});
|
|
2124
2106
|
return retVal;
|
|
2125
2107
|
};
|
|
2126
|
-
const
|
|
2108
|
+
const de_JobResource = (output, context) => {
|
|
2127
2109
|
return {
|
|
2128
|
-
Ec2AmiResources: output.Ec2AmiResources != null
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
LambdaResources: output.LambdaResources != null
|
|
2132
|
-
? deserializeAws_json1_1LambdaResourceList(output.LambdaResources, context)
|
|
2133
|
-
: undefined,
|
|
2134
|
-
S3Resources: output.S3Resources != null ? deserializeAws_json1_1S3ResourceList(output.S3Resources, context) : undefined,
|
|
2110
|
+
Ec2AmiResources: output.Ec2AmiResources != null ? de_Ec2AmiResourceList(output.Ec2AmiResources, context) : undefined,
|
|
2111
|
+
LambdaResources: output.LambdaResources != null ? de_LambdaResourceList(output.LambdaResources, context) : undefined,
|
|
2112
|
+
S3Resources: output.S3Resources != null ? de_S3ResourceList(output.S3Resources, context) : undefined,
|
|
2135
2113
|
};
|
|
2136
2114
|
};
|
|
2137
|
-
const
|
|
2115
|
+
const de_JobStateList = (output, context) => {
|
|
2138
2116
|
const retVal = (output || [])
|
|
2139
2117
|
.filter((e) => e != null)
|
|
2140
2118
|
.map((entry) => {
|
|
@@ -2145,89 +2123,75 @@ const deserializeAws_json1_1JobStateList = (output, context) => {
|
|
|
2145
2123
|
});
|
|
2146
2124
|
return retVal;
|
|
2147
2125
|
};
|
|
2148
|
-
const
|
|
2126
|
+
const de_KeyRange = (output, context) => {
|
|
2149
2127
|
return {
|
|
2150
2128
|
BeginMarker: (0, smithy_client_1.expectString)(output.BeginMarker),
|
|
2151
2129
|
EndMarker: (0, smithy_client_1.expectString)(output.EndMarker),
|
|
2152
2130
|
};
|
|
2153
2131
|
};
|
|
2154
|
-
const
|
|
2132
|
+
const de_KMSRequestFailedException = (output, context) => {
|
|
2155
2133
|
return {
|
|
2156
2134
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2157
2135
|
};
|
|
2158
2136
|
};
|
|
2159
|
-
const
|
|
2137
|
+
const de_LambdaResource = (output, context) => {
|
|
2160
2138
|
return {
|
|
2161
|
-
EventTriggers: output.EventTriggers != null
|
|
2162
|
-
? deserializeAws_json1_1EventTriggerDefinitionList(output.EventTriggers, context)
|
|
2163
|
-
: undefined,
|
|
2139
|
+
EventTriggers: output.EventTriggers != null ? de_EventTriggerDefinitionList(output.EventTriggers, context) : undefined,
|
|
2164
2140
|
LambdaArn: (0, smithy_client_1.expectString)(output.LambdaArn),
|
|
2165
2141
|
};
|
|
2166
2142
|
};
|
|
2167
|
-
const
|
|
2143
|
+
const de_LambdaResourceList = (output, context) => {
|
|
2168
2144
|
const retVal = (output || [])
|
|
2169
2145
|
.filter((e) => e != null)
|
|
2170
2146
|
.map((entry) => {
|
|
2171
2147
|
if (entry === null) {
|
|
2172
2148
|
return null;
|
|
2173
2149
|
}
|
|
2174
|
-
return
|
|
2150
|
+
return de_LambdaResource(entry, context);
|
|
2175
2151
|
});
|
|
2176
2152
|
return retVal;
|
|
2177
2153
|
};
|
|
2178
|
-
const
|
|
2154
|
+
const de_ListClusterJobsResult = (output, context) => {
|
|
2179
2155
|
return {
|
|
2180
|
-
JobListEntries: output.JobListEntries != null
|
|
2181
|
-
? deserializeAws_json1_1JobListEntryList(output.JobListEntries, context)
|
|
2182
|
-
: undefined,
|
|
2156
|
+
JobListEntries: output.JobListEntries != null ? de_JobListEntryList(output.JobListEntries, context) : undefined,
|
|
2183
2157
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2184
2158
|
};
|
|
2185
2159
|
};
|
|
2186
|
-
const
|
|
2160
|
+
const de_ListClustersResult = (output, context) => {
|
|
2187
2161
|
return {
|
|
2188
|
-
ClusterListEntries: output.ClusterListEntries != null
|
|
2189
|
-
? deserializeAws_json1_1ClusterListEntryList(output.ClusterListEntries, context)
|
|
2190
|
-
: undefined,
|
|
2162
|
+
ClusterListEntries: output.ClusterListEntries != null ? de_ClusterListEntryList(output.ClusterListEntries, context) : undefined,
|
|
2191
2163
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2192
2164
|
};
|
|
2193
2165
|
};
|
|
2194
|
-
const
|
|
2166
|
+
const de_ListCompatibleImagesResult = (output, context) => {
|
|
2195
2167
|
return {
|
|
2196
|
-
CompatibleImages: output.CompatibleImages != null
|
|
2197
|
-
? deserializeAws_json1_1CompatibleImageList(output.CompatibleImages, context)
|
|
2198
|
-
: undefined,
|
|
2168
|
+
CompatibleImages: output.CompatibleImages != null ? de_CompatibleImageList(output.CompatibleImages, context) : undefined,
|
|
2199
2169
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2200
2170
|
};
|
|
2201
2171
|
};
|
|
2202
|
-
const
|
|
2172
|
+
const de_ListJobsResult = (output, context) => {
|
|
2203
2173
|
return {
|
|
2204
|
-
JobListEntries: output.JobListEntries != null
|
|
2205
|
-
? deserializeAws_json1_1JobListEntryList(output.JobListEntries, context)
|
|
2206
|
-
: undefined,
|
|
2174
|
+
JobListEntries: output.JobListEntries != null ? de_JobListEntryList(output.JobListEntries, context) : undefined,
|
|
2207
2175
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2208
2176
|
};
|
|
2209
2177
|
};
|
|
2210
|
-
const
|
|
2178
|
+
const de_ListLongTermPricingResult = (output, context) => {
|
|
2211
2179
|
return {
|
|
2212
2180
|
LongTermPricingEntries: output.LongTermPricingEntries != null
|
|
2213
|
-
?
|
|
2181
|
+
? de_LongTermPricingEntryList(output.LongTermPricingEntries, context)
|
|
2214
2182
|
: undefined,
|
|
2215
2183
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2216
2184
|
};
|
|
2217
2185
|
};
|
|
2218
|
-
const
|
|
2186
|
+
const de_ListServiceVersionsResult = (output, context) => {
|
|
2219
2187
|
return {
|
|
2220
|
-
DependentServices: output.DependentServices != null
|
|
2221
|
-
? deserializeAws_json1_1DependentServiceList(output.DependentServices, context)
|
|
2222
|
-
: undefined,
|
|
2188
|
+
DependentServices: output.DependentServices != null ? de_DependentServiceList(output.DependentServices, context) : undefined,
|
|
2223
2189
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2224
2190
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
2225
|
-
ServiceVersions: output.ServiceVersions != null
|
|
2226
|
-
? deserializeAws_json1_1ServiceVersionList(output.ServiceVersions, context)
|
|
2227
|
-
: undefined,
|
|
2191
|
+
ServiceVersions: output.ServiceVersions != null ? de_ServiceVersionList(output.ServiceVersions, context) : undefined,
|
|
2228
2192
|
};
|
|
2229
2193
|
};
|
|
2230
|
-
const
|
|
2194
|
+
const de_LongTermPricingAssociatedJobIdList = (output, context) => {
|
|
2231
2195
|
const retVal = (output || [])
|
|
2232
2196
|
.filter((e) => e != null)
|
|
2233
2197
|
.map((entry) => {
|
|
@@ -2238,24 +2202,22 @@ const deserializeAws_json1_1LongTermPricingAssociatedJobIdList = (output, contex
|
|
|
2238
2202
|
});
|
|
2239
2203
|
return retVal;
|
|
2240
2204
|
};
|
|
2241
|
-
const
|
|
2205
|
+
const de_LongTermPricingEntryList = (output, context) => {
|
|
2242
2206
|
const retVal = (output || [])
|
|
2243
2207
|
.filter((e) => e != null)
|
|
2244
2208
|
.map((entry) => {
|
|
2245
2209
|
if (entry === null) {
|
|
2246
2210
|
return null;
|
|
2247
2211
|
}
|
|
2248
|
-
return
|
|
2212
|
+
return de_LongTermPricingListEntry(entry, context);
|
|
2249
2213
|
});
|
|
2250
2214
|
return retVal;
|
|
2251
2215
|
};
|
|
2252
|
-
const
|
|
2216
|
+
const de_LongTermPricingListEntry = (output, context) => {
|
|
2253
2217
|
return {
|
|
2254
2218
|
CurrentActiveJob: (0, smithy_client_1.expectString)(output.CurrentActiveJob),
|
|
2255
2219
|
IsLongTermPricingAutoRenew: (0, smithy_client_1.expectBoolean)(output.IsLongTermPricingAutoRenew),
|
|
2256
|
-
JobIds: output.JobIds != null
|
|
2257
|
-
? deserializeAws_json1_1LongTermPricingAssociatedJobIdList(output.JobIds, context)
|
|
2258
|
-
: undefined,
|
|
2220
|
+
JobIds: output.JobIds != null ? de_LongTermPricingAssociatedJobIdList(output.JobIds, context) : undefined,
|
|
2259
2221
|
LongTermPricingEndDate: output.LongTermPricingEndDate != null
|
|
2260
2222
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LongTermPricingEndDate)))
|
|
2261
2223
|
: undefined,
|
|
@@ -2269,141 +2231,137 @@ const deserializeAws_json1_1LongTermPricingListEntry = (output, context) => {
|
|
|
2269
2231
|
SnowballType: (0, smithy_client_1.expectString)(output.SnowballType),
|
|
2270
2232
|
};
|
|
2271
2233
|
};
|
|
2272
|
-
const
|
|
2234
|
+
const de_NFSOnDeviceServiceConfiguration = (output, context) => {
|
|
2273
2235
|
return {
|
|
2274
2236
|
StorageLimit: (0, smithy_client_1.expectInt32)(output.StorageLimit),
|
|
2275
2237
|
StorageUnit: (0, smithy_client_1.expectString)(output.StorageUnit),
|
|
2276
2238
|
};
|
|
2277
2239
|
};
|
|
2278
|
-
const
|
|
2240
|
+
const de_Notification = (output, context) => {
|
|
2279
2241
|
return {
|
|
2280
|
-
JobStatesToNotify: output.JobStatesToNotify != null
|
|
2281
|
-
? deserializeAws_json1_1JobStateList(output.JobStatesToNotify, context)
|
|
2282
|
-
: undefined,
|
|
2242
|
+
JobStatesToNotify: output.JobStatesToNotify != null ? de_JobStateList(output.JobStatesToNotify, context) : undefined,
|
|
2283
2243
|
NotifyAll: (0, smithy_client_1.expectBoolean)(output.NotifyAll),
|
|
2284
2244
|
SnsTopicARN: (0, smithy_client_1.expectString)(output.SnsTopicARN),
|
|
2285
2245
|
};
|
|
2286
2246
|
};
|
|
2287
|
-
const
|
|
2247
|
+
const de_OnDeviceServiceConfiguration = (output, context) => {
|
|
2288
2248
|
return {
|
|
2289
2249
|
EKSOnDeviceService: output.EKSOnDeviceService != null
|
|
2290
|
-
?
|
|
2250
|
+
? de_EKSOnDeviceServiceConfiguration(output.EKSOnDeviceService, context)
|
|
2291
2251
|
: undefined,
|
|
2292
2252
|
NFSOnDeviceService: output.NFSOnDeviceService != null
|
|
2293
|
-
?
|
|
2253
|
+
? de_NFSOnDeviceServiceConfiguration(output.NFSOnDeviceService, context)
|
|
2294
2254
|
: undefined,
|
|
2295
2255
|
TGWOnDeviceService: output.TGWOnDeviceService != null
|
|
2296
|
-
?
|
|
2256
|
+
? de_TGWOnDeviceServiceConfiguration(output.TGWOnDeviceService, context)
|
|
2297
2257
|
: undefined,
|
|
2298
2258
|
};
|
|
2299
2259
|
};
|
|
2300
|
-
const
|
|
2260
|
+
const de_ReturnShippingLabelAlreadyExistsException = (output, context) => {
|
|
2301
2261
|
return {
|
|
2302
2262
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2303
2263
|
};
|
|
2304
2264
|
};
|
|
2305
|
-
const
|
|
2265
|
+
const de_S3Resource = (output, context) => {
|
|
2306
2266
|
return {
|
|
2307
2267
|
BucketArn: (0, smithy_client_1.expectString)(output.BucketArn),
|
|
2308
|
-
KeyRange: output.KeyRange != null ?
|
|
2268
|
+
KeyRange: output.KeyRange != null ? de_KeyRange(output.KeyRange, context) : undefined,
|
|
2309
2269
|
TargetOnDeviceServices: output.TargetOnDeviceServices != null
|
|
2310
|
-
?
|
|
2270
|
+
? de_TargetOnDeviceServiceList(output.TargetOnDeviceServices, context)
|
|
2311
2271
|
: undefined,
|
|
2312
2272
|
};
|
|
2313
2273
|
};
|
|
2314
|
-
const
|
|
2274
|
+
const de_S3ResourceList = (output, context) => {
|
|
2315
2275
|
const retVal = (output || [])
|
|
2316
2276
|
.filter((e) => e != null)
|
|
2317
2277
|
.map((entry) => {
|
|
2318
2278
|
if (entry === null) {
|
|
2319
2279
|
return null;
|
|
2320
2280
|
}
|
|
2321
|
-
return
|
|
2281
|
+
return de_S3Resource(entry, context);
|
|
2322
2282
|
});
|
|
2323
2283
|
return retVal;
|
|
2324
2284
|
};
|
|
2325
|
-
const
|
|
2285
|
+
const de_ServiceVersion = (output, context) => {
|
|
2326
2286
|
return {
|
|
2327
2287
|
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
2328
2288
|
};
|
|
2329
2289
|
};
|
|
2330
|
-
const
|
|
2290
|
+
const de_ServiceVersionList = (output, context) => {
|
|
2331
2291
|
const retVal = (output || [])
|
|
2332
2292
|
.filter((e) => e != null)
|
|
2333
2293
|
.map((entry) => {
|
|
2334
2294
|
if (entry === null) {
|
|
2335
2295
|
return null;
|
|
2336
2296
|
}
|
|
2337
|
-
return
|
|
2297
|
+
return de_ServiceVersion(entry, context);
|
|
2338
2298
|
});
|
|
2339
2299
|
return retVal;
|
|
2340
2300
|
};
|
|
2341
|
-
const
|
|
2301
|
+
const de_Shipment = (output, context) => {
|
|
2342
2302
|
return {
|
|
2343
2303
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2344
2304
|
TrackingNumber: (0, smithy_client_1.expectString)(output.TrackingNumber),
|
|
2345
2305
|
};
|
|
2346
2306
|
};
|
|
2347
|
-
const
|
|
2307
|
+
const de_ShippingDetails = (output, context) => {
|
|
2348
2308
|
return {
|
|
2349
|
-
InboundShipment: output.InboundShipment != null ?
|
|
2350
|
-
OutboundShipment: output.OutboundShipment != null ?
|
|
2309
|
+
InboundShipment: output.InboundShipment != null ? de_Shipment(output.InboundShipment, context) : undefined,
|
|
2310
|
+
OutboundShipment: output.OutboundShipment != null ? de_Shipment(output.OutboundShipment, context) : undefined,
|
|
2351
2311
|
ShippingOption: (0, smithy_client_1.expectString)(output.ShippingOption),
|
|
2352
2312
|
};
|
|
2353
2313
|
};
|
|
2354
|
-
const
|
|
2314
|
+
const de_SnowconeDeviceConfiguration = (output, context) => {
|
|
2355
2315
|
return {
|
|
2356
|
-
WirelessConnection: output.WirelessConnection != null
|
|
2357
|
-
? deserializeAws_json1_1WirelessConnection(output.WirelessConnection, context)
|
|
2358
|
-
: undefined,
|
|
2316
|
+
WirelessConnection: output.WirelessConnection != null ? de_WirelessConnection(output.WirelessConnection, context) : undefined,
|
|
2359
2317
|
};
|
|
2360
2318
|
};
|
|
2361
|
-
const
|
|
2319
|
+
const de_TargetOnDeviceService = (output, context) => {
|
|
2362
2320
|
return {
|
|
2363
2321
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
2364
2322
|
TransferOption: (0, smithy_client_1.expectString)(output.TransferOption),
|
|
2365
2323
|
};
|
|
2366
2324
|
};
|
|
2367
|
-
const
|
|
2325
|
+
const de_TargetOnDeviceServiceList = (output, context) => {
|
|
2368
2326
|
const retVal = (output || [])
|
|
2369
2327
|
.filter((e) => e != null)
|
|
2370
2328
|
.map((entry) => {
|
|
2371
2329
|
if (entry === null) {
|
|
2372
2330
|
return null;
|
|
2373
2331
|
}
|
|
2374
|
-
return
|
|
2332
|
+
return de_TargetOnDeviceService(entry, context);
|
|
2375
2333
|
});
|
|
2376
2334
|
return retVal;
|
|
2377
2335
|
};
|
|
2378
|
-
const
|
|
2336
|
+
const de_TaxDocuments = (output, context) => {
|
|
2379
2337
|
return {
|
|
2380
|
-
IND: output.IND != null ?
|
|
2338
|
+
IND: output.IND != null ? de_INDTaxDocuments(output.IND, context) : undefined,
|
|
2381
2339
|
};
|
|
2382
2340
|
};
|
|
2383
|
-
const
|
|
2341
|
+
const de_TGWOnDeviceServiceConfiguration = (output, context) => {
|
|
2384
2342
|
return {
|
|
2385
2343
|
StorageLimit: (0, smithy_client_1.expectInt32)(output.StorageLimit),
|
|
2386
2344
|
StorageUnit: (0, smithy_client_1.expectString)(output.StorageUnit),
|
|
2387
2345
|
};
|
|
2388
2346
|
};
|
|
2389
|
-
const
|
|
2347
|
+
const de_UnsupportedAddressException = (output, context) => {
|
|
2390
2348
|
return {
|
|
2391
2349
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2392
2350
|
};
|
|
2393
2351
|
};
|
|
2394
|
-
const
|
|
2352
|
+
const de_UpdateClusterResult = (output, context) => {
|
|
2395
2353
|
return {};
|
|
2396
2354
|
};
|
|
2397
|
-
const
|
|
2355
|
+
const de_UpdateJobResult = (output, context) => {
|
|
2398
2356
|
return {};
|
|
2399
2357
|
};
|
|
2400
|
-
const
|
|
2358
|
+
const de_UpdateJobShipmentStateResult = (output, context) => {
|
|
2401
2359
|
return {};
|
|
2402
2360
|
};
|
|
2403
|
-
const
|
|
2361
|
+
const de_UpdateLongTermPricingResult = (output, context) => {
|
|
2404
2362
|
return {};
|
|
2405
2363
|
};
|
|
2406
|
-
const
|
|
2364
|
+
const de_WirelessConnection = (output, context) => {
|
|
2407
2365
|
return {
|
|
2408
2366
|
IsWifiEnabled: (0, smithy_client_1.expectBoolean)(output.IsWifiEnabled),
|
|
2409
2367
|
};
|