@aws-sdk/client-service-catalog-appregistry 3.53.0 → 3.55.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/CHANGELOG.md +27 -0
- package/dist-cjs/ServiceCatalogAppRegistryClient.js +13 -13
- package/dist-cjs/commands/AssociateAttributeGroupCommand.js +3 -3
- package/dist-cjs/commands/AssociateResourceCommand.js +3 -3
- package/dist-cjs/commands/CreateApplicationCommand.js +3 -3
- package/dist-cjs/commands/CreateAttributeGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteApplicationCommand.js +3 -3
- package/dist-cjs/commands/DeleteAttributeGroupCommand.js +3 -3
- package/dist-cjs/commands/DisassociateAttributeGroupCommand.js +3 -3
- package/dist-cjs/commands/DisassociateResourceCommand.js +3 -3
- package/dist-cjs/commands/GetApplicationCommand.js +3 -3
- package/dist-cjs/commands/GetAssociatedResourceCommand.js +3 -3
- package/dist-cjs/commands/GetAttributeGroupCommand.js +3 -3
- package/dist-cjs/commands/ListApplicationsCommand.js +3 -3
- package/dist-cjs/commands/ListAssociatedAttributeGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListAssociatedResourcesCommand.js +3 -3
- package/dist-cjs/commands/ListAttributeGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/SyncResourceCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateApplicationCommand.js +3 -3
- package/dist-cjs/commands/UpdateAttributeGroupCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +141 -141
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/ServiceCatalogAppRegistry.js +21 -21
- package/dist-es/pagination/ListApplicationsPaginator.js +4 -4
- package/dist-es/pagination/ListAssociatedAttributeGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListAssociatedResourcesPaginator.js +4 -4
- package/dist-es/pagination/ListAttributeGroupsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +21 -21
- package/dist-types/ServiceCatalogAppRegistryClient.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/ServiceCatalogAppRegistryClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -16,7 +16,7 @@ const serializeAws_restJson1AssociateAttributeGroupCommand = async (input, conte
|
|
|
16
16
|
if (labelValue.length <= 0) {
|
|
17
17
|
throw new Error("Empty value provided for input HTTP label: application.");
|
|
18
18
|
}
|
|
19
|
-
resolvedPath = resolvedPath.replace("{application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
19
|
+
resolvedPath = resolvedPath.replace("{application}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
20
20
|
}
|
|
21
21
|
else {
|
|
22
22
|
throw new Error("No value provided for input HTTP label: application.");
|
|
@@ -26,7 +26,7 @@ const serializeAws_restJson1AssociateAttributeGroupCommand = async (input, conte
|
|
|
26
26
|
if (labelValue.length <= 0) {
|
|
27
27
|
throw new Error("Empty value provided for input HTTP label: attributeGroup.");
|
|
28
28
|
}
|
|
29
|
-
resolvedPath = resolvedPath.replace("{attributeGroup}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
29
|
+
resolvedPath = resolvedPath.replace("{attributeGroup}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
32
32
|
throw new Error("No value provided for input HTTP label: attributeGroup.");
|
|
@@ -53,7 +53,7 @@ const serializeAws_restJson1AssociateResourceCommand = async (input, context) =>
|
|
|
53
53
|
if (labelValue.length <= 0) {
|
|
54
54
|
throw new Error("Empty value provided for input HTTP label: application.");
|
|
55
55
|
}
|
|
56
|
-
resolvedPath = resolvedPath.replace("{application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
56
|
+
resolvedPath = resolvedPath.replace("{application}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
57
57
|
}
|
|
58
58
|
else {
|
|
59
59
|
throw new Error("No value provided for input HTTP label: application.");
|
|
@@ -63,7 +63,7 @@ const serializeAws_restJson1AssociateResourceCommand = async (input, context) =>
|
|
|
63
63
|
if (labelValue.length <= 0) {
|
|
64
64
|
throw new Error("Empty value provided for input HTTP label: resourceType.");
|
|
65
65
|
}
|
|
66
|
-
resolvedPath = resolvedPath.replace("{resourceType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
66
|
+
resolvedPath = resolvedPath.replace("{resourceType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
69
69
|
throw new Error("No value provided for input HTTP label: resourceType.");
|
|
@@ -73,7 +73,7 @@ const serializeAws_restJson1AssociateResourceCommand = async (input, context) =>
|
|
|
73
73
|
if (labelValue.length <= 0) {
|
|
74
74
|
throw new Error("Empty value provided for input HTTP label: resource.");
|
|
75
75
|
}
|
|
76
|
-
resolvedPath = resolvedPath.replace("{resource}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
76
|
+
resolvedPath = resolvedPath.replace("{resource}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
77
77
|
}
|
|
78
78
|
else {
|
|
79
79
|
throw new Error("No value provided for input HTTP label: resource.");
|
|
@@ -99,7 +99,7 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
|
|
|
99
99
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
|
|
100
100
|
let body;
|
|
101
101
|
body = JSON.stringify({
|
|
102
|
-
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
102
|
+
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
103
103
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
104
104
|
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
105
105
|
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
@@ -125,7 +125,7 @@ const serializeAws_restJson1CreateAttributeGroupCommand = async (input, context)
|
|
|
125
125
|
let body;
|
|
126
126
|
body = JSON.stringify({
|
|
127
127
|
...(input.attributes !== undefined && input.attributes !== null && { attributes: input.attributes }),
|
|
128
|
-
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
128
|
+
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
129
129
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
130
130
|
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
131
131
|
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
@@ -150,7 +150,7 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
|
|
|
150
150
|
if (labelValue.length <= 0) {
|
|
151
151
|
throw new Error("Empty value provided for input HTTP label: application.");
|
|
152
152
|
}
|
|
153
|
-
resolvedPath = resolvedPath.replace("{application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
153
|
+
resolvedPath = resolvedPath.replace("{application}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
154
154
|
}
|
|
155
155
|
else {
|
|
156
156
|
throw new Error("No value provided for input HTTP label: application.");
|
|
@@ -176,7 +176,7 @@ const serializeAws_restJson1DeleteAttributeGroupCommand = async (input, context)
|
|
|
176
176
|
if (labelValue.length <= 0) {
|
|
177
177
|
throw new Error("Empty value provided for input HTTP label: attributeGroup.");
|
|
178
178
|
}
|
|
179
|
-
resolvedPath = resolvedPath.replace("{attributeGroup}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
179
|
+
resolvedPath = resolvedPath.replace("{attributeGroup}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
182
182
|
throw new Error("No value provided for input HTTP label: attributeGroup.");
|
|
@@ -203,7 +203,7 @@ const serializeAws_restJson1DisassociateAttributeGroupCommand = async (input, co
|
|
|
203
203
|
if (labelValue.length <= 0) {
|
|
204
204
|
throw new Error("Empty value provided for input HTTP label: application.");
|
|
205
205
|
}
|
|
206
|
-
resolvedPath = resolvedPath.replace("{application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
206
|
+
resolvedPath = resolvedPath.replace("{application}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
209
209
|
throw new Error("No value provided for input HTTP label: application.");
|
|
@@ -213,7 +213,7 @@ const serializeAws_restJson1DisassociateAttributeGroupCommand = async (input, co
|
|
|
213
213
|
if (labelValue.length <= 0) {
|
|
214
214
|
throw new Error("Empty value provided for input HTTP label: attributeGroup.");
|
|
215
215
|
}
|
|
216
|
-
resolvedPath = resolvedPath.replace("{attributeGroup}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
216
|
+
resolvedPath = resolvedPath.replace("{attributeGroup}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
217
217
|
}
|
|
218
218
|
else {
|
|
219
219
|
throw new Error("No value provided for input HTTP label: attributeGroup.");
|
|
@@ -240,7 +240,7 @@ const serializeAws_restJson1DisassociateResourceCommand = async (input, context)
|
|
|
240
240
|
if (labelValue.length <= 0) {
|
|
241
241
|
throw new Error("Empty value provided for input HTTP label: application.");
|
|
242
242
|
}
|
|
243
|
-
resolvedPath = resolvedPath.replace("{application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
243
|
+
resolvedPath = resolvedPath.replace("{application}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
244
244
|
}
|
|
245
245
|
else {
|
|
246
246
|
throw new Error("No value provided for input HTTP label: application.");
|
|
@@ -250,7 +250,7 @@ const serializeAws_restJson1DisassociateResourceCommand = async (input, context)
|
|
|
250
250
|
if (labelValue.length <= 0) {
|
|
251
251
|
throw new Error("Empty value provided for input HTTP label: resourceType.");
|
|
252
252
|
}
|
|
253
|
-
resolvedPath = resolvedPath.replace("{resourceType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
253
|
+
resolvedPath = resolvedPath.replace("{resourceType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
254
254
|
}
|
|
255
255
|
else {
|
|
256
256
|
throw new Error("No value provided for input HTTP label: resourceType.");
|
|
@@ -260,7 +260,7 @@ const serializeAws_restJson1DisassociateResourceCommand = async (input, context)
|
|
|
260
260
|
if (labelValue.length <= 0) {
|
|
261
261
|
throw new Error("Empty value provided for input HTTP label: resource.");
|
|
262
262
|
}
|
|
263
|
-
resolvedPath = resolvedPath.replace("{resource}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
263
|
+
resolvedPath = resolvedPath.replace("{resource}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
264
264
|
}
|
|
265
265
|
else {
|
|
266
266
|
throw new Error("No value provided for input HTTP label: resource.");
|
|
@@ -286,7 +286,7 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
|
|
|
286
286
|
if (labelValue.length <= 0) {
|
|
287
287
|
throw new Error("Empty value provided for input HTTP label: application.");
|
|
288
288
|
}
|
|
289
|
-
resolvedPath = resolvedPath.replace("{application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
289
|
+
resolvedPath = resolvedPath.replace("{application}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
290
290
|
}
|
|
291
291
|
else {
|
|
292
292
|
throw new Error("No value provided for input HTTP label: application.");
|
|
@@ -313,7 +313,7 @@ const serializeAws_restJson1GetAssociatedResourceCommand = async (input, context
|
|
|
313
313
|
if (labelValue.length <= 0) {
|
|
314
314
|
throw new Error("Empty value provided for input HTTP label: application.");
|
|
315
315
|
}
|
|
316
|
-
resolvedPath = resolvedPath.replace("{application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
316
|
+
resolvedPath = resolvedPath.replace("{application}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
317
317
|
}
|
|
318
318
|
else {
|
|
319
319
|
throw new Error("No value provided for input HTTP label: application.");
|
|
@@ -323,7 +323,7 @@ const serializeAws_restJson1GetAssociatedResourceCommand = async (input, context
|
|
|
323
323
|
if (labelValue.length <= 0) {
|
|
324
324
|
throw new Error("Empty value provided for input HTTP label: resourceType.");
|
|
325
325
|
}
|
|
326
|
-
resolvedPath = resolvedPath.replace("{resourceType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
326
|
+
resolvedPath = resolvedPath.replace("{resourceType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
327
327
|
}
|
|
328
328
|
else {
|
|
329
329
|
throw new Error("No value provided for input HTTP label: resourceType.");
|
|
@@ -333,7 +333,7 @@ const serializeAws_restJson1GetAssociatedResourceCommand = async (input, context
|
|
|
333
333
|
if (labelValue.length <= 0) {
|
|
334
334
|
throw new Error("Empty value provided for input HTTP label: resource.");
|
|
335
335
|
}
|
|
336
|
-
resolvedPath = resolvedPath.replace("{resource}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
336
|
+
resolvedPath = resolvedPath.replace("{resource}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
337
337
|
}
|
|
338
338
|
else {
|
|
339
339
|
throw new Error("No value provided for input HTTP label: resource.");
|
|
@@ -359,7 +359,7 @@ const serializeAws_restJson1GetAttributeGroupCommand = async (input, context) =>
|
|
|
359
359
|
if (labelValue.length <= 0) {
|
|
360
360
|
throw new Error("Empty value provided for input HTTP label: attributeGroup.");
|
|
361
361
|
}
|
|
362
|
-
resolvedPath = resolvedPath.replace("{attributeGroup}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
362
|
+
resolvedPath = resolvedPath.replace("{attributeGroup}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
363
363
|
}
|
|
364
364
|
else {
|
|
365
365
|
throw new Error("No value provided for input HTTP label: attributeGroup.");
|
|
@@ -407,7 +407,7 @@ const serializeAws_restJson1ListAssociatedAttributeGroupsCommand = async (input,
|
|
|
407
407
|
if (labelValue.length <= 0) {
|
|
408
408
|
throw new Error("Empty value provided for input HTTP label: application.");
|
|
409
409
|
}
|
|
410
|
-
resolvedPath = resolvedPath.replace("{application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
410
|
+
resolvedPath = resolvedPath.replace("{application}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
411
411
|
}
|
|
412
412
|
else {
|
|
413
413
|
throw new Error("No value provided for input HTTP label: application.");
|
|
@@ -438,7 +438,7 @@ const serializeAws_restJson1ListAssociatedResourcesCommand = async (input, conte
|
|
|
438
438
|
if (labelValue.length <= 0) {
|
|
439
439
|
throw new Error("Empty value provided for input HTTP label: application.");
|
|
440
440
|
}
|
|
441
|
-
resolvedPath = resolvedPath.replace("{application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
441
|
+
resolvedPath = resolvedPath.replace("{application}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
442
442
|
}
|
|
443
443
|
else {
|
|
444
444
|
throw new Error("No value provided for input HTTP label: application.");
|
|
@@ -490,7 +490,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
490
490
|
if (labelValue.length <= 0) {
|
|
491
491
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
492
492
|
}
|
|
493
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
493
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
494
494
|
}
|
|
495
495
|
else {
|
|
496
496
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -516,7 +516,7 @@ const serializeAws_restJson1SyncResourceCommand = async (input, context) => {
|
|
|
516
516
|
if (labelValue.length <= 0) {
|
|
517
517
|
throw new Error("Empty value provided for input HTTP label: resourceType.");
|
|
518
518
|
}
|
|
519
|
-
resolvedPath = resolvedPath.replace("{resourceType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
519
|
+
resolvedPath = resolvedPath.replace("{resourceType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
520
520
|
}
|
|
521
521
|
else {
|
|
522
522
|
throw new Error("No value provided for input HTTP label: resourceType.");
|
|
@@ -526,7 +526,7 @@ const serializeAws_restJson1SyncResourceCommand = async (input, context) => {
|
|
|
526
526
|
if (labelValue.length <= 0) {
|
|
527
527
|
throw new Error("Empty value provided for input HTTP label: resource.");
|
|
528
528
|
}
|
|
529
|
-
resolvedPath = resolvedPath.replace("{resource}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
529
|
+
resolvedPath = resolvedPath.replace("{resource}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
530
530
|
}
|
|
531
531
|
else {
|
|
532
532
|
throw new Error("No value provided for input HTTP label: resource.");
|
|
@@ -554,7 +554,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
554
554
|
if (labelValue.length <= 0) {
|
|
555
555
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
556
556
|
}
|
|
557
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
557
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
558
558
|
}
|
|
559
559
|
else {
|
|
560
560
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -583,7 +583,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
583
583
|
if (labelValue.length <= 0) {
|
|
584
584
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
585
585
|
}
|
|
586
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
586
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
587
587
|
}
|
|
588
588
|
else {
|
|
589
589
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -615,7 +615,7 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
|
|
|
615
615
|
if (labelValue.length <= 0) {
|
|
616
616
|
throw new Error("Empty value provided for input HTTP label: application.");
|
|
617
617
|
}
|
|
618
|
-
resolvedPath = resolvedPath.replace("{application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
618
|
+
resolvedPath = resolvedPath.replace("{application}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
619
619
|
}
|
|
620
620
|
else {
|
|
621
621
|
throw new Error("No value provided for input HTTP label: application.");
|
|
@@ -647,7 +647,7 @@ const serializeAws_restJson1UpdateAttributeGroupCommand = async (input, context)
|
|
|
647
647
|
if (labelValue.length <= 0) {
|
|
648
648
|
throw new Error("Empty value provided for input HTTP label: attributeGroup.");
|
|
649
649
|
}
|
|
650
|
-
resolvedPath = resolvedPath.replace("{attributeGroup}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
650
|
+
resolvedPath = resolvedPath.replace("{attributeGroup}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
651
651
|
}
|
|
652
652
|
else {
|
|
653
653
|
throw new Error("No value provided for input HTTP label: attributeGroup.");
|
|
@@ -678,12 +678,12 @@ const deserializeAws_restJson1AssociateAttributeGroupCommand = async (output, co
|
|
|
678
678
|
applicationArn: undefined,
|
|
679
679
|
attributeGroupArn: undefined,
|
|
680
680
|
};
|
|
681
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
681
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
682
682
|
if (data.applicationArn !== undefined && data.applicationArn !== null) {
|
|
683
|
-
contents.applicationArn = smithy_client_1.expectString(data.applicationArn);
|
|
683
|
+
contents.applicationArn = (0, smithy_client_1.expectString)(data.applicationArn);
|
|
684
684
|
}
|
|
685
685
|
if (data.attributeGroupArn !== undefined && data.attributeGroupArn !== null) {
|
|
686
|
-
contents.attributeGroupArn = smithy_client_1.expectString(data.attributeGroupArn);
|
|
686
|
+
contents.attributeGroupArn = (0, smithy_client_1.expectString)(data.attributeGroupArn);
|
|
687
687
|
}
|
|
688
688
|
return Promise.resolve(contents);
|
|
689
689
|
};
|
|
@@ -716,7 +716,7 @@ const deserializeAws_restJson1AssociateAttributeGroupCommandError = async (outpu
|
|
|
716
716
|
$fault: "client",
|
|
717
717
|
$metadata: deserializeMetadata(output),
|
|
718
718
|
});
|
|
719
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
719
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
722
|
const deserializeAws_restJson1AssociateResourceCommand = async (output, context) => {
|
|
@@ -728,12 +728,12 @@ const deserializeAws_restJson1AssociateResourceCommand = async (output, context)
|
|
|
728
728
|
applicationArn: undefined,
|
|
729
729
|
resourceArn: undefined,
|
|
730
730
|
};
|
|
731
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
731
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
732
732
|
if (data.applicationArn !== undefined && data.applicationArn !== null) {
|
|
733
|
-
contents.applicationArn = smithy_client_1.expectString(data.applicationArn);
|
|
733
|
+
contents.applicationArn = (0, smithy_client_1.expectString)(data.applicationArn);
|
|
734
734
|
}
|
|
735
735
|
if (data.resourceArn !== undefined && data.resourceArn !== null) {
|
|
736
|
-
contents.resourceArn = smithy_client_1.expectString(data.resourceArn);
|
|
736
|
+
contents.resourceArn = (0, smithy_client_1.expectString)(data.resourceArn);
|
|
737
737
|
}
|
|
738
738
|
return Promise.resolve(contents);
|
|
739
739
|
};
|
|
@@ -766,7 +766,7 @@ const deserializeAws_restJson1AssociateResourceCommandError = async (output, con
|
|
|
766
766
|
$fault: "client",
|
|
767
767
|
$metadata: deserializeMetadata(output),
|
|
768
768
|
});
|
|
769
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
769
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
770
770
|
}
|
|
771
771
|
};
|
|
772
772
|
const deserializeAws_restJson1CreateApplicationCommand = async (output, context) => {
|
|
@@ -777,7 +777,7 @@ const deserializeAws_restJson1CreateApplicationCommand = async (output, context)
|
|
|
777
777
|
$metadata: deserializeMetadata(output),
|
|
778
778
|
application: undefined,
|
|
779
779
|
};
|
|
780
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
780
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
781
781
|
if (data.application !== undefined && data.application !== null) {
|
|
782
782
|
contents.application = deserializeAws_restJson1Application(data.application, context);
|
|
783
783
|
}
|
|
@@ -809,7 +809,7 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
|
|
|
809
809
|
$fault: "client",
|
|
810
810
|
$metadata: deserializeMetadata(output),
|
|
811
811
|
});
|
|
812
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
812
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
813
813
|
}
|
|
814
814
|
};
|
|
815
815
|
const deserializeAws_restJson1CreateAttributeGroupCommand = async (output, context) => {
|
|
@@ -820,7 +820,7 @@ const deserializeAws_restJson1CreateAttributeGroupCommand = async (output, conte
|
|
|
820
820
|
$metadata: deserializeMetadata(output),
|
|
821
821
|
attributeGroup: undefined,
|
|
822
822
|
};
|
|
823
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
823
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
824
824
|
if (data.attributeGroup !== undefined && data.attributeGroup !== null) {
|
|
825
825
|
contents.attributeGroup = deserializeAws_restJson1AttributeGroup(data.attributeGroup, context);
|
|
826
826
|
}
|
|
@@ -855,7 +855,7 @@ const deserializeAws_restJson1CreateAttributeGroupCommandError = async (output,
|
|
|
855
855
|
$fault: "client",
|
|
856
856
|
$metadata: deserializeMetadata(output),
|
|
857
857
|
});
|
|
858
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
858
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
859
859
|
}
|
|
860
860
|
};
|
|
861
861
|
const deserializeAws_restJson1DeleteApplicationCommand = async (output, context) => {
|
|
@@ -866,7 +866,7 @@ const deserializeAws_restJson1DeleteApplicationCommand = async (output, context)
|
|
|
866
866
|
$metadata: deserializeMetadata(output),
|
|
867
867
|
application: undefined,
|
|
868
868
|
};
|
|
869
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
869
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
870
870
|
if (data.application !== undefined && data.application !== null) {
|
|
871
871
|
contents.application = deserializeAws_restJson1ApplicationSummary(data.application, context);
|
|
872
872
|
}
|
|
@@ -898,7 +898,7 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
|
|
|
898
898
|
$fault: "client",
|
|
899
899
|
$metadata: deserializeMetadata(output),
|
|
900
900
|
});
|
|
901
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
901
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
902
902
|
}
|
|
903
903
|
};
|
|
904
904
|
const deserializeAws_restJson1DeleteAttributeGroupCommand = async (output, context) => {
|
|
@@ -909,7 +909,7 @@ const deserializeAws_restJson1DeleteAttributeGroupCommand = async (output, conte
|
|
|
909
909
|
$metadata: deserializeMetadata(output),
|
|
910
910
|
attributeGroup: undefined,
|
|
911
911
|
};
|
|
912
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
912
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
913
913
|
if (data.attributeGroup !== undefined && data.attributeGroup !== null) {
|
|
914
914
|
contents.attributeGroup = deserializeAws_restJson1AttributeGroupSummary(data.attributeGroup, context);
|
|
915
915
|
}
|
|
@@ -941,7 +941,7 @@ const deserializeAws_restJson1DeleteAttributeGroupCommandError = async (output,
|
|
|
941
941
|
$fault: "client",
|
|
942
942
|
$metadata: deserializeMetadata(output),
|
|
943
943
|
});
|
|
944
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
944
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
945
945
|
}
|
|
946
946
|
};
|
|
947
947
|
const deserializeAws_restJson1DisassociateAttributeGroupCommand = async (output, context) => {
|
|
@@ -953,12 +953,12 @@ const deserializeAws_restJson1DisassociateAttributeGroupCommand = async (output,
|
|
|
953
953
|
applicationArn: undefined,
|
|
954
954
|
attributeGroupArn: undefined,
|
|
955
955
|
};
|
|
956
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
956
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
957
957
|
if (data.applicationArn !== undefined && data.applicationArn !== null) {
|
|
958
|
-
contents.applicationArn = smithy_client_1.expectString(data.applicationArn);
|
|
958
|
+
contents.applicationArn = (0, smithy_client_1.expectString)(data.applicationArn);
|
|
959
959
|
}
|
|
960
960
|
if (data.attributeGroupArn !== undefined && data.attributeGroupArn !== null) {
|
|
961
|
-
contents.attributeGroupArn = smithy_client_1.expectString(data.attributeGroupArn);
|
|
961
|
+
contents.attributeGroupArn = (0, smithy_client_1.expectString)(data.attributeGroupArn);
|
|
962
962
|
}
|
|
963
963
|
return Promise.resolve(contents);
|
|
964
964
|
};
|
|
@@ -988,7 +988,7 @@ const deserializeAws_restJson1DisassociateAttributeGroupCommandError = async (ou
|
|
|
988
988
|
$fault: "client",
|
|
989
989
|
$metadata: deserializeMetadata(output),
|
|
990
990
|
});
|
|
991
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
991
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
992
992
|
}
|
|
993
993
|
};
|
|
994
994
|
const deserializeAws_restJson1DisassociateResourceCommand = async (output, context) => {
|
|
@@ -1000,12 +1000,12 @@ const deserializeAws_restJson1DisassociateResourceCommand = async (output, conte
|
|
|
1000
1000
|
applicationArn: undefined,
|
|
1001
1001
|
resourceArn: undefined,
|
|
1002
1002
|
};
|
|
1003
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1003
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1004
1004
|
if (data.applicationArn !== undefined && data.applicationArn !== null) {
|
|
1005
|
-
contents.applicationArn = smithy_client_1.expectString(data.applicationArn);
|
|
1005
|
+
contents.applicationArn = (0, smithy_client_1.expectString)(data.applicationArn);
|
|
1006
1006
|
}
|
|
1007
1007
|
if (data.resourceArn !== undefined && data.resourceArn !== null) {
|
|
1008
|
-
contents.resourceArn = smithy_client_1.expectString(data.resourceArn);
|
|
1008
|
+
contents.resourceArn = (0, smithy_client_1.expectString)(data.resourceArn);
|
|
1009
1009
|
}
|
|
1010
1010
|
return Promise.resolve(contents);
|
|
1011
1011
|
};
|
|
@@ -1032,7 +1032,7 @@ const deserializeAws_restJson1DisassociateResourceCommandError = async (output,
|
|
|
1032
1032
|
$fault: "client",
|
|
1033
1033
|
$metadata: deserializeMetadata(output),
|
|
1034
1034
|
});
|
|
1035
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1035
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1036
1036
|
}
|
|
1037
1037
|
};
|
|
1038
1038
|
const deserializeAws_restJson1GetApplicationCommand = async (output, context) => {
|
|
@@ -1051,30 +1051,30 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
|
|
|
1051
1051
|
name: undefined,
|
|
1052
1052
|
tags: undefined,
|
|
1053
1053
|
};
|
|
1054
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1054
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1055
1055
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1056
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
1056
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1057
1057
|
}
|
|
1058
1058
|
if (data.associatedResourceCount !== undefined && data.associatedResourceCount !== null) {
|
|
1059
|
-
contents.associatedResourceCount = smithy_client_1.expectInt32(data.associatedResourceCount);
|
|
1059
|
+
contents.associatedResourceCount = (0, smithy_client_1.expectInt32)(data.associatedResourceCount);
|
|
1060
1060
|
}
|
|
1061
1061
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
1062
|
-
contents.creationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.creationTime));
|
|
1062
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
|
|
1063
1063
|
}
|
|
1064
1064
|
if (data.description !== undefined && data.description !== null) {
|
|
1065
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
1065
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
1066
1066
|
}
|
|
1067
1067
|
if (data.id !== undefined && data.id !== null) {
|
|
1068
|
-
contents.id = smithy_client_1.expectString(data.id);
|
|
1068
|
+
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
1069
1069
|
}
|
|
1070
1070
|
if (data.integrations !== undefined && data.integrations !== null) {
|
|
1071
1071
|
contents.integrations = deserializeAws_restJson1Integrations(data.integrations, context);
|
|
1072
1072
|
}
|
|
1073
1073
|
if (data.lastUpdateTime !== undefined && data.lastUpdateTime !== null) {
|
|
1074
|
-
contents.lastUpdateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.lastUpdateTime));
|
|
1074
|
+
contents.lastUpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastUpdateTime));
|
|
1075
1075
|
}
|
|
1076
1076
|
if (data.name !== undefined && data.name !== null) {
|
|
1077
|
-
contents.name = smithy_client_1.expectString(data.name);
|
|
1077
|
+
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
1078
1078
|
}
|
|
1079
1079
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1080
1080
|
contents.tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -1107,7 +1107,7 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
|
|
|
1107
1107
|
$fault: "client",
|
|
1108
1108
|
$metadata: deserializeMetadata(output),
|
|
1109
1109
|
});
|
|
1110
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1110
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1111
1111
|
}
|
|
1112
1112
|
};
|
|
1113
1113
|
const deserializeAws_restJson1GetAssociatedResourceCommand = async (output, context) => {
|
|
@@ -1118,7 +1118,7 @@ const deserializeAws_restJson1GetAssociatedResourceCommand = async (output, cont
|
|
|
1118
1118
|
$metadata: deserializeMetadata(output),
|
|
1119
1119
|
resource: undefined,
|
|
1120
1120
|
};
|
|
1121
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1121
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1122
1122
|
if (data.resource !== undefined && data.resource !== null) {
|
|
1123
1123
|
contents.resource = deserializeAws_restJson1Resource(data.resource, context);
|
|
1124
1124
|
}
|
|
@@ -1150,7 +1150,7 @@ const deserializeAws_restJson1GetAssociatedResourceCommandError = async (output,
|
|
|
1150
1150
|
$fault: "client",
|
|
1151
1151
|
$metadata: deserializeMetadata(output),
|
|
1152
1152
|
});
|
|
1153
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1153
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1154
1154
|
}
|
|
1155
1155
|
};
|
|
1156
1156
|
const deserializeAws_restJson1GetAttributeGroupCommand = async (output, context) => {
|
|
@@ -1168,27 +1168,27 @@ const deserializeAws_restJson1GetAttributeGroupCommand = async (output, context)
|
|
|
1168
1168
|
name: undefined,
|
|
1169
1169
|
tags: undefined,
|
|
1170
1170
|
};
|
|
1171
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1171
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1172
1172
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1173
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
1173
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1174
1174
|
}
|
|
1175
1175
|
if (data.attributes !== undefined && data.attributes !== null) {
|
|
1176
|
-
contents.attributes = smithy_client_1.expectString(data.attributes);
|
|
1176
|
+
contents.attributes = (0, smithy_client_1.expectString)(data.attributes);
|
|
1177
1177
|
}
|
|
1178
1178
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
1179
|
-
contents.creationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.creationTime));
|
|
1179
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
|
|
1180
1180
|
}
|
|
1181
1181
|
if (data.description !== undefined && data.description !== null) {
|
|
1182
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
1182
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
1183
1183
|
}
|
|
1184
1184
|
if (data.id !== undefined && data.id !== null) {
|
|
1185
|
-
contents.id = smithy_client_1.expectString(data.id);
|
|
1185
|
+
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
1186
1186
|
}
|
|
1187
1187
|
if (data.lastUpdateTime !== undefined && data.lastUpdateTime !== null) {
|
|
1188
|
-
contents.lastUpdateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.lastUpdateTime));
|
|
1188
|
+
contents.lastUpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastUpdateTime));
|
|
1189
1189
|
}
|
|
1190
1190
|
if (data.name !== undefined && data.name !== null) {
|
|
1191
|
-
contents.name = smithy_client_1.expectString(data.name);
|
|
1191
|
+
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
1192
1192
|
}
|
|
1193
1193
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1194
1194
|
contents.tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
@@ -1221,7 +1221,7 @@ const deserializeAws_restJson1GetAttributeGroupCommandError = async (output, con
|
|
|
1221
1221
|
$fault: "client",
|
|
1222
1222
|
$metadata: deserializeMetadata(output),
|
|
1223
1223
|
});
|
|
1224
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1224
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1225
1225
|
}
|
|
1226
1226
|
};
|
|
1227
1227
|
const deserializeAws_restJson1ListApplicationsCommand = async (output, context) => {
|
|
@@ -1233,12 +1233,12 @@ const deserializeAws_restJson1ListApplicationsCommand = async (output, context)
|
|
|
1233
1233
|
applications: undefined,
|
|
1234
1234
|
nextToken: undefined,
|
|
1235
1235
|
};
|
|
1236
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1236
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1237
1237
|
if (data.applications !== undefined && data.applications !== null) {
|
|
1238
1238
|
contents.applications = deserializeAws_restJson1ApplicationSummaries(data.applications, context);
|
|
1239
1239
|
}
|
|
1240
1240
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1241
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1241
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1242
1242
|
}
|
|
1243
1243
|
return Promise.resolve(contents);
|
|
1244
1244
|
};
|
|
@@ -1265,7 +1265,7 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
|
|
|
1265
1265
|
$fault: "client",
|
|
1266
1266
|
$metadata: deserializeMetadata(output),
|
|
1267
1267
|
});
|
|
1268
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1268
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1269
1269
|
}
|
|
1270
1270
|
};
|
|
1271
1271
|
const deserializeAws_restJson1ListAssociatedAttributeGroupsCommand = async (output, context) => {
|
|
@@ -1277,12 +1277,12 @@ const deserializeAws_restJson1ListAssociatedAttributeGroupsCommand = async (outp
|
|
|
1277
1277
|
attributeGroups: undefined,
|
|
1278
1278
|
nextToken: undefined,
|
|
1279
1279
|
};
|
|
1280
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1280
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1281
1281
|
if (data.attributeGroups !== undefined && data.attributeGroups !== null) {
|
|
1282
1282
|
contents.attributeGroups = deserializeAws_restJson1AttributeGroupIds(data.attributeGroups, context);
|
|
1283
1283
|
}
|
|
1284
1284
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1285
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1285
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1286
1286
|
}
|
|
1287
1287
|
return Promise.resolve(contents);
|
|
1288
1288
|
};
|
|
@@ -1312,7 +1312,7 @@ const deserializeAws_restJson1ListAssociatedAttributeGroupsCommandError = async
|
|
|
1312
1312
|
$fault: "client",
|
|
1313
1313
|
$metadata: deserializeMetadata(output),
|
|
1314
1314
|
});
|
|
1315
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1315
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1316
1316
|
}
|
|
1317
1317
|
};
|
|
1318
1318
|
const deserializeAws_restJson1ListAssociatedResourcesCommand = async (output, context) => {
|
|
@@ -1324,9 +1324,9 @@ const deserializeAws_restJson1ListAssociatedResourcesCommand = async (output, co
|
|
|
1324
1324
|
nextToken: undefined,
|
|
1325
1325
|
resources: undefined,
|
|
1326
1326
|
};
|
|
1327
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1327
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1328
1328
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1329
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1329
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1330
1330
|
}
|
|
1331
1331
|
if (data.resources !== undefined && data.resources !== null) {
|
|
1332
1332
|
contents.resources = deserializeAws_restJson1Resources(data.resources, context);
|
|
@@ -1359,7 +1359,7 @@ const deserializeAws_restJson1ListAssociatedResourcesCommandError = async (outpu
|
|
|
1359
1359
|
$fault: "client",
|
|
1360
1360
|
$metadata: deserializeMetadata(output),
|
|
1361
1361
|
});
|
|
1362
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1362
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1363
1363
|
}
|
|
1364
1364
|
};
|
|
1365
1365
|
const deserializeAws_restJson1ListAttributeGroupsCommand = async (output, context) => {
|
|
@@ -1371,12 +1371,12 @@ const deserializeAws_restJson1ListAttributeGroupsCommand = async (output, contex
|
|
|
1371
1371
|
attributeGroups: undefined,
|
|
1372
1372
|
nextToken: undefined,
|
|
1373
1373
|
};
|
|
1374
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1374
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1375
1375
|
if (data.attributeGroups !== undefined && data.attributeGroups !== null) {
|
|
1376
1376
|
contents.attributeGroups = deserializeAws_restJson1AttributeGroupSummaries(data.attributeGroups, context);
|
|
1377
1377
|
}
|
|
1378
1378
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1379
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1379
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1380
1380
|
}
|
|
1381
1381
|
return Promise.resolve(contents);
|
|
1382
1382
|
};
|
|
@@ -1403,7 +1403,7 @@ const deserializeAws_restJson1ListAttributeGroupsCommandError = async (output, c
|
|
|
1403
1403
|
$fault: "client",
|
|
1404
1404
|
$metadata: deserializeMetadata(output),
|
|
1405
1405
|
});
|
|
1406
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1406
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1407
1407
|
}
|
|
1408
1408
|
};
|
|
1409
1409
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1414,7 +1414,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1414
1414
|
$metadata: deserializeMetadata(output),
|
|
1415
1415
|
tags: undefined,
|
|
1416
1416
|
};
|
|
1417
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1417
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1418
1418
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1419
1419
|
contents.tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
1420
1420
|
}
|
|
@@ -1446,7 +1446,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1446
1446
|
$fault: "client",
|
|
1447
1447
|
$metadata: deserializeMetadata(output),
|
|
1448
1448
|
});
|
|
1449
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1449
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1450
1450
|
}
|
|
1451
1451
|
};
|
|
1452
1452
|
const deserializeAws_restJson1SyncResourceCommand = async (output, context) => {
|
|
@@ -1459,15 +1459,15 @@ const deserializeAws_restJson1SyncResourceCommand = async (output, context) => {
|
|
|
1459
1459
|
applicationArn: undefined,
|
|
1460
1460
|
resourceArn: undefined,
|
|
1461
1461
|
};
|
|
1462
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1462
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1463
1463
|
if (data.actionTaken !== undefined && data.actionTaken !== null) {
|
|
1464
|
-
contents.actionTaken = smithy_client_1.expectString(data.actionTaken);
|
|
1464
|
+
contents.actionTaken = (0, smithy_client_1.expectString)(data.actionTaken);
|
|
1465
1465
|
}
|
|
1466
1466
|
if (data.applicationArn !== undefined && data.applicationArn !== null) {
|
|
1467
|
-
contents.applicationArn = smithy_client_1.expectString(data.applicationArn);
|
|
1467
|
+
contents.applicationArn = (0, smithy_client_1.expectString)(data.applicationArn);
|
|
1468
1468
|
}
|
|
1469
1469
|
if (data.resourceArn !== undefined && data.resourceArn !== null) {
|
|
1470
|
-
contents.resourceArn = smithy_client_1.expectString(data.resourceArn);
|
|
1470
|
+
contents.resourceArn = (0, smithy_client_1.expectString)(data.resourceArn);
|
|
1471
1471
|
}
|
|
1472
1472
|
return Promise.resolve(contents);
|
|
1473
1473
|
};
|
|
@@ -1497,7 +1497,7 @@ const deserializeAws_restJson1SyncResourceCommandError = async (output, context)
|
|
|
1497
1497
|
$fault: "client",
|
|
1498
1498
|
$metadata: deserializeMetadata(output),
|
|
1499
1499
|
});
|
|
1500
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1500
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1501
1501
|
}
|
|
1502
1502
|
};
|
|
1503
1503
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -1536,7 +1536,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1536
1536
|
$fault: "client",
|
|
1537
1537
|
$metadata: deserializeMetadata(output),
|
|
1538
1538
|
});
|
|
1539
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1539
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1540
1540
|
}
|
|
1541
1541
|
};
|
|
1542
1542
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -1575,7 +1575,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1575
1575
|
$fault: "client",
|
|
1576
1576
|
$metadata: deserializeMetadata(output),
|
|
1577
1577
|
});
|
|
1578
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1578
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1579
1579
|
}
|
|
1580
1580
|
};
|
|
1581
1581
|
const deserializeAws_restJson1UpdateApplicationCommand = async (output, context) => {
|
|
@@ -1586,7 +1586,7 @@ const deserializeAws_restJson1UpdateApplicationCommand = async (output, context)
|
|
|
1586
1586
|
$metadata: deserializeMetadata(output),
|
|
1587
1587
|
application: undefined,
|
|
1588
1588
|
};
|
|
1589
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1589
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1590
1590
|
if (data.application !== undefined && data.application !== null) {
|
|
1591
1591
|
contents.application = deserializeAws_restJson1Application(data.application, context);
|
|
1592
1592
|
}
|
|
@@ -1618,7 +1618,7 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
|
|
|
1618
1618
|
$fault: "client",
|
|
1619
1619
|
$metadata: deserializeMetadata(output),
|
|
1620
1620
|
});
|
|
1621
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1621
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1622
1622
|
}
|
|
1623
1623
|
};
|
|
1624
1624
|
const deserializeAws_restJson1UpdateAttributeGroupCommand = async (output, context) => {
|
|
@@ -1629,7 +1629,7 @@ const deserializeAws_restJson1UpdateAttributeGroupCommand = async (output, conte
|
|
|
1629
1629
|
$metadata: deserializeMetadata(output),
|
|
1630
1630
|
attributeGroup: undefined,
|
|
1631
1631
|
};
|
|
1632
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1632
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1633
1633
|
if (data.attributeGroup !== undefined && data.attributeGroup !== null) {
|
|
1634
1634
|
contents.attributeGroup = deserializeAws_restJson1AttributeGroup(data.attributeGroup, context);
|
|
1635
1635
|
}
|
|
@@ -1664,68 +1664,68 @@ const deserializeAws_restJson1UpdateAttributeGroupCommandError = async (output,
|
|
|
1664
1664
|
$fault: "client",
|
|
1665
1665
|
$metadata: deserializeMetadata(output),
|
|
1666
1666
|
});
|
|
1667
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1667
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1668
1668
|
}
|
|
1669
1669
|
};
|
|
1670
1670
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
1671
1671
|
const contents = {};
|
|
1672
1672
|
const data = parsedOutput.body;
|
|
1673
1673
|
if (data.message !== undefined && data.message !== null) {
|
|
1674
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1674
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1675
1675
|
}
|
|
1676
1676
|
const exception = new models_0_1.ConflictException({
|
|
1677
1677
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1678
1678
|
...contents,
|
|
1679
1679
|
});
|
|
1680
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1680
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1681
1681
|
};
|
|
1682
1682
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
1683
1683
|
const contents = {};
|
|
1684
1684
|
const data = parsedOutput.body;
|
|
1685
1685
|
if (data.message !== undefined && data.message !== null) {
|
|
1686
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1686
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1687
1687
|
}
|
|
1688
1688
|
const exception = new models_0_1.InternalServerException({
|
|
1689
1689
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1690
1690
|
...contents,
|
|
1691
1691
|
});
|
|
1692
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1692
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1693
1693
|
};
|
|
1694
1694
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1695
1695
|
const contents = {};
|
|
1696
1696
|
const data = parsedOutput.body;
|
|
1697
1697
|
if (data.message !== undefined && data.message !== null) {
|
|
1698
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1698
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1699
1699
|
}
|
|
1700
1700
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1701
1701
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1702
1702
|
...contents,
|
|
1703
1703
|
});
|
|
1704
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1704
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1705
1705
|
};
|
|
1706
1706
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1707
1707
|
const contents = {};
|
|
1708
1708
|
const data = parsedOutput.body;
|
|
1709
1709
|
if (data.message !== undefined && data.message !== null) {
|
|
1710
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1710
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1711
1711
|
}
|
|
1712
1712
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1713
1713
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1714
1714
|
...contents,
|
|
1715
1715
|
});
|
|
1716
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1716
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1717
1717
|
};
|
|
1718
1718
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
1719
1719
|
const contents = {};
|
|
1720
1720
|
const data = parsedOutput.body;
|
|
1721
1721
|
if (data.message !== undefined && data.message !== null) {
|
|
1722
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1722
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1723
1723
|
}
|
|
1724
1724
|
const exception = new models_0_1.ValidationException({
|
|
1725
1725
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1726
1726
|
...contents,
|
|
1727
1727
|
});
|
|
1728
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1728
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1729
1729
|
};
|
|
1730
1730
|
const serializeAws_restJson1Tags = (input, context) => {
|
|
1731
1731
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
@@ -1740,16 +1740,16 @@ const serializeAws_restJson1Tags = (input, context) => {
|
|
|
1740
1740
|
};
|
|
1741
1741
|
const deserializeAws_restJson1Application = (output, context) => {
|
|
1742
1742
|
return {
|
|
1743
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
1743
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1744
1744
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
1745
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
1745
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1746
1746
|
: undefined,
|
|
1747
|
-
description: smithy_client_1.expectString(output.description),
|
|
1748
|
-
id: smithy_client_1.expectString(output.id),
|
|
1747
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
1748
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1749
1749
|
lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
|
|
1750
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.lastUpdateTime))
|
|
1750
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime))
|
|
1751
1751
|
: undefined,
|
|
1752
|
-
name: smithy_client_1.expectString(output.name),
|
|
1752
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1753
1753
|
tags: output.tags !== undefined && output.tags !== null
|
|
1754
1754
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
1755
1755
|
: undefined,
|
|
@@ -1768,30 +1768,30 @@ const deserializeAws_restJson1ApplicationSummaries = (output, context) => {
|
|
|
1768
1768
|
};
|
|
1769
1769
|
const deserializeAws_restJson1ApplicationSummary = (output, context) => {
|
|
1770
1770
|
return {
|
|
1771
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
1771
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1772
1772
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
1773
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
1773
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1774
1774
|
: undefined,
|
|
1775
|
-
description: smithy_client_1.expectString(output.description),
|
|
1776
|
-
id: smithy_client_1.expectString(output.id),
|
|
1775
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
1776
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1777
1777
|
lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
|
|
1778
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.lastUpdateTime))
|
|
1778
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime))
|
|
1779
1779
|
: undefined,
|
|
1780
|
-
name: smithy_client_1.expectString(output.name),
|
|
1780
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1781
1781
|
};
|
|
1782
1782
|
};
|
|
1783
1783
|
const deserializeAws_restJson1AttributeGroup = (output, context) => {
|
|
1784
1784
|
return {
|
|
1785
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
1785
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1786
1786
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
1787
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
1787
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1788
1788
|
: undefined,
|
|
1789
|
-
description: smithy_client_1.expectString(output.description),
|
|
1790
|
-
id: smithy_client_1.expectString(output.id),
|
|
1789
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
1790
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1791
1791
|
lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
|
|
1792
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.lastUpdateTime))
|
|
1792
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime))
|
|
1793
1793
|
: undefined,
|
|
1794
|
-
name: smithy_client_1.expectString(output.name),
|
|
1794
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1795
1795
|
tags: output.tags !== undefined && output.tags !== null
|
|
1796
1796
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
1797
1797
|
: undefined,
|
|
@@ -1804,7 +1804,7 @@ const deserializeAws_restJson1AttributeGroupIds = (output, context) => {
|
|
|
1804
1804
|
if (entry === null) {
|
|
1805
1805
|
return null;
|
|
1806
1806
|
}
|
|
1807
|
-
return smithy_client_1.expectString(entry);
|
|
1807
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1808
1808
|
});
|
|
1809
1809
|
return retVal;
|
|
1810
1810
|
};
|
|
@@ -1821,16 +1821,16 @@ const deserializeAws_restJson1AttributeGroupSummaries = (output, context) => {
|
|
|
1821
1821
|
};
|
|
1822
1822
|
const deserializeAws_restJson1AttributeGroupSummary = (output, context) => {
|
|
1823
1823
|
return {
|
|
1824
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
1824
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1825
1825
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
1826
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
1826
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1827
1827
|
: undefined,
|
|
1828
|
-
description: smithy_client_1.expectString(output.description),
|
|
1829
|
-
id: smithy_client_1.expectString(output.id),
|
|
1828
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
1829
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1830
1830
|
lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
|
|
1831
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.lastUpdateTime))
|
|
1831
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdateTime))
|
|
1832
1832
|
: undefined,
|
|
1833
|
-
name: smithy_client_1.expectString(output.name),
|
|
1833
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1834
1834
|
};
|
|
1835
1835
|
};
|
|
1836
1836
|
const deserializeAws_restJson1Integrations = (output, context) => {
|
|
@@ -1842,27 +1842,27 @@ const deserializeAws_restJson1Integrations = (output, context) => {
|
|
|
1842
1842
|
};
|
|
1843
1843
|
const deserializeAws_restJson1Resource = (output, context) => {
|
|
1844
1844
|
return {
|
|
1845
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
1845
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1846
1846
|
associationTime: output.associationTime !== undefined && output.associationTime !== null
|
|
1847
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.associationTime))
|
|
1847
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.associationTime))
|
|
1848
1848
|
: undefined,
|
|
1849
1849
|
integrations: output.integrations !== undefined && output.integrations !== null
|
|
1850
1850
|
? deserializeAws_restJson1ResourceIntegrations(output.integrations, context)
|
|
1851
1851
|
: undefined,
|
|
1852
|
-
name: smithy_client_1.expectString(output.name),
|
|
1852
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1853
1853
|
};
|
|
1854
1854
|
};
|
|
1855
1855
|
const deserializeAws_restJson1ResourceGroup = (output, context) => {
|
|
1856
1856
|
return {
|
|
1857
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
1858
|
-
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
1859
|
-
state: smithy_client_1.expectString(output.state),
|
|
1857
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1858
|
+
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
1859
|
+
state: (0, smithy_client_1.expectString)(output.state),
|
|
1860
1860
|
};
|
|
1861
1861
|
};
|
|
1862
1862
|
const deserializeAws_restJson1ResourceInfo = (output, context) => {
|
|
1863
1863
|
return {
|
|
1864
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
1865
|
-
name: smithy_client_1.expectString(output.name),
|
|
1864
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1865
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1866
1866
|
};
|
|
1867
1867
|
};
|
|
1868
1868
|
const deserializeAws_restJson1ResourceIntegrations = (output, context) => {
|
|
@@ -1890,7 +1890,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
1890
1890
|
}
|
|
1891
1891
|
return {
|
|
1892
1892
|
...acc,
|
|
1893
|
-
[key]: smithy_client_1.expectString(value),
|
|
1893
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
1894
1894
|
};
|
|
1895
1895
|
}, {});
|
|
1896
1896
|
};
|