@aws-sdk/client-appsync 3.303.0 → 3.309.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.
Files changed (107) hide show
  1. package/dist-cjs/commands/AssociateApiCommand.js +2 -2
  2. package/dist-cjs/commands/CreateApiCacheCommand.js +2 -2
  3. package/dist-cjs/commands/CreateApiKeyCommand.js +2 -2
  4. package/dist-cjs/commands/CreateDataSourceCommand.js +2 -2
  5. package/dist-cjs/commands/CreateDomainNameCommand.js +2 -2
  6. package/dist-cjs/commands/CreateFunctionCommand.js +2 -2
  7. package/dist-cjs/commands/CreateGraphqlApiCommand.js +2 -2
  8. package/dist-cjs/commands/CreateResolverCommand.js +2 -2
  9. package/dist-cjs/commands/CreateTypeCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteApiCacheCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteApiKeyCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteDataSourceCommand.js +2 -2
  13. package/dist-cjs/commands/DeleteDomainNameCommand.js +2 -2
  14. package/dist-cjs/commands/DeleteFunctionCommand.js +2 -2
  15. package/dist-cjs/commands/DeleteGraphqlApiCommand.js +2 -2
  16. package/dist-cjs/commands/DeleteResolverCommand.js +2 -2
  17. package/dist-cjs/commands/DeleteTypeCommand.js +2 -2
  18. package/dist-cjs/commands/DisassociateApiCommand.js +2 -2
  19. package/dist-cjs/commands/EvaluateCodeCommand.js +2 -2
  20. package/dist-cjs/commands/EvaluateMappingTemplateCommand.js +2 -2
  21. package/dist-cjs/commands/FlushApiCacheCommand.js +2 -2
  22. package/dist-cjs/commands/GetApiAssociationCommand.js +2 -2
  23. package/dist-cjs/commands/GetApiCacheCommand.js +2 -2
  24. package/dist-cjs/commands/GetDataSourceCommand.js +2 -2
  25. package/dist-cjs/commands/GetDomainNameCommand.js +2 -2
  26. package/dist-cjs/commands/GetFunctionCommand.js +2 -2
  27. package/dist-cjs/commands/GetGraphqlApiCommand.js +2 -2
  28. package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +2 -2
  29. package/dist-cjs/commands/GetResolverCommand.js +2 -2
  30. package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +2 -2
  31. package/dist-cjs/commands/GetTypeCommand.js +2 -2
  32. package/dist-cjs/commands/ListApiKeysCommand.js +2 -2
  33. package/dist-cjs/commands/ListDataSourcesCommand.js +2 -2
  34. package/dist-cjs/commands/ListDomainNamesCommand.js +2 -2
  35. package/dist-cjs/commands/ListFunctionsCommand.js +2 -2
  36. package/dist-cjs/commands/ListGraphqlApisCommand.js +2 -2
  37. package/dist-cjs/commands/ListResolversByFunctionCommand.js +2 -2
  38. package/dist-cjs/commands/ListResolversCommand.js +2 -2
  39. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  40. package/dist-cjs/commands/ListTypesCommand.js +2 -2
  41. package/dist-cjs/commands/StartSchemaCreationCommand.js +2 -2
  42. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  43. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  44. package/dist-cjs/commands/UpdateApiCacheCommand.js +2 -2
  45. package/dist-cjs/commands/UpdateApiKeyCommand.js +2 -2
  46. package/dist-cjs/commands/UpdateDataSourceCommand.js +2 -2
  47. package/dist-cjs/commands/UpdateDomainNameCommand.js +2 -2
  48. package/dist-cjs/commands/UpdateFunctionCommand.js +2 -2
  49. package/dist-cjs/commands/UpdateGraphqlApiCommand.js +2 -2
  50. package/dist-cjs/commands/UpdateResolverCommand.js +2 -2
  51. package/dist-cjs/commands/UpdateTypeCommand.js +2 -2
  52. package/dist-cjs/protocols/Aws_restJson1.js +763 -813
  53. package/dist-es/commands/AssociateApiCommand.js +3 -3
  54. package/dist-es/commands/CreateApiCacheCommand.js +3 -3
  55. package/dist-es/commands/CreateApiKeyCommand.js +3 -3
  56. package/dist-es/commands/CreateDataSourceCommand.js +3 -3
  57. package/dist-es/commands/CreateDomainNameCommand.js +3 -3
  58. package/dist-es/commands/CreateFunctionCommand.js +3 -3
  59. package/dist-es/commands/CreateGraphqlApiCommand.js +3 -3
  60. package/dist-es/commands/CreateResolverCommand.js +3 -3
  61. package/dist-es/commands/CreateTypeCommand.js +3 -3
  62. package/dist-es/commands/DeleteApiCacheCommand.js +3 -3
  63. package/dist-es/commands/DeleteApiKeyCommand.js +3 -3
  64. package/dist-es/commands/DeleteDataSourceCommand.js +3 -3
  65. package/dist-es/commands/DeleteDomainNameCommand.js +3 -3
  66. package/dist-es/commands/DeleteFunctionCommand.js +3 -3
  67. package/dist-es/commands/DeleteGraphqlApiCommand.js +3 -3
  68. package/dist-es/commands/DeleteResolverCommand.js +3 -3
  69. package/dist-es/commands/DeleteTypeCommand.js +3 -3
  70. package/dist-es/commands/DisassociateApiCommand.js +3 -3
  71. package/dist-es/commands/EvaluateCodeCommand.js +3 -3
  72. package/dist-es/commands/EvaluateMappingTemplateCommand.js +3 -3
  73. package/dist-es/commands/FlushApiCacheCommand.js +3 -3
  74. package/dist-es/commands/GetApiAssociationCommand.js +3 -3
  75. package/dist-es/commands/GetApiCacheCommand.js +3 -3
  76. package/dist-es/commands/GetDataSourceCommand.js +3 -3
  77. package/dist-es/commands/GetDomainNameCommand.js +3 -3
  78. package/dist-es/commands/GetFunctionCommand.js +3 -3
  79. package/dist-es/commands/GetGraphqlApiCommand.js +3 -3
  80. package/dist-es/commands/GetIntrospectionSchemaCommand.js +3 -3
  81. package/dist-es/commands/GetResolverCommand.js +3 -3
  82. package/dist-es/commands/GetSchemaCreationStatusCommand.js +3 -3
  83. package/dist-es/commands/GetTypeCommand.js +3 -3
  84. package/dist-es/commands/ListApiKeysCommand.js +3 -3
  85. package/dist-es/commands/ListDataSourcesCommand.js +3 -3
  86. package/dist-es/commands/ListDomainNamesCommand.js +3 -3
  87. package/dist-es/commands/ListFunctionsCommand.js +3 -3
  88. package/dist-es/commands/ListGraphqlApisCommand.js +3 -3
  89. package/dist-es/commands/ListResolversByFunctionCommand.js +3 -3
  90. package/dist-es/commands/ListResolversCommand.js +3 -3
  91. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  92. package/dist-es/commands/ListTypesCommand.js +3 -3
  93. package/dist-es/commands/StartSchemaCreationCommand.js +3 -3
  94. package/dist-es/commands/TagResourceCommand.js +3 -3
  95. package/dist-es/commands/UntagResourceCommand.js +3 -3
  96. package/dist-es/commands/UpdateApiCacheCommand.js +3 -3
  97. package/dist-es/commands/UpdateApiKeyCommand.js +3 -3
  98. package/dist-es/commands/UpdateDataSourceCommand.js +3 -3
  99. package/dist-es/commands/UpdateDomainNameCommand.js +3 -3
  100. package/dist-es/commands/UpdateFunctionCommand.js +3 -3
  101. package/dist-es/commands/UpdateGraphqlApiCommand.js +3 -3
  102. package/dist-es/commands/UpdateResolverCommand.js +3 -3
  103. package/dist-es/commands/UpdateTypeCommand.js +3 -3
  104. package/dist-es/protocols/Aws_restJson1.js +658 -708
  105. package/dist-types/protocols/Aws_restJson1.d.ts +408 -102
  106. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +102 -102
  107. package/package.json +29 -29
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serializeAws_restJson1UpdateResolverCommand = exports.serializeAws_restJson1UpdateGraphqlApiCommand = exports.serializeAws_restJson1UpdateFunctionCommand = exports.serializeAws_restJson1UpdateDomainNameCommand = exports.serializeAws_restJson1UpdateDataSourceCommand = exports.serializeAws_restJson1UpdateApiKeyCommand = exports.serializeAws_restJson1UpdateApiCacheCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartSchemaCreationCommand = exports.serializeAws_restJson1ListTypesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListResolversByFunctionCommand = exports.serializeAws_restJson1ListResolversCommand = exports.serializeAws_restJson1ListGraphqlApisCommand = exports.serializeAws_restJson1ListFunctionsCommand = exports.serializeAws_restJson1ListDomainNamesCommand = exports.serializeAws_restJson1ListDataSourcesCommand = exports.serializeAws_restJson1ListApiKeysCommand = exports.serializeAws_restJson1GetTypeCommand = exports.serializeAws_restJson1GetSchemaCreationStatusCommand = exports.serializeAws_restJson1GetResolverCommand = exports.serializeAws_restJson1GetIntrospectionSchemaCommand = exports.serializeAws_restJson1GetGraphqlApiCommand = exports.serializeAws_restJson1GetFunctionCommand = exports.serializeAws_restJson1GetDomainNameCommand = exports.serializeAws_restJson1GetDataSourceCommand = exports.serializeAws_restJson1GetApiCacheCommand = exports.serializeAws_restJson1GetApiAssociationCommand = exports.serializeAws_restJson1FlushApiCacheCommand = exports.serializeAws_restJson1EvaluateMappingTemplateCommand = exports.serializeAws_restJson1EvaluateCodeCommand = exports.serializeAws_restJson1DisassociateApiCommand = exports.serializeAws_restJson1DeleteTypeCommand = exports.serializeAws_restJson1DeleteResolverCommand = exports.serializeAws_restJson1DeleteGraphqlApiCommand = exports.serializeAws_restJson1DeleteFunctionCommand = exports.serializeAws_restJson1DeleteDomainNameCommand = exports.serializeAws_restJson1DeleteDataSourceCommand = exports.serializeAws_restJson1DeleteApiKeyCommand = exports.serializeAws_restJson1DeleteApiCacheCommand = exports.serializeAws_restJson1CreateTypeCommand = exports.serializeAws_restJson1CreateResolverCommand = exports.serializeAws_restJson1CreateGraphqlApiCommand = exports.serializeAws_restJson1CreateFunctionCommand = exports.serializeAws_restJson1CreateDomainNameCommand = exports.serializeAws_restJson1CreateDataSourceCommand = exports.serializeAws_restJson1CreateApiKeyCommand = exports.serializeAws_restJson1CreateApiCacheCommand = exports.serializeAws_restJson1AssociateApiCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateGraphqlApiCommand = exports.deserializeAws_restJson1UpdateFunctionCommand = exports.deserializeAws_restJson1UpdateDomainNameCommand = exports.deserializeAws_restJson1UpdateDataSourceCommand = exports.deserializeAws_restJson1UpdateApiKeyCommand = exports.deserializeAws_restJson1UpdateApiCacheCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartSchemaCreationCommand = exports.deserializeAws_restJson1ListTypesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListResolversByFunctionCommand = exports.deserializeAws_restJson1ListResolversCommand = exports.deserializeAws_restJson1ListGraphqlApisCommand = exports.deserializeAws_restJson1ListFunctionsCommand = exports.deserializeAws_restJson1ListDomainNamesCommand = exports.deserializeAws_restJson1ListDataSourcesCommand = exports.deserializeAws_restJson1ListApiKeysCommand = exports.deserializeAws_restJson1GetTypeCommand = exports.deserializeAws_restJson1GetSchemaCreationStatusCommand = exports.deserializeAws_restJson1GetResolverCommand = exports.deserializeAws_restJson1GetIntrospectionSchemaCommand = exports.deserializeAws_restJson1GetGraphqlApiCommand = exports.deserializeAws_restJson1GetFunctionCommand = exports.deserializeAws_restJson1GetDomainNameCommand = exports.deserializeAws_restJson1GetDataSourceCommand = exports.deserializeAws_restJson1GetApiCacheCommand = exports.deserializeAws_restJson1GetApiAssociationCommand = exports.deserializeAws_restJson1FlushApiCacheCommand = exports.deserializeAws_restJson1EvaluateMappingTemplateCommand = exports.deserializeAws_restJson1EvaluateCodeCommand = exports.deserializeAws_restJson1DisassociateApiCommand = exports.deserializeAws_restJson1DeleteTypeCommand = exports.deserializeAws_restJson1DeleteResolverCommand = exports.deserializeAws_restJson1DeleteGraphqlApiCommand = exports.deserializeAws_restJson1DeleteFunctionCommand = exports.deserializeAws_restJson1DeleteDomainNameCommand = exports.deserializeAws_restJson1DeleteDataSourceCommand = exports.deserializeAws_restJson1DeleteApiKeyCommand = exports.deserializeAws_restJson1DeleteApiCacheCommand = exports.deserializeAws_restJson1CreateTypeCommand = exports.deserializeAws_restJson1CreateResolverCommand = exports.deserializeAws_restJson1CreateGraphqlApiCommand = exports.deserializeAws_restJson1CreateFunctionCommand = exports.deserializeAws_restJson1CreateDomainNameCommand = exports.deserializeAws_restJson1CreateDataSourceCommand = exports.deserializeAws_restJson1CreateApiKeyCommand = exports.deserializeAws_restJson1CreateApiCacheCommand = exports.deserializeAws_restJson1AssociateApiCommand = exports.serializeAws_restJson1UpdateTypeCommand = void 0;
5
- exports.deserializeAws_restJson1UpdateTypeCommand = exports.deserializeAws_restJson1UpdateResolverCommand = void 0;
3
+ exports.se_UpdateResolverCommand = exports.se_UpdateGraphqlApiCommand = exports.se_UpdateFunctionCommand = exports.se_UpdateDomainNameCommand = exports.se_UpdateDataSourceCommand = exports.se_UpdateApiKeyCommand = exports.se_UpdateApiCacheCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartSchemaCreationCommand = exports.se_ListTypesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListResolversByFunctionCommand = exports.se_ListResolversCommand = exports.se_ListGraphqlApisCommand = exports.se_ListFunctionsCommand = exports.se_ListDomainNamesCommand = exports.se_ListDataSourcesCommand = exports.se_ListApiKeysCommand = exports.se_GetTypeCommand = exports.se_GetSchemaCreationStatusCommand = exports.se_GetResolverCommand = exports.se_GetIntrospectionSchemaCommand = exports.se_GetGraphqlApiCommand = exports.se_GetFunctionCommand = exports.se_GetDomainNameCommand = exports.se_GetDataSourceCommand = exports.se_GetApiCacheCommand = exports.se_GetApiAssociationCommand = exports.se_FlushApiCacheCommand = exports.se_EvaluateMappingTemplateCommand = exports.se_EvaluateCodeCommand = exports.se_DisassociateApiCommand = exports.se_DeleteTypeCommand = exports.se_DeleteResolverCommand = exports.se_DeleteGraphqlApiCommand = exports.se_DeleteFunctionCommand = exports.se_DeleteDomainNameCommand = exports.se_DeleteDataSourceCommand = exports.se_DeleteApiKeyCommand = exports.se_DeleteApiCacheCommand = exports.se_CreateTypeCommand = exports.se_CreateResolverCommand = exports.se_CreateGraphqlApiCommand = exports.se_CreateFunctionCommand = exports.se_CreateDomainNameCommand = exports.se_CreateDataSourceCommand = exports.se_CreateApiKeyCommand = exports.se_CreateApiCacheCommand = exports.se_AssociateApiCommand = void 0;
4
+ exports.de_UpdateGraphqlApiCommand = exports.de_UpdateFunctionCommand = exports.de_UpdateDomainNameCommand = exports.de_UpdateDataSourceCommand = exports.de_UpdateApiKeyCommand = exports.de_UpdateApiCacheCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartSchemaCreationCommand = exports.de_ListTypesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListResolversByFunctionCommand = exports.de_ListResolversCommand = exports.de_ListGraphqlApisCommand = exports.de_ListFunctionsCommand = exports.de_ListDomainNamesCommand = exports.de_ListDataSourcesCommand = exports.de_ListApiKeysCommand = exports.de_GetTypeCommand = exports.de_GetSchemaCreationStatusCommand = exports.de_GetResolverCommand = exports.de_GetIntrospectionSchemaCommand = exports.de_GetGraphqlApiCommand = exports.de_GetFunctionCommand = exports.de_GetDomainNameCommand = exports.de_GetDataSourceCommand = exports.de_GetApiCacheCommand = exports.de_GetApiAssociationCommand = exports.de_FlushApiCacheCommand = exports.de_EvaluateMappingTemplateCommand = exports.de_EvaluateCodeCommand = exports.de_DisassociateApiCommand = exports.de_DeleteTypeCommand = exports.de_DeleteResolverCommand = exports.de_DeleteGraphqlApiCommand = exports.de_DeleteFunctionCommand = exports.de_DeleteDomainNameCommand = exports.de_DeleteDataSourceCommand = exports.de_DeleteApiKeyCommand = exports.de_DeleteApiCacheCommand = exports.de_CreateTypeCommand = exports.de_CreateResolverCommand = exports.de_CreateGraphqlApiCommand = exports.de_CreateFunctionCommand = exports.de_CreateDomainNameCommand = exports.de_CreateDataSourceCommand = exports.de_CreateApiKeyCommand = exports.de_CreateApiCacheCommand = exports.de_AssociateApiCommand = exports.se_UpdateTypeCommand = void 0;
5
+ exports.de_UpdateTypeCommand = exports.de_UpdateResolverCommand = void 0;
6
6
  const protocol_http_1 = require("@aws-sdk/protocol-http");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const AppSyncServiceException_1 = require("../models/AppSyncServiceException");
9
9
  const models_0_1 = require("../models/models_0");
10
- const serializeAws_restJson1AssociateApiCommand = async (input, context) => {
10
+ const se_AssociateApiCommand = async (input, context) => {
11
11
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
12
12
  const headers = {
13
13
  "content-type": "application/json",
@@ -29,8 +29,8 @@ const serializeAws_restJson1AssociateApiCommand = async (input, context) => {
29
29
  body,
30
30
  });
31
31
  };
32
- exports.serializeAws_restJson1AssociateApiCommand = serializeAws_restJson1AssociateApiCommand;
33
- const serializeAws_restJson1CreateApiCacheCommand = async (input, context) => {
32
+ exports.se_AssociateApiCommand = se_AssociateApiCommand;
33
+ const se_CreateApiCacheCommand = async (input, context) => {
34
34
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
35
35
  const headers = {
36
36
  "content-type": "application/json",
@@ -55,8 +55,8 @@ const serializeAws_restJson1CreateApiCacheCommand = async (input, context) => {
55
55
  body,
56
56
  });
57
57
  };
58
- exports.serializeAws_restJson1CreateApiCacheCommand = serializeAws_restJson1CreateApiCacheCommand;
59
- const serializeAws_restJson1CreateApiKeyCommand = async (input, context) => {
58
+ exports.se_CreateApiCacheCommand = se_CreateApiCacheCommand;
59
+ const se_CreateApiKeyCommand = async (input, context) => {
60
60
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
61
61
  const headers = {
62
62
  "content-type": "application/json",
@@ -78,8 +78,8 @@ const serializeAws_restJson1CreateApiKeyCommand = async (input, context) => {
78
78
  body,
79
79
  });
80
80
  };
81
- exports.serializeAws_restJson1CreateApiKeyCommand = serializeAws_restJson1CreateApiKeyCommand;
82
- const serializeAws_restJson1CreateDataSourceCommand = async (input, context) => {
81
+ exports.se_CreateApiKeyCommand = se_CreateApiKeyCommand;
82
+ const se_CreateDataSourceCommand = async (input, context) => {
83
83
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
84
84
  const headers = {
85
85
  "content-type": "application/json",
@@ -89,27 +89,21 @@ const serializeAws_restJson1CreateDataSourceCommand = async (input, context) =>
89
89
  let body;
90
90
  body = JSON.stringify({
91
91
  ...(input.description != null && { description: input.description }),
92
- ...(input.dynamodbConfig != null && {
93
- dynamodbConfig: serializeAws_restJson1DynamodbDataSourceConfig(input.dynamodbConfig, context),
94
- }),
92
+ ...(input.dynamodbConfig != null && { dynamodbConfig: se_DynamodbDataSourceConfig(input.dynamodbConfig, context) }),
95
93
  ...(input.elasticsearchConfig != null && {
96
- elasticsearchConfig: serializeAws_restJson1ElasticsearchDataSourceConfig(input.elasticsearchConfig, context),
94
+ elasticsearchConfig: se_ElasticsearchDataSourceConfig(input.elasticsearchConfig, context),
97
95
  }),
98
96
  ...(input.eventBridgeConfig != null && {
99
- eventBridgeConfig: serializeAws_restJson1EventBridgeDataSourceConfig(input.eventBridgeConfig, context),
100
- }),
101
- ...(input.httpConfig != null && {
102
- httpConfig: serializeAws_restJson1HttpDataSourceConfig(input.httpConfig, context),
103
- }),
104
- ...(input.lambdaConfig != null && {
105
- lambdaConfig: serializeAws_restJson1LambdaDataSourceConfig(input.lambdaConfig, context),
97
+ eventBridgeConfig: se_EventBridgeDataSourceConfig(input.eventBridgeConfig, context),
106
98
  }),
99
+ ...(input.httpConfig != null && { httpConfig: se_HttpDataSourceConfig(input.httpConfig, context) }),
100
+ ...(input.lambdaConfig != null && { lambdaConfig: se_LambdaDataSourceConfig(input.lambdaConfig, context) }),
107
101
  ...(input.name != null && { name: input.name }),
108
102
  ...(input.openSearchServiceConfig != null && {
109
- openSearchServiceConfig: serializeAws_restJson1OpenSearchServiceDataSourceConfig(input.openSearchServiceConfig, context),
103
+ openSearchServiceConfig: se_OpenSearchServiceDataSourceConfig(input.openSearchServiceConfig, context),
110
104
  }),
111
105
  ...(input.relationalDatabaseConfig != null && {
112
- relationalDatabaseConfig: serializeAws_restJson1RelationalDatabaseDataSourceConfig(input.relationalDatabaseConfig, context),
106
+ relationalDatabaseConfig: se_RelationalDatabaseDataSourceConfig(input.relationalDatabaseConfig, context),
113
107
  }),
114
108
  ...(input.serviceRoleArn != null && { serviceRoleArn: input.serviceRoleArn }),
115
109
  ...(input.type != null && { type: input.type }),
@@ -124,8 +118,8 @@ const serializeAws_restJson1CreateDataSourceCommand = async (input, context) =>
124
118
  body,
125
119
  });
126
120
  };
127
- exports.serializeAws_restJson1CreateDataSourceCommand = serializeAws_restJson1CreateDataSourceCommand;
128
- const serializeAws_restJson1CreateDomainNameCommand = async (input, context) => {
121
+ exports.se_CreateDataSourceCommand = se_CreateDataSourceCommand;
122
+ const se_CreateDomainNameCommand = async (input, context) => {
129
123
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
130
124
  const headers = {
131
125
  "content-type": "application/json",
@@ -147,8 +141,8 @@ const serializeAws_restJson1CreateDomainNameCommand = async (input, context) =>
147
141
  body,
148
142
  });
149
143
  };
150
- exports.serializeAws_restJson1CreateDomainNameCommand = serializeAws_restJson1CreateDomainNameCommand;
151
- const serializeAws_restJson1CreateFunctionCommand = async (input, context) => {
144
+ exports.se_CreateDomainNameCommand = se_CreateDomainNameCommand;
145
+ const se_CreateFunctionCommand = async (input, context) => {
152
146
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
153
147
  const headers = {
154
148
  "content-type": "application/json",
@@ -165,8 +159,8 @@ const serializeAws_restJson1CreateFunctionCommand = async (input, context) => {
165
159
  ...(input.name != null && { name: input.name }),
166
160
  ...(input.requestMappingTemplate != null && { requestMappingTemplate: input.requestMappingTemplate }),
167
161
  ...(input.responseMappingTemplate != null && { responseMappingTemplate: input.responseMappingTemplate }),
168
- ...(input.runtime != null && { runtime: serializeAws_restJson1AppSyncRuntime(input.runtime, context) }),
169
- ...(input.syncConfig != null && { syncConfig: serializeAws_restJson1SyncConfig(input.syncConfig, context) }),
162
+ ...(input.runtime != null && { runtime: se_AppSyncRuntime(input.runtime, context) }),
163
+ ...(input.syncConfig != null && { syncConfig: se_SyncConfig(input.syncConfig, context) }),
170
164
  });
171
165
  return new protocol_http_1.HttpRequest({
172
166
  protocol,
@@ -178,8 +172,8 @@ const serializeAws_restJson1CreateFunctionCommand = async (input, context) => {
178
172
  body,
179
173
  });
180
174
  };
181
- exports.serializeAws_restJson1CreateFunctionCommand = serializeAws_restJson1CreateFunctionCommand;
182
- const serializeAws_restJson1CreateGraphqlApiCommand = async (input, context) => {
175
+ exports.se_CreateFunctionCommand = se_CreateFunctionCommand;
176
+ const se_CreateGraphqlApiCommand = async (input, context) => {
183
177
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
184
178
  const headers = {
185
179
  "content-type": "application/json",
@@ -188,21 +182,19 @@ const serializeAws_restJson1CreateGraphqlApiCommand = async (input, context) =>
188
182
  let body;
189
183
  body = JSON.stringify({
190
184
  ...(input.additionalAuthenticationProviders != null && {
191
- additionalAuthenticationProviders: serializeAws_restJson1AdditionalAuthenticationProviders(input.additionalAuthenticationProviders, context),
185
+ additionalAuthenticationProviders: se_AdditionalAuthenticationProviders(input.additionalAuthenticationProviders, context),
192
186
  }),
193
187
  ...(input.authenticationType != null && { authenticationType: input.authenticationType }),
194
188
  ...(input.lambdaAuthorizerConfig != null && {
195
- lambdaAuthorizerConfig: serializeAws_restJson1LambdaAuthorizerConfig(input.lambdaAuthorizerConfig, context),
189
+ lambdaAuthorizerConfig: se_LambdaAuthorizerConfig(input.lambdaAuthorizerConfig, context),
196
190
  }),
197
- ...(input.logConfig != null && { logConfig: serializeAws_restJson1LogConfig(input.logConfig, context) }),
191
+ ...(input.logConfig != null && { logConfig: se_LogConfig(input.logConfig, context) }),
198
192
  ...(input.name != null && { name: input.name }),
199
193
  ...(input.openIDConnectConfig != null && {
200
- openIDConnectConfig: serializeAws_restJson1OpenIDConnectConfig(input.openIDConnectConfig, context),
201
- }),
202
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
203
- ...(input.userPoolConfig != null && {
204
- userPoolConfig: serializeAws_restJson1UserPoolConfig(input.userPoolConfig, context),
194
+ openIDConnectConfig: se_OpenIDConnectConfig(input.openIDConnectConfig, context),
205
195
  }),
196
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
197
+ ...(input.userPoolConfig != null && { userPoolConfig: se_UserPoolConfig(input.userPoolConfig, context) }),
206
198
  ...(input.xrayEnabled != null && { xrayEnabled: input.xrayEnabled }),
207
199
  });
208
200
  return new protocol_http_1.HttpRequest({
@@ -215,8 +207,8 @@ const serializeAws_restJson1CreateGraphqlApiCommand = async (input, context) =>
215
207
  body,
216
208
  });
217
209
  };
218
- exports.serializeAws_restJson1CreateGraphqlApiCommand = serializeAws_restJson1CreateGraphqlApiCommand;
219
- const serializeAws_restJson1CreateResolverCommand = async (input, context) => {
210
+ exports.se_CreateGraphqlApiCommand = se_CreateGraphqlApiCommand;
211
+ const se_CreateResolverCommand = async (input, context) => {
220
212
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
221
213
  const headers = {
222
214
  "content-type": "application/json",
@@ -227,21 +219,17 @@ const serializeAws_restJson1CreateResolverCommand = async (input, context) => {
227
219
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "typeName", () => input.typeName, "{typeName}", false);
228
220
  let body;
229
221
  body = JSON.stringify({
230
- ...(input.cachingConfig != null && {
231
- cachingConfig: serializeAws_restJson1CachingConfig(input.cachingConfig, context),
232
- }),
222
+ ...(input.cachingConfig != null && { cachingConfig: se_CachingConfig(input.cachingConfig, context) }),
233
223
  ...(input.code != null && { code: input.code }),
234
224
  ...(input.dataSourceName != null && { dataSourceName: input.dataSourceName }),
235
225
  ...(input.fieldName != null && { fieldName: input.fieldName }),
236
226
  ...(input.kind != null && { kind: input.kind }),
237
227
  ...(input.maxBatchSize != null && { maxBatchSize: input.maxBatchSize }),
238
- ...(input.pipelineConfig != null && {
239
- pipelineConfig: serializeAws_restJson1PipelineConfig(input.pipelineConfig, context),
240
- }),
228
+ ...(input.pipelineConfig != null && { pipelineConfig: se_PipelineConfig(input.pipelineConfig, context) }),
241
229
  ...(input.requestMappingTemplate != null && { requestMappingTemplate: input.requestMappingTemplate }),
242
230
  ...(input.responseMappingTemplate != null && { responseMappingTemplate: input.responseMappingTemplate }),
243
- ...(input.runtime != null && { runtime: serializeAws_restJson1AppSyncRuntime(input.runtime, context) }),
244
- ...(input.syncConfig != null && { syncConfig: serializeAws_restJson1SyncConfig(input.syncConfig, context) }),
231
+ ...(input.runtime != null && { runtime: se_AppSyncRuntime(input.runtime, context) }),
232
+ ...(input.syncConfig != null && { syncConfig: se_SyncConfig(input.syncConfig, context) }),
245
233
  });
246
234
  return new protocol_http_1.HttpRequest({
247
235
  protocol,
@@ -253,8 +241,8 @@ const serializeAws_restJson1CreateResolverCommand = async (input, context) => {
253
241
  body,
254
242
  });
255
243
  };
256
- exports.serializeAws_restJson1CreateResolverCommand = serializeAws_restJson1CreateResolverCommand;
257
- const serializeAws_restJson1CreateTypeCommand = async (input, context) => {
244
+ exports.se_CreateResolverCommand = se_CreateResolverCommand;
245
+ const se_CreateTypeCommand = async (input, context) => {
258
246
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
259
247
  const headers = {
260
248
  "content-type": "application/json",
@@ -276,8 +264,8 @@ const serializeAws_restJson1CreateTypeCommand = async (input, context) => {
276
264
  body,
277
265
  });
278
266
  };
279
- exports.serializeAws_restJson1CreateTypeCommand = serializeAws_restJson1CreateTypeCommand;
280
- const serializeAws_restJson1DeleteApiCacheCommand = async (input, context) => {
267
+ exports.se_CreateTypeCommand = se_CreateTypeCommand;
268
+ const se_DeleteApiCacheCommand = async (input, context) => {
281
269
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
282
270
  const headers = {};
283
271
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/ApiCaches";
@@ -293,8 +281,8 @@ const serializeAws_restJson1DeleteApiCacheCommand = async (input, context) => {
293
281
  body,
294
282
  });
295
283
  };
296
- exports.serializeAws_restJson1DeleteApiCacheCommand = serializeAws_restJson1DeleteApiCacheCommand;
297
- const serializeAws_restJson1DeleteApiKeyCommand = async (input, context) => {
284
+ exports.se_DeleteApiCacheCommand = se_DeleteApiCacheCommand;
285
+ const se_DeleteApiKeyCommand = async (input, context) => {
298
286
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
299
287
  const headers = {};
300
288
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/apikeys/{id}";
@@ -311,8 +299,8 @@ const serializeAws_restJson1DeleteApiKeyCommand = async (input, context) => {
311
299
  body,
312
300
  });
313
301
  };
314
- exports.serializeAws_restJson1DeleteApiKeyCommand = serializeAws_restJson1DeleteApiKeyCommand;
315
- const serializeAws_restJson1DeleteDataSourceCommand = async (input, context) => {
302
+ exports.se_DeleteApiKeyCommand = se_DeleteApiKeyCommand;
303
+ const se_DeleteDataSourceCommand = async (input, context) => {
316
304
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
317
305
  const headers = {};
318
306
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/datasources/{name}";
@@ -329,8 +317,8 @@ const serializeAws_restJson1DeleteDataSourceCommand = async (input, context) =>
329
317
  body,
330
318
  });
331
319
  };
332
- exports.serializeAws_restJson1DeleteDataSourceCommand = serializeAws_restJson1DeleteDataSourceCommand;
333
- const serializeAws_restJson1DeleteDomainNameCommand = async (input, context) => {
320
+ exports.se_DeleteDataSourceCommand = se_DeleteDataSourceCommand;
321
+ const se_DeleteDomainNameCommand = async (input, context) => {
334
322
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
335
323
  const headers = {};
336
324
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domainnames/{domainName}";
@@ -346,8 +334,8 @@ const serializeAws_restJson1DeleteDomainNameCommand = async (input, context) =>
346
334
  body,
347
335
  });
348
336
  };
349
- exports.serializeAws_restJson1DeleteDomainNameCommand = serializeAws_restJson1DeleteDomainNameCommand;
350
- const serializeAws_restJson1DeleteFunctionCommand = async (input, context) => {
337
+ exports.se_DeleteDomainNameCommand = se_DeleteDomainNameCommand;
338
+ const se_DeleteFunctionCommand = async (input, context) => {
351
339
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
352
340
  const headers = {};
353
341
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/functions/{functionId}";
@@ -364,8 +352,8 @@ const serializeAws_restJson1DeleteFunctionCommand = async (input, context) => {
364
352
  body,
365
353
  });
366
354
  };
367
- exports.serializeAws_restJson1DeleteFunctionCommand = serializeAws_restJson1DeleteFunctionCommand;
368
- const serializeAws_restJson1DeleteGraphqlApiCommand = async (input, context) => {
355
+ exports.se_DeleteFunctionCommand = se_DeleteFunctionCommand;
356
+ const se_DeleteGraphqlApiCommand = async (input, context) => {
369
357
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
370
358
  const headers = {};
371
359
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}";
@@ -381,8 +369,8 @@ const serializeAws_restJson1DeleteGraphqlApiCommand = async (input, context) =>
381
369
  body,
382
370
  });
383
371
  };
384
- exports.serializeAws_restJson1DeleteGraphqlApiCommand = serializeAws_restJson1DeleteGraphqlApiCommand;
385
- const serializeAws_restJson1DeleteResolverCommand = async (input, context) => {
372
+ exports.se_DeleteGraphqlApiCommand = se_DeleteGraphqlApiCommand;
373
+ const se_DeleteResolverCommand = async (input, context) => {
386
374
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
387
375
  const headers = {};
388
376
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -401,8 +389,8 @@ const serializeAws_restJson1DeleteResolverCommand = async (input, context) => {
401
389
  body,
402
390
  });
403
391
  };
404
- exports.serializeAws_restJson1DeleteResolverCommand = serializeAws_restJson1DeleteResolverCommand;
405
- const serializeAws_restJson1DeleteTypeCommand = async (input, context) => {
392
+ exports.se_DeleteResolverCommand = se_DeleteResolverCommand;
393
+ const se_DeleteTypeCommand = async (input, context) => {
406
394
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
407
395
  const headers = {};
408
396
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/types/{typeName}";
@@ -419,8 +407,8 @@ const serializeAws_restJson1DeleteTypeCommand = async (input, context) => {
419
407
  body,
420
408
  });
421
409
  };
422
- exports.serializeAws_restJson1DeleteTypeCommand = serializeAws_restJson1DeleteTypeCommand;
423
- const serializeAws_restJson1DisassociateApiCommand = async (input, context) => {
410
+ exports.se_DeleteTypeCommand = se_DeleteTypeCommand;
411
+ const se_DisassociateApiCommand = async (input, context) => {
424
412
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
425
413
  const headers = {};
426
414
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -437,8 +425,8 @@ const serializeAws_restJson1DisassociateApiCommand = async (input, context) => {
437
425
  body,
438
426
  });
439
427
  };
440
- exports.serializeAws_restJson1DisassociateApiCommand = serializeAws_restJson1DisassociateApiCommand;
441
- const serializeAws_restJson1EvaluateCodeCommand = async (input, context) => {
428
+ exports.se_DisassociateApiCommand = se_DisassociateApiCommand;
429
+ const se_EvaluateCodeCommand = async (input, context) => {
442
430
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
443
431
  const headers = {
444
432
  "content-type": "application/json",
@@ -449,7 +437,7 @@ const serializeAws_restJson1EvaluateCodeCommand = async (input, context) => {
449
437
  ...(input.code != null && { code: input.code }),
450
438
  ...(input.context != null && { context: input.context }),
451
439
  ...(input.function != null && { function: input.function }),
452
- ...(input.runtime != null && { runtime: serializeAws_restJson1AppSyncRuntime(input.runtime, context) }),
440
+ ...(input.runtime != null && { runtime: se_AppSyncRuntime(input.runtime, context) }),
453
441
  });
454
442
  return new protocol_http_1.HttpRequest({
455
443
  protocol,
@@ -461,8 +449,8 @@ const serializeAws_restJson1EvaluateCodeCommand = async (input, context) => {
461
449
  body,
462
450
  });
463
451
  };
464
- exports.serializeAws_restJson1EvaluateCodeCommand = serializeAws_restJson1EvaluateCodeCommand;
465
- const serializeAws_restJson1EvaluateMappingTemplateCommand = async (input, context) => {
452
+ exports.se_EvaluateCodeCommand = se_EvaluateCodeCommand;
453
+ const se_EvaluateMappingTemplateCommand = async (input, context) => {
466
454
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
467
455
  const headers = {
468
456
  "content-type": "application/json",
@@ -483,8 +471,8 @@ const serializeAws_restJson1EvaluateMappingTemplateCommand = async (input, conte
483
471
  body,
484
472
  });
485
473
  };
486
- exports.serializeAws_restJson1EvaluateMappingTemplateCommand = serializeAws_restJson1EvaluateMappingTemplateCommand;
487
- const serializeAws_restJson1FlushApiCacheCommand = async (input, context) => {
474
+ exports.se_EvaluateMappingTemplateCommand = se_EvaluateMappingTemplateCommand;
475
+ const se_FlushApiCacheCommand = async (input, context) => {
488
476
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
489
477
  const headers = {};
490
478
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/FlushCache";
@@ -500,8 +488,8 @@ const serializeAws_restJson1FlushApiCacheCommand = async (input, context) => {
500
488
  body,
501
489
  });
502
490
  };
503
- exports.serializeAws_restJson1FlushApiCacheCommand = serializeAws_restJson1FlushApiCacheCommand;
504
- const serializeAws_restJson1GetApiAssociationCommand = async (input, context) => {
491
+ exports.se_FlushApiCacheCommand = se_FlushApiCacheCommand;
492
+ const se_GetApiAssociationCommand = async (input, context) => {
505
493
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
506
494
  const headers = {};
507
495
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -518,8 +506,8 @@ const serializeAws_restJson1GetApiAssociationCommand = async (input, context) =>
518
506
  body,
519
507
  });
520
508
  };
521
- exports.serializeAws_restJson1GetApiAssociationCommand = serializeAws_restJson1GetApiAssociationCommand;
522
- const serializeAws_restJson1GetApiCacheCommand = async (input, context) => {
509
+ exports.se_GetApiAssociationCommand = se_GetApiAssociationCommand;
510
+ const se_GetApiCacheCommand = async (input, context) => {
523
511
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
524
512
  const headers = {};
525
513
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/ApiCaches";
@@ -535,8 +523,8 @@ const serializeAws_restJson1GetApiCacheCommand = async (input, context) => {
535
523
  body,
536
524
  });
537
525
  };
538
- exports.serializeAws_restJson1GetApiCacheCommand = serializeAws_restJson1GetApiCacheCommand;
539
- const serializeAws_restJson1GetDataSourceCommand = async (input, context) => {
526
+ exports.se_GetApiCacheCommand = se_GetApiCacheCommand;
527
+ const se_GetDataSourceCommand = async (input, context) => {
540
528
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
541
529
  const headers = {};
542
530
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/datasources/{name}";
@@ -553,8 +541,8 @@ const serializeAws_restJson1GetDataSourceCommand = async (input, context) => {
553
541
  body,
554
542
  });
555
543
  };
556
- exports.serializeAws_restJson1GetDataSourceCommand = serializeAws_restJson1GetDataSourceCommand;
557
- const serializeAws_restJson1GetDomainNameCommand = async (input, context) => {
544
+ exports.se_GetDataSourceCommand = se_GetDataSourceCommand;
545
+ const se_GetDomainNameCommand = async (input, context) => {
558
546
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
559
547
  const headers = {};
560
548
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domainnames/{domainName}";
@@ -570,8 +558,8 @@ const serializeAws_restJson1GetDomainNameCommand = async (input, context) => {
570
558
  body,
571
559
  });
572
560
  };
573
- exports.serializeAws_restJson1GetDomainNameCommand = serializeAws_restJson1GetDomainNameCommand;
574
- const serializeAws_restJson1GetFunctionCommand = async (input, context) => {
561
+ exports.se_GetDomainNameCommand = se_GetDomainNameCommand;
562
+ const se_GetFunctionCommand = async (input, context) => {
575
563
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
576
564
  const headers = {};
577
565
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/functions/{functionId}";
@@ -588,8 +576,8 @@ const serializeAws_restJson1GetFunctionCommand = async (input, context) => {
588
576
  body,
589
577
  });
590
578
  };
591
- exports.serializeAws_restJson1GetFunctionCommand = serializeAws_restJson1GetFunctionCommand;
592
- const serializeAws_restJson1GetGraphqlApiCommand = async (input, context) => {
579
+ exports.se_GetFunctionCommand = se_GetFunctionCommand;
580
+ const se_GetGraphqlApiCommand = async (input, context) => {
593
581
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
594
582
  const headers = {};
595
583
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}";
@@ -605,8 +593,8 @@ const serializeAws_restJson1GetGraphqlApiCommand = async (input, context) => {
605
593
  body,
606
594
  });
607
595
  };
608
- exports.serializeAws_restJson1GetGraphqlApiCommand = serializeAws_restJson1GetGraphqlApiCommand;
609
- const serializeAws_restJson1GetIntrospectionSchemaCommand = async (input, context) => {
596
+ exports.se_GetGraphqlApiCommand = se_GetGraphqlApiCommand;
597
+ const se_GetIntrospectionSchemaCommand = async (input, context) => {
610
598
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
611
599
  const headers = {};
612
600
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/schema";
@@ -627,8 +615,8 @@ const serializeAws_restJson1GetIntrospectionSchemaCommand = async (input, contex
627
615
  body,
628
616
  });
629
617
  };
630
- exports.serializeAws_restJson1GetIntrospectionSchemaCommand = serializeAws_restJson1GetIntrospectionSchemaCommand;
631
- const serializeAws_restJson1GetResolverCommand = async (input, context) => {
618
+ exports.se_GetIntrospectionSchemaCommand = se_GetIntrospectionSchemaCommand;
619
+ const se_GetResolverCommand = async (input, context) => {
632
620
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
633
621
  const headers = {};
634
622
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -647,8 +635,8 @@ const serializeAws_restJson1GetResolverCommand = async (input, context) => {
647
635
  body,
648
636
  });
649
637
  };
650
- exports.serializeAws_restJson1GetResolverCommand = serializeAws_restJson1GetResolverCommand;
651
- const serializeAws_restJson1GetSchemaCreationStatusCommand = async (input, context) => {
638
+ exports.se_GetResolverCommand = se_GetResolverCommand;
639
+ const se_GetSchemaCreationStatusCommand = async (input, context) => {
652
640
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
653
641
  const headers = {};
654
642
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/schemacreation";
@@ -664,8 +652,8 @@ const serializeAws_restJson1GetSchemaCreationStatusCommand = async (input, conte
664
652
  body,
665
653
  });
666
654
  };
667
- exports.serializeAws_restJson1GetSchemaCreationStatusCommand = serializeAws_restJson1GetSchemaCreationStatusCommand;
668
- const serializeAws_restJson1GetTypeCommand = async (input, context) => {
655
+ exports.se_GetSchemaCreationStatusCommand = se_GetSchemaCreationStatusCommand;
656
+ const se_GetTypeCommand = async (input, context) => {
669
657
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
670
658
  const headers = {};
671
659
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/types/{typeName}";
@@ -686,8 +674,8 @@ const serializeAws_restJson1GetTypeCommand = async (input, context) => {
686
674
  body,
687
675
  });
688
676
  };
689
- exports.serializeAws_restJson1GetTypeCommand = serializeAws_restJson1GetTypeCommand;
690
- const serializeAws_restJson1ListApiKeysCommand = async (input, context) => {
677
+ exports.se_GetTypeCommand = se_GetTypeCommand;
678
+ const se_ListApiKeysCommand = async (input, context) => {
691
679
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
692
680
  const headers = {};
693
681
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/apikeys";
@@ -708,8 +696,8 @@ const serializeAws_restJson1ListApiKeysCommand = async (input, context) => {
708
696
  body,
709
697
  });
710
698
  };
711
- exports.serializeAws_restJson1ListApiKeysCommand = serializeAws_restJson1ListApiKeysCommand;
712
- const serializeAws_restJson1ListDataSourcesCommand = async (input, context) => {
699
+ exports.se_ListApiKeysCommand = se_ListApiKeysCommand;
700
+ const se_ListDataSourcesCommand = async (input, context) => {
713
701
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
714
702
  const headers = {};
715
703
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/datasources";
@@ -730,8 +718,8 @@ const serializeAws_restJson1ListDataSourcesCommand = async (input, context) => {
730
718
  body,
731
719
  });
732
720
  };
733
- exports.serializeAws_restJson1ListDataSourcesCommand = serializeAws_restJson1ListDataSourcesCommand;
734
- const serializeAws_restJson1ListDomainNamesCommand = async (input, context) => {
721
+ exports.se_ListDataSourcesCommand = se_ListDataSourcesCommand;
722
+ const se_ListDomainNamesCommand = async (input, context) => {
735
723
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
736
724
  const headers = {};
737
725
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domainnames";
@@ -751,8 +739,8 @@ const serializeAws_restJson1ListDomainNamesCommand = async (input, context) => {
751
739
  body,
752
740
  });
753
741
  };
754
- exports.serializeAws_restJson1ListDomainNamesCommand = serializeAws_restJson1ListDomainNamesCommand;
755
- const serializeAws_restJson1ListFunctionsCommand = async (input, context) => {
742
+ exports.se_ListDomainNamesCommand = se_ListDomainNamesCommand;
743
+ const se_ListFunctionsCommand = async (input, context) => {
756
744
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
757
745
  const headers = {};
758
746
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/functions";
@@ -773,8 +761,8 @@ const serializeAws_restJson1ListFunctionsCommand = async (input, context) => {
773
761
  body,
774
762
  });
775
763
  };
776
- exports.serializeAws_restJson1ListFunctionsCommand = serializeAws_restJson1ListFunctionsCommand;
777
- const serializeAws_restJson1ListGraphqlApisCommand = async (input, context) => {
764
+ exports.se_ListFunctionsCommand = se_ListFunctionsCommand;
765
+ const se_ListGraphqlApisCommand = async (input, context) => {
778
766
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
779
767
  const headers = {};
780
768
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis";
@@ -794,8 +782,8 @@ const serializeAws_restJson1ListGraphqlApisCommand = async (input, context) => {
794
782
  body,
795
783
  });
796
784
  };
797
- exports.serializeAws_restJson1ListGraphqlApisCommand = serializeAws_restJson1ListGraphqlApisCommand;
798
- const serializeAws_restJson1ListResolversCommand = async (input, context) => {
785
+ exports.se_ListGraphqlApisCommand = se_ListGraphqlApisCommand;
786
+ const se_ListResolversCommand = async (input, context) => {
799
787
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
800
788
  const headers = {};
801
789
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -818,8 +806,8 @@ const serializeAws_restJson1ListResolversCommand = async (input, context) => {
818
806
  body,
819
807
  });
820
808
  };
821
- exports.serializeAws_restJson1ListResolversCommand = serializeAws_restJson1ListResolversCommand;
822
- const serializeAws_restJson1ListResolversByFunctionCommand = async (input, context) => {
809
+ exports.se_ListResolversCommand = se_ListResolversCommand;
810
+ const se_ListResolversByFunctionCommand = async (input, context) => {
823
811
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
824
812
  const headers = {};
825
813
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -842,8 +830,8 @@ const serializeAws_restJson1ListResolversByFunctionCommand = async (input, conte
842
830
  body,
843
831
  });
844
832
  };
845
- exports.serializeAws_restJson1ListResolversByFunctionCommand = serializeAws_restJson1ListResolversByFunctionCommand;
846
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
833
+ exports.se_ListResolversByFunctionCommand = se_ListResolversByFunctionCommand;
834
+ const se_ListTagsForResourceCommand = async (input, context) => {
847
835
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
848
836
  const headers = {};
849
837
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags/{resourceArn}";
@@ -859,8 +847,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
859
847
  body,
860
848
  });
861
849
  };
862
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
863
- const serializeAws_restJson1ListTypesCommand = async (input, context) => {
850
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
851
+ const se_ListTypesCommand = async (input, context) => {
864
852
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
865
853
  const headers = {};
866
854
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/types";
@@ -882,8 +870,8 @@ const serializeAws_restJson1ListTypesCommand = async (input, context) => {
882
870
  body,
883
871
  });
884
872
  };
885
- exports.serializeAws_restJson1ListTypesCommand = serializeAws_restJson1ListTypesCommand;
886
- const serializeAws_restJson1StartSchemaCreationCommand = async (input, context) => {
873
+ exports.se_ListTypesCommand = se_ListTypesCommand;
874
+ const se_StartSchemaCreationCommand = async (input, context) => {
887
875
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
888
876
  const headers = {
889
877
  "content-type": "application/json",
@@ -904,8 +892,8 @@ const serializeAws_restJson1StartSchemaCreationCommand = async (input, context)
904
892
  body,
905
893
  });
906
894
  };
907
- exports.serializeAws_restJson1StartSchemaCreationCommand = serializeAws_restJson1StartSchemaCreationCommand;
908
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
895
+ exports.se_StartSchemaCreationCommand = se_StartSchemaCreationCommand;
896
+ const se_TagResourceCommand = async (input, context) => {
909
897
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
910
898
  const headers = {
911
899
  "content-type": "application/json",
@@ -914,7 +902,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
914
902
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
915
903
  let body;
916
904
  body = JSON.stringify({
917
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
905
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
918
906
  });
919
907
  return new protocol_http_1.HttpRequest({
920
908
  protocol,
@@ -926,8 +914,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
926
914
  body,
927
915
  });
928
916
  };
929
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
930
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
917
+ exports.se_TagResourceCommand = se_TagResourceCommand;
918
+ const se_UntagResourceCommand = async (input, context) => {
931
919
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
932
920
  const headers = {};
933
921
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags/{resourceArn}";
@@ -950,8 +938,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
950
938
  body,
951
939
  });
952
940
  };
953
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
954
- const serializeAws_restJson1UpdateApiCacheCommand = async (input, context) => {
941
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
942
+ const se_UpdateApiCacheCommand = async (input, context) => {
955
943
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
956
944
  const headers = {
957
945
  "content-type": "application/json",
@@ -974,8 +962,8 @@ const serializeAws_restJson1UpdateApiCacheCommand = async (input, context) => {
974
962
  body,
975
963
  });
976
964
  };
977
- exports.serializeAws_restJson1UpdateApiCacheCommand = serializeAws_restJson1UpdateApiCacheCommand;
978
- const serializeAws_restJson1UpdateApiKeyCommand = async (input, context) => {
965
+ exports.se_UpdateApiCacheCommand = se_UpdateApiCacheCommand;
966
+ const se_UpdateApiKeyCommand = async (input, context) => {
979
967
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
980
968
  const headers = {
981
969
  "content-type": "application/json",
@@ -998,8 +986,8 @@ const serializeAws_restJson1UpdateApiKeyCommand = async (input, context) => {
998
986
  body,
999
987
  });
1000
988
  };
1001
- exports.serializeAws_restJson1UpdateApiKeyCommand = serializeAws_restJson1UpdateApiKeyCommand;
1002
- const serializeAws_restJson1UpdateDataSourceCommand = async (input, context) => {
989
+ exports.se_UpdateApiKeyCommand = se_UpdateApiKeyCommand;
990
+ const se_UpdateDataSourceCommand = async (input, context) => {
1003
991
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1004
992
  const headers = {
1005
993
  "content-type": "application/json",
@@ -1010,26 +998,20 @@ const serializeAws_restJson1UpdateDataSourceCommand = async (input, context) =>
1010
998
  let body;
1011
999
  body = JSON.stringify({
1012
1000
  ...(input.description != null && { description: input.description }),
1013
- ...(input.dynamodbConfig != null && {
1014
- dynamodbConfig: serializeAws_restJson1DynamodbDataSourceConfig(input.dynamodbConfig, context),
1015
- }),
1001
+ ...(input.dynamodbConfig != null && { dynamodbConfig: se_DynamodbDataSourceConfig(input.dynamodbConfig, context) }),
1016
1002
  ...(input.elasticsearchConfig != null && {
1017
- elasticsearchConfig: serializeAws_restJson1ElasticsearchDataSourceConfig(input.elasticsearchConfig, context),
1003
+ elasticsearchConfig: se_ElasticsearchDataSourceConfig(input.elasticsearchConfig, context),
1018
1004
  }),
1019
1005
  ...(input.eventBridgeConfig != null && {
1020
- eventBridgeConfig: serializeAws_restJson1EventBridgeDataSourceConfig(input.eventBridgeConfig, context),
1021
- }),
1022
- ...(input.httpConfig != null && {
1023
- httpConfig: serializeAws_restJson1HttpDataSourceConfig(input.httpConfig, context),
1024
- }),
1025
- ...(input.lambdaConfig != null && {
1026
- lambdaConfig: serializeAws_restJson1LambdaDataSourceConfig(input.lambdaConfig, context),
1006
+ eventBridgeConfig: se_EventBridgeDataSourceConfig(input.eventBridgeConfig, context),
1027
1007
  }),
1008
+ ...(input.httpConfig != null && { httpConfig: se_HttpDataSourceConfig(input.httpConfig, context) }),
1009
+ ...(input.lambdaConfig != null && { lambdaConfig: se_LambdaDataSourceConfig(input.lambdaConfig, context) }),
1028
1010
  ...(input.openSearchServiceConfig != null && {
1029
- openSearchServiceConfig: serializeAws_restJson1OpenSearchServiceDataSourceConfig(input.openSearchServiceConfig, context),
1011
+ openSearchServiceConfig: se_OpenSearchServiceDataSourceConfig(input.openSearchServiceConfig, context),
1030
1012
  }),
1031
1013
  ...(input.relationalDatabaseConfig != null && {
1032
- relationalDatabaseConfig: serializeAws_restJson1RelationalDatabaseDataSourceConfig(input.relationalDatabaseConfig, context),
1014
+ relationalDatabaseConfig: se_RelationalDatabaseDataSourceConfig(input.relationalDatabaseConfig, context),
1033
1015
  }),
1034
1016
  ...(input.serviceRoleArn != null && { serviceRoleArn: input.serviceRoleArn }),
1035
1017
  ...(input.type != null && { type: input.type }),
@@ -1044,8 +1026,8 @@ const serializeAws_restJson1UpdateDataSourceCommand = async (input, context) =>
1044
1026
  body,
1045
1027
  });
1046
1028
  };
1047
- exports.serializeAws_restJson1UpdateDataSourceCommand = serializeAws_restJson1UpdateDataSourceCommand;
1048
- const serializeAws_restJson1UpdateDomainNameCommand = async (input, context) => {
1029
+ exports.se_UpdateDataSourceCommand = se_UpdateDataSourceCommand;
1030
+ const se_UpdateDomainNameCommand = async (input, context) => {
1049
1031
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1050
1032
  const headers = {
1051
1033
  "content-type": "application/json",
@@ -1066,8 +1048,8 @@ const serializeAws_restJson1UpdateDomainNameCommand = async (input, context) =>
1066
1048
  body,
1067
1049
  });
1068
1050
  };
1069
- exports.serializeAws_restJson1UpdateDomainNameCommand = serializeAws_restJson1UpdateDomainNameCommand;
1070
- const serializeAws_restJson1UpdateFunctionCommand = async (input, context) => {
1051
+ exports.se_UpdateDomainNameCommand = se_UpdateDomainNameCommand;
1052
+ const se_UpdateFunctionCommand = async (input, context) => {
1071
1053
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1072
1054
  const headers = {
1073
1055
  "content-type": "application/json",
@@ -1085,8 +1067,8 @@ const serializeAws_restJson1UpdateFunctionCommand = async (input, context) => {
1085
1067
  ...(input.name != null && { name: input.name }),
1086
1068
  ...(input.requestMappingTemplate != null && { requestMappingTemplate: input.requestMappingTemplate }),
1087
1069
  ...(input.responseMappingTemplate != null && { responseMappingTemplate: input.responseMappingTemplate }),
1088
- ...(input.runtime != null && { runtime: serializeAws_restJson1AppSyncRuntime(input.runtime, context) }),
1089
- ...(input.syncConfig != null && { syncConfig: serializeAws_restJson1SyncConfig(input.syncConfig, context) }),
1070
+ ...(input.runtime != null && { runtime: se_AppSyncRuntime(input.runtime, context) }),
1071
+ ...(input.syncConfig != null && { syncConfig: se_SyncConfig(input.syncConfig, context) }),
1090
1072
  });
1091
1073
  return new protocol_http_1.HttpRequest({
1092
1074
  protocol,
@@ -1098,8 +1080,8 @@ const serializeAws_restJson1UpdateFunctionCommand = async (input, context) => {
1098
1080
  body,
1099
1081
  });
1100
1082
  };
1101
- exports.serializeAws_restJson1UpdateFunctionCommand = serializeAws_restJson1UpdateFunctionCommand;
1102
- const serializeAws_restJson1UpdateGraphqlApiCommand = async (input, context) => {
1083
+ exports.se_UpdateFunctionCommand = se_UpdateFunctionCommand;
1084
+ const se_UpdateGraphqlApiCommand = async (input, context) => {
1103
1085
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1104
1086
  const headers = {
1105
1087
  "content-type": "application/json",
@@ -1109,20 +1091,18 @@ const serializeAws_restJson1UpdateGraphqlApiCommand = async (input, context) =>
1109
1091
  let body;
1110
1092
  body = JSON.stringify({
1111
1093
  ...(input.additionalAuthenticationProviders != null && {
1112
- additionalAuthenticationProviders: serializeAws_restJson1AdditionalAuthenticationProviders(input.additionalAuthenticationProviders, context),
1094
+ additionalAuthenticationProviders: se_AdditionalAuthenticationProviders(input.additionalAuthenticationProviders, context),
1113
1095
  }),
1114
1096
  ...(input.authenticationType != null && { authenticationType: input.authenticationType }),
1115
1097
  ...(input.lambdaAuthorizerConfig != null && {
1116
- lambdaAuthorizerConfig: serializeAws_restJson1LambdaAuthorizerConfig(input.lambdaAuthorizerConfig, context),
1098
+ lambdaAuthorizerConfig: se_LambdaAuthorizerConfig(input.lambdaAuthorizerConfig, context),
1117
1099
  }),
1118
- ...(input.logConfig != null && { logConfig: serializeAws_restJson1LogConfig(input.logConfig, context) }),
1100
+ ...(input.logConfig != null && { logConfig: se_LogConfig(input.logConfig, context) }),
1119
1101
  ...(input.name != null && { name: input.name }),
1120
1102
  ...(input.openIDConnectConfig != null && {
1121
- openIDConnectConfig: serializeAws_restJson1OpenIDConnectConfig(input.openIDConnectConfig, context),
1122
- }),
1123
- ...(input.userPoolConfig != null && {
1124
- userPoolConfig: serializeAws_restJson1UserPoolConfig(input.userPoolConfig, context),
1103
+ openIDConnectConfig: se_OpenIDConnectConfig(input.openIDConnectConfig, context),
1125
1104
  }),
1105
+ ...(input.userPoolConfig != null && { userPoolConfig: se_UserPoolConfig(input.userPoolConfig, context) }),
1126
1106
  ...(input.xrayEnabled != null && { xrayEnabled: input.xrayEnabled }),
1127
1107
  });
1128
1108
  return new protocol_http_1.HttpRequest({
@@ -1135,8 +1115,8 @@ const serializeAws_restJson1UpdateGraphqlApiCommand = async (input, context) =>
1135
1115
  body,
1136
1116
  });
1137
1117
  };
1138
- exports.serializeAws_restJson1UpdateGraphqlApiCommand = serializeAws_restJson1UpdateGraphqlApiCommand;
1139
- const serializeAws_restJson1UpdateResolverCommand = async (input, context) => {
1118
+ exports.se_UpdateGraphqlApiCommand = se_UpdateGraphqlApiCommand;
1119
+ const se_UpdateResolverCommand = async (input, context) => {
1140
1120
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1141
1121
  const headers = {
1142
1122
  "content-type": "application/json",
@@ -1148,20 +1128,16 @@ const serializeAws_restJson1UpdateResolverCommand = async (input, context) => {
1148
1128
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "fieldName", () => input.fieldName, "{fieldName}", false);
1149
1129
  let body;
1150
1130
  body = JSON.stringify({
1151
- ...(input.cachingConfig != null && {
1152
- cachingConfig: serializeAws_restJson1CachingConfig(input.cachingConfig, context),
1153
- }),
1131
+ ...(input.cachingConfig != null && { cachingConfig: se_CachingConfig(input.cachingConfig, context) }),
1154
1132
  ...(input.code != null && { code: input.code }),
1155
1133
  ...(input.dataSourceName != null && { dataSourceName: input.dataSourceName }),
1156
1134
  ...(input.kind != null && { kind: input.kind }),
1157
1135
  ...(input.maxBatchSize != null && { maxBatchSize: input.maxBatchSize }),
1158
- ...(input.pipelineConfig != null && {
1159
- pipelineConfig: serializeAws_restJson1PipelineConfig(input.pipelineConfig, context),
1160
- }),
1136
+ ...(input.pipelineConfig != null && { pipelineConfig: se_PipelineConfig(input.pipelineConfig, context) }),
1161
1137
  ...(input.requestMappingTemplate != null && { requestMappingTemplate: input.requestMappingTemplate }),
1162
1138
  ...(input.responseMappingTemplate != null && { responseMappingTemplate: input.responseMappingTemplate }),
1163
- ...(input.runtime != null && { runtime: serializeAws_restJson1AppSyncRuntime(input.runtime, context) }),
1164
- ...(input.syncConfig != null && { syncConfig: serializeAws_restJson1SyncConfig(input.syncConfig, context) }),
1139
+ ...(input.runtime != null && { runtime: se_AppSyncRuntime(input.runtime, context) }),
1140
+ ...(input.syncConfig != null && { syncConfig: se_SyncConfig(input.syncConfig, context) }),
1165
1141
  });
1166
1142
  return new protocol_http_1.HttpRequest({
1167
1143
  protocol,
@@ -1173,8 +1149,8 @@ const serializeAws_restJson1UpdateResolverCommand = async (input, context) => {
1173
1149
  body,
1174
1150
  });
1175
1151
  };
1176
- exports.serializeAws_restJson1UpdateResolverCommand = serializeAws_restJson1UpdateResolverCommand;
1177
- const serializeAws_restJson1UpdateTypeCommand = async (input, context) => {
1152
+ exports.se_UpdateResolverCommand = se_UpdateResolverCommand;
1153
+ const se_UpdateTypeCommand = async (input, context) => {
1178
1154
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1179
1155
  const headers = {
1180
1156
  "content-type": "application/json",
@@ -1197,22 +1173,22 @@ const serializeAws_restJson1UpdateTypeCommand = async (input, context) => {
1197
1173
  body,
1198
1174
  });
1199
1175
  };
1200
- exports.serializeAws_restJson1UpdateTypeCommand = serializeAws_restJson1UpdateTypeCommand;
1201
- const deserializeAws_restJson1AssociateApiCommand = async (output, context) => {
1176
+ exports.se_UpdateTypeCommand = se_UpdateTypeCommand;
1177
+ const de_AssociateApiCommand = async (output, context) => {
1202
1178
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1203
- return deserializeAws_restJson1AssociateApiCommandError(output, context);
1179
+ return de_AssociateApiCommandError(output, context);
1204
1180
  }
1205
1181
  const contents = map({
1206
1182
  $metadata: deserializeMetadata(output),
1207
1183
  });
1208
1184
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1209
1185
  if (data.apiAssociation != null) {
1210
- contents.apiAssociation = deserializeAws_restJson1ApiAssociation(data.apiAssociation, context);
1186
+ contents.apiAssociation = de_ApiAssociation(data.apiAssociation, context);
1211
1187
  }
1212
1188
  return contents;
1213
1189
  };
1214
- exports.deserializeAws_restJson1AssociateApiCommand = deserializeAws_restJson1AssociateApiCommand;
1215
- const deserializeAws_restJson1AssociateApiCommandError = async (output, context) => {
1190
+ exports.de_AssociateApiCommand = de_AssociateApiCommand;
1191
+ const de_AssociateApiCommandError = async (output, context) => {
1216
1192
  const parsedOutput = {
1217
1193
  ...output,
1218
1194
  body: await parseErrorBody(output.body, context),
@@ -1221,16 +1197,16 @@ const deserializeAws_restJson1AssociateApiCommandError = async (output, context)
1221
1197
  switch (errorCode) {
1222
1198
  case "AccessDeniedException":
1223
1199
  case "com.amazonaws.appsync#AccessDeniedException":
1224
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1200
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1225
1201
  case "BadRequestException":
1226
1202
  case "com.amazonaws.appsync#BadRequestException":
1227
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1203
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1228
1204
  case "InternalFailureException":
1229
1205
  case "com.amazonaws.appsync#InternalFailureException":
1230
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1206
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1231
1207
  case "NotFoundException":
1232
1208
  case "com.amazonaws.appsync#NotFoundException":
1233
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1209
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1234
1210
  default:
1235
1211
  const parsedBody = parsedOutput.body;
1236
1212
  (0, smithy_client_1.throwDefaultError)({
@@ -1241,21 +1217,21 @@ const deserializeAws_restJson1AssociateApiCommandError = async (output, context)
1241
1217
  });
1242
1218
  }
1243
1219
  };
1244
- const deserializeAws_restJson1CreateApiCacheCommand = async (output, context) => {
1220
+ const de_CreateApiCacheCommand = async (output, context) => {
1245
1221
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1246
- return deserializeAws_restJson1CreateApiCacheCommandError(output, context);
1222
+ return de_CreateApiCacheCommandError(output, context);
1247
1223
  }
1248
1224
  const contents = map({
1249
1225
  $metadata: deserializeMetadata(output),
1250
1226
  });
1251
1227
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1252
1228
  if (data.apiCache != null) {
1253
- contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
1229
+ contents.apiCache = de_ApiCache(data.apiCache, context);
1254
1230
  }
1255
1231
  return contents;
1256
1232
  };
1257
- exports.deserializeAws_restJson1CreateApiCacheCommand = deserializeAws_restJson1CreateApiCacheCommand;
1258
- const deserializeAws_restJson1CreateApiCacheCommandError = async (output, context) => {
1233
+ exports.de_CreateApiCacheCommand = de_CreateApiCacheCommand;
1234
+ const de_CreateApiCacheCommandError = async (output, context) => {
1259
1235
  const parsedOutput = {
1260
1236
  ...output,
1261
1237
  body: await parseErrorBody(output.body, context),
@@ -1264,19 +1240,19 @@ const deserializeAws_restJson1CreateApiCacheCommandError = async (output, contex
1264
1240
  switch (errorCode) {
1265
1241
  case "BadRequestException":
1266
1242
  case "com.amazonaws.appsync#BadRequestException":
1267
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1243
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1268
1244
  case "ConcurrentModificationException":
1269
1245
  case "com.amazonaws.appsync#ConcurrentModificationException":
1270
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1246
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1271
1247
  case "InternalFailureException":
1272
1248
  case "com.amazonaws.appsync#InternalFailureException":
1273
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1249
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1274
1250
  case "NotFoundException":
1275
1251
  case "com.amazonaws.appsync#NotFoundException":
1276
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1252
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1277
1253
  case "UnauthorizedException":
1278
1254
  case "com.amazonaws.appsync#UnauthorizedException":
1279
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1255
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1280
1256
  default:
1281
1257
  const parsedBody = parsedOutput.body;
1282
1258
  (0, smithy_client_1.throwDefaultError)({
@@ -1287,21 +1263,21 @@ const deserializeAws_restJson1CreateApiCacheCommandError = async (output, contex
1287
1263
  });
1288
1264
  }
1289
1265
  };
1290
- const deserializeAws_restJson1CreateApiKeyCommand = async (output, context) => {
1266
+ const de_CreateApiKeyCommand = async (output, context) => {
1291
1267
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1292
- return deserializeAws_restJson1CreateApiKeyCommandError(output, context);
1268
+ return de_CreateApiKeyCommandError(output, context);
1293
1269
  }
1294
1270
  const contents = map({
1295
1271
  $metadata: deserializeMetadata(output),
1296
1272
  });
1297
1273
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1298
1274
  if (data.apiKey != null) {
1299
- contents.apiKey = deserializeAws_restJson1ApiKey(data.apiKey, context);
1275
+ contents.apiKey = de_ApiKey(data.apiKey, context);
1300
1276
  }
1301
1277
  return contents;
1302
1278
  };
1303
- exports.deserializeAws_restJson1CreateApiKeyCommand = deserializeAws_restJson1CreateApiKeyCommand;
1304
- const deserializeAws_restJson1CreateApiKeyCommandError = async (output, context) => {
1279
+ exports.de_CreateApiKeyCommand = de_CreateApiKeyCommand;
1280
+ const de_CreateApiKeyCommandError = async (output, context) => {
1305
1281
  const parsedOutput = {
1306
1282
  ...output,
1307
1283
  body: await parseErrorBody(output.body, context),
@@ -1310,25 +1286,25 @@ const deserializeAws_restJson1CreateApiKeyCommandError = async (output, context)
1310
1286
  switch (errorCode) {
1311
1287
  case "ApiKeyLimitExceededException":
1312
1288
  case "com.amazonaws.appsync#ApiKeyLimitExceededException":
1313
- throw await deserializeAws_restJson1ApiKeyLimitExceededExceptionResponse(parsedOutput, context);
1289
+ throw await de_ApiKeyLimitExceededExceptionRes(parsedOutput, context);
1314
1290
  case "ApiKeyValidityOutOfBoundsException":
1315
1291
  case "com.amazonaws.appsync#ApiKeyValidityOutOfBoundsException":
1316
- throw await deserializeAws_restJson1ApiKeyValidityOutOfBoundsExceptionResponse(parsedOutput, context);
1292
+ throw await de_ApiKeyValidityOutOfBoundsExceptionRes(parsedOutput, context);
1317
1293
  case "BadRequestException":
1318
1294
  case "com.amazonaws.appsync#BadRequestException":
1319
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1295
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1320
1296
  case "InternalFailureException":
1321
1297
  case "com.amazonaws.appsync#InternalFailureException":
1322
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1298
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1323
1299
  case "LimitExceededException":
1324
1300
  case "com.amazonaws.appsync#LimitExceededException":
1325
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
1301
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1326
1302
  case "NotFoundException":
1327
1303
  case "com.amazonaws.appsync#NotFoundException":
1328
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1304
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1329
1305
  case "UnauthorizedException":
1330
1306
  case "com.amazonaws.appsync#UnauthorizedException":
1331
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1307
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1332
1308
  default:
1333
1309
  const parsedBody = parsedOutput.body;
1334
1310
  (0, smithy_client_1.throwDefaultError)({
@@ -1339,21 +1315,21 @@ const deserializeAws_restJson1CreateApiKeyCommandError = async (output, context)
1339
1315
  });
1340
1316
  }
1341
1317
  };
1342
- const deserializeAws_restJson1CreateDataSourceCommand = async (output, context) => {
1318
+ const de_CreateDataSourceCommand = async (output, context) => {
1343
1319
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1344
- return deserializeAws_restJson1CreateDataSourceCommandError(output, context);
1320
+ return de_CreateDataSourceCommandError(output, context);
1345
1321
  }
1346
1322
  const contents = map({
1347
1323
  $metadata: deserializeMetadata(output),
1348
1324
  });
1349
1325
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1350
1326
  if (data.dataSource != null) {
1351
- contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
1327
+ contents.dataSource = de_DataSource(data.dataSource, context);
1352
1328
  }
1353
1329
  return contents;
1354
1330
  };
1355
- exports.deserializeAws_restJson1CreateDataSourceCommand = deserializeAws_restJson1CreateDataSourceCommand;
1356
- const deserializeAws_restJson1CreateDataSourceCommandError = async (output, context) => {
1331
+ exports.de_CreateDataSourceCommand = de_CreateDataSourceCommand;
1332
+ const de_CreateDataSourceCommandError = async (output, context) => {
1357
1333
  const parsedOutput = {
1358
1334
  ...output,
1359
1335
  body: await parseErrorBody(output.body, context),
@@ -1362,19 +1338,19 @@ const deserializeAws_restJson1CreateDataSourceCommandError = async (output, cont
1362
1338
  switch (errorCode) {
1363
1339
  case "BadRequestException":
1364
1340
  case "com.amazonaws.appsync#BadRequestException":
1365
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1341
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1366
1342
  case "ConcurrentModificationException":
1367
1343
  case "com.amazonaws.appsync#ConcurrentModificationException":
1368
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1344
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1369
1345
  case "InternalFailureException":
1370
1346
  case "com.amazonaws.appsync#InternalFailureException":
1371
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1347
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1372
1348
  case "NotFoundException":
1373
1349
  case "com.amazonaws.appsync#NotFoundException":
1374
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1350
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1375
1351
  case "UnauthorizedException":
1376
1352
  case "com.amazonaws.appsync#UnauthorizedException":
1377
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1353
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1378
1354
  default:
1379
1355
  const parsedBody = parsedOutput.body;
1380
1356
  (0, smithy_client_1.throwDefaultError)({
@@ -1385,21 +1361,21 @@ const deserializeAws_restJson1CreateDataSourceCommandError = async (output, cont
1385
1361
  });
1386
1362
  }
1387
1363
  };
1388
- const deserializeAws_restJson1CreateDomainNameCommand = async (output, context) => {
1364
+ const de_CreateDomainNameCommand = async (output, context) => {
1389
1365
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1390
- return deserializeAws_restJson1CreateDomainNameCommandError(output, context);
1366
+ return de_CreateDomainNameCommandError(output, context);
1391
1367
  }
1392
1368
  const contents = map({
1393
1369
  $metadata: deserializeMetadata(output),
1394
1370
  });
1395
1371
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1396
1372
  if (data.domainNameConfig != null) {
1397
- contents.domainNameConfig = deserializeAws_restJson1DomainNameConfig(data.domainNameConfig, context);
1373
+ contents.domainNameConfig = de_DomainNameConfig(data.domainNameConfig, context);
1398
1374
  }
1399
1375
  return contents;
1400
1376
  };
1401
- exports.deserializeAws_restJson1CreateDomainNameCommand = deserializeAws_restJson1CreateDomainNameCommand;
1402
- const deserializeAws_restJson1CreateDomainNameCommandError = async (output, context) => {
1377
+ exports.de_CreateDomainNameCommand = de_CreateDomainNameCommand;
1378
+ const de_CreateDomainNameCommandError = async (output, context) => {
1403
1379
  const parsedOutput = {
1404
1380
  ...output,
1405
1381
  body: await parseErrorBody(output.body, context),
@@ -1408,13 +1384,13 @@ const deserializeAws_restJson1CreateDomainNameCommandError = async (output, cont
1408
1384
  switch (errorCode) {
1409
1385
  case "AccessDeniedException":
1410
1386
  case "com.amazonaws.appsync#AccessDeniedException":
1411
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1387
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1412
1388
  case "BadRequestException":
1413
1389
  case "com.amazonaws.appsync#BadRequestException":
1414
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1390
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1415
1391
  case "InternalFailureException":
1416
1392
  case "com.amazonaws.appsync#InternalFailureException":
1417
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1393
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1418
1394
  default:
1419
1395
  const parsedBody = parsedOutput.body;
1420
1396
  (0, smithy_client_1.throwDefaultError)({
@@ -1425,21 +1401,21 @@ const deserializeAws_restJson1CreateDomainNameCommandError = async (output, cont
1425
1401
  });
1426
1402
  }
1427
1403
  };
1428
- const deserializeAws_restJson1CreateFunctionCommand = async (output, context) => {
1404
+ const de_CreateFunctionCommand = async (output, context) => {
1429
1405
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1430
- return deserializeAws_restJson1CreateFunctionCommandError(output, context);
1406
+ return de_CreateFunctionCommandError(output, context);
1431
1407
  }
1432
1408
  const contents = map({
1433
1409
  $metadata: deserializeMetadata(output),
1434
1410
  });
1435
1411
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1436
1412
  if (data.functionConfiguration != null) {
1437
- contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
1413
+ contents.functionConfiguration = de_FunctionConfiguration(data.functionConfiguration, context);
1438
1414
  }
1439
1415
  return contents;
1440
1416
  };
1441
- exports.deserializeAws_restJson1CreateFunctionCommand = deserializeAws_restJson1CreateFunctionCommand;
1442
- const deserializeAws_restJson1CreateFunctionCommandError = async (output, context) => {
1417
+ exports.de_CreateFunctionCommand = de_CreateFunctionCommand;
1418
+ const de_CreateFunctionCommandError = async (output, context) => {
1443
1419
  const parsedOutput = {
1444
1420
  ...output,
1445
1421
  body: await parseErrorBody(output.body, context),
@@ -1448,16 +1424,16 @@ const deserializeAws_restJson1CreateFunctionCommandError = async (output, contex
1448
1424
  switch (errorCode) {
1449
1425
  case "ConcurrentModificationException":
1450
1426
  case "com.amazonaws.appsync#ConcurrentModificationException":
1451
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1427
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1452
1428
  case "InternalFailureException":
1453
1429
  case "com.amazonaws.appsync#InternalFailureException":
1454
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1430
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1455
1431
  case "NotFoundException":
1456
1432
  case "com.amazonaws.appsync#NotFoundException":
1457
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1433
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1458
1434
  case "UnauthorizedException":
1459
1435
  case "com.amazonaws.appsync#UnauthorizedException":
1460
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1436
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1461
1437
  default:
1462
1438
  const parsedBody = parsedOutput.body;
1463
1439
  (0, smithy_client_1.throwDefaultError)({
@@ -1468,21 +1444,21 @@ const deserializeAws_restJson1CreateFunctionCommandError = async (output, contex
1468
1444
  });
1469
1445
  }
1470
1446
  };
1471
- const deserializeAws_restJson1CreateGraphqlApiCommand = async (output, context) => {
1447
+ const de_CreateGraphqlApiCommand = async (output, context) => {
1472
1448
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1473
- return deserializeAws_restJson1CreateGraphqlApiCommandError(output, context);
1449
+ return de_CreateGraphqlApiCommandError(output, context);
1474
1450
  }
1475
1451
  const contents = map({
1476
1452
  $metadata: deserializeMetadata(output),
1477
1453
  });
1478
1454
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1479
1455
  if (data.graphqlApi != null) {
1480
- contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
1456
+ contents.graphqlApi = de_GraphqlApi(data.graphqlApi, context);
1481
1457
  }
1482
1458
  return contents;
1483
1459
  };
1484
- exports.deserializeAws_restJson1CreateGraphqlApiCommand = deserializeAws_restJson1CreateGraphqlApiCommand;
1485
- const deserializeAws_restJson1CreateGraphqlApiCommandError = async (output, context) => {
1460
+ exports.de_CreateGraphqlApiCommand = de_CreateGraphqlApiCommand;
1461
+ const de_CreateGraphqlApiCommandError = async (output, context) => {
1486
1462
  const parsedOutput = {
1487
1463
  ...output,
1488
1464
  body: await parseErrorBody(output.body, context),
@@ -1491,22 +1467,22 @@ const deserializeAws_restJson1CreateGraphqlApiCommandError = async (output, cont
1491
1467
  switch (errorCode) {
1492
1468
  case "ApiLimitExceededException":
1493
1469
  case "com.amazonaws.appsync#ApiLimitExceededException":
1494
- throw await deserializeAws_restJson1ApiLimitExceededExceptionResponse(parsedOutput, context);
1470
+ throw await de_ApiLimitExceededExceptionRes(parsedOutput, context);
1495
1471
  case "BadRequestException":
1496
1472
  case "com.amazonaws.appsync#BadRequestException":
1497
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1473
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1498
1474
  case "ConcurrentModificationException":
1499
1475
  case "com.amazonaws.appsync#ConcurrentModificationException":
1500
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1476
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1501
1477
  case "InternalFailureException":
1502
1478
  case "com.amazonaws.appsync#InternalFailureException":
1503
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1479
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1504
1480
  case "LimitExceededException":
1505
1481
  case "com.amazonaws.appsync#LimitExceededException":
1506
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
1482
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1507
1483
  case "UnauthorizedException":
1508
1484
  case "com.amazonaws.appsync#UnauthorizedException":
1509
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1485
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1510
1486
  default:
1511
1487
  const parsedBody = parsedOutput.body;
1512
1488
  (0, smithy_client_1.throwDefaultError)({
@@ -1517,21 +1493,21 @@ const deserializeAws_restJson1CreateGraphqlApiCommandError = async (output, cont
1517
1493
  });
1518
1494
  }
1519
1495
  };
1520
- const deserializeAws_restJson1CreateResolverCommand = async (output, context) => {
1496
+ const de_CreateResolverCommand = async (output, context) => {
1521
1497
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1522
- return deserializeAws_restJson1CreateResolverCommandError(output, context);
1498
+ return de_CreateResolverCommandError(output, context);
1523
1499
  }
1524
1500
  const contents = map({
1525
1501
  $metadata: deserializeMetadata(output),
1526
1502
  });
1527
1503
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1528
1504
  if (data.resolver != null) {
1529
- contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
1505
+ contents.resolver = de_Resolver(data.resolver, context);
1530
1506
  }
1531
1507
  return contents;
1532
1508
  };
1533
- exports.deserializeAws_restJson1CreateResolverCommand = deserializeAws_restJson1CreateResolverCommand;
1534
- const deserializeAws_restJson1CreateResolverCommandError = async (output, context) => {
1509
+ exports.de_CreateResolverCommand = de_CreateResolverCommand;
1510
+ const de_CreateResolverCommandError = async (output, context) => {
1535
1511
  const parsedOutput = {
1536
1512
  ...output,
1537
1513
  body: await parseErrorBody(output.body, context),
@@ -1540,19 +1516,19 @@ const deserializeAws_restJson1CreateResolverCommandError = async (output, contex
1540
1516
  switch (errorCode) {
1541
1517
  case "BadRequestException":
1542
1518
  case "com.amazonaws.appsync#BadRequestException":
1543
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1519
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1544
1520
  case "ConcurrentModificationException":
1545
1521
  case "com.amazonaws.appsync#ConcurrentModificationException":
1546
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1522
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1547
1523
  case "InternalFailureException":
1548
1524
  case "com.amazonaws.appsync#InternalFailureException":
1549
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1525
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1550
1526
  case "NotFoundException":
1551
1527
  case "com.amazonaws.appsync#NotFoundException":
1552
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1528
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1553
1529
  case "UnauthorizedException":
1554
1530
  case "com.amazonaws.appsync#UnauthorizedException":
1555
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1531
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1556
1532
  default:
1557
1533
  const parsedBody = parsedOutput.body;
1558
1534
  (0, smithy_client_1.throwDefaultError)({
@@ -1563,21 +1539,21 @@ const deserializeAws_restJson1CreateResolverCommandError = async (output, contex
1563
1539
  });
1564
1540
  }
1565
1541
  };
1566
- const deserializeAws_restJson1CreateTypeCommand = async (output, context) => {
1542
+ const de_CreateTypeCommand = async (output, context) => {
1567
1543
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1568
- return deserializeAws_restJson1CreateTypeCommandError(output, context);
1544
+ return de_CreateTypeCommandError(output, context);
1569
1545
  }
1570
1546
  const contents = map({
1571
1547
  $metadata: deserializeMetadata(output),
1572
1548
  });
1573
1549
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1574
1550
  if (data.type != null) {
1575
- contents.type = deserializeAws_restJson1Type(data.type, context);
1551
+ contents.type = de_Type(data.type, context);
1576
1552
  }
1577
1553
  return contents;
1578
1554
  };
1579
- exports.deserializeAws_restJson1CreateTypeCommand = deserializeAws_restJson1CreateTypeCommand;
1580
- const deserializeAws_restJson1CreateTypeCommandError = async (output, context) => {
1555
+ exports.de_CreateTypeCommand = de_CreateTypeCommand;
1556
+ const de_CreateTypeCommandError = async (output, context) => {
1581
1557
  const parsedOutput = {
1582
1558
  ...output,
1583
1559
  body: await parseErrorBody(output.body, context),
@@ -1586,19 +1562,19 @@ const deserializeAws_restJson1CreateTypeCommandError = async (output, context) =
1586
1562
  switch (errorCode) {
1587
1563
  case "BadRequestException":
1588
1564
  case "com.amazonaws.appsync#BadRequestException":
1589
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1565
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1590
1566
  case "ConcurrentModificationException":
1591
1567
  case "com.amazonaws.appsync#ConcurrentModificationException":
1592
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1568
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1593
1569
  case "InternalFailureException":
1594
1570
  case "com.amazonaws.appsync#InternalFailureException":
1595
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1571
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1596
1572
  case "NotFoundException":
1597
1573
  case "com.amazonaws.appsync#NotFoundException":
1598
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1574
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1599
1575
  case "UnauthorizedException":
1600
1576
  case "com.amazonaws.appsync#UnauthorizedException":
1601
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1577
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1602
1578
  default:
1603
1579
  const parsedBody = parsedOutput.body;
1604
1580
  (0, smithy_client_1.throwDefaultError)({
@@ -1609,9 +1585,9 @@ const deserializeAws_restJson1CreateTypeCommandError = async (output, context) =
1609
1585
  });
1610
1586
  }
1611
1587
  };
1612
- const deserializeAws_restJson1DeleteApiCacheCommand = async (output, context) => {
1588
+ const de_DeleteApiCacheCommand = async (output, context) => {
1613
1589
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1614
- return deserializeAws_restJson1DeleteApiCacheCommandError(output, context);
1590
+ return de_DeleteApiCacheCommandError(output, context);
1615
1591
  }
1616
1592
  const contents = map({
1617
1593
  $metadata: deserializeMetadata(output),
@@ -1619,8 +1595,8 @@ const deserializeAws_restJson1DeleteApiCacheCommand = async (output, context) =>
1619
1595
  await collectBody(output.body, context);
1620
1596
  return contents;
1621
1597
  };
1622
- exports.deserializeAws_restJson1DeleteApiCacheCommand = deserializeAws_restJson1DeleteApiCacheCommand;
1623
- const deserializeAws_restJson1DeleteApiCacheCommandError = async (output, context) => {
1598
+ exports.de_DeleteApiCacheCommand = de_DeleteApiCacheCommand;
1599
+ const de_DeleteApiCacheCommandError = async (output, context) => {
1624
1600
  const parsedOutput = {
1625
1601
  ...output,
1626
1602
  body: await parseErrorBody(output.body, context),
@@ -1629,19 +1605,19 @@ const deserializeAws_restJson1DeleteApiCacheCommandError = async (output, contex
1629
1605
  switch (errorCode) {
1630
1606
  case "BadRequestException":
1631
1607
  case "com.amazonaws.appsync#BadRequestException":
1632
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1608
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1633
1609
  case "ConcurrentModificationException":
1634
1610
  case "com.amazonaws.appsync#ConcurrentModificationException":
1635
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1611
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1636
1612
  case "InternalFailureException":
1637
1613
  case "com.amazonaws.appsync#InternalFailureException":
1638
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1614
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1639
1615
  case "NotFoundException":
1640
1616
  case "com.amazonaws.appsync#NotFoundException":
1641
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1617
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1642
1618
  case "UnauthorizedException":
1643
1619
  case "com.amazonaws.appsync#UnauthorizedException":
1644
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1620
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1645
1621
  default:
1646
1622
  const parsedBody = parsedOutput.body;
1647
1623
  (0, smithy_client_1.throwDefaultError)({
@@ -1652,9 +1628,9 @@ const deserializeAws_restJson1DeleteApiCacheCommandError = async (output, contex
1652
1628
  });
1653
1629
  }
1654
1630
  };
1655
- const deserializeAws_restJson1DeleteApiKeyCommand = async (output, context) => {
1631
+ const de_DeleteApiKeyCommand = async (output, context) => {
1656
1632
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1657
- return deserializeAws_restJson1DeleteApiKeyCommandError(output, context);
1633
+ return de_DeleteApiKeyCommandError(output, context);
1658
1634
  }
1659
1635
  const contents = map({
1660
1636
  $metadata: deserializeMetadata(output),
@@ -1662,8 +1638,8 @@ const deserializeAws_restJson1DeleteApiKeyCommand = async (output, context) => {
1662
1638
  await collectBody(output.body, context);
1663
1639
  return contents;
1664
1640
  };
1665
- exports.deserializeAws_restJson1DeleteApiKeyCommand = deserializeAws_restJson1DeleteApiKeyCommand;
1666
- const deserializeAws_restJson1DeleteApiKeyCommandError = async (output, context) => {
1641
+ exports.de_DeleteApiKeyCommand = de_DeleteApiKeyCommand;
1642
+ const de_DeleteApiKeyCommandError = async (output, context) => {
1667
1643
  const parsedOutput = {
1668
1644
  ...output,
1669
1645
  body: await parseErrorBody(output.body, context),
@@ -1672,16 +1648,16 @@ const deserializeAws_restJson1DeleteApiKeyCommandError = async (output, context)
1672
1648
  switch (errorCode) {
1673
1649
  case "BadRequestException":
1674
1650
  case "com.amazonaws.appsync#BadRequestException":
1675
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1651
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1676
1652
  case "InternalFailureException":
1677
1653
  case "com.amazonaws.appsync#InternalFailureException":
1678
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1654
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1679
1655
  case "NotFoundException":
1680
1656
  case "com.amazonaws.appsync#NotFoundException":
1681
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1657
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1682
1658
  case "UnauthorizedException":
1683
1659
  case "com.amazonaws.appsync#UnauthorizedException":
1684
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1660
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1685
1661
  default:
1686
1662
  const parsedBody = parsedOutput.body;
1687
1663
  (0, smithy_client_1.throwDefaultError)({
@@ -1692,9 +1668,9 @@ const deserializeAws_restJson1DeleteApiKeyCommandError = async (output, context)
1692
1668
  });
1693
1669
  }
1694
1670
  };
1695
- const deserializeAws_restJson1DeleteDataSourceCommand = async (output, context) => {
1671
+ const de_DeleteDataSourceCommand = async (output, context) => {
1696
1672
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1697
- return deserializeAws_restJson1DeleteDataSourceCommandError(output, context);
1673
+ return de_DeleteDataSourceCommandError(output, context);
1698
1674
  }
1699
1675
  const contents = map({
1700
1676
  $metadata: deserializeMetadata(output),
@@ -1702,8 +1678,8 @@ const deserializeAws_restJson1DeleteDataSourceCommand = async (output, context)
1702
1678
  await collectBody(output.body, context);
1703
1679
  return contents;
1704
1680
  };
1705
- exports.deserializeAws_restJson1DeleteDataSourceCommand = deserializeAws_restJson1DeleteDataSourceCommand;
1706
- const deserializeAws_restJson1DeleteDataSourceCommandError = async (output, context) => {
1681
+ exports.de_DeleteDataSourceCommand = de_DeleteDataSourceCommand;
1682
+ const de_DeleteDataSourceCommandError = async (output, context) => {
1707
1683
  const parsedOutput = {
1708
1684
  ...output,
1709
1685
  body: await parseErrorBody(output.body, context),
@@ -1712,19 +1688,19 @@ const deserializeAws_restJson1DeleteDataSourceCommandError = async (output, cont
1712
1688
  switch (errorCode) {
1713
1689
  case "BadRequestException":
1714
1690
  case "com.amazonaws.appsync#BadRequestException":
1715
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1691
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1716
1692
  case "ConcurrentModificationException":
1717
1693
  case "com.amazonaws.appsync#ConcurrentModificationException":
1718
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1694
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1719
1695
  case "InternalFailureException":
1720
1696
  case "com.amazonaws.appsync#InternalFailureException":
1721
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1697
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1722
1698
  case "NotFoundException":
1723
1699
  case "com.amazonaws.appsync#NotFoundException":
1724
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1700
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1725
1701
  case "UnauthorizedException":
1726
1702
  case "com.amazonaws.appsync#UnauthorizedException":
1727
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1703
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1728
1704
  default:
1729
1705
  const parsedBody = parsedOutput.body;
1730
1706
  (0, smithy_client_1.throwDefaultError)({
@@ -1735,9 +1711,9 @@ const deserializeAws_restJson1DeleteDataSourceCommandError = async (output, cont
1735
1711
  });
1736
1712
  }
1737
1713
  };
1738
- const deserializeAws_restJson1DeleteDomainNameCommand = async (output, context) => {
1714
+ const de_DeleteDomainNameCommand = async (output, context) => {
1739
1715
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1740
- return deserializeAws_restJson1DeleteDomainNameCommandError(output, context);
1716
+ return de_DeleteDomainNameCommandError(output, context);
1741
1717
  }
1742
1718
  const contents = map({
1743
1719
  $metadata: deserializeMetadata(output),
@@ -1745,8 +1721,8 @@ const deserializeAws_restJson1DeleteDomainNameCommand = async (output, context)
1745
1721
  await collectBody(output.body, context);
1746
1722
  return contents;
1747
1723
  };
1748
- exports.deserializeAws_restJson1DeleteDomainNameCommand = deserializeAws_restJson1DeleteDomainNameCommand;
1749
- const deserializeAws_restJson1DeleteDomainNameCommandError = async (output, context) => {
1724
+ exports.de_DeleteDomainNameCommand = de_DeleteDomainNameCommand;
1725
+ const de_DeleteDomainNameCommandError = async (output, context) => {
1750
1726
  const parsedOutput = {
1751
1727
  ...output,
1752
1728
  body: await parseErrorBody(output.body, context),
@@ -1755,19 +1731,19 @@ const deserializeAws_restJson1DeleteDomainNameCommandError = async (output, cont
1755
1731
  switch (errorCode) {
1756
1732
  case "AccessDeniedException":
1757
1733
  case "com.amazonaws.appsync#AccessDeniedException":
1758
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1734
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1759
1735
  case "BadRequestException":
1760
1736
  case "com.amazonaws.appsync#BadRequestException":
1761
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1737
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1762
1738
  case "ConcurrentModificationException":
1763
1739
  case "com.amazonaws.appsync#ConcurrentModificationException":
1764
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1740
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1765
1741
  case "InternalFailureException":
1766
1742
  case "com.amazonaws.appsync#InternalFailureException":
1767
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1743
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1768
1744
  case "NotFoundException":
1769
1745
  case "com.amazonaws.appsync#NotFoundException":
1770
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1746
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1771
1747
  default:
1772
1748
  const parsedBody = parsedOutput.body;
1773
1749
  (0, smithy_client_1.throwDefaultError)({
@@ -1778,9 +1754,9 @@ const deserializeAws_restJson1DeleteDomainNameCommandError = async (output, cont
1778
1754
  });
1779
1755
  }
1780
1756
  };
1781
- const deserializeAws_restJson1DeleteFunctionCommand = async (output, context) => {
1757
+ const de_DeleteFunctionCommand = async (output, context) => {
1782
1758
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1783
- return deserializeAws_restJson1DeleteFunctionCommandError(output, context);
1759
+ return de_DeleteFunctionCommandError(output, context);
1784
1760
  }
1785
1761
  const contents = map({
1786
1762
  $metadata: deserializeMetadata(output),
@@ -1788,8 +1764,8 @@ const deserializeAws_restJson1DeleteFunctionCommand = async (output, context) =>
1788
1764
  await collectBody(output.body, context);
1789
1765
  return contents;
1790
1766
  };
1791
- exports.deserializeAws_restJson1DeleteFunctionCommand = deserializeAws_restJson1DeleteFunctionCommand;
1792
- const deserializeAws_restJson1DeleteFunctionCommandError = async (output, context) => {
1767
+ exports.de_DeleteFunctionCommand = de_DeleteFunctionCommand;
1768
+ const de_DeleteFunctionCommandError = async (output, context) => {
1793
1769
  const parsedOutput = {
1794
1770
  ...output,
1795
1771
  body: await parseErrorBody(output.body, context),
@@ -1798,16 +1774,16 @@ const deserializeAws_restJson1DeleteFunctionCommandError = async (output, contex
1798
1774
  switch (errorCode) {
1799
1775
  case "ConcurrentModificationException":
1800
1776
  case "com.amazonaws.appsync#ConcurrentModificationException":
1801
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1777
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1802
1778
  case "InternalFailureException":
1803
1779
  case "com.amazonaws.appsync#InternalFailureException":
1804
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1780
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1805
1781
  case "NotFoundException":
1806
1782
  case "com.amazonaws.appsync#NotFoundException":
1807
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1783
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1808
1784
  case "UnauthorizedException":
1809
1785
  case "com.amazonaws.appsync#UnauthorizedException":
1810
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1786
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1811
1787
  default:
1812
1788
  const parsedBody = parsedOutput.body;
1813
1789
  (0, smithy_client_1.throwDefaultError)({
@@ -1818,9 +1794,9 @@ const deserializeAws_restJson1DeleteFunctionCommandError = async (output, contex
1818
1794
  });
1819
1795
  }
1820
1796
  };
1821
- const deserializeAws_restJson1DeleteGraphqlApiCommand = async (output, context) => {
1797
+ const de_DeleteGraphqlApiCommand = async (output, context) => {
1822
1798
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1823
- return deserializeAws_restJson1DeleteGraphqlApiCommandError(output, context);
1799
+ return de_DeleteGraphqlApiCommandError(output, context);
1824
1800
  }
1825
1801
  const contents = map({
1826
1802
  $metadata: deserializeMetadata(output),
@@ -1828,8 +1804,8 @@ const deserializeAws_restJson1DeleteGraphqlApiCommand = async (output, context)
1828
1804
  await collectBody(output.body, context);
1829
1805
  return contents;
1830
1806
  };
1831
- exports.deserializeAws_restJson1DeleteGraphqlApiCommand = deserializeAws_restJson1DeleteGraphqlApiCommand;
1832
- const deserializeAws_restJson1DeleteGraphqlApiCommandError = async (output, context) => {
1807
+ exports.de_DeleteGraphqlApiCommand = de_DeleteGraphqlApiCommand;
1808
+ const de_DeleteGraphqlApiCommandError = async (output, context) => {
1833
1809
  const parsedOutput = {
1834
1810
  ...output,
1835
1811
  body: await parseErrorBody(output.body, context),
@@ -1838,22 +1814,22 @@ const deserializeAws_restJson1DeleteGraphqlApiCommandError = async (output, cont
1838
1814
  switch (errorCode) {
1839
1815
  case "AccessDeniedException":
1840
1816
  case "com.amazonaws.appsync#AccessDeniedException":
1841
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1817
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1842
1818
  case "BadRequestException":
1843
1819
  case "com.amazonaws.appsync#BadRequestException":
1844
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1820
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1845
1821
  case "ConcurrentModificationException":
1846
1822
  case "com.amazonaws.appsync#ConcurrentModificationException":
1847
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1823
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1848
1824
  case "InternalFailureException":
1849
1825
  case "com.amazonaws.appsync#InternalFailureException":
1850
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1826
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1851
1827
  case "NotFoundException":
1852
1828
  case "com.amazonaws.appsync#NotFoundException":
1853
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1829
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1854
1830
  case "UnauthorizedException":
1855
1831
  case "com.amazonaws.appsync#UnauthorizedException":
1856
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1832
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1857
1833
  default:
1858
1834
  const parsedBody = parsedOutput.body;
1859
1835
  (0, smithy_client_1.throwDefaultError)({
@@ -1864,9 +1840,9 @@ const deserializeAws_restJson1DeleteGraphqlApiCommandError = async (output, cont
1864
1840
  });
1865
1841
  }
1866
1842
  };
1867
- const deserializeAws_restJson1DeleteResolverCommand = async (output, context) => {
1843
+ const de_DeleteResolverCommand = async (output, context) => {
1868
1844
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1869
- return deserializeAws_restJson1DeleteResolverCommandError(output, context);
1845
+ return de_DeleteResolverCommandError(output, context);
1870
1846
  }
1871
1847
  const contents = map({
1872
1848
  $metadata: deserializeMetadata(output),
@@ -1874,8 +1850,8 @@ const deserializeAws_restJson1DeleteResolverCommand = async (output, context) =>
1874
1850
  await collectBody(output.body, context);
1875
1851
  return contents;
1876
1852
  };
1877
- exports.deserializeAws_restJson1DeleteResolverCommand = deserializeAws_restJson1DeleteResolverCommand;
1878
- const deserializeAws_restJson1DeleteResolverCommandError = async (output, context) => {
1853
+ exports.de_DeleteResolverCommand = de_DeleteResolverCommand;
1854
+ const de_DeleteResolverCommandError = async (output, context) => {
1879
1855
  const parsedOutput = {
1880
1856
  ...output,
1881
1857
  body: await parseErrorBody(output.body, context),
@@ -1884,19 +1860,19 @@ const deserializeAws_restJson1DeleteResolverCommandError = async (output, contex
1884
1860
  switch (errorCode) {
1885
1861
  case "BadRequestException":
1886
1862
  case "com.amazonaws.appsync#BadRequestException":
1887
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1863
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1888
1864
  case "ConcurrentModificationException":
1889
1865
  case "com.amazonaws.appsync#ConcurrentModificationException":
1890
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1866
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1891
1867
  case "InternalFailureException":
1892
1868
  case "com.amazonaws.appsync#InternalFailureException":
1893
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1869
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1894
1870
  case "NotFoundException":
1895
1871
  case "com.amazonaws.appsync#NotFoundException":
1896
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1872
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1897
1873
  case "UnauthorizedException":
1898
1874
  case "com.amazonaws.appsync#UnauthorizedException":
1899
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1875
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1900
1876
  default:
1901
1877
  const parsedBody = parsedOutput.body;
1902
1878
  (0, smithy_client_1.throwDefaultError)({
@@ -1907,9 +1883,9 @@ const deserializeAws_restJson1DeleteResolverCommandError = async (output, contex
1907
1883
  });
1908
1884
  }
1909
1885
  };
1910
- const deserializeAws_restJson1DeleteTypeCommand = async (output, context) => {
1886
+ const de_DeleteTypeCommand = async (output, context) => {
1911
1887
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1912
- return deserializeAws_restJson1DeleteTypeCommandError(output, context);
1888
+ return de_DeleteTypeCommandError(output, context);
1913
1889
  }
1914
1890
  const contents = map({
1915
1891
  $metadata: deserializeMetadata(output),
@@ -1917,8 +1893,8 @@ const deserializeAws_restJson1DeleteTypeCommand = async (output, context) => {
1917
1893
  await collectBody(output.body, context);
1918
1894
  return contents;
1919
1895
  };
1920
- exports.deserializeAws_restJson1DeleteTypeCommand = deserializeAws_restJson1DeleteTypeCommand;
1921
- const deserializeAws_restJson1DeleteTypeCommandError = async (output, context) => {
1896
+ exports.de_DeleteTypeCommand = de_DeleteTypeCommand;
1897
+ const de_DeleteTypeCommandError = async (output, context) => {
1922
1898
  const parsedOutput = {
1923
1899
  ...output,
1924
1900
  body: await parseErrorBody(output.body, context),
@@ -1927,19 +1903,19 @@ const deserializeAws_restJson1DeleteTypeCommandError = async (output, context) =
1927
1903
  switch (errorCode) {
1928
1904
  case "BadRequestException":
1929
1905
  case "com.amazonaws.appsync#BadRequestException":
1930
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1906
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1931
1907
  case "ConcurrentModificationException":
1932
1908
  case "com.amazonaws.appsync#ConcurrentModificationException":
1933
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1909
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1934
1910
  case "InternalFailureException":
1935
1911
  case "com.amazonaws.appsync#InternalFailureException":
1936
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1912
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1937
1913
  case "NotFoundException":
1938
1914
  case "com.amazonaws.appsync#NotFoundException":
1939
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1915
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1940
1916
  case "UnauthorizedException":
1941
1917
  case "com.amazonaws.appsync#UnauthorizedException":
1942
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1918
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1943
1919
  default:
1944
1920
  const parsedBody = parsedOutput.body;
1945
1921
  (0, smithy_client_1.throwDefaultError)({
@@ -1950,9 +1926,9 @@ const deserializeAws_restJson1DeleteTypeCommandError = async (output, context) =
1950
1926
  });
1951
1927
  }
1952
1928
  };
1953
- const deserializeAws_restJson1DisassociateApiCommand = async (output, context) => {
1929
+ const de_DisassociateApiCommand = async (output, context) => {
1954
1930
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1955
- return deserializeAws_restJson1DisassociateApiCommandError(output, context);
1931
+ return de_DisassociateApiCommandError(output, context);
1956
1932
  }
1957
1933
  const contents = map({
1958
1934
  $metadata: deserializeMetadata(output),
@@ -1960,8 +1936,8 @@ const deserializeAws_restJson1DisassociateApiCommand = async (output, context) =
1960
1936
  await collectBody(output.body, context);
1961
1937
  return contents;
1962
1938
  };
1963
- exports.deserializeAws_restJson1DisassociateApiCommand = deserializeAws_restJson1DisassociateApiCommand;
1964
- const deserializeAws_restJson1DisassociateApiCommandError = async (output, context) => {
1939
+ exports.de_DisassociateApiCommand = de_DisassociateApiCommand;
1940
+ const de_DisassociateApiCommandError = async (output, context) => {
1965
1941
  const parsedOutput = {
1966
1942
  ...output,
1967
1943
  body: await parseErrorBody(output.body, context),
@@ -1970,19 +1946,19 @@ const deserializeAws_restJson1DisassociateApiCommandError = async (output, conte
1970
1946
  switch (errorCode) {
1971
1947
  case "AccessDeniedException":
1972
1948
  case "com.amazonaws.appsync#AccessDeniedException":
1973
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1949
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1974
1950
  case "BadRequestException":
1975
1951
  case "com.amazonaws.appsync#BadRequestException":
1976
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1952
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1977
1953
  case "ConcurrentModificationException":
1978
1954
  case "com.amazonaws.appsync#ConcurrentModificationException":
1979
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
1955
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1980
1956
  case "InternalFailureException":
1981
1957
  case "com.amazonaws.appsync#InternalFailureException":
1982
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
1958
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1983
1959
  case "NotFoundException":
1984
1960
  case "com.amazonaws.appsync#NotFoundException":
1985
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1961
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1986
1962
  default:
1987
1963
  const parsedBody = parsedOutput.body;
1988
1964
  (0, smithy_client_1.throwDefaultError)({
@@ -1993,27 +1969,27 @@ const deserializeAws_restJson1DisassociateApiCommandError = async (output, conte
1993
1969
  });
1994
1970
  }
1995
1971
  };
1996
- const deserializeAws_restJson1EvaluateCodeCommand = async (output, context) => {
1972
+ const de_EvaluateCodeCommand = async (output, context) => {
1997
1973
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1998
- return deserializeAws_restJson1EvaluateCodeCommandError(output, context);
1974
+ return de_EvaluateCodeCommandError(output, context);
1999
1975
  }
2000
1976
  const contents = map({
2001
1977
  $metadata: deserializeMetadata(output),
2002
1978
  });
2003
1979
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2004
1980
  if (data.error != null) {
2005
- contents.error = deserializeAws_restJson1EvaluateCodeErrorDetail(data.error, context);
1981
+ contents.error = de_EvaluateCodeErrorDetail(data.error, context);
2006
1982
  }
2007
1983
  if (data.evaluationResult != null) {
2008
1984
  contents.evaluationResult = (0, smithy_client_1.expectString)(data.evaluationResult);
2009
1985
  }
2010
1986
  if (data.logs != null) {
2011
- contents.logs = deserializeAws_restJson1Logs(data.logs, context);
1987
+ contents.logs = de_Logs(data.logs, context);
2012
1988
  }
2013
1989
  return contents;
2014
1990
  };
2015
- exports.deserializeAws_restJson1EvaluateCodeCommand = deserializeAws_restJson1EvaluateCodeCommand;
2016
- const deserializeAws_restJson1EvaluateCodeCommandError = async (output, context) => {
1991
+ exports.de_EvaluateCodeCommand = de_EvaluateCodeCommand;
1992
+ const de_EvaluateCodeCommandError = async (output, context) => {
2017
1993
  const parsedOutput = {
2018
1994
  ...output,
2019
1995
  body: await parseErrorBody(output.body, context),
@@ -2022,13 +1998,13 @@ const deserializeAws_restJson1EvaluateCodeCommandError = async (output, context)
2022
1998
  switch (errorCode) {
2023
1999
  case "AccessDeniedException":
2024
2000
  case "com.amazonaws.appsync#AccessDeniedException":
2025
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2001
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2026
2002
  case "BadRequestException":
2027
2003
  case "com.amazonaws.appsync#BadRequestException":
2028
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2004
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2029
2005
  case "InternalFailureException":
2030
2006
  case "com.amazonaws.appsync#InternalFailureException":
2031
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2007
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2032
2008
  default:
2033
2009
  const parsedBody = parsedOutput.body;
2034
2010
  (0, smithy_client_1.throwDefaultError)({
@@ -2039,27 +2015,27 @@ const deserializeAws_restJson1EvaluateCodeCommandError = async (output, context)
2039
2015
  });
2040
2016
  }
2041
2017
  };
2042
- const deserializeAws_restJson1EvaluateMappingTemplateCommand = async (output, context) => {
2018
+ const de_EvaluateMappingTemplateCommand = async (output, context) => {
2043
2019
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2044
- return deserializeAws_restJson1EvaluateMappingTemplateCommandError(output, context);
2020
+ return de_EvaluateMappingTemplateCommandError(output, context);
2045
2021
  }
2046
2022
  const contents = map({
2047
2023
  $metadata: deserializeMetadata(output),
2048
2024
  });
2049
2025
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2050
2026
  if (data.error != null) {
2051
- contents.error = deserializeAws_restJson1ErrorDetail(data.error, context);
2027
+ contents.error = de_ErrorDetail(data.error, context);
2052
2028
  }
2053
2029
  if (data.evaluationResult != null) {
2054
2030
  contents.evaluationResult = (0, smithy_client_1.expectString)(data.evaluationResult);
2055
2031
  }
2056
2032
  if (data.logs != null) {
2057
- contents.logs = deserializeAws_restJson1Logs(data.logs, context);
2033
+ contents.logs = de_Logs(data.logs, context);
2058
2034
  }
2059
2035
  return contents;
2060
2036
  };
2061
- exports.deserializeAws_restJson1EvaluateMappingTemplateCommand = deserializeAws_restJson1EvaluateMappingTemplateCommand;
2062
- const deserializeAws_restJson1EvaluateMappingTemplateCommandError = async (output, context) => {
2037
+ exports.de_EvaluateMappingTemplateCommand = de_EvaluateMappingTemplateCommand;
2038
+ const de_EvaluateMappingTemplateCommandError = async (output, context) => {
2063
2039
  const parsedOutput = {
2064
2040
  ...output,
2065
2041
  body: await parseErrorBody(output.body, context),
@@ -2068,13 +2044,13 @@ const deserializeAws_restJson1EvaluateMappingTemplateCommandError = async (outpu
2068
2044
  switch (errorCode) {
2069
2045
  case "AccessDeniedException":
2070
2046
  case "com.amazonaws.appsync#AccessDeniedException":
2071
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2047
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2072
2048
  case "BadRequestException":
2073
2049
  case "com.amazonaws.appsync#BadRequestException":
2074
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2050
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2075
2051
  case "InternalFailureException":
2076
2052
  case "com.amazonaws.appsync#InternalFailureException":
2077
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2053
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2078
2054
  default:
2079
2055
  const parsedBody = parsedOutput.body;
2080
2056
  (0, smithy_client_1.throwDefaultError)({
@@ -2085,9 +2061,9 @@ const deserializeAws_restJson1EvaluateMappingTemplateCommandError = async (outpu
2085
2061
  });
2086
2062
  }
2087
2063
  };
2088
- const deserializeAws_restJson1FlushApiCacheCommand = async (output, context) => {
2064
+ const de_FlushApiCacheCommand = async (output, context) => {
2089
2065
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2090
- return deserializeAws_restJson1FlushApiCacheCommandError(output, context);
2066
+ return de_FlushApiCacheCommandError(output, context);
2091
2067
  }
2092
2068
  const contents = map({
2093
2069
  $metadata: deserializeMetadata(output),
@@ -2095,8 +2071,8 @@ const deserializeAws_restJson1FlushApiCacheCommand = async (output, context) =>
2095
2071
  await collectBody(output.body, context);
2096
2072
  return contents;
2097
2073
  };
2098
- exports.deserializeAws_restJson1FlushApiCacheCommand = deserializeAws_restJson1FlushApiCacheCommand;
2099
- const deserializeAws_restJson1FlushApiCacheCommandError = async (output, context) => {
2074
+ exports.de_FlushApiCacheCommand = de_FlushApiCacheCommand;
2075
+ const de_FlushApiCacheCommandError = async (output, context) => {
2100
2076
  const parsedOutput = {
2101
2077
  ...output,
2102
2078
  body: await parseErrorBody(output.body, context),
@@ -2105,19 +2081,19 @@ const deserializeAws_restJson1FlushApiCacheCommandError = async (output, context
2105
2081
  switch (errorCode) {
2106
2082
  case "BadRequestException":
2107
2083
  case "com.amazonaws.appsync#BadRequestException":
2108
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2084
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2109
2085
  case "ConcurrentModificationException":
2110
2086
  case "com.amazonaws.appsync#ConcurrentModificationException":
2111
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
2087
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2112
2088
  case "InternalFailureException":
2113
2089
  case "com.amazonaws.appsync#InternalFailureException":
2114
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2090
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2115
2091
  case "NotFoundException":
2116
2092
  case "com.amazonaws.appsync#NotFoundException":
2117
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2093
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2118
2094
  case "UnauthorizedException":
2119
2095
  case "com.amazonaws.appsync#UnauthorizedException":
2120
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2096
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2121
2097
  default:
2122
2098
  const parsedBody = parsedOutput.body;
2123
2099
  (0, smithy_client_1.throwDefaultError)({
@@ -2128,21 +2104,21 @@ const deserializeAws_restJson1FlushApiCacheCommandError = async (output, context
2128
2104
  });
2129
2105
  }
2130
2106
  };
2131
- const deserializeAws_restJson1GetApiAssociationCommand = async (output, context) => {
2107
+ const de_GetApiAssociationCommand = async (output, context) => {
2132
2108
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2133
- return deserializeAws_restJson1GetApiAssociationCommandError(output, context);
2109
+ return de_GetApiAssociationCommandError(output, context);
2134
2110
  }
2135
2111
  const contents = map({
2136
2112
  $metadata: deserializeMetadata(output),
2137
2113
  });
2138
2114
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2139
2115
  if (data.apiAssociation != null) {
2140
- contents.apiAssociation = deserializeAws_restJson1ApiAssociation(data.apiAssociation, context);
2116
+ contents.apiAssociation = de_ApiAssociation(data.apiAssociation, context);
2141
2117
  }
2142
2118
  return contents;
2143
2119
  };
2144
- exports.deserializeAws_restJson1GetApiAssociationCommand = deserializeAws_restJson1GetApiAssociationCommand;
2145
- const deserializeAws_restJson1GetApiAssociationCommandError = async (output, context) => {
2120
+ exports.de_GetApiAssociationCommand = de_GetApiAssociationCommand;
2121
+ const de_GetApiAssociationCommandError = async (output, context) => {
2146
2122
  const parsedOutput = {
2147
2123
  ...output,
2148
2124
  body: await parseErrorBody(output.body, context),
@@ -2151,16 +2127,16 @@ const deserializeAws_restJson1GetApiAssociationCommandError = async (output, con
2151
2127
  switch (errorCode) {
2152
2128
  case "AccessDeniedException":
2153
2129
  case "com.amazonaws.appsync#AccessDeniedException":
2154
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2130
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2155
2131
  case "BadRequestException":
2156
2132
  case "com.amazonaws.appsync#BadRequestException":
2157
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2133
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2158
2134
  case "InternalFailureException":
2159
2135
  case "com.amazonaws.appsync#InternalFailureException":
2160
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2136
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2161
2137
  case "NotFoundException":
2162
2138
  case "com.amazonaws.appsync#NotFoundException":
2163
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2139
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2164
2140
  default:
2165
2141
  const parsedBody = parsedOutput.body;
2166
2142
  (0, smithy_client_1.throwDefaultError)({
@@ -2171,21 +2147,21 @@ const deserializeAws_restJson1GetApiAssociationCommandError = async (output, con
2171
2147
  });
2172
2148
  }
2173
2149
  };
2174
- const deserializeAws_restJson1GetApiCacheCommand = async (output, context) => {
2150
+ const de_GetApiCacheCommand = async (output, context) => {
2175
2151
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2176
- return deserializeAws_restJson1GetApiCacheCommandError(output, context);
2152
+ return de_GetApiCacheCommandError(output, context);
2177
2153
  }
2178
2154
  const contents = map({
2179
2155
  $metadata: deserializeMetadata(output),
2180
2156
  });
2181
2157
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2182
2158
  if (data.apiCache != null) {
2183
- contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
2159
+ contents.apiCache = de_ApiCache(data.apiCache, context);
2184
2160
  }
2185
2161
  return contents;
2186
2162
  };
2187
- exports.deserializeAws_restJson1GetApiCacheCommand = deserializeAws_restJson1GetApiCacheCommand;
2188
- const deserializeAws_restJson1GetApiCacheCommandError = async (output, context) => {
2163
+ exports.de_GetApiCacheCommand = de_GetApiCacheCommand;
2164
+ const de_GetApiCacheCommandError = async (output, context) => {
2189
2165
  const parsedOutput = {
2190
2166
  ...output,
2191
2167
  body: await parseErrorBody(output.body, context),
@@ -2194,19 +2170,19 @@ const deserializeAws_restJson1GetApiCacheCommandError = async (output, context)
2194
2170
  switch (errorCode) {
2195
2171
  case "BadRequestException":
2196
2172
  case "com.amazonaws.appsync#BadRequestException":
2197
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2173
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2198
2174
  case "ConcurrentModificationException":
2199
2175
  case "com.amazonaws.appsync#ConcurrentModificationException":
2200
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
2176
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2201
2177
  case "InternalFailureException":
2202
2178
  case "com.amazonaws.appsync#InternalFailureException":
2203
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2179
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2204
2180
  case "NotFoundException":
2205
2181
  case "com.amazonaws.appsync#NotFoundException":
2206
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2182
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2207
2183
  case "UnauthorizedException":
2208
2184
  case "com.amazonaws.appsync#UnauthorizedException":
2209
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2185
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2210
2186
  default:
2211
2187
  const parsedBody = parsedOutput.body;
2212
2188
  (0, smithy_client_1.throwDefaultError)({
@@ -2217,21 +2193,21 @@ const deserializeAws_restJson1GetApiCacheCommandError = async (output, context)
2217
2193
  });
2218
2194
  }
2219
2195
  };
2220
- const deserializeAws_restJson1GetDataSourceCommand = async (output, context) => {
2196
+ const de_GetDataSourceCommand = async (output, context) => {
2221
2197
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2222
- return deserializeAws_restJson1GetDataSourceCommandError(output, context);
2198
+ return de_GetDataSourceCommandError(output, context);
2223
2199
  }
2224
2200
  const contents = map({
2225
2201
  $metadata: deserializeMetadata(output),
2226
2202
  });
2227
2203
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2228
2204
  if (data.dataSource != null) {
2229
- contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
2205
+ contents.dataSource = de_DataSource(data.dataSource, context);
2230
2206
  }
2231
2207
  return contents;
2232
2208
  };
2233
- exports.deserializeAws_restJson1GetDataSourceCommand = deserializeAws_restJson1GetDataSourceCommand;
2234
- const deserializeAws_restJson1GetDataSourceCommandError = async (output, context) => {
2209
+ exports.de_GetDataSourceCommand = de_GetDataSourceCommand;
2210
+ const de_GetDataSourceCommandError = async (output, context) => {
2235
2211
  const parsedOutput = {
2236
2212
  ...output,
2237
2213
  body: await parseErrorBody(output.body, context),
@@ -2240,19 +2216,19 @@ const deserializeAws_restJson1GetDataSourceCommandError = async (output, context
2240
2216
  switch (errorCode) {
2241
2217
  case "BadRequestException":
2242
2218
  case "com.amazonaws.appsync#BadRequestException":
2243
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2219
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2244
2220
  case "ConcurrentModificationException":
2245
2221
  case "com.amazonaws.appsync#ConcurrentModificationException":
2246
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
2222
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2247
2223
  case "InternalFailureException":
2248
2224
  case "com.amazonaws.appsync#InternalFailureException":
2249
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2225
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2250
2226
  case "NotFoundException":
2251
2227
  case "com.amazonaws.appsync#NotFoundException":
2252
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2228
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2253
2229
  case "UnauthorizedException":
2254
2230
  case "com.amazonaws.appsync#UnauthorizedException":
2255
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2231
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2256
2232
  default:
2257
2233
  const parsedBody = parsedOutput.body;
2258
2234
  (0, smithy_client_1.throwDefaultError)({
@@ -2263,21 +2239,21 @@ const deserializeAws_restJson1GetDataSourceCommandError = async (output, context
2263
2239
  });
2264
2240
  }
2265
2241
  };
2266
- const deserializeAws_restJson1GetDomainNameCommand = async (output, context) => {
2242
+ const de_GetDomainNameCommand = async (output, context) => {
2267
2243
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2268
- return deserializeAws_restJson1GetDomainNameCommandError(output, context);
2244
+ return de_GetDomainNameCommandError(output, context);
2269
2245
  }
2270
2246
  const contents = map({
2271
2247
  $metadata: deserializeMetadata(output),
2272
2248
  });
2273
2249
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2274
2250
  if (data.domainNameConfig != null) {
2275
- contents.domainNameConfig = deserializeAws_restJson1DomainNameConfig(data.domainNameConfig, context);
2251
+ contents.domainNameConfig = de_DomainNameConfig(data.domainNameConfig, context);
2276
2252
  }
2277
2253
  return contents;
2278
2254
  };
2279
- exports.deserializeAws_restJson1GetDomainNameCommand = deserializeAws_restJson1GetDomainNameCommand;
2280
- const deserializeAws_restJson1GetDomainNameCommandError = async (output, context) => {
2255
+ exports.de_GetDomainNameCommand = de_GetDomainNameCommand;
2256
+ const de_GetDomainNameCommandError = async (output, context) => {
2281
2257
  const parsedOutput = {
2282
2258
  ...output,
2283
2259
  body: await parseErrorBody(output.body, context),
@@ -2286,16 +2262,16 @@ const deserializeAws_restJson1GetDomainNameCommandError = async (output, context
2286
2262
  switch (errorCode) {
2287
2263
  case "AccessDeniedException":
2288
2264
  case "com.amazonaws.appsync#AccessDeniedException":
2289
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2265
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2290
2266
  case "BadRequestException":
2291
2267
  case "com.amazonaws.appsync#BadRequestException":
2292
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2268
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2293
2269
  case "InternalFailureException":
2294
2270
  case "com.amazonaws.appsync#InternalFailureException":
2295
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2271
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2296
2272
  case "NotFoundException":
2297
2273
  case "com.amazonaws.appsync#NotFoundException":
2298
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2274
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2299
2275
  default:
2300
2276
  const parsedBody = parsedOutput.body;
2301
2277
  (0, smithy_client_1.throwDefaultError)({
@@ -2306,21 +2282,21 @@ const deserializeAws_restJson1GetDomainNameCommandError = async (output, context
2306
2282
  });
2307
2283
  }
2308
2284
  };
2309
- const deserializeAws_restJson1GetFunctionCommand = async (output, context) => {
2285
+ const de_GetFunctionCommand = async (output, context) => {
2310
2286
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2311
- return deserializeAws_restJson1GetFunctionCommandError(output, context);
2287
+ return de_GetFunctionCommandError(output, context);
2312
2288
  }
2313
2289
  const contents = map({
2314
2290
  $metadata: deserializeMetadata(output),
2315
2291
  });
2316
2292
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2317
2293
  if (data.functionConfiguration != null) {
2318
- contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
2294
+ contents.functionConfiguration = de_FunctionConfiguration(data.functionConfiguration, context);
2319
2295
  }
2320
2296
  return contents;
2321
2297
  };
2322
- exports.deserializeAws_restJson1GetFunctionCommand = deserializeAws_restJson1GetFunctionCommand;
2323
- const deserializeAws_restJson1GetFunctionCommandError = async (output, context) => {
2298
+ exports.de_GetFunctionCommand = de_GetFunctionCommand;
2299
+ const de_GetFunctionCommandError = async (output, context) => {
2324
2300
  const parsedOutput = {
2325
2301
  ...output,
2326
2302
  body: await parseErrorBody(output.body, context),
@@ -2329,13 +2305,13 @@ const deserializeAws_restJson1GetFunctionCommandError = async (output, context)
2329
2305
  switch (errorCode) {
2330
2306
  case "ConcurrentModificationException":
2331
2307
  case "com.amazonaws.appsync#ConcurrentModificationException":
2332
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
2308
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2333
2309
  case "NotFoundException":
2334
2310
  case "com.amazonaws.appsync#NotFoundException":
2335
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2311
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2336
2312
  case "UnauthorizedException":
2337
2313
  case "com.amazonaws.appsync#UnauthorizedException":
2338
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2314
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2339
2315
  default:
2340
2316
  const parsedBody = parsedOutput.body;
2341
2317
  (0, smithy_client_1.throwDefaultError)({
@@ -2346,21 +2322,21 @@ const deserializeAws_restJson1GetFunctionCommandError = async (output, context)
2346
2322
  });
2347
2323
  }
2348
2324
  };
2349
- const deserializeAws_restJson1GetGraphqlApiCommand = async (output, context) => {
2325
+ const de_GetGraphqlApiCommand = async (output, context) => {
2350
2326
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2351
- return deserializeAws_restJson1GetGraphqlApiCommandError(output, context);
2327
+ return de_GetGraphqlApiCommandError(output, context);
2352
2328
  }
2353
2329
  const contents = map({
2354
2330
  $metadata: deserializeMetadata(output),
2355
2331
  });
2356
2332
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2357
2333
  if (data.graphqlApi != null) {
2358
- contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
2334
+ contents.graphqlApi = de_GraphqlApi(data.graphqlApi, context);
2359
2335
  }
2360
2336
  return contents;
2361
2337
  };
2362
- exports.deserializeAws_restJson1GetGraphqlApiCommand = deserializeAws_restJson1GetGraphqlApiCommand;
2363
- const deserializeAws_restJson1GetGraphqlApiCommandError = async (output, context) => {
2338
+ exports.de_GetGraphqlApiCommand = de_GetGraphqlApiCommand;
2339
+ const de_GetGraphqlApiCommandError = async (output, context) => {
2364
2340
  const parsedOutput = {
2365
2341
  ...output,
2366
2342
  body: await parseErrorBody(output.body, context),
@@ -2369,19 +2345,19 @@ const deserializeAws_restJson1GetGraphqlApiCommandError = async (output, context
2369
2345
  switch (errorCode) {
2370
2346
  case "AccessDeniedException":
2371
2347
  case "com.amazonaws.appsync#AccessDeniedException":
2372
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2348
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2373
2349
  case "BadRequestException":
2374
2350
  case "com.amazonaws.appsync#BadRequestException":
2375
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2351
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2376
2352
  case "InternalFailureException":
2377
2353
  case "com.amazonaws.appsync#InternalFailureException":
2378
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2354
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2379
2355
  case "NotFoundException":
2380
2356
  case "com.amazonaws.appsync#NotFoundException":
2381
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2357
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2382
2358
  case "UnauthorizedException":
2383
2359
  case "com.amazonaws.appsync#UnauthorizedException":
2384
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2360
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2385
2361
  default:
2386
2362
  const parsedBody = parsedOutput.body;
2387
2363
  (0, smithy_client_1.throwDefaultError)({
@@ -2392,9 +2368,9 @@ const deserializeAws_restJson1GetGraphqlApiCommandError = async (output, context
2392
2368
  });
2393
2369
  }
2394
2370
  };
2395
- const deserializeAws_restJson1GetIntrospectionSchemaCommand = async (output, context) => {
2371
+ const de_GetIntrospectionSchemaCommand = async (output, context) => {
2396
2372
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2397
- return deserializeAws_restJson1GetIntrospectionSchemaCommandError(output, context);
2373
+ return de_GetIntrospectionSchemaCommandError(output, context);
2398
2374
  }
2399
2375
  const contents = map({
2400
2376
  $metadata: deserializeMetadata(output),
@@ -2403,8 +2379,8 @@ const deserializeAws_restJson1GetIntrospectionSchemaCommand = async (output, con
2403
2379
  contents.schema = data;
2404
2380
  return contents;
2405
2381
  };
2406
- exports.deserializeAws_restJson1GetIntrospectionSchemaCommand = deserializeAws_restJson1GetIntrospectionSchemaCommand;
2407
- const deserializeAws_restJson1GetIntrospectionSchemaCommandError = async (output, context) => {
2382
+ exports.de_GetIntrospectionSchemaCommand = de_GetIntrospectionSchemaCommand;
2383
+ const de_GetIntrospectionSchemaCommandError = async (output, context) => {
2408
2384
  const parsedOutput = {
2409
2385
  ...output,
2410
2386
  body: await parseErrorBody(output.body, context),
@@ -2413,16 +2389,16 @@ const deserializeAws_restJson1GetIntrospectionSchemaCommandError = async (output
2413
2389
  switch (errorCode) {
2414
2390
  case "GraphQLSchemaException":
2415
2391
  case "com.amazonaws.appsync#GraphQLSchemaException":
2416
- throw await deserializeAws_restJson1GraphQLSchemaExceptionResponse(parsedOutput, context);
2392
+ throw await de_GraphQLSchemaExceptionRes(parsedOutput, context);
2417
2393
  case "InternalFailureException":
2418
2394
  case "com.amazonaws.appsync#InternalFailureException":
2419
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2395
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2420
2396
  case "NotFoundException":
2421
2397
  case "com.amazonaws.appsync#NotFoundException":
2422
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2398
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2423
2399
  case "UnauthorizedException":
2424
2400
  case "com.amazonaws.appsync#UnauthorizedException":
2425
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2401
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2426
2402
  default:
2427
2403
  const parsedBody = parsedOutput.body;
2428
2404
  (0, smithy_client_1.throwDefaultError)({
@@ -2433,21 +2409,21 @@ const deserializeAws_restJson1GetIntrospectionSchemaCommandError = async (output
2433
2409
  });
2434
2410
  }
2435
2411
  };
2436
- const deserializeAws_restJson1GetResolverCommand = async (output, context) => {
2412
+ const de_GetResolverCommand = async (output, context) => {
2437
2413
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2438
- return deserializeAws_restJson1GetResolverCommandError(output, context);
2414
+ return de_GetResolverCommandError(output, context);
2439
2415
  }
2440
2416
  const contents = map({
2441
2417
  $metadata: deserializeMetadata(output),
2442
2418
  });
2443
2419
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2444
2420
  if (data.resolver != null) {
2445
- contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
2421
+ contents.resolver = de_Resolver(data.resolver, context);
2446
2422
  }
2447
2423
  return contents;
2448
2424
  };
2449
- exports.deserializeAws_restJson1GetResolverCommand = deserializeAws_restJson1GetResolverCommand;
2450
- const deserializeAws_restJson1GetResolverCommandError = async (output, context) => {
2425
+ exports.de_GetResolverCommand = de_GetResolverCommand;
2426
+ const de_GetResolverCommandError = async (output, context) => {
2451
2427
  const parsedOutput = {
2452
2428
  ...output,
2453
2429
  body: await parseErrorBody(output.body, context),
@@ -2456,13 +2432,13 @@ const deserializeAws_restJson1GetResolverCommandError = async (output, context)
2456
2432
  switch (errorCode) {
2457
2433
  case "ConcurrentModificationException":
2458
2434
  case "com.amazonaws.appsync#ConcurrentModificationException":
2459
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
2435
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2460
2436
  case "NotFoundException":
2461
2437
  case "com.amazonaws.appsync#NotFoundException":
2462
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2438
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2463
2439
  case "UnauthorizedException":
2464
2440
  case "com.amazonaws.appsync#UnauthorizedException":
2465
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2441
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2466
2442
  default:
2467
2443
  const parsedBody = parsedOutput.body;
2468
2444
  (0, smithy_client_1.throwDefaultError)({
@@ -2473,9 +2449,9 @@ const deserializeAws_restJson1GetResolverCommandError = async (output, context)
2473
2449
  });
2474
2450
  }
2475
2451
  };
2476
- const deserializeAws_restJson1GetSchemaCreationStatusCommand = async (output, context) => {
2452
+ const de_GetSchemaCreationStatusCommand = async (output, context) => {
2477
2453
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2478
- return deserializeAws_restJson1GetSchemaCreationStatusCommandError(output, context);
2454
+ return de_GetSchemaCreationStatusCommandError(output, context);
2479
2455
  }
2480
2456
  const contents = map({
2481
2457
  $metadata: deserializeMetadata(output),
@@ -2489,8 +2465,8 @@ const deserializeAws_restJson1GetSchemaCreationStatusCommand = async (output, co
2489
2465
  }
2490
2466
  return contents;
2491
2467
  };
2492
- exports.deserializeAws_restJson1GetSchemaCreationStatusCommand = deserializeAws_restJson1GetSchemaCreationStatusCommand;
2493
- const deserializeAws_restJson1GetSchemaCreationStatusCommandError = async (output, context) => {
2468
+ exports.de_GetSchemaCreationStatusCommand = de_GetSchemaCreationStatusCommand;
2469
+ const de_GetSchemaCreationStatusCommandError = async (output, context) => {
2494
2470
  const parsedOutput = {
2495
2471
  ...output,
2496
2472
  body: await parseErrorBody(output.body, context),
@@ -2499,16 +2475,16 @@ const deserializeAws_restJson1GetSchemaCreationStatusCommandError = async (outpu
2499
2475
  switch (errorCode) {
2500
2476
  case "BadRequestException":
2501
2477
  case "com.amazonaws.appsync#BadRequestException":
2502
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2478
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2503
2479
  case "InternalFailureException":
2504
2480
  case "com.amazonaws.appsync#InternalFailureException":
2505
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2481
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2506
2482
  case "NotFoundException":
2507
2483
  case "com.amazonaws.appsync#NotFoundException":
2508
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2484
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2509
2485
  case "UnauthorizedException":
2510
2486
  case "com.amazonaws.appsync#UnauthorizedException":
2511
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2487
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2512
2488
  default:
2513
2489
  const parsedBody = parsedOutput.body;
2514
2490
  (0, smithy_client_1.throwDefaultError)({
@@ -2519,21 +2495,21 @@ const deserializeAws_restJson1GetSchemaCreationStatusCommandError = async (outpu
2519
2495
  });
2520
2496
  }
2521
2497
  };
2522
- const deserializeAws_restJson1GetTypeCommand = async (output, context) => {
2498
+ const de_GetTypeCommand = async (output, context) => {
2523
2499
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2524
- return deserializeAws_restJson1GetTypeCommandError(output, context);
2500
+ return de_GetTypeCommandError(output, context);
2525
2501
  }
2526
2502
  const contents = map({
2527
2503
  $metadata: deserializeMetadata(output),
2528
2504
  });
2529
2505
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2530
2506
  if (data.type != null) {
2531
- contents.type = deserializeAws_restJson1Type(data.type, context);
2507
+ contents.type = de_Type(data.type, context);
2532
2508
  }
2533
2509
  return contents;
2534
2510
  };
2535
- exports.deserializeAws_restJson1GetTypeCommand = deserializeAws_restJson1GetTypeCommand;
2536
- const deserializeAws_restJson1GetTypeCommandError = async (output, context) => {
2511
+ exports.de_GetTypeCommand = de_GetTypeCommand;
2512
+ const de_GetTypeCommandError = async (output, context) => {
2537
2513
  const parsedOutput = {
2538
2514
  ...output,
2539
2515
  body: await parseErrorBody(output.body, context),
@@ -2542,19 +2518,19 @@ const deserializeAws_restJson1GetTypeCommandError = async (output, context) => {
2542
2518
  switch (errorCode) {
2543
2519
  case "BadRequestException":
2544
2520
  case "com.amazonaws.appsync#BadRequestException":
2545
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2521
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2546
2522
  case "ConcurrentModificationException":
2547
2523
  case "com.amazonaws.appsync#ConcurrentModificationException":
2548
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
2524
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2549
2525
  case "InternalFailureException":
2550
2526
  case "com.amazonaws.appsync#InternalFailureException":
2551
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2527
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2552
2528
  case "NotFoundException":
2553
2529
  case "com.amazonaws.appsync#NotFoundException":
2554
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2530
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2555
2531
  case "UnauthorizedException":
2556
2532
  case "com.amazonaws.appsync#UnauthorizedException":
2557
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2533
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2558
2534
  default:
2559
2535
  const parsedBody = parsedOutput.body;
2560
2536
  (0, smithy_client_1.throwDefaultError)({
@@ -2565,24 +2541,24 @@ const deserializeAws_restJson1GetTypeCommandError = async (output, context) => {
2565
2541
  });
2566
2542
  }
2567
2543
  };
2568
- const deserializeAws_restJson1ListApiKeysCommand = async (output, context) => {
2544
+ const de_ListApiKeysCommand = async (output, context) => {
2569
2545
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2570
- return deserializeAws_restJson1ListApiKeysCommandError(output, context);
2546
+ return de_ListApiKeysCommandError(output, context);
2571
2547
  }
2572
2548
  const contents = map({
2573
2549
  $metadata: deserializeMetadata(output),
2574
2550
  });
2575
2551
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2576
2552
  if (data.apiKeys != null) {
2577
- contents.apiKeys = deserializeAws_restJson1ApiKeys(data.apiKeys, context);
2553
+ contents.apiKeys = de_ApiKeys(data.apiKeys, context);
2578
2554
  }
2579
2555
  if (data.nextToken != null) {
2580
2556
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2581
2557
  }
2582
2558
  return contents;
2583
2559
  };
2584
- exports.deserializeAws_restJson1ListApiKeysCommand = deserializeAws_restJson1ListApiKeysCommand;
2585
- const deserializeAws_restJson1ListApiKeysCommandError = async (output, context) => {
2560
+ exports.de_ListApiKeysCommand = de_ListApiKeysCommand;
2561
+ const de_ListApiKeysCommandError = async (output, context) => {
2586
2562
  const parsedOutput = {
2587
2563
  ...output,
2588
2564
  body: await parseErrorBody(output.body, context),
@@ -2591,16 +2567,16 @@ const deserializeAws_restJson1ListApiKeysCommandError = async (output, context)
2591
2567
  switch (errorCode) {
2592
2568
  case "BadRequestException":
2593
2569
  case "com.amazonaws.appsync#BadRequestException":
2594
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2570
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2595
2571
  case "InternalFailureException":
2596
2572
  case "com.amazonaws.appsync#InternalFailureException":
2597
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2573
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2598
2574
  case "NotFoundException":
2599
2575
  case "com.amazonaws.appsync#NotFoundException":
2600
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2576
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2601
2577
  case "UnauthorizedException":
2602
2578
  case "com.amazonaws.appsync#UnauthorizedException":
2603
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2579
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2604
2580
  default:
2605
2581
  const parsedBody = parsedOutput.body;
2606
2582
  (0, smithy_client_1.throwDefaultError)({
@@ -2611,24 +2587,24 @@ const deserializeAws_restJson1ListApiKeysCommandError = async (output, context)
2611
2587
  });
2612
2588
  }
2613
2589
  };
2614
- const deserializeAws_restJson1ListDataSourcesCommand = async (output, context) => {
2590
+ const de_ListDataSourcesCommand = async (output, context) => {
2615
2591
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2616
- return deserializeAws_restJson1ListDataSourcesCommandError(output, context);
2592
+ return de_ListDataSourcesCommandError(output, context);
2617
2593
  }
2618
2594
  const contents = map({
2619
2595
  $metadata: deserializeMetadata(output),
2620
2596
  });
2621
2597
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2622
2598
  if (data.dataSources != null) {
2623
- contents.dataSources = deserializeAws_restJson1DataSources(data.dataSources, context);
2599
+ contents.dataSources = de_DataSources(data.dataSources, context);
2624
2600
  }
2625
2601
  if (data.nextToken != null) {
2626
2602
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2627
2603
  }
2628
2604
  return contents;
2629
2605
  };
2630
- exports.deserializeAws_restJson1ListDataSourcesCommand = deserializeAws_restJson1ListDataSourcesCommand;
2631
- const deserializeAws_restJson1ListDataSourcesCommandError = async (output, context) => {
2606
+ exports.de_ListDataSourcesCommand = de_ListDataSourcesCommand;
2607
+ const de_ListDataSourcesCommandError = async (output, context) => {
2632
2608
  const parsedOutput = {
2633
2609
  ...output,
2634
2610
  body: await parseErrorBody(output.body, context),
@@ -2637,16 +2613,16 @@ const deserializeAws_restJson1ListDataSourcesCommandError = async (output, conte
2637
2613
  switch (errorCode) {
2638
2614
  case "BadRequestException":
2639
2615
  case "com.amazonaws.appsync#BadRequestException":
2640
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2616
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2641
2617
  case "InternalFailureException":
2642
2618
  case "com.amazonaws.appsync#InternalFailureException":
2643
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2619
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2644
2620
  case "NotFoundException":
2645
2621
  case "com.amazonaws.appsync#NotFoundException":
2646
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2622
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2647
2623
  case "UnauthorizedException":
2648
2624
  case "com.amazonaws.appsync#UnauthorizedException":
2649
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2625
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2650
2626
  default:
2651
2627
  const parsedBody = parsedOutput.body;
2652
2628
  (0, smithy_client_1.throwDefaultError)({
@@ -2657,24 +2633,24 @@ const deserializeAws_restJson1ListDataSourcesCommandError = async (output, conte
2657
2633
  });
2658
2634
  }
2659
2635
  };
2660
- const deserializeAws_restJson1ListDomainNamesCommand = async (output, context) => {
2636
+ const de_ListDomainNamesCommand = async (output, context) => {
2661
2637
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2662
- return deserializeAws_restJson1ListDomainNamesCommandError(output, context);
2638
+ return de_ListDomainNamesCommandError(output, context);
2663
2639
  }
2664
2640
  const contents = map({
2665
2641
  $metadata: deserializeMetadata(output),
2666
2642
  });
2667
2643
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2668
2644
  if (data.domainNameConfigs != null) {
2669
- contents.domainNameConfigs = deserializeAws_restJson1DomainNameConfigs(data.domainNameConfigs, context);
2645
+ contents.domainNameConfigs = de_DomainNameConfigs(data.domainNameConfigs, context);
2670
2646
  }
2671
2647
  if (data.nextToken != null) {
2672
2648
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2673
2649
  }
2674
2650
  return contents;
2675
2651
  };
2676
- exports.deserializeAws_restJson1ListDomainNamesCommand = deserializeAws_restJson1ListDomainNamesCommand;
2677
- const deserializeAws_restJson1ListDomainNamesCommandError = async (output, context) => {
2652
+ exports.de_ListDomainNamesCommand = de_ListDomainNamesCommand;
2653
+ const de_ListDomainNamesCommandError = async (output, context) => {
2678
2654
  const parsedOutput = {
2679
2655
  ...output,
2680
2656
  body: await parseErrorBody(output.body, context),
@@ -2683,13 +2659,13 @@ const deserializeAws_restJson1ListDomainNamesCommandError = async (output, conte
2683
2659
  switch (errorCode) {
2684
2660
  case "AccessDeniedException":
2685
2661
  case "com.amazonaws.appsync#AccessDeniedException":
2686
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2662
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2687
2663
  case "BadRequestException":
2688
2664
  case "com.amazonaws.appsync#BadRequestException":
2689
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2665
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2690
2666
  case "InternalFailureException":
2691
2667
  case "com.amazonaws.appsync#InternalFailureException":
2692
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2668
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2693
2669
  default:
2694
2670
  const parsedBody = parsedOutput.body;
2695
2671
  (0, smithy_client_1.throwDefaultError)({
@@ -2700,24 +2676,24 @@ const deserializeAws_restJson1ListDomainNamesCommandError = async (output, conte
2700
2676
  });
2701
2677
  }
2702
2678
  };
2703
- const deserializeAws_restJson1ListFunctionsCommand = async (output, context) => {
2679
+ const de_ListFunctionsCommand = async (output, context) => {
2704
2680
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2705
- return deserializeAws_restJson1ListFunctionsCommandError(output, context);
2681
+ return de_ListFunctionsCommandError(output, context);
2706
2682
  }
2707
2683
  const contents = map({
2708
2684
  $metadata: deserializeMetadata(output),
2709
2685
  });
2710
2686
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2711
2687
  if (data.functions != null) {
2712
- contents.functions = deserializeAws_restJson1Functions(data.functions, context);
2688
+ contents.functions = de_Functions(data.functions, context);
2713
2689
  }
2714
2690
  if (data.nextToken != null) {
2715
2691
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2716
2692
  }
2717
2693
  return contents;
2718
2694
  };
2719
- exports.deserializeAws_restJson1ListFunctionsCommand = deserializeAws_restJson1ListFunctionsCommand;
2720
- const deserializeAws_restJson1ListFunctionsCommandError = async (output, context) => {
2695
+ exports.de_ListFunctionsCommand = de_ListFunctionsCommand;
2696
+ const de_ListFunctionsCommandError = async (output, context) => {
2721
2697
  const parsedOutput = {
2722
2698
  ...output,
2723
2699
  body: await parseErrorBody(output.body, context),
@@ -2726,16 +2702,16 @@ const deserializeAws_restJson1ListFunctionsCommandError = async (output, context
2726
2702
  switch (errorCode) {
2727
2703
  case "BadRequestException":
2728
2704
  case "com.amazonaws.appsync#BadRequestException":
2729
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2705
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2730
2706
  case "InternalFailureException":
2731
2707
  case "com.amazonaws.appsync#InternalFailureException":
2732
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2708
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2733
2709
  case "NotFoundException":
2734
2710
  case "com.amazonaws.appsync#NotFoundException":
2735
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2711
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2736
2712
  case "UnauthorizedException":
2737
2713
  case "com.amazonaws.appsync#UnauthorizedException":
2738
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2714
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2739
2715
  default:
2740
2716
  const parsedBody = parsedOutput.body;
2741
2717
  (0, smithy_client_1.throwDefaultError)({
@@ -2746,24 +2722,24 @@ const deserializeAws_restJson1ListFunctionsCommandError = async (output, context
2746
2722
  });
2747
2723
  }
2748
2724
  };
2749
- const deserializeAws_restJson1ListGraphqlApisCommand = async (output, context) => {
2725
+ const de_ListGraphqlApisCommand = async (output, context) => {
2750
2726
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2751
- return deserializeAws_restJson1ListGraphqlApisCommandError(output, context);
2727
+ return de_ListGraphqlApisCommandError(output, context);
2752
2728
  }
2753
2729
  const contents = map({
2754
2730
  $metadata: deserializeMetadata(output),
2755
2731
  });
2756
2732
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2757
2733
  if (data.graphqlApis != null) {
2758
- contents.graphqlApis = deserializeAws_restJson1GraphqlApis(data.graphqlApis, context);
2734
+ contents.graphqlApis = de_GraphqlApis(data.graphqlApis, context);
2759
2735
  }
2760
2736
  if (data.nextToken != null) {
2761
2737
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2762
2738
  }
2763
2739
  return contents;
2764
2740
  };
2765
- exports.deserializeAws_restJson1ListGraphqlApisCommand = deserializeAws_restJson1ListGraphqlApisCommand;
2766
- const deserializeAws_restJson1ListGraphqlApisCommandError = async (output, context) => {
2741
+ exports.de_ListGraphqlApisCommand = de_ListGraphqlApisCommand;
2742
+ const de_ListGraphqlApisCommandError = async (output, context) => {
2767
2743
  const parsedOutput = {
2768
2744
  ...output,
2769
2745
  body: await parseErrorBody(output.body, context),
@@ -2772,13 +2748,13 @@ const deserializeAws_restJson1ListGraphqlApisCommandError = async (output, conte
2772
2748
  switch (errorCode) {
2773
2749
  case "BadRequestException":
2774
2750
  case "com.amazonaws.appsync#BadRequestException":
2775
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2751
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2776
2752
  case "InternalFailureException":
2777
2753
  case "com.amazonaws.appsync#InternalFailureException":
2778
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2754
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2779
2755
  case "UnauthorizedException":
2780
2756
  case "com.amazonaws.appsync#UnauthorizedException":
2781
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2757
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2782
2758
  default:
2783
2759
  const parsedBody = parsedOutput.body;
2784
2760
  (0, smithy_client_1.throwDefaultError)({
@@ -2789,9 +2765,9 @@ const deserializeAws_restJson1ListGraphqlApisCommandError = async (output, conte
2789
2765
  });
2790
2766
  }
2791
2767
  };
2792
- const deserializeAws_restJson1ListResolversCommand = async (output, context) => {
2768
+ const de_ListResolversCommand = async (output, context) => {
2793
2769
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2794
- return deserializeAws_restJson1ListResolversCommandError(output, context);
2770
+ return de_ListResolversCommandError(output, context);
2795
2771
  }
2796
2772
  const contents = map({
2797
2773
  $metadata: deserializeMetadata(output),
@@ -2801,12 +2777,12 @@ const deserializeAws_restJson1ListResolversCommand = async (output, context) =>
2801
2777
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2802
2778
  }
2803
2779
  if (data.resolvers != null) {
2804
- contents.resolvers = deserializeAws_restJson1Resolvers(data.resolvers, context);
2780
+ contents.resolvers = de_Resolvers(data.resolvers, context);
2805
2781
  }
2806
2782
  return contents;
2807
2783
  };
2808
- exports.deserializeAws_restJson1ListResolversCommand = deserializeAws_restJson1ListResolversCommand;
2809
- const deserializeAws_restJson1ListResolversCommandError = async (output, context) => {
2784
+ exports.de_ListResolversCommand = de_ListResolversCommand;
2785
+ const de_ListResolversCommandError = async (output, context) => {
2810
2786
  const parsedOutput = {
2811
2787
  ...output,
2812
2788
  body: await parseErrorBody(output.body, context),
@@ -2815,16 +2791,16 @@ const deserializeAws_restJson1ListResolversCommandError = async (output, context
2815
2791
  switch (errorCode) {
2816
2792
  case "BadRequestException":
2817
2793
  case "com.amazonaws.appsync#BadRequestException":
2818
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2794
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2819
2795
  case "InternalFailureException":
2820
2796
  case "com.amazonaws.appsync#InternalFailureException":
2821
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2797
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2822
2798
  case "NotFoundException":
2823
2799
  case "com.amazonaws.appsync#NotFoundException":
2824
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2800
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2825
2801
  case "UnauthorizedException":
2826
2802
  case "com.amazonaws.appsync#UnauthorizedException":
2827
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2803
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2828
2804
  default:
2829
2805
  const parsedBody = parsedOutput.body;
2830
2806
  (0, smithy_client_1.throwDefaultError)({
@@ -2835,9 +2811,9 @@ const deserializeAws_restJson1ListResolversCommandError = async (output, context
2835
2811
  });
2836
2812
  }
2837
2813
  };
2838
- const deserializeAws_restJson1ListResolversByFunctionCommand = async (output, context) => {
2814
+ const de_ListResolversByFunctionCommand = async (output, context) => {
2839
2815
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2840
- return deserializeAws_restJson1ListResolversByFunctionCommandError(output, context);
2816
+ return de_ListResolversByFunctionCommandError(output, context);
2841
2817
  }
2842
2818
  const contents = map({
2843
2819
  $metadata: deserializeMetadata(output),
@@ -2847,12 +2823,12 @@ const deserializeAws_restJson1ListResolversByFunctionCommand = async (output, co
2847
2823
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2848
2824
  }
2849
2825
  if (data.resolvers != null) {
2850
- contents.resolvers = deserializeAws_restJson1Resolvers(data.resolvers, context);
2826
+ contents.resolvers = de_Resolvers(data.resolvers, context);
2851
2827
  }
2852
2828
  return contents;
2853
2829
  };
2854
- exports.deserializeAws_restJson1ListResolversByFunctionCommand = deserializeAws_restJson1ListResolversByFunctionCommand;
2855
- const deserializeAws_restJson1ListResolversByFunctionCommandError = async (output, context) => {
2830
+ exports.de_ListResolversByFunctionCommand = de_ListResolversByFunctionCommand;
2831
+ const de_ListResolversByFunctionCommandError = async (output, context) => {
2856
2832
  const parsedOutput = {
2857
2833
  ...output,
2858
2834
  body: await parseErrorBody(output.body, context),
@@ -2861,16 +2837,16 @@ const deserializeAws_restJson1ListResolversByFunctionCommandError = async (outpu
2861
2837
  switch (errorCode) {
2862
2838
  case "BadRequestException":
2863
2839
  case "com.amazonaws.appsync#BadRequestException":
2864
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2840
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2865
2841
  case "InternalFailureException":
2866
2842
  case "com.amazonaws.appsync#InternalFailureException":
2867
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2843
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2868
2844
  case "NotFoundException":
2869
2845
  case "com.amazonaws.appsync#NotFoundException":
2870
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2846
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2871
2847
  case "UnauthorizedException":
2872
2848
  case "com.amazonaws.appsync#UnauthorizedException":
2873
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2849
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2874
2850
  default:
2875
2851
  const parsedBody = parsedOutput.body;
2876
2852
  (0, smithy_client_1.throwDefaultError)({
@@ -2881,21 +2857,21 @@ const deserializeAws_restJson1ListResolversByFunctionCommandError = async (outpu
2881
2857
  });
2882
2858
  }
2883
2859
  };
2884
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
2860
+ const de_ListTagsForResourceCommand = async (output, context) => {
2885
2861
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2886
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
2862
+ return de_ListTagsForResourceCommandError(output, context);
2887
2863
  }
2888
2864
  const contents = map({
2889
2865
  $metadata: deserializeMetadata(output),
2890
2866
  });
2891
2867
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2892
2868
  if (data.tags != null) {
2893
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
2869
+ contents.tags = de_TagMap(data.tags, context);
2894
2870
  }
2895
2871
  return contents;
2896
2872
  };
2897
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
2898
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
2873
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
2874
+ const de_ListTagsForResourceCommandError = async (output, context) => {
2899
2875
  const parsedOutput = {
2900
2876
  ...output,
2901
2877
  body: await parseErrorBody(output.body, context),
@@ -2904,22 +2880,22 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2904
2880
  switch (errorCode) {
2905
2881
  case "AccessDeniedException":
2906
2882
  case "com.amazonaws.appsync#AccessDeniedException":
2907
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2883
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2908
2884
  case "BadRequestException":
2909
2885
  case "com.amazonaws.appsync#BadRequestException":
2910
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2886
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2911
2887
  case "InternalFailureException":
2912
2888
  case "com.amazonaws.appsync#InternalFailureException":
2913
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2889
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2914
2890
  case "LimitExceededException":
2915
2891
  case "com.amazonaws.appsync#LimitExceededException":
2916
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
2892
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2917
2893
  case "NotFoundException":
2918
2894
  case "com.amazonaws.appsync#NotFoundException":
2919
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2895
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2920
2896
  case "UnauthorizedException":
2921
2897
  case "com.amazonaws.appsync#UnauthorizedException":
2922
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2898
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2923
2899
  default:
2924
2900
  const parsedBody = parsedOutput.body;
2925
2901
  (0, smithy_client_1.throwDefaultError)({
@@ -2930,9 +2906,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2930
2906
  });
2931
2907
  }
2932
2908
  };
2933
- const deserializeAws_restJson1ListTypesCommand = async (output, context) => {
2909
+ const de_ListTypesCommand = async (output, context) => {
2934
2910
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2935
- return deserializeAws_restJson1ListTypesCommandError(output, context);
2911
+ return de_ListTypesCommandError(output, context);
2936
2912
  }
2937
2913
  const contents = map({
2938
2914
  $metadata: deserializeMetadata(output),
@@ -2942,12 +2918,12 @@ const deserializeAws_restJson1ListTypesCommand = async (output, context) => {
2942
2918
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2943
2919
  }
2944
2920
  if (data.types != null) {
2945
- contents.types = deserializeAws_restJson1TypeList(data.types, context);
2921
+ contents.types = de_TypeList(data.types, context);
2946
2922
  }
2947
2923
  return contents;
2948
2924
  };
2949
- exports.deserializeAws_restJson1ListTypesCommand = deserializeAws_restJson1ListTypesCommand;
2950
- const deserializeAws_restJson1ListTypesCommandError = async (output, context) => {
2925
+ exports.de_ListTypesCommand = de_ListTypesCommand;
2926
+ const de_ListTypesCommandError = async (output, context) => {
2951
2927
  const parsedOutput = {
2952
2928
  ...output,
2953
2929
  body: await parseErrorBody(output.body, context),
@@ -2956,19 +2932,19 @@ const deserializeAws_restJson1ListTypesCommandError = async (output, context) =>
2956
2932
  switch (errorCode) {
2957
2933
  case "BadRequestException":
2958
2934
  case "com.amazonaws.appsync#BadRequestException":
2959
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2935
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2960
2936
  case "ConcurrentModificationException":
2961
2937
  case "com.amazonaws.appsync#ConcurrentModificationException":
2962
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
2938
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2963
2939
  case "InternalFailureException":
2964
2940
  case "com.amazonaws.appsync#InternalFailureException":
2965
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2941
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
2966
2942
  case "NotFoundException":
2967
2943
  case "com.amazonaws.appsync#NotFoundException":
2968
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2944
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2969
2945
  case "UnauthorizedException":
2970
2946
  case "com.amazonaws.appsync#UnauthorizedException":
2971
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2947
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2972
2948
  default:
2973
2949
  const parsedBody = parsedOutput.body;
2974
2950
  (0, smithy_client_1.throwDefaultError)({
@@ -2979,9 +2955,9 @@ const deserializeAws_restJson1ListTypesCommandError = async (output, context) =>
2979
2955
  });
2980
2956
  }
2981
2957
  };
2982
- const deserializeAws_restJson1StartSchemaCreationCommand = async (output, context) => {
2958
+ const de_StartSchemaCreationCommand = async (output, context) => {
2983
2959
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2984
- return deserializeAws_restJson1StartSchemaCreationCommandError(output, context);
2960
+ return de_StartSchemaCreationCommandError(output, context);
2985
2961
  }
2986
2962
  const contents = map({
2987
2963
  $metadata: deserializeMetadata(output),
@@ -2992,8 +2968,8 @@ const deserializeAws_restJson1StartSchemaCreationCommand = async (output, contex
2992
2968
  }
2993
2969
  return contents;
2994
2970
  };
2995
- exports.deserializeAws_restJson1StartSchemaCreationCommand = deserializeAws_restJson1StartSchemaCreationCommand;
2996
- const deserializeAws_restJson1StartSchemaCreationCommandError = async (output, context) => {
2971
+ exports.de_StartSchemaCreationCommand = de_StartSchemaCreationCommand;
2972
+ const de_StartSchemaCreationCommandError = async (output, context) => {
2997
2973
  const parsedOutput = {
2998
2974
  ...output,
2999
2975
  body: await parseErrorBody(output.body, context),
@@ -3002,19 +2978,19 @@ const deserializeAws_restJson1StartSchemaCreationCommandError = async (output, c
3002
2978
  switch (errorCode) {
3003
2979
  case "BadRequestException":
3004
2980
  case "com.amazonaws.appsync#BadRequestException":
3005
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2981
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3006
2982
  case "ConcurrentModificationException":
3007
2983
  case "com.amazonaws.appsync#ConcurrentModificationException":
3008
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
2984
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
3009
2985
  case "InternalFailureException":
3010
2986
  case "com.amazonaws.appsync#InternalFailureException":
3011
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
2987
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
3012
2988
  case "NotFoundException":
3013
2989
  case "com.amazonaws.appsync#NotFoundException":
3014
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2990
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3015
2991
  case "UnauthorizedException":
3016
2992
  case "com.amazonaws.appsync#UnauthorizedException":
3017
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2993
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
3018
2994
  default:
3019
2995
  const parsedBody = parsedOutput.body;
3020
2996
  (0, smithy_client_1.throwDefaultError)({
@@ -3025,9 +3001,9 @@ const deserializeAws_restJson1StartSchemaCreationCommandError = async (output, c
3025
3001
  });
3026
3002
  }
3027
3003
  };
3028
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
3004
+ const de_TagResourceCommand = async (output, context) => {
3029
3005
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3030
- return deserializeAws_restJson1TagResourceCommandError(output, context);
3006
+ return de_TagResourceCommandError(output, context);
3031
3007
  }
3032
3008
  const contents = map({
3033
3009
  $metadata: deserializeMetadata(output),
@@ -3035,8 +3011,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
3035
3011
  await collectBody(output.body, context);
3036
3012
  return contents;
3037
3013
  };
3038
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
3039
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
3014
+ exports.de_TagResourceCommand = de_TagResourceCommand;
3015
+ const de_TagResourceCommandError = async (output, context) => {
3040
3016
  const parsedOutput = {
3041
3017
  ...output,
3042
3018
  body: await parseErrorBody(output.body, context),
@@ -3045,22 +3021,22 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
3045
3021
  switch (errorCode) {
3046
3022
  case "AccessDeniedException":
3047
3023
  case "com.amazonaws.appsync#AccessDeniedException":
3048
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3024
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3049
3025
  case "BadRequestException":
3050
3026
  case "com.amazonaws.appsync#BadRequestException":
3051
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3027
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3052
3028
  case "InternalFailureException":
3053
3029
  case "com.amazonaws.appsync#InternalFailureException":
3054
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
3030
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
3055
3031
  case "LimitExceededException":
3056
3032
  case "com.amazonaws.appsync#LimitExceededException":
3057
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
3033
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
3058
3034
  case "NotFoundException":
3059
3035
  case "com.amazonaws.appsync#NotFoundException":
3060
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3036
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3061
3037
  case "UnauthorizedException":
3062
3038
  case "com.amazonaws.appsync#UnauthorizedException":
3063
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
3039
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
3064
3040
  default:
3065
3041
  const parsedBody = parsedOutput.body;
3066
3042
  (0, smithy_client_1.throwDefaultError)({
@@ -3071,9 +3047,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
3071
3047
  });
3072
3048
  }
3073
3049
  };
3074
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
3050
+ const de_UntagResourceCommand = async (output, context) => {
3075
3051
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3076
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
3052
+ return de_UntagResourceCommandError(output, context);
3077
3053
  }
3078
3054
  const contents = map({
3079
3055
  $metadata: deserializeMetadata(output),
@@ -3081,8 +3057,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
3081
3057
  await collectBody(output.body, context);
3082
3058
  return contents;
3083
3059
  };
3084
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
3085
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
3060
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
3061
+ const de_UntagResourceCommandError = async (output, context) => {
3086
3062
  const parsedOutput = {
3087
3063
  ...output,
3088
3064
  body: await parseErrorBody(output.body, context),
@@ -3091,22 +3067,22 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
3091
3067
  switch (errorCode) {
3092
3068
  case "AccessDeniedException":
3093
3069
  case "com.amazonaws.appsync#AccessDeniedException":
3094
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3070
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3095
3071
  case "BadRequestException":
3096
3072
  case "com.amazonaws.appsync#BadRequestException":
3097
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3073
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3098
3074
  case "InternalFailureException":
3099
3075
  case "com.amazonaws.appsync#InternalFailureException":
3100
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
3076
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
3101
3077
  case "LimitExceededException":
3102
3078
  case "com.amazonaws.appsync#LimitExceededException":
3103
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
3079
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
3104
3080
  case "NotFoundException":
3105
3081
  case "com.amazonaws.appsync#NotFoundException":
3106
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3082
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3107
3083
  case "UnauthorizedException":
3108
3084
  case "com.amazonaws.appsync#UnauthorizedException":
3109
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
3085
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
3110
3086
  default:
3111
3087
  const parsedBody = parsedOutput.body;
3112
3088
  (0, smithy_client_1.throwDefaultError)({
@@ -3117,21 +3093,21 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
3117
3093
  });
3118
3094
  }
3119
3095
  };
3120
- const deserializeAws_restJson1UpdateApiCacheCommand = async (output, context) => {
3096
+ const de_UpdateApiCacheCommand = async (output, context) => {
3121
3097
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3122
- return deserializeAws_restJson1UpdateApiCacheCommandError(output, context);
3098
+ return de_UpdateApiCacheCommandError(output, context);
3123
3099
  }
3124
3100
  const contents = map({
3125
3101
  $metadata: deserializeMetadata(output),
3126
3102
  });
3127
3103
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3128
3104
  if (data.apiCache != null) {
3129
- contents.apiCache = deserializeAws_restJson1ApiCache(data.apiCache, context);
3105
+ contents.apiCache = de_ApiCache(data.apiCache, context);
3130
3106
  }
3131
3107
  return contents;
3132
3108
  };
3133
- exports.deserializeAws_restJson1UpdateApiCacheCommand = deserializeAws_restJson1UpdateApiCacheCommand;
3134
- const deserializeAws_restJson1UpdateApiCacheCommandError = async (output, context) => {
3109
+ exports.de_UpdateApiCacheCommand = de_UpdateApiCacheCommand;
3110
+ const de_UpdateApiCacheCommandError = async (output, context) => {
3135
3111
  const parsedOutput = {
3136
3112
  ...output,
3137
3113
  body: await parseErrorBody(output.body, context),
@@ -3140,19 +3116,19 @@ const deserializeAws_restJson1UpdateApiCacheCommandError = async (output, contex
3140
3116
  switch (errorCode) {
3141
3117
  case "BadRequestException":
3142
3118
  case "com.amazonaws.appsync#BadRequestException":
3143
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3119
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3144
3120
  case "ConcurrentModificationException":
3145
3121
  case "com.amazonaws.appsync#ConcurrentModificationException":
3146
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
3122
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
3147
3123
  case "InternalFailureException":
3148
3124
  case "com.amazonaws.appsync#InternalFailureException":
3149
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
3125
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
3150
3126
  case "NotFoundException":
3151
3127
  case "com.amazonaws.appsync#NotFoundException":
3152
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3128
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3153
3129
  case "UnauthorizedException":
3154
3130
  case "com.amazonaws.appsync#UnauthorizedException":
3155
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
3131
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
3156
3132
  default:
3157
3133
  const parsedBody = parsedOutput.body;
3158
3134
  (0, smithy_client_1.throwDefaultError)({
@@ -3163,21 +3139,21 @@ const deserializeAws_restJson1UpdateApiCacheCommandError = async (output, contex
3163
3139
  });
3164
3140
  }
3165
3141
  };
3166
- const deserializeAws_restJson1UpdateApiKeyCommand = async (output, context) => {
3142
+ const de_UpdateApiKeyCommand = async (output, context) => {
3167
3143
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3168
- return deserializeAws_restJson1UpdateApiKeyCommandError(output, context);
3144
+ return de_UpdateApiKeyCommandError(output, context);
3169
3145
  }
3170
3146
  const contents = map({
3171
3147
  $metadata: deserializeMetadata(output),
3172
3148
  });
3173
3149
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3174
3150
  if (data.apiKey != null) {
3175
- contents.apiKey = deserializeAws_restJson1ApiKey(data.apiKey, context);
3151
+ contents.apiKey = de_ApiKey(data.apiKey, context);
3176
3152
  }
3177
3153
  return contents;
3178
3154
  };
3179
- exports.deserializeAws_restJson1UpdateApiKeyCommand = deserializeAws_restJson1UpdateApiKeyCommand;
3180
- const deserializeAws_restJson1UpdateApiKeyCommandError = async (output, context) => {
3155
+ exports.de_UpdateApiKeyCommand = de_UpdateApiKeyCommand;
3156
+ const de_UpdateApiKeyCommandError = async (output, context) => {
3181
3157
  const parsedOutput = {
3182
3158
  ...output,
3183
3159
  body: await parseErrorBody(output.body, context),
@@ -3186,22 +3162,22 @@ const deserializeAws_restJson1UpdateApiKeyCommandError = async (output, context)
3186
3162
  switch (errorCode) {
3187
3163
  case "ApiKeyValidityOutOfBoundsException":
3188
3164
  case "com.amazonaws.appsync#ApiKeyValidityOutOfBoundsException":
3189
- throw await deserializeAws_restJson1ApiKeyValidityOutOfBoundsExceptionResponse(parsedOutput, context);
3165
+ throw await de_ApiKeyValidityOutOfBoundsExceptionRes(parsedOutput, context);
3190
3166
  case "BadRequestException":
3191
3167
  case "com.amazonaws.appsync#BadRequestException":
3192
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3168
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3193
3169
  case "InternalFailureException":
3194
3170
  case "com.amazonaws.appsync#InternalFailureException":
3195
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
3171
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
3196
3172
  case "LimitExceededException":
3197
3173
  case "com.amazonaws.appsync#LimitExceededException":
3198
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
3174
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
3199
3175
  case "NotFoundException":
3200
3176
  case "com.amazonaws.appsync#NotFoundException":
3201
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3177
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3202
3178
  case "UnauthorizedException":
3203
3179
  case "com.amazonaws.appsync#UnauthorizedException":
3204
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
3180
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
3205
3181
  default:
3206
3182
  const parsedBody = parsedOutput.body;
3207
3183
  (0, smithy_client_1.throwDefaultError)({
@@ -3212,21 +3188,21 @@ const deserializeAws_restJson1UpdateApiKeyCommandError = async (output, context)
3212
3188
  });
3213
3189
  }
3214
3190
  };
3215
- const deserializeAws_restJson1UpdateDataSourceCommand = async (output, context) => {
3191
+ const de_UpdateDataSourceCommand = async (output, context) => {
3216
3192
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3217
- return deserializeAws_restJson1UpdateDataSourceCommandError(output, context);
3193
+ return de_UpdateDataSourceCommandError(output, context);
3218
3194
  }
3219
3195
  const contents = map({
3220
3196
  $metadata: deserializeMetadata(output),
3221
3197
  });
3222
3198
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3223
3199
  if (data.dataSource != null) {
3224
- contents.dataSource = deserializeAws_restJson1DataSource(data.dataSource, context);
3200
+ contents.dataSource = de_DataSource(data.dataSource, context);
3225
3201
  }
3226
3202
  return contents;
3227
3203
  };
3228
- exports.deserializeAws_restJson1UpdateDataSourceCommand = deserializeAws_restJson1UpdateDataSourceCommand;
3229
- const deserializeAws_restJson1UpdateDataSourceCommandError = async (output, context) => {
3204
+ exports.de_UpdateDataSourceCommand = de_UpdateDataSourceCommand;
3205
+ const de_UpdateDataSourceCommandError = async (output, context) => {
3230
3206
  const parsedOutput = {
3231
3207
  ...output,
3232
3208
  body: await parseErrorBody(output.body, context),
@@ -3235,19 +3211,19 @@ const deserializeAws_restJson1UpdateDataSourceCommandError = async (output, cont
3235
3211
  switch (errorCode) {
3236
3212
  case "BadRequestException":
3237
3213
  case "com.amazonaws.appsync#BadRequestException":
3238
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3214
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3239
3215
  case "ConcurrentModificationException":
3240
3216
  case "com.amazonaws.appsync#ConcurrentModificationException":
3241
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
3217
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
3242
3218
  case "InternalFailureException":
3243
3219
  case "com.amazonaws.appsync#InternalFailureException":
3244
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
3220
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
3245
3221
  case "NotFoundException":
3246
3222
  case "com.amazonaws.appsync#NotFoundException":
3247
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3223
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3248
3224
  case "UnauthorizedException":
3249
3225
  case "com.amazonaws.appsync#UnauthorizedException":
3250
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
3226
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
3251
3227
  default:
3252
3228
  const parsedBody = parsedOutput.body;
3253
3229
  (0, smithy_client_1.throwDefaultError)({
@@ -3258,21 +3234,21 @@ const deserializeAws_restJson1UpdateDataSourceCommandError = async (output, cont
3258
3234
  });
3259
3235
  }
3260
3236
  };
3261
- const deserializeAws_restJson1UpdateDomainNameCommand = async (output, context) => {
3237
+ const de_UpdateDomainNameCommand = async (output, context) => {
3262
3238
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3263
- return deserializeAws_restJson1UpdateDomainNameCommandError(output, context);
3239
+ return de_UpdateDomainNameCommandError(output, context);
3264
3240
  }
3265
3241
  const contents = map({
3266
3242
  $metadata: deserializeMetadata(output),
3267
3243
  });
3268
3244
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3269
3245
  if (data.domainNameConfig != null) {
3270
- contents.domainNameConfig = deserializeAws_restJson1DomainNameConfig(data.domainNameConfig, context);
3246
+ contents.domainNameConfig = de_DomainNameConfig(data.domainNameConfig, context);
3271
3247
  }
3272
3248
  return contents;
3273
3249
  };
3274
- exports.deserializeAws_restJson1UpdateDomainNameCommand = deserializeAws_restJson1UpdateDomainNameCommand;
3275
- const deserializeAws_restJson1UpdateDomainNameCommandError = async (output, context) => {
3250
+ exports.de_UpdateDomainNameCommand = de_UpdateDomainNameCommand;
3251
+ const de_UpdateDomainNameCommandError = async (output, context) => {
3276
3252
  const parsedOutput = {
3277
3253
  ...output,
3278
3254
  body: await parseErrorBody(output.body, context),
@@ -3281,19 +3257,19 @@ const deserializeAws_restJson1UpdateDomainNameCommandError = async (output, cont
3281
3257
  switch (errorCode) {
3282
3258
  case "AccessDeniedException":
3283
3259
  case "com.amazonaws.appsync#AccessDeniedException":
3284
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3260
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3285
3261
  case "BadRequestException":
3286
3262
  case "com.amazonaws.appsync#BadRequestException":
3287
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3263
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3288
3264
  case "ConcurrentModificationException":
3289
3265
  case "com.amazonaws.appsync#ConcurrentModificationException":
3290
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
3266
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
3291
3267
  case "InternalFailureException":
3292
3268
  case "com.amazonaws.appsync#InternalFailureException":
3293
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
3269
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
3294
3270
  case "NotFoundException":
3295
3271
  case "com.amazonaws.appsync#NotFoundException":
3296
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3272
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3297
3273
  default:
3298
3274
  const parsedBody = parsedOutput.body;
3299
3275
  (0, smithy_client_1.throwDefaultError)({
@@ -3304,21 +3280,21 @@ const deserializeAws_restJson1UpdateDomainNameCommandError = async (output, cont
3304
3280
  });
3305
3281
  }
3306
3282
  };
3307
- const deserializeAws_restJson1UpdateFunctionCommand = async (output, context) => {
3283
+ const de_UpdateFunctionCommand = async (output, context) => {
3308
3284
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3309
- return deserializeAws_restJson1UpdateFunctionCommandError(output, context);
3285
+ return de_UpdateFunctionCommandError(output, context);
3310
3286
  }
3311
3287
  const contents = map({
3312
3288
  $metadata: deserializeMetadata(output),
3313
3289
  });
3314
3290
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3315
3291
  if (data.functionConfiguration != null) {
3316
- contents.functionConfiguration = deserializeAws_restJson1FunctionConfiguration(data.functionConfiguration, context);
3292
+ contents.functionConfiguration = de_FunctionConfiguration(data.functionConfiguration, context);
3317
3293
  }
3318
3294
  return contents;
3319
3295
  };
3320
- exports.deserializeAws_restJson1UpdateFunctionCommand = deserializeAws_restJson1UpdateFunctionCommand;
3321
- const deserializeAws_restJson1UpdateFunctionCommandError = async (output, context) => {
3296
+ exports.de_UpdateFunctionCommand = de_UpdateFunctionCommand;
3297
+ const de_UpdateFunctionCommandError = async (output, context) => {
3322
3298
  const parsedOutput = {
3323
3299
  ...output,
3324
3300
  body: await parseErrorBody(output.body, context),
@@ -3327,16 +3303,16 @@ const deserializeAws_restJson1UpdateFunctionCommandError = async (output, contex
3327
3303
  switch (errorCode) {
3328
3304
  case "ConcurrentModificationException":
3329
3305
  case "com.amazonaws.appsync#ConcurrentModificationException":
3330
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
3306
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
3331
3307
  case "InternalFailureException":
3332
3308
  case "com.amazonaws.appsync#InternalFailureException":
3333
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
3309
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
3334
3310
  case "NotFoundException":
3335
3311
  case "com.amazonaws.appsync#NotFoundException":
3336
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3312
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3337
3313
  case "UnauthorizedException":
3338
3314
  case "com.amazonaws.appsync#UnauthorizedException":
3339
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
3315
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
3340
3316
  default:
3341
3317
  const parsedBody = parsedOutput.body;
3342
3318
  (0, smithy_client_1.throwDefaultError)({
@@ -3347,21 +3323,21 @@ const deserializeAws_restJson1UpdateFunctionCommandError = async (output, contex
3347
3323
  });
3348
3324
  }
3349
3325
  };
3350
- const deserializeAws_restJson1UpdateGraphqlApiCommand = async (output, context) => {
3326
+ const de_UpdateGraphqlApiCommand = async (output, context) => {
3351
3327
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3352
- return deserializeAws_restJson1UpdateGraphqlApiCommandError(output, context);
3328
+ return de_UpdateGraphqlApiCommandError(output, context);
3353
3329
  }
3354
3330
  const contents = map({
3355
3331
  $metadata: deserializeMetadata(output),
3356
3332
  });
3357
3333
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3358
3334
  if (data.graphqlApi != null) {
3359
- contents.graphqlApi = deserializeAws_restJson1GraphqlApi(data.graphqlApi, context);
3335
+ contents.graphqlApi = de_GraphqlApi(data.graphqlApi, context);
3360
3336
  }
3361
3337
  return contents;
3362
3338
  };
3363
- exports.deserializeAws_restJson1UpdateGraphqlApiCommand = deserializeAws_restJson1UpdateGraphqlApiCommand;
3364
- const deserializeAws_restJson1UpdateGraphqlApiCommandError = async (output, context) => {
3339
+ exports.de_UpdateGraphqlApiCommand = de_UpdateGraphqlApiCommand;
3340
+ const de_UpdateGraphqlApiCommandError = async (output, context) => {
3365
3341
  const parsedOutput = {
3366
3342
  ...output,
3367
3343
  body: await parseErrorBody(output.body, context),
@@ -3370,22 +3346,22 @@ const deserializeAws_restJson1UpdateGraphqlApiCommandError = async (output, cont
3370
3346
  switch (errorCode) {
3371
3347
  case "AccessDeniedException":
3372
3348
  case "com.amazonaws.appsync#AccessDeniedException":
3373
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3349
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3374
3350
  case "BadRequestException":
3375
3351
  case "com.amazonaws.appsync#BadRequestException":
3376
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3352
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3377
3353
  case "ConcurrentModificationException":
3378
3354
  case "com.amazonaws.appsync#ConcurrentModificationException":
3379
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
3355
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
3380
3356
  case "InternalFailureException":
3381
3357
  case "com.amazonaws.appsync#InternalFailureException":
3382
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
3358
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
3383
3359
  case "NotFoundException":
3384
3360
  case "com.amazonaws.appsync#NotFoundException":
3385
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3361
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3386
3362
  case "UnauthorizedException":
3387
3363
  case "com.amazonaws.appsync#UnauthorizedException":
3388
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
3364
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
3389
3365
  default:
3390
3366
  const parsedBody = parsedOutput.body;
3391
3367
  (0, smithy_client_1.throwDefaultError)({
@@ -3396,21 +3372,21 @@ const deserializeAws_restJson1UpdateGraphqlApiCommandError = async (output, cont
3396
3372
  });
3397
3373
  }
3398
3374
  };
3399
- const deserializeAws_restJson1UpdateResolverCommand = async (output, context) => {
3375
+ const de_UpdateResolverCommand = async (output, context) => {
3400
3376
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3401
- return deserializeAws_restJson1UpdateResolverCommandError(output, context);
3377
+ return de_UpdateResolverCommandError(output, context);
3402
3378
  }
3403
3379
  const contents = map({
3404
3380
  $metadata: deserializeMetadata(output),
3405
3381
  });
3406
3382
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3407
3383
  if (data.resolver != null) {
3408
- contents.resolver = deserializeAws_restJson1Resolver(data.resolver, context);
3384
+ contents.resolver = de_Resolver(data.resolver, context);
3409
3385
  }
3410
3386
  return contents;
3411
3387
  };
3412
- exports.deserializeAws_restJson1UpdateResolverCommand = deserializeAws_restJson1UpdateResolverCommand;
3413
- const deserializeAws_restJson1UpdateResolverCommandError = async (output, context) => {
3388
+ exports.de_UpdateResolverCommand = de_UpdateResolverCommand;
3389
+ const de_UpdateResolverCommandError = async (output, context) => {
3414
3390
  const parsedOutput = {
3415
3391
  ...output,
3416
3392
  body: await parseErrorBody(output.body, context),
@@ -3419,19 +3395,19 @@ const deserializeAws_restJson1UpdateResolverCommandError = async (output, contex
3419
3395
  switch (errorCode) {
3420
3396
  case "BadRequestException":
3421
3397
  case "com.amazonaws.appsync#BadRequestException":
3422
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3398
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3423
3399
  case "ConcurrentModificationException":
3424
3400
  case "com.amazonaws.appsync#ConcurrentModificationException":
3425
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
3401
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
3426
3402
  case "InternalFailureException":
3427
3403
  case "com.amazonaws.appsync#InternalFailureException":
3428
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
3404
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
3429
3405
  case "NotFoundException":
3430
3406
  case "com.amazonaws.appsync#NotFoundException":
3431
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3407
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3432
3408
  case "UnauthorizedException":
3433
3409
  case "com.amazonaws.appsync#UnauthorizedException":
3434
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
3410
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
3435
3411
  default:
3436
3412
  const parsedBody = parsedOutput.body;
3437
3413
  (0, smithy_client_1.throwDefaultError)({
@@ -3442,21 +3418,21 @@ const deserializeAws_restJson1UpdateResolverCommandError = async (output, contex
3442
3418
  });
3443
3419
  }
3444
3420
  };
3445
- const deserializeAws_restJson1UpdateTypeCommand = async (output, context) => {
3421
+ const de_UpdateTypeCommand = async (output, context) => {
3446
3422
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3447
- return deserializeAws_restJson1UpdateTypeCommandError(output, context);
3423
+ return de_UpdateTypeCommandError(output, context);
3448
3424
  }
3449
3425
  const contents = map({
3450
3426
  $metadata: deserializeMetadata(output),
3451
3427
  });
3452
3428
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3453
3429
  if (data.type != null) {
3454
- contents.type = deserializeAws_restJson1Type(data.type, context);
3430
+ contents.type = de_Type(data.type, context);
3455
3431
  }
3456
3432
  return contents;
3457
3433
  };
3458
- exports.deserializeAws_restJson1UpdateTypeCommand = deserializeAws_restJson1UpdateTypeCommand;
3459
- const deserializeAws_restJson1UpdateTypeCommandError = async (output, context) => {
3434
+ exports.de_UpdateTypeCommand = de_UpdateTypeCommand;
3435
+ const de_UpdateTypeCommandError = async (output, context) => {
3460
3436
  const parsedOutput = {
3461
3437
  ...output,
3462
3438
  body: await parseErrorBody(output.body, context),
@@ -3465,19 +3441,19 @@ const deserializeAws_restJson1UpdateTypeCommandError = async (output, context) =
3465
3441
  switch (errorCode) {
3466
3442
  case "BadRequestException":
3467
3443
  case "com.amazonaws.appsync#BadRequestException":
3468
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3444
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3469
3445
  case "ConcurrentModificationException":
3470
3446
  case "com.amazonaws.appsync#ConcurrentModificationException":
3471
- throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
3447
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
3472
3448
  case "InternalFailureException":
3473
3449
  case "com.amazonaws.appsync#InternalFailureException":
3474
- throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
3450
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
3475
3451
  case "NotFoundException":
3476
3452
  case "com.amazonaws.appsync#NotFoundException":
3477
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3453
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3478
3454
  case "UnauthorizedException":
3479
3455
  case "com.amazonaws.appsync#UnauthorizedException":
3480
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
3456
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
3481
3457
  default:
3482
3458
  const parsedBody = parsedOutput.body;
3483
3459
  (0, smithy_client_1.throwDefaultError)({
@@ -3489,7 +3465,7 @@ const deserializeAws_restJson1UpdateTypeCommandError = async (output, context) =
3489
3465
  }
3490
3466
  };
3491
3467
  const map = smithy_client_1.map;
3492
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
3468
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
3493
3469
  const contents = map({});
3494
3470
  const data = parsedOutput.body;
3495
3471
  if (data.message != null) {
@@ -3501,7 +3477,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
3501
3477
  });
3502
3478
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3503
3479
  };
3504
- const deserializeAws_restJson1ApiKeyLimitExceededExceptionResponse = async (parsedOutput, context) => {
3480
+ const de_ApiKeyLimitExceededExceptionRes = async (parsedOutput, context) => {
3505
3481
  const contents = map({});
3506
3482
  const data = parsedOutput.body;
3507
3483
  if (data.message != null) {
@@ -3513,7 +3489,7 @@ const deserializeAws_restJson1ApiKeyLimitExceededExceptionResponse = async (pars
3513
3489
  });
3514
3490
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3515
3491
  };
3516
- const deserializeAws_restJson1ApiKeyValidityOutOfBoundsExceptionResponse = async (parsedOutput, context) => {
3492
+ const de_ApiKeyValidityOutOfBoundsExceptionRes = async (parsedOutput, context) => {
3517
3493
  const contents = map({});
3518
3494
  const data = parsedOutput.body;
3519
3495
  if (data.message != null) {
@@ -3525,7 +3501,7 @@ const deserializeAws_restJson1ApiKeyValidityOutOfBoundsExceptionResponse = async
3525
3501
  });
3526
3502
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3527
3503
  };
3528
- const deserializeAws_restJson1ApiLimitExceededExceptionResponse = async (parsedOutput, context) => {
3504
+ const de_ApiLimitExceededExceptionRes = async (parsedOutput, context) => {
3529
3505
  const contents = map({});
3530
3506
  const data = parsedOutput.body;
3531
3507
  if (data.message != null) {
@@ -3537,11 +3513,11 @@ const deserializeAws_restJson1ApiLimitExceededExceptionResponse = async (parsedO
3537
3513
  });
3538
3514
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3539
3515
  };
3540
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
3516
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
3541
3517
  const contents = map({});
3542
3518
  const data = parsedOutput.body;
3543
3519
  if (data.detail != null) {
3544
- contents.detail = deserializeAws_restJson1BadRequestDetail(data.detail, context);
3520
+ contents.detail = de_BadRequestDetail(data.detail, context);
3545
3521
  }
3546
3522
  if (data.message != null) {
3547
3523
  contents.message = (0, smithy_client_1.expectString)(data.message);
@@ -3555,7 +3531,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
3555
3531
  });
3556
3532
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3557
3533
  };
3558
- const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
3534
+ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
3559
3535
  const contents = map({});
3560
3536
  const data = parsedOutput.body;
3561
3537
  if (data.message != null) {
@@ -3567,7 +3543,7 @@ const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (p
3567
3543
  });
3568
3544
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3569
3545
  };
3570
- const deserializeAws_restJson1GraphQLSchemaExceptionResponse = async (parsedOutput, context) => {
3546
+ const de_GraphQLSchemaExceptionRes = async (parsedOutput, context) => {
3571
3547
  const contents = map({});
3572
3548
  const data = parsedOutput.body;
3573
3549
  if (data.message != null) {
@@ -3579,7 +3555,7 @@ const deserializeAws_restJson1GraphQLSchemaExceptionResponse = async (parsedOutp
3579
3555
  });
3580
3556
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3581
3557
  };
3582
- const deserializeAws_restJson1InternalFailureExceptionResponse = async (parsedOutput, context) => {
3558
+ const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
3583
3559
  const contents = map({});
3584
3560
  const data = parsedOutput.body;
3585
3561
  if (data.message != null) {
@@ -3591,7 +3567,7 @@ const deserializeAws_restJson1InternalFailureExceptionResponse = async (parsedOu
3591
3567
  });
3592
3568
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3593
3569
  };
3594
- const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
3570
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
3595
3571
  const contents = map({});
3596
3572
  const data = parsedOutput.body;
3597
3573
  if (data.message != null) {
@@ -3603,7 +3579,7 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
3603
3579
  });
3604
3580
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3605
3581
  };
3606
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
3582
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
3607
3583
  const contents = map({});
3608
3584
  const data = parsedOutput.body;
3609
3585
  if (data.message != null) {
@@ -3615,7 +3591,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
3615
3591
  });
3616
3592
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3617
3593
  };
3618
- const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
3594
+ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
3619
3595
  const contents = map({});
3620
3596
  const data = parsedOutput.body;
3621
3597
  if (data.message != null) {
@@ -3627,112 +3603,106 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
3627
3603
  });
3628
3604
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3629
3605
  };
3630
- const serializeAws_restJson1AdditionalAuthenticationProvider = (input, context) => {
3606
+ const se_AdditionalAuthenticationProvider = (input, context) => {
3631
3607
  return {
3632
3608
  ...(input.authenticationType != null && { authenticationType: input.authenticationType }),
3633
3609
  ...(input.lambdaAuthorizerConfig != null && {
3634
- lambdaAuthorizerConfig: serializeAws_restJson1LambdaAuthorizerConfig(input.lambdaAuthorizerConfig, context),
3610
+ lambdaAuthorizerConfig: se_LambdaAuthorizerConfig(input.lambdaAuthorizerConfig, context),
3635
3611
  }),
3636
3612
  ...(input.openIDConnectConfig != null && {
3637
- openIDConnectConfig: serializeAws_restJson1OpenIDConnectConfig(input.openIDConnectConfig, context),
3638
- }),
3639
- ...(input.userPoolConfig != null && {
3640
- userPoolConfig: serializeAws_restJson1CognitoUserPoolConfig(input.userPoolConfig, context),
3613
+ openIDConnectConfig: se_OpenIDConnectConfig(input.openIDConnectConfig, context),
3641
3614
  }),
3615
+ ...(input.userPoolConfig != null && { userPoolConfig: se_CognitoUserPoolConfig(input.userPoolConfig, context) }),
3642
3616
  };
3643
3617
  };
3644
- const serializeAws_restJson1AdditionalAuthenticationProviders = (input, context) => {
3618
+ const se_AdditionalAuthenticationProviders = (input, context) => {
3645
3619
  return input
3646
3620
  .filter((e) => e != null)
3647
3621
  .map((entry) => {
3648
- return serializeAws_restJson1AdditionalAuthenticationProvider(entry, context);
3622
+ return se_AdditionalAuthenticationProvider(entry, context);
3649
3623
  });
3650
3624
  };
3651
- const serializeAws_restJson1AppSyncRuntime = (input, context) => {
3625
+ const se_AppSyncRuntime = (input, context) => {
3652
3626
  return {
3653
3627
  ...(input.name != null && { name: input.name }),
3654
3628
  ...(input.runtimeVersion != null && { runtimeVersion: input.runtimeVersion }),
3655
3629
  };
3656
3630
  };
3657
- const serializeAws_restJson1AuthorizationConfig = (input, context) => {
3631
+ const se_AuthorizationConfig = (input, context) => {
3658
3632
  return {
3659
3633
  ...(input.authorizationType != null && { authorizationType: input.authorizationType }),
3660
- ...(input.awsIamConfig != null && {
3661
- awsIamConfig: serializeAws_restJson1AwsIamConfig(input.awsIamConfig, context),
3662
- }),
3634
+ ...(input.awsIamConfig != null && { awsIamConfig: se_AwsIamConfig(input.awsIamConfig, context) }),
3663
3635
  };
3664
3636
  };
3665
- const serializeAws_restJson1AwsIamConfig = (input, context) => {
3637
+ const se_AwsIamConfig = (input, context) => {
3666
3638
  return {
3667
3639
  ...(input.signingRegion != null && { signingRegion: input.signingRegion }),
3668
3640
  ...(input.signingServiceName != null && { signingServiceName: input.signingServiceName }),
3669
3641
  };
3670
3642
  };
3671
- const serializeAws_restJson1CachingConfig = (input, context) => {
3643
+ const se_CachingConfig = (input, context) => {
3672
3644
  return {
3673
- ...(input.cachingKeys != null && { cachingKeys: serializeAws_restJson1CachingKeys(input.cachingKeys, context) }),
3645
+ ...(input.cachingKeys != null && { cachingKeys: se_CachingKeys(input.cachingKeys, context) }),
3674
3646
  ...(input.ttl != null && { ttl: input.ttl }),
3675
3647
  };
3676
3648
  };
3677
- const serializeAws_restJson1CachingKeys = (input, context) => {
3649
+ const se_CachingKeys = (input, context) => {
3678
3650
  return input
3679
3651
  .filter((e) => e != null)
3680
3652
  .map((entry) => {
3681
3653
  return entry;
3682
3654
  });
3683
3655
  };
3684
- const serializeAws_restJson1CognitoUserPoolConfig = (input, context) => {
3656
+ const se_CognitoUserPoolConfig = (input, context) => {
3685
3657
  return {
3686
3658
  ...(input.appIdClientRegex != null && { appIdClientRegex: input.appIdClientRegex }),
3687
3659
  ...(input.awsRegion != null && { awsRegion: input.awsRegion }),
3688
3660
  ...(input.userPoolId != null && { userPoolId: input.userPoolId }),
3689
3661
  };
3690
3662
  };
3691
- const serializeAws_restJson1DeltaSyncConfig = (input, context) => {
3663
+ const se_DeltaSyncConfig = (input, context) => {
3692
3664
  return {
3693
3665
  ...(input.baseTableTTL != null && { baseTableTTL: input.baseTableTTL }),
3694
3666
  ...(input.deltaSyncTableName != null && { deltaSyncTableName: input.deltaSyncTableName }),
3695
3667
  ...(input.deltaSyncTableTTL != null && { deltaSyncTableTTL: input.deltaSyncTableTTL }),
3696
3668
  };
3697
3669
  };
3698
- const serializeAws_restJson1DynamodbDataSourceConfig = (input, context) => {
3670
+ const se_DynamodbDataSourceConfig = (input, context) => {
3699
3671
  return {
3700
3672
  ...(input.awsRegion != null && { awsRegion: input.awsRegion }),
3701
- ...(input.deltaSyncConfig != null && {
3702
- deltaSyncConfig: serializeAws_restJson1DeltaSyncConfig(input.deltaSyncConfig, context),
3703
- }),
3673
+ ...(input.deltaSyncConfig != null && { deltaSyncConfig: se_DeltaSyncConfig(input.deltaSyncConfig, context) }),
3704
3674
  ...(input.tableName != null && { tableName: input.tableName }),
3705
3675
  ...(input.useCallerCredentials != null && { useCallerCredentials: input.useCallerCredentials }),
3706
3676
  ...(input.versioned != null && { versioned: input.versioned }),
3707
3677
  };
3708
3678
  };
3709
- const serializeAws_restJson1ElasticsearchDataSourceConfig = (input, context) => {
3679
+ const se_ElasticsearchDataSourceConfig = (input, context) => {
3710
3680
  return {
3711
3681
  ...(input.awsRegion != null && { awsRegion: input.awsRegion }),
3712
3682
  ...(input.endpoint != null && { endpoint: input.endpoint }),
3713
3683
  };
3714
3684
  };
3715
- const serializeAws_restJson1EventBridgeDataSourceConfig = (input, context) => {
3685
+ const se_EventBridgeDataSourceConfig = (input, context) => {
3716
3686
  return {
3717
3687
  ...(input.eventBusArn != null && { eventBusArn: input.eventBusArn }),
3718
3688
  };
3719
3689
  };
3720
- const serializeAws_restJson1FunctionsIds = (input, context) => {
3690
+ const se_FunctionsIds = (input, context) => {
3721
3691
  return input
3722
3692
  .filter((e) => e != null)
3723
3693
  .map((entry) => {
3724
3694
  return entry;
3725
3695
  });
3726
3696
  };
3727
- const serializeAws_restJson1HttpDataSourceConfig = (input, context) => {
3697
+ const se_HttpDataSourceConfig = (input, context) => {
3728
3698
  return {
3729
3699
  ...(input.authorizationConfig != null && {
3730
- authorizationConfig: serializeAws_restJson1AuthorizationConfig(input.authorizationConfig, context),
3700
+ authorizationConfig: se_AuthorizationConfig(input.authorizationConfig, context),
3731
3701
  }),
3732
3702
  ...(input.endpoint != null && { endpoint: input.endpoint }),
3733
3703
  };
3734
3704
  };
3735
- const serializeAws_restJson1LambdaAuthorizerConfig = (input, context) => {
3705
+ const se_LambdaAuthorizerConfig = (input, context) => {
3736
3706
  return {
3737
3707
  ...(input.authorizerResultTtlInSeconds != null && {
3738
3708
  authorizerResultTtlInSeconds: input.authorizerResultTtlInSeconds,
@@ -3743,24 +3713,24 @@ const serializeAws_restJson1LambdaAuthorizerConfig = (input, context) => {
3743
3713
  }),
3744
3714
  };
3745
3715
  };
3746
- const serializeAws_restJson1LambdaConflictHandlerConfig = (input, context) => {
3716
+ const se_LambdaConflictHandlerConfig = (input, context) => {
3747
3717
  return {
3748
3718
  ...(input.lambdaConflictHandlerArn != null && { lambdaConflictHandlerArn: input.lambdaConflictHandlerArn }),
3749
3719
  };
3750
3720
  };
3751
- const serializeAws_restJson1LambdaDataSourceConfig = (input, context) => {
3721
+ const se_LambdaDataSourceConfig = (input, context) => {
3752
3722
  return {
3753
3723
  ...(input.lambdaFunctionArn != null && { lambdaFunctionArn: input.lambdaFunctionArn }),
3754
3724
  };
3755
3725
  };
3756
- const serializeAws_restJson1LogConfig = (input, context) => {
3726
+ const se_LogConfig = (input, context) => {
3757
3727
  return {
3758
3728
  ...(input.cloudWatchLogsRoleArn != null && { cloudWatchLogsRoleArn: input.cloudWatchLogsRoleArn }),
3759
3729
  ...(input.excludeVerboseContent != null && { excludeVerboseContent: input.excludeVerboseContent }),
3760
3730
  ...(input.fieldLogLevel != null && { fieldLogLevel: input.fieldLogLevel }),
3761
3731
  };
3762
3732
  };
3763
- const serializeAws_restJson1OpenIDConnectConfig = (input, context) => {
3733
+ const se_OpenIDConnectConfig = (input, context) => {
3764
3734
  return {
3765
3735
  ...(input.authTTL != null && { authTTL: input.authTTL }),
3766
3736
  ...(input.clientId != null && { clientId: input.clientId }),
@@ -3768,18 +3738,18 @@ const serializeAws_restJson1OpenIDConnectConfig = (input, context) => {
3768
3738
  ...(input.issuer != null && { issuer: input.issuer }),
3769
3739
  };
3770
3740
  };
3771
- const serializeAws_restJson1OpenSearchServiceDataSourceConfig = (input, context) => {
3741
+ const se_OpenSearchServiceDataSourceConfig = (input, context) => {
3772
3742
  return {
3773
3743
  ...(input.awsRegion != null && { awsRegion: input.awsRegion }),
3774
3744
  ...(input.endpoint != null && { endpoint: input.endpoint }),
3775
3745
  };
3776
3746
  };
3777
- const serializeAws_restJson1PipelineConfig = (input, context) => {
3747
+ const se_PipelineConfig = (input, context) => {
3778
3748
  return {
3779
- ...(input.functions != null && { functions: serializeAws_restJson1FunctionsIds(input.functions, context) }),
3749
+ ...(input.functions != null && { functions: se_FunctionsIds(input.functions, context) }),
3780
3750
  };
3781
3751
  };
3782
- const serializeAws_restJson1RdsHttpEndpointConfig = (input, context) => {
3752
+ const se_RdsHttpEndpointConfig = (input, context) => {
3783
3753
  return {
3784
3754
  ...(input.awsRegion != null && { awsRegion: input.awsRegion }),
3785
3755
  ...(input.awsSecretStoreArn != null && { awsSecretStoreArn: input.awsSecretStoreArn }),
@@ -3788,26 +3758,26 @@ const serializeAws_restJson1RdsHttpEndpointConfig = (input, context) => {
3788
3758
  ...(input.schema != null && { schema: input.schema }),
3789
3759
  };
3790
3760
  };
3791
- const serializeAws_restJson1RelationalDatabaseDataSourceConfig = (input, context) => {
3761
+ const se_RelationalDatabaseDataSourceConfig = (input, context) => {
3792
3762
  return {
3793
3763
  ...(input.rdsHttpEndpointConfig != null && {
3794
- rdsHttpEndpointConfig: serializeAws_restJson1RdsHttpEndpointConfig(input.rdsHttpEndpointConfig, context),
3764
+ rdsHttpEndpointConfig: se_RdsHttpEndpointConfig(input.rdsHttpEndpointConfig, context),
3795
3765
  }),
3796
3766
  ...(input.relationalDatabaseSourceType != null && {
3797
3767
  relationalDatabaseSourceType: input.relationalDatabaseSourceType,
3798
3768
  }),
3799
3769
  };
3800
3770
  };
3801
- const serializeAws_restJson1SyncConfig = (input, context) => {
3771
+ const se_SyncConfig = (input, context) => {
3802
3772
  return {
3803
3773
  ...(input.conflictDetection != null && { conflictDetection: input.conflictDetection }),
3804
3774
  ...(input.conflictHandler != null && { conflictHandler: input.conflictHandler }),
3805
3775
  ...(input.lambdaConflictHandlerConfig != null && {
3806
- lambdaConflictHandlerConfig: serializeAws_restJson1LambdaConflictHandlerConfig(input.lambdaConflictHandlerConfig, context),
3776
+ lambdaConflictHandlerConfig: se_LambdaConflictHandlerConfig(input.lambdaConflictHandlerConfig, context),
3807
3777
  }),
3808
3778
  };
3809
3779
  };
3810
- const serializeAws_restJson1TagMap = (input, context) => {
3780
+ const se_TagMap = (input, context) => {
3811
3781
  return Object.entries(input).reduce((acc, [key, value]) => {
3812
3782
  if (value === null) {
3813
3783
  return acc;
@@ -3816,7 +3786,7 @@ const serializeAws_restJson1TagMap = (input, context) => {
3816
3786
  return acc;
3817
3787
  }, {});
3818
3788
  };
3819
- const serializeAws_restJson1UserPoolConfig = (input, context) => {
3789
+ const se_UserPoolConfig = (input, context) => {
3820
3790
  return {
3821
3791
  ...(input.appIdClientRegex != null && { appIdClientRegex: input.appIdClientRegex }),
3822
3792
  ...(input.awsRegion != null && { awsRegion: input.awsRegion }),
@@ -3824,32 +3794,28 @@ const serializeAws_restJson1UserPoolConfig = (input, context) => {
3824
3794
  ...(input.userPoolId != null && { userPoolId: input.userPoolId }),
3825
3795
  };
3826
3796
  };
3827
- const deserializeAws_restJson1AdditionalAuthenticationProvider = (output, context) => {
3797
+ const de_AdditionalAuthenticationProvider = (output, context) => {
3828
3798
  return {
3829
3799
  authenticationType: (0, smithy_client_1.expectString)(output.authenticationType),
3830
3800
  lambdaAuthorizerConfig: output.lambdaAuthorizerConfig != null
3831
- ? deserializeAws_restJson1LambdaAuthorizerConfig(output.lambdaAuthorizerConfig, context)
3832
- : undefined,
3833
- openIDConnectConfig: output.openIDConnectConfig != null
3834
- ? deserializeAws_restJson1OpenIDConnectConfig(output.openIDConnectConfig, context)
3835
- : undefined,
3836
- userPoolConfig: output.userPoolConfig != null
3837
- ? deserializeAws_restJson1CognitoUserPoolConfig(output.userPoolConfig, context)
3801
+ ? de_LambdaAuthorizerConfig(output.lambdaAuthorizerConfig, context)
3838
3802
  : undefined,
3803
+ openIDConnectConfig: output.openIDConnectConfig != null ? de_OpenIDConnectConfig(output.openIDConnectConfig, context) : undefined,
3804
+ userPoolConfig: output.userPoolConfig != null ? de_CognitoUserPoolConfig(output.userPoolConfig, context) : undefined,
3839
3805
  };
3840
3806
  };
3841
- const deserializeAws_restJson1AdditionalAuthenticationProviders = (output, context) => {
3807
+ const de_AdditionalAuthenticationProviders = (output, context) => {
3842
3808
  const retVal = (output || [])
3843
3809
  .filter((e) => e != null)
3844
3810
  .map((entry) => {
3845
3811
  if (entry === null) {
3846
3812
  return null;
3847
3813
  }
3848
- return deserializeAws_restJson1AdditionalAuthenticationProvider(entry, context);
3814
+ return de_AdditionalAuthenticationProvider(entry, context);
3849
3815
  });
3850
3816
  return retVal;
3851
3817
  };
3852
- const deserializeAws_restJson1ApiAssociation = (output, context) => {
3818
+ const de_ApiAssociation = (output, context) => {
3853
3819
  return {
3854
3820
  apiId: (0, smithy_client_1.expectString)(output.apiId),
3855
3821
  associationStatus: (0, smithy_client_1.expectString)(output.associationStatus),
@@ -3857,7 +3823,7 @@ const deserializeAws_restJson1ApiAssociation = (output, context) => {
3857
3823
  domainName: (0, smithy_client_1.expectString)(output.domainName),
3858
3824
  };
3859
3825
  };
3860
- const deserializeAws_restJson1ApiCache = (output, context) => {
3826
+ const de_ApiCache = (output, context) => {
3861
3827
  return {
3862
3828
  apiCachingBehavior: (0, smithy_client_1.expectString)(output.apiCachingBehavior),
3863
3829
  atRestEncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.atRestEncryptionEnabled),
@@ -3867,7 +3833,7 @@ const deserializeAws_restJson1ApiCache = (output, context) => {
3867
3833
  type: (0, smithy_client_1.expectString)(output.type),
3868
3834
  };
3869
3835
  };
3870
- const deserializeAws_restJson1ApiKey = (output, context) => {
3836
+ const de_ApiKey = (output, context) => {
3871
3837
  return {
3872
3838
  deletes: (0, smithy_client_1.expectLong)(output.deletes),
3873
3839
  description: (0, smithy_client_1.expectString)(output.description),
@@ -3875,47 +3841,47 @@ const deserializeAws_restJson1ApiKey = (output, context) => {
3875
3841
  id: (0, smithy_client_1.expectString)(output.id),
3876
3842
  };
3877
3843
  };
3878
- const deserializeAws_restJson1ApiKeys = (output, context) => {
3844
+ const de_ApiKeys = (output, context) => {
3879
3845
  const retVal = (output || [])
3880
3846
  .filter((e) => e != null)
3881
3847
  .map((entry) => {
3882
3848
  if (entry === null) {
3883
3849
  return null;
3884
3850
  }
3885
- return deserializeAws_restJson1ApiKey(entry, context);
3851
+ return de_ApiKey(entry, context);
3886
3852
  });
3887
3853
  return retVal;
3888
3854
  };
3889
- const deserializeAws_restJson1AppSyncRuntime = (output, context) => {
3855
+ const de_AppSyncRuntime = (output, context) => {
3890
3856
  return {
3891
3857
  name: (0, smithy_client_1.expectString)(output.name),
3892
3858
  runtimeVersion: (0, smithy_client_1.expectString)(output.runtimeVersion),
3893
3859
  };
3894
3860
  };
3895
- const deserializeAws_restJson1AuthorizationConfig = (output, context) => {
3861
+ const de_AuthorizationConfig = (output, context) => {
3896
3862
  return {
3897
3863
  authorizationType: (0, smithy_client_1.expectString)(output.authorizationType),
3898
- awsIamConfig: output.awsIamConfig != null ? deserializeAws_restJson1AwsIamConfig(output.awsIamConfig, context) : undefined,
3864
+ awsIamConfig: output.awsIamConfig != null ? de_AwsIamConfig(output.awsIamConfig, context) : undefined,
3899
3865
  };
3900
3866
  };
3901
- const deserializeAws_restJson1AwsIamConfig = (output, context) => {
3867
+ const de_AwsIamConfig = (output, context) => {
3902
3868
  return {
3903
3869
  signingRegion: (0, smithy_client_1.expectString)(output.signingRegion),
3904
3870
  signingServiceName: (0, smithy_client_1.expectString)(output.signingServiceName),
3905
3871
  };
3906
3872
  };
3907
- const deserializeAws_restJson1BadRequestDetail = (output, context) => {
3873
+ const de_BadRequestDetail = (output, context) => {
3908
3874
  return {
3909
- codeErrors: output.codeErrors != null ? deserializeAws_restJson1CodeErrors(output.codeErrors, context) : undefined,
3875
+ codeErrors: output.codeErrors != null ? de_CodeErrors(output.codeErrors, context) : undefined,
3910
3876
  };
3911
3877
  };
3912
- const deserializeAws_restJson1CachingConfig = (output, context) => {
3878
+ const de_CachingConfig = (output, context) => {
3913
3879
  return {
3914
- cachingKeys: output.cachingKeys != null ? deserializeAws_restJson1CachingKeys(output.cachingKeys, context) : undefined,
3880
+ cachingKeys: output.cachingKeys != null ? de_CachingKeys(output.cachingKeys, context) : undefined,
3915
3881
  ttl: (0, smithy_client_1.expectLong)(output.ttl),
3916
3882
  };
3917
3883
  };
3918
- const deserializeAws_restJson1CachingKeys = (output, context) => {
3884
+ const de_CachingKeys = (output, context) => {
3919
3885
  const retVal = (output || [])
3920
3886
  .filter((e) => e != null)
3921
3887
  .map((entry) => {
@@ -3926,85 +3892,79 @@ const deserializeAws_restJson1CachingKeys = (output, context) => {
3926
3892
  });
3927
3893
  return retVal;
3928
3894
  };
3929
- const deserializeAws_restJson1CodeError = (output, context) => {
3895
+ const de_CodeError = (output, context) => {
3930
3896
  return {
3931
3897
  errorType: (0, smithy_client_1.expectString)(output.errorType),
3932
- location: output.location != null ? deserializeAws_restJson1CodeErrorLocation(output.location, context) : undefined,
3898
+ location: output.location != null ? de_CodeErrorLocation(output.location, context) : undefined,
3933
3899
  value: (0, smithy_client_1.expectString)(output.value),
3934
3900
  };
3935
3901
  };
3936
- const deserializeAws_restJson1CodeErrorLocation = (output, context) => {
3902
+ const de_CodeErrorLocation = (output, context) => {
3937
3903
  return {
3938
3904
  column: (0, smithy_client_1.expectInt32)(output.column),
3939
3905
  line: (0, smithy_client_1.expectInt32)(output.line),
3940
3906
  span: (0, smithy_client_1.expectInt32)(output.span),
3941
3907
  };
3942
3908
  };
3943
- const deserializeAws_restJson1CodeErrors = (output, context) => {
3909
+ const de_CodeErrors = (output, context) => {
3944
3910
  const retVal = (output || [])
3945
3911
  .filter((e) => e != null)
3946
3912
  .map((entry) => {
3947
3913
  if (entry === null) {
3948
3914
  return null;
3949
3915
  }
3950
- return deserializeAws_restJson1CodeError(entry, context);
3916
+ return de_CodeError(entry, context);
3951
3917
  });
3952
3918
  return retVal;
3953
3919
  };
3954
- const deserializeAws_restJson1CognitoUserPoolConfig = (output, context) => {
3920
+ const de_CognitoUserPoolConfig = (output, context) => {
3955
3921
  return {
3956
3922
  appIdClientRegex: (0, smithy_client_1.expectString)(output.appIdClientRegex),
3957
3923
  awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
3958
3924
  userPoolId: (0, smithy_client_1.expectString)(output.userPoolId),
3959
3925
  };
3960
3926
  };
3961
- const deserializeAws_restJson1DataSource = (output, context) => {
3927
+ const de_DataSource = (output, context) => {
3962
3928
  return {
3963
3929
  dataSourceArn: (0, smithy_client_1.expectString)(output.dataSourceArn),
3964
3930
  description: (0, smithy_client_1.expectString)(output.description),
3965
- dynamodbConfig: output.dynamodbConfig != null
3966
- ? deserializeAws_restJson1DynamodbDataSourceConfig(output.dynamodbConfig, context)
3967
- : undefined,
3931
+ dynamodbConfig: output.dynamodbConfig != null ? de_DynamodbDataSourceConfig(output.dynamodbConfig, context) : undefined,
3968
3932
  elasticsearchConfig: output.elasticsearchConfig != null
3969
- ? deserializeAws_restJson1ElasticsearchDataSourceConfig(output.elasticsearchConfig, context)
3970
- : undefined,
3971
- eventBridgeConfig: output.eventBridgeConfig != null
3972
- ? deserializeAws_restJson1EventBridgeDataSourceConfig(output.eventBridgeConfig, context)
3973
- : undefined,
3974
- httpConfig: output.httpConfig != null ? deserializeAws_restJson1HttpDataSourceConfig(output.httpConfig, context) : undefined,
3975
- lambdaConfig: output.lambdaConfig != null
3976
- ? deserializeAws_restJson1LambdaDataSourceConfig(output.lambdaConfig, context)
3933
+ ? de_ElasticsearchDataSourceConfig(output.elasticsearchConfig, context)
3977
3934
  : undefined,
3935
+ eventBridgeConfig: output.eventBridgeConfig != null ? de_EventBridgeDataSourceConfig(output.eventBridgeConfig, context) : undefined,
3936
+ httpConfig: output.httpConfig != null ? de_HttpDataSourceConfig(output.httpConfig, context) : undefined,
3937
+ lambdaConfig: output.lambdaConfig != null ? de_LambdaDataSourceConfig(output.lambdaConfig, context) : undefined,
3978
3938
  name: (0, smithy_client_1.expectString)(output.name),
3979
3939
  openSearchServiceConfig: output.openSearchServiceConfig != null
3980
- ? deserializeAws_restJson1OpenSearchServiceDataSourceConfig(output.openSearchServiceConfig, context)
3940
+ ? de_OpenSearchServiceDataSourceConfig(output.openSearchServiceConfig, context)
3981
3941
  : undefined,
3982
3942
  relationalDatabaseConfig: output.relationalDatabaseConfig != null
3983
- ? deserializeAws_restJson1RelationalDatabaseDataSourceConfig(output.relationalDatabaseConfig, context)
3943
+ ? de_RelationalDatabaseDataSourceConfig(output.relationalDatabaseConfig, context)
3984
3944
  : undefined,
3985
3945
  serviceRoleArn: (0, smithy_client_1.expectString)(output.serviceRoleArn),
3986
3946
  type: (0, smithy_client_1.expectString)(output.type),
3987
3947
  };
3988
3948
  };
3989
- const deserializeAws_restJson1DataSources = (output, context) => {
3949
+ const de_DataSources = (output, context) => {
3990
3950
  const retVal = (output || [])
3991
3951
  .filter((e) => e != null)
3992
3952
  .map((entry) => {
3993
3953
  if (entry === null) {
3994
3954
  return null;
3995
3955
  }
3996
- return deserializeAws_restJson1DataSource(entry, context);
3956
+ return de_DataSource(entry, context);
3997
3957
  });
3998
3958
  return retVal;
3999
3959
  };
4000
- const deserializeAws_restJson1DeltaSyncConfig = (output, context) => {
3960
+ const de_DeltaSyncConfig = (output, context) => {
4001
3961
  return {
4002
3962
  baseTableTTL: (0, smithy_client_1.expectLong)(output.baseTableTTL),
4003
3963
  deltaSyncTableName: (0, smithy_client_1.expectString)(output.deltaSyncTableName),
4004
3964
  deltaSyncTableTTL: (0, smithy_client_1.expectLong)(output.deltaSyncTableTTL),
4005
3965
  };
4006
3966
  };
4007
- const deserializeAws_restJson1DomainNameConfig = (output, context) => {
3967
+ const de_DomainNameConfig = (output, context) => {
4008
3968
  return {
4009
3969
  appsyncDomainName: (0, smithy_client_1.expectString)(output.appsyncDomainName),
4010
3970
  certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
@@ -4013,51 +3973,49 @@ const deserializeAws_restJson1DomainNameConfig = (output, context) => {
4013
3973
  hostedZoneId: (0, smithy_client_1.expectString)(output.hostedZoneId),
4014
3974
  };
4015
3975
  };
4016
- const deserializeAws_restJson1DomainNameConfigs = (output, context) => {
3976
+ const de_DomainNameConfigs = (output, context) => {
4017
3977
  const retVal = (output || [])
4018
3978
  .filter((e) => e != null)
4019
3979
  .map((entry) => {
4020
3980
  if (entry === null) {
4021
3981
  return null;
4022
3982
  }
4023
- return deserializeAws_restJson1DomainNameConfig(entry, context);
3983
+ return de_DomainNameConfig(entry, context);
4024
3984
  });
4025
3985
  return retVal;
4026
3986
  };
4027
- const deserializeAws_restJson1DynamodbDataSourceConfig = (output, context) => {
3987
+ const de_DynamodbDataSourceConfig = (output, context) => {
4028
3988
  return {
4029
3989
  awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
4030
- deltaSyncConfig: output.deltaSyncConfig != null
4031
- ? deserializeAws_restJson1DeltaSyncConfig(output.deltaSyncConfig, context)
4032
- : undefined,
3990
+ deltaSyncConfig: output.deltaSyncConfig != null ? de_DeltaSyncConfig(output.deltaSyncConfig, context) : undefined,
4033
3991
  tableName: (0, smithy_client_1.expectString)(output.tableName),
4034
3992
  useCallerCredentials: (0, smithy_client_1.expectBoolean)(output.useCallerCredentials),
4035
3993
  versioned: (0, smithy_client_1.expectBoolean)(output.versioned),
4036
3994
  };
4037
3995
  };
4038
- const deserializeAws_restJson1ElasticsearchDataSourceConfig = (output, context) => {
3996
+ const de_ElasticsearchDataSourceConfig = (output, context) => {
4039
3997
  return {
4040
3998
  awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
4041
3999
  endpoint: (0, smithy_client_1.expectString)(output.endpoint),
4042
4000
  };
4043
4001
  };
4044
- const deserializeAws_restJson1ErrorDetail = (output, context) => {
4002
+ const de_ErrorDetail = (output, context) => {
4045
4003
  return {
4046
4004
  message: (0, smithy_client_1.expectString)(output.message),
4047
4005
  };
4048
4006
  };
4049
- const deserializeAws_restJson1EvaluateCodeErrorDetail = (output, context) => {
4007
+ const de_EvaluateCodeErrorDetail = (output, context) => {
4050
4008
  return {
4051
- codeErrors: output.codeErrors != null ? deserializeAws_restJson1CodeErrors(output.codeErrors, context) : undefined,
4009
+ codeErrors: output.codeErrors != null ? de_CodeErrors(output.codeErrors, context) : undefined,
4052
4010
  message: (0, smithy_client_1.expectString)(output.message),
4053
4011
  };
4054
4012
  };
4055
- const deserializeAws_restJson1EventBridgeDataSourceConfig = (output, context) => {
4013
+ const de_EventBridgeDataSourceConfig = (output, context) => {
4056
4014
  return {
4057
4015
  eventBusArn: (0, smithy_client_1.expectString)(output.eventBusArn),
4058
4016
  };
4059
4017
  };
4060
- const deserializeAws_restJson1FunctionConfiguration = (output, context) => {
4018
+ const de_FunctionConfiguration = (output, context) => {
4061
4019
  return {
4062
4020
  code: (0, smithy_client_1.expectString)(output.code),
4063
4021
  dataSourceName: (0, smithy_client_1.expectString)(output.dataSourceName),
@@ -4069,22 +4027,22 @@ const deserializeAws_restJson1FunctionConfiguration = (output, context) => {
4069
4027
  name: (0, smithy_client_1.expectString)(output.name),
4070
4028
  requestMappingTemplate: (0, smithy_client_1.expectString)(output.requestMappingTemplate),
4071
4029
  responseMappingTemplate: (0, smithy_client_1.expectString)(output.responseMappingTemplate),
4072
- runtime: output.runtime != null ? deserializeAws_restJson1AppSyncRuntime(output.runtime, context) : undefined,
4073
- syncConfig: output.syncConfig != null ? deserializeAws_restJson1SyncConfig(output.syncConfig, context) : undefined,
4030
+ runtime: output.runtime != null ? de_AppSyncRuntime(output.runtime, context) : undefined,
4031
+ syncConfig: output.syncConfig != null ? de_SyncConfig(output.syncConfig, context) : undefined,
4074
4032
  };
4075
4033
  };
4076
- const deserializeAws_restJson1Functions = (output, context) => {
4034
+ const de_Functions = (output, context) => {
4077
4035
  const retVal = (output || [])
4078
4036
  .filter((e) => e != null)
4079
4037
  .map((entry) => {
4080
4038
  if (entry === null) {
4081
4039
  return null;
4082
4040
  }
4083
- return deserializeAws_restJson1FunctionConfiguration(entry, context);
4041
+ return de_FunctionConfiguration(entry, context);
4084
4042
  });
4085
4043
  return retVal;
4086
4044
  };
4087
- const deserializeAws_restJson1FunctionsIds = (output, context) => {
4045
+ const de_FunctionsIds = (output, context) => {
4088
4046
  const retVal = (output || [])
4089
4047
  .filter((e) => e != null)
4090
4048
  .map((entry) => {
@@ -4095,75 +4053,69 @@ const deserializeAws_restJson1FunctionsIds = (output, context) => {
4095
4053
  });
4096
4054
  return retVal;
4097
4055
  };
4098
- const deserializeAws_restJson1GraphqlApi = (output, context) => {
4056
+ const de_GraphqlApi = (output, context) => {
4099
4057
  return {
4100
4058
  additionalAuthenticationProviders: output.additionalAuthenticationProviders != null
4101
- ? deserializeAws_restJson1AdditionalAuthenticationProviders(output.additionalAuthenticationProviders, context)
4059
+ ? de_AdditionalAuthenticationProviders(output.additionalAuthenticationProviders, context)
4102
4060
  : undefined,
4103
4061
  apiId: (0, smithy_client_1.expectString)(output.apiId),
4104
4062
  arn: (0, smithy_client_1.expectString)(output.arn),
4105
4063
  authenticationType: (0, smithy_client_1.expectString)(output.authenticationType),
4106
4064
  lambdaAuthorizerConfig: output.lambdaAuthorizerConfig != null
4107
- ? deserializeAws_restJson1LambdaAuthorizerConfig(output.lambdaAuthorizerConfig, context)
4065
+ ? de_LambdaAuthorizerConfig(output.lambdaAuthorizerConfig, context)
4108
4066
  : undefined,
4109
- logConfig: output.logConfig != null ? deserializeAws_restJson1LogConfig(output.logConfig, context) : undefined,
4067
+ logConfig: output.logConfig != null ? de_LogConfig(output.logConfig, context) : undefined,
4110
4068
  name: (0, smithy_client_1.expectString)(output.name),
4111
- openIDConnectConfig: output.openIDConnectConfig != null
4112
- ? deserializeAws_restJson1OpenIDConnectConfig(output.openIDConnectConfig, context)
4113
- : undefined,
4114
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
4115
- uris: output.uris != null ? deserializeAws_restJson1MapOfStringToString(output.uris, context) : undefined,
4116
- userPoolConfig: output.userPoolConfig != null
4117
- ? deserializeAws_restJson1UserPoolConfig(output.userPoolConfig, context)
4118
- : undefined,
4069
+ openIDConnectConfig: output.openIDConnectConfig != null ? de_OpenIDConnectConfig(output.openIDConnectConfig, context) : undefined,
4070
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
4071
+ uris: output.uris != null ? de_MapOfStringToString(output.uris, context) : undefined,
4072
+ userPoolConfig: output.userPoolConfig != null ? de_UserPoolConfig(output.userPoolConfig, context) : undefined,
4119
4073
  wafWebAclArn: (0, smithy_client_1.expectString)(output.wafWebAclArn),
4120
4074
  xrayEnabled: (0, smithy_client_1.expectBoolean)(output.xrayEnabled),
4121
4075
  };
4122
4076
  };
4123
- const deserializeAws_restJson1GraphqlApis = (output, context) => {
4077
+ const de_GraphqlApis = (output, context) => {
4124
4078
  const retVal = (output || [])
4125
4079
  .filter((e) => e != null)
4126
4080
  .map((entry) => {
4127
4081
  if (entry === null) {
4128
4082
  return null;
4129
4083
  }
4130
- return deserializeAws_restJson1GraphqlApi(entry, context);
4084
+ return de_GraphqlApi(entry, context);
4131
4085
  });
4132
4086
  return retVal;
4133
4087
  };
4134
- const deserializeAws_restJson1HttpDataSourceConfig = (output, context) => {
4088
+ const de_HttpDataSourceConfig = (output, context) => {
4135
4089
  return {
4136
- authorizationConfig: output.authorizationConfig != null
4137
- ? deserializeAws_restJson1AuthorizationConfig(output.authorizationConfig, context)
4138
- : undefined,
4090
+ authorizationConfig: output.authorizationConfig != null ? de_AuthorizationConfig(output.authorizationConfig, context) : undefined,
4139
4091
  endpoint: (0, smithy_client_1.expectString)(output.endpoint),
4140
4092
  };
4141
4093
  };
4142
- const deserializeAws_restJson1LambdaAuthorizerConfig = (output, context) => {
4094
+ const de_LambdaAuthorizerConfig = (output, context) => {
4143
4095
  return {
4144
4096
  authorizerResultTtlInSeconds: (0, smithy_client_1.expectInt32)(output.authorizerResultTtlInSeconds),
4145
4097
  authorizerUri: (0, smithy_client_1.expectString)(output.authorizerUri),
4146
4098
  identityValidationExpression: (0, smithy_client_1.expectString)(output.identityValidationExpression),
4147
4099
  };
4148
4100
  };
4149
- const deserializeAws_restJson1LambdaConflictHandlerConfig = (output, context) => {
4101
+ const de_LambdaConflictHandlerConfig = (output, context) => {
4150
4102
  return {
4151
4103
  lambdaConflictHandlerArn: (0, smithy_client_1.expectString)(output.lambdaConflictHandlerArn),
4152
4104
  };
4153
4105
  };
4154
- const deserializeAws_restJson1LambdaDataSourceConfig = (output, context) => {
4106
+ const de_LambdaDataSourceConfig = (output, context) => {
4155
4107
  return {
4156
4108
  lambdaFunctionArn: (0, smithy_client_1.expectString)(output.lambdaFunctionArn),
4157
4109
  };
4158
4110
  };
4159
- const deserializeAws_restJson1LogConfig = (output, context) => {
4111
+ const de_LogConfig = (output, context) => {
4160
4112
  return {
4161
4113
  cloudWatchLogsRoleArn: (0, smithy_client_1.expectString)(output.cloudWatchLogsRoleArn),
4162
4114
  excludeVerboseContent: (0, smithy_client_1.expectBoolean)(output.excludeVerboseContent),
4163
4115
  fieldLogLevel: (0, smithy_client_1.expectString)(output.fieldLogLevel),
4164
4116
  };
4165
4117
  };
4166
- const deserializeAws_restJson1Logs = (output, context) => {
4118
+ const de_Logs = (output, context) => {
4167
4119
  const retVal = (output || [])
4168
4120
  .filter((e) => e != null)
4169
4121
  .map((entry) => {
@@ -4174,7 +4126,7 @@ const deserializeAws_restJson1Logs = (output, context) => {
4174
4126
  });
4175
4127
  return retVal;
4176
4128
  };
4177
- const deserializeAws_restJson1MapOfStringToString = (output, context) => {
4129
+ const de_MapOfStringToString = (output, context) => {
4178
4130
  return Object.entries(output).reduce((acc, [key, value]) => {
4179
4131
  if (value === null) {
4180
4132
  return acc;
@@ -4183,7 +4135,7 @@ const deserializeAws_restJson1MapOfStringToString = (output, context) => {
4183
4135
  return acc;
4184
4136
  }, {});
4185
4137
  };
4186
- const deserializeAws_restJson1OpenIDConnectConfig = (output, context) => {
4138
+ const de_OpenIDConnectConfig = (output, context) => {
4187
4139
  return {
4188
4140
  authTTL: (0, smithy_client_1.expectLong)(output.authTTL),
4189
4141
  clientId: (0, smithy_client_1.expectString)(output.clientId),
@@ -4191,18 +4143,18 @@ const deserializeAws_restJson1OpenIDConnectConfig = (output, context) => {
4191
4143
  issuer: (0, smithy_client_1.expectString)(output.issuer),
4192
4144
  };
4193
4145
  };
4194
- const deserializeAws_restJson1OpenSearchServiceDataSourceConfig = (output, context) => {
4146
+ const de_OpenSearchServiceDataSourceConfig = (output, context) => {
4195
4147
  return {
4196
4148
  awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
4197
4149
  endpoint: (0, smithy_client_1.expectString)(output.endpoint),
4198
4150
  };
4199
4151
  };
4200
- const deserializeAws_restJson1PipelineConfig = (output, context) => {
4152
+ const de_PipelineConfig = (output, context) => {
4201
4153
  return {
4202
- functions: output.functions != null ? deserializeAws_restJson1FunctionsIds(output.functions, context) : undefined,
4154
+ functions: output.functions != null ? de_FunctionsIds(output.functions, context) : undefined,
4203
4155
  };
4204
4156
  };
4205
- const deserializeAws_restJson1RdsHttpEndpointConfig = (output, context) => {
4157
+ const de_RdsHttpEndpointConfig = (output, context) => {
4206
4158
  return {
4207
4159
  awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
4208
4160
  awsSecretStoreArn: (0, smithy_client_1.expectString)(output.awsSecretStoreArn),
@@ -4211,54 +4163,52 @@ const deserializeAws_restJson1RdsHttpEndpointConfig = (output, context) => {
4211
4163
  schema: (0, smithy_client_1.expectString)(output.schema),
4212
4164
  };
4213
4165
  };
4214
- const deserializeAws_restJson1RelationalDatabaseDataSourceConfig = (output, context) => {
4166
+ const de_RelationalDatabaseDataSourceConfig = (output, context) => {
4215
4167
  return {
4216
4168
  rdsHttpEndpointConfig: output.rdsHttpEndpointConfig != null
4217
- ? deserializeAws_restJson1RdsHttpEndpointConfig(output.rdsHttpEndpointConfig, context)
4169
+ ? de_RdsHttpEndpointConfig(output.rdsHttpEndpointConfig, context)
4218
4170
  : undefined,
4219
4171
  relationalDatabaseSourceType: (0, smithy_client_1.expectString)(output.relationalDatabaseSourceType),
4220
4172
  };
4221
4173
  };
4222
- const deserializeAws_restJson1Resolver = (output, context) => {
4174
+ const de_Resolver = (output, context) => {
4223
4175
  return {
4224
- cachingConfig: output.cachingConfig != null ? deserializeAws_restJson1CachingConfig(output.cachingConfig, context) : undefined,
4176
+ cachingConfig: output.cachingConfig != null ? de_CachingConfig(output.cachingConfig, context) : undefined,
4225
4177
  code: (0, smithy_client_1.expectString)(output.code),
4226
4178
  dataSourceName: (0, smithy_client_1.expectString)(output.dataSourceName),
4227
4179
  fieldName: (0, smithy_client_1.expectString)(output.fieldName),
4228
4180
  kind: (0, smithy_client_1.expectString)(output.kind),
4229
4181
  maxBatchSize: (0, smithy_client_1.expectInt32)(output.maxBatchSize),
4230
- pipelineConfig: output.pipelineConfig != null
4231
- ? deserializeAws_restJson1PipelineConfig(output.pipelineConfig, context)
4232
- : undefined,
4182
+ pipelineConfig: output.pipelineConfig != null ? de_PipelineConfig(output.pipelineConfig, context) : undefined,
4233
4183
  requestMappingTemplate: (0, smithy_client_1.expectString)(output.requestMappingTemplate),
4234
4184
  resolverArn: (0, smithy_client_1.expectString)(output.resolverArn),
4235
4185
  responseMappingTemplate: (0, smithy_client_1.expectString)(output.responseMappingTemplate),
4236
- runtime: output.runtime != null ? deserializeAws_restJson1AppSyncRuntime(output.runtime, context) : undefined,
4237
- syncConfig: output.syncConfig != null ? deserializeAws_restJson1SyncConfig(output.syncConfig, context) : undefined,
4186
+ runtime: output.runtime != null ? de_AppSyncRuntime(output.runtime, context) : undefined,
4187
+ syncConfig: output.syncConfig != null ? de_SyncConfig(output.syncConfig, context) : undefined,
4238
4188
  typeName: (0, smithy_client_1.expectString)(output.typeName),
4239
4189
  };
4240
4190
  };
4241
- const deserializeAws_restJson1Resolvers = (output, context) => {
4191
+ const de_Resolvers = (output, context) => {
4242
4192
  const retVal = (output || [])
4243
4193
  .filter((e) => e != null)
4244
4194
  .map((entry) => {
4245
4195
  if (entry === null) {
4246
4196
  return null;
4247
4197
  }
4248
- return deserializeAws_restJson1Resolver(entry, context);
4198
+ return de_Resolver(entry, context);
4249
4199
  });
4250
4200
  return retVal;
4251
4201
  };
4252
- const deserializeAws_restJson1SyncConfig = (output, context) => {
4202
+ const de_SyncConfig = (output, context) => {
4253
4203
  return {
4254
4204
  conflictDetection: (0, smithy_client_1.expectString)(output.conflictDetection),
4255
4205
  conflictHandler: (0, smithy_client_1.expectString)(output.conflictHandler),
4256
4206
  lambdaConflictHandlerConfig: output.lambdaConflictHandlerConfig != null
4257
- ? deserializeAws_restJson1LambdaConflictHandlerConfig(output.lambdaConflictHandlerConfig, context)
4207
+ ? de_LambdaConflictHandlerConfig(output.lambdaConflictHandlerConfig, context)
4258
4208
  : undefined,
4259
4209
  };
4260
4210
  };
4261
- const deserializeAws_restJson1TagMap = (output, context) => {
4211
+ const de_TagMap = (output, context) => {
4262
4212
  return Object.entries(output).reduce((acc, [key, value]) => {
4263
4213
  if (value === null) {
4264
4214
  return acc;
@@ -4267,7 +4217,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
4267
4217
  return acc;
4268
4218
  }, {});
4269
4219
  };
4270
- const deserializeAws_restJson1Type = (output, context) => {
4220
+ const de_Type = (output, context) => {
4271
4221
  return {
4272
4222
  arn: (0, smithy_client_1.expectString)(output.arn),
4273
4223
  definition: (0, smithy_client_1.expectString)(output.definition),
@@ -4276,18 +4226,18 @@ const deserializeAws_restJson1Type = (output, context) => {
4276
4226
  name: (0, smithy_client_1.expectString)(output.name),
4277
4227
  };
4278
4228
  };
4279
- const deserializeAws_restJson1TypeList = (output, context) => {
4229
+ const de_TypeList = (output, context) => {
4280
4230
  const retVal = (output || [])
4281
4231
  .filter((e) => e != null)
4282
4232
  .map((entry) => {
4283
4233
  if (entry === null) {
4284
4234
  return null;
4285
4235
  }
4286
- return deserializeAws_restJson1Type(entry, context);
4236
+ return de_Type(entry, context);
4287
4237
  });
4288
4238
  return retVal;
4289
4239
  };
4290
- const deserializeAws_restJson1UserPoolConfig = (output, context) => {
4240
+ const de_UserPoolConfig = (output, context) => {
4291
4241
  return {
4292
4242
  appIdClientRegex: (0, smithy_client_1.expectString)(output.appIdClientRegex),
4293
4243
  awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),