@aws-sdk/client-appsync 3.43.0 → 3.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/AppSync.js +120 -0
  4. package/dist-cjs/commands/AssociateApiCommand.js +36 -0
  5. package/dist-cjs/commands/CreateDomainNameCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteDomainNameCommand.js +36 -0
  7. package/dist-cjs/commands/DisassociateApiCommand.js +36 -0
  8. package/dist-cjs/commands/GetApiAssociationCommand.js +36 -0
  9. package/dist-cjs/commands/GetDomainNameCommand.js +36 -0
  10. package/dist-cjs/commands/ListDomainNamesCommand.js +36 -0
  11. package/dist-cjs/commands/UpdateDomainNameCommand.js +36 -0
  12. package/dist-cjs/commands/index.js +8 -0
  13. package/dist-cjs/endpoints.js +1 -0
  14. package/dist-cjs/models/models_0.js +136 -21
  15. package/dist-cjs/protocols/Aws_restJson1.js +911 -93
  16. package/dist-es/AppSync.js +120 -0
  17. package/dist-es/commands/AssociateApiCommand.js +39 -0
  18. package/dist-es/commands/CreateDomainNameCommand.js +39 -0
  19. package/dist-es/commands/DeleteDomainNameCommand.js +39 -0
  20. package/dist-es/commands/DisassociateApiCommand.js +39 -0
  21. package/dist-es/commands/GetApiAssociationCommand.js +39 -0
  22. package/dist-es/commands/GetDomainNameCommand.js +39 -0
  23. package/dist-es/commands/ListDomainNamesCommand.js +39 -0
  24. package/dist-es/commands/UpdateDomainNameCommand.js +39 -0
  25. package/dist-es/commands/index.js +8 -0
  26. package/dist-es/endpoints.js +1 -0
  27. package/dist-es/models/models_0.js +90 -12
  28. package/dist-es/protocols/Aws_restJson1.js +1039 -84
  29. package/dist-types/AppSync.d.ts +60 -5
  30. package/dist-types/AppSyncClient.d.ts +10 -2
  31. package/dist-types/commands/AssociateApiCommand.d.ts +35 -0
  32. package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -2
  33. package/dist-types/commands/CreateDomainNameCommand.d.ts +35 -0
  34. package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateResolverCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteDomainNameCommand.d.ts +35 -0
  37. package/dist-types/commands/DisassociateApiCommand.d.ts +35 -0
  38. package/dist-types/commands/GetApiAssociationCommand.d.ts +35 -0
  39. package/dist-types/commands/GetDomainNameCommand.d.ts +35 -0
  40. package/dist-types/commands/ListDomainNamesCommand.d.ts +35 -0
  41. package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateDomainNameCommand.d.ts +35 -0
  43. package/dist-types/commands/index.d.ts +8 -0
  44. package/dist-types/models/models_0.d.ts +554 -255
  45. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  46. package/dist-types/ts3.4/AppSync.d.ts +40 -0
  47. package/dist-types/ts3.4/AppSyncClient.d.ts +10 -2
  48. package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +203 -30
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  59. package/package.json +5 -5
@@ -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";
@@ -12,6 +12,7 @@ var partitionHash = {
12
12
  "ap-south-1",
13
13
  "ap-southeast-1",
14
14
  "ap-southeast-2",
15
+ "ap-southeast-3",
15
16
  "ca-central-1",
16
17
  "eu-central-1",
17
18
  "eu-north-1",