@aws-sdk/client-mq 3.28.0 → 3.32.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 +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +37 -31
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +118 -80
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +44 -32
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mq",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mq Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,39 +27,39 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0",
|
|
59
59
|
"uuid": "^8.3.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
62
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
63
63
|
"@types/node": "^12.7.5",
|
|
64
64
|
"@types/uuid": "^8.3.0",
|
|
65
65
|
"downlevel-dts": "0.7.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"rimraf": "^3.0.0",
|
|
68
68
|
"ts-jest": "^26.4.1",
|
|
69
69
|
"typedoc": "^0.19.2",
|
|
70
|
-
"typescript": "~4.3.
|
|
70
|
+
"typescript": "~4.3.5"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=10.0.0"
|
|
@@ -74,9 +74,12 @@ import {
|
|
|
74
74
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
75
75
|
import {
|
|
76
76
|
expectBoolean as __expectBoolean,
|
|
77
|
-
|
|
77
|
+
expectInt32 as __expectInt32,
|
|
78
|
+
expectNonNull as __expectNonNull,
|
|
79
|
+
expectObject as __expectObject,
|
|
78
80
|
expectString as __expectString,
|
|
79
81
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
82
|
+
parseRfc3339DateTime as __parseRfc3339DateTime,
|
|
80
83
|
} from "@aws-sdk/smithy-client";
|
|
81
84
|
import {
|
|
82
85
|
Endpoint as __Endpoint,
|
|
@@ -870,7 +873,7 @@ export const deserializeAws_restJson1CreateBrokerCommand = async (
|
|
|
870
873
|
BrokerArn: undefined,
|
|
871
874
|
BrokerId: undefined,
|
|
872
875
|
};
|
|
873
|
-
const data: any = await parseBody(output.body, context);
|
|
876
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
874
877
|
if (data.brokerArn !== undefined && data.brokerArn !== null) {
|
|
875
878
|
contents.BrokerArn = __expectString(data.brokerArn);
|
|
876
879
|
}
|
|
@@ -965,7 +968,7 @@ export const deserializeAws_restJson1CreateConfigurationCommand = async (
|
|
|
965
968
|
LatestRevision: undefined,
|
|
966
969
|
Name: undefined,
|
|
967
970
|
};
|
|
968
|
-
const data: any = await parseBody(output.body, context);
|
|
971
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
969
972
|
if (data.arn !== undefined && data.arn !== null) {
|
|
970
973
|
contents.Arn = __expectString(data.arn);
|
|
971
974
|
}
|
|
@@ -973,7 +976,7 @@ export const deserializeAws_restJson1CreateConfigurationCommand = async (
|
|
|
973
976
|
contents.AuthenticationStrategy = __expectString(data.authenticationStrategy);
|
|
974
977
|
}
|
|
975
978
|
if (data.created !== undefined && data.created !== null) {
|
|
976
|
-
contents.Created =
|
|
979
|
+
contents.Created = __expectNonNull(__parseRfc3339DateTime(data.created));
|
|
977
980
|
}
|
|
978
981
|
if (data.id !== undefined && data.id !== null) {
|
|
979
982
|
contents.Id = __expectString(data.id);
|
|
@@ -1217,7 +1220,7 @@ export const deserializeAws_restJson1DeleteBrokerCommand = async (
|
|
|
1217
1220
|
$metadata: deserializeMetadata(output),
|
|
1218
1221
|
BrokerId: undefined,
|
|
1219
1222
|
};
|
|
1220
|
-
const data: any = await parseBody(output.body, context);
|
|
1223
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1221
1224
|
if (data.brokerId !== undefined && data.brokerId !== null) {
|
|
1222
1225
|
contents.BrokerId = __expectString(data.brokerId);
|
|
1223
1226
|
}
|
|
@@ -1473,7 +1476,7 @@ export const deserializeAws_restJson1DescribeBrokerCommand = async (
|
|
|
1473
1476
|
Tags: undefined,
|
|
1474
1477
|
Users: undefined,
|
|
1475
1478
|
};
|
|
1476
|
-
const data: any = await parseBody(output.body, context);
|
|
1479
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1477
1480
|
if (data.authenticationStrategy !== undefined && data.authenticationStrategy !== null) {
|
|
1478
1481
|
contents.AuthenticationStrategy = __expectString(data.authenticationStrategy);
|
|
1479
1482
|
}
|
|
@@ -1499,7 +1502,7 @@ export const deserializeAws_restJson1DescribeBrokerCommand = async (
|
|
|
1499
1502
|
contents.Configurations = deserializeAws_restJson1Configurations(data.configurations, context);
|
|
1500
1503
|
}
|
|
1501
1504
|
if (data.created !== undefined && data.created !== null) {
|
|
1502
|
-
contents.Created =
|
|
1505
|
+
contents.Created = __expectNonNull(__parseRfc3339DateTime(data.created));
|
|
1503
1506
|
}
|
|
1504
1507
|
if (data.deploymentMode !== undefined && data.deploymentMode !== null) {
|
|
1505
1508
|
contents.DeploymentMode = __expectString(data.deploymentMode);
|
|
@@ -1641,12 +1644,12 @@ export const deserializeAws_restJson1DescribeBrokerEngineTypesCommand = async (
|
|
|
1641
1644
|
MaxResults: undefined,
|
|
1642
1645
|
NextToken: undefined,
|
|
1643
1646
|
};
|
|
1644
|
-
const data: any = await parseBody(output.body, context);
|
|
1647
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1645
1648
|
if (data.brokerEngineTypes !== undefined && data.brokerEngineTypes !== null) {
|
|
1646
1649
|
contents.BrokerEngineTypes = deserializeAws_restJson1__listOfBrokerEngineType(data.brokerEngineTypes, context);
|
|
1647
1650
|
}
|
|
1648
1651
|
if (data.maxResults !== undefined && data.maxResults !== null) {
|
|
1649
|
-
contents.MaxResults =
|
|
1652
|
+
contents.MaxResults = __expectInt32(data.maxResults);
|
|
1650
1653
|
}
|
|
1651
1654
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1652
1655
|
contents.NextToken = __expectString(data.nextToken);
|
|
@@ -1720,7 +1723,7 @@ export const deserializeAws_restJson1DescribeBrokerInstanceOptionsCommand = asyn
|
|
|
1720
1723
|
MaxResults: undefined,
|
|
1721
1724
|
NextToken: undefined,
|
|
1722
1725
|
};
|
|
1723
|
-
const data: any = await parseBody(output.body, context);
|
|
1726
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1724
1727
|
if (data.brokerInstanceOptions !== undefined && data.brokerInstanceOptions !== null) {
|
|
1725
1728
|
contents.BrokerInstanceOptions = deserializeAws_restJson1__listOfBrokerInstanceOption(
|
|
1726
1729
|
data.brokerInstanceOptions,
|
|
@@ -1728,7 +1731,7 @@ export const deserializeAws_restJson1DescribeBrokerInstanceOptionsCommand = asyn
|
|
|
1728
1731
|
);
|
|
1729
1732
|
}
|
|
1730
1733
|
if (data.maxResults !== undefined && data.maxResults !== null) {
|
|
1731
|
-
contents.MaxResults =
|
|
1734
|
+
contents.MaxResults = __expectInt32(data.maxResults);
|
|
1732
1735
|
}
|
|
1733
1736
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1734
1737
|
contents.NextToken = __expectString(data.nextToken);
|
|
@@ -1809,7 +1812,7 @@ export const deserializeAws_restJson1DescribeConfigurationCommand = async (
|
|
|
1809
1812
|
Name: undefined,
|
|
1810
1813
|
Tags: undefined,
|
|
1811
1814
|
};
|
|
1812
|
-
const data: any = await parseBody(output.body, context);
|
|
1815
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1813
1816
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1814
1817
|
contents.Arn = __expectString(data.arn);
|
|
1815
1818
|
}
|
|
@@ -1817,7 +1820,7 @@ export const deserializeAws_restJson1DescribeConfigurationCommand = async (
|
|
|
1817
1820
|
contents.AuthenticationStrategy = __expectString(data.authenticationStrategy);
|
|
1818
1821
|
}
|
|
1819
1822
|
if (data.created !== undefined && data.created !== null) {
|
|
1820
|
-
contents.Created =
|
|
1823
|
+
contents.Created = __expectNonNull(__parseRfc3339DateTime(data.created));
|
|
1821
1824
|
}
|
|
1822
1825
|
if (data.description !== undefined && data.description !== null) {
|
|
1823
1826
|
contents.Description = __expectString(data.description);
|
|
@@ -1918,12 +1921,12 @@ export const deserializeAws_restJson1DescribeConfigurationRevisionCommand = asyn
|
|
|
1918
1921
|
Data: undefined,
|
|
1919
1922
|
Description: undefined,
|
|
1920
1923
|
};
|
|
1921
|
-
const data: any = await parseBody(output.body, context);
|
|
1924
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1922
1925
|
if (data.configurationId !== undefined && data.configurationId !== null) {
|
|
1923
1926
|
contents.ConfigurationId = __expectString(data.configurationId);
|
|
1924
1927
|
}
|
|
1925
1928
|
if (data.created !== undefined && data.created !== null) {
|
|
1926
|
-
contents.Created =
|
|
1929
|
+
contents.Created = __expectNonNull(__parseRfc3339DateTime(data.created));
|
|
1927
1930
|
}
|
|
1928
1931
|
if (data.data !== undefined && data.data !== null) {
|
|
1929
1932
|
contents.Data = __expectString(data.data);
|
|
@@ -2010,7 +2013,7 @@ export const deserializeAws_restJson1DescribeUserCommand = async (
|
|
|
2010
2013
|
Pending: undefined,
|
|
2011
2014
|
Username: undefined,
|
|
2012
2015
|
};
|
|
2013
|
-
const data: any = await parseBody(output.body, context);
|
|
2016
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2014
2017
|
if (data.brokerId !== undefined && data.brokerId !== null) {
|
|
2015
2018
|
contents.BrokerId = __expectString(data.brokerId);
|
|
2016
2019
|
}
|
|
@@ -2102,7 +2105,7 @@ export const deserializeAws_restJson1ListBrokersCommand = async (
|
|
|
2102
2105
|
BrokerSummaries: undefined,
|
|
2103
2106
|
NextToken: undefined,
|
|
2104
2107
|
};
|
|
2105
|
-
const data: any = await parseBody(output.body, context);
|
|
2108
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2106
2109
|
if (data.brokerSummaries !== undefined && data.brokerSummaries !== null) {
|
|
2107
2110
|
contents.BrokerSummaries = deserializeAws_restJson1__listOfBrokerSummary(data.brokerSummaries, context);
|
|
2108
2111
|
}
|
|
@@ -2179,12 +2182,12 @@ export const deserializeAws_restJson1ListConfigurationRevisionsCommand = async (
|
|
|
2179
2182
|
NextToken: undefined,
|
|
2180
2183
|
Revisions: undefined,
|
|
2181
2184
|
};
|
|
2182
|
-
const data: any = await parseBody(output.body, context);
|
|
2185
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2183
2186
|
if (data.configurationId !== undefined && data.configurationId !== null) {
|
|
2184
2187
|
contents.ConfigurationId = __expectString(data.configurationId);
|
|
2185
2188
|
}
|
|
2186
2189
|
if (data.maxResults !== undefined && data.maxResults !== null) {
|
|
2187
|
-
contents.MaxResults =
|
|
2190
|
+
contents.MaxResults = __expectInt32(data.maxResults);
|
|
2188
2191
|
}
|
|
2189
2192
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2190
2193
|
contents.NextToken = __expectString(data.nextToken);
|
|
@@ -2269,12 +2272,12 @@ export const deserializeAws_restJson1ListConfigurationsCommand = async (
|
|
|
2269
2272
|
MaxResults: undefined,
|
|
2270
2273
|
NextToken: undefined,
|
|
2271
2274
|
};
|
|
2272
|
-
const data: any = await parseBody(output.body, context);
|
|
2275
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2273
2276
|
if (data.configurations !== undefined && data.configurations !== null) {
|
|
2274
2277
|
contents.Configurations = deserializeAws_restJson1__listOfConfiguration(data.configurations, context);
|
|
2275
2278
|
}
|
|
2276
2279
|
if (data.maxResults !== undefined && data.maxResults !== null) {
|
|
2277
|
-
contents.MaxResults =
|
|
2280
|
+
contents.MaxResults = __expectInt32(data.maxResults);
|
|
2278
2281
|
}
|
|
2279
2282
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2280
2283
|
contents.NextToken = __expectString(data.nextToken);
|
|
@@ -2346,7 +2349,7 @@ export const deserializeAws_restJson1ListTagsCommand = async (
|
|
|
2346
2349
|
$metadata: deserializeMetadata(output),
|
|
2347
2350
|
Tags: undefined,
|
|
2348
2351
|
};
|
|
2349
|
-
const data: any = await parseBody(output.body, context);
|
|
2352
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2350
2353
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2351
2354
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
2352
2355
|
}
|
|
@@ -2428,12 +2431,12 @@ export const deserializeAws_restJson1ListUsersCommand = async (
|
|
|
2428
2431
|
NextToken: undefined,
|
|
2429
2432
|
Users: undefined,
|
|
2430
2433
|
};
|
|
2431
|
-
const data: any = await parseBody(output.body, context);
|
|
2434
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2432
2435
|
if (data.brokerId !== undefined && data.brokerId !== null) {
|
|
2433
2436
|
contents.BrokerId = __expectString(data.brokerId);
|
|
2434
2437
|
}
|
|
2435
2438
|
if (data.maxResults !== undefined && data.maxResults !== null) {
|
|
2436
|
-
contents.MaxResults =
|
|
2439
|
+
contents.MaxResults = __expectInt32(data.maxResults);
|
|
2437
2440
|
}
|
|
2438
2441
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2439
2442
|
contents.NextToken = __expectString(data.nextToken);
|
|
@@ -2600,7 +2603,7 @@ export const deserializeAws_restJson1UpdateBrokerCommand = async (
|
|
|
2600
2603
|
MaintenanceWindowStartTime: undefined,
|
|
2601
2604
|
SecurityGroups: undefined,
|
|
2602
2605
|
};
|
|
2603
|
-
const data: any = await parseBody(output.body, context);
|
|
2606
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2604
2607
|
if (data.authenticationStrategy !== undefined && data.authenticationStrategy !== null) {
|
|
2605
2608
|
contents.AuthenticationStrategy = __expectString(data.authenticationStrategy);
|
|
2606
2609
|
}
|
|
@@ -2722,12 +2725,12 @@ export const deserializeAws_restJson1UpdateConfigurationCommand = async (
|
|
|
2722
2725
|
Name: undefined,
|
|
2723
2726
|
Warnings: undefined,
|
|
2724
2727
|
};
|
|
2725
|
-
const data: any = await parseBody(output.body, context);
|
|
2728
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2726
2729
|
if (data.arn !== undefined && data.arn !== null) {
|
|
2727
2730
|
contents.Arn = __expectString(data.arn);
|
|
2728
2731
|
}
|
|
2729
2732
|
if (data.created !== undefined && data.created !== null) {
|
|
2730
|
-
contents.Created =
|
|
2733
|
+
contents.Created = __expectNonNull(__parseRfc3339DateTime(data.created));
|
|
2731
2734
|
}
|
|
2732
2735
|
if (data.id !== undefined && data.id !== null) {
|
|
2733
2736
|
contents.Id = __expectString(data.id);
|
|
@@ -3342,7 +3345,10 @@ const deserializeAws_restJson1BrokerSummary = (output: any, context: __SerdeCont
|
|
|
3342
3345
|
BrokerId: __expectString(output.brokerId),
|
|
3343
3346
|
BrokerName: __expectString(output.brokerName),
|
|
3344
3347
|
BrokerState: __expectString(output.brokerState),
|
|
3345
|
-
Created:
|
|
3348
|
+
Created:
|
|
3349
|
+
output.created !== undefined && output.created !== null
|
|
3350
|
+
? __expectNonNull(__parseRfc3339DateTime(output.created))
|
|
3351
|
+
: undefined,
|
|
3346
3352
|
DeploymentMode: __expectString(output.deploymentMode),
|
|
3347
3353
|
EngineType: __expectString(output.engineType),
|
|
3348
3354
|
HostInstanceType: __expectString(output.hostInstanceType),
|
|
@@ -3353,7 +3359,10 @@ const deserializeAws_restJson1Configuration = (output: any, context: __SerdeCont
|
|
|
3353
3359
|
return {
|
|
3354
3360
|
Arn: __expectString(output.arn),
|
|
3355
3361
|
AuthenticationStrategy: __expectString(output.authenticationStrategy),
|
|
3356
|
-
Created:
|
|
3362
|
+
Created:
|
|
3363
|
+
output.created !== undefined && output.created !== null
|
|
3364
|
+
? __expectNonNull(__parseRfc3339DateTime(output.created))
|
|
3365
|
+
: undefined,
|
|
3357
3366
|
Description: __expectString(output.description),
|
|
3358
3367
|
EngineType: __expectString(output.engineType),
|
|
3359
3368
|
EngineVersion: __expectString(output.engineVersion),
|
|
@@ -3373,15 +3382,18 @@ const deserializeAws_restJson1Configuration = (output: any, context: __SerdeCont
|
|
|
3373
3382
|
const deserializeAws_restJson1ConfigurationId = (output: any, context: __SerdeContext): ConfigurationId => {
|
|
3374
3383
|
return {
|
|
3375
3384
|
Id: __expectString(output.id),
|
|
3376
|
-
Revision:
|
|
3385
|
+
Revision: __expectInt32(output.revision),
|
|
3377
3386
|
} as any;
|
|
3378
3387
|
};
|
|
3379
3388
|
|
|
3380
3389
|
const deserializeAws_restJson1ConfigurationRevision = (output: any, context: __SerdeContext): ConfigurationRevision => {
|
|
3381
3390
|
return {
|
|
3382
|
-
Created:
|
|
3391
|
+
Created:
|
|
3392
|
+
output.created !== undefined && output.created !== null
|
|
3393
|
+
? __expectNonNull(__parseRfc3339DateTime(output.created))
|
|
3394
|
+
: undefined,
|
|
3383
3395
|
Description: __expectString(output.description),
|
|
3384
|
-
Revision:
|
|
3396
|
+
Revision: __expectInt32(output.revision),
|
|
3385
3397
|
} as any;
|
|
3386
3398
|
};
|
|
3387
3399
|
|