@aws-sdk/client-service-quotas 3.303.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/AssociateServiceQuotaTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.js +2 -2
- package/dist-cjs/commands/DisassociateServiceQuotaTemplateCommand.js +2 -2
- package/dist-cjs/commands/GetAWSDefaultServiceQuotaCommand.js +2 -2
- package/dist-cjs/commands/GetAssociationForServiceQuotaTemplateCommand.js +2 -2
- package/dist-cjs/commands/GetRequestedServiceQuotaChangeCommand.js +2 -2
- package/dist-cjs/commands/GetServiceQuotaCommand.js +2 -2
- package/dist-cjs/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.js +2 -2
- package/dist-cjs/commands/ListAWSDefaultServiceQuotasCommand.js +2 -2
- package/dist-cjs/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.js +2 -2
- package/dist-cjs/commands/ListRequestedServiceQuotaChangeHistoryCommand.js +2 -2
- package/dist-cjs/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.js +2 -2
- package/dist-cjs/commands/ListServiceQuotasCommand.js +2 -2
- package/dist-cjs/commands/ListServicesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.js +2 -2
- package/dist-cjs/commands/RequestServiceQuotaIncreaseCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +414 -420
- package/dist-es/commands/AssociateServiceQuotaTemplateCommand.js +3 -3
- package/dist-es/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.js +3 -3
- package/dist-es/commands/DisassociateServiceQuotaTemplateCommand.js +3 -3
- package/dist-es/commands/GetAWSDefaultServiceQuotaCommand.js +3 -3
- package/dist-es/commands/GetAssociationForServiceQuotaTemplateCommand.js +3 -3
- package/dist-es/commands/GetRequestedServiceQuotaChangeCommand.js +3 -3
- package/dist-es/commands/GetServiceQuotaCommand.js +3 -3
- package/dist-es/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.js +3 -3
- package/dist-es/commands/ListAWSDefaultServiceQuotasCommand.js +3 -3
- package/dist-es/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.js +3 -3
- package/dist-es/commands/ListRequestedServiceQuotaChangeHistoryCommand.js +3 -3
- package/dist-es/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.js +3 -3
- package/dist-es/commands/ListServiceQuotasCommand.js +3 -3
- package/dist-es/commands/ListServicesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.js +3 -3
- package/dist-es/commands/RequestServiceQuotaIncreaseCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +375 -381
- package/dist-types/protocols/Aws_json1_1.d.ts +152 -38
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +38 -38
- package/package.json +29 -29
|
@@ -1,215 +1,215 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RequestServiceQuotaIncreaseCommand = exports.de_PutServiceQuotaIncreaseRequestIntoTemplateCommand = exports.de_ListTagsForResourceCommand = exports.de_ListServicesCommand = exports.de_ListServiceQuotasCommand = exports.de_ListServiceQuotaIncreaseRequestsInTemplateCommand = exports.de_ListRequestedServiceQuotaChangeHistoryByQuotaCommand = exports.de_ListRequestedServiceQuotaChangeHistoryCommand = exports.de_ListAWSDefaultServiceQuotasCommand = exports.de_GetServiceQuotaIncreaseRequestFromTemplateCommand = exports.de_GetServiceQuotaCommand = exports.de_GetRequestedServiceQuotaChangeCommand = exports.de_GetAWSDefaultServiceQuotaCommand = exports.de_GetAssociationForServiceQuotaTemplateCommand = exports.de_DisassociateServiceQuotaTemplateCommand = exports.de_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = exports.de_AssociateServiceQuotaTemplateCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RequestServiceQuotaIncreaseCommand = exports.se_PutServiceQuotaIncreaseRequestIntoTemplateCommand = exports.se_ListTagsForResourceCommand = exports.se_ListServicesCommand = exports.se_ListServiceQuotasCommand = exports.se_ListServiceQuotaIncreaseRequestsInTemplateCommand = exports.se_ListRequestedServiceQuotaChangeHistoryByQuotaCommand = exports.se_ListRequestedServiceQuotaChangeHistoryCommand = exports.se_ListAWSDefaultServiceQuotasCommand = exports.se_GetServiceQuotaIncreaseRequestFromTemplateCommand = exports.se_GetServiceQuotaCommand = exports.se_GetRequestedServiceQuotaChangeCommand = exports.se_GetAWSDefaultServiceQuotaCommand = exports.se_GetAssociationForServiceQuotaTemplateCommand = exports.se_DisassociateServiceQuotaTemplateCommand = exports.se_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = exports.se_AssociateServiceQuotaTemplateCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const ServiceQuotasServiceException_1 = require("../models/ServiceQuotasServiceException");
|
|
8
|
-
const
|
|
8
|
+
const se_AssociateServiceQuotaTemplateCommand = async (input, context) => {
|
|
9
9
|
const headers = {
|
|
10
10
|
"content-type": "application/x-amz-json-1.1",
|
|
11
11
|
"x-amz-target": "ServiceQuotasV20190624.AssociateServiceQuotaTemplate",
|
|
12
12
|
};
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(se_AssociateServiceQuotaTemplateRequest(input, context));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
|
-
exports.
|
|
18
|
-
const
|
|
17
|
+
exports.se_AssociateServiceQuotaTemplateCommand = se_AssociateServiceQuotaTemplateCommand;
|
|
18
|
+
const se_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = async (input, context) => {
|
|
19
19
|
const headers = {
|
|
20
20
|
"content-type": "application/x-amz-json-1.1",
|
|
21
21
|
"x-amz-target": "ServiceQuotasV20190624.DeleteServiceQuotaIncreaseRequestFromTemplate",
|
|
22
22
|
};
|
|
23
23
|
let body;
|
|
24
|
-
body = JSON.stringify(
|
|
24
|
+
body = JSON.stringify(se_DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input, context));
|
|
25
25
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
26
26
|
};
|
|
27
|
-
exports.
|
|
28
|
-
const
|
|
27
|
+
exports.se_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = se_DeleteServiceQuotaIncreaseRequestFromTemplateCommand;
|
|
28
|
+
const se_DisassociateServiceQuotaTemplateCommand = async (input, context) => {
|
|
29
29
|
const headers = {
|
|
30
30
|
"content-type": "application/x-amz-json-1.1",
|
|
31
31
|
"x-amz-target": "ServiceQuotasV20190624.DisassociateServiceQuotaTemplate",
|
|
32
32
|
};
|
|
33
33
|
let body;
|
|
34
|
-
body = JSON.stringify(
|
|
34
|
+
body = JSON.stringify(se_DisassociateServiceQuotaTemplateRequest(input, context));
|
|
35
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
36
|
};
|
|
37
|
-
exports.
|
|
38
|
-
const
|
|
37
|
+
exports.se_DisassociateServiceQuotaTemplateCommand = se_DisassociateServiceQuotaTemplateCommand;
|
|
38
|
+
const se_GetAssociationForServiceQuotaTemplateCommand = async (input, context) => {
|
|
39
39
|
const headers = {
|
|
40
40
|
"content-type": "application/x-amz-json-1.1",
|
|
41
41
|
"x-amz-target": "ServiceQuotasV20190624.GetAssociationForServiceQuotaTemplate",
|
|
42
42
|
};
|
|
43
43
|
let body;
|
|
44
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(se_GetAssociationForServiceQuotaTemplateRequest(input, context));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
|
-
exports.
|
|
48
|
-
const
|
|
47
|
+
exports.se_GetAssociationForServiceQuotaTemplateCommand = se_GetAssociationForServiceQuotaTemplateCommand;
|
|
48
|
+
const se_GetAWSDefaultServiceQuotaCommand = async (input, context) => {
|
|
49
49
|
const headers = {
|
|
50
50
|
"content-type": "application/x-amz-json-1.1",
|
|
51
51
|
"x-amz-target": "ServiceQuotasV20190624.GetAWSDefaultServiceQuota",
|
|
52
52
|
};
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify(se_GetAWSDefaultServiceQuotaRequest(input, context));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
|
-
exports.
|
|
58
|
-
const
|
|
57
|
+
exports.se_GetAWSDefaultServiceQuotaCommand = se_GetAWSDefaultServiceQuotaCommand;
|
|
58
|
+
const se_GetRequestedServiceQuotaChangeCommand = async (input, context) => {
|
|
59
59
|
const headers = {
|
|
60
60
|
"content-type": "application/x-amz-json-1.1",
|
|
61
61
|
"x-amz-target": "ServiceQuotasV20190624.GetRequestedServiceQuotaChange",
|
|
62
62
|
};
|
|
63
63
|
let body;
|
|
64
|
-
body = JSON.stringify(
|
|
64
|
+
body = JSON.stringify(se_GetRequestedServiceQuotaChangeRequest(input, context));
|
|
65
65
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
66
|
};
|
|
67
|
-
exports.
|
|
68
|
-
const
|
|
67
|
+
exports.se_GetRequestedServiceQuotaChangeCommand = se_GetRequestedServiceQuotaChangeCommand;
|
|
68
|
+
const se_GetServiceQuotaCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "ServiceQuotasV20190624.GetServiceQuota",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_GetServiceQuotaRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
exports.
|
|
78
|
-
const
|
|
77
|
+
exports.se_GetServiceQuotaCommand = se_GetServiceQuotaCommand;
|
|
78
|
+
const se_GetServiceQuotaIncreaseRequestFromTemplateCommand = async (input, context) => {
|
|
79
79
|
const headers = {
|
|
80
80
|
"content-type": "application/x-amz-json-1.1",
|
|
81
81
|
"x-amz-target": "ServiceQuotasV20190624.GetServiceQuotaIncreaseRequestFromTemplate",
|
|
82
82
|
};
|
|
83
83
|
let body;
|
|
84
|
-
body = JSON.stringify(
|
|
84
|
+
body = JSON.stringify(se_GetServiceQuotaIncreaseRequestFromTemplateRequest(input, context));
|
|
85
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
86
|
};
|
|
87
|
-
exports.
|
|
88
|
-
const
|
|
87
|
+
exports.se_GetServiceQuotaIncreaseRequestFromTemplateCommand = se_GetServiceQuotaIncreaseRequestFromTemplateCommand;
|
|
88
|
+
const se_ListAWSDefaultServiceQuotasCommand = async (input, context) => {
|
|
89
89
|
const headers = {
|
|
90
90
|
"content-type": "application/x-amz-json-1.1",
|
|
91
91
|
"x-amz-target": "ServiceQuotasV20190624.ListAWSDefaultServiceQuotas",
|
|
92
92
|
};
|
|
93
93
|
let body;
|
|
94
|
-
body = JSON.stringify(
|
|
94
|
+
body = JSON.stringify(se_ListAWSDefaultServiceQuotasRequest(input, context));
|
|
95
95
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
96
|
};
|
|
97
|
-
exports.
|
|
98
|
-
const
|
|
97
|
+
exports.se_ListAWSDefaultServiceQuotasCommand = se_ListAWSDefaultServiceQuotasCommand;
|
|
98
|
+
const se_ListRequestedServiceQuotaChangeHistoryCommand = async (input, context) => {
|
|
99
99
|
const headers = {
|
|
100
100
|
"content-type": "application/x-amz-json-1.1",
|
|
101
101
|
"x-amz-target": "ServiceQuotasV20190624.ListRequestedServiceQuotaChangeHistory",
|
|
102
102
|
};
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(se_ListRequestedServiceQuotaChangeHistoryRequest(input, context));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
|
-
exports.
|
|
108
|
-
const
|
|
107
|
+
exports.se_ListRequestedServiceQuotaChangeHistoryCommand = se_ListRequestedServiceQuotaChangeHistoryCommand;
|
|
108
|
+
const se_ListRequestedServiceQuotaChangeHistoryByQuotaCommand = async (input, context) => {
|
|
109
109
|
const headers = {
|
|
110
110
|
"content-type": "application/x-amz-json-1.1",
|
|
111
111
|
"x-amz-target": "ServiceQuotasV20190624.ListRequestedServiceQuotaChangeHistoryByQuota",
|
|
112
112
|
};
|
|
113
113
|
let body;
|
|
114
|
-
body = JSON.stringify(
|
|
114
|
+
body = JSON.stringify(se_ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input, context));
|
|
115
115
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
116
116
|
};
|
|
117
|
-
exports.
|
|
118
|
-
const
|
|
117
|
+
exports.se_ListRequestedServiceQuotaChangeHistoryByQuotaCommand = se_ListRequestedServiceQuotaChangeHistoryByQuotaCommand;
|
|
118
|
+
const se_ListServiceQuotaIncreaseRequestsInTemplateCommand = async (input, context) => {
|
|
119
119
|
const headers = {
|
|
120
120
|
"content-type": "application/x-amz-json-1.1",
|
|
121
121
|
"x-amz-target": "ServiceQuotasV20190624.ListServiceQuotaIncreaseRequestsInTemplate",
|
|
122
122
|
};
|
|
123
123
|
let body;
|
|
124
|
-
body = JSON.stringify(
|
|
124
|
+
body = JSON.stringify(se_ListServiceQuotaIncreaseRequestsInTemplateRequest(input, context));
|
|
125
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
126
|
};
|
|
127
|
-
exports.
|
|
128
|
-
const
|
|
127
|
+
exports.se_ListServiceQuotaIncreaseRequestsInTemplateCommand = se_ListServiceQuotaIncreaseRequestsInTemplateCommand;
|
|
128
|
+
const se_ListServiceQuotasCommand = async (input, context) => {
|
|
129
129
|
const headers = {
|
|
130
130
|
"content-type": "application/x-amz-json-1.1",
|
|
131
131
|
"x-amz-target": "ServiceQuotasV20190624.ListServiceQuotas",
|
|
132
132
|
};
|
|
133
133
|
let body;
|
|
134
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(se_ListServiceQuotasRequest(input, context));
|
|
135
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
136
136
|
};
|
|
137
|
-
exports.
|
|
138
|
-
const
|
|
137
|
+
exports.se_ListServiceQuotasCommand = se_ListServiceQuotasCommand;
|
|
138
|
+
const se_ListServicesCommand = async (input, context) => {
|
|
139
139
|
const headers = {
|
|
140
140
|
"content-type": "application/x-amz-json-1.1",
|
|
141
141
|
"x-amz-target": "ServiceQuotasV20190624.ListServices",
|
|
142
142
|
};
|
|
143
143
|
let body;
|
|
144
|
-
body = JSON.stringify(
|
|
144
|
+
body = JSON.stringify(se_ListServicesRequest(input, context));
|
|
145
145
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
146
146
|
};
|
|
147
|
-
exports.
|
|
148
|
-
const
|
|
147
|
+
exports.se_ListServicesCommand = se_ListServicesCommand;
|
|
148
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
149
149
|
const headers = {
|
|
150
150
|
"content-type": "application/x-amz-json-1.1",
|
|
151
151
|
"x-amz-target": "ServiceQuotasV20190624.ListTagsForResource",
|
|
152
152
|
};
|
|
153
153
|
let body;
|
|
154
|
-
body = JSON.stringify(
|
|
154
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
155
155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
156
|
};
|
|
157
|
-
exports.
|
|
158
|
-
const
|
|
157
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
158
|
+
const se_PutServiceQuotaIncreaseRequestIntoTemplateCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "ServiceQuotasV20190624.PutServiceQuotaIncreaseRequestIntoTemplate",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_PutServiceQuotaIncreaseRequestIntoTemplateRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
exports.
|
|
168
|
-
const
|
|
167
|
+
exports.se_PutServiceQuotaIncreaseRequestIntoTemplateCommand = se_PutServiceQuotaIncreaseRequestIntoTemplateCommand;
|
|
168
|
+
const se_RequestServiceQuotaIncreaseCommand = async (input, context) => {
|
|
169
169
|
const headers = {
|
|
170
170
|
"content-type": "application/x-amz-json-1.1",
|
|
171
171
|
"x-amz-target": "ServiceQuotasV20190624.RequestServiceQuotaIncrease",
|
|
172
172
|
};
|
|
173
173
|
let body;
|
|
174
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify(se_RequestServiceQuotaIncreaseRequest(input, context));
|
|
175
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
176
|
};
|
|
177
|
-
exports.
|
|
178
|
-
const
|
|
177
|
+
exports.se_RequestServiceQuotaIncreaseCommand = se_RequestServiceQuotaIncreaseCommand;
|
|
178
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
179
179
|
const headers = {
|
|
180
180
|
"content-type": "application/x-amz-json-1.1",
|
|
181
181
|
"x-amz-target": "ServiceQuotasV20190624.TagResource",
|
|
182
182
|
};
|
|
183
183
|
let body;
|
|
184
|
-
body = JSON.stringify(
|
|
184
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
185
185
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
186
186
|
};
|
|
187
|
-
exports.
|
|
188
|
-
const
|
|
187
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
188
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
189
189
|
const headers = {
|
|
190
190
|
"content-type": "application/x-amz-json-1.1",
|
|
191
191
|
"x-amz-target": "ServiceQuotasV20190624.UntagResource",
|
|
192
192
|
};
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
|
-
exports.
|
|
198
|
-
const
|
|
197
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
198
|
+
const de_AssociateServiceQuotaTemplateCommand = async (output, context) => {
|
|
199
199
|
if (output.statusCode >= 300) {
|
|
200
|
-
return
|
|
200
|
+
return de_AssociateServiceQuotaTemplateCommandError(output, context);
|
|
201
201
|
}
|
|
202
202
|
const data = await parseBody(output.body, context);
|
|
203
203
|
let contents = {};
|
|
204
|
-
contents =
|
|
204
|
+
contents = de_AssociateServiceQuotaTemplateResponse(data, context);
|
|
205
205
|
const response = {
|
|
206
206
|
$metadata: deserializeMetadata(output),
|
|
207
207
|
...contents,
|
|
208
208
|
};
|
|
209
209
|
return Promise.resolve(response);
|
|
210
210
|
};
|
|
211
|
-
exports.
|
|
212
|
-
const
|
|
211
|
+
exports.de_AssociateServiceQuotaTemplateCommand = de_AssociateServiceQuotaTemplateCommand;
|
|
212
|
+
const de_AssociateServiceQuotaTemplateCommandError = async (output, context) => {
|
|
213
213
|
const parsedOutput = {
|
|
214
214
|
...output,
|
|
215
215
|
body: await parseErrorBody(output.body, context),
|
|
@@ -218,28 +218,28 @@ const deserializeAws_json1_1AssociateServiceQuotaTemplateCommandError = async (o
|
|
|
218
218
|
switch (errorCode) {
|
|
219
219
|
case "AWSServiceAccessNotEnabledException":
|
|
220
220
|
case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
|
|
221
|
-
throw await
|
|
221
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
222
222
|
case "AccessDeniedException":
|
|
223
223
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
224
|
-
throw await
|
|
224
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
225
225
|
case "DependencyAccessDeniedException":
|
|
226
226
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
227
|
-
throw await
|
|
227
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
228
228
|
case "NoAvailableOrganizationException":
|
|
229
229
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
230
|
-
throw await
|
|
230
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
231
231
|
case "OrganizationNotInAllFeaturesModeException":
|
|
232
232
|
case "com.amazonaws.servicequotas#OrganizationNotInAllFeaturesModeException":
|
|
233
|
-
throw await
|
|
233
|
+
throw await de_OrganizationNotInAllFeaturesModeExceptionRes(parsedOutput, context);
|
|
234
234
|
case "ServiceException":
|
|
235
235
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
236
|
-
throw await
|
|
236
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
237
237
|
case "TemplatesNotAvailableInRegionException":
|
|
238
238
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
239
|
-
throw await
|
|
239
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
240
240
|
case "TooManyRequestsException":
|
|
241
241
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
242
|
-
throw await
|
|
242
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
243
243
|
default:
|
|
244
244
|
const parsedBody = parsedOutput.body;
|
|
245
245
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -250,21 +250,21 @@ const deserializeAws_json1_1AssociateServiceQuotaTemplateCommandError = async (o
|
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
|
-
const
|
|
253
|
+
const de_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = async (output, context) => {
|
|
254
254
|
if (output.statusCode >= 300) {
|
|
255
|
-
return
|
|
255
|
+
return de_DeleteServiceQuotaIncreaseRequestFromTemplateCommandError(output, context);
|
|
256
256
|
}
|
|
257
257
|
const data = await parseBody(output.body, context);
|
|
258
258
|
let contents = {};
|
|
259
|
-
contents =
|
|
259
|
+
contents = de_DeleteServiceQuotaIncreaseRequestFromTemplateResponse(data, context);
|
|
260
260
|
const response = {
|
|
261
261
|
$metadata: deserializeMetadata(output),
|
|
262
262
|
...contents,
|
|
263
263
|
};
|
|
264
264
|
return Promise.resolve(response);
|
|
265
265
|
};
|
|
266
|
-
exports.
|
|
267
|
-
const
|
|
266
|
+
exports.de_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = de_DeleteServiceQuotaIncreaseRequestFromTemplateCommand;
|
|
267
|
+
const de_DeleteServiceQuotaIncreaseRequestFromTemplateCommandError = async (output, context) => {
|
|
268
268
|
const parsedOutput = {
|
|
269
269
|
...output,
|
|
270
270
|
body: await parseErrorBody(output.body, context),
|
|
@@ -273,31 +273,31 @@ const deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand
|
|
|
273
273
|
switch (errorCode) {
|
|
274
274
|
case "AWSServiceAccessNotEnabledException":
|
|
275
275
|
case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
|
|
276
|
-
throw await
|
|
276
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
277
277
|
case "AccessDeniedException":
|
|
278
278
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
279
|
-
throw await
|
|
279
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
280
280
|
case "DependencyAccessDeniedException":
|
|
281
281
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
282
|
-
throw await
|
|
282
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
283
283
|
case "IllegalArgumentException":
|
|
284
284
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
285
|
-
throw await
|
|
285
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
286
286
|
case "NoAvailableOrganizationException":
|
|
287
287
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
288
|
-
throw await
|
|
288
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
289
289
|
case "NoSuchResourceException":
|
|
290
290
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
291
|
-
throw await
|
|
291
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
292
292
|
case "ServiceException":
|
|
293
293
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
294
|
-
throw await
|
|
294
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
295
295
|
case "TemplatesNotAvailableInRegionException":
|
|
296
296
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
297
|
-
throw await
|
|
297
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
298
298
|
case "TooManyRequestsException":
|
|
299
299
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
300
|
-
throw await
|
|
300
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
301
301
|
default:
|
|
302
302
|
const parsedBody = parsedOutput.body;
|
|
303
303
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -308,21 +308,21 @@ const deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand
|
|
|
308
308
|
});
|
|
309
309
|
}
|
|
310
310
|
};
|
|
311
|
-
const
|
|
311
|
+
const de_DisassociateServiceQuotaTemplateCommand = async (output, context) => {
|
|
312
312
|
if (output.statusCode >= 300) {
|
|
313
|
-
return
|
|
313
|
+
return de_DisassociateServiceQuotaTemplateCommandError(output, context);
|
|
314
314
|
}
|
|
315
315
|
const data = await parseBody(output.body, context);
|
|
316
316
|
let contents = {};
|
|
317
|
-
contents =
|
|
317
|
+
contents = de_DisassociateServiceQuotaTemplateResponse(data, context);
|
|
318
318
|
const response = {
|
|
319
319
|
$metadata: deserializeMetadata(output),
|
|
320
320
|
...contents,
|
|
321
321
|
};
|
|
322
322
|
return Promise.resolve(response);
|
|
323
323
|
};
|
|
324
|
-
exports.
|
|
325
|
-
const
|
|
324
|
+
exports.de_DisassociateServiceQuotaTemplateCommand = de_DisassociateServiceQuotaTemplateCommand;
|
|
325
|
+
const de_DisassociateServiceQuotaTemplateCommandError = async (output, context) => {
|
|
326
326
|
const parsedOutput = {
|
|
327
327
|
...output,
|
|
328
328
|
body: await parseErrorBody(output.body, context),
|
|
@@ -331,28 +331,28 @@ const deserializeAws_json1_1DisassociateServiceQuotaTemplateCommandError = async
|
|
|
331
331
|
switch (errorCode) {
|
|
332
332
|
case "AWSServiceAccessNotEnabledException":
|
|
333
333
|
case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
|
|
334
|
-
throw await
|
|
334
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
335
335
|
case "AccessDeniedException":
|
|
336
336
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
337
|
-
throw await
|
|
337
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
338
338
|
case "DependencyAccessDeniedException":
|
|
339
339
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
340
|
-
throw await
|
|
340
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
341
341
|
case "NoAvailableOrganizationException":
|
|
342
342
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
343
|
-
throw await
|
|
343
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
344
344
|
case "ServiceException":
|
|
345
345
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
346
|
-
throw await
|
|
346
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
347
347
|
case "ServiceQuotaTemplateNotInUseException":
|
|
348
348
|
case "com.amazonaws.servicequotas#ServiceQuotaTemplateNotInUseException":
|
|
349
|
-
throw await
|
|
349
|
+
throw await de_ServiceQuotaTemplateNotInUseExceptionRes(parsedOutput, context);
|
|
350
350
|
case "TemplatesNotAvailableInRegionException":
|
|
351
351
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
352
|
-
throw await
|
|
352
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
353
353
|
case "TooManyRequestsException":
|
|
354
354
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
355
|
-
throw await
|
|
355
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
356
356
|
default:
|
|
357
357
|
const parsedBody = parsedOutput.body;
|
|
358
358
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -363,21 +363,21 @@ const deserializeAws_json1_1DisassociateServiceQuotaTemplateCommandError = async
|
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
365
|
};
|
|
366
|
-
const
|
|
366
|
+
const de_GetAssociationForServiceQuotaTemplateCommand = async (output, context) => {
|
|
367
367
|
if (output.statusCode >= 300) {
|
|
368
|
-
return
|
|
368
|
+
return de_GetAssociationForServiceQuotaTemplateCommandError(output, context);
|
|
369
369
|
}
|
|
370
370
|
const data = await parseBody(output.body, context);
|
|
371
371
|
let contents = {};
|
|
372
|
-
contents =
|
|
372
|
+
contents = de_GetAssociationForServiceQuotaTemplateResponse(data, context);
|
|
373
373
|
const response = {
|
|
374
374
|
$metadata: deserializeMetadata(output),
|
|
375
375
|
...contents,
|
|
376
376
|
};
|
|
377
377
|
return Promise.resolve(response);
|
|
378
378
|
};
|
|
379
|
-
exports.
|
|
380
|
-
const
|
|
379
|
+
exports.de_GetAssociationForServiceQuotaTemplateCommand = de_GetAssociationForServiceQuotaTemplateCommand;
|
|
380
|
+
const de_GetAssociationForServiceQuotaTemplateCommandError = async (output, context) => {
|
|
381
381
|
const parsedOutput = {
|
|
382
382
|
...output,
|
|
383
383
|
body: await parseErrorBody(output.body, context),
|
|
@@ -386,28 +386,28 @@ const deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommandError =
|
|
|
386
386
|
switch (errorCode) {
|
|
387
387
|
case "AWSServiceAccessNotEnabledException":
|
|
388
388
|
case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
|
|
389
|
-
throw await
|
|
389
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
390
390
|
case "AccessDeniedException":
|
|
391
391
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
392
|
-
throw await
|
|
392
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
393
393
|
case "DependencyAccessDeniedException":
|
|
394
394
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
395
|
-
throw await
|
|
395
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
396
396
|
case "NoAvailableOrganizationException":
|
|
397
397
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
398
|
-
throw await
|
|
398
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
399
399
|
case "ServiceException":
|
|
400
400
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
401
|
-
throw await
|
|
401
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
402
402
|
case "ServiceQuotaTemplateNotInUseException":
|
|
403
403
|
case "com.amazonaws.servicequotas#ServiceQuotaTemplateNotInUseException":
|
|
404
|
-
throw await
|
|
404
|
+
throw await de_ServiceQuotaTemplateNotInUseExceptionRes(parsedOutput, context);
|
|
405
405
|
case "TemplatesNotAvailableInRegionException":
|
|
406
406
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
407
|
-
throw await
|
|
407
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
408
408
|
case "TooManyRequestsException":
|
|
409
409
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
410
|
-
throw await
|
|
410
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
411
411
|
default:
|
|
412
412
|
const parsedBody = parsedOutput.body;
|
|
413
413
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -418,21 +418,21 @@ const deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommandError =
|
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
};
|
|
421
|
-
const
|
|
421
|
+
const de_GetAWSDefaultServiceQuotaCommand = async (output, context) => {
|
|
422
422
|
if (output.statusCode >= 300) {
|
|
423
|
-
return
|
|
423
|
+
return de_GetAWSDefaultServiceQuotaCommandError(output, context);
|
|
424
424
|
}
|
|
425
425
|
const data = await parseBody(output.body, context);
|
|
426
426
|
let contents = {};
|
|
427
|
-
contents =
|
|
427
|
+
contents = de_GetAWSDefaultServiceQuotaResponse(data, context);
|
|
428
428
|
const response = {
|
|
429
429
|
$metadata: deserializeMetadata(output),
|
|
430
430
|
...contents,
|
|
431
431
|
};
|
|
432
432
|
return Promise.resolve(response);
|
|
433
433
|
};
|
|
434
|
-
exports.
|
|
435
|
-
const
|
|
434
|
+
exports.de_GetAWSDefaultServiceQuotaCommand = de_GetAWSDefaultServiceQuotaCommand;
|
|
435
|
+
const de_GetAWSDefaultServiceQuotaCommandError = async (output, context) => {
|
|
436
436
|
const parsedOutput = {
|
|
437
437
|
...output,
|
|
438
438
|
body: await parseErrorBody(output.body, context),
|
|
@@ -441,19 +441,19 @@ const deserializeAws_json1_1GetAWSDefaultServiceQuotaCommandError = async (outpu
|
|
|
441
441
|
switch (errorCode) {
|
|
442
442
|
case "AccessDeniedException":
|
|
443
443
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
444
|
-
throw await
|
|
444
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
445
445
|
case "IllegalArgumentException":
|
|
446
446
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
447
|
-
throw await
|
|
447
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
448
448
|
case "NoSuchResourceException":
|
|
449
449
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
450
|
-
throw await
|
|
450
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
451
451
|
case "ServiceException":
|
|
452
452
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
453
|
-
throw await
|
|
453
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
454
454
|
case "TooManyRequestsException":
|
|
455
455
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
456
|
-
throw await
|
|
456
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
457
457
|
default:
|
|
458
458
|
const parsedBody = parsedOutput.body;
|
|
459
459
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -464,21 +464,21 @@ const deserializeAws_json1_1GetAWSDefaultServiceQuotaCommandError = async (outpu
|
|
|
464
464
|
});
|
|
465
465
|
}
|
|
466
466
|
};
|
|
467
|
-
const
|
|
467
|
+
const de_GetRequestedServiceQuotaChangeCommand = async (output, context) => {
|
|
468
468
|
if (output.statusCode >= 300) {
|
|
469
|
-
return
|
|
469
|
+
return de_GetRequestedServiceQuotaChangeCommandError(output, context);
|
|
470
470
|
}
|
|
471
471
|
const data = await parseBody(output.body, context);
|
|
472
472
|
let contents = {};
|
|
473
|
-
contents =
|
|
473
|
+
contents = de_GetRequestedServiceQuotaChangeResponse(data, context);
|
|
474
474
|
const response = {
|
|
475
475
|
$metadata: deserializeMetadata(output),
|
|
476
476
|
...contents,
|
|
477
477
|
};
|
|
478
478
|
return Promise.resolve(response);
|
|
479
479
|
};
|
|
480
|
-
exports.
|
|
481
|
-
const
|
|
480
|
+
exports.de_GetRequestedServiceQuotaChangeCommand = de_GetRequestedServiceQuotaChangeCommand;
|
|
481
|
+
const de_GetRequestedServiceQuotaChangeCommandError = async (output, context) => {
|
|
482
482
|
const parsedOutput = {
|
|
483
483
|
...output,
|
|
484
484
|
body: await parseErrorBody(output.body, context),
|
|
@@ -487,19 +487,19 @@ const deserializeAws_json1_1GetRequestedServiceQuotaChangeCommandError = async (
|
|
|
487
487
|
switch (errorCode) {
|
|
488
488
|
case "AccessDeniedException":
|
|
489
489
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
490
|
-
throw await
|
|
490
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
491
491
|
case "IllegalArgumentException":
|
|
492
492
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
493
|
-
throw await
|
|
493
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
494
494
|
case "NoSuchResourceException":
|
|
495
495
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
496
|
-
throw await
|
|
496
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
497
497
|
case "ServiceException":
|
|
498
498
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
499
|
-
throw await
|
|
499
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
500
500
|
case "TooManyRequestsException":
|
|
501
501
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
502
|
-
throw await
|
|
502
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
503
503
|
default:
|
|
504
504
|
const parsedBody = parsedOutput.body;
|
|
505
505
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -510,21 +510,21 @@ const deserializeAws_json1_1GetRequestedServiceQuotaChangeCommandError = async (
|
|
|
510
510
|
});
|
|
511
511
|
}
|
|
512
512
|
};
|
|
513
|
-
const
|
|
513
|
+
const de_GetServiceQuotaCommand = async (output, context) => {
|
|
514
514
|
if (output.statusCode >= 300) {
|
|
515
|
-
return
|
|
515
|
+
return de_GetServiceQuotaCommandError(output, context);
|
|
516
516
|
}
|
|
517
517
|
const data = await parseBody(output.body, context);
|
|
518
518
|
let contents = {};
|
|
519
|
-
contents =
|
|
519
|
+
contents = de_GetServiceQuotaResponse(data, context);
|
|
520
520
|
const response = {
|
|
521
521
|
$metadata: deserializeMetadata(output),
|
|
522
522
|
...contents,
|
|
523
523
|
};
|
|
524
524
|
return Promise.resolve(response);
|
|
525
525
|
};
|
|
526
|
-
exports.
|
|
527
|
-
const
|
|
526
|
+
exports.de_GetServiceQuotaCommand = de_GetServiceQuotaCommand;
|
|
527
|
+
const de_GetServiceQuotaCommandError = async (output, context) => {
|
|
528
528
|
const parsedOutput = {
|
|
529
529
|
...output,
|
|
530
530
|
body: await parseErrorBody(output.body, context),
|
|
@@ -533,19 +533,19 @@ const deserializeAws_json1_1GetServiceQuotaCommandError = async (output, context
|
|
|
533
533
|
switch (errorCode) {
|
|
534
534
|
case "AccessDeniedException":
|
|
535
535
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
536
|
-
throw await
|
|
536
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
537
537
|
case "IllegalArgumentException":
|
|
538
538
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
539
|
-
throw await
|
|
539
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
540
540
|
case "NoSuchResourceException":
|
|
541
541
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
542
|
-
throw await
|
|
542
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
543
543
|
case "ServiceException":
|
|
544
544
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
545
|
-
throw await
|
|
545
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
546
546
|
case "TooManyRequestsException":
|
|
547
547
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
548
|
-
throw await
|
|
548
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
549
549
|
default:
|
|
550
550
|
const parsedBody = parsedOutput.body;
|
|
551
551
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -556,21 +556,21 @@ const deserializeAws_json1_1GetServiceQuotaCommandError = async (output, context
|
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
558
|
};
|
|
559
|
-
const
|
|
559
|
+
const de_GetServiceQuotaIncreaseRequestFromTemplateCommand = async (output, context) => {
|
|
560
560
|
if (output.statusCode >= 300) {
|
|
561
|
-
return
|
|
561
|
+
return de_GetServiceQuotaIncreaseRequestFromTemplateCommandError(output, context);
|
|
562
562
|
}
|
|
563
563
|
const data = await parseBody(output.body, context);
|
|
564
564
|
let contents = {};
|
|
565
|
-
contents =
|
|
565
|
+
contents = de_GetServiceQuotaIncreaseRequestFromTemplateResponse(data, context);
|
|
566
566
|
const response = {
|
|
567
567
|
$metadata: deserializeMetadata(output),
|
|
568
568
|
...contents,
|
|
569
569
|
};
|
|
570
570
|
return Promise.resolve(response);
|
|
571
571
|
};
|
|
572
|
-
exports.
|
|
573
|
-
const
|
|
572
|
+
exports.de_GetServiceQuotaIncreaseRequestFromTemplateCommand = de_GetServiceQuotaIncreaseRequestFromTemplateCommand;
|
|
573
|
+
const de_GetServiceQuotaIncreaseRequestFromTemplateCommandError = async (output, context) => {
|
|
574
574
|
const parsedOutput = {
|
|
575
575
|
...output,
|
|
576
576
|
body: await parseErrorBody(output.body, context),
|
|
@@ -579,31 +579,31 @@ const deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommandErr
|
|
|
579
579
|
switch (errorCode) {
|
|
580
580
|
case "AWSServiceAccessNotEnabledException":
|
|
581
581
|
case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
|
|
582
|
-
throw await
|
|
582
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
583
583
|
case "AccessDeniedException":
|
|
584
584
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
585
|
-
throw await
|
|
585
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
586
586
|
case "DependencyAccessDeniedException":
|
|
587
587
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
588
|
-
throw await
|
|
588
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
589
589
|
case "IllegalArgumentException":
|
|
590
590
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
591
|
-
throw await
|
|
591
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
592
592
|
case "NoAvailableOrganizationException":
|
|
593
593
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
594
|
-
throw await
|
|
594
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
595
595
|
case "NoSuchResourceException":
|
|
596
596
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
597
|
-
throw await
|
|
597
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
598
598
|
case "ServiceException":
|
|
599
599
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
600
|
-
throw await
|
|
600
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
601
601
|
case "TemplatesNotAvailableInRegionException":
|
|
602
602
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
603
|
-
throw await
|
|
603
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
604
604
|
case "TooManyRequestsException":
|
|
605
605
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
606
|
-
throw await
|
|
606
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
607
607
|
default:
|
|
608
608
|
const parsedBody = parsedOutput.body;
|
|
609
609
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -614,21 +614,21 @@ const deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommandErr
|
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
616
|
};
|
|
617
|
-
const
|
|
617
|
+
const de_ListAWSDefaultServiceQuotasCommand = async (output, context) => {
|
|
618
618
|
if (output.statusCode >= 300) {
|
|
619
|
-
return
|
|
619
|
+
return de_ListAWSDefaultServiceQuotasCommandError(output, context);
|
|
620
620
|
}
|
|
621
621
|
const data = await parseBody(output.body, context);
|
|
622
622
|
let contents = {};
|
|
623
|
-
contents =
|
|
623
|
+
contents = de_ListAWSDefaultServiceQuotasResponse(data, context);
|
|
624
624
|
const response = {
|
|
625
625
|
$metadata: deserializeMetadata(output),
|
|
626
626
|
...contents,
|
|
627
627
|
};
|
|
628
628
|
return Promise.resolve(response);
|
|
629
629
|
};
|
|
630
|
-
exports.
|
|
631
|
-
const
|
|
630
|
+
exports.de_ListAWSDefaultServiceQuotasCommand = de_ListAWSDefaultServiceQuotasCommand;
|
|
631
|
+
const de_ListAWSDefaultServiceQuotasCommandError = async (output, context) => {
|
|
632
632
|
const parsedOutput = {
|
|
633
633
|
...output,
|
|
634
634
|
body: await parseErrorBody(output.body, context),
|
|
@@ -637,22 +637,22 @@ const deserializeAws_json1_1ListAWSDefaultServiceQuotasCommandError = async (out
|
|
|
637
637
|
switch (errorCode) {
|
|
638
638
|
case "AccessDeniedException":
|
|
639
639
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
640
|
-
throw await
|
|
640
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
641
641
|
case "IllegalArgumentException":
|
|
642
642
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
643
|
-
throw await
|
|
643
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
644
644
|
case "InvalidPaginationTokenException":
|
|
645
645
|
case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
|
|
646
|
-
throw await
|
|
646
|
+
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
647
647
|
case "NoSuchResourceException":
|
|
648
648
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
649
|
-
throw await
|
|
649
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
650
650
|
case "ServiceException":
|
|
651
651
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
652
|
-
throw await
|
|
652
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
653
653
|
case "TooManyRequestsException":
|
|
654
654
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
655
|
-
throw await
|
|
655
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
656
656
|
default:
|
|
657
657
|
const parsedBody = parsedOutput.body;
|
|
658
658
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -663,21 +663,21 @@ const deserializeAws_json1_1ListAWSDefaultServiceQuotasCommandError = async (out
|
|
|
663
663
|
});
|
|
664
664
|
}
|
|
665
665
|
};
|
|
666
|
-
const
|
|
666
|
+
const de_ListRequestedServiceQuotaChangeHistoryCommand = async (output, context) => {
|
|
667
667
|
if (output.statusCode >= 300) {
|
|
668
|
-
return
|
|
668
|
+
return de_ListRequestedServiceQuotaChangeHistoryCommandError(output, context);
|
|
669
669
|
}
|
|
670
670
|
const data = await parseBody(output.body, context);
|
|
671
671
|
let contents = {};
|
|
672
|
-
contents =
|
|
672
|
+
contents = de_ListRequestedServiceQuotaChangeHistoryResponse(data, context);
|
|
673
673
|
const response = {
|
|
674
674
|
$metadata: deserializeMetadata(output),
|
|
675
675
|
...contents,
|
|
676
676
|
};
|
|
677
677
|
return Promise.resolve(response);
|
|
678
678
|
};
|
|
679
|
-
exports.
|
|
680
|
-
const
|
|
679
|
+
exports.de_ListRequestedServiceQuotaChangeHistoryCommand = de_ListRequestedServiceQuotaChangeHistoryCommand;
|
|
680
|
+
const de_ListRequestedServiceQuotaChangeHistoryCommandError = async (output, context) => {
|
|
681
681
|
const parsedOutput = {
|
|
682
682
|
...output,
|
|
683
683
|
body: await parseErrorBody(output.body, context),
|
|
@@ -686,22 +686,22 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommandError =
|
|
|
686
686
|
switch (errorCode) {
|
|
687
687
|
case "AccessDeniedException":
|
|
688
688
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
689
|
-
throw await
|
|
689
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
690
690
|
case "IllegalArgumentException":
|
|
691
691
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
692
|
-
throw await
|
|
692
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
693
693
|
case "InvalidPaginationTokenException":
|
|
694
694
|
case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
|
|
695
|
-
throw await
|
|
695
|
+
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
696
696
|
case "NoSuchResourceException":
|
|
697
697
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
698
|
-
throw await
|
|
698
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
699
699
|
case "ServiceException":
|
|
700
700
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
701
|
-
throw await
|
|
701
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
702
702
|
case "TooManyRequestsException":
|
|
703
703
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
704
|
-
throw await
|
|
704
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
705
705
|
default:
|
|
706
706
|
const parsedBody = parsedOutput.body;
|
|
707
707
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -712,21 +712,21 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommandError =
|
|
|
712
712
|
});
|
|
713
713
|
}
|
|
714
714
|
};
|
|
715
|
-
const
|
|
715
|
+
const de_ListRequestedServiceQuotaChangeHistoryByQuotaCommand = async (output, context) => {
|
|
716
716
|
if (output.statusCode >= 300) {
|
|
717
|
-
return
|
|
717
|
+
return de_ListRequestedServiceQuotaChangeHistoryByQuotaCommandError(output, context);
|
|
718
718
|
}
|
|
719
719
|
const data = await parseBody(output.body, context);
|
|
720
720
|
let contents = {};
|
|
721
|
-
contents =
|
|
721
|
+
contents = de_ListRequestedServiceQuotaChangeHistoryByQuotaResponse(data, context);
|
|
722
722
|
const response = {
|
|
723
723
|
$metadata: deserializeMetadata(output),
|
|
724
724
|
...contents,
|
|
725
725
|
};
|
|
726
726
|
return Promise.resolve(response);
|
|
727
727
|
};
|
|
728
|
-
exports.
|
|
729
|
-
const
|
|
728
|
+
exports.de_ListRequestedServiceQuotaChangeHistoryByQuotaCommand = de_ListRequestedServiceQuotaChangeHistoryByQuotaCommand;
|
|
729
|
+
const de_ListRequestedServiceQuotaChangeHistoryByQuotaCommandError = async (output, context) => {
|
|
730
730
|
const parsedOutput = {
|
|
731
731
|
...output,
|
|
732
732
|
body: await parseErrorBody(output.body, context),
|
|
@@ -735,22 +735,22 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommand
|
|
|
735
735
|
switch (errorCode) {
|
|
736
736
|
case "AccessDeniedException":
|
|
737
737
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
738
|
-
throw await
|
|
738
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
739
739
|
case "IllegalArgumentException":
|
|
740
740
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
741
|
-
throw await
|
|
741
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
742
742
|
case "InvalidPaginationTokenException":
|
|
743
743
|
case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
|
|
744
|
-
throw await
|
|
744
|
+
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
745
745
|
case "NoSuchResourceException":
|
|
746
746
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
747
|
-
throw await
|
|
747
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
748
748
|
case "ServiceException":
|
|
749
749
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
750
|
-
throw await
|
|
750
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
751
751
|
case "TooManyRequestsException":
|
|
752
752
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
753
|
-
throw await
|
|
753
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
754
754
|
default:
|
|
755
755
|
const parsedBody = parsedOutput.body;
|
|
756
756
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -761,21 +761,21 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommand
|
|
|
761
761
|
});
|
|
762
762
|
}
|
|
763
763
|
};
|
|
764
|
-
const
|
|
764
|
+
const de_ListServiceQuotaIncreaseRequestsInTemplateCommand = async (output, context) => {
|
|
765
765
|
if (output.statusCode >= 300) {
|
|
766
|
-
return
|
|
766
|
+
return de_ListServiceQuotaIncreaseRequestsInTemplateCommandError(output, context);
|
|
767
767
|
}
|
|
768
768
|
const data = await parseBody(output.body, context);
|
|
769
769
|
let contents = {};
|
|
770
|
-
contents =
|
|
770
|
+
contents = de_ListServiceQuotaIncreaseRequestsInTemplateResponse(data, context);
|
|
771
771
|
const response = {
|
|
772
772
|
$metadata: deserializeMetadata(output),
|
|
773
773
|
...contents,
|
|
774
774
|
};
|
|
775
775
|
return Promise.resolve(response);
|
|
776
776
|
};
|
|
777
|
-
exports.
|
|
778
|
-
const
|
|
777
|
+
exports.de_ListServiceQuotaIncreaseRequestsInTemplateCommand = de_ListServiceQuotaIncreaseRequestsInTemplateCommand;
|
|
778
|
+
const de_ListServiceQuotaIncreaseRequestsInTemplateCommandError = async (output, context) => {
|
|
779
779
|
const parsedOutput = {
|
|
780
780
|
...output,
|
|
781
781
|
body: await parseErrorBody(output.body, context),
|
|
@@ -784,28 +784,28 @@ const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommandErr
|
|
|
784
784
|
switch (errorCode) {
|
|
785
785
|
case "AWSServiceAccessNotEnabledException":
|
|
786
786
|
case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
|
|
787
|
-
throw await
|
|
787
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
788
788
|
case "AccessDeniedException":
|
|
789
789
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
790
|
-
throw await
|
|
790
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
791
791
|
case "DependencyAccessDeniedException":
|
|
792
792
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
793
|
-
throw await
|
|
793
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
794
794
|
case "IllegalArgumentException":
|
|
795
795
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
796
|
-
throw await
|
|
796
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
797
797
|
case "NoAvailableOrganizationException":
|
|
798
798
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
799
|
-
throw await
|
|
799
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
800
800
|
case "ServiceException":
|
|
801
801
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
802
|
-
throw await
|
|
802
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
803
803
|
case "TemplatesNotAvailableInRegionException":
|
|
804
804
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
805
|
-
throw await
|
|
805
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
806
806
|
case "TooManyRequestsException":
|
|
807
807
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
808
|
-
throw await
|
|
808
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
809
809
|
default:
|
|
810
810
|
const parsedBody = parsedOutput.body;
|
|
811
811
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -816,21 +816,21 @@ const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommandErr
|
|
|
816
816
|
});
|
|
817
817
|
}
|
|
818
818
|
};
|
|
819
|
-
const
|
|
819
|
+
const de_ListServiceQuotasCommand = async (output, context) => {
|
|
820
820
|
if (output.statusCode >= 300) {
|
|
821
|
-
return
|
|
821
|
+
return de_ListServiceQuotasCommandError(output, context);
|
|
822
822
|
}
|
|
823
823
|
const data = await parseBody(output.body, context);
|
|
824
824
|
let contents = {};
|
|
825
|
-
contents =
|
|
825
|
+
contents = de_ListServiceQuotasResponse(data, context);
|
|
826
826
|
const response = {
|
|
827
827
|
$metadata: deserializeMetadata(output),
|
|
828
828
|
...contents,
|
|
829
829
|
};
|
|
830
830
|
return Promise.resolve(response);
|
|
831
831
|
};
|
|
832
|
-
exports.
|
|
833
|
-
const
|
|
832
|
+
exports.de_ListServiceQuotasCommand = de_ListServiceQuotasCommand;
|
|
833
|
+
const de_ListServiceQuotasCommandError = async (output, context) => {
|
|
834
834
|
const parsedOutput = {
|
|
835
835
|
...output,
|
|
836
836
|
body: await parseErrorBody(output.body, context),
|
|
@@ -839,22 +839,22 @@ const deserializeAws_json1_1ListServiceQuotasCommandError = async (output, conte
|
|
|
839
839
|
switch (errorCode) {
|
|
840
840
|
case "AccessDeniedException":
|
|
841
841
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
842
|
-
throw await
|
|
842
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
843
843
|
case "IllegalArgumentException":
|
|
844
844
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
845
|
-
throw await
|
|
845
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
846
846
|
case "InvalidPaginationTokenException":
|
|
847
847
|
case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
|
|
848
|
-
throw await
|
|
848
|
+
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
849
849
|
case "NoSuchResourceException":
|
|
850
850
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
851
|
-
throw await
|
|
851
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
852
852
|
case "ServiceException":
|
|
853
853
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
854
|
-
throw await
|
|
854
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
855
855
|
case "TooManyRequestsException":
|
|
856
856
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
857
|
-
throw await
|
|
857
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
858
858
|
default:
|
|
859
859
|
const parsedBody = parsedOutput.body;
|
|
860
860
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -865,21 +865,21 @@ const deserializeAws_json1_1ListServiceQuotasCommandError = async (output, conte
|
|
|
865
865
|
});
|
|
866
866
|
}
|
|
867
867
|
};
|
|
868
|
-
const
|
|
868
|
+
const de_ListServicesCommand = async (output, context) => {
|
|
869
869
|
if (output.statusCode >= 300) {
|
|
870
|
-
return
|
|
870
|
+
return de_ListServicesCommandError(output, context);
|
|
871
871
|
}
|
|
872
872
|
const data = await parseBody(output.body, context);
|
|
873
873
|
let contents = {};
|
|
874
|
-
contents =
|
|
874
|
+
contents = de_ListServicesResponse(data, context);
|
|
875
875
|
const response = {
|
|
876
876
|
$metadata: deserializeMetadata(output),
|
|
877
877
|
...contents,
|
|
878
878
|
};
|
|
879
879
|
return Promise.resolve(response);
|
|
880
880
|
};
|
|
881
|
-
exports.
|
|
882
|
-
const
|
|
881
|
+
exports.de_ListServicesCommand = de_ListServicesCommand;
|
|
882
|
+
const de_ListServicesCommandError = async (output, context) => {
|
|
883
883
|
const parsedOutput = {
|
|
884
884
|
...output,
|
|
885
885
|
body: await parseErrorBody(output.body, context),
|
|
@@ -888,19 +888,19 @@ const deserializeAws_json1_1ListServicesCommandError = async (output, context) =
|
|
|
888
888
|
switch (errorCode) {
|
|
889
889
|
case "AccessDeniedException":
|
|
890
890
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
891
|
-
throw await
|
|
891
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
892
892
|
case "IllegalArgumentException":
|
|
893
893
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
894
|
-
throw await
|
|
894
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
895
895
|
case "InvalidPaginationTokenException":
|
|
896
896
|
case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
|
|
897
|
-
throw await
|
|
897
|
+
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
898
898
|
case "ServiceException":
|
|
899
899
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
900
|
-
throw await
|
|
900
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
901
901
|
case "TooManyRequestsException":
|
|
902
902
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
903
|
-
throw await
|
|
903
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
904
904
|
default:
|
|
905
905
|
const parsedBody = parsedOutput.body;
|
|
906
906
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -911,21 +911,21 @@ const deserializeAws_json1_1ListServicesCommandError = async (output, context) =
|
|
|
911
911
|
});
|
|
912
912
|
}
|
|
913
913
|
};
|
|
914
|
-
const
|
|
914
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
915
915
|
if (output.statusCode >= 300) {
|
|
916
|
-
return
|
|
916
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
917
917
|
}
|
|
918
918
|
const data = await parseBody(output.body, context);
|
|
919
919
|
let contents = {};
|
|
920
|
-
contents =
|
|
920
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
921
921
|
const response = {
|
|
922
922
|
$metadata: deserializeMetadata(output),
|
|
923
923
|
...contents,
|
|
924
924
|
};
|
|
925
925
|
return Promise.resolve(response);
|
|
926
926
|
};
|
|
927
|
-
exports.
|
|
928
|
-
const
|
|
927
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
928
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
929
929
|
const parsedOutput = {
|
|
930
930
|
...output,
|
|
931
931
|
body: await parseErrorBody(output.body, context),
|
|
@@ -934,19 +934,19 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
934
934
|
switch (errorCode) {
|
|
935
935
|
case "AccessDeniedException":
|
|
936
936
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
937
|
-
throw await
|
|
937
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
938
938
|
case "IllegalArgumentException":
|
|
939
939
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
940
|
-
throw await
|
|
940
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
941
941
|
case "NoSuchResourceException":
|
|
942
942
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
943
|
-
throw await
|
|
943
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
944
944
|
case "ServiceException":
|
|
945
945
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
946
|
-
throw await
|
|
946
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
947
947
|
case "TooManyRequestsException":
|
|
948
948
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
949
|
-
throw await
|
|
949
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
950
950
|
default:
|
|
951
951
|
const parsedBody = parsedOutput.body;
|
|
952
952
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -957,21 +957,21 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
957
957
|
});
|
|
958
958
|
}
|
|
959
959
|
};
|
|
960
|
-
const
|
|
960
|
+
const de_PutServiceQuotaIncreaseRequestIntoTemplateCommand = async (output, context) => {
|
|
961
961
|
if (output.statusCode >= 300) {
|
|
962
|
-
return
|
|
962
|
+
return de_PutServiceQuotaIncreaseRequestIntoTemplateCommandError(output, context);
|
|
963
963
|
}
|
|
964
964
|
const data = await parseBody(output.body, context);
|
|
965
965
|
let contents = {};
|
|
966
|
-
contents =
|
|
966
|
+
contents = de_PutServiceQuotaIncreaseRequestIntoTemplateResponse(data, context);
|
|
967
967
|
const response = {
|
|
968
968
|
$metadata: deserializeMetadata(output),
|
|
969
969
|
...contents,
|
|
970
970
|
};
|
|
971
971
|
return Promise.resolve(response);
|
|
972
972
|
};
|
|
973
|
-
exports.
|
|
974
|
-
const
|
|
973
|
+
exports.de_PutServiceQuotaIncreaseRequestIntoTemplateCommand = de_PutServiceQuotaIncreaseRequestIntoTemplateCommand;
|
|
974
|
+
const de_PutServiceQuotaIncreaseRequestIntoTemplateCommandError = async (output, context) => {
|
|
975
975
|
const parsedOutput = {
|
|
976
976
|
...output,
|
|
977
977
|
body: await parseErrorBody(output.body, context),
|
|
@@ -980,34 +980,34 @@ const deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommandErr
|
|
|
980
980
|
switch (errorCode) {
|
|
981
981
|
case "AWSServiceAccessNotEnabledException":
|
|
982
982
|
case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
|
|
983
|
-
throw await
|
|
983
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
984
984
|
case "AccessDeniedException":
|
|
985
985
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
986
|
-
throw await
|
|
986
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
987
987
|
case "DependencyAccessDeniedException":
|
|
988
988
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
989
|
-
throw await
|
|
989
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
990
990
|
case "IllegalArgumentException":
|
|
991
991
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
992
|
-
throw await
|
|
992
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
993
993
|
case "NoAvailableOrganizationException":
|
|
994
994
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
995
|
-
throw await
|
|
995
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
996
996
|
case "NoSuchResourceException":
|
|
997
997
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
998
|
-
throw await
|
|
998
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
999
999
|
case "QuotaExceededException":
|
|
1000
1000
|
case "com.amazonaws.servicequotas#QuotaExceededException":
|
|
1001
|
-
throw await
|
|
1001
|
+
throw await de_QuotaExceededExceptionRes(parsedOutput, context);
|
|
1002
1002
|
case "ServiceException":
|
|
1003
1003
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
1004
|
-
throw await
|
|
1004
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1005
1005
|
case "TemplatesNotAvailableInRegionException":
|
|
1006
1006
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
1007
|
-
throw await
|
|
1007
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
1008
1008
|
case "TooManyRequestsException":
|
|
1009
1009
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
1010
|
-
throw await
|
|
1010
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1011
1011
|
default:
|
|
1012
1012
|
const parsedBody = parsedOutput.body;
|
|
1013
1013
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1018,21 +1018,21 @@ const deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommandErr
|
|
|
1018
1018
|
});
|
|
1019
1019
|
}
|
|
1020
1020
|
};
|
|
1021
|
-
const
|
|
1021
|
+
const de_RequestServiceQuotaIncreaseCommand = async (output, context) => {
|
|
1022
1022
|
if (output.statusCode >= 300) {
|
|
1023
|
-
return
|
|
1023
|
+
return de_RequestServiceQuotaIncreaseCommandError(output, context);
|
|
1024
1024
|
}
|
|
1025
1025
|
const data = await parseBody(output.body, context);
|
|
1026
1026
|
let contents = {};
|
|
1027
|
-
contents =
|
|
1027
|
+
contents = de_RequestServiceQuotaIncreaseResponse(data, context);
|
|
1028
1028
|
const response = {
|
|
1029
1029
|
$metadata: deserializeMetadata(output),
|
|
1030
1030
|
...contents,
|
|
1031
1031
|
};
|
|
1032
1032
|
return Promise.resolve(response);
|
|
1033
1033
|
};
|
|
1034
|
-
exports.
|
|
1035
|
-
const
|
|
1034
|
+
exports.de_RequestServiceQuotaIncreaseCommand = de_RequestServiceQuotaIncreaseCommand;
|
|
1035
|
+
const de_RequestServiceQuotaIncreaseCommandError = async (output, context) => {
|
|
1036
1036
|
const parsedOutput = {
|
|
1037
1037
|
...output,
|
|
1038
1038
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1041,31 +1041,31 @@ const deserializeAws_json1_1RequestServiceQuotaIncreaseCommandError = async (out
|
|
|
1041
1041
|
switch (errorCode) {
|
|
1042
1042
|
case "AccessDeniedException":
|
|
1043
1043
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
1044
|
-
throw await
|
|
1044
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1045
1045
|
case "DependencyAccessDeniedException":
|
|
1046
1046
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
1047
|
-
throw await
|
|
1047
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
1048
1048
|
case "IllegalArgumentException":
|
|
1049
1049
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
1050
|
-
throw await
|
|
1050
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1051
1051
|
case "InvalidResourceStateException":
|
|
1052
1052
|
case "com.amazonaws.servicequotas#InvalidResourceStateException":
|
|
1053
|
-
throw await
|
|
1053
|
+
throw await de_InvalidResourceStateExceptionRes(parsedOutput, context);
|
|
1054
1054
|
case "NoSuchResourceException":
|
|
1055
1055
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
1056
|
-
throw await
|
|
1056
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
1057
1057
|
case "QuotaExceededException":
|
|
1058
1058
|
case "com.amazonaws.servicequotas#QuotaExceededException":
|
|
1059
|
-
throw await
|
|
1059
|
+
throw await de_QuotaExceededExceptionRes(parsedOutput, context);
|
|
1060
1060
|
case "ResourceAlreadyExistsException":
|
|
1061
1061
|
case "com.amazonaws.servicequotas#ResourceAlreadyExistsException":
|
|
1062
|
-
throw await
|
|
1062
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1063
1063
|
case "ServiceException":
|
|
1064
1064
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
1065
|
-
throw await
|
|
1065
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1066
1066
|
case "TooManyRequestsException":
|
|
1067
1067
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
1068
|
-
throw await
|
|
1068
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1069
1069
|
default:
|
|
1070
1070
|
const parsedBody = parsedOutput.body;
|
|
1071
1071
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1076,21 +1076,21 @@ const deserializeAws_json1_1RequestServiceQuotaIncreaseCommandError = async (out
|
|
|
1076
1076
|
});
|
|
1077
1077
|
}
|
|
1078
1078
|
};
|
|
1079
|
-
const
|
|
1079
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1080
1080
|
if (output.statusCode >= 300) {
|
|
1081
|
-
return
|
|
1081
|
+
return de_TagResourceCommandError(output, context);
|
|
1082
1082
|
}
|
|
1083
1083
|
const data = await parseBody(output.body, context);
|
|
1084
1084
|
let contents = {};
|
|
1085
|
-
contents =
|
|
1085
|
+
contents = de_TagResourceResponse(data, context);
|
|
1086
1086
|
const response = {
|
|
1087
1087
|
$metadata: deserializeMetadata(output),
|
|
1088
1088
|
...contents,
|
|
1089
1089
|
};
|
|
1090
1090
|
return Promise.resolve(response);
|
|
1091
1091
|
};
|
|
1092
|
-
exports.
|
|
1093
|
-
const
|
|
1092
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1093
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1094
1094
|
const parsedOutput = {
|
|
1095
1095
|
...output,
|
|
1096
1096
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1099,25 +1099,25 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1099
1099
|
switch (errorCode) {
|
|
1100
1100
|
case "AccessDeniedException":
|
|
1101
1101
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
1102
|
-
throw await
|
|
1102
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1103
1103
|
case "IllegalArgumentException":
|
|
1104
1104
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
1105
|
-
throw await
|
|
1105
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1106
1106
|
case "NoSuchResourceException":
|
|
1107
1107
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
1108
|
-
throw await
|
|
1108
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
1109
1109
|
case "ServiceException":
|
|
1110
1110
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
1111
|
-
throw await
|
|
1111
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1112
1112
|
case "TagPolicyViolationException":
|
|
1113
1113
|
case "com.amazonaws.servicequotas#TagPolicyViolationException":
|
|
1114
|
-
throw await
|
|
1114
|
+
throw await de_TagPolicyViolationExceptionRes(parsedOutput, context);
|
|
1115
1115
|
case "TooManyRequestsException":
|
|
1116
1116
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
1117
|
-
throw await
|
|
1117
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1118
1118
|
case "TooManyTagsException":
|
|
1119
1119
|
case "com.amazonaws.servicequotas#TooManyTagsException":
|
|
1120
|
-
throw await
|
|
1120
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1121
1121
|
default:
|
|
1122
1122
|
const parsedBody = parsedOutput.body;
|
|
1123
1123
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1128,21 +1128,21 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1128
1128
|
});
|
|
1129
1129
|
}
|
|
1130
1130
|
};
|
|
1131
|
-
const
|
|
1131
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1132
1132
|
if (output.statusCode >= 300) {
|
|
1133
|
-
return
|
|
1133
|
+
return de_UntagResourceCommandError(output, context);
|
|
1134
1134
|
}
|
|
1135
1135
|
const data = await parseBody(output.body, context);
|
|
1136
1136
|
let contents = {};
|
|
1137
|
-
contents =
|
|
1137
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1138
1138
|
const response = {
|
|
1139
1139
|
$metadata: deserializeMetadata(output),
|
|
1140
1140
|
...contents,
|
|
1141
1141
|
};
|
|
1142
1142
|
return Promise.resolve(response);
|
|
1143
1143
|
};
|
|
1144
|
-
exports.
|
|
1145
|
-
const
|
|
1144
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1145
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1146
1146
|
const parsedOutput = {
|
|
1147
1147
|
...output,
|
|
1148
1148
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1151,19 +1151,19 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1151
1151
|
switch (errorCode) {
|
|
1152
1152
|
case "AccessDeniedException":
|
|
1153
1153
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
1154
|
-
throw await
|
|
1154
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1155
1155
|
case "IllegalArgumentException":
|
|
1156
1156
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
1157
|
-
throw await
|
|
1157
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1158
1158
|
case "NoSuchResourceException":
|
|
1159
1159
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
1160
|
-
throw await
|
|
1160
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
1161
1161
|
case "ServiceException":
|
|
1162
1162
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
1163
|
-
throw await
|
|
1163
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1164
1164
|
case "TooManyRequestsException":
|
|
1165
1165
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
1166
|
-
throw await
|
|
1166
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1167
1167
|
default:
|
|
1168
1168
|
const parsedBody = parsedOutput.body;
|
|
1169
1169
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1174,221 +1174,221 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1174
1174
|
});
|
|
1175
1175
|
}
|
|
1176
1176
|
};
|
|
1177
|
-
const
|
|
1177
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1178
1178
|
const body = parsedOutput.body;
|
|
1179
|
-
const deserialized =
|
|
1179
|
+
const deserialized = de_AccessDeniedException(body, context);
|
|
1180
1180
|
const exception = new models_0_1.AccessDeniedException({
|
|
1181
1181
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1182
1182
|
...deserialized,
|
|
1183
1183
|
});
|
|
1184
1184
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1185
1185
|
};
|
|
1186
|
-
const
|
|
1186
|
+
const de_AWSServiceAccessNotEnabledExceptionRes = async (parsedOutput, context) => {
|
|
1187
1187
|
const body = parsedOutput.body;
|
|
1188
|
-
const deserialized =
|
|
1188
|
+
const deserialized = de_AWSServiceAccessNotEnabledException(body, context);
|
|
1189
1189
|
const exception = new models_0_1.AWSServiceAccessNotEnabledException({
|
|
1190
1190
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1191
1191
|
...deserialized,
|
|
1192
1192
|
});
|
|
1193
1193
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1194
1194
|
};
|
|
1195
|
-
const
|
|
1195
|
+
const de_DependencyAccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1196
1196
|
const body = parsedOutput.body;
|
|
1197
|
-
const deserialized =
|
|
1197
|
+
const deserialized = de_DependencyAccessDeniedException(body, context);
|
|
1198
1198
|
const exception = new models_0_1.DependencyAccessDeniedException({
|
|
1199
1199
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1200
1200
|
...deserialized,
|
|
1201
1201
|
});
|
|
1202
1202
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1203
1203
|
};
|
|
1204
|
-
const
|
|
1204
|
+
const de_IllegalArgumentExceptionRes = async (parsedOutput, context) => {
|
|
1205
1205
|
const body = parsedOutput.body;
|
|
1206
|
-
const deserialized =
|
|
1206
|
+
const deserialized = de_IllegalArgumentException(body, context);
|
|
1207
1207
|
const exception = new models_0_1.IllegalArgumentException({
|
|
1208
1208
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1209
1209
|
...deserialized,
|
|
1210
1210
|
});
|
|
1211
1211
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1212
1212
|
};
|
|
1213
|
-
const
|
|
1213
|
+
const de_InvalidPaginationTokenExceptionRes = async (parsedOutput, context) => {
|
|
1214
1214
|
const body = parsedOutput.body;
|
|
1215
|
-
const deserialized =
|
|
1215
|
+
const deserialized = de_InvalidPaginationTokenException(body, context);
|
|
1216
1216
|
const exception = new models_0_1.InvalidPaginationTokenException({
|
|
1217
1217
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1218
1218
|
...deserialized,
|
|
1219
1219
|
});
|
|
1220
1220
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1221
1221
|
};
|
|
1222
|
-
const
|
|
1222
|
+
const de_InvalidResourceStateExceptionRes = async (parsedOutput, context) => {
|
|
1223
1223
|
const body = parsedOutput.body;
|
|
1224
|
-
const deserialized =
|
|
1224
|
+
const deserialized = de_InvalidResourceStateException(body, context);
|
|
1225
1225
|
const exception = new models_0_1.InvalidResourceStateException({
|
|
1226
1226
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1227
1227
|
...deserialized,
|
|
1228
1228
|
});
|
|
1229
1229
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1230
1230
|
};
|
|
1231
|
-
const
|
|
1231
|
+
const de_NoAvailableOrganizationExceptionRes = async (parsedOutput, context) => {
|
|
1232
1232
|
const body = parsedOutput.body;
|
|
1233
|
-
const deserialized =
|
|
1233
|
+
const deserialized = de_NoAvailableOrganizationException(body, context);
|
|
1234
1234
|
const exception = new models_0_1.NoAvailableOrganizationException({
|
|
1235
1235
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1236
1236
|
...deserialized,
|
|
1237
1237
|
});
|
|
1238
1238
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1239
1239
|
};
|
|
1240
|
-
const
|
|
1240
|
+
const de_NoSuchResourceExceptionRes = async (parsedOutput, context) => {
|
|
1241
1241
|
const body = parsedOutput.body;
|
|
1242
|
-
const deserialized =
|
|
1242
|
+
const deserialized = de_NoSuchResourceException(body, context);
|
|
1243
1243
|
const exception = new models_0_1.NoSuchResourceException({
|
|
1244
1244
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1245
1245
|
...deserialized,
|
|
1246
1246
|
});
|
|
1247
1247
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1248
1248
|
};
|
|
1249
|
-
const
|
|
1249
|
+
const de_OrganizationNotInAllFeaturesModeExceptionRes = async (parsedOutput, context) => {
|
|
1250
1250
|
const body = parsedOutput.body;
|
|
1251
|
-
const deserialized =
|
|
1251
|
+
const deserialized = de_OrganizationNotInAllFeaturesModeException(body, context);
|
|
1252
1252
|
const exception = new models_0_1.OrganizationNotInAllFeaturesModeException({
|
|
1253
1253
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1254
1254
|
...deserialized,
|
|
1255
1255
|
});
|
|
1256
1256
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1257
1257
|
};
|
|
1258
|
-
const
|
|
1258
|
+
const de_QuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1259
1259
|
const body = parsedOutput.body;
|
|
1260
|
-
const deserialized =
|
|
1260
|
+
const deserialized = de_QuotaExceededException(body, context);
|
|
1261
1261
|
const exception = new models_0_1.QuotaExceededException({
|
|
1262
1262
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1263
1263
|
...deserialized,
|
|
1264
1264
|
});
|
|
1265
1265
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1266
1266
|
};
|
|
1267
|
-
const
|
|
1267
|
+
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1268
1268
|
const body = parsedOutput.body;
|
|
1269
|
-
const deserialized =
|
|
1269
|
+
const deserialized = de_ResourceAlreadyExistsException(body, context);
|
|
1270
1270
|
const exception = new models_0_1.ResourceAlreadyExistsException({
|
|
1271
1271
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1272
1272
|
...deserialized,
|
|
1273
1273
|
});
|
|
1274
1274
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1275
1275
|
};
|
|
1276
|
-
const
|
|
1276
|
+
const de_ServiceExceptionRes = async (parsedOutput, context) => {
|
|
1277
1277
|
const body = parsedOutput.body;
|
|
1278
|
-
const deserialized =
|
|
1278
|
+
const deserialized = de_ServiceException(body, context);
|
|
1279
1279
|
const exception = new models_0_1.ServiceException({
|
|
1280
1280
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1281
1281
|
...deserialized,
|
|
1282
1282
|
});
|
|
1283
1283
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1284
1284
|
};
|
|
1285
|
-
const
|
|
1285
|
+
const de_ServiceQuotaTemplateNotInUseExceptionRes = async (parsedOutput, context) => {
|
|
1286
1286
|
const body = parsedOutput.body;
|
|
1287
|
-
const deserialized =
|
|
1287
|
+
const deserialized = de_ServiceQuotaTemplateNotInUseException(body, context);
|
|
1288
1288
|
const exception = new models_0_1.ServiceQuotaTemplateNotInUseException({
|
|
1289
1289
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1290
1290
|
...deserialized,
|
|
1291
1291
|
});
|
|
1292
1292
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1293
1293
|
};
|
|
1294
|
-
const
|
|
1294
|
+
const de_TagPolicyViolationExceptionRes = async (parsedOutput, context) => {
|
|
1295
1295
|
const body = parsedOutput.body;
|
|
1296
|
-
const deserialized =
|
|
1296
|
+
const deserialized = de_TagPolicyViolationException(body, context);
|
|
1297
1297
|
const exception = new models_0_1.TagPolicyViolationException({
|
|
1298
1298
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1299
1299
|
...deserialized,
|
|
1300
1300
|
});
|
|
1301
1301
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1302
1302
|
};
|
|
1303
|
-
const
|
|
1303
|
+
const de_TemplatesNotAvailableInRegionExceptionRes = async (parsedOutput, context) => {
|
|
1304
1304
|
const body = parsedOutput.body;
|
|
1305
|
-
const deserialized =
|
|
1305
|
+
const deserialized = de_TemplatesNotAvailableInRegionException(body, context);
|
|
1306
1306
|
const exception = new models_0_1.TemplatesNotAvailableInRegionException({
|
|
1307
1307
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1308
1308
|
...deserialized,
|
|
1309
1309
|
});
|
|
1310
1310
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1311
1311
|
};
|
|
1312
|
-
const
|
|
1312
|
+
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
1313
1313
|
const body = parsedOutput.body;
|
|
1314
|
-
const deserialized =
|
|
1314
|
+
const deserialized = de_TooManyRequestsException(body, context);
|
|
1315
1315
|
const exception = new models_0_1.TooManyRequestsException({
|
|
1316
1316
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1317
1317
|
...deserialized,
|
|
1318
1318
|
});
|
|
1319
1319
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1320
1320
|
};
|
|
1321
|
-
const
|
|
1321
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1322
1322
|
const body = parsedOutput.body;
|
|
1323
|
-
const deserialized =
|
|
1323
|
+
const deserialized = de_TooManyTagsException(body, context);
|
|
1324
1324
|
const exception = new models_0_1.TooManyTagsException({
|
|
1325
1325
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1326
1326
|
...deserialized,
|
|
1327
1327
|
});
|
|
1328
1328
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1329
1329
|
};
|
|
1330
|
-
const
|
|
1330
|
+
const se_AssociateServiceQuotaTemplateRequest = (input, context) => {
|
|
1331
1331
|
return {};
|
|
1332
1332
|
};
|
|
1333
|
-
const
|
|
1333
|
+
const se_DeleteServiceQuotaIncreaseRequestFromTemplateRequest = (input, context) => {
|
|
1334
1334
|
return {
|
|
1335
1335
|
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
1336
1336
|
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1337
1337
|
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1338
1338
|
};
|
|
1339
1339
|
};
|
|
1340
|
-
const
|
|
1340
|
+
const se_DisassociateServiceQuotaTemplateRequest = (input, context) => {
|
|
1341
1341
|
return {};
|
|
1342
1342
|
};
|
|
1343
|
-
const
|
|
1343
|
+
const se_GetAssociationForServiceQuotaTemplateRequest = (input, context) => {
|
|
1344
1344
|
return {};
|
|
1345
1345
|
};
|
|
1346
|
-
const
|
|
1346
|
+
const se_GetAWSDefaultServiceQuotaRequest = (input, context) => {
|
|
1347
1347
|
return {
|
|
1348
1348
|
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1349
1349
|
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1350
1350
|
};
|
|
1351
1351
|
};
|
|
1352
|
-
const
|
|
1352
|
+
const se_GetRequestedServiceQuotaChangeRequest = (input, context) => {
|
|
1353
1353
|
return {
|
|
1354
1354
|
...(input.RequestId != null && { RequestId: input.RequestId }),
|
|
1355
1355
|
};
|
|
1356
1356
|
};
|
|
1357
|
-
const
|
|
1357
|
+
const se_GetServiceQuotaIncreaseRequestFromTemplateRequest = (input, context) => {
|
|
1358
1358
|
return {
|
|
1359
1359
|
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
1360
1360
|
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1361
1361
|
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1362
1362
|
};
|
|
1363
1363
|
};
|
|
1364
|
-
const
|
|
1364
|
+
const se_GetServiceQuotaRequest = (input, context) => {
|
|
1365
1365
|
return {
|
|
1366
1366
|
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1367
1367
|
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1368
1368
|
};
|
|
1369
1369
|
};
|
|
1370
|
-
const
|
|
1370
|
+
const se_InputTagKeys = (input, context) => {
|
|
1371
1371
|
return input
|
|
1372
1372
|
.filter((e) => e != null)
|
|
1373
1373
|
.map((entry) => {
|
|
1374
1374
|
return entry;
|
|
1375
1375
|
});
|
|
1376
1376
|
};
|
|
1377
|
-
const
|
|
1377
|
+
const se_InputTags = (input, context) => {
|
|
1378
1378
|
return input
|
|
1379
1379
|
.filter((e) => e != null)
|
|
1380
1380
|
.map((entry) => {
|
|
1381
|
-
return
|
|
1381
|
+
return se_Tag(entry, context);
|
|
1382
1382
|
});
|
|
1383
1383
|
};
|
|
1384
|
-
const
|
|
1384
|
+
const se_ListAWSDefaultServiceQuotasRequest = (input, context) => {
|
|
1385
1385
|
return {
|
|
1386
1386
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1387
1387
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1388
1388
|
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1389
1389
|
};
|
|
1390
1390
|
};
|
|
1391
|
-
const
|
|
1391
|
+
const se_ListRequestedServiceQuotaChangeHistoryByQuotaRequest = (input, context) => {
|
|
1392
1392
|
return {
|
|
1393
1393
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1394
1394
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
@@ -1397,7 +1397,7 @@ const serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaRequest =
|
|
|
1397
1397
|
...(input.Status != null && { Status: input.Status }),
|
|
1398
1398
|
};
|
|
1399
1399
|
};
|
|
1400
|
-
const
|
|
1400
|
+
const se_ListRequestedServiceQuotaChangeHistoryRequest = (input, context) => {
|
|
1401
1401
|
return {
|
|
1402
1402
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1403
1403
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
@@ -1405,7 +1405,7 @@ const serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryRequest = (input
|
|
|
1405
1405
|
...(input.Status != null && { Status: input.Status }),
|
|
1406
1406
|
};
|
|
1407
1407
|
};
|
|
1408
|
-
const
|
|
1408
|
+
const se_ListServiceQuotaIncreaseRequestsInTemplateRequest = (input, context) => {
|
|
1409
1409
|
return {
|
|
1410
1410
|
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
1411
1411
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -1413,25 +1413,25 @@ const serializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateRequest = (i
|
|
|
1413
1413
|
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1414
1414
|
};
|
|
1415
1415
|
};
|
|
1416
|
-
const
|
|
1416
|
+
const se_ListServiceQuotasRequest = (input, context) => {
|
|
1417
1417
|
return {
|
|
1418
1418
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1419
1419
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1420
1420
|
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1421
1421
|
};
|
|
1422
1422
|
};
|
|
1423
|
-
const
|
|
1423
|
+
const se_ListServicesRequest = (input, context) => {
|
|
1424
1424
|
return {
|
|
1425
1425
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1426
1426
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1427
1427
|
};
|
|
1428
1428
|
};
|
|
1429
|
-
const
|
|
1429
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
1430
1430
|
return {
|
|
1431
1431
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1432
1432
|
};
|
|
1433
1433
|
};
|
|
1434
|
-
const
|
|
1434
|
+
const se_PutServiceQuotaIncreaseRequestIntoTemplateRequest = (input, context) => {
|
|
1435
1435
|
return {
|
|
1436
1436
|
...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
|
|
1437
1437
|
...(input.DesiredValue != null && { DesiredValue: (0, smithy_client_1.serializeFloat)(input.DesiredValue) }),
|
|
@@ -1439,153 +1439,151 @@ const serializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateRequest = (i
|
|
|
1439
1439
|
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1440
1440
|
};
|
|
1441
1441
|
};
|
|
1442
|
-
const
|
|
1442
|
+
const se_RequestServiceQuotaIncreaseRequest = (input, context) => {
|
|
1443
1443
|
return {
|
|
1444
1444
|
...(input.DesiredValue != null && { DesiredValue: (0, smithy_client_1.serializeFloat)(input.DesiredValue) }),
|
|
1445
1445
|
...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
|
|
1446
1446
|
...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
|
|
1447
1447
|
};
|
|
1448
1448
|
};
|
|
1449
|
-
const
|
|
1449
|
+
const se_Tag = (input, context) => {
|
|
1450
1450
|
return {
|
|
1451
1451
|
...(input.Key != null && { Key: input.Key }),
|
|
1452
1452
|
...(input.Value != null && { Value: input.Value }),
|
|
1453
1453
|
};
|
|
1454
1454
|
};
|
|
1455
|
-
const
|
|
1455
|
+
const se_TagResourceRequest = (input, context) => {
|
|
1456
1456
|
return {
|
|
1457
1457
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1458
|
-
...(input.Tags != null && { Tags:
|
|
1458
|
+
...(input.Tags != null && { Tags: se_InputTags(input.Tags, context) }),
|
|
1459
1459
|
};
|
|
1460
1460
|
};
|
|
1461
|
-
const
|
|
1461
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
1462
1462
|
return {
|
|
1463
1463
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1464
|
-
...(input.TagKeys != null && { TagKeys:
|
|
1464
|
+
...(input.TagKeys != null && { TagKeys: se_InputTagKeys(input.TagKeys, context) }),
|
|
1465
1465
|
};
|
|
1466
1466
|
};
|
|
1467
|
-
const
|
|
1467
|
+
const de_AccessDeniedException = (output, context) => {
|
|
1468
1468
|
return {
|
|
1469
1469
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1470
1470
|
};
|
|
1471
1471
|
};
|
|
1472
|
-
const
|
|
1472
|
+
const de_AssociateServiceQuotaTemplateResponse = (output, context) => {
|
|
1473
1473
|
return {};
|
|
1474
1474
|
};
|
|
1475
|
-
const
|
|
1475
|
+
const de_AWSServiceAccessNotEnabledException = (output, context) => {
|
|
1476
1476
|
return {
|
|
1477
1477
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1478
1478
|
};
|
|
1479
1479
|
};
|
|
1480
|
-
const
|
|
1480
|
+
const de_DeleteServiceQuotaIncreaseRequestFromTemplateResponse = (output, context) => {
|
|
1481
1481
|
return {};
|
|
1482
1482
|
};
|
|
1483
|
-
const
|
|
1483
|
+
const de_DependencyAccessDeniedException = (output, context) => {
|
|
1484
1484
|
return {
|
|
1485
1485
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1486
1486
|
};
|
|
1487
1487
|
};
|
|
1488
|
-
const
|
|
1488
|
+
const de_DisassociateServiceQuotaTemplateResponse = (output, context) => {
|
|
1489
1489
|
return {};
|
|
1490
1490
|
};
|
|
1491
|
-
const
|
|
1491
|
+
const de_ErrorReason = (output, context) => {
|
|
1492
1492
|
return {
|
|
1493
1493
|
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
1494
1494
|
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
1495
1495
|
};
|
|
1496
1496
|
};
|
|
1497
|
-
const
|
|
1497
|
+
const de_GetAssociationForServiceQuotaTemplateResponse = (output, context) => {
|
|
1498
1498
|
return {
|
|
1499
1499
|
ServiceQuotaTemplateAssociationStatus: (0, smithy_client_1.expectString)(output.ServiceQuotaTemplateAssociationStatus),
|
|
1500
1500
|
};
|
|
1501
1501
|
};
|
|
1502
|
-
const
|
|
1502
|
+
const de_GetAWSDefaultServiceQuotaResponse = (output, context) => {
|
|
1503
1503
|
return {
|
|
1504
|
-
Quota: output.Quota != null ?
|
|
1504
|
+
Quota: output.Quota != null ? de_ServiceQuota(output.Quota, context) : undefined,
|
|
1505
1505
|
};
|
|
1506
1506
|
};
|
|
1507
|
-
const
|
|
1507
|
+
const de_GetRequestedServiceQuotaChangeResponse = (output, context) => {
|
|
1508
1508
|
return {
|
|
1509
|
-
RequestedQuota: output.RequestedQuota != null
|
|
1510
|
-
? deserializeAws_json1_1RequestedServiceQuotaChange(output.RequestedQuota, context)
|
|
1511
|
-
: undefined,
|
|
1509
|
+
RequestedQuota: output.RequestedQuota != null ? de_RequestedServiceQuotaChange(output.RequestedQuota, context) : undefined,
|
|
1512
1510
|
};
|
|
1513
1511
|
};
|
|
1514
|
-
const
|
|
1512
|
+
const de_GetServiceQuotaIncreaseRequestFromTemplateResponse = (output, context) => {
|
|
1515
1513
|
return {
|
|
1516
1514
|
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate != null
|
|
1517
|
-
?
|
|
1515
|
+
? de_ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
|
|
1518
1516
|
: undefined,
|
|
1519
1517
|
};
|
|
1520
1518
|
};
|
|
1521
|
-
const
|
|
1519
|
+
const de_GetServiceQuotaResponse = (output, context) => {
|
|
1522
1520
|
return {
|
|
1523
|
-
Quota: output.Quota != null ?
|
|
1521
|
+
Quota: output.Quota != null ? de_ServiceQuota(output.Quota, context) : undefined,
|
|
1524
1522
|
};
|
|
1525
1523
|
};
|
|
1526
|
-
const
|
|
1524
|
+
const de_IllegalArgumentException = (output, context) => {
|
|
1527
1525
|
return {
|
|
1528
1526
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1529
1527
|
};
|
|
1530
1528
|
};
|
|
1531
|
-
const
|
|
1529
|
+
const de_InvalidPaginationTokenException = (output, context) => {
|
|
1532
1530
|
return {
|
|
1533
1531
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1534
1532
|
};
|
|
1535
1533
|
};
|
|
1536
|
-
const
|
|
1534
|
+
const de_InvalidResourceStateException = (output, context) => {
|
|
1537
1535
|
return {
|
|
1538
1536
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1539
1537
|
};
|
|
1540
1538
|
};
|
|
1541
|
-
const
|
|
1539
|
+
const de_ListAWSDefaultServiceQuotasResponse = (output, context) => {
|
|
1542
1540
|
return {
|
|
1543
1541
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1544
|
-
Quotas: output.Quotas != null ?
|
|
1542
|
+
Quotas: output.Quotas != null ? de_ServiceQuotaListDefinition(output.Quotas, context) : undefined,
|
|
1545
1543
|
};
|
|
1546
1544
|
};
|
|
1547
|
-
const
|
|
1545
|
+
const de_ListRequestedServiceQuotaChangeHistoryByQuotaResponse = (output, context) => {
|
|
1548
1546
|
return {
|
|
1549
1547
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1550
1548
|
RequestedQuotas: output.RequestedQuotas != null
|
|
1551
|
-
?
|
|
1549
|
+
? de_RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
|
|
1552
1550
|
: undefined,
|
|
1553
1551
|
};
|
|
1554
1552
|
};
|
|
1555
|
-
const
|
|
1553
|
+
const de_ListRequestedServiceQuotaChangeHistoryResponse = (output, context) => {
|
|
1556
1554
|
return {
|
|
1557
1555
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1558
1556
|
RequestedQuotas: output.RequestedQuotas != null
|
|
1559
|
-
?
|
|
1557
|
+
? de_RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
|
|
1560
1558
|
: undefined,
|
|
1561
1559
|
};
|
|
1562
1560
|
};
|
|
1563
|
-
const
|
|
1561
|
+
const de_ListServiceQuotaIncreaseRequestsInTemplateResponse = (output, context) => {
|
|
1564
1562
|
return {
|
|
1565
1563
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1566
1564
|
ServiceQuotaIncreaseRequestInTemplateList: output.ServiceQuotaIncreaseRequestInTemplateList != null
|
|
1567
|
-
?
|
|
1565
|
+
? de_ServiceQuotaIncreaseRequestInTemplateList(output.ServiceQuotaIncreaseRequestInTemplateList, context)
|
|
1568
1566
|
: undefined,
|
|
1569
1567
|
};
|
|
1570
1568
|
};
|
|
1571
|
-
const
|
|
1569
|
+
const de_ListServiceQuotasResponse = (output, context) => {
|
|
1572
1570
|
return {
|
|
1573
1571
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1574
|
-
Quotas: output.Quotas != null ?
|
|
1572
|
+
Quotas: output.Quotas != null ? de_ServiceQuotaListDefinition(output.Quotas, context) : undefined,
|
|
1575
1573
|
};
|
|
1576
1574
|
};
|
|
1577
|
-
const
|
|
1575
|
+
const de_ListServicesResponse = (output, context) => {
|
|
1578
1576
|
return {
|
|
1579
1577
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1580
|
-
Services: output.Services != null ?
|
|
1578
|
+
Services: output.Services != null ? de_ServiceInfoListDefinition(output.Services, context) : undefined,
|
|
1581
1579
|
};
|
|
1582
1580
|
};
|
|
1583
|
-
const
|
|
1581
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
1584
1582
|
return {
|
|
1585
|
-
Tags: output.Tags != null ?
|
|
1583
|
+
Tags: output.Tags != null ? de_OutputTags(output.Tags, context) : undefined,
|
|
1586
1584
|
};
|
|
1587
1585
|
};
|
|
1588
|
-
const
|
|
1586
|
+
const de_MetricDimensionsMapDefinition = (output, context) => {
|
|
1589
1587
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1590
1588
|
if (value === null) {
|
|
1591
1589
|
return acc;
|
|
@@ -1594,61 +1592,59 @@ const deserializeAws_json1_1MetricDimensionsMapDefinition = (output, context) =>
|
|
|
1594
1592
|
return acc;
|
|
1595
1593
|
}, {});
|
|
1596
1594
|
};
|
|
1597
|
-
const
|
|
1595
|
+
const de_MetricInfo = (output, context) => {
|
|
1598
1596
|
return {
|
|
1599
|
-
MetricDimensions: output.MetricDimensions != null
|
|
1600
|
-
? deserializeAws_json1_1MetricDimensionsMapDefinition(output.MetricDimensions, context)
|
|
1601
|
-
: undefined,
|
|
1597
|
+
MetricDimensions: output.MetricDimensions != null ? de_MetricDimensionsMapDefinition(output.MetricDimensions, context) : undefined,
|
|
1602
1598
|
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
1603
1599
|
MetricNamespace: (0, smithy_client_1.expectString)(output.MetricNamespace),
|
|
1604
1600
|
MetricStatisticRecommendation: (0, smithy_client_1.expectString)(output.MetricStatisticRecommendation),
|
|
1605
1601
|
};
|
|
1606
1602
|
};
|
|
1607
|
-
const
|
|
1603
|
+
const de_NoAvailableOrganizationException = (output, context) => {
|
|
1608
1604
|
return {
|
|
1609
1605
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1610
1606
|
};
|
|
1611
1607
|
};
|
|
1612
|
-
const
|
|
1608
|
+
const de_NoSuchResourceException = (output, context) => {
|
|
1613
1609
|
return {
|
|
1614
1610
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1615
1611
|
};
|
|
1616
1612
|
};
|
|
1617
|
-
const
|
|
1613
|
+
const de_OrganizationNotInAllFeaturesModeException = (output, context) => {
|
|
1618
1614
|
return {
|
|
1619
1615
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1620
1616
|
};
|
|
1621
1617
|
};
|
|
1622
|
-
const
|
|
1618
|
+
const de_OutputTags = (output, context) => {
|
|
1623
1619
|
const retVal = (output || [])
|
|
1624
1620
|
.filter((e) => e != null)
|
|
1625
1621
|
.map((entry) => {
|
|
1626
1622
|
if (entry === null) {
|
|
1627
1623
|
return null;
|
|
1628
1624
|
}
|
|
1629
|
-
return
|
|
1625
|
+
return de_Tag(entry, context);
|
|
1630
1626
|
});
|
|
1631
1627
|
return retVal;
|
|
1632
1628
|
};
|
|
1633
|
-
const
|
|
1629
|
+
const de_PutServiceQuotaIncreaseRequestIntoTemplateResponse = (output, context) => {
|
|
1634
1630
|
return {
|
|
1635
1631
|
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate != null
|
|
1636
|
-
?
|
|
1632
|
+
? de_ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
|
|
1637
1633
|
: undefined,
|
|
1638
1634
|
};
|
|
1639
1635
|
};
|
|
1640
|
-
const
|
|
1636
|
+
const de_QuotaExceededException = (output, context) => {
|
|
1641
1637
|
return {
|
|
1642
1638
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1643
1639
|
};
|
|
1644
1640
|
};
|
|
1645
|
-
const
|
|
1641
|
+
const de_QuotaPeriod = (output, context) => {
|
|
1646
1642
|
return {
|
|
1647
1643
|
PeriodUnit: (0, smithy_client_1.expectString)(output.PeriodUnit),
|
|
1648
1644
|
PeriodValue: (0, smithy_client_1.expectInt32)(output.PeriodValue),
|
|
1649
1645
|
};
|
|
1650
1646
|
};
|
|
1651
|
-
const
|
|
1647
|
+
const de_RequestedServiceQuotaChange = (output, context) => {
|
|
1652
1648
|
return {
|
|
1653
1649
|
CaseId: (0, smithy_client_1.expectString)(output.CaseId),
|
|
1654
1650
|
Created: output.Created != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Created))) : undefined,
|
|
@@ -1668,68 +1664,66 @@ const deserializeAws_json1_1RequestedServiceQuotaChange = (output, context) => {
|
|
|
1668
1664
|
Unit: (0, smithy_client_1.expectString)(output.Unit),
|
|
1669
1665
|
};
|
|
1670
1666
|
};
|
|
1671
|
-
const
|
|
1667
|
+
const de_RequestedServiceQuotaChangeHistoryListDefinition = (output, context) => {
|
|
1672
1668
|
const retVal = (output || [])
|
|
1673
1669
|
.filter((e) => e != null)
|
|
1674
1670
|
.map((entry) => {
|
|
1675
1671
|
if (entry === null) {
|
|
1676
1672
|
return null;
|
|
1677
1673
|
}
|
|
1678
|
-
return
|
|
1674
|
+
return de_RequestedServiceQuotaChange(entry, context);
|
|
1679
1675
|
});
|
|
1680
1676
|
return retVal;
|
|
1681
1677
|
};
|
|
1682
|
-
const
|
|
1678
|
+
const de_RequestServiceQuotaIncreaseResponse = (output, context) => {
|
|
1683
1679
|
return {
|
|
1684
|
-
RequestedQuota: output.RequestedQuota != null
|
|
1685
|
-
? deserializeAws_json1_1RequestedServiceQuotaChange(output.RequestedQuota, context)
|
|
1686
|
-
: undefined,
|
|
1680
|
+
RequestedQuota: output.RequestedQuota != null ? de_RequestedServiceQuotaChange(output.RequestedQuota, context) : undefined,
|
|
1687
1681
|
};
|
|
1688
1682
|
};
|
|
1689
|
-
const
|
|
1683
|
+
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
1690
1684
|
return {
|
|
1691
1685
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1692
1686
|
};
|
|
1693
1687
|
};
|
|
1694
|
-
const
|
|
1688
|
+
const de_ServiceException = (output, context) => {
|
|
1695
1689
|
return {
|
|
1696
1690
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1697
1691
|
};
|
|
1698
1692
|
};
|
|
1699
|
-
const
|
|
1693
|
+
const de_ServiceInfo = (output, context) => {
|
|
1700
1694
|
return {
|
|
1701
1695
|
ServiceCode: (0, smithy_client_1.expectString)(output.ServiceCode),
|
|
1702
1696
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
1703
1697
|
};
|
|
1704
1698
|
};
|
|
1705
|
-
const
|
|
1699
|
+
const de_ServiceInfoListDefinition = (output, context) => {
|
|
1706
1700
|
const retVal = (output || [])
|
|
1707
1701
|
.filter((e) => e != null)
|
|
1708
1702
|
.map((entry) => {
|
|
1709
1703
|
if (entry === null) {
|
|
1710
1704
|
return null;
|
|
1711
1705
|
}
|
|
1712
|
-
return
|
|
1706
|
+
return de_ServiceInfo(entry, context);
|
|
1713
1707
|
});
|
|
1714
1708
|
return retVal;
|
|
1715
1709
|
};
|
|
1716
|
-
const
|
|
1710
|
+
const de_ServiceQuota = (output, context) => {
|
|
1717
1711
|
return {
|
|
1718
1712
|
Adjustable: (0, smithy_client_1.expectBoolean)(output.Adjustable),
|
|
1719
|
-
ErrorReason: output.ErrorReason != null ?
|
|
1713
|
+
ErrorReason: output.ErrorReason != null ? de_ErrorReason(output.ErrorReason, context) : undefined,
|
|
1720
1714
|
GlobalQuota: (0, smithy_client_1.expectBoolean)(output.GlobalQuota),
|
|
1721
|
-
Period: output.Period != null ?
|
|
1715
|
+
Period: output.Period != null ? de_QuotaPeriod(output.Period, context) : undefined,
|
|
1722
1716
|
QuotaArn: (0, smithy_client_1.expectString)(output.QuotaArn),
|
|
1723
1717
|
QuotaCode: (0, smithy_client_1.expectString)(output.QuotaCode),
|
|
1724
1718
|
QuotaName: (0, smithy_client_1.expectString)(output.QuotaName),
|
|
1725
1719
|
ServiceCode: (0, smithy_client_1.expectString)(output.ServiceCode),
|
|
1726
1720
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
1727
1721
|
Unit: (0, smithy_client_1.expectString)(output.Unit),
|
|
1728
|
-
UsageMetric: output.UsageMetric != null ?
|
|
1722
|
+
UsageMetric: output.UsageMetric != null ? de_MetricInfo(output.UsageMetric, context) : undefined,
|
|
1729
1723
|
Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
|
|
1730
1724
|
};
|
|
1731
1725
|
};
|
|
1732
|
-
const
|
|
1726
|
+
const de_ServiceQuotaIncreaseRequestInTemplate = (output, context) => {
|
|
1733
1727
|
return {
|
|
1734
1728
|
AwsRegion: (0, smithy_client_1.expectString)(output.AwsRegion),
|
|
1735
1729
|
DesiredValue: (0, smithy_client_1.limitedParseDouble)(output.DesiredValue),
|
|
@@ -1741,63 +1735,63 @@ const deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplate = (output, con
|
|
|
1741
1735
|
Unit: (0, smithy_client_1.expectString)(output.Unit),
|
|
1742
1736
|
};
|
|
1743
1737
|
};
|
|
1744
|
-
const
|
|
1738
|
+
const de_ServiceQuotaIncreaseRequestInTemplateList = (output, context) => {
|
|
1745
1739
|
const retVal = (output || [])
|
|
1746
1740
|
.filter((e) => e != null)
|
|
1747
1741
|
.map((entry) => {
|
|
1748
1742
|
if (entry === null) {
|
|
1749
1743
|
return null;
|
|
1750
1744
|
}
|
|
1751
|
-
return
|
|
1745
|
+
return de_ServiceQuotaIncreaseRequestInTemplate(entry, context);
|
|
1752
1746
|
});
|
|
1753
1747
|
return retVal;
|
|
1754
1748
|
};
|
|
1755
|
-
const
|
|
1749
|
+
const de_ServiceQuotaListDefinition = (output, context) => {
|
|
1756
1750
|
const retVal = (output || [])
|
|
1757
1751
|
.filter((e) => e != null)
|
|
1758
1752
|
.map((entry) => {
|
|
1759
1753
|
if (entry === null) {
|
|
1760
1754
|
return null;
|
|
1761
1755
|
}
|
|
1762
|
-
return
|
|
1756
|
+
return de_ServiceQuota(entry, context);
|
|
1763
1757
|
});
|
|
1764
1758
|
return retVal;
|
|
1765
1759
|
};
|
|
1766
|
-
const
|
|
1760
|
+
const de_ServiceQuotaTemplateNotInUseException = (output, context) => {
|
|
1767
1761
|
return {
|
|
1768
1762
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1769
1763
|
};
|
|
1770
1764
|
};
|
|
1771
|
-
const
|
|
1765
|
+
const de_Tag = (output, context) => {
|
|
1772
1766
|
return {
|
|
1773
1767
|
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
1774
1768
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
1775
1769
|
};
|
|
1776
1770
|
};
|
|
1777
|
-
const
|
|
1771
|
+
const de_TagPolicyViolationException = (output, context) => {
|
|
1778
1772
|
return {
|
|
1779
1773
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1780
1774
|
};
|
|
1781
1775
|
};
|
|
1782
|
-
const
|
|
1776
|
+
const de_TagResourceResponse = (output, context) => {
|
|
1783
1777
|
return {};
|
|
1784
1778
|
};
|
|
1785
|
-
const
|
|
1779
|
+
const de_TemplatesNotAvailableInRegionException = (output, context) => {
|
|
1786
1780
|
return {
|
|
1787
1781
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1788
1782
|
};
|
|
1789
1783
|
};
|
|
1790
|
-
const
|
|
1784
|
+
const de_TooManyRequestsException = (output, context) => {
|
|
1791
1785
|
return {
|
|
1792
1786
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1793
1787
|
};
|
|
1794
1788
|
};
|
|
1795
|
-
const
|
|
1789
|
+
const de_TooManyTagsException = (output, context) => {
|
|
1796
1790
|
return {
|
|
1797
1791
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1798
1792
|
};
|
|
1799
1793
|
};
|
|
1800
|
-
const
|
|
1794
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
1801
1795
|
return {};
|
|
1802
1796
|
};
|
|
1803
1797
|
const deserializeMetadata = (output) => ({
|