@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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-mq
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-mq
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-mq
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-mq
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
39
|
|
|
8
40
|
|
package/dist/cjs/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"
|
|
@@ -729,7 +729,7 @@ const deserializeAws_restJson1CreateBrokerCommand = async (output, context) => {
|
|
|
729
729
|
BrokerArn: undefined,
|
|
730
730
|
BrokerId: undefined,
|
|
731
731
|
};
|
|
732
|
-
const data = await parseBody(output.body, context);
|
|
732
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
733
733
|
if (data.brokerArn !== undefined && data.brokerArn !== null) {
|
|
734
734
|
contents.BrokerArn = smithy_client_1.expectString(data.brokerArn);
|
|
735
735
|
}
|
|
@@ -817,7 +817,7 @@ const deserializeAws_restJson1CreateConfigurationCommand = async (output, contex
|
|
|
817
817
|
LatestRevision: undefined,
|
|
818
818
|
Name: undefined,
|
|
819
819
|
};
|
|
820
|
-
const data = await parseBody(output.body, context);
|
|
820
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
821
821
|
if (data.arn !== undefined && data.arn !== null) {
|
|
822
822
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
823
823
|
}
|
|
@@ -825,7 +825,7 @@ const deserializeAws_restJson1CreateConfigurationCommand = async (output, contex
|
|
|
825
825
|
contents.AuthenticationStrategy = smithy_client_1.expectString(data.authenticationStrategy);
|
|
826
826
|
}
|
|
827
827
|
if (data.created !== undefined && data.created !== null) {
|
|
828
|
-
contents.Created =
|
|
828
|
+
contents.Created = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.created));
|
|
829
829
|
}
|
|
830
830
|
if (data.id !== undefined && data.id !== null) {
|
|
831
831
|
contents.Id = smithy_client_1.expectString(data.id);
|
|
@@ -1048,7 +1048,7 @@ const deserializeAws_restJson1DeleteBrokerCommand = async (output, context) => {
|
|
|
1048
1048
|
$metadata: deserializeMetadata(output),
|
|
1049
1049
|
BrokerId: undefined,
|
|
1050
1050
|
};
|
|
1051
|
-
const data = await parseBody(output.body, context);
|
|
1051
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1052
1052
|
if (data.brokerId !== undefined && data.brokerId !== null) {
|
|
1053
1053
|
contents.BrokerId = smithy_client_1.expectString(data.brokerId);
|
|
1054
1054
|
}
|
|
@@ -1283,7 +1283,7 @@ const deserializeAws_restJson1DescribeBrokerCommand = async (output, context) =>
|
|
|
1283
1283
|
Tags: undefined,
|
|
1284
1284
|
Users: undefined,
|
|
1285
1285
|
};
|
|
1286
|
-
const data = await parseBody(output.body, context);
|
|
1286
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1287
1287
|
if (data.authenticationStrategy !== undefined && data.authenticationStrategy !== null) {
|
|
1288
1288
|
contents.AuthenticationStrategy = smithy_client_1.expectString(data.authenticationStrategy);
|
|
1289
1289
|
}
|
|
@@ -1309,7 +1309,7 @@ const deserializeAws_restJson1DescribeBrokerCommand = async (output, context) =>
|
|
|
1309
1309
|
contents.Configurations = deserializeAws_restJson1Configurations(data.configurations, context);
|
|
1310
1310
|
}
|
|
1311
1311
|
if (data.created !== undefined && data.created !== null) {
|
|
1312
|
-
contents.Created =
|
|
1312
|
+
contents.Created = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.created));
|
|
1313
1313
|
}
|
|
1314
1314
|
if (data.deploymentMode !== undefined && data.deploymentMode !== null) {
|
|
1315
1315
|
contents.DeploymentMode = smithy_client_1.expectString(data.deploymentMode);
|
|
@@ -1438,12 +1438,12 @@ const deserializeAws_restJson1DescribeBrokerEngineTypesCommand = async (output,
|
|
|
1438
1438
|
MaxResults: undefined,
|
|
1439
1439
|
NextToken: undefined,
|
|
1440
1440
|
};
|
|
1441
|
-
const data = await parseBody(output.body, context);
|
|
1441
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1442
1442
|
if (data.brokerEngineTypes !== undefined && data.brokerEngineTypes !== null) {
|
|
1443
1443
|
contents.BrokerEngineTypes = deserializeAws_restJson1__listOfBrokerEngineType(data.brokerEngineTypes, context);
|
|
1444
1444
|
}
|
|
1445
1445
|
if (data.maxResults !== undefined && data.maxResults !== null) {
|
|
1446
|
-
contents.MaxResults = smithy_client_1.
|
|
1446
|
+
contents.MaxResults = smithy_client_1.expectInt32(data.maxResults);
|
|
1447
1447
|
}
|
|
1448
1448
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1449
1449
|
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
@@ -1510,12 +1510,12 @@ const deserializeAws_restJson1DescribeBrokerInstanceOptionsCommand = async (outp
|
|
|
1510
1510
|
MaxResults: undefined,
|
|
1511
1511
|
NextToken: undefined,
|
|
1512
1512
|
};
|
|
1513
|
-
const data = await parseBody(output.body, context);
|
|
1513
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1514
1514
|
if (data.brokerInstanceOptions !== undefined && data.brokerInstanceOptions !== null) {
|
|
1515
1515
|
contents.BrokerInstanceOptions = deserializeAws_restJson1__listOfBrokerInstanceOption(data.brokerInstanceOptions, context);
|
|
1516
1516
|
}
|
|
1517
1517
|
if (data.maxResults !== undefined && data.maxResults !== null) {
|
|
1518
|
-
contents.MaxResults = smithy_client_1.
|
|
1518
|
+
contents.MaxResults = smithy_client_1.expectInt32(data.maxResults);
|
|
1519
1519
|
}
|
|
1520
1520
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1521
1521
|
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
@@ -1589,7 +1589,7 @@ const deserializeAws_restJson1DescribeConfigurationCommand = async (output, cont
|
|
|
1589
1589
|
Name: undefined,
|
|
1590
1590
|
Tags: undefined,
|
|
1591
1591
|
};
|
|
1592
|
-
const data = await parseBody(output.body, context);
|
|
1592
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1593
1593
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1594
1594
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1595
1595
|
}
|
|
@@ -1597,7 +1597,7 @@ const deserializeAws_restJson1DescribeConfigurationCommand = async (output, cont
|
|
|
1597
1597
|
contents.AuthenticationStrategy = smithy_client_1.expectString(data.authenticationStrategy);
|
|
1598
1598
|
}
|
|
1599
1599
|
if (data.created !== undefined && data.created !== null) {
|
|
1600
|
-
contents.Created =
|
|
1600
|
+
contents.Created = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.created));
|
|
1601
1601
|
}
|
|
1602
1602
|
if (data.description !== undefined && data.description !== null) {
|
|
1603
1603
|
contents.Description = smithy_client_1.expectString(data.description);
|
|
@@ -1691,12 +1691,12 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommand = async (outp
|
|
|
1691
1691
|
Data: undefined,
|
|
1692
1692
|
Description: undefined,
|
|
1693
1693
|
};
|
|
1694
|
-
const data = await parseBody(output.body, context);
|
|
1694
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1695
1695
|
if (data.configurationId !== undefined && data.configurationId !== null) {
|
|
1696
1696
|
contents.ConfigurationId = smithy_client_1.expectString(data.configurationId);
|
|
1697
1697
|
}
|
|
1698
1698
|
if (data.created !== undefined && data.created !== null) {
|
|
1699
|
-
contents.Created =
|
|
1699
|
+
contents.Created = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.created));
|
|
1700
1700
|
}
|
|
1701
1701
|
if (data.data !== undefined && data.data !== null) {
|
|
1702
1702
|
contents.Data = smithy_client_1.expectString(data.data);
|
|
@@ -1776,7 +1776,7 @@ const deserializeAws_restJson1DescribeUserCommand = async (output, context) => {
|
|
|
1776
1776
|
Pending: undefined,
|
|
1777
1777
|
Username: undefined,
|
|
1778
1778
|
};
|
|
1779
|
-
const data = await parseBody(output.body, context);
|
|
1779
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1780
1780
|
if (data.brokerId !== undefined && data.brokerId !== null) {
|
|
1781
1781
|
contents.BrokerId = smithy_client_1.expectString(data.brokerId);
|
|
1782
1782
|
}
|
|
@@ -1861,7 +1861,7 @@ const deserializeAws_restJson1ListBrokersCommand = async (output, context) => {
|
|
|
1861
1861
|
BrokerSummaries: undefined,
|
|
1862
1862
|
NextToken: undefined,
|
|
1863
1863
|
};
|
|
1864
|
-
const data = await parseBody(output.body, context);
|
|
1864
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1865
1865
|
if (data.brokerSummaries !== undefined && data.brokerSummaries !== null) {
|
|
1866
1866
|
contents.BrokerSummaries = deserializeAws_restJson1__listOfBrokerSummary(data.brokerSummaries, context);
|
|
1867
1867
|
}
|
|
@@ -1931,12 +1931,12 @@ const deserializeAws_restJson1ListConfigurationRevisionsCommand = async (output,
|
|
|
1931
1931
|
NextToken: undefined,
|
|
1932
1932
|
Revisions: undefined,
|
|
1933
1933
|
};
|
|
1934
|
-
const data = await parseBody(output.body, context);
|
|
1934
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1935
1935
|
if (data.configurationId !== undefined && data.configurationId !== null) {
|
|
1936
1936
|
contents.ConfigurationId = smithy_client_1.expectString(data.configurationId);
|
|
1937
1937
|
}
|
|
1938
1938
|
if (data.maxResults !== undefined && data.maxResults !== null) {
|
|
1939
|
-
contents.MaxResults = smithy_client_1.
|
|
1939
|
+
contents.MaxResults = smithy_client_1.expectInt32(data.maxResults);
|
|
1940
1940
|
}
|
|
1941
1941
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1942
1942
|
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
@@ -2014,12 +2014,12 @@ const deserializeAws_restJson1ListConfigurationsCommand = async (output, context
|
|
|
2014
2014
|
MaxResults: undefined,
|
|
2015
2015
|
NextToken: undefined,
|
|
2016
2016
|
};
|
|
2017
|
-
const data = await parseBody(output.body, context);
|
|
2017
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2018
2018
|
if (data.configurations !== undefined && data.configurations !== null) {
|
|
2019
2019
|
contents.Configurations = deserializeAws_restJson1__listOfConfiguration(data.configurations, context);
|
|
2020
2020
|
}
|
|
2021
2021
|
if (data.maxResults !== undefined && data.maxResults !== null) {
|
|
2022
|
-
contents.MaxResults = smithy_client_1.
|
|
2022
|
+
contents.MaxResults = smithy_client_1.expectInt32(data.maxResults);
|
|
2023
2023
|
}
|
|
2024
2024
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2025
2025
|
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
@@ -2084,7 +2084,7 @@ const deserializeAws_restJson1ListTagsCommand = async (output, context) => {
|
|
|
2084
2084
|
$metadata: deserializeMetadata(output),
|
|
2085
2085
|
Tags: undefined,
|
|
2086
2086
|
};
|
|
2087
|
-
const data = await parseBody(output.body, context);
|
|
2087
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2088
2088
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2089
2089
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
2090
2090
|
}
|
|
@@ -2159,12 +2159,12 @@ const deserializeAws_restJson1ListUsersCommand = async (output, context) => {
|
|
|
2159
2159
|
NextToken: undefined,
|
|
2160
2160
|
Users: undefined,
|
|
2161
2161
|
};
|
|
2162
|
-
const data = await parseBody(output.body, context);
|
|
2162
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2163
2163
|
if (data.brokerId !== undefined && data.brokerId !== null) {
|
|
2164
2164
|
contents.BrokerId = smithy_client_1.expectString(data.brokerId);
|
|
2165
2165
|
}
|
|
2166
2166
|
if (data.maxResults !== undefined && data.maxResults !== null) {
|
|
2167
|
-
contents.MaxResults = smithy_client_1.
|
|
2167
|
+
contents.MaxResults = smithy_client_1.expectInt32(data.maxResults);
|
|
2168
2168
|
}
|
|
2169
2169
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2170
2170
|
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
@@ -2317,7 +2317,7 @@ const deserializeAws_restJson1UpdateBrokerCommand = async (output, context) => {
|
|
|
2317
2317
|
MaintenanceWindowStartTime: undefined,
|
|
2318
2318
|
SecurityGroups: undefined,
|
|
2319
2319
|
};
|
|
2320
|
-
const data = await parseBody(output.body, context);
|
|
2320
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2321
2321
|
if (data.authenticationStrategy !== undefined && data.authenticationStrategy !== null) {
|
|
2322
2322
|
contents.AuthenticationStrategy = smithy_client_1.expectString(data.authenticationStrategy);
|
|
2323
2323
|
}
|
|
@@ -2429,12 +2429,12 @@ const deserializeAws_restJson1UpdateConfigurationCommand = async (output, contex
|
|
|
2429
2429
|
Name: undefined,
|
|
2430
2430
|
Warnings: undefined,
|
|
2431
2431
|
};
|
|
2432
|
-
const data = await parseBody(output.body, context);
|
|
2432
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2433
2433
|
if (data.arn !== undefined && data.arn !== null) {
|
|
2434
2434
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
2435
2435
|
}
|
|
2436
2436
|
if (data.created !== undefined && data.created !== null) {
|
|
2437
|
-
contents.Created =
|
|
2437
|
+
contents.Created = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.created));
|
|
2438
2438
|
}
|
|
2439
2439
|
if (data.id !== undefined && data.id !== null) {
|
|
2440
2440
|
contents.Id = smithy_client_1.expectString(data.id);
|
|
@@ -2967,7 +2967,9 @@ const deserializeAws_restJson1BrokerSummary = (output, context) => {
|
|
|
2967
2967
|
BrokerId: smithy_client_1.expectString(output.brokerId),
|
|
2968
2968
|
BrokerName: smithy_client_1.expectString(output.brokerName),
|
|
2969
2969
|
BrokerState: smithy_client_1.expectString(output.brokerState),
|
|
2970
|
-
Created: output.created !== undefined && output.created !== null
|
|
2970
|
+
Created: output.created !== undefined && output.created !== null
|
|
2971
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.created))
|
|
2972
|
+
: undefined,
|
|
2971
2973
|
DeploymentMode: smithy_client_1.expectString(output.deploymentMode),
|
|
2972
2974
|
EngineType: smithy_client_1.expectString(output.engineType),
|
|
2973
2975
|
HostInstanceType: smithy_client_1.expectString(output.hostInstanceType),
|
|
@@ -2977,7 +2979,9 @@ const deserializeAws_restJson1Configuration = (output, context) => {
|
|
|
2977
2979
|
return {
|
|
2978
2980
|
Arn: smithy_client_1.expectString(output.arn),
|
|
2979
2981
|
AuthenticationStrategy: smithy_client_1.expectString(output.authenticationStrategy),
|
|
2980
|
-
Created: output.created !== undefined && output.created !== null
|
|
2982
|
+
Created: output.created !== undefined && output.created !== null
|
|
2983
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.created))
|
|
2984
|
+
: undefined,
|
|
2981
2985
|
Description: smithy_client_1.expectString(output.description),
|
|
2982
2986
|
EngineType: smithy_client_1.expectString(output.engineType),
|
|
2983
2987
|
EngineVersion: smithy_client_1.expectString(output.engineVersion),
|
|
@@ -2994,14 +2998,16 @@ const deserializeAws_restJson1Configuration = (output, context) => {
|
|
|
2994
2998
|
const deserializeAws_restJson1ConfigurationId = (output, context) => {
|
|
2995
2999
|
return {
|
|
2996
3000
|
Id: smithy_client_1.expectString(output.id),
|
|
2997
|
-
Revision: smithy_client_1.
|
|
3001
|
+
Revision: smithy_client_1.expectInt32(output.revision),
|
|
2998
3002
|
};
|
|
2999
3003
|
};
|
|
3000
3004
|
const deserializeAws_restJson1ConfigurationRevision = (output, context) => {
|
|
3001
3005
|
return {
|
|
3002
|
-
Created: output.created !== undefined && output.created !== null
|
|
3006
|
+
Created: output.created !== undefined && output.created !== null
|
|
3007
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.created))
|
|
3008
|
+
: undefined,
|
|
3003
3009
|
Description: smithy_client_1.expectString(output.description),
|
|
3004
|
-
Revision: smithy_client_1.
|
|
3010
|
+
Revision: smithy_client_1.expectInt32(output.revision),
|
|
3005
3011
|
};
|
|
3006
3012
|
};
|
|
3007
3013
|
const deserializeAws_restJson1Configurations = (output, context) => {
|