@aws-sdk/client-appsync 3.338.0 → 3.341.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 (60) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/AppSync.js +18 -0
  3. package/dist-cjs/commands/AssociateMergedGraphqlApiCommand.js +46 -0
  4. package/dist-cjs/commands/AssociateSourceGraphqlApiCommand.js +46 -0
  5. package/dist-cjs/commands/DisassociateMergedGraphqlApiCommand.js +46 -0
  6. package/dist-cjs/commands/DisassociateSourceGraphqlApiCommand.js +46 -0
  7. package/dist-cjs/commands/GetSourceApiAssociationCommand.js +46 -0
  8. package/dist-cjs/commands/ListSourceApiAssociationsCommand.js +46 -0
  9. package/dist-cjs/commands/ListTypesByAssociationCommand.js +46 -0
  10. package/dist-cjs/commands/StartSchemaMergeCommand.js +46 -0
  11. package/dist-cjs/commands/UpdateSourceApiAssociationCommand.js +46 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +35 -13
  14. package/dist-cjs/protocols/Aws_restJson1.js +652 -16
  15. package/dist-es/AppSync.js +18 -0
  16. package/dist-es/commands/AssociateMergedGraphqlApiCommand.js +42 -0
  17. package/dist-es/commands/AssociateSourceGraphqlApiCommand.js +42 -0
  18. package/dist-es/commands/DisassociateMergedGraphqlApiCommand.js +42 -0
  19. package/dist-es/commands/DisassociateSourceGraphqlApiCommand.js +42 -0
  20. package/dist-es/commands/GetSourceApiAssociationCommand.js +42 -0
  21. package/dist-es/commands/ListSourceApiAssociationsCommand.js +42 -0
  22. package/dist-es/commands/ListTypesByAssociationCommand.js +42 -0
  23. package/dist-es/commands/StartSchemaMergeCommand.js +42 -0
  24. package/dist-es/commands/UpdateSourceApiAssociationCommand.js +42 -0
  25. package/dist-es/commands/index.js +9 -0
  26. package/dist-es/models/models_0.js +32 -10
  27. package/dist-es/protocols/Aws_restJson1.js +632 -14
  28. package/dist-types/AppSync.d.ts +63 -0
  29. package/dist-types/AppSyncClient.d.ts +11 -2
  30. package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +113 -0
  31. package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +113 -0
  32. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +7 -0
  33. package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +93 -0
  34. package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +93 -0
  35. package/dist-types/commands/GetGraphqlApiCommand.d.ts +4 -0
  36. package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +102 -0
  37. package/dist-types/commands/ListGraphqlApisCommand.d.ts +6 -0
  38. package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +100 -0
  39. package/dist-types/commands/ListTypesByAssociationCommand.d.ts +104 -0
  40. package/dist-types/commands/StartSchemaMergeCommand.d.ts +92 -0
  41. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +6 -0
  42. package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +110 -0
  43. package/dist-types/commands/index.d.ts +9 -0
  44. package/dist-types/models/models_0.d.ts +516 -39
  45. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  46. package/dist-types/ts3.4/AppSync.d.ts +153 -0
  47. package/dist-types/ts3.4/AppSyncClient.d.ts +54 -0
  48. package/dist-types/ts3.4/commands/AssociateMergedGraphqlApiCommand.d.ts +42 -0
  49. package/dist-types/ts3.4/commands/AssociateSourceGraphqlApiCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/DisassociateMergedGraphqlApiCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/DisassociateSourceGraphqlApiCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/GetSourceApiAssociationCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/ListSourceApiAssociationsCommand.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/ListTypesByAssociationCommand.d.ts +42 -0
  55. package/dist-types/ts3.4/commands/StartSchemaMergeCommand.d.ts +38 -0
  56. package/dist-types/ts3.4/commands/UpdateSourceApiAssociationCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +163 -24
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  60. package/package.json +28 -28
@@ -1,6 +1,8 @@
1
1
  import { createAggregatedClient } from "@aws-sdk/smithy-client";
2
2
  import { AppSyncClient } from "./AppSyncClient";
3
3
  import { AssociateApiCommand, } from "./commands/AssociateApiCommand";
4
+ import { AssociateMergedGraphqlApiCommand, } from "./commands/AssociateMergedGraphqlApiCommand";
5
+ import { AssociateSourceGraphqlApiCommand, } from "./commands/AssociateSourceGraphqlApiCommand";
4
6
  import { CreateApiCacheCommand, } from "./commands/CreateApiCacheCommand";
5
7
  import { CreateApiKeyCommand, } from "./commands/CreateApiKeyCommand";
6
8
  import { CreateDataSourceCommand, } from "./commands/CreateDataSourceCommand";
@@ -18,6 +20,8 @@ import { DeleteGraphqlApiCommand, } from "./commands/DeleteGraphqlApiCommand";
18
20
  import { DeleteResolverCommand, } from "./commands/DeleteResolverCommand";
19
21
  import { DeleteTypeCommand } from "./commands/DeleteTypeCommand";
20
22
  import { DisassociateApiCommand, } from "./commands/DisassociateApiCommand";
23
+ import { DisassociateMergedGraphqlApiCommand, } from "./commands/DisassociateMergedGraphqlApiCommand";
24
+ import { DisassociateSourceGraphqlApiCommand, } from "./commands/DisassociateSourceGraphqlApiCommand";
21
25
  import { EvaluateCodeCommand, } from "./commands/EvaluateCodeCommand";
22
26
  import { EvaluateMappingTemplateCommand, } from "./commands/EvaluateMappingTemplateCommand";
23
27
  import { FlushApiCacheCommand, } from "./commands/FlushApiCacheCommand";
@@ -30,6 +34,7 @@ import { GetGraphqlApiCommand, } from "./commands/GetGraphqlApiCommand";
30
34
  import { GetIntrospectionSchemaCommand, } from "./commands/GetIntrospectionSchemaCommand";
31
35
  import { GetResolverCommand } from "./commands/GetResolverCommand";
32
36
  import { GetSchemaCreationStatusCommand, } from "./commands/GetSchemaCreationStatusCommand";
37
+ import { GetSourceApiAssociationCommand, } from "./commands/GetSourceApiAssociationCommand";
33
38
  import { GetTypeCommand } from "./commands/GetTypeCommand";
34
39
  import { ListApiKeysCommand } from "./commands/ListApiKeysCommand";
35
40
  import { ListDataSourcesCommand, } from "./commands/ListDataSourcesCommand";
@@ -38,9 +43,12 @@ import { ListFunctionsCommand, } from "./commands/ListFunctionsCommand";
38
43
  import { ListGraphqlApisCommand, } from "./commands/ListGraphqlApisCommand";
39
44
  import { ListResolversByFunctionCommand, } from "./commands/ListResolversByFunctionCommand";
40
45
  import { ListResolversCommand, } from "./commands/ListResolversCommand";
46
+ import { ListSourceApiAssociationsCommand, } from "./commands/ListSourceApiAssociationsCommand";
41
47
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
48
+ import { ListTypesByAssociationCommand, } from "./commands/ListTypesByAssociationCommand";
42
49
  import { ListTypesCommand } from "./commands/ListTypesCommand";
43
50
  import { StartSchemaCreationCommand, } from "./commands/StartSchemaCreationCommand";
51
+ import { StartSchemaMergeCommand, } from "./commands/StartSchemaMergeCommand";
44
52
  import { TagResourceCommand } from "./commands/TagResourceCommand";
45
53
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
46
54
  import { UpdateApiCacheCommand, } from "./commands/UpdateApiCacheCommand";
@@ -50,9 +58,12 @@ import { UpdateDomainNameCommand, } from "./commands/UpdateDomainNameCommand";
50
58
  import { UpdateFunctionCommand, } from "./commands/UpdateFunctionCommand";
51
59
  import { UpdateGraphqlApiCommand, } from "./commands/UpdateGraphqlApiCommand";
52
60
  import { UpdateResolverCommand, } from "./commands/UpdateResolverCommand";
61
+ import { UpdateSourceApiAssociationCommand, } from "./commands/UpdateSourceApiAssociationCommand";
53
62
  import { UpdateTypeCommand } from "./commands/UpdateTypeCommand";
54
63
  const commands = {
55
64
  AssociateApiCommand,
65
+ AssociateMergedGraphqlApiCommand,
66
+ AssociateSourceGraphqlApiCommand,
56
67
  CreateApiCacheCommand,
57
68
  CreateApiKeyCommand,
58
69
  CreateDataSourceCommand,
@@ -70,6 +81,8 @@ const commands = {
70
81
  DeleteResolverCommand,
71
82
  DeleteTypeCommand,
72
83
  DisassociateApiCommand,
84
+ DisassociateMergedGraphqlApiCommand,
85
+ DisassociateSourceGraphqlApiCommand,
73
86
  EvaluateCodeCommand,
74
87
  EvaluateMappingTemplateCommand,
75
88
  FlushApiCacheCommand,
@@ -82,6 +95,7 @@ const commands = {
82
95
  GetIntrospectionSchemaCommand,
83
96
  GetResolverCommand,
84
97
  GetSchemaCreationStatusCommand,
98
+ GetSourceApiAssociationCommand,
85
99
  GetTypeCommand,
86
100
  ListApiKeysCommand,
87
101
  ListDataSourcesCommand,
@@ -90,9 +104,12 @@ const commands = {
90
104
  ListGraphqlApisCommand,
91
105
  ListResolversCommand,
92
106
  ListResolversByFunctionCommand,
107
+ ListSourceApiAssociationsCommand,
93
108
  ListTagsForResourceCommand,
94
109
  ListTypesCommand,
110
+ ListTypesByAssociationCommand,
95
111
  StartSchemaCreationCommand,
112
+ StartSchemaMergeCommand,
96
113
  TagResourceCommand,
97
114
  UntagResourceCommand,
98
115
  UpdateApiCacheCommand,
@@ -102,6 +119,7 @@ const commands = {
102
119
  UpdateFunctionCommand,
103
120
  UpdateGraphqlApiCommand,
104
121
  UpdateResolverCommand,
122
+ UpdateSourceApiAssociationCommand,
105
123
  UpdateTypeCommand,
106
124
  };
107
125
  export class AppSync extends AppSyncClient {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_AssociateMergedGraphqlApiCommand, se_AssociateMergedGraphqlApiCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class AssociateMergedGraphqlApiCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AssociateMergedGraphqlApiCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "AssociateMergedGraphqlApiCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_AssociateMergedGraphqlApiCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_AssociateMergedGraphqlApiCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_AssociateSourceGraphqlApiCommand, se_AssociateSourceGraphqlApiCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class AssociateSourceGraphqlApiCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AssociateSourceGraphqlApiCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "AssociateSourceGraphqlApiCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_AssociateSourceGraphqlApiCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_AssociateSourceGraphqlApiCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_DisassociateMergedGraphqlApiCommand, se_DisassociateMergedGraphqlApiCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DisassociateMergedGraphqlApiCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateMergedGraphqlApiCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "DisassociateMergedGraphqlApiCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DisassociateMergedGraphqlApiCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DisassociateMergedGraphqlApiCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_DisassociateSourceGraphqlApiCommand, se_DisassociateSourceGraphqlApiCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DisassociateSourceGraphqlApiCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateSourceGraphqlApiCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "DisassociateSourceGraphqlApiCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DisassociateSourceGraphqlApiCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DisassociateSourceGraphqlApiCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_GetSourceApiAssociationCommand, se_GetSourceApiAssociationCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class GetSourceApiAssociationCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetSourceApiAssociationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "GetSourceApiAssociationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_GetSourceApiAssociationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_GetSourceApiAssociationCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_ListSourceApiAssociationsCommand, se_ListSourceApiAssociationsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListSourceApiAssociationsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListSourceApiAssociationsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "ListSourceApiAssociationsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListSourceApiAssociationsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListSourceApiAssociationsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_ListTypesByAssociationCommand, se_ListTypesByAssociationCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListTypesByAssociationCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTypesByAssociationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "ListTypesByAssociationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListTypesByAssociationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListTypesByAssociationCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_StartSchemaMergeCommand, se_StartSchemaMergeCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class StartSchemaMergeCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartSchemaMergeCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "StartSchemaMergeCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_StartSchemaMergeCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_StartSchemaMergeCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_UpdateSourceApiAssociationCommand, se_UpdateSourceApiAssociationCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class UpdateSourceApiAssociationCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSourceApiAssociationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppSyncClient";
25
+ const commandName = "UpdateSourceApiAssociationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_UpdateSourceApiAssociationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_UpdateSourceApiAssociationCommand(output, context);
41
+ }
42
+ }
@@ -1,4 +1,6 @@
1
1
  export * from "./AssociateApiCommand";
2
+ export * from "./AssociateMergedGraphqlApiCommand";
3
+ export * from "./AssociateSourceGraphqlApiCommand";
2
4
  export * from "./CreateApiCacheCommand";
3
5
  export * from "./CreateApiKeyCommand";
4
6
  export * from "./CreateDataSourceCommand";
@@ -16,6 +18,8 @@ export * from "./DeleteGraphqlApiCommand";
16
18
  export * from "./DeleteResolverCommand";
17
19
  export * from "./DeleteTypeCommand";
18
20
  export * from "./DisassociateApiCommand";
21
+ export * from "./DisassociateMergedGraphqlApiCommand";
22
+ export * from "./DisassociateSourceGraphqlApiCommand";
19
23
  export * from "./EvaluateCodeCommand";
20
24
  export * from "./EvaluateMappingTemplateCommand";
21
25
  export * from "./FlushApiCacheCommand";
@@ -28,6 +32,7 @@ export * from "./GetGraphqlApiCommand";
28
32
  export * from "./GetIntrospectionSchemaCommand";
29
33
  export * from "./GetResolverCommand";
30
34
  export * from "./GetSchemaCreationStatusCommand";
35
+ export * from "./GetSourceApiAssociationCommand";
31
36
  export * from "./GetTypeCommand";
32
37
  export * from "./ListApiKeysCommand";
33
38
  export * from "./ListDataSourcesCommand";
@@ -36,9 +41,12 @@ export * from "./ListFunctionsCommand";
36
41
  export * from "./ListGraphqlApisCommand";
37
42
  export * from "./ListResolversByFunctionCommand";
38
43
  export * from "./ListResolversCommand";
44
+ export * from "./ListSourceApiAssociationsCommand";
39
45
  export * from "./ListTagsForResourceCommand";
46
+ export * from "./ListTypesByAssociationCommand";
40
47
  export * from "./ListTypesCommand";
41
48
  export * from "./StartSchemaCreationCommand";
49
+ export * from "./StartSchemaMergeCommand";
42
50
  export * from "./TagResourceCommand";
43
51
  export * from "./UntagResourceCommand";
44
52
  export * from "./UpdateApiCacheCommand";
@@ -48,4 +56,5 @@ export * from "./UpdateDomainNameCommand";
48
56
  export * from "./UpdateFunctionCommand";
49
57
  export * from "./UpdateGraphqlApiCommand";
50
58
  export * from "./UpdateResolverCommand";
59
+ export * from "./UpdateSourceApiAssociationCommand";
51
60
  export * from "./UpdateTypeCommand";
@@ -131,8 +131,19 @@ export class NotFoundException extends __BaseException {
131
131
  Object.setPrototypeOf(this, NotFoundException.prototype);
132
132
  }
133
133
  }
134
- export const AuthorizationType = {
135
- AWS_IAM: "AWS_IAM",
134
+ export const MergeType = {
135
+ AUTO_MERGE: "AUTO_MERGE",
136
+ MANUAL_MERGE: "MANUAL_MERGE",
137
+ };
138
+ export const SourceApiAssociationStatus = {
139
+ AUTO_MERGE_SCHEDULE_FAILED: "AUTO_MERGE_SCHEDULE_FAILED",
140
+ DELETION_FAILED: "DELETION_FAILED",
141
+ DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS",
142
+ DELETION_SCHEDULED: "DELETION_SCHEDULED",
143
+ MERGE_FAILED: "MERGE_FAILED",
144
+ MERGE_IN_PROGRESS: "MERGE_IN_PROGRESS",
145
+ MERGE_SCHEDULED: "MERGE_SCHEDULED",
146
+ MERGE_SUCCESS: "MERGE_SUCCESS",
136
147
  };
137
148
  export class ConcurrentModificationException extends __BaseException {
138
149
  constructor(opts) {
@@ -146,30 +157,33 @@ export class ConcurrentModificationException extends __BaseException {
146
157
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
147
158
  }
148
159
  }
149
- export class UnauthorizedException extends __BaseException {
160
+ export class LimitExceededException extends __BaseException {
150
161
  constructor(opts) {
151
162
  super({
152
- name: "UnauthorizedException",
163
+ name: "LimitExceededException",
153
164
  $fault: "client",
154
165
  ...opts,
155
166
  });
156
- this.name = "UnauthorizedException";
167
+ this.name = "LimitExceededException";
157
168
  this.$fault = "client";
158
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
169
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
159
170
  }
160
171
  }
161
- export class LimitExceededException extends __BaseException {
172
+ export class UnauthorizedException extends __BaseException {
162
173
  constructor(opts) {
163
174
  super({
164
- name: "LimitExceededException",
175
+ name: "UnauthorizedException",
165
176
  $fault: "client",
166
177
  ...opts,
167
178
  });
168
- this.name = "LimitExceededException";
179
+ this.name = "UnauthorizedException";
169
180
  this.$fault = "client";
170
- Object.setPrototypeOf(this, LimitExceededException.prototype);
181
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
171
182
  }
172
183
  }
184
+ export const AuthorizationType = {
185
+ AWS_IAM: "AWS_IAM",
186
+ };
173
187
  export const RelationalDatabaseSourceType = {
174
188
  RDS_HTTP_ENDPOINT: "RDS_HTTP_ENDPOINT",
175
189
  };
@@ -193,6 +207,10 @@ export const ConflictHandlerType = {
193
207
  NONE: "NONE",
194
208
  OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY",
195
209
  };
210
+ export const GraphQLApiType = {
211
+ GRAPHQL: "GRAPHQL",
212
+ MERGED: "MERGED",
213
+ };
196
214
  export const FieldLogLevel = {
197
215
  ALL: "ALL",
198
216
  ERROR: "ERROR",
@@ -238,3 +256,7 @@ export const SchemaStatus = {
238
256
  Processing: "PROCESSING",
239
257
  Success: "SUCCESS",
240
258
  };
259
+ export const Ownership = {
260
+ CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
261
+ OTHER_ACCOUNTS: "OTHER_ACCOUNTS",
262
+ };