@aws-sdk/client-kafkaconnect 3.259.0 → 3.262.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.
|
@@ -408,7 +408,7 @@ const deserializeAws_restJson1CreateWorkerConfigurationCommand = async (output,
|
|
|
408
408
|
});
|
|
409
409
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
410
410
|
if (data.creationTime != null) {
|
|
411
|
-
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
411
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.creationTime));
|
|
412
412
|
}
|
|
413
413
|
if (data.latestRevision != null) {
|
|
414
414
|
contents.latestRevision = deserializeAws_restJson1WorkerConfigurationRevisionSummary(data.latestRevision, context);
|
|
@@ -600,7 +600,7 @@ const deserializeAws_restJson1DescribeConnectorCommand = async (output, context)
|
|
|
600
600
|
contents.connectorState = (0, smithy_client_1.expectString)(data.connectorState);
|
|
601
601
|
}
|
|
602
602
|
if (data.creationTime != null) {
|
|
603
|
-
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
603
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.creationTime));
|
|
604
604
|
}
|
|
605
605
|
if (data.currentVersion != null) {
|
|
606
606
|
contents.currentVersion = (0, smithy_client_1.expectString)(data.currentVersion);
|
|
@@ -682,7 +682,7 @@ const deserializeAws_restJson1DescribeCustomPluginCommand = async (output, conte
|
|
|
682
682
|
});
|
|
683
683
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
684
684
|
if (data.creationTime != null) {
|
|
685
|
-
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
685
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.creationTime));
|
|
686
686
|
}
|
|
687
687
|
if (data.customPluginArn != null) {
|
|
688
688
|
contents.customPluginArn = (0, smithy_client_1.expectString)(data.customPluginArn);
|
|
@@ -752,7 +752,7 @@ const deserializeAws_restJson1DescribeWorkerConfigurationCommand = async (output
|
|
|
752
752
|
});
|
|
753
753
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
754
754
|
if (data.creationTime != null) {
|
|
755
|
-
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
755
|
+
contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.creationTime));
|
|
756
756
|
}
|
|
757
757
|
if (data.description != null) {
|
|
758
758
|
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
@@ -1426,7 +1426,7 @@ const deserializeAws_restJson1ConnectorSummary = (output, context) => {
|
|
|
1426
1426
|
connectorDescription: (0, smithy_client_1.expectString)(output.connectorDescription),
|
|
1427
1427
|
connectorName: (0, smithy_client_1.expectString)(output.connectorName),
|
|
1428
1428
|
connectorState: (0, smithy_client_1.expectString)(output.connectorState),
|
|
1429
|
-
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1429
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
|
|
1430
1430
|
currentVersion: (0, smithy_client_1.expectString)(output.currentVersion),
|
|
1431
1431
|
kafkaCluster: output.kafkaCluster != null
|
|
1432
1432
|
? deserializeAws_restJson1KafkaClusterDescription(output.kafkaCluster, context)
|
|
@@ -1468,7 +1468,7 @@ const deserializeAws_restJson1CustomPluginLocationDescription = (output, context
|
|
|
1468
1468
|
const deserializeAws_restJson1CustomPluginRevisionSummary = (output, context) => {
|
|
1469
1469
|
return {
|
|
1470
1470
|
contentType: (0, smithy_client_1.expectString)(output.contentType),
|
|
1471
|
-
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1471
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
|
|
1472
1472
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1473
1473
|
fileDescription: output.fileDescription != null
|
|
1474
1474
|
? deserializeAws_restJson1CustomPluginFileDescription(output.fileDescription, context)
|
|
@@ -1481,7 +1481,7 @@ const deserializeAws_restJson1CustomPluginRevisionSummary = (output, context) =>
|
|
|
1481
1481
|
};
|
|
1482
1482
|
const deserializeAws_restJson1CustomPluginSummary = (output, context) => {
|
|
1483
1483
|
return {
|
|
1484
|
-
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1484
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
|
|
1485
1485
|
customPluginArn: (0, smithy_client_1.expectString)(output.customPluginArn),
|
|
1486
1486
|
customPluginState: (0, smithy_client_1.expectString)(output.customPluginState),
|
|
1487
1487
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
@@ -1580,7 +1580,7 @@ const deserializeAws_restJson1WorkerConfigurationDescription = (output, context)
|
|
|
1580
1580
|
};
|
|
1581
1581
|
const deserializeAws_restJson1WorkerConfigurationRevisionDescription = (output, context) => {
|
|
1582
1582
|
return {
|
|
1583
|
-
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1583
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
|
|
1584
1584
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1585
1585
|
propertiesFileContent: (0, smithy_client_1.expectString)(output.propertiesFileContent),
|
|
1586
1586
|
revision: (0, smithy_client_1.expectLong)(output.revision),
|
|
@@ -1588,14 +1588,14 @@ const deserializeAws_restJson1WorkerConfigurationRevisionDescription = (output,
|
|
|
1588
1588
|
};
|
|
1589
1589
|
const deserializeAws_restJson1WorkerConfigurationRevisionSummary = (output, context) => {
|
|
1590
1590
|
return {
|
|
1591
|
-
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1591
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
|
|
1592
1592
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1593
1593
|
revision: (0, smithy_client_1.expectLong)(output.revision),
|
|
1594
1594
|
};
|
|
1595
1595
|
};
|
|
1596
1596
|
const deserializeAws_restJson1WorkerConfigurationSummary = (output, context) => {
|
|
1597
1597
|
return {
|
|
1598
|
-
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1598
|
+
creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
|
|
1599
1599
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
1600
1600
|
latestRevision: output.latestRevision != null
|
|
1601
1601
|
? deserializeAws_restJson1WorkerConfigurationRevisionSummary(output.latestRevision, context)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { KafkaConnectServiceException as __BaseException } from "../models/KafkaConnectServiceException";
|
|
4
4
|
import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, } from "../models/models_0";
|
|
5
5
|
export const serializeAws_restJson1CreateConnectorCommand = async (input, context) => {
|
|
@@ -391,7 +391,7 @@ export const deserializeAws_restJson1CreateWorkerConfigurationCommand = async (o
|
|
|
391
391
|
});
|
|
392
392
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
393
393
|
if (data.creationTime != null) {
|
|
394
|
-
contents.creationTime = __expectNonNull(
|
|
394
|
+
contents.creationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.creationTime));
|
|
395
395
|
}
|
|
396
396
|
if (data.latestRevision != null) {
|
|
397
397
|
contents.latestRevision = deserializeAws_restJson1WorkerConfigurationRevisionSummary(data.latestRevision, context);
|
|
@@ -580,7 +580,7 @@ export const deserializeAws_restJson1DescribeConnectorCommand = async (output, c
|
|
|
580
580
|
contents.connectorState = __expectString(data.connectorState);
|
|
581
581
|
}
|
|
582
582
|
if (data.creationTime != null) {
|
|
583
|
-
contents.creationTime = __expectNonNull(
|
|
583
|
+
contents.creationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.creationTime));
|
|
584
584
|
}
|
|
585
585
|
if (data.currentVersion != null) {
|
|
586
586
|
contents.currentVersion = __expectString(data.currentVersion);
|
|
@@ -661,7 +661,7 @@ export const deserializeAws_restJson1DescribeCustomPluginCommand = async (output
|
|
|
661
661
|
});
|
|
662
662
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
663
663
|
if (data.creationTime != null) {
|
|
664
|
-
contents.creationTime = __expectNonNull(
|
|
664
|
+
contents.creationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.creationTime));
|
|
665
665
|
}
|
|
666
666
|
if (data.customPluginArn != null) {
|
|
667
667
|
contents.customPluginArn = __expectString(data.customPluginArn);
|
|
@@ -730,7 +730,7 @@ export const deserializeAws_restJson1DescribeWorkerConfigurationCommand = async
|
|
|
730
730
|
});
|
|
731
731
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
732
732
|
if (data.creationTime != null) {
|
|
733
|
-
contents.creationTime = __expectNonNull(
|
|
733
|
+
contents.creationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.creationTime));
|
|
734
734
|
}
|
|
735
735
|
if (data.description != null) {
|
|
736
736
|
contents.description = __expectString(data.description);
|
|
@@ -1399,7 +1399,7 @@ const deserializeAws_restJson1ConnectorSummary = (output, context) => {
|
|
|
1399
1399
|
connectorDescription: __expectString(output.connectorDescription),
|
|
1400
1400
|
connectorName: __expectString(output.connectorName),
|
|
1401
1401
|
connectorState: __expectString(output.connectorState),
|
|
1402
|
-
creationTime: output.creationTime != null ? __expectNonNull(
|
|
1402
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
|
|
1403
1403
|
currentVersion: __expectString(output.currentVersion),
|
|
1404
1404
|
kafkaCluster: output.kafkaCluster != null
|
|
1405
1405
|
? deserializeAws_restJson1KafkaClusterDescription(output.kafkaCluster, context)
|
|
@@ -1441,7 +1441,7 @@ const deserializeAws_restJson1CustomPluginLocationDescription = (output, context
|
|
|
1441
1441
|
const deserializeAws_restJson1CustomPluginRevisionSummary = (output, context) => {
|
|
1442
1442
|
return {
|
|
1443
1443
|
contentType: __expectString(output.contentType),
|
|
1444
|
-
creationTime: output.creationTime != null ? __expectNonNull(
|
|
1444
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
|
|
1445
1445
|
description: __expectString(output.description),
|
|
1446
1446
|
fileDescription: output.fileDescription != null
|
|
1447
1447
|
? deserializeAws_restJson1CustomPluginFileDescription(output.fileDescription, context)
|
|
@@ -1454,7 +1454,7 @@ const deserializeAws_restJson1CustomPluginRevisionSummary = (output, context) =>
|
|
|
1454
1454
|
};
|
|
1455
1455
|
const deserializeAws_restJson1CustomPluginSummary = (output, context) => {
|
|
1456
1456
|
return {
|
|
1457
|
-
creationTime: output.creationTime != null ? __expectNonNull(
|
|
1457
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
|
|
1458
1458
|
customPluginArn: __expectString(output.customPluginArn),
|
|
1459
1459
|
customPluginState: __expectString(output.customPluginState),
|
|
1460
1460
|
description: __expectString(output.description),
|
|
@@ -1553,7 +1553,7 @@ const deserializeAws_restJson1WorkerConfigurationDescription = (output, context)
|
|
|
1553
1553
|
};
|
|
1554
1554
|
const deserializeAws_restJson1WorkerConfigurationRevisionDescription = (output, context) => {
|
|
1555
1555
|
return {
|
|
1556
|
-
creationTime: output.creationTime != null ? __expectNonNull(
|
|
1556
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
|
|
1557
1557
|
description: __expectString(output.description),
|
|
1558
1558
|
propertiesFileContent: __expectString(output.propertiesFileContent),
|
|
1559
1559
|
revision: __expectLong(output.revision),
|
|
@@ -1561,14 +1561,14 @@ const deserializeAws_restJson1WorkerConfigurationRevisionDescription = (output,
|
|
|
1561
1561
|
};
|
|
1562
1562
|
const deserializeAws_restJson1WorkerConfigurationRevisionSummary = (output, context) => {
|
|
1563
1563
|
return {
|
|
1564
|
-
creationTime: output.creationTime != null ? __expectNonNull(
|
|
1564
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
|
|
1565
1565
|
description: __expectString(output.description),
|
|
1566
1566
|
revision: __expectLong(output.revision),
|
|
1567
1567
|
};
|
|
1568
1568
|
};
|
|
1569
1569
|
const deserializeAws_restJson1WorkerConfigurationSummary = (output, context) => {
|
|
1570
1570
|
return {
|
|
1571
|
-
creationTime: output.creationTime != null ? __expectNonNull(
|
|
1571
|
+
creationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
|
|
1572
1572
|
description: __expectString(output.description),
|
|
1573
1573
|
latestRevision: output.latestRevision != null
|
|
1574
1574
|
? deserializeAws_restJson1WorkerConfigurationRevisionSummary(output.latestRevision, context)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafkaconnect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kafkaconnect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.262.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.262.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.261.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.257.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@aws-sdk/node-config-provider": "3.259.0",
|
|
40
40
|
"@aws-sdk/node-http-handler": "3.257.0",
|
|
41
41
|
"@aws-sdk/protocol-http": "3.257.0",
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
+
"@aws-sdk/smithy-client": "3.261.0",
|
|
43
43
|
"@aws-sdk/types": "3.257.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.257.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.261.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.261.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.257.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.257.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.257.0",
|