@aws-sdk/client-appsync 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 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-appsync
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-appsync
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-appsync
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-appsync
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
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appsync",
3
3
  "description": "AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
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,45 +27,45 @@
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.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
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
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.23.0",
61
+ "@aws-sdk/client-documentation-generator": "3.32.0",
62
62
  "@types/node": "^12.7.5",
63
63
  "downlevel-dts": "0.7.0",
64
64
  "jest": "^26.1.0",
65
65
  "rimraf": "^3.0.0",
66
66
  "ts-jest": "^26.4.1",
67
67
  "typedoc": "^0.19.2",
68
- "typescript": "~4.3.2"
68
+ "typescript": "~4.3.5"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=10.0.0"
@@ -1553,7 +1553,7 @@ const deserializeAws_restJson1CreateApiCacheCommand = async (output, context) =>
1553
1553
  $metadata: deserializeMetadata(output),
1554
1554
  apiCache: undefined,
1555
1555
  };
1556
- const data = await parseBody(output.body, context);
1556
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1557
1557
  if (data.apiCache !== undefined && data.apiCache !== null) {
1558
1558
  contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
1559
1559
  }
@@ -1633,7 +1633,7 @@ const deserializeAws_restJson1CreateApiKeyCommand = async (output, context) => {
1633
1633
  $metadata: deserializeMetadata(output),
1634
1634
  apiKey: undefined,
1635
1635
  };
1636
- const data = await parseBody(output.body, context);
1636
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1637
1637
  if (data.apiKey !== undefined && data.apiKey !== null) {
1638
1638
  contents.apiKey = deserializeAws_restJson1ApiKey(data.apiKey, context);
1639
1639
  }
@@ -1729,7 +1729,7 @@ const deserializeAws_restJson1CreateDataSourceCommand = async (output, context)
1729
1729
  $metadata: deserializeMetadata(output),
1730
1730
  dataSource: undefined,
1731
1731
  };
1732
- const data = await parseBody(output.body, context);
1732
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1733
1733
  if (data.dataSource !== undefined && data.dataSource !== null) {
1734
1734
  contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
1735
1735
  }
@@ -1809,7 +1809,7 @@ const deserializeAws_restJson1CreateFunctionCommand = async (output, context) =>
1809
1809
  $metadata: deserializeMetadata(output),
1810
1810
  functionConfiguration: undefined,
1811
1811
  };
1812
- const data = await parseBody(output.body, context);
1812
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1813
1813
  if (data.functionConfiguration !== undefined && data.functionConfiguration !== null) {
1814
1814
  contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
1815
1815
  }
@@ -1881,7 +1881,7 @@ const deserializeAws_restJson1CreateGraphqlApiCommand = async (output, context)
1881
1881
  $metadata: deserializeMetadata(output),
1882
1882
  graphqlApi: undefined,
1883
1883
  };
1884
- const data = await parseBody(output.body, context);
1884
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1885
1885
  if (data.graphqlApi !== undefined && data.graphqlApi !== null) {
1886
1886
  contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
1887
1887
  }
@@ -1969,7 +1969,7 @@ const deserializeAws_restJson1CreateResolverCommand = async (output, context) =>
1969
1969
  $metadata: deserializeMetadata(output),
1970
1970
  resolver: undefined,
1971
1971
  };
1972
- const data = await parseBody(output.body, context);
1972
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1973
1973
  if (data.resolver !== undefined && data.resolver !== null) {
1974
1974
  contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
1975
1975
  }
@@ -2041,7 +2041,7 @@ const deserializeAws_restJson1CreateTypeCommand = async (output, context) => {
2041
2041
  $metadata: deserializeMetadata(output),
2042
2042
  type: undefined,
2043
2043
  };
2044
- const data = await parseBody(output.body, context);
2044
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2045
2045
  if (data.type !== undefined && data.type !== null) {
2046
2046
  contents.type = deserializeAws_restJson1Type(data.type, context);
2047
2047
  }
@@ -2713,7 +2713,7 @@ const deserializeAws_restJson1GetApiCacheCommand = async (output, context) => {
2713
2713
  $metadata: deserializeMetadata(output),
2714
2714
  apiCache: undefined,
2715
2715
  };
2716
- const data = await parseBody(output.body, context);
2716
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2717
2717
  if (data.apiCache !== undefined && data.apiCache !== null) {
2718
2718
  contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
2719
2719
  }
@@ -2793,7 +2793,7 @@ const deserializeAws_restJson1GetDataSourceCommand = async (output, context) =>
2793
2793
  $metadata: deserializeMetadata(output),
2794
2794
  dataSource: undefined,
2795
2795
  };
2796
- const data = await parseBody(output.body, context);
2796
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2797
2797
  if (data.dataSource !== undefined && data.dataSource !== null) {
2798
2798
  contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
2799
2799
  }
@@ -2873,7 +2873,7 @@ const deserializeAws_restJson1GetFunctionCommand = async (output, context) => {
2873
2873
  $metadata: deserializeMetadata(output),
2874
2874
  functionConfiguration: undefined,
2875
2875
  };
2876
- const data = await parseBody(output.body, context);
2876
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2877
2877
  if (data.functionConfiguration !== undefined && data.functionConfiguration !== null) {
2878
2878
  contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
2879
2879
  }
@@ -2937,7 +2937,7 @@ const deserializeAws_restJson1GetGraphqlApiCommand = async (output, context) =>
2937
2937
  $metadata: deserializeMetadata(output),
2938
2938
  graphqlApi: undefined,
2939
2939
  };
2940
- const data = await parseBody(output.body, context);
2940
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2941
2941
  if (data.graphqlApi !== undefined && data.graphqlApi !== null) {
2942
2942
  contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
2943
2943
  }
@@ -3087,7 +3087,7 @@ const deserializeAws_restJson1GetResolverCommand = async (output, context) => {
3087
3087
  $metadata: deserializeMetadata(output),
3088
3088
  resolver: undefined,
3089
3089
  };
3090
- const data = await parseBody(output.body, context);
3090
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3091
3091
  if (data.resolver !== undefined && data.resolver !== null) {
3092
3092
  contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
3093
3093
  }
@@ -3152,7 +3152,7 @@ const deserializeAws_restJson1GetSchemaCreationStatusCommand = async (output, co
3152
3152
  details: undefined,
3153
3153
  status: undefined,
3154
3154
  };
3155
- const data = await parseBody(output.body, context);
3155
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3156
3156
  if (data.details !== undefined && data.details !== null) {
3157
3157
  contents.details = smithy_client_1.expectString(data.details);
3158
3158
  }
@@ -3227,7 +3227,7 @@ const deserializeAws_restJson1GetTypeCommand = async (output, context) => {
3227
3227
  $metadata: deserializeMetadata(output),
3228
3228
  type: undefined,
3229
3229
  };
3230
- const data = await parseBody(output.body, context);
3230
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3231
3231
  if (data.type !== undefined && data.type !== null) {
3232
3232
  contents.type = deserializeAws_restJson1Type(data.type, context);
3233
3233
  }
@@ -3308,7 +3308,7 @@ const deserializeAws_restJson1ListApiKeysCommand = async (output, context) => {
3308
3308
  apiKeys: undefined,
3309
3309
  nextToken: undefined,
3310
3310
  };
3311
- const data = await parseBody(output.body, context);
3311
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3312
3312
  if (data.apiKeys !== undefined && data.apiKeys !== null) {
3313
3313
  contents.apiKeys = deserializeAws_restJson1ApiKeys(data.apiKeys, context);
3314
3314
  }
@@ -3384,7 +3384,7 @@ const deserializeAws_restJson1ListDataSourcesCommand = async (output, context) =
3384
3384
  dataSources: undefined,
3385
3385
  nextToken: undefined,
3386
3386
  };
3387
- const data = await parseBody(output.body, context);
3387
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3388
3388
  if (data.dataSources !== undefined && data.dataSources !== null) {
3389
3389
  contents.dataSources = deserializeAws_restJson1DataSources(data.dataSources, context);
3390
3390
  }
@@ -3460,7 +3460,7 @@ const deserializeAws_restJson1ListFunctionsCommand = async (output, context) =>
3460
3460
  functions: undefined,
3461
3461
  nextToken: undefined,
3462
3462
  };
3463
- const data = await parseBody(output.body, context);
3463
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3464
3464
  if (data.functions !== undefined && data.functions !== null) {
3465
3465
  contents.functions = deserializeAws_restJson1Functions(data.functions, context);
3466
3466
  }
@@ -3536,7 +3536,7 @@ const deserializeAws_restJson1ListGraphqlApisCommand = async (output, context) =
3536
3536
  graphqlApis: undefined,
3537
3537
  nextToken: undefined,
3538
3538
  };
3539
- const data = await parseBody(output.body, context);
3539
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3540
3540
  if (data.graphqlApis !== undefined && data.graphqlApis !== null) {
3541
3541
  contents.graphqlApis = deserializeAws_restJson1GraphqlApis(data.graphqlApis, context);
3542
3542
  }
@@ -3604,7 +3604,7 @@ const deserializeAws_restJson1ListResolversCommand = async (output, context) =>
3604
3604
  nextToken: undefined,
3605
3605
  resolvers: undefined,
3606
3606
  };
3607
- const data = await parseBody(output.body, context);
3607
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3608
3608
  if (data.nextToken !== undefined && data.nextToken !== null) {
3609
3609
  contents.nextToken = smithy_client_1.expectString(data.nextToken);
3610
3610
  }
@@ -3680,7 +3680,7 @@ const deserializeAws_restJson1ListResolversByFunctionCommand = async (output, co
3680
3680
  nextToken: undefined,
3681
3681
  resolvers: undefined,
3682
3682
  };
3683
- const data = await parseBody(output.body, context);
3683
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3684
3684
  if (data.nextToken !== undefined && data.nextToken !== null) {
3685
3685
  contents.nextToken = smithy_client_1.expectString(data.nextToken);
3686
3686
  }
@@ -3755,7 +3755,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
3755
3755
  $metadata: deserializeMetadata(output),
3756
3756
  tags: undefined,
3757
3757
  };
3758
- const data = await parseBody(output.body, context);
3758
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3759
3759
  if (data.tags !== undefined && data.tags !== null) {
3760
3760
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
3761
3761
  }
@@ -3844,7 +3844,7 @@ const deserializeAws_restJson1ListTypesCommand = async (output, context) => {
3844
3844
  nextToken: undefined,
3845
3845
  types: undefined,
3846
3846
  };
3847
- const data = await parseBody(output.body, context);
3847
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3848
3848
  if (data.nextToken !== undefined && data.nextToken !== null) {
3849
3849
  contents.nextToken = smithy_client_1.expectString(data.nextToken);
3850
3850
  }
@@ -3927,7 +3927,7 @@ const deserializeAws_restJson1StartSchemaCreationCommand = async (output, contex
3927
3927
  $metadata: deserializeMetadata(output),
3928
3928
  status: undefined,
3929
3929
  };
3930
- const data = await parseBody(output.body, context);
3930
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3931
3931
  if (data.status !== undefined && data.status !== null) {
3932
3932
  contents.status = smithy_client_1.expectString(data.status);
3933
3933
  }
@@ -4175,7 +4175,7 @@ const deserializeAws_restJson1UpdateApiCacheCommand = async (output, context) =>
4175
4175
  $metadata: deserializeMetadata(output),
4176
4176
  apiCache: undefined,
4177
4177
  };
4178
- const data = await parseBody(output.body, context);
4178
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4179
4179
  if (data.apiCache !== undefined && data.apiCache !== null) {
4180
4180
  contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
4181
4181
  }
@@ -4255,7 +4255,7 @@ const deserializeAws_restJson1UpdateApiKeyCommand = async (output, context) => {
4255
4255
  $metadata: deserializeMetadata(output),
4256
4256
  apiKey: undefined,
4257
4257
  };
4258
- const data = await parseBody(output.body, context);
4258
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4259
4259
  if (data.apiKey !== undefined && data.apiKey !== null) {
4260
4260
  contents.apiKey = deserializeAws_restJson1ApiKey(data.apiKey, context);
4261
4261
  }
@@ -4343,7 +4343,7 @@ const deserializeAws_restJson1UpdateDataSourceCommand = async (output, context)
4343
4343
  $metadata: deserializeMetadata(output),
4344
4344
  dataSource: undefined,
4345
4345
  };
4346
- const data = await parseBody(output.body, context);
4346
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4347
4347
  if (data.dataSource !== undefined && data.dataSource !== null) {
4348
4348
  contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
4349
4349
  }
@@ -4423,7 +4423,7 @@ const deserializeAws_restJson1UpdateFunctionCommand = async (output, context) =>
4423
4423
  $metadata: deserializeMetadata(output),
4424
4424
  functionConfiguration: undefined,
4425
4425
  };
4426
- const data = await parseBody(output.body, context);
4426
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4427
4427
  if (data.functionConfiguration !== undefined && data.functionConfiguration !== null) {
4428
4428
  contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
4429
4429
  }
@@ -4495,7 +4495,7 @@ const deserializeAws_restJson1UpdateGraphqlApiCommand = async (output, context)
4495
4495
  $metadata: deserializeMetadata(output),
4496
4496
  graphqlApi: undefined,
4497
4497
  };
4498
- const data = await parseBody(output.body, context);
4498
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4499
4499
  if (data.graphqlApi !== undefined && data.graphqlApi !== null) {
4500
4500
  contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
4501
4501
  }
@@ -4583,7 +4583,7 @@ const deserializeAws_restJson1UpdateResolverCommand = async (output, context) =>
4583
4583
  $metadata: deserializeMetadata(output),
4584
4584
  resolver: undefined,
4585
4585
  };
4586
- const data = await parseBody(output.body, context);
4586
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4587
4587
  if (data.resolver !== undefined && data.resolver !== null) {
4588
4588
  contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
4589
4589
  }
@@ -4655,7 +4655,7 @@ const deserializeAws_restJson1UpdateTypeCommand = async (output, context) => {
4655
4655
  $metadata: deserializeMetadata(output),
4656
4656
  type: undefined,
4657
4657
  };
4658
- const data = await parseBody(output.body, context);
4658
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4659
4659
  if (data.type !== undefined && data.type !== null) {
4660
4660
  contents.type = deserializeAws_restJson1Type(data.type, context);
4661
4661
  }
@@ -5118,15 +5118,15 @@ const deserializeAws_restJson1ApiCache = (output, context) => {
5118
5118
  atRestEncryptionEnabled: smithy_client_1.expectBoolean(output.atRestEncryptionEnabled),
5119
5119
  status: smithy_client_1.expectString(output.status),
5120
5120
  transitEncryptionEnabled: smithy_client_1.expectBoolean(output.transitEncryptionEnabled),
5121
- ttl: smithy_client_1.expectInt(output.ttl),
5121
+ ttl: smithy_client_1.expectLong(output.ttl),
5122
5122
  type: smithy_client_1.expectString(output.type),
5123
5123
  };
5124
5124
  };
5125
5125
  const deserializeAws_restJson1ApiKey = (output, context) => {
5126
5126
  return {
5127
- deletes: smithy_client_1.expectInt(output.deletes),
5127
+ deletes: smithy_client_1.expectLong(output.deletes),
5128
5128
  description: smithy_client_1.expectString(output.description),
5129
- expires: smithy_client_1.expectInt(output.expires),
5129
+ expires: smithy_client_1.expectLong(output.expires),
5130
5130
  id: smithy_client_1.expectString(output.id),
5131
5131
  };
5132
5132
  };
@@ -5159,7 +5159,7 @@ const deserializeAws_restJson1CachingConfig = (output, context) => {
5159
5159
  cachingKeys: output.cachingKeys !== undefined && output.cachingKeys !== null
5160
5160
  ? deserializeAws_restJson1CachingKeys(output.cachingKeys, context)
5161
5161
  : undefined,
5162
- ttl: smithy_client_1.expectInt(output.ttl),
5162
+ ttl: smithy_client_1.expectLong(output.ttl),
5163
5163
  };
5164
5164
  };
5165
5165
  const deserializeAws_restJson1CachingKeys = (output, context) => {
@@ -5215,9 +5215,9 @@ const deserializeAws_restJson1DataSources = (output, context) => {
5215
5215
  };
5216
5216
  const deserializeAws_restJson1DeltaSyncConfig = (output, context) => {
5217
5217
  return {
5218
- baseTableTTL: smithy_client_1.expectInt(output.baseTableTTL),
5218
+ baseTableTTL: smithy_client_1.expectLong(output.baseTableTTL),
5219
5219
  deltaSyncTableName: smithy_client_1.expectString(output.deltaSyncTableName),
5220
- deltaSyncTableTTL: smithy_client_1.expectInt(output.deltaSyncTableTTL),
5220
+ deltaSyncTableTTL: smithy_client_1.expectLong(output.deltaSyncTableTTL),
5221
5221
  };
5222
5222
  };
5223
5223
  const deserializeAws_restJson1DynamodbDataSourceConfig = (output, context) => {
@@ -5323,7 +5323,7 @@ const deserializeAws_restJson1HttpDataSourceConfig = (output, context) => {
5323
5323
  };
5324
5324
  const deserializeAws_restJson1LambdaAuthorizerConfig = (output, context) => {
5325
5325
  return {
5326
- authorizerResultTtlInSeconds: smithy_client_1.expectInt(output.authorizerResultTtlInSeconds),
5326
+ authorizerResultTtlInSeconds: smithy_client_1.expectInt32(output.authorizerResultTtlInSeconds),
5327
5327
  authorizerUri: smithy_client_1.expectString(output.authorizerUri),
5328
5328
  identityValidationExpression: smithy_client_1.expectString(output.identityValidationExpression),
5329
5329
  };
@@ -5358,9 +5358,9 @@ const deserializeAws_restJson1MapOfStringToString = (output, context) => {
5358
5358
  };
5359
5359
  const deserializeAws_restJson1OpenIDConnectConfig = (output, context) => {
5360
5360
  return {
5361
- authTTL: smithy_client_1.expectInt(output.authTTL),
5361
+ authTTL: smithy_client_1.expectLong(output.authTTL),
5362
5362
  clientId: smithy_client_1.expectString(output.clientId),
5363
- iatTTL: smithy_client_1.expectInt(output.iatTTL),
5363
+ iatTTL: smithy_client_1.expectLong(output.iatTTL),
5364
5364
  issuer: smithy_client_1.expectString(output.issuer),
5365
5365
  };
5366
5366
  };