@aws-sdk/client-appsync 3.42.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/README.md +7 -7
- package/dist-cjs/AppSync.js +120 -0
- package/dist-cjs/commands/AssociateApiCommand.js +36 -0
- package/dist-cjs/commands/CreateDomainNameCommand.js +36 -0
- package/dist-cjs/commands/DeleteDomainNameCommand.js +36 -0
- package/dist-cjs/commands/DisassociateApiCommand.js +36 -0
- package/dist-cjs/commands/GetApiAssociationCommand.js +36 -0
- package/dist-cjs/commands/GetDomainNameCommand.js +36 -0
- package/dist-cjs/commands/ListDomainNamesCommand.js +36 -0
- package/dist-cjs/commands/UpdateDomainNameCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +113 -65
- package/dist-cjs/protocols/Aws_restJson1.js +917 -93
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/AppSync.js +120 -0
- package/dist-es/commands/AssociateApiCommand.js +39 -0
- package/dist-es/commands/CreateDomainNameCommand.js +39 -0
- package/dist-es/commands/DeleteDomainNameCommand.js +39 -0
- package/dist-es/commands/DisassociateApiCommand.js +39 -0
- package/dist-es/commands/GetApiAssociationCommand.js +39 -0
- package/dist-es/commands/GetDomainNameCommand.js +39 -0
- package/dist-es/commands/ListDomainNamesCommand.js +39 -0
- package/dist-es/commands/UpdateDomainNameCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +78 -44
- package/dist-es/protocols/Aws_restJson1.js +1048 -91
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/AppSync.d.ts +60 -5
- package/dist-types/AppSyncClient.d.ts +15 -3
- package/dist-types/commands/AssociateApiCommand.d.ts +35 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -2
- package/dist-types/commands/CreateDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
- package/dist-types/commands/CreateResolverCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateApiCommand.d.ts +35 -0
- package/dist-types/commands/GetApiAssociationCommand.d.ts +35 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/ListDomainNamesCommand.d.ts +35 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +556 -299
- package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/AppSync.d.ts +40 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +13 -3
- package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +201 -60
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/AppSync.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { AppSyncClient } from "./AppSyncClient";
|
|
3
|
+
import { AssociateApiCommand, } from "./commands/AssociateApiCommand";
|
|
3
4
|
import { CreateApiCacheCommand, } from "./commands/CreateApiCacheCommand";
|
|
4
5
|
import { CreateApiKeyCommand, } from "./commands/CreateApiKeyCommand";
|
|
5
6
|
import { CreateDataSourceCommand, } from "./commands/CreateDataSourceCommand";
|
|
7
|
+
import { CreateDomainNameCommand, } from "./commands/CreateDomainNameCommand";
|
|
6
8
|
import { CreateFunctionCommand, } from "./commands/CreateFunctionCommand";
|
|
7
9
|
import { CreateGraphqlApiCommand, } from "./commands/CreateGraphqlApiCommand";
|
|
8
10
|
import { CreateResolverCommand, } from "./commands/CreateResolverCommand";
|
|
@@ -10,13 +12,17 @@ import { CreateTypeCommand } from "./commands/CreateTypeCommand";
|
|
|
10
12
|
import { DeleteApiCacheCommand, } from "./commands/DeleteApiCacheCommand";
|
|
11
13
|
import { DeleteApiKeyCommand, } from "./commands/DeleteApiKeyCommand";
|
|
12
14
|
import { DeleteDataSourceCommand, } from "./commands/DeleteDataSourceCommand";
|
|
15
|
+
import { DeleteDomainNameCommand, } from "./commands/DeleteDomainNameCommand";
|
|
13
16
|
import { DeleteFunctionCommand, } from "./commands/DeleteFunctionCommand";
|
|
14
17
|
import { DeleteGraphqlApiCommand, } from "./commands/DeleteGraphqlApiCommand";
|
|
15
18
|
import { DeleteResolverCommand, } from "./commands/DeleteResolverCommand";
|
|
16
19
|
import { DeleteTypeCommand } from "./commands/DeleteTypeCommand";
|
|
20
|
+
import { DisassociateApiCommand, } from "./commands/DisassociateApiCommand";
|
|
17
21
|
import { FlushApiCacheCommand, } from "./commands/FlushApiCacheCommand";
|
|
22
|
+
import { GetApiAssociationCommand, } from "./commands/GetApiAssociationCommand";
|
|
18
23
|
import { GetApiCacheCommand } from "./commands/GetApiCacheCommand";
|
|
19
24
|
import { GetDataSourceCommand, } from "./commands/GetDataSourceCommand";
|
|
25
|
+
import { GetDomainNameCommand, } from "./commands/GetDomainNameCommand";
|
|
20
26
|
import { GetFunctionCommand } from "./commands/GetFunctionCommand";
|
|
21
27
|
import { GetGraphqlApiCommand, } from "./commands/GetGraphqlApiCommand";
|
|
22
28
|
import { GetIntrospectionSchemaCommand, } from "./commands/GetIntrospectionSchemaCommand";
|
|
@@ -25,6 +31,7 @@ import { GetSchemaCreationStatusCommand, } from "./commands/GetSchemaCreationSta
|
|
|
25
31
|
import { GetTypeCommand } from "./commands/GetTypeCommand";
|
|
26
32
|
import { ListApiKeysCommand } from "./commands/ListApiKeysCommand";
|
|
27
33
|
import { ListDataSourcesCommand, } from "./commands/ListDataSourcesCommand";
|
|
34
|
+
import { ListDomainNamesCommand, } from "./commands/ListDomainNamesCommand";
|
|
28
35
|
import { ListFunctionsCommand, } from "./commands/ListFunctionsCommand";
|
|
29
36
|
import { ListGraphqlApisCommand, } from "./commands/ListGraphqlApisCommand";
|
|
30
37
|
import { ListResolversByFunctionCommand, } from "./commands/ListResolversByFunctionCommand";
|
|
@@ -37,6 +44,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
37
44
|
import { UpdateApiCacheCommand, } from "./commands/UpdateApiCacheCommand";
|
|
38
45
|
import { UpdateApiKeyCommand, } from "./commands/UpdateApiKeyCommand";
|
|
39
46
|
import { UpdateDataSourceCommand, } from "./commands/UpdateDataSourceCommand";
|
|
47
|
+
import { UpdateDomainNameCommand, } from "./commands/UpdateDomainNameCommand";
|
|
40
48
|
import { UpdateFunctionCommand, } from "./commands/UpdateFunctionCommand";
|
|
41
49
|
import { UpdateGraphqlApiCommand, } from "./commands/UpdateGraphqlApiCommand";
|
|
42
50
|
import { UpdateResolverCommand, } from "./commands/UpdateResolverCommand";
|
|
@@ -46,6 +54,20 @@ var AppSync = (function (_super) {
|
|
|
46
54
|
function AppSync() {
|
|
47
55
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
48
56
|
}
|
|
57
|
+
AppSync.prototype.associateApi = function (args, optionsOrCb, cb) {
|
|
58
|
+
var command = new AssociateApiCommand(args);
|
|
59
|
+
if (typeof optionsOrCb === "function") {
|
|
60
|
+
this.send(command, optionsOrCb);
|
|
61
|
+
}
|
|
62
|
+
else if (typeof cb === "function") {
|
|
63
|
+
if (typeof optionsOrCb !== "object")
|
|
64
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
65
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
return this.send(command, optionsOrCb);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
49
71
|
AppSync.prototype.createApiCache = function (args, optionsOrCb, cb) {
|
|
50
72
|
var command = new CreateApiCacheCommand(args);
|
|
51
73
|
if (typeof optionsOrCb === "function") {
|
|
@@ -88,6 +110,20 @@ var AppSync = (function (_super) {
|
|
|
88
110
|
return this.send(command, optionsOrCb);
|
|
89
111
|
}
|
|
90
112
|
};
|
|
113
|
+
AppSync.prototype.createDomainName = function (args, optionsOrCb, cb) {
|
|
114
|
+
var command = new CreateDomainNameCommand(args);
|
|
115
|
+
if (typeof optionsOrCb === "function") {
|
|
116
|
+
this.send(command, optionsOrCb);
|
|
117
|
+
}
|
|
118
|
+
else if (typeof cb === "function") {
|
|
119
|
+
if (typeof optionsOrCb !== "object")
|
|
120
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
121
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
return this.send(command, optionsOrCb);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
91
127
|
AppSync.prototype.createFunction = function (args, optionsOrCb, cb) {
|
|
92
128
|
var command = new CreateFunctionCommand(args);
|
|
93
129
|
if (typeof optionsOrCb === "function") {
|
|
@@ -186,6 +222,20 @@ var AppSync = (function (_super) {
|
|
|
186
222
|
return this.send(command, optionsOrCb);
|
|
187
223
|
}
|
|
188
224
|
};
|
|
225
|
+
AppSync.prototype.deleteDomainName = function (args, optionsOrCb, cb) {
|
|
226
|
+
var command = new DeleteDomainNameCommand(args);
|
|
227
|
+
if (typeof optionsOrCb === "function") {
|
|
228
|
+
this.send(command, optionsOrCb);
|
|
229
|
+
}
|
|
230
|
+
else if (typeof cb === "function") {
|
|
231
|
+
if (typeof optionsOrCb !== "object")
|
|
232
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
233
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
234
|
+
}
|
|
235
|
+
else {
|
|
236
|
+
return this.send(command, optionsOrCb);
|
|
237
|
+
}
|
|
238
|
+
};
|
|
189
239
|
AppSync.prototype.deleteFunction = function (args, optionsOrCb, cb) {
|
|
190
240
|
var command = new DeleteFunctionCommand(args);
|
|
191
241
|
if (typeof optionsOrCb === "function") {
|
|
@@ -242,6 +292,20 @@ var AppSync = (function (_super) {
|
|
|
242
292
|
return this.send(command, optionsOrCb);
|
|
243
293
|
}
|
|
244
294
|
};
|
|
295
|
+
AppSync.prototype.disassociateApi = function (args, optionsOrCb, cb) {
|
|
296
|
+
var command = new DisassociateApiCommand(args);
|
|
297
|
+
if (typeof optionsOrCb === "function") {
|
|
298
|
+
this.send(command, optionsOrCb);
|
|
299
|
+
}
|
|
300
|
+
else if (typeof cb === "function") {
|
|
301
|
+
if (typeof optionsOrCb !== "object")
|
|
302
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
303
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
304
|
+
}
|
|
305
|
+
else {
|
|
306
|
+
return this.send(command, optionsOrCb);
|
|
307
|
+
}
|
|
308
|
+
};
|
|
245
309
|
AppSync.prototype.flushApiCache = function (args, optionsOrCb, cb) {
|
|
246
310
|
var command = new FlushApiCacheCommand(args);
|
|
247
311
|
if (typeof optionsOrCb === "function") {
|
|
@@ -256,6 +320,20 @@ var AppSync = (function (_super) {
|
|
|
256
320
|
return this.send(command, optionsOrCb);
|
|
257
321
|
}
|
|
258
322
|
};
|
|
323
|
+
AppSync.prototype.getApiAssociation = function (args, optionsOrCb, cb) {
|
|
324
|
+
var command = new GetApiAssociationCommand(args);
|
|
325
|
+
if (typeof optionsOrCb === "function") {
|
|
326
|
+
this.send(command, optionsOrCb);
|
|
327
|
+
}
|
|
328
|
+
else if (typeof cb === "function") {
|
|
329
|
+
if (typeof optionsOrCb !== "object")
|
|
330
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
331
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
332
|
+
}
|
|
333
|
+
else {
|
|
334
|
+
return this.send(command, optionsOrCb);
|
|
335
|
+
}
|
|
336
|
+
};
|
|
259
337
|
AppSync.prototype.getApiCache = function (args, optionsOrCb, cb) {
|
|
260
338
|
var command = new GetApiCacheCommand(args);
|
|
261
339
|
if (typeof optionsOrCb === "function") {
|
|
@@ -284,6 +362,20 @@ var AppSync = (function (_super) {
|
|
|
284
362
|
return this.send(command, optionsOrCb);
|
|
285
363
|
}
|
|
286
364
|
};
|
|
365
|
+
AppSync.prototype.getDomainName = function (args, optionsOrCb, cb) {
|
|
366
|
+
var command = new GetDomainNameCommand(args);
|
|
367
|
+
if (typeof optionsOrCb === "function") {
|
|
368
|
+
this.send(command, optionsOrCb);
|
|
369
|
+
}
|
|
370
|
+
else if (typeof cb === "function") {
|
|
371
|
+
if (typeof optionsOrCb !== "object")
|
|
372
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
373
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
374
|
+
}
|
|
375
|
+
else {
|
|
376
|
+
return this.send(command, optionsOrCb);
|
|
377
|
+
}
|
|
378
|
+
};
|
|
287
379
|
AppSync.prototype.getFunction = function (args, optionsOrCb, cb) {
|
|
288
380
|
var command = new GetFunctionCommand(args);
|
|
289
381
|
if (typeof optionsOrCb === "function") {
|
|
@@ -396,6 +488,20 @@ var AppSync = (function (_super) {
|
|
|
396
488
|
return this.send(command, optionsOrCb);
|
|
397
489
|
}
|
|
398
490
|
};
|
|
491
|
+
AppSync.prototype.listDomainNames = function (args, optionsOrCb, cb) {
|
|
492
|
+
var command = new ListDomainNamesCommand(args);
|
|
493
|
+
if (typeof optionsOrCb === "function") {
|
|
494
|
+
this.send(command, optionsOrCb);
|
|
495
|
+
}
|
|
496
|
+
else if (typeof cb === "function") {
|
|
497
|
+
if (typeof optionsOrCb !== "object")
|
|
498
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
499
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
500
|
+
}
|
|
501
|
+
else {
|
|
502
|
+
return this.send(command, optionsOrCb);
|
|
503
|
+
}
|
|
504
|
+
};
|
|
399
505
|
AppSync.prototype.listFunctions = function (args, optionsOrCb, cb) {
|
|
400
506
|
var command = new ListFunctionsCommand(args);
|
|
401
507
|
if (typeof optionsOrCb === "function") {
|
|
@@ -564,6 +670,20 @@ var AppSync = (function (_super) {
|
|
|
564
670
|
return this.send(command, optionsOrCb);
|
|
565
671
|
}
|
|
566
672
|
};
|
|
673
|
+
AppSync.prototype.updateDomainName = function (args, optionsOrCb, cb) {
|
|
674
|
+
var command = new UpdateDomainNameCommand(args);
|
|
675
|
+
if (typeof optionsOrCb === "function") {
|
|
676
|
+
this.send(command, optionsOrCb);
|
|
677
|
+
}
|
|
678
|
+
else if (typeof cb === "function") {
|
|
679
|
+
if (typeof optionsOrCb !== "object")
|
|
680
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
681
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
682
|
+
}
|
|
683
|
+
else {
|
|
684
|
+
return this.send(command, optionsOrCb);
|
|
685
|
+
}
|
|
686
|
+
};
|
|
567
687
|
AppSync.prototype.updateFunction = function (args, optionsOrCb, cb) {
|
|
568
688
|
var command = new UpdateFunctionCommand(args);
|
|
569
689
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { AssociateApiRequest, AssociateApiResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1AssociateApiCommand, serializeAws_restJson1AssociateApiCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var AssociateApiCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateApiCommand, _super);
|
|
8
|
+
function AssociateApiCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
AssociateApiCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppSyncClient";
|
|
18
|
+
var commandName = "AssociateApiCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: AssociateApiRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AssociateApiResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateApiCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1AssociateApiCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
AssociateApiCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1AssociateApiCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return AssociateApiCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateApiCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateDomainNameRequest, CreateDomainNameResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateDomainNameCommand, serializeAws_restJson1CreateDomainNameCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateDomainNameCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDomainNameCommand, _super);
|
|
8
|
+
function CreateDomainNameCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateDomainNameCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppSyncClient";
|
|
18
|
+
var commandName = "CreateDomainNameCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateDomainNameRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateDomainNameResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateDomainNameCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateDomainNameCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateDomainNameCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateDomainNameCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateDomainNameCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDomainNameCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteDomainNameRequest, DeleteDomainNameResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteDomainNameCommand, serializeAws_restJson1DeleteDomainNameCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteDomainNameCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteDomainNameCommand, _super);
|
|
8
|
+
function DeleteDomainNameCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteDomainNameCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppSyncClient";
|
|
18
|
+
var commandName = "DeleteDomainNameCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteDomainNameRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteDomainNameResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteDomainNameCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteDomainNameCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteDomainNameCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteDomainNameCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteDomainNameCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteDomainNameCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DisassociateApiRequest, DisassociateApiResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DisassociateApiCommand, serializeAws_restJson1DisassociateApiCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DisassociateApiCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociateApiCommand, _super);
|
|
8
|
+
function DisassociateApiCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DisassociateApiCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppSyncClient";
|
|
18
|
+
var commandName = "DisassociateApiCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DisassociateApiRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DisassociateApiResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisassociateApiCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DisassociateApiCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DisassociateApiCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DisassociateApiCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DisassociateApiCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociateApiCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetApiAssociationRequest, GetApiAssociationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetApiAssociationCommand, serializeAws_restJson1GetApiAssociationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetApiAssociationCommand = (function (_super) {
|
|
7
|
+
__extends(GetApiAssociationCommand, _super);
|
|
8
|
+
function GetApiAssociationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetApiAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppSyncClient";
|
|
18
|
+
var commandName = "GetApiAssociationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetApiAssociationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetApiAssociationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetApiAssociationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetApiAssociationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetApiAssociationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetApiAssociationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetApiAssociationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetApiAssociationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetDomainNameRequest, GetDomainNameResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetDomainNameCommand, serializeAws_restJson1GetDomainNameCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetDomainNameCommand = (function (_super) {
|
|
7
|
+
__extends(GetDomainNameCommand, _super);
|
|
8
|
+
function GetDomainNameCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetDomainNameCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppSyncClient";
|
|
18
|
+
var commandName = "GetDomainNameCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetDomainNameRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetDomainNameResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDomainNameCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetDomainNameCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetDomainNameCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetDomainNameCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetDomainNameCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDomainNameCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListDomainNamesRequest, ListDomainNamesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListDomainNamesCommand, serializeAws_restJson1ListDomainNamesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListDomainNamesCommand = (function (_super) {
|
|
7
|
+
__extends(ListDomainNamesCommand, _super);
|
|
8
|
+
function ListDomainNamesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListDomainNamesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppSyncClient";
|
|
18
|
+
var commandName = "ListDomainNamesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListDomainNamesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListDomainNamesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListDomainNamesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListDomainNamesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListDomainNamesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListDomainNamesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListDomainNamesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListDomainNamesCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateDomainNameRequest, UpdateDomainNameResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateDomainNameCommand, serializeAws_restJson1UpdateDomainNameCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateDomainNameCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateDomainNameCommand, _super);
|
|
8
|
+
function UpdateDomainNameCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateDomainNameCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppSyncClient";
|
|
18
|
+
var commandName = "UpdateDomainNameCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateDomainNameRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateDomainNameResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateDomainNameCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateDomainNameCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateDomainNameCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateDomainNameCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateDomainNameCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateDomainNameCommand };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
export * from "./AssociateApiCommand";
|
|
1
2
|
export * from "./CreateApiCacheCommand";
|
|
2
3
|
export * from "./CreateApiKeyCommand";
|
|
3
4
|
export * from "./CreateDataSourceCommand";
|
|
5
|
+
export * from "./CreateDomainNameCommand";
|
|
4
6
|
export * from "./CreateFunctionCommand";
|
|
5
7
|
export * from "./CreateGraphqlApiCommand";
|
|
6
8
|
export * from "./CreateResolverCommand";
|
|
@@ -8,13 +10,17 @@ export * from "./CreateTypeCommand";
|
|
|
8
10
|
export * from "./DeleteApiCacheCommand";
|
|
9
11
|
export * from "./DeleteApiKeyCommand";
|
|
10
12
|
export * from "./DeleteDataSourceCommand";
|
|
13
|
+
export * from "./DeleteDomainNameCommand";
|
|
11
14
|
export * from "./DeleteFunctionCommand";
|
|
12
15
|
export * from "./DeleteGraphqlApiCommand";
|
|
13
16
|
export * from "./DeleteResolverCommand";
|
|
14
17
|
export * from "./DeleteTypeCommand";
|
|
18
|
+
export * from "./DisassociateApiCommand";
|
|
15
19
|
export * from "./FlushApiCacheCommand";
|
|
20
|
+
export * from "./GetApiAssociationCommand";
|
|
16
21
|
export * from "./GetApiCacheCommand";
|
|
17
22
|
export * from "./GetDataSourceCommand";
|
|
23
|
+
export * from "./GetDomainNameCommand";
|
|
18
24
|
export * from "./GetFunctionCommand";
|
|
19
25
|
export * from "./GetGraphqlApiCommand";
|
|
20
26
|
export * from "./GetIntrospectionSchemaCommand";
|
|
@@ -23,6 +29,7 @@ export * from "./GetSchemaCreationStatusCommand";
|
|
|
23
29
|
export * from "./GetTypeCommand";
|
|
24
30
|
export * from "./ListApiKeysCommand";
|
|
25
31
|
export * from "./ListDataSourcesCommand";
|
|
32
|
+
export * from "./ListDomainNamesCommand";
|
|
26
33
|
export * from "./ListFunctionsCommand";
|
|
27
34
|
export * from "./ListGraphqlApisCommand";
|
|
28
35
|
export * from "./ListResolversByFunctionCommand";
|
|
@@ -35,6 +42,7 @@ export * from "./UntagResourceCommand";
|
|
|
35
42
|
export * from "./UpdateApiCacheCommand";
|
|
36
43
|
export * from "./UpdateApiKeyCommand";
|
|
37
44
|
export * from "./UpdateDataSourceCommand";
|
|
45
|
+
export * from "./UpdateDomainNameCommand";
|
|
38
46
|
export * from "./UpdateFunctionCommand";
|
|
39
47
|
export * from "./UpdateGraphqlApiCommand";
|
|
40
48
|
export * from "./UpdateResolverCommand";
|