@aws-sdk/client-appsync 3.476.0 → 3.478.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist-cjs/models/models_0.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +376 -828
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +377 -829
- package/dist-types/AppSync.d.ts +2 -2
- package/dist-types/AppSyncClient.d.ts +2 -2
- package/dist-types/commands/AssociateApiCommand.d.ts +3 -4
- package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +5 -6
- package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +5 -6
- package/dist-types/commands/CreateApiCacheCommand.d.ts +5 -6
- package/dist-types/commands/CreateApiKeyCommand.d.ts +3 -4
- package/dist-types/commands/CreateDataSourceCommand.d.ts +5 -6
- package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -2
- package/dist-types/commands/CreateFunctionCommand.d.ts +4 -6
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +10 -4
- package/dist-types/commands/CreateResolverCommand.d.ts +7 -8
- package/dist-types/commands/CreateTypeCommand.d.ts +5 -6
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +5 -6
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +3 -4
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +5 -6
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +5 -6
- package/dist-types/commands/DeleteFunctionCommand.d.ts +3 -4
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +5 -6
- package/dist-types/commands/DeleteResolverCommand.d.ts +5 -6
- package/dist-types/commands/DeleteTypeCommand.d.ts +5 -6
- package/dist-types/commands/DisassociateApiCommand.d.ts +5 -6
- package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +5 -6
- package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +5 -6
- package/dist-types/commands/EvaluateCodeCommand.d.ts +7 -8
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +7 -8
- package/dist-types/commands/FlushApiCacheCommand.d.ts +5 -6
- package/dist-types/commands/GetApiAssociationCommand.d.ts +3 -4
- package/dist-types/commands/GetApiCacheCommand.d.ts +5 -6
- package/dist-types/commands/GetDataSourceCommand.d.ts +5 -6
- package/dist-types/commands/GetDataSourceIntrospectionCommand.d.ts +3 -4
- package/dist-types/commands/GetDomainNameCommand.d.ts +3 -4
- package/dist-types/commands/GetFunctionCommand.d.ts +3 -4
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +6 -4
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +1 -2
- package/dist-types/commands/GetResolverCommand.d.ts +3 -4
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +3 -4
- package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +3 -4
- package/dist-types/commands/GetTypeCommand.d.ts +5 -6
- package/dist-types/commands/ListApiKeysCommand.d.ts +6 -8
- package/dist-types/commands/ListDataSourcesCommand.d.ts +3 -4
- package/dist-types/commands/ListDomainNamesCommand.d.ts +2 -2
- package/dist-types/commands/ListFunctionsCommand.d.ts +3 -4
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +5 -2
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +3 -4
- package/dist-types/commands/ListResolversCommand.d.ts +3 -4
- package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +3 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -4
- package/dist-types/commands/ListTypesByAssociationCommand.d.ts +5 -6
- package/dist-types/commands/ListTypesCommand.d.ts +5 -6
- package/dist-types/commands/StartDataSourceIntrospectionCommand.d.ts +3 -4
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +7 -8
- package/dist-types/commands/StartSchemaMergeCommand.d.ts +5 -6
- package/dist-types/commands/TagResourceCommand.d.ts +3 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -4
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +5 -6
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +3 -4
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +5 -6
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +5 -6
- package/dist-types/commands/UpdateFunctionCommand.d.ts +3 -4
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +11 -6
- package/dist-types/commands/UpdateResolverCommand.d.ts +5 -6
- package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +5 -6
- package/dist-types/commands/UpdateTypeCommand.d.ts +5 -6
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +431 -383
- package/dist-types/ts3.4/models/models_0.d.ts +15 -0
- package/package.json +7 -6
|
@@ -3,90 +3,66 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.se_StartSchemaCreationCommand = exports.se_StartDataSourceIntrospectionCommand = exports.se_ListTypesByAssociationCommand = exports.se_ListTypesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSourceApiAssociationsCommand = 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_GetSourceApiAssociationCommand = exports.se_GetSchemaCreationStatusCommand = exports.se_GetResolverCommand = exports.se_GetIntrospectionSchemaCommand = exports.se_GetGraphqlApiCommand = exports.se_GetFunctionCommand = exports.se_GetDomainNameCommand = exports.se_GetDataSourceIntrospectionCommand = exports.se_GetDataSourceCommand = exports.se_GetApiCacheCommand = exports.se_GetApiAssociationCommand = exports.se_FlushApiCacheCommand = exports.se_EvaluateMappingTemplateCommand = exports.se_EvaluateCodeCommand = exports.se_DisassociateSourceGraphqlApiCommand = exports.se_DisassociateMergedGraphqlApiCommand = 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_AssociateSourceGraphqlApiCommand = exports.se_AssociateMergedGraphqlApiCommand = exports.se_AssociateApiCommand = void 0;
|
|
4
4
|
exports.de_ListApiKeysCommand = exports.de_GetTypeCommand = exports.de_GetSourceApiAssociationCommand = exports.de_GetSchemaCreationStatusCommand = exports.de_GetResolverCommand = exports.de_GetIntrospectionSchemaCommand = exports.de_GetGraphqlApiCommand = exports.de_GetFunctionCommand = exports.de_GetDomainNameCommand = exports.de_GetDataSourceIntrospectionCommand = exports.de_GetDataSourceCommand = exports.de_GetApiCacheCommand = exports.de_GetApiAssociationCommand = exports.de_FlushApiCacheCommand = exports.de_EvaluateMappingTemplateCommand = exports.de_EvaluateCodeCommand = exports.de_DisassociateSourceGraphqlApiCommand = exports.de_DisassociateMergedGraphqlApiCommand = 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_AssociateSourceGraphqlApiCommand = exports.de_AssociateMergedGraphqlApiCommand = exports.de_AssociateApiCommand = exports.se_UpdateTypeCommand = exports.se_UpdateSourceApiAssociationCommand = 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_StartSchemaMergeCommand = void 0;
|
|
5
5
|
exports.de_UpdateTypeCommand = exports.de_UpdateSourceApiAssociationCommand = exports.de_UpdateResolverCommand = 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_StartSchemaMergeCommand = exports.de_StartSchemaCreationCommand = exports.de_StartDataSourceIntrospectionCommand = exports.de_ListTypesByAssociationCommand = exports.de_ListTypesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSourceApiAssociationsCommand = exports.de_ListResolversByFunctionCommand = exports.de_ListResolversCommand = exports.de_ListGraphqlApisCommand = exports.de_ListFunctionsCommand = exports.de_ListDomainNamesCommand = exports.de_ListDataSourcesCommand = void 0;
|
|
6
|
-
const
|
|
6
|
+
const core_1 = require("@smithy/core");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const AppSyncServiceException_1 = require("../models/AppSyncServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const se_AssociateApiCommand = async (input, context) => {
|
|
11
|
-
const
|
|
11
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
12
12
|
const headers = {
|
|
13
13
|
"content-type": "application/json",
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "domainName", () => input.domainName, "{domainName}", false);
|
|
15
|
+
b.bp("/v1/domainnames/{domainName}/apiassociation");
|
|
16
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
18
17
|
let body;
|
|
19
18
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
20
19
|
apiId: [],
|
|
21
20
|
}));
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
hostname,
|
|
25
|
-
port,
|
|
26
|
-
method: "POST",
|
|
27
|
-
headers,
|
|
28
|
-
path: resolvedPath,
|
|
29
|
-
body,
|
|
30
|
-
});
|
|
21
|
+
b.m("POST").h(headers).b(body);
|
|
22
|
+
return b.build();
|
|
31
23
|
};
|
|
32
24
|
exports.se_AssociateApiCommand = se_AssociateApiCommand;
|
|
33
25
|
const se_AssociateMergedGraphqlApiCommand = async (input, context) => {
|
|
34
|
-
const
|
|
26
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
35
27
|
const headers = {
|
|
36
28
|
"content-type": "application/json",
|
|
37
29
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sourceApiIdentifier", () => input.sourceApiIdentifier, "{sourceApiIdentifier}", false);
|
|
30
|
+
b.bp("/v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations");
|
|
31
|
+
b.p("sourceApiIdentifier", () => input.sourceApiIdentifier, "{sourceApiIdentifier}", false);
|
|
41
32
|
let body;
|
|
42
33
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
43
34
|
description: [],
|
|
44
35
|
mergedApiIdentifier: [],
|
|
45
36
|
sourceApiAssociationConfig: (_) => (0, smithy_client_1._json)(_),
|
|
46
37
|
}));
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
hostname,
|
|
50
|
-
port,
|
|
51
|
-
method: "POST",
|
|
52
|
-
headers,
|
|
53
|
-
path: resolvedPath,
|
|
54
|
-
body,
|
|
55
|
-
});
|
|
38
|
+
b.m("POST").h(headers).b(body);
|
|
39
|
+
return b.build();
|
|
56
40
|
};
|
|
57
41
|
exports.se_AssociateMergedGraphqlApiCommand = se_AssociateMergedGraphqlApiCommand;
|
|
58
42
|
const se_AssociateSourceGraphqlApiCommand = async (input, context) => {
|
|
59
|
-
const
|
|
43
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
60
44
|
const headers = {
|
|
61
45
|
"content-type": "application/json",
|
|
62
46
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false);
|
|
47
|
+
b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations");
|
|
48
|
+
b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false);
|
|
66
49
|
let body;
|
|
67
50
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
68
51
|
description: [],
|
|
69
52
|
sourceApiAssociationConfig: (_) => (0, smithy_client_1._json)(_),
|
|
70
53
|
sourceApiIdentifier: [],
|
|
71
54
|
}));
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
hostname,
|
|
75
|
-
port,
|
|
76
|
-
method: "POST",
|
|
77
|
-
headers,
|
|
78
|
-
path: resolvedPath,
|
|
79
|
-
body,
|
|
80
|
-
});
|
|
55
|
+
b.m("POST").h(headers).b(body);
|
|
56
|
+
return b.build();
|
|
81
57
|
};
|
|
82
58
|
exports.se_AssociateSourceGraphqlApiCommand = se_AssociateSourceGraphqlApiCommand;
|
|
83
59
|
const se_CreateApiCacheCommand = async (input, context) => {
|
|
84
|
-
const
|
|
60
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
85
61
|
const headers = {
|
|
86
62
|
"content-type": "application/json",
|
|
87
63
|
};
|
|
88
|
-
|
|
89
|
-
|
|
64
|
+
b.bp("/v1/apis/{apiId}/ApiCaches");
|
|
65
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
90
66
|
let body;
|
|
91
67
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
92
68
|
apiCachingBehavior: [],
|
|
@@ -95,47 +71,33 @@ const se_CreateApiCacheCommand = async (input, context) => {
|
|
|
95
71
|
ttl: [],
|
|
96
72
|
type: [],
|
|
97
73
|
}));
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
hostname,
|
|
101
|
-
port,
|
|
102
|
-
method: "POST",
|
|
103
|
-
headers,
|
|
104
|
-
path: resolvedPath,
|
|
105
|
-
body,
|
|
106
|
-
});
|
|
74
|
+
b.m("POST").h(headers).b(body);
|
|
75
|
+
return b.build();
|
|
107
76
|
};
|
|
108
77
|
exports.se_CreateApiCacheCommand = se_CreateApiCacheCommand;
|
|
109
78
|
const se_CreateApiKeyCommand = async (input, context) => {
|
|
110
|
-
const
|
|
79
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
111
80
|
const headers = {
|
|
112
81
|
"content-type": "application/json",
|
|
113
82
|
};
|
|
114
|
-
|
|
115
|
-
|
|
83
|
+
b.bp("/v1/apis/{apiId}/apikeys");
|
|
84
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
116
85
|
let body;
|
|
117
86
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
118
87
|
description: [],
|
|
119
88
|
expires: [],
|
|
120
89
|
}));
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
hostname,
|
|
124
|
-
port,
|
|
125
|
-
method: "POST",
|
|
126
|
-
headers,
|
|
127
|
-
path: resolvedPath,
|
|
128
|
-
body,
|
|
129
|
-
});
|
|
90
|
+
b.m("POST").h(headers).b(body);
|
|
91
|
+
return b.build();
|
|
130
92
|
};
|
|
131
93
|
exports.se_CreateApiKeyCommand = se_CreateApiKeyCommand;
|
|
132
94
|
const se_CreateDataSourceCommand = async (input, context) => {
|
|
133
|
-
const
|
|
95
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
134
96
|
const headers = {
|
|
135
97
|
"content-type": "application/json",
|
|
136
98
|
};
|
|
137
|
-
|
|
138
|
-
|
|
99
|
+
b.bp("/v1/apis/{apiId}/datasources");
|
|
100
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
139
101
|
let body;
|
|
140
102
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
141
103
|
description: [],
|
|
@@ -150,47 +112,33 @@ const se_CreateDataSourceCommand = async (input, context) => {
|
|
|
150
112
|
serviceRoleArn: [],
|
|
151
113
|
type: [],
|
|
152
114
|
}));
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
hostname,
|
|
156
|
-
port,
|
|
157
|
-
method: "POST",
|
|
158
|
-
headers,
|
|
159
|
-
path: resolvedPath,
|
|
160
|
-
body,
|
|
161
|
-
});
|
|
115
|
+
b.m("POST").h(headers).b(body);
|
|
116
|
+
return b.build();
|
|
162
117
|
};
|
|
163
118
|
exports.se_CreateDataSourceCommand = se_CreateDataSourceCommand;
|
|
164
119
|
const se_CreateDomainNameCommand = async (input, context) => {
|
|
165
|
-
const
|
|
120
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
166
121
|
const headers = {
|
|
167
122
|
"content-type": "application/json",
|
|
168
123
|
};
|
|
169
|
-
|
|
124
|
+
b.bp("/v1/domainnames");
|
|
170
125
|
let body;
|
|
171
126
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
172
127
|
certificateArn: [],
|
|
173
128
|
description: [],
|
|
174
129
|
domainName: [],
|
|
175
130
|
}));
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
hostname,
|
|
179
|
-
port,
|
|
180
|
-
method: "POST",
|
|
181
|
-
headers,
|
|
182
|
-
path: resolvedPath,
|
|
183
|
-
body,
|
|
184
|
-
});
|
|
131
|
+
b.m("POST").h(headers).b(body);
|
|
132
|
+
return b.build();
|
|
185
133
|
};
|
|
186
134
|
exports.se_CreateDomainNameCommand = se_CreateDomainNameCommand;
|
|
187
135
|
const se_CreateFunctionCommand = async (input, context) => {
|
|
188
|
-
const
|
|
136
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
189
137
|
const headers = {
|
|
190
138
|
"content-type": "application/json",
|
|
191
139
|
};
|
|
192
|
-
|
|
193
|
-
|
|
140
|
+
b.bp("/v1/apis/{apiId}/functions");
|
|
141
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
194
142
|
let body;
|
|
195
143
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
196
144
|
code: [],
|
|
@@ -204,59 +152,47 @@ const se_CreateFunctionCommand = async (input, context) => {
|
|
|
204
152
|
runtime: (_) => (0, smithy_client_1._json)(_),
|
|
205
153
|
syncConfig: (_) => (0, smithy_client_1._json)(_),
|
|
206
154
|
}));
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
hostname,
|
|
210
|
-
port,
|
|
211
|
-
method: "POST",
|
|
212
|
-
headers,
|
|
213
|
-
path: resolvedPath,
|
|
214
|
-
body,
|
|
215
|
-
});
|
|
155
|
+
b.m("POST").h(headers).b(body);
|
|
156
|
+
return b.build();
|
|
216
157
|
};
|
|
217
158
|
exports.se_CreateFunctionCommand = se_CreateFunctionCommand;
|
|
218
159
|
const se_CreateGraphqlApiCommand = async (input, context) => {
|
|
219
|
-
const
|
|
160
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
220
161
|
const headers = {
|
|
221
162
|
"content-type": "application/json",
|
|
222
163
|
};
|
|
223
|
-
|
|
164
|
+
b.bp("/v1/apis");
|
|
224
165
|
let body;
|
|
225
166
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
226
167
|
additionalAuthenticationProviders: (_) => (0, smithy_client_1._json)(_),
|
|
227
168
|
apiType: [],
|
|
228
169
|
authenticationType: [],
|
|
170
|
+
introspectionConfig: [],
|
|
229
171
|
lambdaAuthorizerConfig: (_) => (0, smithy_client_1._json)(_),
|
|
230
172
|
logConfig: (_) => (0, smithy_client_1._json)(_),
|
|
231
173
|
mergedApiExecutionRoleArn: [],
|
|
232
174
|
name: [],
|
|
233
175
|
openIDConnectConfig: (_) => (0, smithy_client_1._json)(_),
|
|
234
176
|
ownerContact: [],
|
|
177
|
+
queryDepthLimit: [],
|
|
178
|
+
resolverCountLimit: [],
|
|
235
179
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
236
180
|
userPoolConfig: (_) => (0, smithy_client_1._json)(_),
|
|
237
181
|
visibility: [],
|
|
238
182
|
xrayEnabled: [],
|
|
239
183
|
}));
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
hostname,
|
|
243
|
-
port,
|
|
244
|
-
method: "POST",
|
|
245
|
-
headers,
|
|
246
|
-
path: resolvedPath,
|
|
247
|
-
body,
|
|
248
|
-
});
|
|
184
|
+
b.m("POST").h(headers).b(body);
|
|
185
|
+
return b.build();
|
|
249
186
|
};
|
|
250
187
|
exports.se_CreateGraphqlApiCommand = se_CreateGraphqlApiCommand;
|
|
251
188
|
const se_CreateResolverCommand = async (input, context) => {
|
|
252
|
-
const
|
|
189
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
253
190
|
const headers = {
|
|
254
191
|
"content-type": "application/json",
|
|
255
192
|
};
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "typeName", () => input.typeName, "{typeName}", false);
|
|
193
|
+
b.bp("/v1/apis/{apiId}/types/{typeName}/resolvers");
|
|
194
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
195
|
+
b.p("typeName", () => input.typeName, "{typeName}", false);
|
|
260
196
|
let body;
|
|
261
197
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
262
198
|
cachingConfig: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -271,245 +207,150 @@ const se_CreateResolverCommand = async (input, context) => {
|
|
|
271
207
|
runtime: (_) => (0, smithy_client_1._json)(_),
|
|
272
208
|
syncConfig: (_) => (0, smithy_client_1._json)(_),
|
|
273
209
|
}));
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
hostname,
|
|
277
|
-
port,
|
|
278
|
-
method: "POST",
|
|
279
|
-
headers,
|
|
280
|
-
path: resolvedPath,
|
|
281
|
-
body,
|
|
282
|
-
});
|
|
210
|
+
b.m("POST").h(headers).b(body);
|
|
211
|
+
return b.build();
|
|
283
212
|
};
|
|
284
213
|
exports.se_CreateResolverCommand = se_CreateResolverCommand;
|
|
285
214
|
const se_CreateTypeCommand = async (input, context) => {
|
|
286
|
-
const
|
|
215
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
287
216
|
const headers = {
|
|
288
217
|
"content-type": "application/json",
|
|
289
218
|
};
|
|
290
|
-
|
|
291
|
-
|
|
219
|
+
b.bp("/v1/apis/{apiId}/types");
|
|
220
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
292
221
|
let body;
|
|
293
222
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
294
223
|
definition: [],
|
|
295
224
|
format: [],
|
|
296
225
|
}));
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
hostname,
|
|
300
|
-
port,
|
|
301
|
-
method: "POST",
|
|
302
|
-
headers,
|
|
303
|
-
path: resolvedPath,
|
|
304
|
-
body,
|
|
305
|
-
});
|
|
226
|
+
b.m("POST").h(headers).b(body);
|
|
227
|
+
return b.build();
|
|
306
228
|
};
|
|
307
229
|
exports.se_CreateTypeCommand = se_CreateTypeCommand;
|
|
308
230
|
const se_DeleteApiCacheCommand = async (input, context) => {
|
|
309
|
-
const
|
|
231
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
310
232
|
const headers = {};
|
|
311
|
-
|
|
312
|
-
|
|
233
|
+
b.bp("/v1/apis/{apiId}/ApiCaches");
|
|
234
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
313
235
|
let body;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
hostname,
|
|
317
|
-
port,
|
|
318
|
-
method: "DELETE",
|
|
319
|
-
headers,
|
|
320
|
-
path: resolvedPath,
|
|
321
|
-
body,
|
|
322
|
-
});
|
|
236
|
+
b.m("DELETE").h(headers).b(body);
|
|
237
|
+
return b.build();
|
|
323
238
|
};
|
|
324
239
|
exports.se_DeleteApiCacheCommand = se_DeleteApiCacheCommand;
|
|
325
240
|
const se_DeleteApiKeyCommand = async (input, context) => {
|
|
326
|
-
const
|
|
241
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
327
242
|
const headers = {};
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
243
|
+
b.bp("/v1/apis/{apiId}/apikeys/{id}");
|
|
244
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
245
|
+
b.p("id", () => input.id, "{id}", false);
|
|
331
246
|
let body;
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
hostname,
|
|
335
|
-
port,
|
|
336
|
-
method: "DELETE",
|
|
337
|
-
headers,
|
|
338
|
-
path: resolvedPath,
|
|
339
|
-
body,
|
|
340
|
-
});
|
|
247
|
+
b.m("DELETE").h(headers).b(body);
|
|
248
|
+
return b.build();
|
|
341
249
|
};
|
|
342
250
|
exports.se_DeleteApiKeyCommand = se_DeleteApiKeyCommand;
|
|
343
251
|
const se_DeleteDataSourceCommand = async (input, context) => {
|
|
344
|
-
const
|
|
252
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
345
253
|
const headers = {};
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
254
|
+
b.bp("/v1/apis/{apiId}/datasources/{name}");
|
|
255
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
256
|
+
b.p("name", () => input.name, "{name}", false);
|
|
349
257
|
let body;
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
hostname,
|
|
353
|
-
port,
|
|
354
|
-
method: "DELETE",
|
|
355
|
-
headers,
|
|
356
|
-
path: resolvedPath,
|
|
357
|
-
body,
|
|
358
|
-
});
|
|
258
|
+
b.m("DELETE").h(headers).b(body);
|
|
259
|
+
return b.build();
|
|
359
260
|
};
|
|
360
261
|
exports.se_DeleteDataSourceCommand = se_DeleteDataSourceCommand;
|
|
361
262
|
const se_DeleteDomainNameCommand = async (input, context) => {
|
|
362
|
-
const
|
|
263
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
363
264
|
const headers = {};
|
|
364
|
-
|
|
365
|
-
|
|
265
|
+
b.bp("/v1/domainnames/{domainName}");
|
|
266
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
366
267
|
let body;
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
hostname,
|
|
370
|
-
port,
|
|
371
|
-
method: "DELETE",
|
|
372
|
-
headers,
|
|
373
|
-
path: resolvedPath,
|
|
374
|
-
body,
|
|
375
|
-
});
|
|
268
|
+
b.m("DELETE").h(headers).b(body);
|
|
269
|
+
return b.build();
|
|
376
270
|
};
|
|
377
271
|
exports.se_DeleteDomainNameCommand = se_DeleteDomainNameCommand;
|
|
378
272
|
const se_DeleteFunctionCommand = async (input, context) => {
|
|
379
|
-
const
|
|
273
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
380
274
|
const headers = {};
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
275
|
+
b.bp("/v1/apis/{apiId}/functions/{functionId}");
|
|
276
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
277
|
+
b.p("functionId", () => input.functionId, "{functionId}", false);
|
|
384
278
|
let body;
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
hostname,
|
|
388
|
-
port,
|
|
389
|
-
method: "DELETE",
|
|
390
|
-
headers,
|
|
391
|
-
path: resolvedPath,
|
|
392
|
-
body,
|
|
393
|
-
});
|
|
279
|
+
b.m("DELETE").h(headers).b(body);
|
|
280
|
+
return b.build();
|
|
394
281
|
};
|
|
395
282
|
exports.se_DeleteFunctionCommand = se_DeleteFunctionCommand;
|
|
396
283
|
const se_DeleteGraphqlApiCommand = async (input, context) => {
|
|
397
|
-
const
|
|
284
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
398
285
|
const headers = {};
|
|
399
|
-
|
|
400
|
-
|
|
286
|
+
b.bp("/v1/apis/{apiId}");
|
|
287
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
401
288
|
let body;
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
hostname,
|
|
405
|
-
port,
|
|
406
|
-
method: "DELETE",
|
|
407
|
-
headers,
|
|
408
|
-
path: resolvedPath,
|
|
409
|
-
body,
|
|
410
|
-
});
|
|
289
|
+
b.m("DELETE").h(headers).b(body);
|
|
290
|
+
return b.build();
|
|
411
291
|
};
|
|
412
292
|
exports.se_DeleteGraphqlApiCommand = se_DeleteGraphqlApiCommand;
|
|
413
293
|
const se_DeleteResolverCommand = async (input, context) => {
|
|
414
|
-
const
|
|
294
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
415
295
|
const headers = {};
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "fieldName", () => input.fieldName, "{fieldName}", false);
|
|
296
|
+
b.bp("/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}");
|
|
297
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
298
|
+
b.p("typeName", () => input.typeName, "{typeName}", false);
|
|
299
|
+
b.p("fieldName", () => input.fieldName, "{fieldName}", false);
|
|
421
300
|
let body;
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
hostname,
|
|
425
|
-
port,
|
|
426
|
-
method: "DELETE",
|
|
427
|
-
headers,
|
|
428
|
-
path: resolvedPath,
|
|
429
|
-
body,
|
|
430
|
-
});
|
|
301
|
+
b.m("DELETE").h(headers).b(body);
|
|
302
|
+
return b.build();
|
|
431
303
|
};
|
|
432
304
|
exports.se_DeleteResolverCommand = se_DeleteResolverCommand;
|
|
433
305
|
const se_DeleteTypeCommand = async (input, context) => {
|
|
434
|
-
const
|
|
306
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
435
307
|
const headers = {};
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
308
|
+
b.bp("/v1/apis/{apiId}/types/{typeName}");
|
|
309
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
310
|
+
b.p("typeName", () => input.typeName, "{typeName}", false);
|
|
439
311
|
let body;
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
hostname,
|
|
443
|
-
port,
|
|
444
|
-
method: "DELETE",
|
|
445
|
-
headers,
|
|
446
|
-
path: resolvedPath,
|
|
447
|
-
body,
|
|
448
|
-
});
|
|
312
|
+
b.m("DELETE").h(headers).b(body);
|
|
313
|
+
return b.build();
|
|
449
314
|
};
|
|
450
315
|
exports.se_DeleteTypeCommand = se_DeleteTypeCommand;
|
|
451
316
|
const se_DisassociateApiCommand = async (input, context) => {
|
|
452
|
-
const
|
|
317
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
453
318
|
const headers = {};
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "domainName", () => input.domainName, "{domainName}", false);
|
|
319
|
+
b.bp("/v1/domainnames/{domainName}/apiassociation");
|
|
320
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
457
321
|
let body;
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
hostname,
|
|
461
|
-
port,
|
|
462
|
-
method: "DELETE",
|
|
463
|
-
headers,
|
|
464
|
-
path: resolvedPath,
|
|
465
|
-
body,
|
|
466
|
-
});
|
|
322
|
+
b.m("DELETE").h(headers).b(body);
|
|
323
|
+
return b.build();
|
|
467
324
|
};
|
|
468
325
|
exports.se_DisassociateApiCommand = se_DisassociateApiCommand;
|
|
469
326
|
const se_DisassociateMergedGraphqlApiCommand = async (input, context) => {
|
|
470
|
-
const
|
|
327
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
471
328
|
const headers = {};
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "associationId", () => input.associationId, "{associationId}", false);
|
|
329
|
+
b.bp("/v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations/{associationId}");
|
|
330
|
+
b.p("sourceApiIdentifier", () => input.sourceApiIdentifier, "{sourceApiIdentifier}", false);
|
|
331
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
476
332
|
let body;
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
hostname,
|
|
480
|
-
port,
|
|
481
|
-
method: "DELETE",
|
|
482
|
-
headers,
|
|
483
|
-
path: resolvedPath,
|
|
484
|
-
body,
|
|
485
|
-
});
|
|
333
|
+
b.m("DELETE").h(headers).b(body);
|
|
334
|
+
return b.build();
|
|
486
335
|
};
|
|
487
336
|
exports.se_DisassociateMergedGraphqlApiCommand = se_DisassociateMergedGraphqlApiCommand;
|
|
488
337
|
const se_DisassociateSourceGraphqlApiCommand = async (input, context) => {
|
|
489
|
-
const
|
|
338
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
490
339
|
const headers = {};
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "associationId", () => input.associationId, "{associationId}", false);
|
|
340
|
+
b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}");
|
|
341
|
+
b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false);
|
|
342
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
495
343
|
let body;
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
hostname,
|
|
499
|
-
port,
|
|
500
|
-
method: "DELETE",
|
|
501
|
-
headers,
|
|
502
|
-
path: resolvedPath,
|
|
503
|
-
body,
|
|
504
|
-
});
|
|
344
|
+
b.m("DELETE").h(headers).b(body);
|
|
345
|
+
return b.build();
|
|
505
346
|
};
|
|
506
347
|
exports.se_DisassociateSourceGraphqlApiCommand = se_DisassociateSourceGraphqlApiCommand;
|
|
507
348
|
const se_EvaluateCodeCommand = async (input, context) => {
|
|
508
|
-
const
|
|
349
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
509
350
|
const headers = {
|
|
510
351
|
"content-type": "application/json",
|
|
511
352
|
};
|
|
512
|
-
|
|
353
|
+
b.bp("/v1/dataplane-evaluatecode");
|
|
513
354
|
let body;
|
|
514
355
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
515
356
|
code: [],
|
|
@@ -517,694 +358,441 @@ const se_EvaluateCodeCommand = async (input, context) => {
|
|
|
517
358
|
function: [],
|
|
518
359
|
runtime: (_) => (0, smithy_client_1._json)(_),
|
|
519
360
|
}));
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
hostname,
|
|
523
|
-
port,
|
|
524
|
-
method: "POST",
|
|
525
|
-
headers,
|
|
526
|
-
path: resolvedPath,
|
|
527
|
-
body,
|
|
528
|
-
});
|
|
361
|
+
b.m("POST").h(headers).b(body);
|
|
362
|
+
return b.build();
|
|
529
363
|
};
|
|
530
364
|
exports.se_EvaluateCodeCommand = se_EvaluateCodeCommand;
|
|
531
365
|
const se_EvaluateMappingTemplateCommand = async (input, context) => {
|
|
532
|
-
const
|
|
366
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
533
367
|
const headers = {
|
|
534
368
|
"content-type": "application/json",
|
|
535
369
|
};
|
|
536
|
-
|
|
370
|
+
b.bp("/v1/dataplane-evaluatetemplate");
|
|
537
371
|
let body;
|
|
538
372
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
539
373
|
context: [],
|
|
540
374
|
template: [],
|
|
541
375
|
}));
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
hostname,
|
|
545
|
-
port,
|
|
546
|
-
method: "POST",
|
|
547
|
-
headers,
|
|
548
|
-
path: resolvedPath,
|
|
549
|
-
body,
|
|
550
|
-
});
|
|
376
|
+
b.m("POST").h(headers).b(body);
|
|
377
|
+
return b.build();
|
|
551
378
|
};
|
|
552
379
|
exports.se_EvaluateMappingTemplateCommand = se_EvaluateMappingTemplateCommand;
|
|
553
380
|
const se_FlushApiCacheCommand = async (input, context) => {
|
|
554
|
-
const
|
|
381
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
555
382
|
const headers = {};
|
|
556
|
-
|
|
557
|
-
|
|
383
|
+
b.bp("/v1/apis/{apiId}/FlushCache");
|
|
384
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
558
385
|
let body;
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
hostname,
|
|
562
|
-
port,
|
|
563
|
-
method: "DELETE",
|
|
564
|
-
headers,
|
|
565
|
-
path: resolvedPath,
|
|
566
|
-
body,
|
|
567
|
-
});
|
|
386
|
+
b.m("DELETE").h(headers).b(body);
|
|
387
|
+
return b.build();
|
|
568
388
|
};
|
|
569
389
|
exports.se_FlushApiCacheCommand = se_FlushApiCacheCommand;
|
|
570
390
|
const se_GetApiAssociationCommand = async (input, context) => {
|
|
571
|
-
const
|
|
391
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
572
392
|
const headers = {};
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "domainName", () => input.domainName, "{domainName}", false);
|
|
393
|
+
b.bp("/v1/domainnames/{domainName}/apiassociation");
|
|
394
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
576
395
|
let body;
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
hostname,
|
|
580
|
-
port,
|
|
581
|
-
method: "GET",
|
|
582
|
-
headers,
|
|
583
|
-
path: resolvedPath,
|
|
584
|
-
body,
|
|
585
|
-
});
|
|
396
|
+
b.m("GET").h(headers).b(body);
|
|
397
|
+
return b.build();
|
|
586
398
|
};
|
|
587
399
|
exports.se_GetApiAssociationCommand = se_GetApiAssociationCommand;
|
|
588
400
|
const se_GetApiCacheCommand = async (input, context) => {
|
|
589
|
-
const
|
|
401
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
590
402
|
const headers = {};
|
|
591
|
-
|
|
592
|
-
|
|
403
|
+
b.bp("/v1/apis/{apiId}/ApiCaches");
|
|
404
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
593
405
|
let body;
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
hostname,
|
|
597
|
-
port,
|
|
598
|
-
method: "GET",
|
|
599
|
-
headers,
|
|
600
|
-
path: resolvedPath,
|
|
601
|
-
body,
|
|
602
|
-
});
|
|
406
|
+
b.m("GET").h(headers).b(body);
|
|
407
|
+
return b.build();
|
|
603
408
|
};
|
|
604
409
|
exports.se_GetApiCacheCommand = se_GetApiCacheCommand;
|
|
605
410
|
const se_GetDataSourceCommand = async (input, context) => {
|
|
606
|
-
const
|
|
411
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
607
412
|
const headers = {};
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
413
|
+
b.bp("/v1/apis/{apiId}/datasources/{name}");
|
|
414
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
415
|
+
b.p("name", () => input.name, "{name}", false);
|
|
611
416
|
let body;
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
hostname,
|
|
615
|
-
port,
|
|
616
|
-
method: "GET",
|
|
617
|
-
headers,
|
|
618
|
-
path: resolvedPath,
|
|
619
|
-
body,
|
|
620
|
-
});
|
|
417
|
+
b.m("GET").h(headers).b(body);
|
|
418
|
+
return b.build();
|
|
621
419
|
};
|
|
622
420
|
exports.se_GetDataSourceCommand = se_GetDataSourceCommand;
|
|
623
421
|
const se_GetDataSourceIntrospectionCommand = async (input, context) => {
|
|
624
|
-
const
|
|
422
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
625
423
|
const headers = {};
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "introspectionId", () => input.introspectionId, "{introspectionId}", false);
|
|
424
|
+
b.bp("/v1/datasources/introspections/{introspectionId}");
|
|
425
|
+
b.p("introspectionId", () => input.introspectionId, "{introspectionId}", false);
|
|
629
426
|
const query = (0, smithy_client_1.map)({
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
427
|
+
[_iMSDL]: [() => input.includeModelsSDL !== void 0, () => input[_iMSDL].toString()],
|
|
428
|
+
[_nT]: [, input[_nT]],
|
|
429
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
633
430
|
});
|
|
634
431
|
let body;
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
hostname,
|
|
638
|
-
port,
|
|
639
|
-
method: "GET",
|
|
640
|
-
headers,
|
|
641
|
-
path: resolvedPath,
|
|
642
|
-
query,
|
|
643
|
-
body,
|
|
644
|
-
});
|
|
432
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
433
|
+
return b.build();
|
|
645
434
|
};
|
|
646
435
|
exports.se_GetDataSourceIntrospectionCommand = se_GetDataSourceIntrospectionCommand;
|
|
647
436
|
const se_GetDomainNameCommand = async (input, context) => {
|
|
648
|
-
const
|
|
437
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
649
438
|
const headers = {};
|
|
650
|
-
|
|
651
|
-
|
|
439
|
+
b.bp("/v1/domainnames/{domainName}");
|
|
440
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
652
441
|
let body;
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
hostname,
|
|
656
|
-
port,
|
|
657
|
-
method: "GET",
|
|
658
|
-
headers,
|
|
659
|
-
path: resolvedPath,
|
|
660
|
-
body,
|
|
661
|
-
});
|
|
442
|
+
b.m("GET").h(headers).b(body);
|
|
443
|
+
return b.build();
|
|
662
444
|
};
|
|
663
445
|
exports.se_GetDomainNameCommand = se_GetDomainNameCommand;
|
|
664
446
|
const se_GetFunctionCommand = async (input, context) => {
|
|
665
|
-
const
|
|
447
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
666
448
|
const headers = {};
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
449
|
+
b.bp("/v1/apis/{apiId}/functions/{functionId}");
|
|
450
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
451
|
+
b.p("functionId", () => input.functionId, "{functionId}", false);
|
|
670
452
|
let body;
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
hostname,
|
|
674
|
-
port,
|
|
675
|
-
method: "GET",
|
|
676
|
-
headers,
|
|
677
|
-
path: resolvedPath,
|
|
678
|
-
body,
|
|
679
|
-
});
|
|
453
|
+
b.m("GET").h(headers).b(body);
|
|
454
|
+
return b.build();
|
|
680
455
|
};
|
|
681
456
|
exports.se_GetFunctionCommand = se_GetFunctionCommand;
|
|
682
457
|
const se_GetGraphqlApiCommand = async (input, context) => {
|
|
683
|
-
const
|
|
458
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
684
459
|
const headers = {};
|
|
685
|
-
|
|
686
|
-
|
|
460
|
+
b.bp("/v1/apis/{apiId}");
|
|
461
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
687
462
|
let body;
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
hostname,
|
|
691
|
-
port,
|
|
692
|
-
method: "GET",
|
|
693
|
-
headers,
|
|
694
|
-
path: resolvedPath,
|
|
695
|
-
body,
|
|
696
|
-
});
|
|
463
|
+
b.m("GET").h(headers).b(body);
|
|
464
|
+
return b.build();
|
|
697
465
|
};
|
|
698
466
|
exports.se_GetGraphqlApiCommand = se_GetGraphqlApiCommand;
|
|
699
467
|
const se_GetIntrospectionSchemaCommand = async (input, context) => {
|
|
700
|
-
const
|
|
468
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
701
469
|
const headers = {};
|
|
702
|
-
|
|
703
|
-
|
|
470
|
+
b.bp("/v1/apis/{apiId}/schema");
|
|
471
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
704
472
|
const query = (0, smithy_client_1.map)({
|
|
705
|
-
|
|
706
|
-
|
|
473
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
474
|
+
[_iD]: [() => input.includeDirectives !== void 0, () => input[_iD].toString()],
|
|
707
475
|
});
|
|
708
476
|
let body;
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
hostname,
|
|
712
|
-
port,
|
|
713
|
-
method: "GET",
|
|
714
|
-
headers,
|
|
715
|
-
path: resolvedPath,
|
|
716
|
-
query,
|
|
717
|
-
body,
|
|
718
|
-
});
|
|
477
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
478
|
+
return b.build();
|
|
719
479
|
};
|
|
720
480
|
exports.se_GetIntrospectionSchemaCommand = se_GetIntrospectionSchemaCommand;
|
|
721
481
|
const se_GetResolverCommand = async (input, context) => {
|
|
722
|
-
const
|
|
482
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
723
483
|
const headers = {};
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "fieldName", () => input.fieldName, "{fieldName}", false);
|
|
484
|
+
b.bp("/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}");
|
|
485
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
486
|
+
b.p("typeName", () => input.typeName, "{typeName}", false);
|
|
487
|
+
b.p("fieldName", () => input.fieldName, "{fieldName}", false);
|
|
729
488
|
let body;
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
hostname,
|
|
733
|
-
port,
|
|
734
|
-
method: "GET",
|
|
735
|
-
headers,
|
|
736
|
-
path: resolvedPath,
|
|
737
|
-
body,
|
|
738
|
-
});
|
|
489
|
+
b.m("GET").h(headers).b(body);
|
|
490
|
+
return b.build();
|
|
739
491
|
};
|
|
740
492
|
exports.se_GetResolverCommand = se_GetResolverCommand;
|
|
741
493
|
const se_GetSchemaCreationStatusCommand = async (input, context) => {
|
|
742
|
-
const
|
|
494
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
743
495
|
const headers = {};
|
|
744
|
-
|
|
745
|
-
|
|
496
|
+
b.bp("/v1/apis/{apiId}/schemacreation");
|
|
497
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
746
498
|
let body;
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
hostname,
|
|
750
|
-
port,
|
|
751
|
-
method: "GET",
|
|
752
|
-
headers,
|
|
753
|
-
path: resolvedPath,
|
|
754
|
-
body,
|
|
755
|
-
});
|
|
499
|
+
b.m("GET").h(headers).b(body);
|
|
500
|
+
return b.build();
|
|
756
501
|
};
|
|
757
502
|
exports.se_GetSchemaCreationStatusCommand = se_GetSchemaCreationStatusCommand;
|
|
758
503
|
const se_GetSourceApiAssociationCommand = async (input, context) => {
|
|
759
|
-
const
|
|
504
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
760
505
|
const headers = {};
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "associationId", () => input.associationId, "{associationId}", false);
|
|
506
|
+
b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}");
|
|
507
|
+
b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false);
|
|
508
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
765
509
|
let body;
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
hostname,
|
|
769
|
-
port,
|
|
770
|
-
method: "GET",
|
|
771
|
-
headers,
|
|
772
|
-
path: resolvedPath,
|
|
773
|
-
body,
|
|
774
|
-
});
|
|
510
|
+
b.m("GET").h(headers).b(body);
|
|
511
|
+
return b.build();
|
|
775
512
|
};
|
|
776
513
|
exports.se_GetSourceApiAssociationCommand = se_GetSourceApiAssociationCommand;
|
|
777
514
|
const se_GetTypeCommand = async (input, context) => {
|
|
778
|
-
const
|
|
515
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
779
516
|
const headers = {};
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
517
|
+
b.bp("/v1/apis/{apiId}/types/{typeName}");
|
|
518
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
519
|
+
b.p("typeName", () => input.typeName, "{typeName}", false);
|
|
783
520
|
const query = (0, smithy_client_1.map)({
|
|
784
|
-
|
|
521
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
785
522
|
});
|
|
786
523
|
let body;
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
hostname,
|
|
790
|
-
port,
|
|
791
|
-
method: "GET",
|
|
792
|
-
headers,
|
|
793
|
-
path: resolvedPath,
|
|
794
|
-
query,
|
|
795
|
-
body,
|
|
796
|
-
});
|
|
524
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
525
|
+
return b.build();
|
|
797
526
|
};
|
|
798
527
|
exports.se_GetTypeCommand = se_GetTypeCommand;
|
|
799
528
|
const se_ListApiKeysCommand = async (input, context) => {
|
|
800
|
-
const
|
|
529
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
801
530
|
const headers = {};
|
|
802
|
-
|
|
803
|
-
|
|
531
|
+
b.bp("/v1/apis/{apiId}/apikeys");
|
|
532
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
804
533
|
const query = (0, smithy_client_1.map)({
|
|
805
|
-
|
|
806
|
-
|
|
534
|
+
[_nT]: [, input[_nT]],
|
|
535
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
807
536
|
});
|
|
808
537
|
let body;
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
hostname,
|
|
812
|
-
port,
|
|
813
|
-
method: "GET",
|
|
814
|
-
headers,
|
|
815
|
-
path: resolvedPath,
|
|
816
|
-
query,
|
|
817
|
-
body,
|
|
818
|
-
});
|
|
538
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
539
|
+
return b.build();
|
|
819
540
|
};
|
|
820
541
|
exports.se_ListApiKeysCommand = se_ListApiKeysCommand;
|
|
821
542
|
const se_ListDataSourcesCommand = async (input, context) => {
|
|
822
|
-
const
|
|
543
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
823
544
|
const headers = {};
|
|
824
|
-
|
|
825
|
-
|
|
545
|
+
b.bp("/v1/apis/{apiId}/datasources");
|
|
546
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
826
547
|
const query = (0, smithy_client_1.map)({
|
|
827
|
-
|
|
828
|
-
|
|
548
|
+
[_nT]: [, input[_nT]],
|
|
549
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
829
550
|
});
|
|
830
551
|
let body;
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
hostname,
|
|
834
|
-
port,
|
|
835
|
-
method: "GET",
|
|
836
|
-
headers,
|
|
837
|
-
path: resolvedPath,
|
|
838
|
-
query,
|
|
839
|
-
body,
|
|
840
|
-
});
|
|
552
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
553
|
+
return b.build();
|
|
841
554
|
};
|
|
842
555
|
exports.se_ListDataSourcesCommand = se_ListDataSourcesCommand;
|
|
843
556
|
const se_ListDomainNamesCommand = async (input, context) => {
|
|
844
|
-
const
|
|
557
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
845
558
|
const headers = {};
|
|
846
|
-
|
|
559
|
+
b.bp("/v1/domainnames");
|
|
847
560
|
const query = (0, smithy_client_1.map)({
|
|
848
|
-
|
|
849
|
-
|
|
561
|
+
[_nT]: [, input[_nT]],
|
|
562
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
850
563
|
});
|
|
851
564
|
let body;
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
hostname,
|
|
855
|
-
port,
|
|
856
|
-
method: "GET",
|
|
857
|
-
headers,
|
|
858
|
-
path: resolvedPath,
|
|
859
|
-
query,
|
|
860
|
-
body,
|
|
861
|
-
});
|
|
565
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
566
|
+
return b.build();
|
|
862
567
|
};
|
|
863
568
|
exports.se_ListDomainNamesCommand = se_ListDomainNamesCommand;
|
|
864
569
|
const se_ListFunctionsCommand = async (input, context) => {
|
|
865
|
-
const
|
|
570
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
866
571
|
const headers = {};
|
|
867
|
-
|
|
868
|
-
|
|
572
|
+
b.bp("/v1/apis/{apiId}/functions");
|
|
573
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
869
574
|
const query = (0, smithy_client_1.map)({
|
|
870
|
-
|
|
871
|
-
|
|
575
|
+
[_nT]: [, input[_nT]],
|
|
576
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
872
577
|
});
|
|
873
578
|
let body;
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
hostname,
|
|
877
|
-
port,
|
|
878
|
-
method: "GET",
|
|
879
|
-
headers,
|
|
880
|
-
path: resolvedPath,
|
|
881
|
-
query,
|
|
882
|
-
body,
|
|
883
|
-
});
|
|
579
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
580
|
+
return b.build();
|
|
884
581
|
};
|
|
885
582
|
exports.se_ListFunctionsCommand = se_ListFunctionsCommand;
|
|
886
583
|
const se_ListGraphqlApisCommand = async (input, context) => {
|
|
887
|
-
const
|
|
584
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
888
585
|
const headers = {};
|
|
889
|
-
|
|
586
|
+
b.bp("/v1/apis");
|
|
890
587
|
const query = (0, smithy_client_1.map)({
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
588
|
+
[_nT]: [, input[_nT]],
|
|
589
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
590
|
+
[_aT]: [, input[_aT]],
|
|
591
|
+
[_o]: [, input[_o]],
|
|
895
592
|
});
|
|
896
593
|
let body;
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
hostname,
|
|
900
|
-
port,
|
|
901
|
-
method: "GET",
|
|
902
|
-
headers,
|
|
903
|
-
path: resolvedPath,
|
|
904
|
-
query,
|
|
905
|
-
body,
|
|
906
|
-
});
|
|
594
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
595
|
+
return b.build();
|
|
907
596
|
};
|
|
908
597
|
exports.se_ListGraphqlApisCommand = se_ListGraphqlApisCommand;
|
|
909
598
|
const se_ListResolversCommand = async (input, context) => {
|
|
910
|
-
const
|
|
599
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
911
600
|
const headers = {};
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "typeName", () => input.typeName, "{typeName}", false);
|
|
601
|
+
b.bp("/v1/apis/{apiId}/types/{typeName}/resolvers");
|
|
602
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
603
|
+
b.p("typeName", () => input.typeName, "{typeName}", false);
|
|
916
604
|
const query = (0, smithy_client_1.map)({
|
|
917
|
-
|
|
918
|
-
|
|
605
|
+
[_nT]: [, input[_nT]],
|
|
606
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
919
607
|
});
|
|
920
608
|
let body;
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
hostname,
|
|
924
|
-
port,
|
|
925
|
-
method: "GET",
|
|
926
|
-
headers,
|
|
927
|
-
path: resolvedPath,
|
|
928
|
-
query,
|
|
929
|
-
body,
|
|
930
|
-
});
|
|
609
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
610
|
+
return b.build();
|
|
931
611
|
};
|
|
932
612
|
exports.se_ListResolversCommand = se_ListResolversCommand;
|
|
933
613
|
const se_ListResolversByFunctionCommand = async (input, context) => {
|
|
934
|
-
const
|
|
614
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
935
615
|
const headers = {};
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "functionId", () => input.functionId, "{functionId}", false);
|
|
616
|
+
b.bp("/v1/apis/{apiId}/functions/{functionId}/resolvers");
|
|
617
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
618
|
+
b.p("functionId", () => input.functionId, "{functionId}", false);
|
|
940
619
|
const query = (0, smithy_client_1.map)({
|
|
941
|
-
|
|
942
|
-
|
|
620
|
+
[_nT]: [, input[_nT]],
|
|
621
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
943
622
|
});
|
|
944
623
|
let body;
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
hostname,
|
|
948
|
-
port,
|
|
949
|
-
method: "GET",
|
|
950
|
-
headers,
|
|
951
|
-
path: resolvedPath,
|
|
952
|
-
query,
|
|
953
|
-
body,
|
|
954
|
-
});
|
|
624
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
625
|
+
return b.build();
|
|
955
626
|
};
|
|
956
627
|
exports.se_ListResolversByFunctionCommand = se_ListResolversByFunctionCommand;
|
|
957
628
|
const se_ListSourceApiAssociationsCommand = async (input, context) => {
|
|
958
|
-
const
|
|
629
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
959
630
|
const headers = {};
|
|
960
|
-
|
|
961
|
-
|
|
631
|
+
b.bp("/v1/apis/{apiId}/sourceApiAssociations");
|
|
632
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
962
633
|
const query = (0, smithy_client_1.map)({
|
|
963
|
-
|
|
964
|
-
|
|
634
|
+
[_nT]: [, input[_nT]],
|
|
635
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
965
636
|
});
|
|
966
637
|
let body;
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
hostname,
|
|
970
|
-
port,
|
|
971
|
-
method: "GET",
|
|
972
|
-
headers,
|
|
973
|
-
path: resolvedPath,
|
|
974
|
-
query,
|
|
975
|
-
body,
|
|
976
|
-
});
|
|
638
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
639
|
+
return b.build();
|
|
977
640
|
};
|
|
978
641
|
exports.se_ListSourceApiAssociationsCommand = se_ListSourceApiAssociationsCommand;
|
|
979
642
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
980
|
-
const
|
|
643
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
981
644
|
const headers = {};
|
|
982
|
-
|
|
983
|
-
|
|
645
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
646
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
984
647
|
let body;
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
hostname,
|
|
988
|
-
port,
|
|
989
|
-
method: "GET",
|
|
990
|
-
headers,
|
|
991
|
-
path: resolvedPath,
|
|
992
|
-
body,
|
|
993
|
-
});
|
|
648
|
+
b.m("GET").h(headers).b(body);
|
|
649
|
+
return b.build();
|
|
994
650
|
};
|
|
995
651
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
996
652
|
const se_ListTypesCommand = async (input, context) => {
|
|
997
|
-
const
|
|
653
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
998
654
|
const headers = {};
|
|
999
|
-
|
|
1000
|
-
|
|
655
|
+
b.bp("/v1/apis/{apiId}/types");
|
|
656
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
1001
657
|
const query = (0, smithy_client_1.map)({
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
658
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
659
|
+
[_nT]: [, input[_nT]],
|
|
660
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1005
661
|
});
|
|
1006
662
|
let body;
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
hostname,
|
|
1010
|
-
port,
|
|
1011
|
-
method: "GET",
|
|
1012
|
-
headers,
|
|
1013
|
-
path: resolvedPath,
|
|
1014
|
-
query,
|
|
1015
|
-
body,
|
|
1016
|
-
});
|
|
663
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
664
|
+
return b.build();
|
|
1017
665
|
};
|
|
1018
666
|
exports.se_ListTypesCommand = se_ListTypesCommand;
|
|
1019
667
|
const se_ListTypesByAssociationCommand = async (input, context) => {
|
|
1020
|
-
const
|
|
668
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1021
669
|
const headers = {};
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "associationId", () => input.associationId, "{associationId}", false);
|
|
670
|
+
b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/types");
|
|
671
|
+
b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false);
|
|
672
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
1026
673
|
const query = (0, smithy_client_1.map)({
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
674
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
675
|
+
[_nT]: [, input[_nT]],
|
|
676
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1030
677
|
});
|
|
1031
678
|
let body;
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
hostname,
|
|
1035
|
-
port,
|
|
1036
|
-
method: "GET",
|
|
1037
|
-
headers,
|
|
1038
|
-
path: resolvedPath,
|
|
1039
|
-
query,
|
|
1040
|
-
body,
|
|
1041
|
-
});
|
|
679
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
680
|
+
return b.build();
|
|
1042
681
|
};
|
|
1043
682
|
exports.se_ListTypesByAssociationCommand = se_ListTypesByAssociationCommand;
|
|
1044
683
|
const se_StartDataSourceIntrospectionCommand = async (input, context) => {
|
|
1045
|
-
const
|
|
684
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1046
685
|
const headers = {
|
|
1047
686
|
"content-type": "application/json",
|
|
1048
687
|
};
|
|
1049
|
-
|
|
688
|
+
b.bp("/v1/datasources/introspections");
|
|
1050
689
|
let body;
|
|
1051
690
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1052
691
|
rdsDataApiConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1053
692
|
}));
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
hostname,
|
|
1057
|
-
port,
|
|
1058
|
-
method: "POST",
|
|
1059
|
-
headers,
|
|
1060
|
-
path: resolvedPath,
|
|
1061
|
-
body,
|
|
1062
|
-
});
|
|
693
|
+
b.m("POST").h(headers).b(body);
|
|
694
|
+
return b.build();
|
|
1063
695
|
};
|
|
1064
696
|
exports.se_StartDataSourceIntrospectionCommand = se_StartDataSourceIntrospectionCommand;
|
|
1065
697
|
const se_StartSchemaCreationCommand = async (input, context) => {
|
|
1066
|
-
const
|
|
698
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1067
699
|
const headers = {
|
|
1068
700
|
"content-type": "application/json",
|
|
1069
701
|
};
|
|
1070
|
-
|
|
1071
|
-
|
|
702
|
+
b.bp("/v1/apis/{apiId}/schemacreation");
|
|
703
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
1072
704
|
let body;
|
|
1073
705
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1074
706
|
definition: (_) => context.base64Encoder(_),
|
|
1075
707
|
}));
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
hostname,
|
|
1079
|
-
port,
|
|
1080
|
-
method: "POST",
|
|
1081
|
-
headers,
|
|
1082
|
-
path: resolvedPath,
|
|
1083
|
-
body,
|
|
1084
|
-
});
|
|
708
|
+
b.m("POST").h(headers).b(body);
|
|
709
|
+
return b.build();
|
|
1085
710
|
};
|
|
1086
711
|
exports.se_StartSchemaCreationCommand = se_StartSchemaCreationCommand;
|
|
1087
712
|
const se_StartSchemaMergeCommand = async (input, context) => {
|
|
1088
|
-
const
|
|
713
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1089
714
|
const headers = {};
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false);
|
|
715
|
+
b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/merge");
|
|
716
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
717
|
+
b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false);
|
|
1094
718
|
let body;
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
hostname,
|
|
1098
|
-
port,
|
|
1099
|
-
method: "POST",
|
|
1100
|
-
headers,
|
|
1101
|
-
path: resolvedPath,
|
|
1102
|
-
body,
|
|
1103
|
-
});
|
|
719
|
+
b.m("POST").h(headers).b(body);
|
|
720
|
+
return b.build();
|
|
1104
721
|
};
|
|
1105
722
|
exports.se_StartSchemaMergeCommand = se_StartSchemaMergeCommand;
|
|
1106
723
|
const se_TagResourceCommand = async (input, context) => {
|
|
1107
|
-
const
|
|
724
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1108
725
|
const headers = {
|
|
1109
726
|
"content-type": "application/json",
|
|
1110
727
|
};
|
|
1111
|
-
|
|
1112
|
-
|
|
728
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
729
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1113
730
|
let body;
|
|
1114
731
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1115
732
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
1116
733
|
}));
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
hostname,
|
|
1120
|
-
port,
|
|
1121
|
-
method: "POST",
|
|
1122
|
-
headers,
|
|
1123
|
-
path: resolvedPath,
|
|
1124
|
-
body,
|
|
1125
|
-
});
|
|
734
|
+
b.m("POST").h(headers).b(body);
|
|
735
|
+
return b.build();
|
|
1126
736
|
};
|
|
1127
737
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
1128
738
|
const se_UntagResourceCommand = async (input, context) => {
|
|
1129
|
-
const
|
|
739
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1130
740
|
const headers = {};
|
|
1131
|
-
|
|
1132
|
-
|
|
741
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
742
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1133
743
|
const query = (0, smithy_client_1.map)({
|
|
1134
|
-
|
|
744
|
+
[_tK]: [
|
|
1135
745
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
1136
|
-
() => (input
|
|
746
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
1137
747
|
],
|
|
1138
748
|
});
|
|
1139
749
|
let body;
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
hostname,
|
|
1143
|
-
port,
|
|
1144
|
-
method: "DELETE",
|
|
1145
|
-
headers,
|
|
1146
|
-
path: resolvedPath,
|
|
1147
|
-
query,
|
|
1148
|
-
body,
|
|
1149
|
-
});
|
|
750
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
751
|
+
return b.build();
|
|
1150
752
|
};
|
|
1151
753
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
1152
754
|
const se_UpdateApiCacheCommand = async (input, context) => {
|
|
1153
|
-
const
|
|
755
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1154
756
|
const headers = {
|
|
1155
757
|
"content-type": "application/json",
|
|
1156
758
|
};
|
|
1157
|
-
|
|
1158
|
-
|
|
759
|
+
b.bp("/v1/apis/{apiId}/ApiCaches/update");
|
|
760
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
1159
761
|
let body;
|
|
1160
762
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1161
763
|
apiCachingBehavior: [],
|
|
1162
764
|
ttl: [],
|
|
1163
765
|
type: [],
|
|
1164
766
|
}));
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
hostname,
|
|
1168
|
-
port,
|
|
1169
|
-
method: "POST",
|
|
1170
|
-
headers,
|
|
1171
|
-
path: resolvedPath,
|
|
1172
|
-
body,
|
|
1173
|
-
});
|
|
767
|
+
b.m("POST").h(headers).b(body);
|
|
768
|
+
return b.build();
|
|
1174
769
|
};
|
|
1175
770
|
exports.se_UpdateApiCacheCommand = se_UpdateApiCacheCommand;
|
|
1176
771
|
const se_UpdateApiKeyCommand = async (input, context) => {
|
|
1177
|
-
const
|
|
772
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1178
773
|
const headers = {
|
|
1179
774
|
"content-type": "application/json",
|
|
1180
775
|
};
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
776
|
+
b.bp("/v1/apis/{apiId}/apikeys/{id}");
|
|
777
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
778
|
+
b.p("id", () => input.id, "{id}", false);
|
|
1184
779
|
let body;
|
|
1185
780
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1186
781
|
description: [],
|
|
1187
782
|
expires: [],
|
|
1188
783
|
}));
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
hostname,
|
|
1192
|
-
port,
|
|
1193
|
-
method: "POST",
|
|
1194
|
-
headers,
|
|
1195
|
-
path: resolvedPath,
|
|
1196
|
-
body,
|
|
1197
|
-
});
|
|
784
|
+
b.m("POST").h(headers).b(body);
|
|
785
|
+
return b.build();
|
|
1198
786
|
};
|
|
1199
787
|
exports.se_UpdateApiKeyCommand = se_UpdateApiKeyCommand;
|
|
1200
788
|
const se_UpdateDataSourceCommand = async (input, context) => {
|
|
1201
|
-
const
|
|
789
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1202
790
|
const headers = {
|
|
1203
791
|
"content-type": "application/json",
|
|
1204
792
|
};
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
793
|
+
b.bp("/v1/apis/{apiId}/datasources/{name}");
|
|
794
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
795
|
+
b.p("name", () => input.name, "{name}", false);
|
|
1208
796
|
let body;
|
|
1209
797
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1210
798
|
description: [],
|
|
@@ -1218,47 +806,33 @@ const se_UpdateDataSourceCommand = async (input, context) => {
|
|
|
1218
806
|
serviceRoleArn: [],
|
|
1219
807
|
type: [],
|
|
1220
808
|
}));
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
hostname,
|
|
1224
|
-
port,
|
|
1225
|
-
method: "POST",
|
|
1226
|
-
headers,
|
|
1227
|
-
path: resolvedPath,
|
|
1228
|
-
body,
|
|
1229
|
-
});
|
|
809
|
+
b.m("POST").h(headers).b(body);
|
|
810
|
+
return b.build();
|
|
1230
811
|
};
|
|
1231
812
|
exports.se_UpdateDataSourceCommand = se_UpdateDataSourceCommand;
|
|
1232
813
|
const se_UpdateDomainNameCommand = async (input, context) => {
|
|
1233
|
-
const
|
|
814
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1234
815
|
const headers = {
|
|
1235
816
|
"content-type": "application/json",
|
|
1236
817
|
};
|
|
1237
|
-
|
|
1238
|
-
|
|
818
|
+
b.bp("/v1/domainnames/{domainName}");
|
|
819
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
1239
820
|
let body;
|
|
1240
821
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1241
822
|
description: [],
|
|
1242
823
|
}));
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
hostname,
|
|
1246
|
-
port,
|
|
1247
|
-
method: "POST",
|
|
1248
|
-
headers,
|
|
1249
|
-
path: resolvedPath,
|
|
1250
|
-
body,
|
|
1251
|
-
});
|
|
824
|
+
b.m("POST").h(headers).b(body);
|
|
825
|
+
return b.build();
|
|
1252
826
|
};
|
|
1253
827
|
exports.se_UpdateDomainNameCommand = se_UpdateDomainNameCommand;
|
|
1254
828
|
const se_UpdateFunctionCommand = async (input, context) => {
|
|
1255
|
-
const
|
|
829
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1256
830
|
const headers = {
|
|
1257
831
|
"content-type": "application/json",
|
|
1258
832
|
};
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
833
|
+
b.bp("/v1/apis/{apiId}/functions/{functionId}");
|
|
834
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
835
|
+
b.p("functionId", () => input.functionId, "{functionId}", false);
|
|
1262
836
|
let body;
|
|
1263
837
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1264
838
|
code: [],
|
|
@@ -1272,58 +846,46 @@ const se_UpdateFunctionCommand = async (input, context) => {
|
|
|
1272
846
|
runtime: (_) => (0, smithy_client_1._json)(_),
|
|
1273
847
|
syncConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1274
848
|
}));
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
hostname,
|
|
1278
|
-
port,
|
|
1279
|
-
method: "POST",
|
|
1280
|
-
headers,
|
|
1281
|
-
path: resolvedPath,
|
|
1282
|
-
body,
|
|
1283
|
-
});
|
|
849
|
+
b.m("POST").h(headers).b(body);
|
|
850
|
+
return b.build();
|
|
1284
851
|
};
|
|
1285
852
|
exports.se_UpdateFunctionCommand = se_UpdateFunctionCommand;
|
|
1286
853
|
const se_UpdateGraphqlApiCommand = async (input, context) => {
|
|
1287
|
-
const
|
|
854
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1288
855
|
const headers = {
|
|
1289
856
|
"content-type": "application/json",
|
|
1290
857
|
};
|
|
1291
|
-
|
|
1292
|
-
|
|
858
|
+
b.bp("/v1/apis/{apiId}");
|
|
859
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
1293
860
|
let body;
|
|
1294
861
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1295
862
|
additionalAuthenticationProviders: (_) => (0, smithy_client_1._json)(_),
|
|
1296
863
|
authenticationType: [],
|
|
864
|
+
introspectionConfig: [],
|
|
1297
865
|
lambdaAuthorizerConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1298
866
|
logConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1299
867
|
mergedApiExecutionRoleArn: [],
|
|
1300
868
|
name: [],
|
|
1301
869
|
openIDConnectConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1302
870
|
ownerContact: [],
|
|
871
|
+
queryDepthLimit: [],
|
|
872
|
+
resolverCountLimit: [],
|
|
1303
873
|
userPoolConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1304
874
|
xrayEnabled: [],
|
|
1305
875
|
}));
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
hostname,
|
|
1309
|
-
port,
|
|
1310
|
-
method: "POST",
|
|
1311
|
-
headers,
|
|
1312
|
-
path: resolvedPath,
|
|
1313
|
-
body,
|
|
1314
|
-
});
|
|
876
|
+
b.m("POST").h(headers).b(body);
|
|
877
|
+
return b.build();
|
|
1315
878
|
};
|
|
1316
879
|
exports.se_UpdateGraphqlApiCommand = se_UpdateGraphqlApiCommand;
|
|
1317
880
|
const se_UpdateResolverCommand = async (input, context) => {
|
|
1318
|
-
const
|
|
881
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1319
882
|
const headers = {
|
|
1320
883
|
"content-type": "application/json",
|
|
1321
884
|
};
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "fieldName", () => input.fieldName, "{fieldName}", false);
|
|
885
|
+
b.bp("/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}");
|
|
886
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
887
|
+
b.p("typeName", () => input.typeName, "{typeName}", false);
|
|
888
|
+
b.p("fieldName", () => input.fieldName, "{fieldName}", false);
|
|
1327
889
|
let body;
|
|
1328
890
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1329
891
|
cachingConfig: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1337,64 +899,42 @@ const se_UpdateResolverCommand = async (input, context) => {
|
|
|
1337
899
|
runtime: (_) => (0, smithy_client_1._json)(_),
|
|
1338
900
|
syncConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1339
901
|
}));
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
hostname,
|
|
1343
|
-
port,
|
|
1344
|
-
method: "POST",
|
|
1345
|
-
headers,
|
|
1346
|
-
path: resolvedPath,
|
|
1347
|
-
body,
|
|
1348
|
-
});
|
|
902
|
+
b.m("POST").h(headers).b(body);
|
|
903
|
+
return b.build();
|
|
1349
904
|
};
|
|
1350
905
|
exports.se_UpdateResolverCommand = se_UpdateResolverCommand;
|
|
1351
906
|
const se_UpdateSourceApiAssociationCommand = async (input, context) => {
|
|
1352
|
-
const
|
|
907
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1353
908
|
const headers = {
|
|
1354
909
|
"content-type": "application/json",
|
|
1355
910
|
};
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false);
|
|
911
|
+
b.bp("/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}");
|
|
912
|
+
b.p("associationId", () => input.associationId, "{associationId}", false);
|
|
913
|
+
b.p("mergedApiIdentifier", () => input.mergedApiIdentifier, "{mergedApiIdentifier}", false);
|
|
1360
914
|
let body;
|
|
1361
915
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1362
916
|
description: [],
|
|
1363
917
|
sourceApiAssociationConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1364
918
|
}));
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
hostname,
|
|
1368
|
-
port,
|
|
1369
|
-
method: "POST",
|
|
1370
|
-
headers,
|
|
1371
|
-
path: resolvedPath,
|
|
1372
|
-
body,
|
|
1373
|
-
});
|
|
919
|
+
b.m("POST").h(headers).b(body);
|
|
920
|
+
return b.build();
|
|
1374
921
|
};
|
|
1375
922
|
exports.se_UpdateSourceApiAssociationCommand = se_UpdateSourceApiAssociationCommand;
|
|
1376
923
|
const se_UpdateTypeCommand = async (input, context) => {
|
|
1377
|
-
const
|
|
924
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1378
925
|
const headers = {
|
|
1379
926
|
"content-type": "application/json",
|
|
1380
927
|
};
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
928
|
+
b.bp("/v1/apis/{apiId}/types/{typeName}");
|
|
929
|
+
b.p("apiId", () => input.apiId, "{apiId}", false);
|
|
930
|
+
b.p("typeName", () => input.typeName, "{typeName}", false);
|
|
1384
931
|
let body;
|
|
1385
932
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1386
933
|
definition: [],
|
|
1387
934
|
format: [],
|
|
1388
935
|
}));
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
hostname,
|
|
1392
|
-
port,
|
|
1393
|
-
method: "POST",
|
|
1394
|
-
headers,
|
|
1395
|
-
path: resolvedPath,
|
|
1396
|
-
body,
|
|
1397
|
-
});
|
|
936
|
+
b.m("POST").h(headers).b(body);
|
|
937
|
+
return b.build();
|
|
1398
938
|
};
|
|
1399
939
|
exports.se_UpdateTypeCommand = se_UpdateTypeCommand;
|
|
1400
940
|
const de_AssociateApiCommand = async (output, context) => {
|
|
@@ -4371,6 +3911,14 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
4371
3911
|
value !== "" &&
|
|
4372
3912
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
4373
3913
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3914
|
+
const _aT = "apiType";
|
|
3915
|
+
const _f = "format";
|
|
3916
|
+
const _iD = "includeDirectives";
|
|
3917
|
+
const _iMSDL = "includeModelsSDL";
|
|
3918
|
+
const _mR = "maxResults";
|
|
3919
|
+
const _nT = "nextToken";
|
|
3920
|
+
const _o = "owner";
|
|
3921
|
+
const _tK = "tagKeys";
|
|
4374
3922
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4375
3923
|
if (encoded.length) {
|
|
4376
3924
|
return JSON.parse(encoded);
|