@aws-sdk/client-appintegrations 3.54.0 → 3.56.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 +24 -0
- package/dist-cjs/AppIntegrationsClient.js +13 -13
- package/dist-cjs/commands/CreateDataIntegrationCommand.js +3 -3
- package/dist-cjs/commands/CreateEventIntegrationCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataIntegrationCommand.js +3 -3
- package/dist-cjs/commands/DeleteEventIntegrationCommand.js +3 -3
- package/dist-cjs/commands/GetDataIntegrationCommand.js +3 -3
- package/dist-cjs/commands/GetEventIntegrationCommand.js +3 -3
- package/dist-cjs/commands/ListDataIntegrationAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListDataIntegrationsCommand.js +3 -3
- package/dist-cjs/commands/ListEventIntegrationAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListEventIntegrationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDataIntegrationCommand.js +3 -3
- package/dist-cjs/commands/UpdateEventIntegrationCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +94 -94
- 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/AppIntegrations.js +15 -15
- package/dist-es/protocols/Aws_restJson1.js +15 -15
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -15,7 +15,7 @@ const serializeAws_restJson1CreateDataIntegrationCommand = async (input, context
|
|
|
15
15
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/dataIntegrations";
|
|
16
16
|
let body;
|
|
17
17
|
body = JSON.stringify({
|
|
18
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
18
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
19
19
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
20
20
|
...(input.KmsKey !== undefined && input.KmsKey !== null && { KmsKey: input.KmsKey }),
|
|
21
21
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -46,7 +46,7 @@ const serializeAws_restJson1CreateEventIntegrationCommand = async (input, contex
|
|
|
46
46
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/eventIntegrations";
|
|
47
47
|
let body;
|
|
48
48
|
body = JSON.stringify({
|
|
49
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
49
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
50
50
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
51
51
|
...(input.EventBridgeBus !== undefined &&
|
|
52
52
|
input.EventBridgeBus !== null && { EventBridgeBus: input.EventBridgeBus }),
|
|
@@ -76,7 +76,7 @@ const serializeAws_restJson1DeleteDataIntegrationCommand = async (input, context
|
|
|
76
76
|
if (labelValue.length <= 0) {
|
|
77
77
|
throw new Error("Empty value provided for input HTTP label: DataIntegrationIdentifier.");
|
|
78
78
|
}
|
|
79
|
-
resolvedPath = resolvedPath.replace("{DataIntegrationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
79
|
+
resolvedPath = resolvedPath.replace("{DataIntegrationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
80
80
|
}
|
|
81
81
|
else {
|
|
82
82
|
throw new Error("No value provided for input HTTP label: DataIntegrationIdentifier.");
|
|
@@ -102,7 +102,7 @@ const serializeAws_restJson1DeleteEventIntegrationCommand = async (input, contex
|
|
|
102
102
|
if (labelValue.length <= 0) {
|
|
103
103
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
104
104
|
}
|
|
105
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
105
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
106
106
|
}
|
|
107
107
|
else {
|
|
108
108
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -128,7 +128,7 @@ const serializeAws_restJson1GetDataIntegrationCommand = async (input, context) =
|
|
|
128
128
|
if (labelValue.length <= 0) {
|
|
129
129
|
throw new Error("Empty value provided for input HTTP label: Identifier.");
|
|
130
130
|
}
|
|
131
|
-
resolvedPath = resolvedPath.replace("{Identifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
131
|
+
resolvedPath = resolvedPath.replace("{Identifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
132
132
|
}
|
|
133
133
|
else {
|
|
134
134
|
throw new Error("No value provided for input HTTP label: Identifier.");
|
|
@@ -154,7 +154,7 @@ const serializeAws_restJson1GetEventIntegrationCommand = async (input, context)
|
|
|
154
154
|
if (labelValue.length <= 0) {
|
|
155
155
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
156
156
|
}
|
|
157
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
157
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
158
158
|
}
|
|
159
159
|
else {
|
|
160
160
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -181,7 +181,7 @@ const serializeAws_restJson1ListDataIntegrationAssociationsCommand = async (inpu
|
|
|
181
181
|
if (labelValue.length <= 0) {
|
|
182
182
|
throw new Error("Empty value provided for input HTTP label: DataIntegrationIdentifier.");
|
|
183
183
|
}
|
|
184
|
-
resolvedPath = resolvedPath.replace("{DataIntegrationIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
184
|
+
resolvedPath = resolvedPath.replace("{DataIntegrationIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
185
185
|
}
|
|
186
186
|
else {
|
|
187
187
|
throw new Error("No value provided for input HTTP label: DataIntegrationIdentifier.");
|
|
@@ -234,7 +234,7 @@ const serializeAws_restJson1ListEventIntegrationAssociationsCommand = async (inp
|
|
|
234
234
|
if (labelValue.length <= 0) {
|
|
235
235
|
throw new Error("Empty value provided for input HTTP label: EventIntegrationName.");
|
|
236
236
|
}
|
|
237
|
-
resolvedPath = resolvedPath.replace("{EventIntegrationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
237
|
+
resolvedPath = resolvedPath.replace("{EventIntegrationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
238
238
|
}
|
|
239
239
|
else {
|
|
240
240
|
throw new Error("No value provided for input HTTP label: EventIntegrationName.");
|
|
@@ -286,7 +286,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
286
286
|
if (labelValue.length <= 0) {
|
|
287
287
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
288
288
|
}
|
|
289
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
289
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
290
290
|
}
|
|
291
291
|
else {
|
|
292
292
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -314,7 +314,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
314
314
|
if (labelValue.length <= 0) {
|
|
315
315
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
316
316
|
}
|
|
317
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
317
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
318
318
|
}
|
|
319
319
|
else {
|
|
320
320
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -343,7 +343,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
343
343
|
if (labelValue.length <= 0) {
|
|
344
344
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
345
345
|
}
|
|
346
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
346
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
347
347
|
}
|
|
348
348
|
else {
|
|
349
349
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -375,7 +375,7 @@ const serializeAws_restJson1UpdateDataIntegrationCommand = async (input, context
|
|
|
375
375
|
if (labelValue.length <= 0) {
|
|
376
376
|
throw new Error("Empty value provided for input HTTP label: Identifier.");
|
|
377
377
|
}
|
|
378
|
-
resolvedPath = resolvedPath.replace("{Identifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
378
|
+
resolvedPath = resolvedPath.replace("{Identifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
379
379
|
}
|
|
380
380
|
else {
|
|
381
381
|
throw new Error("No value provided for input HTTP label: Identifier.");
|
|
@@ -407,7 +407,7 @@ const serializeAws_restJson1UpdateEventIntegrationCommand = async (input, contex
|
|
|
407
407
|
if (labelValue.length <= 0) {
|
|
408
408
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
409
409
|
}
|
|
410
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
410
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
411
411
|
}
|
|
412
412
|
else {
|
|
413
413
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -443,30 +443,30 @@ const deserializeAws_restJson1CreateDataIntegrationCommand = async (output, cont
|
|
|
443
443
|
SourceURI: undefined,
|
|
444
444
|
Tags: undefined,
|
|
445
445
|
};
|
|
446
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
446
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
447
447
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
448
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
448
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
449
449
|
}
|
|
450
450
|
if (data.ClientToken !== undefined && data.ClientToken !== null) {
|
|
451
|
-
contents.ClientToken = smithy_client_1.expectString(data.ClientToken);
|
|
451
|
+
contents.ClientToken = (0, smithy_client_1.expectString)(data.ClientToken);
|
|
452
452
|
}
|
|
453
453
|
if (data.Description !== undefined && data.Description !== null) {
|
|
454
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
454
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
455
455
|
}
|
|
456
456
|
if (data.Id !== undefined && data.Id !== null) {
|
|
457
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
457
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
458
458
|
}
|
|
459
459
|
if (data.KmsKey !== undefined && data.KmsKey !== null) {
|
|
460
|
-
contents.KmsKey = smithy_client_1.expectString(data.KmsKey);
|
|
460
|
+
contents.KmsKey = (0, smithy_client_1.expectString)(data.KmsKey);
|
|
461
461
|
}
|
|
462
462
|
if (data.Name !== undefined && data.Name !== null) {
|
|
463
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
463
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
464
464
|
}
|
|
465
465
|
if (data.ScheduleConfiguration !== undefined && data.ScheduleConfiguration !== null) {
|
|
466
466
|
contents.ScheduleConfiguration = deserializeAws_restJson1ScheduleConfiguration(data.ScheduleConfiguration, context);
|
|
467
467
|
}
|
|
468
468
|
if (data.SourceURI !== undefined && data.SourceURI !== null) {
|
|
469
|
-
contents.SourceURI = smithy_client_1.expectString(data.SourceURI);
|
|
469
|
+
contents.SourceURI = (0, smithy_client_1.expectString)(data.SourceURI);
|
|
470
470
|
}
|
|
471
471
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
472
472
|
contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
|
|
@@ -508,7 +508,7 @@ const deserializeAws_restJson1CreateDataIntegrationCommandError = async (output,
|
|
|
508
508
|
$fault: "client",
|
|
509
509
|
$metadata: deserializeMetadata(output),
|
|
510
510
|
});
|
|
511
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
511
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
512
512
|
}
|
|
513
513
|
};
|
|
514
514
|
const deserializeAws_restJson1CreateEventIntegrationCommand = async (output, context) => {
|
|
@@ -519,9 +519,9 @@ const deserializeAws_restJson1CreateEventIntegrationCommand = async (output, con
|
|
|
519
519
|
$metadata: deserializeMetadata(output),
|
|
520
520
|
EventIntegrationArn: undefined,
|
|
521
521
|
};
|
|
522
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
522
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
523
523
|
if (data.EventIntegrationArn !== undefined && data.EventIntegrationArn !== null) {
|
|
524
|
-
contents.EventIntegrationArn = smithy_client_1.expectString(data.EventIntegrationArn);
|
|
524
|
+
contents.EventIntegrationArn = (0, smithy_client_1.expectString)(data.EventIntegrationArn);
|
|
525
525
|
}
|
|
526
526
|
return Promise.resolve(contents);
|
|
527
527
|
};
|
|
@@ -560,7 +560,7 @@ const deserializeAws_restJson1CreateEventIntegrationCommandError = async (output
|
|
|
560
560
|
$fault: "client",
|
|
561
561
|
$metadata: deserializeMetadata(output),
|
|
562
562
|
});
|
|
563
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
563
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
564
564
|
}
|
|
565
565
|
};
|
|
566
566
|
const deserializeAws_restJson1DeleteDataIntegrationCommand = async (output, context) => {
|
|
@@ -605,7 +605,7 @@ const deserializeAws_restJson1DeleteDataIntegrationCommandError = async (output,
|
|
|
605
605
|
$fault: "client",
|
|
606
606
|
$metadata: deserializeMetadata(output),
|
|
607
607
|
});
|
|
608
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
608
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
609
609
|
}
|
|
610
610
|
};
|
|
611
611
|
const deserializeAws_restJson1DeleteEventIntegrationCommand = async (output, context) => {
|
|
@@ -650,7 +650,7 @@ const deserializeAws_restJson1DeleteEventIntegrationCommandError = async (output
|
|
|
650
650
|
$fault: "client",
|
|
651
651
|
$metadata: deserializeMetadata(output),
|
|
652
652
|
});
|
|
653
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
653
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
654
654
|
}
|
|
655
655
|
};
|
|
656
656
|
const deserializeAws_restJson1GetDataIntegrationCommand = async (output, context) => {
|
|
@@ -668,27 +668,27 @@ const deserializeAws_restJson1GetDataIntegrationCommand = async (output, context
|
|
|
668
668
|
SourceURI: undefined,
|
|
669
669
|
Tags: undefined,
|
|
670
670
|
};
|
|
671
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
671
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
672
672
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
673
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
673
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
674
674
|
}
|
|
675
675
|
if (data.Description !== undefined && data.Description !== null) {
|
|
676
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
676
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
677
677
|
}
|
|
678
678
|
if (data.Id !== undefined && data.Id !== null) {
|
|
679
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
679
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
680
680
|
}
|
|
681
681
|
if (data.KmsKey !== undefined && data.KmsKey !== null) {
|
|
682
|
-
contents.KmsKey = smithy_client_1.expectString(data.KmsKey);
|
|
682
|
+
contents.KmsKey = (0, smithy_client_1.expectString)(data.KmsKey);
|
|
683
683
|
}
|
|
684
684
|
if (data.Name !== undefined && data.Name !== null) {
|
|
685
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
685
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
686
686
|
}
|
|
687
687
|
if (data.ScheduleConfiguration !== undefined && data.ScheduleConfiguration !== null) {
|
|
688
688
|
contents.ScheduleConfiguration = deserializeAws_restJson1ScheduleConfiguration(data.ScheduleConfiguration, context);
|
|
689
689
|
}
|
|
690
690
|
if (data.SourceURI !== undefined && data.SourceURI !== null) {
|
|
691
|
-
contents.SourceURI = smithy_client_1.expectString(data.SourceURI);
|
|
691
|
+
contents.SourceURI = (0, smithy_client_1.expectString)(data.SourceURI);
|
|
692
692
|
}
|
|
693
693
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
694
694
|
contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
|
|
@@ -727,7 +727,7 @@ const deserializeAws_restJson1GetDataIntegrationCommandError = async (output, co
|
|
|
727
727
|
$fault: "client",
|
|
728
728
|
$metadata: deserializeMetadata(output),
|
|
729
729
|
});
|
|
730
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
730
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
731
731
|
}
|
|
732
732
|
};
|
|
733
733
|
const deserializeAws_restJson1GetEventIntegrationCommand = async (output, context) => {
|
|
@@ -743,21 +743,21 @@ const deserializeAws_restJson1GetEventIntegrationCommand = async (output, contex
|
|
|
743
743
|
Name: undefined,
|
|
744
744
|
Tags: undefined,
|
|
745
745
|
};
|
|
746
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
746
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
747
747
|
if (data.Description !== undefined && data.Description !== null) {
|
|
748
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
748
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
749
749
|
}
|
|
750
750
|
if (data.EventBridgeBus !== undefined && data.EventBridgeBus !== null) {
|
|
751
|
-
contents.EventBridgeBus = smithy_client_1.expectString(data.EventBridgeBus);
|
|
751
|
+
contents.EventBridgeBus = (0, smithy_client_1.expectString)(data.EventBridgeBus);
|
|
752
752
|
}
|
|
753
753
|
if (data.EventFilter !== undefined && data.EventFilter !== null) {
|
|
754
754
|
contents.EventFilter = deserializeAws_restJson1EventFilter(data.EventFilter, context);
|
|
755
755
|
}
|
|
756
756
|
if (data.EventIntegrationArn !== undefined && data.EventIntegrationArn !== null) {
|
|
757
|
-
contents.EventIntegrationArn = smithy_client_1.expectString(data.EventIntegrationArn);
|
|
757
|
+
contents.EventIntegrationArn = (0, smithy_client_1.expectString)(data.EventIntegrationArn);
|
|
758
758
|
}
|
|
759
759
|
if (data.Name !== undefined && data.Name !== null) {
|
|
760
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
760
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
761
761
|
}
|
|
762
762
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
763
763
|
contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
|
|
@@ -796,7 +796,7 @@ const deserializeAws_restJson1GetEventIntegrationCommandError = async (output, c
|
|
|
796
796
|
$fault: "client",
|
|
797
797
|
$metadata: deserializeMetadata(output),
|
|
798
798
|
});
|
|
799
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
799
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
800
800
|
}
|
|
801
801
|
};
|
|
802
802
|
const deserializeAws_restJson1ListDataIntegrationAssociationsCommand = async (output, context) => {
|
|
@@ -808,12 +808,12 @@ const deserializeAws_restJson1ListDataIntegrationAssociationsCommand = async (ou
|
|
|
808
808
|
DataIntegrationAssociations: undefined,
|
|
809
809
|
NextToken: undefined,
|
|
810
810
|
};
|
|
811
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
811
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
812
812
|
if (data.DataIntegrationAssociations !== undefined && data.DataIntegrationAssociations !== null) {
|
|
813
813
|
contents.DataIntegrationAssociations = deserializeAws_restJson1DataIntegrationAssociationsList(data.DataIntegrationAssociations, context);
|
|
814
814
|
}
|
|
815
815
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
816
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
816
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
817
817
|
}
|
|
818
818
|
return Promise.resolve(contents);
|
|
819
819
|
};
|
|
@@ -849,7 +849,7 @@ const deserializeAws_restJson1ListDataIntegrationAssociationsCommandError = asyn
|
|
|
849
849
|
$fault: "client",
|
|
850
850
|
$metadata: deserializeMetadata(output),
|
|
851
851
|
});
|
|
852
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
852
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
853
853
|
}
|
|
854
854
|
};
|
|
855
855
|
const deserializeAws_restJson1ListDataIntegrationsCommand = async (output, context) => {
|
|
@@ -861,12 +861,12 @@ const deserializeAws_restJson1ListDataIntegrationsCommand = async (output, conte
|
|
|
861
861
|
DataIntegrations: undefined,
|
|
862
862
|
NextToken: undefined,
|
|
863
863
|
};
|
|
864
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
864
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
865
865
|
if (data.DataIntegrations !== undefined && data.DataIntegrations !== null) {
|
|
866
866
|
contents.DataIntegrations = deserializeAws_restJson1DataIntegrationsList(data.DataIntegrations, context);
|
|
867
867
|
}
|
|
868
868
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
869
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
869
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
870
870
|
}
|
|
871
871
|
return Promise.resolve(contents);
|
|
872
872
|
};
|
|
@@ -899,7 +899,7 @@ const deserializeAws_restJson1ListDataIntegrationsCommandError = async (output,
|
|
|
899
899
|
$fault: "client",
|
|
900
900
|
$metadata: deserializeMetadata(output),
|
|
901
901
|
});
|
|
902
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
902
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
903
903
|
}
|
|
904
904
|
};
|
|
905
905
|
const deserializeAws_restJson1ListEventIntegrationAssociationsCommand = async (output, context) => {
|
|
@@ -911,12 +911,12 @@ const deserializeAws_restJson1ListEventIntegrationAssociationsCommand = async (o
|
|
|
911
911
|
EventIntegrationAssociations: undefined,
|
|
912
912
|
NextToken: undefined,
|
|
913
913
|
};
|
|
914
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
914
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
915
915
|
if (data.EventIntegrationAssociations !== undefined && data.EventIntegrationAssociations !== null) {
|
|
916
916
|
contents.EventIntegrationAssociations = deserializeAws_restJson1EventIntegrationAssociationsList(data.EventIntegrationAssociations, context);
|
|
917
917
|
}
|
|
918
918
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
919
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
919
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
920
920
|
}
|
|
921
921
|
return Promise.resolve(contents);
|
|
922
922
|
};
|
|
@@ -952,7 +952,7 @@ const deserializeAws_restJson1ListEventIntegrationAssociationsCommandError = asy
|
|
|
952
952
|
$fault: "client",
|
|
953
953
|
$metadata: deserializeMetadata(output),
|
|
954
954
|
});
|
|
955
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
955
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
956
956
|
}
|
|
957
957
|
};
|
|
958
958
|
const deserializeAws_restJson1ListEventIntegrationsCommand = async (output, context) => {
|
|
@@ -964,12 +964,12 @@ const deserializeAws_restJson1ListEventIntegrationsCommand = async (output, cont
|
|
|
964
964
|
EventIntegrations: undefined,
|
|
965
965
|
NextToken: undefined,
|
|
966
966
|
};
|
|
967
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
967
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
968
968
|
if (data.EventIntegrations !== undefined && data.EventIntegrations !== null) {
|
|
969
969
|
contents.EventIntegrations = deserializeAws_restJson1EventIntegrationsList(data.EventIntegrations, context);
|
|
970
970
|
}
|
|
971
971
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
972
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
972
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
973
973
|
}
|
|
974
974
|
return Promise.resolve(contents);
|
|
975
975
|
};
|
|
@@ -1002,7 +1002,7 @@ const deserializeAws_restJson1ListEventIntegrationsCommandError = async (output,
|
|
|
1002
1002
|
$fault: "client",
|
|
1003
1003
|
$metadata: deserializeMetadata(output),
|
|
1004
1004
|
});
|
|
1005
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1005
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1006
1006
|
}
|
|
1007
1007
|
};
|
|
1008
1008
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1013,7 +1013,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1013
1013
|
$metadata: deserializeMetadata(output),
|
|
1014
1014
|
tags: undefined,
|
|
1015
1015
|
};
|
|
1016
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1016
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1017
1017
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1018
1018
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
1019
1019
|
}
|
|
@@ -1048,7 +1048,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1048
1048
|
$fault: "client",
|
|
1049
1049
|
$metadata: deserializeMetadata(output),
|
|
1050
1050
|
});
|
|
1051
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1051
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1052
1052
|
}
|
|
1053
1053
|
};
|
|
1054
1054
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -1090,7 +1090,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1090
1090
|
$fault: "client",
|
|
1091
1091
|
$metadata: deserializeMetadata(output),
|
|
1092
1092
|
});
|
|
1093
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1093
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1094
1094
|
}
|
|
1095
1095
|
};
|
|
1096
1096
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -1132,7 +1132,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1132
1132
|
$fault: "client",
|
|
1133
1133
|
$metadata: deserializeMetadata(output),
|
|
1134
1134
|
});
|
|
1135
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1135
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1136
1136
|
}
|
|
1137
1137
|
};
|
|
1138
1138
|
const deserializeAws_restJson1UpdateDataIntegrationCommand = async (output, context) => {
|
|
@@ -1177,7 +1177,7 @@ const deserializeAws_restJson1UpdateDataIntegrationCommandError = async (output,
|
|
|
1177
1177
|
$fault: "client",
|
|
1178
1178
|
$metadata: deserializeMetadata(output),
|
|
1179
1179
|
});
|
|
1180
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1180
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1181
1181
|
}
|
|
1182
1182
|
};
|
|
1183
1183
|
const deserializeAws_restJson1UpdateEventIntegrationCommand = async (output, context) => {
|
|
@@ -1222,92 +1222,92 @@ const deserializeAws_restJson1UpdateEventIntegrationCommandError = async (output
|
|
|
1222
1222
|
$fault: "client",
|
|
1223
1223
|
$metadata: deserializeMetadata(output),
|
|
1224
1224
|
});
|
|
1225
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1225
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1226
1226
|
}
|
|
1227
1227
|
};
|
|
1228
1228
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
1229
1229
|
const contents = {};
|
|
1230
1230
|
const data = parsedOutput.body;
|
|
1231
1231
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1232
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1232
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
1233
1233
|
}
|
|
1234
1234
|
const exception = new models_0_1.AccessDeniedException({
|
|
1235
1235
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1236
1236
|
...contents,
|
|
1237
1237
|
});
|
|
1238
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1238
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1239
1239
|
};
|
|
1240
1240
|
const deserializeAws_restJson1DuplicateResourceExceptionResponse = async (parsedOutput, context) => {
|
|
1241
1241
|
const contents = {};
|
|
1242
1242
|
const data = parsedOutput.body;
|
|
1243
1243
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1244
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1244
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
1245
1245
|
}
|
|
1246
1246
|
const exception = new models_0_1.DuplicateResourceException({
|
|
1247
1247
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1248
1248
|
...contents,
|
|
1249
1249
|
});
|
|
1250
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1250
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1251
1251
|
};
|
|
1252
1252
|
const deserializeAws_restJson1InternalServiceErrorResponse = async (parsedOutput, context) => {
|
|
1253
1253
|
const contents = {};
|
|
1254
1254
|
const data = parsedOutput.body;
|
|
1255
1255
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1256
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1256
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
1257
1257
|
}
|
|
1258
1258
|
const exception = new models_0_1.InternalServiceError({
|
|
1259
1259
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1260
1260
|
...contents,
|
|
1261
1261
|
});
|
|
1262
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1262
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1263
1263
|
};
|
|
1264
1264
|
const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
1265
1265
|
const contents = {};
|
|
1266
1266
|
const data = parsedOutput.body;
|
|
1267
1267
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1268
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1268
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
1269
1269
|
}
|
|
1270
1270
|
const exception = new models_0_1.InvalidRequestException({
|
|
1271
1271
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1272
1272
|
...contents,
|
|
1273
1273
|
});
|
|
1274
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1274
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1275
1275
|
};
|
|
1276
1276
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1277
1277
|
const contents = {};
|
|
1278
1278
|
const data = parsedOutput.body;
|
|
1279
1279
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1280
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1280
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
1281
1281
|
}
|
|
1282
1282
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1283
1283
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1284
1284
|
...contents,
|
|
1285
1285
|
});
|
|
1286
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1286
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1287
1287
|
};
|
|
1288
1288
|
const deserializeAws_restJson1ResourceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1289
1289
|
const contents = {};
|
|
1290
1290
|
const data = parsedOutput.body;
|
|
1291
1291
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1292
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1292
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
1293
1293
|
}
|
|
1294
1294
|
const exception = new models_0_1.ResourceQuotaExceededException({
|
|
1295
1295
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1296
1296
|
...contents,
|
|
1297
1297
|
});
|
|
1298
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1298
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1299
1299
|
};
|
|
1300
1300
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
1301
1301
|
const contents = {};
|
|
1302
1302
|
const data = parsedOutput.body;
|
|
1303
1303
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1304
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1304
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
1305
1305
|
}
|
|
1306
1306
|
const exception = new models_0_1.ThrottlingException({
|
|
1307
1307
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1308
1308
|
...contents,
|
|
1309
1309
|
});
|
|
1310
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1310
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1311
1311
|
};
|
|
1312
1312
|
const serializeAws_restJson1EventFilter = (input, context) => {
|
|
1313
1313
|
return {
|
|
@@ -1341,7 +1341,7 @@ const deserializeAws_restJson1ClientAssociationMetadata = (output, context) => {
|
|
|
1341
1341
|
}
|
|
1342
1342
|
return {
|
|
1343
1343
|
...acc,
|
|
1344
|
-
[key]: smithy_client_1.expectString(value),
|
|
1344
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
1345
1345
|
};
|
|
1346
1346
|
}, {});
|
|
1347
1347
|
};
|
|
@@ -1358,9 +1358,9 @@ const deserializeAws_restJson1DataIntegrationAssociationsList = (output, context
|
|
|
1358
1358
|
};
|
|
1359
1359
|
const deserializeAws_restJson1DataIntegrationAssociationSummary = (output, context) => {
|
|
1360
1360
|
return {
|
|
1361
|
-
ClientId: smithy_client_1.expectString(output.ClientId),
|
|
1362
|
-
DataIntegrationArn: smithy_client_1.expectString(output.DataIntegrationArn),
|
|
1363
|
-
DataIntegrationAssociationArn: smithy_client_1.expectString(output.DataIntegrationAssociationArn),
|
|
1361
|
+
ClientId: (0, smithy_client_1.expectString)(output.ClientId),
|
|
1362
|
+
DataIntegrationArn: (0, smithy_client_1.expectString)(output.DataIntegrationArn),
|
|
1363
|
+
DataIntegrationAssociationArn: (0, smithy_client_1.expectString)(output.DataIntegrationAssociationArn),
|
|
1364
1364
|
};
|
|
1365
1365
|
};
|
|
1366
1366
|
const deserializeAws_restJson1DataIntegrationsList = (output, context) => {
|
|
@@ -1376,25 +1376,25 @@ const deserializeAws_restJson1DataIntegrationsList = (output, context) => {
|
|
|
1376
1376
|
};
|
|
1377
1377
|
const deserializeAws_restJson1DataIntegrationSummary = (output, context) => {
|
|
1378
1378
|
return {
|
|
1379
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
1380
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1381
|
-
SourceURI: smithy_client_1.expectString(output.SourceURI),
|
|
1379
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
1380
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1381
|
+
SourceURI: (0, smithy_client_1.expectString)(output.SourceURI),
|
|
1382
1382
|
};
|
|
1383
1383
|
};
|
|
1384
1384
|
const deserializeAws_restJson1EventFilter = (output, context) => {
|
|
1385
1385
|
return {
|
|
1386
|
-
Source: smithy_client_1.expectString(output.Source),
|
|
1386
|
+
Source: (0, smithy_client_1.expectString)(output.Source),
|
|
1387
1387
|
};
|
|
1388
1388
|
};
|
|
1389
1389
|
const deserializeAws_restJson1EventIntegration = (output, context) => {
|
|
1390
1390
|
return {
|
|
1391
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
1392
|
-
EventBridgeBus: smithy_client_1.expectString(output.EventBridgeBus),
|
|
1391
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1392
|
+
EventBridgeBus: (0, smithy_client_1.expectString)(output.EventBridgeBus),
|
|
1393
1393
|
EventFilter: output.EventFilter !== undefined && output.EventFilter !== null
|
|
1394
1394
|
? deserializeAws_restJson1EventFilter(output.EventFilter, context)
|
|
1395
1395
|
: undefined,
|
|
1396
|
-
EventIntegrationArn: smithy_client_1.expectString(output.EventIntegrationArn),
|
|
1397
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1396
|
+
EventIntegrationArn: (0, smithy_client_1.expectString)(output.EventIntegrationArn),
|
|
1397
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1398
1398
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
1399
1399
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
1400
1400
|
: undefined,
|
|
@@ -1405,11 +1405,11 @@ const deserializeAws_restJson1EventIntegrationAssociation = (output, context) =>
|
|
|
1405
1405
|
ClientAssociationMetadata: output.ClientAssociationMetadata !== undefined && output.ClientAssociationMetadata !== null
|
|
1406
1406
|
? deserializeAws_restJson1ClientAssociationMetadata(output.ClientAssociationMetadata, context)
|
|
1407
1407
|
: undefined,
|
|
1408
|
-
ClientId: smithy_client_1.expectString(output.ClientId),
|
|
1409
|
-
EventBridgeRuleName: smithy_client_1.expectString(output.EventBridgeRuleName),
|
|
1410
|
-
EventIntegrationAssociationArn: smithy_client_1.expectString(output.EventIntegrationAssociationArn),
|
|
1411
|
-
EventIntegrationAssociationId: smithy_client_1.expectString(output.EventIntegrationAssociationId),
|
|
1412
|
-
EventIntegrationName: smithy_client_1.expectString(output.EventIntegrationName),
|
|
1408
|
+
ClientId: (0, smithy_client_1.expectString)(output.ClientId),
|
|
1409
|
+
EventBridgeRuleName: (0, smithy_client_1.expectString)(output.EventBridgeRuleName),
|
|
1410
|
+
EventIntegrationAssociationArn: (0, smithy_client_1.expectString)(output.EventIntegrationAssociationArn),
|
|
1411
|
+
EventIntegrationAssociationId: (0, smithy_client_1.expectString)(output.EventIntegrationAssociationId),
|
|
1412
|
+
EventIntegrationName: (0, smithy_client_1.expectString)(output.EventIntegrationName),
|
|
1413
1413
|
};
|
|
1414
1414
|
};
|
|
1415
1415
|
const deserializeAws_restJson1EventIntegrationAssociationsList = (output, context) => {
|
|
@@ -1436,9 +1436,9 @@ const deserializeAws_restJson1EventIntegrationsList = (output, context) => {
|
|
|
1436
1436
|
};
|
|
1437
1437
|
const deserializeAws_restJson1ScheduleConfiguration = (output, context) => {
|
|
1438
1438
|
return {
|
|
1439
|
-
FirstExecutionFrom: smithy_client_1.expectString(output.FirstExecutionFrom),
|
|
1440
|
-
Object: smithy_client_1.expectString(output.Object),
|
|
1441
|
-
ScheduleExpression: smithy_client_1.expectString(output.ScheduleExpression),
|
|
1439
|
+
FirstExecutionFrom: (0, smithy_client_1.expectString)(output.FirstExecutionFrom),
|
|
1440
|
+
Object: (0, smithy_client_1.expectString)(output.Object),
|
|
1441
|
+
ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
|
|
1442
1442
|
};
|
|
1443
1443
|
};
|
|
1444
1444
|
const deserializeAws_restJson1TagMap = (output, context) => {
|
|
@@ -1448,7 +1448,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
return {
|
|
1450
1450
|
...acc,
|
|
1451
|
-
[key]: smithy_client_1.expectString(value),
|
|
1451
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
1452
1452
|
};
|
|
1453
1453
|
}, {});
|
|
1454
1454
|
};
|
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|