@aws-sdk/client-kafkaconnect 3.54.1 → 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 +8 -0
- package/dist-cjs/KafkaConnectClient.js +13 -13
- package/dist-cjs/commands/CreateConnectorCommand.js +3 -3
- package/dist-cjs/commands/CreateCustomPluginCommand.js +3 -3
- package/dist-cjs/commands/CreateWorkerConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteConnectorCommand.js +3 -3
- package/dist-cjs/commands/DeleteCustomPluginCommand.js +3 -3
- package/dist-cjs/commands/DescribeConnectorCommand.js +3 -3
- package/dist-cjs/commands/DescribeCustomPluginCommand.js +3 -3
- package/dist-cjs/commands/DescribeWorkerConfigurationCommand.js +3 -3
- package/dist-cjs/commands/ListConnectorsCommand.js +3 -3
- package/dist-cjs/commands/ListCustomPluginsCommand.js +3 -3
- package/dist-cjs/commands/ListWorkerConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/UpdateConnectorCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +140 -140
- 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/KafkaConnect.js +12 -12
- package/dist-es/pagination/ListConnectorsPaginator.js +4 -4
- package/dist-es/pagination/ListCustomPluginsPaginator.js +4 -4
- package/dist-es/pagination/ListWorkerConfigurationsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +12 -12
- 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
|
@@ -114,7 +114,7 @@ const serializeAws_restJson1DeleteConnectorCommand = async (input, context) => {
|
|
|
114
114
|
if (labelValue.length <= 0) {
|
|
115
115
|
throw new Error("Empty value provided for input HTTP label: connectorArn.");
|
|
116
116
|
}
|
|
117
|
-
resolvedPath = resolvedPath.replace("{connectorArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
117
|
+
resolvedPath = resolvedPath.replace("{connectorArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
120
120
|
throw new Error("No value provided for input HTTP label: connectorArn.");
|
|
@@ -144,7 +144,7 @@ const serializeAws_restJson1DeleteCustomPluginCommand = async (input, context) =
|
|
|
144
144
|
if (labelValue.length <= 0) {
|
|
145
145
|
throw new Error("Empty value provided for input HTTP label: customPluginArn.");
|
|
146
146
|
}
|
|
147
|
-
resolvedPath = resolvedPath.replace("{customPluginArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
147
|
+
resolvedPath = resolvedPath.replace("{customPluginArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
148
148
|
}
|
|
149
149
|
else {
|
|
150
150
|
throw new Error("No value provided for input HTTP label: customPluginArn.");
|
|
@@ -170,7 +170,7 @@ const serializeAws_restJson1DescribeConnectorCommand = async (input, context) =>
|
|
|
170
170
|
if (labelValue.length <= 0) {
|
|
171
171
|
throw new Error("Empty value provided for input HTTP label: connectorArn.");
|
|
172
172
|
}
|
|
173
|
-
resolvedPath = resolvedPath.replace("{connectorArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
173
|
+
resolvedPath = resolvedPath.replace("{connectorArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
174
174
|
}
|
|
175
175
|
else {
|
|
176
176
|
throw new Error("No value provided for input HTTP label: connectorArn.");
|
|
@@ -196,7 +196,7 @@ const serializeAws_restJson1DescribeCustomPluginCommand = async (input, context)
|
|
|
196
196
|
if (labelValue.length <= 0) {
|
|
197
197
|
throw new Error("Empty value provided for input HTTP label: customPluginArn.");
|
|
198
198
|
}
|
|
199
|
-
resolvedPath = resolvedPath.replace("{customPluginArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
199
|
+
resolvedPath = resolvedPath.replace("{customPluginArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
200
200
|
}
|
|
201
201
|
else {
|
|
202
202
|
throw new Error("No value provided for input HTTP label: customPluginArn.");
|
|
@@ -223,7 +223,7 @@ const serializeAws_restJson1DescribeWorkerConfigurationCommand = async (input, c
|
|
|
223
223
|
if (labelValue.length <= 0) {
|
|
224
224
|
throw new Error("Empty value provided for input HTTP label: workerConfigurationArn.");
|
|
225
225
|
}
|
|
226
|
-
resolvedPath = resolvedPath.replace("{workerConfigurationArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
226
|
+
resolvedPath = resolvedPath.replace("{workerConfigurationArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
227
227
|
}
|
|
228
228
|
else {
|
|
229
229
|
throw new Error("No value provided for input HTTP label: workerConfigurationArn.");
|
|
@@ -315,7 +315,7 @@ const serializeAws_restJson1UpdateConnectorCommand = async (input, context) => {
|
|
|
315
315
|
if (labelValue.length <= 0) {
|
|
316
316
|
throw new Error("Empty value provided for input HTTP label: connectorArn.");
|
|
317
317
|
}
|
|
318
|
-
resolvedPath = resolvedPath.replace("{connectorArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
318
|
+
resolvedPath = resolvedPath.replace("{connectorArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
319
319
|
}
|
|
320
320
|
else {
|
|
321
321
|
throw new Error("No value provided for input HTTP label: connectorArn.");
|
|
@@ -350,15 +350,15 @@ const deserializeAws_restJson1CreateConnectorCommand = async (output, context) =
|
|
|
350
350
|
connectorName: undefined,
|
|
351
351
|
connectorState: undefined,
|
|
352
352
|
};
|
|
353
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
353
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
354
354
|
if (data.connectorArn !== undefined && data.connectorArn !== null) {
|
|
355
|
-
contents.connectorArn = smithy_client_1.expectString(data.connectorArn);
|
|
355
|
+
contents.connectorArn = (0, smithy_client_1.expectString)(data.connectorArn);
|
|
356
356
|
}
|
|
357
357
|
if (data.connectorName !== undefined && data.connectorName !== null) {
|
|
358
|
-
contents.connectorName = smithy_client_1.expectString(data.connectorName);
|
|
358
|
+
contents.connectorName = (0, smithy_client_1.expectString)(data.connectorName);
|
|
359
359
|
}
|
|
360
360
|
if (data.connectorState !== undefined && data.connectorState !== null) {
|
|
361
|
-
contents.connectorState = smithy_client_1.expectString(data.connectorState);
|
|
361
|
+
contents.connectorState = (0, smithy_client_1.expectString)(data.connectorState);
|
|
362
362
|
}
|
|
363
363
|
return Promise.resolve(contents);
|
|
364
364
|
};
|
|
@@ -403,7 +403,7 @@ const deserializeAws_restJson1CreateConnectorCommandError = async (output, conte
|
|
|
403
403
|
$fault: "client",
|
|
404
404
|
$metadata: deserializeMetadata(output),
|
|
405
405
|
});
|
|
406
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
406
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
409
|
const deserializeAws_restJson1CreateCustomPluginCommand = async (output, context) => {
|
|
@@ -417,18 +417,18 @@ const deserializeAws_restJson1CreateCustomPluginCommand = async (output, context
|
|
|
417
417
|
name: undefined,
|
|
418
418
|
revision: undefined,
|
|
419
419
|
};
|
|
420
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
420
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
421
421
|
if (data.customPluginArn !== undefined && data.customPluginArn !== null) {
|
|
422
|
-
contents.customPluginArn = smithy_client_1.expectString(data.customPluginArn);
|
|
422
|
+
contents.customPluginArn = (0, smithy_client_1.expectString)(data.customPluginArn);
|
|
423
423
|
}
|
|
424
424
|
if (data.customPluginState !== undefined && data.customPluginState !== null) {
|
|
425
|
-
contents.customPluginState = smithy_client_1.expectString(data.customPluginState);
|
|
425
|
+
contents.customPluginState = (0, smithy_client_1.expectString)(data.customPluginState);
|
|
426
426
|
}
|
|
427
427
|
if (data.name !== undefined && data.name !== null) {
|
|
428
|
-
contents.name = smithy_client_1.expectString(data.name);
|
|
428
|
+
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
429
429
|
}
|
|
430
430
|
if (data.revision !== undefined && data.revision !== null) {
|
|
431
|
-
contents.revision = smithy_client_1.expectLong(data.revision);
|
|
431
|
+
contents.revision = (0, smithy_client_1.expectLong)(data.revision);
|
|
432
432
|
}
|
|
433
433
|
return Promise.resolve(contents);
|
|
434
434
|
};
|
|
@@ -473,7 +473,7 @@ const deserializeAws_restJson1CreateCustomPluginCommandError = async (output, co
|
|
|
473
473
|
$fault: "client",
|
|
474
474
|
$metadata: deserializeMetadata(output),
|
|
475
475
|
});
|
|
476
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
476
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
477
477
|
}
|
|
478
478
|
};
|
|
479
479
|
const deserializeAws_restJson1CreateWorkerConfigurationCommand = async (output, context) => {
|
|
@@ -487,18 +487,18 @@ const deserializeAws_restJson1CreateWorkerConfigurationCommand = async (output,
|
|
|
487
487
|
name: undefined,
|
|
488
488
|
workerConfigurationArn: undefined,
|
|
489
489
|
};
|
|
490
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
490
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
491
491
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
492
|
-
contents.creationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.creationTime));
|
|
492
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
|
|
493
493
|
}
|
|
494
494
|
if (data.latestRevision !== undefined && data.latestRevision !== null) {
|
|
495
495
|
contents.latestRevision = deserializeAws_restJson1WorkerConfigurationRevisionSummary(data.latestRevision, context);
|
|
496
496
|
}
|
|
497
497
|
if (data.name !== undefined && data.name !== null) {
|
|
498
|
-
contents.name = smithy_client_1.expectString(data.name);
|
|
498
|
+
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
499
499
|
}
|
|
500
500
|
if (data.workerConfigurationArn !== undefined && data.workerConfigurationArn !== null) {
|
|
501
|
-
contents.workerConfigurationArn = smithy_client_1.expectString(data.workerConfigurationArn);
|
|
501
|
+
contents.workerConfigurationArn = (0, smithy_client_1.expectString)(data.workerConfigurationArn);
|
|
502
502
|
}
|
|
503
503
|
return Promise.resolve(contents);
|
|
504
504
|
};
|
|
@@ -543,7 +543,7 @@ const deserializeAws_restJson1CreateWorkerConfigurationCommandError = async (out
|
|
|
543
543
|
$fault: "client",
|
|
544
544
|
$metadata: deserializeMetadata(output),
|
|
545
545
|
});
|
|
546
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
546
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
547
547
|
}
|
|
548
548
|
};
|
|
549
549
|
const deserializeAws_restJson1DeleteConnectorCommand = async (output, context) => {
|
|
@@ -555,12 +555,12 @@ const deserializeAws_restJson1DeleteConnectorCommand = async (output, context) =
|
|
|
555
555
|
connectorArn: undefined,
|
|
556
556
|
connectorState: undefined,
|
|
557
557
|
};
|
|
558
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
558
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
559
559
|
if (data.connectorArn !== undefined && data.connectorArn !== null) {
|
|
560
|
-
contents.connectorArn = smithy_client_1.expectString(data.connectorArn);
|
|
560
|
+
contents.connectorArn = (0, smithy_client_1.expectString)(data.connectorArn);
|
|
561
561
|
}
|
|
562
562
|
if (data.connectorState !== undefined && data.connectorState !== null) {
|
|
563
|
-
contents.connectorState = smithy_client_1.expectString(data.connectorState);
|
|
563
|
+
contents.connectorState = (0, smithy_client_1.expectString)(data.connectorState);
|
|
564
564
|
}
|
|
565
565
|
return Promise.resolve(contents);
|
|
566
566
|
};
|
|
@@ -602,7 +602,7 @@ const deserializeAws_restJson1DeleteConnectorCommandError = async (output, conte
|
|
|
602
602
|
$fault: "client",
|
|
603
603
|
$metadata: deserializeMetadata(output),
|
|
604
604
|
});
|
|
605
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
605
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
606
606
|
}
|
|
607
607
|
};
|
|
608
608
|
const deserializeAws_restJson1DeleteCustomPluginCommand = async (output, context) => {
|
|
@@ -614,12 +614,12 @@ const deserializeAws_restJson1DeleteCustomPluginCommand = async (output, context
|
|
|
614
614
|
customPluginArn: undefined,
|
|
615
615
|
customPluginState: undefined,
|
|
616
616
|
};
|
|
617
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
617
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
618
618
|
if (data.customPluginArn !== undefined && data.customPluginArn !== null) {
|
|
619
|
-
contents.customPluginArn = smithy_client_1.expectString(data.customPluginArn);
|
|
619
|
+
contents.customPluginArn = (0, smithy_client_1.expectString)(data.customPluginArn);
|
|
620
620
|
}
|
|
621
621
|
if (data.customPluginState !== undefined && data.customPluginState !== null) {
|
|
622
|
-
contents.customPluginState = smithy_client_1.expectString(data.customPluginState);
|
|
622
|
+
contents.customPluginState = (0, smithy_client_1.expectString)(data.customPluginState);
|
|
623
623
|
}
|
|
624
624
|
return Promise.resolve(contents);
|
|
625
625
|
};
|
|
@@ -661,7 +661,7 @@ const deserializeAws_restJson1DeleteCustomPluginCommandError = async (output, co
|
|
|
661
661
|
$fault: "client",
|
|
662
662
|
$metadata: deserializeMetadata(output),
|
|
663
663
|
});
|
|
664
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
664
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
665
665
|
}
|
|
666
666
|
};
|
|
667
667
|
const deserializeAws_restJson1DescribeConnectorCommand = async (output, context) => {
|
|
@@ -688,30 +688,30 @@ const deserializeAws_restJson1DescribeConnectorCommand = async (output, context)
|
|
|
688
688
|
stateDescription: undefined,
|
|
689
689
|
workerConfiguration: undefined,
|
|
690
690
|
};
|
|
691
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
691
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
692
692
|
if (data.capacity !== undefined && data.capacity !== null) {
|
|
693
693
|
contents.capacity = deserializeAws_restJson1CapacityDescription(data.capacity, context);
|
|
694
694
|
}
|
|
695
695
|
if (data.connectorArn !== undefined && data.connectorArn !== null) {
|
|
696
|
-
contents.connectorArn = smithy_client_1.expectString(data.connectorArn);
|
|
696
|
+
contents.connectorArn = (0, smithy_client_1.expectString)(data.connectorArn);
|
|
697
697
|
}
|
|
698
698
|
if (data.connectorConfiguration !== undefined && data.connectorConfiguration !== null) {
|
|
699
699
|
contents.connectorConfiguration = deserializeAws_restJson1__mapOf__string(data.connectorConfiguration, context);
|
|
700
700
|
}
|
|
701
701
|
if (data.connectorDescription !== undefined && data.connectorDescription !== null) {
|
|
702
|
-
contents.connectorDescription = smithy_client_1.expectString(data.connectorDescription);
|
|
702
|
+
contents.connectorDescription = (0, smithy_client_1.expectString)(data.connectorDescription);
|
|
703
703
|
}
|
|
704
704
|
if (data.connectorName !== undefined && data.connectorName !== null) {
|
|
705
|
-
contents.connectorName = smithy_client_1.expectString(data.connectorName);
|
|
705
|
+
contents.connectorName = (0, smithy_client_1.expectString)(data.connectorName);
|
|
706
706
|
}
|
|
707
707
|
if (data.connectorState !== undefined && data.connectorState !== null) {
|
|
708
|
-
contents.connectorState = smithy_client_1.expectString(data.connectorState);
|
|
708
|
+
contents.connectorState = (0, smithy_client_1.expectString)(data.connectorState);
|
|
709
709
|
}
|
|
710
710
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
711
|
-
contents.creationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.creationTime));
|
|
711
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
|
|
712
712
|
}
|
|
713
713
|
if (data.currentVersion !== undefined && data.currentVersion !== null) {
|
|
714
|
-
contents.currentVersion = smithy_client_1.expectString(data.currentVersion);
|
|
714
|
+
contents.currentVersion = (0, smithy_client_1.expectString)(data.currentVersion);
|
|
715
715
|
}
|
|
716
716
|
if (data.kafkaCluster !== undefined && data.kafkaCluster !== null) {
|
|
717
717
|
contents.kafkaCluster = deserializeAws_restJson1KafkaClusterDescription(data.kafkaCluster, context);
|
|
@@ -723,7 +723,7 @@ const deserializeAws_restJson1DescribeConnectorCommand = async (output, context)
|
|
|
723
723
|
contents.kafkaClusterEncryptionInTransit = deserializeAws_restJson1KafkaClusterEncryptionInTransitDescription(data.kafkaClusterEncryptionInTransit, context);
|
|
724
724
|
}
|
|
725
725
|
if (data.kafkaConnectVersion !== undefined && data.kafkaConnectVersion !== null) {
|
|
726
|
-
contents.kafkaConnectVersion = smithy_client_1.expectString(data.kafkaConnectVersion);
|
|
726
|
+
contents.kafkaConnectVersion = (0, smithy_client_1.expectString)(data.kafkaConnectVersion);
|
|
727
727
|
}
|
|
728
728
|
if (data.logDelivery !== undefined && data.logDelivery !== null) {
|
|
729
729
|
contents.logDelivery = deserializeAws_restJson1LogDeliveryDescription(data.logDelivery, context);
|
|
@@ -732,7 +732,7 @@ const deserializeAws_restJson1DescribeConnectorCommand = async (output, context)
|
|
|
732
732
|
contents.plugins = deserializeAws_restJson1__listOfPluginDescription(data.plugins, context);
|
|
733
733
|
}
|
|
734
734
|
if (data.serviceExecutionRoleArn !== undefined && data.serviceExecutionRoleArn !== null) {
|
|
735
|
-
contents.serviceExecutionRoleArn = smithy_client_1.expectString(data.serviceExecutionRoleArn);
|
|
735
|
+
contents.serviceExecutionRoleArn = (0, smithy_client_1.expectString)(data.serviceExecutionRoleArn);
|
|
736
736
|
}
|
|
737
737
|
if (data.stateDescription !== undefined && data.stateDescription !== null) {
|
|
738
738
|
contents.stateDescription = deserializeAws_restJson1StateDescription(data.stateDescription, context);
|
|
@@ -780,7 +780,7 @@ const deserializeAws_restJson1DescribeConnectorCommandError = async (output, con
|
|
|
780
780
|
$fault: "client",
|
|
781
781
|
$metadata: deserializeMetadata(output),
|
|
782
782
|
});
|
|
783
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
783
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
784
784
|
}
|
|
785
785
|
};
|
|
786
786
|
const deserializeAws_restJson1DescribeCustomPluginCommand = async (output, context) => {
|
|
@@ -797,24 +797,24 @@ const deserializeAws_restJson1DescribeCustomPluginCommand = async (output, conte
|
|
|
797
797
|
name: undefined,
|
|
798
798
|
stateDescription: undefined,
|
|
799
799
|
};
|
|
800
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
800
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
801
801
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
802
|
-
contents.creationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.creationTime));
|
|
802
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
|
|
803
803
|
}
|
|
804
804
|
if (data.customPluginArn !== undefined && data.customPluginArn !== null) {
|
|
805
|
-
contents.customPluginArn = smithy_client_1.expectString(data.customPluginArn);
|
|
805
|
+
contents.customPluginArn = (0, smithy_client_1.expectString)(data.customPluginArn);
|
|
806
806
|
}
|
|
807
807
|
if (data.customPluginState !== undefined && data.customPluginState !== null) {
|
|
808
|
-
contents.customPluginState = smithy_client_1.expectString(data.customPluginState);
|
|
808
|
+
contents.customPluginState = (0, smithy_client_1.expectString)(data.customPluginState);
|
|
809
809
|
}
|
|
810
810
|
if (data.description !== undefined && data.description !== null) {
|
|
811
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
811
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
812
812
|
}
|
|
813
813
|
if (data.latestRevision !== undefined && data.latestRevision !== null) {
|
|
814
814
|
contents.latestRevision = deserializeAws_restJson1CustomPluginRevisionSummary(data.latestRevision, context);
|
|
815
815
|
}
|
|
816
816
|
if (data.name !== undefined && data.name !== null) {
|
|
817
|
-
contents.name = smithy_client_1.expectString(data.name);
|
|
817
|
+
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
818
818
|
}
|
|
819
819
|
if (data.stateDescription !== undefined && data.stateDescription !== null) {
|
|
820
820
|
contents.stateDescription = deserializeAws_restJson1StateDescription(data.stateDescription, context);
|
|
@@ -859,7 +859,7 @@ const deserializeAws_restJson1DescribeCustomPluginCommandError = async (output,
|
|
|
859
859
|
$fault: "client",
|
|
860
860
|
$metadata: deserializeMetadata(output),
|
|
861
861
|
});
|
|
862
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
862
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
863
863
|
}
|
|
864
864
|
};
|
|
865
865
|
const deserializeAws_restJson1DescribeWorkerConfigurationCommand = async (output, context) => {
|
|
@@ -874,21 +874,21 @@ const deserializeAws_restJson1DescribeWorkerConfigurationCommand = async (output
|
|
|
874
874
|
name: undefined,
|
|
875
875
|
workerConfigurationArn: undefined,
|
|
876
876
|
};
|
|
877
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
877
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
878
878
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
879
|
-
contents.creationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.creationTime));
|
|
879
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
|
|
880
880
|
}
|
|
881
881
|
if (data.description !== undefined && data.description !== null) {
|
|
882
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
882
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
883
883
|
}
|
|
884
884
|
if (data.latestRevision !== undefined && data.latestRevision !== null) {
|
|
885
885
|
contents.latestRevision = deserializeAws_restJson1WorkerConfigurationRevisionDescription(data.latestRevision, context);
|
|
886
886
|
}
|
|
887
887
|
if (data.name !== undefined && data.name !== null) {
|
|
888
|
-
contents.name = smithy_client_1.expectString(data.name);
|
|
888
|
+
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
889
889
|
}
|
|
890
890
|
if (data.workerConfigurationArn !== undefined && data.workerConfigurationArn !== null) {
|
|
891
|
-
contents.workerConfigurationArn = smithy_client_1.expectString(data.workerConfigurationArn);
|
|
891
|
+
contents.workerConfigurationArn = (0, smithy_client_1.expectString)(data.workerConfigurationArn);
|
|
892
892
|
}
|
|
893
893
|
return Promise.resolve(contents);
|
|
894
894
|
};
|
|
@@ -930,7 +930,7 @@ const deserializeAws_restJson1DescribeWorkerConfigurationCommandError = async (o
|
|
|
930
930
|
$fault: "client",
|
|
931
931
|
$metadata: deserializeMetadata(output),
|
|
932
932
|
});
|
|
933
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
933
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
934
934
|
}
|
|
935
935
|
};
|
|
936
936
|
const deserializeAws_restJson1ListConnectorsCommand = async (output, context) => {
|
|
@@ -942,12 +942,12 @@ const deserializeAws_restJson1ListConnectorsCommand = async (output, context) =>
|
|
|
942
942
|
connectors: undefined,
|
|
943
943
|
nextToken: undefined,
|
|
944
944
|
};
|
|
945
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
945
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
946
946
|
if (data.connectors !== undefined && data.connectors !== null) {
|
|
947
947
|
contents.connectors = deserializeAws_restJson1__listOfConnectorSummary(data.connectors, context);
|
|
948
948
|
}
|
|
949
949
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
950
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
950
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
951
951
|
}
|
|
952
952
|
return Promise.resolve(contents);
|
|
953
953
|
};
|
|
@@ -989,7 +989,7 @@ const deserializeAws_restJson1ListConnectorsCommandError = async (output, contex
|
|
|
989
989
|
$fault: "client",
|
|
990
990
|
$metadata: deserializeMetadata(output),
|
|
991
991
|
});
|
|
992
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
992
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
993
993
|
}
|
|
994
994
|
};
|
|
995
995
|
const deserializeAws_restJson1ListCustomPluginsCommand = async (output, context) => {
|
|
@@ -1001,12 +1001,12 @@ const deserializeAws_restJson1ListCustomPluginsCommand = async (output, context)
|
|
|
1001
1001
|
customPlugins: undefined,
|
|
1002
1002
|
nextToken: undefined,
|
|
1003
1003
|
};
|
|
1004
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1004
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1005
1005
|
if (data.customPlugins !== undefined && data.customPlugins !== null) {
|
|
1006
1006
|
contents.customPlugins = deserializeAws_restJson1__listOfCustomPluginSummary(data.customPlugins, context);
|
|
1007
1007
|
}
|
|
1008
1008
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1009
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1009
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1010
1010
|
}
|
|
1011
1011
|
return Promise.resolve(contents);
|
|
1012
1012
|
};
|
|
@@ -1048,7 +1048,7 @@ const deserializeAws_restJson1ListCustomPluginsCommandError = async (output, con
|
|
|
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_restJson1ListWorkerConfigurationsCommand = async (output, context) => {
|
|
@@ -1060,9 +1060,9 @@ const deserializeAws_restJson1ListWorkerConfigurationsCommand = async (output, c
|
|
|
1060
1060
|
nextToken: undefined,
|
|
1061
1061
|
workerConfigurations: undefined,
|
|
1062
1062
|
};
|
|
1063
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1063
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1064
1064
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1065
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1065
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1066
1066
|
}
|
|
1067
1067
|
if (data.workerConfigurations !== undefined && data.workerConfigurations !== null) {
|
|
1068
1068
|
contents.workerConfigurations = deserializeAws_restJson1__listOfWorkerConfigurationSummary(data.workerConfigurations, context);
|
|
@@ -1107,7 +1107,7 @@ const deserializeAws_restJson1ListWorkerConfigurationsCommandError = async (outp
|
|
|
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_restJson1UpdateConnectorCommand = async (output, context) => {
|
|
@@ -1119,12 +1119,12 @@ const deserializeAws_restJson1UpdateConnectorCommand = async (output, context) =
|
|
|
1119
1119
|
connectorArn: undefined,
|
|
1120
1120
|
connectorState: undefined,
|
|
1121
1121
|
};
|
|
1122
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1122
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1123
1123
|
if (data.connectorArn !== undefined && data.connectorArn !== null) {
|
|
1124
|
-
contents.connectorArn = smithy_client_1.expectString(data.connectorArn);
|
|
1124
|
+
contents.connectorArn = (0, smithy_client_1.expectString)(data.connectorArn);
|
|
1125
1125
|
}
|
|
1126
1126
|
if (data.connectorState !== undefined && data.connectorState !== null) {
|
|
1127
|
-
contents.connectorState = smithy_client_1.expectString(data.connectorState);
|
|
1127
|
+
contents.connectorState = (0, smithy_client_1.expectString)(data.connectorState);
|
|
1128
1128
|
}
|
|
1129
1129
|
return Promise.resolve(contents);
|
|
1130
1130
|
};
|
|
@@ -1166,104 +1166,104 @@ const deserializeAws_restJson1UpdateConnectorCommandError = async (output, conte
|
|
|
1166
1166
|
$fault: "client",
|
|
1167
1167
|
$metadata: deserializeMetadata(output),
|
|
1168
1168
|
});
|
|
1169
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1169
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1170
1170
|
}
|
|
1171
1171
|
};
|
|
1172
1172
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
1173
1173
|
const contents = {};
|
|
1174
1174
|
const data = parsedOutput.body;
|
|
1175
1175
|
if (data.message !== undefined && data.message !== null) {
|
|
1176
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1176
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1177
1177
|
}
|
|
1178
1178
|
const exception = new models_0_1.BadRequestException({
|
|
1179
1179
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1180
1180
|
...contents,
|
|
1181
1181
|
});
|
|
1182
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1182
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1183
1183
|
};
|
|
1184
1184
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
1185
1185
|
const contents = {};
|
|
1186
1186
|
const data = parsedOutput.body;
|
|
1187
1187
|
if (data.message !== undefined && data.message !== null) {
|
|
1188
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1188
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1189
1189
|
}
|
|
1190
1190
|
const exception = new models_0_1.ConflictException({
|
|
1191
1191
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1192
1192
|
...contents,
|
|
1193
1193
|
});
|
|
1194
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1194
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1195
1195
|
};
|
|
1196
1196
|
const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
|
|
1197
1197
|
const contents = {};
|
|
1198
1198
|
const data = parsedOutput.body;
|
|
1199
1199
|
if (data.message !== undefined && data.message !== null) {
|
|
1200
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1200
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1201
1201
|
}
|
|
1202
1202
|
const exception = new models_0_1.ForbiddenException({
|
|
1203
1203
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1204
1204
|
...contents,
|
|
1205
1205
|
});
|
|
1206
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1206
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1207
1207
|
};
|
|
1208
1208
|
const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
|
|
1209
1209
|
const contents = {};
|
|
1210
1210
|
const data = parsedOutput.body;
|
|
1211
1211
|
if (data.message !== undefined && data.message !== null) {
|
|
1212
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1212
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1213
1213
|
}
|
|
1214
1214
|
const exception = new models_0_1.InternalServerErrorException({
|
|
1215
1215
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1216
1216
|
...contents,
|
|
1217
1217
|
});
|
|
1218
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1218
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1219
1219
|
};
|
|
1220
1220
|
const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1221
1221
|
const contents = {};
|
|
1222
1222
|
const data = parsedOutput.body;
|
|
1223
1223
|
if (data.message !== undefined && data.message !== null) {
|
|
1224
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1224
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1225
1225
|
}
|
|
1226
1226
|
const exception = new models_0_1.NotFoundException({
|
|
1227
1227
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1228
1228
|
...contents,
|
|
1229
1229
|
});
|
|
1230
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1230
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1231
1231
|
};
|
|
1232
1232
|
const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
1233
1233
|
const contents = {};
|
|
1234
1234
|
const data = parsedOutput.body;
|
|
1235
1235
|
if (data.message !== undefined && data.message !== null) {
|
|
1236
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1236
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1237
1237
|
}
|
|
1238
1238
|
const exception = new models_0_1.ServiceUnavailableException({
|
|
1239
1239
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1240
1240
|
...contents,
|
|
1241
1241
|
});
|
|
1242
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1242
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1243
1243
|
};
|
|
1244
1244
|
const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
|
|
1245
1245
|
const contents = {};
|
|
1246
1246
|
const data = parsedOutput.body;
|
|
1247
1247
|
if (data.message !== undefined && data.message !== null) {
|
|
1248
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1248
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1249
1249
|
}
|
|
1250
1250
|
const exception = new models_0_1.TooManyRequestsException({
|
|
1251
1251
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1252
1252
|
...contents,
|
|
1253
1253
|
});
|
|
1254
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1254
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1255
1255
|
};
|
|
1256
1256
|
const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
|
|
1257
1257
|
const contents = {};
|
|
1258
1258
|
const data = parsedOutput.body;
|
|
1259
1259
|
if (data.message !== undefined && data.message !== null) {
|
|
1260
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1260
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1261
1261
|
}
|
|
1262
1262
|
const exception = new models_0_1.UnauthorizedException({
|
|
1263
1263
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1264
1264
|
...contents,
|
|
1265
1265
|
});
|
|
1266
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1266
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1267
1267
|
};
|
|
1268
1268
|
const serializeAws_restJson1__listOf__string = (input, context) => {
|
|
1269
1269
|
return input
|
|
@@ -1504,7 +1504,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
|
1504
1504
|
if (entry === null) {
|
|
1505
1505
|
return null;
|
|
1506
1506
|
}
|
|
1507
|
-
return smithy_client_1.expectString(entry);
|
|
1507
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1508
1508
|
});
|
|
1509
1509
|
return retVal;
|
|
1510
1510
|
};
|
|
@@ -1559,13 +1559,13 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
return {
|
|
1561
1561
|
...acc,
|
|
1562
|
-
[key]: smithy_client_1.expectString(value),
|
|
1562
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
1563
1563
|
};
|
|
1564
1564
|
}, {});
|
|
1565
1565
|
};
|
|
1566
1566
|
const deserializeAws_restJson1ApacheKafkaClusterDescription = (output, context) => {
|
|
1567
1567
|
return {
|
|
1568
|
-
bootstrapServers: smithy_client_1.expectString(output.bootstrapServers),
|
|
1568
|
+
bootstrapServers: (0, smithy_client_1.expectString)(output.bootstrapServers),
|
|
1569
1569
|
vpc: output.vpc !== undefined && output.vpc !== null
|
|
1570
1570
|
? deserializeAws_restJson1VpcDescription(output.vpc, context)
|
|
1571
1571
|
: undefined,
|
|
@@ -1573,9 +1573,9 @@ const deserializeAws_restJson1ApacheKafkaClusterDescription = (output, context)
|
|
|
1573
1573
|
};
|
|
1574
1574
|
const deserializeAws_restJson1AutoScalingDescription = (output, context) => {
|
|
1575
1575
|
return {
|
|
1576
|
-
maxWorkerCount: smithy_client_1.expectInt32(output.maxWorkerCount),
|
|
1577
|
-
mcuCount: smithy_client_1.expectInt32(output.mcuCount),
|
|
1578
|
-
minWorkerCount: smithy_client_1.expectInt32(output.minWorkerCount),
|
|
1576
|
+
maxWorkerCount: (0, smithy_client_1.expectInt32)(output.maxWorkerCount),
|
|
1577
|
+
mcuCount: (0, smithy_client_1.expectInt32)(output.mcuCount),
|
|
1578
|
+
minWorkerCount: (0, smithy_client_1.expectInt32)(output.minWorkerCount),
|
|
1579
1579
|
scaleInPolicy: output.scaleInPolicy !== undefined && output.scaleInPolicy !== null
|
|
1580
1580
|
? deserializeAws_restJson1ScaleInPolicyDescription(output.scaleInPolicy, context)
|
|
1581
1581
|
: undefined,
|
|
@@ -1596,8 +1596,8 @@ const deserializeAws_restJson1CapacityDescription = (output, context) => {
|
|
|
1596
1596
|
};
|
|
1597
1597
|
const deserializeAws_restJson1CloudWatchLogsLogDeliveryDescription = (output, context) => {
|
|
1598
1598
|
return {
|
|
1599
|
-
enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
1600
|
-
logGroup: smithy_client_1.expectString(output.logGroup),
|
|
1599
|
+
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
1600
|
+
logGroup: (0, smithy_client_1.expectString)(output.logGroup),
|
|
1601
1601
|
};
|
|
1602
1602
|
};
|
|
1603
1603
|
const deserializeAws_restJson1ConnectorSummary = (output, context) => {
|
|
@@ -1605,14 +1605,14 @@ const deserializeAws_restJson1ConnectorSummary = (output, context) => {
|
|
|
1605
1605
|
capacity: output.capacity !== undefined && output.capacity !== null
|
|
1606
1606
|
? deserializeAws_restJson1CapacityDescription(output.capacity, context)
|
|
1607
1607
|
: undefined,
|
|
1608
|
-
connectorArn: smithy_client_1.expectString(output.connectorArn),
|
|
1609
|
-
connectorDescription: smithy_client_1.expectString(output.connectorDescription),
|
|
1610
|
-
connectorName: smithy_client_1.expectString(output.connectorName),
|
|
1611
|
-
connectorState: smithy_client_1.expectString(output.connectorState),
|
|
1608
|
+
connectorArn: (0, smithy_client_1.expectString)(output.connectorArn),
|
|
1609
|
+
connectorDescription: (0, smithy_client_1.expectString)(output.connectorDescription),
|
|
1610
|
+
connectorName: (0, smithy_client_1.expectString)(output.connectorName),
|
|
1611
|
+
connectorState: (0, smithy_client_1.expectString)(output.connectorState),
|
|
1612
1612
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
1613
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
1613
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1614
1614
|
: undefined,
|
|
1615
|
-
currentVersion: smithy_client_1.expectString(output.currentVersion),
|
|
1615
|
+
currentVersion: (0, smithy_client_1.expectString)(output.currentVersion),
|
|
1616
1616
|
kafkaCluster: output.kafkaCluster !== undefined && output.kafkaCluster !== null
|
|
1617
1617
|
? deserializeAws_restJson1KafkaClusterDescription(output.kafkaCluster, context)
|
|
1618
1618
|
: undefined,
|
|
@@ -1622,14 +1622,14 @@ const deserializeAws_restJson1ConnectorSummary = (output, context) => {
|
|
|
1622
1622
|
kafkaClusterEncryptionInTransit: output.kafkaClusterEncryptionInTransit !== undefined && output.kafkaClusterEncryptionInTransit !== null
|
|
1623
1623
|
? deserializeAws_restJson1KafkaClusterEncryptionInTransitDescription(output.kafkaClusterEncryptionInTransit, context)
|
|
1624
1624
|
: undefined,
|
|
1625
|
-
kafkaConnectVersion: smithy_client_1.expectString(output.kafkaConnectVersion),
|
|
1625
|
+
kafkaConnectVersion: (0, smithy_client_1.expectString)(output.kafkaConnectVersion),
|
|
1626
1626
|
logDelivery: output.logDelivery !== undefined && output.logDelivery !== null
|
|
1627
1627
|
? deserializeAws_restJson1LogDeliveryDescription(output.logDelivery, context)
|
|
1628
1628
|
: undefined,
|
|
1629
1629
|
plugins: output.plugins !== undefined && output.plugins !== null
|
|
1630
1630
|
? deserializeAws_restJson1__listOfPluginDescription(output.plugins, context)
|
|
1631
1631
|
: undefined,
|
|
1632
|
-
serviceExecutionRoleArn: smithy_client_1.expectString(output.serviceExecutionRoleArn),
|
|
1632
|
+
serviceExecutionRoleArn: (0, smithy_client_1.expectString)(output.serviceExecutionRoleArn),
|
|
1633
1633
|
workerConfiguration: output.workerConfiguration !== undefined && output.workerConfiguration !== null
|
|
1634
1634
|
? deserializeAws_restJson1WorkerConfigurationDescription(output.workerConfiguration, context)
|
|
1635
1635
|
: undefined,
|
|
@@ -1637,14 +1637,14 @@ const deserializeAws_restJson1ConnectorSummary = (output, context) => {
|
|
|
1637
1637
|
};
|
|
1638
1638
|
const deserializeAws_restJson1CustomPluginDescription = (output, context) => {
|
|
1639
1639
|
return {
|
|
1640
|
-
customPluginArn: smithy_client_1.expectString(output.customPluginArn),
|
|
1641
|
-
revision: smithy_client_1.expectLong(output.revision),
|
|
1640
|
+
customPluginArn: (0, smithy_client_1.expectString)(output.customPluginArn),
|
|
1641
|
+
revision: (0, smithy_client_1.expectLong)(output.revision),
|
|
1642
1642
|
};
|
|
1643
1643
|
};
|
|
1644
1644
|
const deserializeAws_restJson1CustomPluginFileDescription = (output, context) => {
|
|
1645
1645
|
return {
|
|
1646
|
-
fileMd5: smithy_client_1.expectString(output.fileMd5),
|
|
1647
|
-
fileSize: smithy_client_1.expectLong(output.fileSize),
|
|
1646
|
+
fileMd5: (0, smithy_client_1.expectString)(output.fileMd5),
|
|
1647
|
+
fileSize: (0, smithy_client_1.expectLong)(output.fileSize),
|
|
1648
1648
|
};
|
|
1649
1649
|
};
|
|
1650
1650
|
const deserializeAws_restJson1CustomPluginLocationDescription = (output, context) => {
|
|
@@ -1656,43 +1656,43 @@ const deserializeAws_restJson1CustomPluginLocationDescription = (output, context
|
|
|
1656
1656
|
};
|
|
1657
1657
|
const deserializeAws_restJson1CustomPluginRevisionSummary = (output, context) => {
|
|
1658
1658
|
return {
|
|
1659
|
-
contentType: smithy_client_1.expectString(output.contentType),
|
|
1659
|
+
contentType: (0, smithy_client_1.expectString)(output.contentType),
|
|
1660
1660
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
1661
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
1661
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1662
1662
|
: undefined,
|
|
1663
|
-
description: smithy_client_1.expectString(output.description),
|
|
1663
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
1664
1664
|
fileDescription: output.fileDescription !== undefined && output.fileDescription !== null
|
|
1665
1665
|
? deserializeAws_restJson1CustomPluginFileDescription(output.fileDescription, context)
|
|
1666
1666
|
: undefined,
|
|
1667
1667
|
location: output.location !== undefined && output.location !== null
|
|
1668
1668
|
? deserializeAws_restJson1CustomPluginLocationDescription(output.location, context)
|
|
1669
1669
|
: undefined,
|
|
1670
|
-
revision: smithy_client_1.expectLong(output.revision),
|
|
1670
|
+
revision: (0, smithy_client_1.expectLong)(output.revision),
|
|
1671
1671
|
};
|
|
1672
1672
|
};
|
|
1673
1673
|
const deserializeAws_restJson1CustomPluginSummary = (output, context) => {
|
|
1674
1674
|
return {
|
|
1675
1675
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
1676
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
1676
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1677
1677
|
: undefined,
|
|
1678
|
-
customPluginArn: smithy_client_1.expectString(output.customPluginArn),
|
|
1679
|
-
customPluginState: smithy_client_1.expectString(output.customPluginState),
|
|
1680
|
-
description: smithy_client_1.expectString(output.description),
|
|
1678
|
+
customPluginArn: (0, smithy_client_1.expectString)(output.customPluginArn),
|
|
1679
|
+
customPluginState: (0, smithy_client_1.expectString)(output.customPluginState),
|
|
1680
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
1681
1681
|
latestRevision: output.latestRevision !== undefined && output.latestRevision !== null
|
|
1682
1682
|
? deserializeAws_restJson1CustomPluginRevisionSummary(output.latestRevision, context)
|
|
1683
1683
|
: undefined,
|
|
1684
|
-
name: smithy_client_1.expectString(output.name),
|
|
1684
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1685
1685
|
};
|
|
1686
1686
|
};
|
|
1687
1687
|
const deserializeAws_restJson1FirehoseLogDeliveryDescription = (output, context) => {
|
|
1688
1688
|
return {
|
|
1689
|
-
deliveryStream: smithy_client_1.expectString(output.deliveryStream),
|
|
1690
|
-
enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
1689
|
+
deliveryStream: (0, smithy_client_1.expectString)(output.deliveryStream),
|
|
1690
|
+
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
1691
1691
|
};
|
|
1692
1692
|
};
|
|
1693
1693
|
const deserializeAws_restJson1KafkaClusterClientAuthenticationDescription = (output, context) => {
|
|
1694
1694
|
return {
|
|
1695
|
-
authenticationType: smithy_client_1.expectString(output.authenticationType),
|
|
1695
|
+
authenticationType: (0, smithy_client_1.expectString)(output.authenticationType),
|
|
1696
1696
|
};
|
|
1697
1697
|
};
|
|
1698
1698
|
const deserializeAws_restJson1KafkaClusterDescription = (output, context) => {
|
|
@@ -1704,7 +1704,7 @@ const deserializeAws_restJson1KafkaClusterDescription = (output, context) => {
|
|
|
1704
1704
|
};
|
|
1705
1705
|
const deserializeAws_restJson1KafkaClusterEncryptionInTransitDescription = (output, context) => {
|
|
1706
1706
|
return {
|
|
1707
|
-
encryptionType: smithy_client_1.expectString(output.encryptionType),
|
|
1707
|
+
encryptionType: (0, smithy_client_1.expectString)(output.encryptionType),
|
|
1708
1708
|
};
|
|
1709
1709
|
};
|
|
1710
1710
|
const deserializeAws_restJson1LogDeliveryDescription = (output, context) => {
|
|
@@ -1723,38 +1723,38 @@ const deserializeAws_restJson1PluginDescription = (output, context) => {
|
|
|
1723
1723
|
};
|
|
1724
1724
|
const deserializeAws_restJson1ProvisionedCapacityDescription = (output, context) => {
|
|
1725
1725
|
return {
|
|
1726
|
-
mcuCount: smithy_client_1.expectInt32(output.mcuCount),
|
|
1727
|
-
workerCount: smithy_client_1.expectInt32(output.workerCount),
|
|
1726
|
+
mcuCount: (0, smithy_client_1.expectInt32)(output.mcuCount),
|
|
1727
|
+
workerCount: (0, smithy_client_1.expectInt32)(output.workerCount),
|
|
1728
1728
|
};
|
|
1729
1729
|
};
|
|
1730
1730
|
const deserializeAws_restJson1S3LocationDescription = (output, context) => {
|
|
1731
1731
|
return {
|
|
1732
|
-
bucketArn: smithy_client_1.expectString(output.bucketArn),
|
|
1733
|
-
fileKey: smithy_client_1.expectString(output.fileKey),
|
|
1734
|
-
objectVersion: smithy_client_1.expectString(output.objectVersion),
|
|
1732
|
+
bucketArn: (0, smithy_client_1.expectString)(output.bucketArn),
|
|
1733
|
+
fileKey: (0, smithy_client_1.expectString)(output.fileKey),
|
|
1734
|
+
objectVersion: (0, smithy_client_1.expectString)(output.objectVersion),
|
|
1735
1735
|
};
|
|
1736
1736
|
};
|
|
1737
1737
|
const deserializeAws_restJson1S3LogDeliveryDescription = (output, context) => {
|
|
1738
1738
|
return {
|
|
1739
|
-
bucket: smithy_client_1.expectString(output.bucket),
|
|
1740
|
-
enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
1741
|
-
prefix: smithy_client_1.expectString(output.prefix),
|
|
1739
|
+
bucket: (0, smithy_client_1.expectString)(output.bucket),
|
|
1740
|
+
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
1741
|
+
prefix: (0, smithy_client_1.expectString)(output.prefix),
|
|
1742
1742
|
};
|
|
1743
1743
|
};
|
|
1744
1744
|
const deserializeAws_restJson1ScaleInPolicyDescription = (output, context) => {
|
|
1745
1745
|
return {
|
|
1746
|
-
cpuUtilizationPercentage: smithy_client_1.expectInt32(output.cpuUtilizationPercentage),
|
|
1746
|
+
cpuUtilizationPercentage: (0, smithy_client_1.expectInt32)(output.cpuUtilizationPercentage),
|
|
1747
1747
|
};
|
|
1748
1748
|
};
|
|
1749
1749
|
const deserializeAws_restJson1ScaleOutPolicyDescription = (output, context) => {
|
|
1750
1750
|
return {
|
|
1751
|
-
cpuUtilizationPercentage: smithy_client_1.expectInt32(output.cpuUtilizationPercentage),
|
|
1751
|
+
cpuUtilizationPercentage: (0, smithy_client_1.expectInt32)(output.cpuUtilizationPercentage),
|
|
1752
1752
|
};
|
|
1753
1753
|
};
|
|
1754
1754
|
const deserializeAws_restJson1StateDescription = (output, context) => {
|
|
1755
1755
|
return {
|
|
1756
|
-
code: smithy_client_1.expectString(output.code),
|
|
1757
|
-
message: smithy_client_1.expectString(output.message),
|
|
1756
|
+
code: (0, smithy_client_1.expectString)(output.code),
|
|
1757
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1758
1758
|
};
|
|
1759
1759
|
};
|
|
1760
1760
|
const deserializeAws_restJson1VpcDescription = (output, context) => {
|
|
@@ -1769,40 +1769,40 @@ const deserializeAws_restJson1VpcDescription = (output, context) => {
|
|
|
1769
1769
|
};
|
|
1770
1770
|
const deserializeAws_restJson1WorkerConfigurationDescription = (output, context) => {
|
|
1771
1771
|
return {
|
|
1772
|
-
revision: smithy_client_1.expectLong(output.revision),
|
|
1773
|
-
workerConfigurationArn: smithy_client_1.expectString(output.workerConfigurationArn),
|
|
1772
|
+
revision: (0, smithy_client_1.expectLong)(output.revision),
|
|
1773
|
+
workerConfigurationArn: (0, smithy_client_1.expectString)(output.workerConfigurationArn),
|
|
1774
1774
|
};
|
|
1775
1775
|
};
|
|
1776
1776
|
const deserializeAws_restJson1WorkerConfigurationRevisionDescription = (output, context) => {
|
|
1777
1777
|
return {
|
|
1778
1778
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
1779
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
1779
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1780
1780
|
: undefined,
|
|
1781
|
-
description: smithy_client_1.expectString(output.description),
|
|
1782
|
-
propertiesFileContent: smithy_client_1.expectString(output.propertiesFileContent),
|
|
1783
|
-
revision: smithy_client_1.expectLong(output.revision),
|
|
1781
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
1782
|
+
propertiesFileContent: (0, smithy_client_1.expectString)(output.propertiesFileContent),
|
|
1783
|
+
revision: (0, smithy_client_1.expectLong)(output.revision),
|
|
1784
1784
|
};
|
|
1785
1785
|
};
|
|
1786
1786
|
const deserializeAws_restJson1WorkerConfigurationRevisionSummary = (output, context) => {
|
|
1787
1787
|
return {
|
|
1788
1788
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
1789
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
1789
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1790
1790
|
: undefined,
|
|
1791
|
-
description: smithy_client_1.expectString(output.description),
|
|
1792
|
-
revision: smithy_client_1.expectLong(output.revision),
|
|
1791
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
1792
|
+
revision: (0, smithy_client_1.expectLong)(output.revision),
|
|
1793
1793
|
};
|
|
1794
1794
|
};
|
|
1795
1795
|
const deserializeAws_restJson1WorkerConfigurationSummary = (output, context) => {
|
|
1796
1796
|
return {
|
|
1797
1797
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
1798
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
1798
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
1799
1799
|
: undefined,
|
|
1800
|
-
description: smithy_client_1.expectString(output.description),
|
|
1800
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
1801
1801
|
latestRevision: output.latestRevision !== undefined && output.latestRevision !== null
|
|
1802
1802
|
? deserializeAws_restJson1WorkerConfigurationRevisionSummary(output.latestRevision, context)
|
|
1803
1803
|
: undefined,
|
|
1804
|
-
name: smithy_client_1.expectString(output.name),
|
|
1805
|
-
workerConfigurationArn: smithy_client_1.expectString(output.workerConfigurationArn),
|
|
1804
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1805
|
+
workerConfigurationArn: (0, smithy_client_1.expectString)(output.workerConfigurationArn),
|
|
1806
1806
|
};
|
|
1807
1807
|
};
|
|
1808
1808
|
const deserializeAws_restJson1WorkerLogDeliveryDescription = (output, context) => {
|