@aws-sdk/client-appsync 3.40.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 (96) hide show
  1. package/CHANGELOG.md +38 -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 +9 -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 +9 -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/CreateApiCacheCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateApiKeyCommand.d.ts +2 -3
  34. package/dist-types/commands/CreateDataSourceCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateDomainNameCommand.d.ts +35 -0
  36. package/dist-types/commands/CreateFunctionCommand.d.ts +2 -2
  37. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateResolverCommand.d.ts +2 -2
  39. package/dist-types/commands/CreateTypeCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteApiCacheCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteApiKeyCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteDomainNameCommand.d.ts +35 -0
  44. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +1 -1
  46. package/dist-types/commands/DeleteResolverCommand.d.ts +1 -1
  47. package/dist-types/commands/DeleteTypeCommand.d.ts +1 -1
  48. package/dist-types/commands/DisassociateApiCommand.d.ts +35 -0
  49. package/dist-types/commands/FlushApiCacheCommand.d.ts +1 -1
  50. package/dist-types/commands/GetApiAssociationCommand.d.ts +35 -0
  51. package/dist-types/commands/GetApiCacheCommand.d.ts +1 -1
  52. package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
  53. package/dist-types/commands/GetDomainNameCommand.d.ts +35 -0
  54. package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
  55. package/dist-types/commands/GetGraphqlApiCommand.d.ts +1 -1
  56. package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +1 -1
  57. package/dist-types/commands/GetResolverCommand.d.ts +1 -1
  58. package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +1 -1
  59. package/dist-types/commands/GetTypeCommand.d.ts +1 -1
  60. package/dist-types/commands/ListApiKeysCommand.d.ts +1 -1
  61. package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
  62. package/dist-types/commands/ListDomainNamesCommand.d.ts +35 -0
  63. package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
  64. package/dist-types/commands/ListGraphqlApisCommand.d.ts +1 -1
  65. package/dist-types/commands/ListResolversByFunctionCommand.d.ts +1 -1
  66. package/dist-types/commands/ListResolversCommand.d.ts +1 -1
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  68. package/dist-types/commands/ListTypesCommand.d.ts +1 -1
  69. package/dist-types/commands/StartSchemaCreationCommand.d.ts +1 -1
  70. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  71. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateApiCacheCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateApiKeyCommand.d.ts +2 -2
  74. package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateDomainNameCommand.d.ts +35 -0
  76. package/dist-types/commands/UpdateFunctionCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateResolverCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateTypeCommand.d.ts +1 -1
  80. package/dist-types/commands/index.d.ts +8 -0
  81. package/dist-types/models/models_0.d.ts +554 -255
  82. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  83. package/dist-types/ts3.4/AppSync.d.ts +40 -0
  84. package/dist-types/ts3.4/AppSyncClient.d.ts +10 -2
  85. package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  94. package/dist-types/ts3.4/models/models_0.d.ts +203 -30
  95. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  96. package/package.json +6 -6
@@ -1,8 +1,10 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { AppSyncClient } from "./AppSyncClient";
3
+ import { AssociateApiCommandInput, AssociateApiCommandOutput } from "./commands/AssociateApiCommand";
3
4
  import { CreateApiCacheCommandInput, CreateApiCacheCommandOutput } from "./commands/CreateApiCacheCommand";
4
5
  import { CreateApiKeyCommandInput, CreateApiKeyCommandOutput } from "./commands/CreateApiKeyCommand";
5
6
  import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
7
+ import { CreateDomainNameCommandInput, CreateDomainNameCommandOutput } from "./commands/CreateDomainNameCommand";
6
8
  import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "./commands/CreateFunctionCommand";
7
9
  import { CreateGraphqlApiCommandInput, CreateGraphqlApiCommandOutput } from "./commands/CreateGraphqlApiCommand";
8
10
  import { CreateResolverCommandInput, CreateResolverCommandOutput } from "./commands/CreateResolverCommand";
@@ -10,13 +12,17 @@ import { CreateTypeCommandInput, CreateTypeCommandOutput } from "./commands/Crea
10
12
  import { DeleteApiCacheCommandInput, DeleteApiCacheCommandOutput } from "./commands/DeleteApiCacheCommand";
11
13
  import { DeleteApiKeyCommandInput, DeleteApiKeyCommandOutput } from "./commands/DeleteApiKeyCommand";
12
14
  import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
15
+ import { DeleteDomainNameCommandInput, DeleteDomainNameCommandOutput } from "./commands/DeleteDomainNameCommand";
13
16
  import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "./commands/DeleteFunctionCommand";
14
17
  import { DeleteGraphqlApiCommandInput, DeleteGraphqlApiCommandOutput } from "./commands/DeleteGraphqlApiCommand";
15
18
  import { DeleteResolverCommandInput, DeleteResolverCommandOutput } from "./commands/DeleteResolverCommand";
16
19
  import { DeleteTypeCommandInput, DeleteTypeCommandOutput } from "./commands/DeleteTypeCommand";
20
+ import { DisassociateApiCommandInput, DisassociateApiCommandOutput } from "./commands/DisassociateApiCommand";
17
21
  import { FlushApiCacheCommandInput, FlushApiCacheCommandOutput } from "./commands/FlushApiCacheCommand";
22
+ import { GetApiAssociationCommandInput, GetApiAssociationCommandOutput } from "./commands/GetApiAssociationCommand";
18
23
  import { GetApiCacheCommandInput, GetApiCacheCommandOutput } from "./commands/GetApiCacheCommand";
19
24
  import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
25
+ import { GetDomainNameCommandInput, GetDomainNameCommandOutput } from "./commands/GetDomainNameCommand";
20
26
  import { GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand";
21
27
  import { GetGraphqlApiCommandInput, GetGraphqlApiCommandOutput } from "./commands/GetGraphqlApiCommand";
22
28
  import { GetIntrospectionSchemaCommandInput, GetIntrospectionSchemaCommandOutput } from "./commands/GetIntrospectionSchemaCommand";
@@ -25,6 +31,7 @@ import { GetSchemaCreationStatusCommandInput, GetSchemaCreationStatusCommandOutp
25
31
  import { GetTypeCommandInput, GetTypeCommandOutput } from "./commands/GetTypeCommand";
26
32
  import { ListApiKeysCommandInput, ListApiKeysCommandOutput } from "./commands/ListApiKeysCommand";
27
33
  import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
34
+ import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "./commands/ListDomainNamesCommand";
28
35
  import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "./commands/ListFunctionsCommand";
29
36
  import { ListGraphqlApisCommandInput, ListGraphqlApisCommandOutput } from "./commands/ListGraphqlApisCommand";
30
37
  import { ListResolversByFunctionCommandInput, ListResolversByFunctionCommandOutput } from "./commands/ListResolversByFunctionCommand";
@@ -37,6 +44,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
37
44
  import { UpdateApiCacheCommandInput, UpdateApiCacheCommandOutput } from "./commands/UpdateApiCacheCommand";
38
45
  import { UpdateApiKeyCommandInput, UpdateApiKeyCommandOutput } from "./commands/UpdateApiKeyCommand";
39
46
  import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
47
+ import { UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput } from "./commands/UpdateDomainNameCommand";
40
48
  import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "./commands/UpdateFunctionCommand";
41
49
  import { UpdateGraphqlApiCommandInput, UpdateGraphqlApiCommandOutput } from "./commands/UpdateGraphqlApiCommand";
42
50
  import { UpdateResolverCommandInput, UpdateResolverCommandOutput } from "./commands/UpdateResolverCommand";
@@ -46,6 +54,12 @@ import { UpdateTypeCommandInput, UpdateTypeCommandOutput } from "./commands/Upda
46
54
  * sources using GraphQL from your application.</p>
47
55
  */
48
56
  export declare class AppSync extends AppSyncClient {
57
+ /**
58
+ * <p>Maps an endpoint to your custom domain.</p>
59
+ */
60
+ associateApi(args: AssociateApiCommandInput, options?: __HttpHandlerOptions): Promise<AssociateApiCommandOutput>;
61
+ associateApi(args: AssociateApiCommandInput, cb: (err: any, data?: AssociateApiCommandOutput) => void): void;
62
+ associateApi(args: AssociateApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateApiCommandOutput) => void): void;
49
63
  /**
50
64
  * <p>Creates a cache for the GraphQL API.</p>
51
65
  */
@@ -53,8 +67,7 @@ export declare class AppSync extends AppSyncClient {
53
67
  createApiCache(args: CreateApiCacheCommandInput, cb: (err: any, data?: CreateApiCacheCommandOutput) => void): void;
54
68
  createApiCache(args: CreateApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiCacheCommandOutput) => void): void;
55
69
  /**
56
- * <p>Creates a unique key that you can distribute to clients who are executing your
57
- * API.</p>
70
+ * <p>Creates a unique key that you can distribute to clients who invoke your API.</p>
58
71
  */
59
72
  createApiKey(args: CreateApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateApiKeyCommandOutput>;
60
73
  createApiKey(args: CreateApiKeyCommandInput, cb: (err: any, data?: CreateApiKeyCommandOutput) => void): void;
@@ -65,9 +78,15 @@ export declare class AppSync extends AppSyncClient {
65
78
  createDataSource(args: CreateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataSourceCommandOutput>;
66
79
  createDataSource(args: CreateDataSourceCommandInput, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
67
80
  createDataSource(args: CreateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
81
+ /**
82
+ * <p>Creates a custom <code>DomainName</code> object.</p>
83
+ */
84
+ createDomainName(args: CreateDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<CreateDomainNameCommandOutput>;
85
+ createDomainName(args: CreateDomainNameCommandInput, cb: (err: any, data?: CreateDomainNameCommandOutput) => void): void;
86
+ createDomainName(args: CreateDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDomainNameCommandOutput) => void): void;
68
87
  /**
69
88
  * <p>Creates a <code>Function</code> object.</p>
70
- * <p>A function is a reusable entity. Multiple functions can be used to compose the resolver
89
+ * <p>A function is a reusable entity. You can use multiple functions to compose the resolver
71
90
  * logic.</p>
72
91
  */
73
92
  createFunction(args: CreateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<CreateFunctionCommandOutput>;
@@ -81,7 +100,7 @@ export declare class AppSync extends AppSyncClient {
81
100
  createGraphqlApi(args: CreateGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGraphqlApiCommandOutput) => void): void;
82
101
  /**
83
102
  * <p>Creates a <code>Resolver</code> object.</p>
84
- * <p>A resolver converts incoming requests into a format that a data source can understand
103
+ * <p>A resolver converts incoming requests into a format that a data source can understand,
85
104
  * and converts the data source's responses into GraphQL.</p>
86
105
  */
87
106
  createResolver(args: CreateResolverCommandInput, options?: __HttpHandlerOptions): Promise<CreateResolverCommandOutput>;
@@ -111,6 +130,12 @@ export declare class AppSync extends AppSyncClient {
111
130
  deleteDataSource(args: DeleteDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataSourceCommandOutput>;
112
131
  deleteDataSource(args: DeleteDataSourceCommandInput, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
113
132
  deleteDataSource(args: DeleteDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
133
+ /**
134
+ * <p>Deletes a custom <code>DomainName</code> object.</p>
135
+ */
136
+ deleteDomainName(args: DeleteDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDomainNameCommandOutput>;
137
+ deleteDomainName(args: DeleteDomainNameCommandInput, cb: (err: any, data?: DeleteDomainNameCommandOutput) => void): void;
138
+ deleteDomainName(args: DeleteDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDomainNameCommandOutput) => void): void;
114
139
  /**
115
140
  * <p>Deletes a <code>Function</code>.</p>
116
141
  */
@@ -135,12 +160,24 @@ export declare class AppSync extends AppSyncClient {
135
160
  deleteType(args: DeleteTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTypeCommandOutput>;
136
161
  deleteType(args: DeleteTypeCommandInput, cb: (err: any, data?: DeleteTypeCommandOutput) => void): void;
137
162
  deleteType(args: DeleteTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTypeCommandOutput) => void): void;
163
+ /**
164
+ * <p>Removes an <code>ApiAssociation</code> object from a custom domain.</p>
165
+ */
166
+ disassociateApi(args: DisassociateApiCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateApiCommandOutput>;
167
+ disassociateApi(args: DisassociateApiCommandInput, cb: (err: any, data?: DisassociateApiCommandOutput) => void): void;
168
+ disassociateApi(args: DisassociateApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateApiCommandOutput) => void): void;
138
169
  /**
139
170
  * <p>Flushes an <code>ApiCache</code> object.</p>
140
171
  */
141
172
  flushApiCache(args: FlushApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<FlushApiCacheCommandOutput>;
142
173
  flushApiCache(args: FlushApiCacheCommandInput, cb: (err: any, data?: FlushApiCacheCommandOutput) => void): void;
143
174
  flushApiCache(args: FlushApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FlushApiCacheCommandOutput) => void): void;
175
+ /**
176
+ * <p>Retrieves an <code>ApiAssociation</code> object.</p>
177
+ */
178
+ getApiAssociation(args: GetApiAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetApiAssociationCommandOutput>;
179
+ getApiAssociation(args: GetApiAssociationCommandInput, cb: (err: any, data?: GetApiAssociationCommandOutput) => void): void;
180
+ getApiAssociation(args: GetApiAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApiAssociationCommandOutput) => void): void;
144
181
  /**
145
182
  * <p>Retrieves an <code>ApiCache</code> object.</p>
146
183
  */
@@ -153,6 +190,12 @@ export declare class AppSync extends AppSyncClient {
153
190
  getDataSource(args: GetDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<GetDataSourceCommandOutput>;
154
191
  getDataSource(args: GetDataSourceCommandInput, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
155
192
  getDataSource(args: GetDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
193
+ /**
194
+ * <p>Retrieves a custom <code>DomainName</code> object.</p>
195
+ */
196
+ getDomainName(args: GetDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<GetDomainNameCommandOutput>;
197
+ getDomainName(args: GetDomainNameCommandInput, cb: (err: any, data?: GetDomainNameCommandOutput) => void): void;
198
+ getDomainName(args: GetDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDomainNameCommandOutput) => void): void;
156
199
  /**
157
200
  * <p>Get a <code>Function</code>.</p>
158
201
  */
@@ -207,6 +250,12 @@ export declare class AppSync extends AppSyncClient {
207
250
  listDataSources(args: ListDataSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSourcesCommandOutput>;
208
251
  listDataSources(args: ListDataSourcesCommandInput, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
209
252
  listDataSources(args: ListDataSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
253
+ /**
254
+ * <p>Lists multiple custom domain names.</p>
255
+ */
256
+ listDomainNames(args: ListDomainNamesCommandInput, options?: __HttpHandlerOptions): Promise<ListDomainNamesCommandOutput>;
257
+ listDomainNames(args: ListDomainNamesCommandInput, cb: (err: any, data?: ListDomainNamesCommandOutput) => void): void;
258
+ listDomainNames(args: ListDomainNamesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDomainNamesCommandOutput) => void): void;
210
259
  /**
211
260
  * <p>List multiple functions.</p>
212
261
  */
@@ -270,7 +319,7 @@ export declare class AppSync extends AppSyncClient {
270
319
  updateApiCache(args: UpdateApiCacheCommandInput, cb: (err: any, data?: UpdateApiCacheCommandOutput) => void): void;
271
320
  updateApiCache(args: UpdateApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiCacheCommandOutput) => void): void;
272
321
  /**
273
- * <p>Updates an API key. The key can be updated while it is not deleted.</p>
322
+ * <p>Updates an API key. You can update the key as long as it's not deleted.</p>
274
323
  */
275
324
  updateApiKey(args: UpdateApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApiKeyCommandOutput>;
276
325
  updateApiKey(args: UpdateApiKeyCommandInput, cb: (err: any, data?: UpdateApiKeyCommandOutput) => void): void;
@@ -281,6 +330,12 @@ export declare class AppSync extends AppSyncClient {
281
330
  updateDataSource(args: UpdateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataSourceCommandOutput>;
282
331
  updateDataSource(args: UpdateDataSourceCommandInput, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
283
332
  updateDataSource(args: UpdateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
333
+ /**
334
+ * <p>Updates a custom <code>DomainName</code> object.</p>
335
+ */
336
+ updateDomainName(args: UpdateDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDomainNameCommandOutput>;
337
+ updateDomainName(args: UpdateDomainNameCommandInput, cb: (err: any, data?: UpdateDomainNameCommandOutput) => void): void;
338
+ updateDomainName(args: UpdateDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDomainNameCommandOutput) => void): void;
284
339
  /**
285
340
  * <p>Updates a <code>Function</code> object.</p>
286
341
  */
@@ -6,9 +6,11 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { AssociateApiCommandInput, AssociateApiCommandOutput } from "./commands/AssociateApiCommand";
9
10
  import { CreateApiCacheCommandInput, CreateApiCacheCommandOutput } from "./commands/CreateApiCacheCommand";
10
11
  import { CreateApiKeyCommandInput, CreateApiKeyCommandOutput } from "./commands/CreateApiKeyCommand";
11
12
  import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
13
+ import { CreateDomainNameCommandInput, CreateDomainNameCommandOutput } from "./commands/CreateDomainNameCommand";
12
14
  import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "./commands/CreateFunctionCommand";
13
15
  import { CreateGraphqlApiCommandInput, CreateGraphqlApiCommandOutput } from "./commands/CreateGraphqlApiCommand";
14
16
  import { CreateResolverCommandInput, CreateResolverCommandOutput } from "./commands/CreateResolverCommand";
@@ -16,13 +18,17 @@ import { CreateTypeCommandInput, CreateTypeCommandOutput } from "./commands/Crea
16
18
  import { DeleteApiCacheCommandInput, DeleteApiCacheCommandOutput } from "./commands/DeleteApiCacheCommand";
17
19
  import { DeleteApiKeyCommandInput, DeleteApiKeyCommandOutput } from "./commands/DeleteApiKeyCommand";
18
20
  import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
21
+ import { DeleteDomainNameCommandInput, DeleteDomainNameCommandOutput } from "./commands/DeleteDomainNameCommand";
19
22
  import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "./commands/DeleteFunctionCommand";
20
23
  import { DeleteGraphqlApiCommandInput, DeleteGraphqlApiCommandOutput } from "./commands/DeleteGraphqlApiCommand";
21
24
  import { DeleteResolverCommandInput, DeleteResolverCommandOutput } from "./commands/DeleteResolverCommand";
22
25
  import { DeleteTypeCommandInput, DeleteTypeCommandOutput } from "./commands/DeleteTypeCommand";
26
+ import { DisassociateApiCommandInput, DisassociateApiCommandOutput } from "./commands/DisassociateApiCommand";
23
27
  import { FlushApiCacheCommandInput, FlushApiCacheCommandOutput } from "./commands/FlushApiCacheCommand";
28
+ import { GetApiAssociationCommandInput, GetApiAssociationCommandOutput } from "./commands/GetApiAssociationCommand";
24
29
  import { GetApiCacheCommandInput, GetApiCacheCommandOutput } from "./commands/GetApiCacheCommand";
25
30
  import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
31
+ import { GetDomainNameCommandInput, GetDomainNameCommandOutput } from "./commands/GetDomainNameCommand";
26
32
  import { GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand";
27
33
  import { GetGraphqlApiCommandInput, GetGraphqlApiCommandOutput } from "./commands/GetGraphqlApiCommand";
28
34
  import { GetIntrospectionSchemaCommandInput, GetIntrospectionSchemaCommandOutput } from "./commands/GetIntrospectionSchemaCommand";
@@ -31,6 +37,7 @@ import { GetSchemaCreationStatusCommandInput, GetSchemaCreationStatusCommandOutp
31
37
  import { GetTypeCommandInput, GetTypeCommandOutput } from "./commands/GetTypeCommand";
32
38
  import { ListApiKeysCommandInput, ListApiKeysCommandOutput } from "./commands/ListApiKeysCommand";
33
39
  import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
40
+ import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "./commands/ListDomainNamesCommand";
34
41
  import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "./commands/ListFunctionsCommand";
35
42
  import { ListGraphqlApisCommandInput, ListGraphqlApisCommandOutput } from "./commands/ListGraphqlApisCommand";
36
43
  import { ListResolversByFunctionCommandInput, ListResolversByFunctionCommandOutput } from "./commands/ListResolversByFunctionCommand";
@@ -43,12 +50,13 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
43
50
  import { UpdateApiCacheCommandInput, UpdateApiCacheCommandOutput } from "./commands/UpdateApiCacheCommand";
44
51
  import { UpdateApiKeyCommandInput, UpdateApiKeyCommandOutput } from "./commands/UpdateApiKeyCommand";
45
52
  import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
53
+ import { UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput } from "./commands/UpdateDomainNameCommand";
46
54
  import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "./commands/UpdateFunctionCommand";
47
55
  import { UpdateGraphqlApiCommandInput, UpdateGraphqlApiCommandOutput } from "./commands/UpdateGraphqlApiCommand";
48
56
  import { UpdateResolverCommandInput, UpdateResolverCommandOutput } from "./commands/UpdateResolverCommand";
49
57
  import { UpdateTypeCommandInput, UpdateTypeCommandOutput } from "./commands/UpdateTypeCommand";
50
- export declare type ServiceInputTypes = CreateApiCacheCommandInput | CreateApiKeyCommandInput | CreateDataSourceCommandInput | CreateFunctionCommandInput | CreateGraphqlApiCommandInput | CreateResolverCommandInput | CreateTypeCommandInput | DeleteApiCacheCommandInput | DeleteApiKeyCommandInput | DeleteDataSourceCommandInput | DeleteFunctionCommandInput | DeleteGraphqlApiCommandInput | DeleteResolverCommandInput | DeleteTypeCommandInput | FlushApiCacheCommandInput | GetApiCacheCommandInput | GetDataSourceCommandInput | GetFunctionCommandInput | GetGraphqlApiCommandInput | GetIntrospectionSchemaCommandInput | GetResolverCommandInput | GetSchemaCreationStatusCommandInput | GetTypeCommandInput | ListApiKeysCommandInput | ListDataSourcesCommandInput | ListFunctionsCommandInput | ListGraphqlApisCommandInput | ListResolversByFunctionCommandInput | ListResolversCommandInput | ListTagsForResourceCommandInput | ListTypesCommandInput | StartSchemaCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApiCacheCommandInput | UpdateApiKeyCommandInput | UpdateDataSourceCommandInput | UpdateFunctionCommandInput | UpdateGraphqlApiCommandInput | UpdateResolverCommandInput | UpdateTypeCommandInput;
51
- export declare type ServiceOutputTypes = CreateApiCacheCommandOutput | CreateApiKeyCommandOutput | CreateDataSourceCommandOutput | CreateFunctionCommandOutput | CreateGraphqlApiCommandOutput | CreateResolverCommandOutput | CreateTypeCommandOutput | DeleteApiCacheCommandOutput | DeleteApiKeyCommandOutput | DeleteDataSourceCommandOutput | DeleteFunctionCommandOutput | DeleteGraphqlApiCommandOutput | DeleteResolverCommandOutput | DeleteTypeCommandOutput | FlushApiCacheCommandOutput | GetApiCacheCommandOutput | GetDataSourceCommandOutput | GetFunctionCommandOutput | GetGraphqlApiCommandOutput | GetIntrospectionSchemaCommandOutput | GetResolverCommandOutput | GetSchemaCreationStatusCommandOutput | GetTypeCommandOutput | ListApiKeysCommandOutput | ListDataSourcesCommandOutput | ListFunctionsCommandOutput | ListGraphqlApisCommandOutput | ListResolversByFunctionCommandOutput | ListResolversCommandOutput | ListTagsForResourceCommandOutput | ListTypesCommandOutput | StartSchemaCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApiCacheCommandOutput | UpdateApiKeyCommandOutput | UpdateDataSourceCommandOutput | UpdateFunctionCommandOutput | UpdateGraphqlApiCommandOutput | UpdateResolverCommandOutput | UpdateTypeCommandOutput;
58
+ export declare type ServiceInputTypes = AssociateApiCommandInput | CreateApiCacheCommandInput | CreateApiKeyCommandInput | CreateDataSourceCommandInput | CreateDomainNameCommandInput | CreateFunctionCommandInput | CreateGraphqlApiCommandInput | CreateResolverCommandInput | CreateTypeCommandInput | DeleteApiCacheCommandInput | DeleteApiKeyCommandInput | DeleteDataSourceCommandInput | DeleteDomainNameCommandInput | DeleteFunctionCommandInput | DeleteGraphqlApiCommandInput | DeleteResolverCommandInput | DeleteTypeCommandInput | DisassociateApiCommandInput | FlushApiCacheCommandInput | GetApiAssociationCommandInput | GetApiCacheCommandInput | GetDataSourceCommandInput | GetDomainNameCommandInput | GetFunctionCommandInput | GetGraphqlApiCommandInput | GetIntrospectionSchemaCommandInput | GetResolverCommandInput | GetSchemaCreationStatusCommandInput | GetTypeCommandInput | ListApiKeysCommandInput | ListDataSourcesCommandInput | ListDomainNamesCommandInput | ListFunctionsCommandInput | ListGraphqlApisCommandInput | ListResolversByFunctionCommandInput | ListResolversCommandInput | ListTagsForResourceCommandInput | ListTypesCommandInput | StartSchemaCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApiCacheCommandInput | UpdateApiKeyCommandInput | UpdateDataSourceCommandInput | UpdateDomainNameCommandInput | UpdateFunctionCommandInput | UpdateGraphqlApiCommandInput | UpdateResolverCommandInput | UpdateTypeCommandInput;
59
+ export declare type ServiceOutputTypes = AssociateApiCommandOutput | CreateApiCacheCommandOutput | CreateApiKeyCommandOutput | CreateDataSourceCommandOutput | CreateDomainNameCommandOutput | CreateFunctionCommandOutput | CreateGraphqlApiCommandOutput | CreateResolverCommandOutput | CreateTypeCommandOutput | DeleteApiCacheCommandOutput | DeleteApiKeyCommandOutput | DeleteDataSourceCommandOutput | DeleteDomainNameCommandOutput | DeleteFunctionCommandOutput | DeleteGraphqlApiCommandOutput | DeleteResolverCommandOutput | DeleteTypeCommandOutput | DisassociateApiCommandOutput | FlushApiCacheCommandOutput | GetApiAssociationCommandOutput | GetApiCacheCommandOutput | GetDataSourceCommandOutput | GetDomainNameCommandOutput | GetFunctionCommandOutput | GetGraphqlApiCommandOutput | GetIntrospectionSchemaCommandOutput | GetResolverCommandOutput | GetSchemaCreationStatusCommandOutput | GetTypeCommandOutput | ListApiKeysCommandOutput | ListDataSourcesCommandOutput | ListDomainNamesCommandOutput | ListFunctionsCommandOutput | ListGraphqlApisCommandOutput | ListResolversByFunctionCommandOutput | ListResolversCommandOutput | ListTagsForResourceCommandOutput | ListTypesCommandOutput | StartSchemaCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApiCacheCommandOutput | UpdateApiKeyCommandOutput | UpdateDataSourceCommandOutput | UpdateDomainNameCommandOutput | UpdateFunctionCommandOutput | UpdateGraphqlApiCommandOutput | UpdateResolverCommandOutput | UpdateTypeCommandOutput;
52
60
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
53
61
  /**
54
62
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
4
+ import { AssociateApiRequest, AssociateApiResponse } from "../models/models_0";
5
+ export interface AssociateApiCommandInput extends AssociateApiRequest {
6
+ }
7
+ export interface AssociateApiCommandOutput extends AssociateApiResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Maps an endpoint to your custom domain.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AppSyncClient, AssociateApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
15
+ * // const { AppSyncClient, AssociateApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
16
+ * const client = new AppSyncClient(config);
17
+ * const command = new AssociateApiCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link AssociateApiCommandInput} for command's `input` shape.
22
+ * @see {@link AssociateApiCommandOutput} for command's `response` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class AssociateApiCommand extends $Command<AssociateApiCommandInput, AssociateApiCommandOutput, AppSyncClientResolvedConfig> {
27
+ readonly input: AssociateApiCommandInput;
28
+ constructor(input: AssociateApiCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateApiCommandInput, AssociateApiCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -20,7 +20,7 @@ export interface CreateApiCacheCommandOutput extends CreateApiCacheResponse, __M
20
20
  *
21
21
  * @see {@link CreateApiCacheCommandInput} for command's `input` shape.
22
22
  * @see {@link CreateApiCacheCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreateApiCacheCommand extends $Command<CreateApiCacheCommandInput, CreateApiCacheCommandOutput, AppSyncClientResolvedConfig> {
@@ -7,8 +7,7 @@ export interface CreateApiKeyCommandInput extends CreateApiKeyRequest {
7
7
  export interface CreateApiKeyCommandOutput extends CreateApiKeyResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a unique key that you can distribute to clients who are executing your
11
- * API.</p>
10
+ * <p>Creates a unique key that you can distribute to clients who invoke your API.</p>
12
11
  * @example
13
12
  * Use a bare-bones client and the command you need to make an API call.
14
13
  * ```javascript
@@ -21,7 +20,7 @@ export interface CreateApiKeyCommandOutput extends CreateApiKeyResponse, __Metad
21
20
  *
22
21
  * @see {@link CreateApiKeyCommandInput} for command's `input` shape.
23
22
  * @see {@link CreateApiKeyCommandOutput} for command's `response` shape.
24
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
25
24
  *
26
25
  */
27
26
  export declare class CreateApiKeyCommand extends $Command<CreateApiKeyCommandInput, CreateApiKeyCommandOutput, AppSyncClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
20
20
  *
21
21
  * @see {@link CreateDataSourceCommandInput} for command's `input` shape.
22
22
  * @see {@link CreateDataSourceCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreateDataSourceCommand extends $Command<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, AppSyncClientResolvedConfig> {
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
4
+ import { CreateDomainNameRequest, CreateDomainNameResponse } from "../models/models_0";
5
+ export interface CreateDomainNameCommandInput extends CreateDomainNameRequest {
6
+ }
7
+ export interface CreateDomainNameCommandOutput extends CreateDomainNameResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates a custom <code>DomainName</code> object.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AppSyncClient, CreateDomainNameCommand } from "@aws-sdk/client-appsync"; // ES Modules import
15
+ * // const { AppSyncClient, CreateDomainNameCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
16
+ * const client = new AppSyncClient(config);
17
+ * const command = new CreateDomainNameCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link CreateDomainNameCommandInput} for command's `input` shape.
22
+ * @see {@link CreateDomainNameCommandOutput} for command's `response` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class CreateDomainNameCommand extends $Command<CreateDomainNameCommandInput, CreateDomainNameCommandOutput, AppSyncClientResolvedConfig> {
27
+ readonly input: CreateDomainNameCommandInput;
28
+ constructor(input: CreateDomainNameCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDomainNameCommandInput, CreateDomainNameCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -8,7 +8,7 @@ export interface CreateFunctionCommandOutput extends CreateFunctionResponse, __M
8
8
  }
9
9
  /**
10
10
  * <p>Creates a <code>Function</code> object.</p>
11
- * <p>A function is a reusable entity. Multiple functions can be used to compose the resolver
11
+ * <p>A function is a reusable entity. You can use multiple functions to compose the resolver
12
12
  * logic.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -22,7 +22,7 @@ export interface CreateFunctionCommandOutput extends CreateFunctionResponse, __M
22
22
  *
23
23
  * @see {@link CreateFunctionCommandInput} for command's `input` shape.
24
24
  * @see {@link CreateFunctionCommandOutput} for command's `response` shape.
25
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class CreateFunctionCommand extends $Command<CreateFunctionCommandInput, CreateFunctionCommandOutput, AppSyncClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface CreateGraphqlApiCommandOutput extends CreateGraphqlApiResponse,
20
20
  *
21
21
  * @see {@link CreateGraphqlApiCommandInput} for command's `input` shape.
22
22
  * @see {@link CreateGraphqlApiCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreateGraphqlApiCommand extends $Command<CreateGraphqlApiCommandInput, CreateGraphqlApiCommandOutput, AppSyncClientResolvedConfig> {
@@ -8,7 +8,7 @@ export interface CreateResolverCommandOutput extends CreateResolverResponse, __M
8
8
  }
9
9
  /**
10
10
  * <p>Creates a <code>Resolver</code> object.</p>
11
- * <p>A resolver converts incoming requests into a format that a data source can understand
11
+ * <p>A resolver converts incoming requests into a format that a data source can understand,
12
12
  * and converts the data source's responses into GraphQL.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -22,7 +22,7 @@ export interface CreateResolverCommandOutput extends CreateResolverResponse, __M
22
22
  *
23
23
  * @see {@link CreateResolverCommandInput} for command's `input` shape.
24
24
  * @see {@link CreateResolverCommandOutput} for command's `response` shape.
25
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class CreateResolverCommand extends $Command<CreateResolverCommandInput, CreateResolverCommandOutput, AppSyncClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface CreateTypeCommandOutput extends CreateTypeResponse, __MetadataB
20
20
  *
21
21
  * @see {@link CreateTypeCommandInput} for command's `input` shape.
22
22
  * @see {@link CreateTypeCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreateTypeCommand extends $Command<CreateTypeCommandInput, CreateTypeCommandOutput, AppSyncClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteApiCacheCommandOutput extends DeleteApiCacheResponse, __M
20
20
  *
21
21
  * @see {@link DeleteApiCacheCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteApiCacheCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteApiCacheCommand extends $Command<DeleteApiCacheCommandInput, DeleteApiCacheCommandOutput, AppSyncClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteApiKeyCommandOutput extends DeleteApiKeyResponse, __Metad
20
20
  *
21
21
  * @see {@link DeleteApiKeyCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteApiKeyCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteApiKeyCommand extends $Command<DeleteApiKeyCommandInput, DeleteApiKeyCommandOutput, AppSyncClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteDataSourceCommandOutput extends DeleteDataSourceResponse,
20
20
  *
21
21
  * @see {@link DeleteDataSourceCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteDataSourceCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteDataSourceCommand extends $Command<DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput, AppSyncClientResolvedConfig> {
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
4
+ import { DeleteDomainNameRequest, DeleteDomainNameResponse } from "../models/models_0";
5
+ export interface DeleteDomainNameCommandInput extends DeleteDomainNameRequest {
6
+ }
7
+ export interface DeleteDomainNameCommandOutput extends DeleteDomainNameResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes a custom <code>DomainName</code> object.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AppSyncClient, DeleteDomainNameCommand } from "@aws-sdk/client-appsync"; // ES Modules import
15
+ * // const { AppSyncClient, DeleteDomainNameCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
16
+ * const client = new AppSyncClient(config);
17
+ * const command = new DeleteDomainNameCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeleteDomainNameCommandInput} for command's `input` shape.
22
+ * @see {@link DeleteDomainNameCommandOutput} for command's `response` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DeleteDomainNameCommand extends $Command<DeleteDomainNameCommandInput, DeleteDomainNameCommandOutput, AppSyncClientResolvedConfig> {
27
+ readonly input: DeleteDomainNameCommandInput;
28
+ constructor(input: DeleteDomainNameCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDomainNameCommandInput, DeleteDomainNameCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -20,7 +20,7 @@ export interface DeleteFunctionCommandOutput extends DeleteFunctionResponse, __M
20
20
  *
21
21
  * @see {@link DeleteFunctionCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteFunctionCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteFunctionCommand extends $Command<DeleteFunctionCommandInput, DeleteFunctionCommandOutput, AppSyncClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteGraphqlApiCommandOutput extends DeleteGraphqlApiResponse,
20
20
  *
21
21
  * @see {@link DeleteGraphqlApiCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteGraphqlApiCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteGraphqlApiCommand extends $Command<DeleteGraphqlApiCommandInput, DeleteGraphqlApiCommandOutput, AppSyncClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteResolverCommandOutput extends DeleteResolverResponse, __M
20
20
  *
21
21
  * @see {@link DeleteResolverCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteResolverCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteResolverCommand extends $Command<DeleteResolverCommandInput, DeleteResolverCommandOutput, AppSyncClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteTypeCommandOutput extends DeleteTypeResponse, __MetadataB
20
20
  *
21
21
  * @see {@link DeleteTypeCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteTypeCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteTypeCommand extends $Command<DeleteTypeCommandInput, DeleteTypeCommandOutput, AppSyncClientResolvedConfig> {
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
4
+ import { DisassociateApiRequest, DisassociateApiResponse } from "../models/models_0";
5
+ export interface DisassociateApiCommandInput extends DisassociateApiRequest {
6
+ }
7
+ export interface DisassociateApiCommandOutput extends DisassociateApiResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Removes an <code>ApiAssociation</code> object from a custom domain.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AppSyncClient, DisassociateApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
15
+ * // const { AppSyncClient, DisassociateApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
16
+ * const client = new AppSyncClient(config);
17
+ * const command = new DisassociateApiCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DisassociateApiCommandInput} for command's `input` shape.
22
+ * @see {@link DisassociateApiCommandOutput} for command's `response` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DisassociateApiCommand extends $Command<DisassociateApiCommandInput, DisassociateApiCommandOutput, AppSyncClientResolvedConfig> {
27
+ readonly input: DisassociateApiCommandInput;
28
+ constructor(input: DisassociateApiCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateApiCommandInput, DisassociateApiCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -20,7 +20,7 @@ export interface FlushApiCacheCommandOutput extends FlushApiCacheResponse, __Met
20
20
  *
21
21
  * @see {@link FlushApiCacheCommandInput} for command's `input` shape.
22
22
  * @see {@link FlushApiCacheCommandOutput} for command's `response` shape.
23
- * @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class FlushApiCacheCommand extends $Command<FlushApiCacheCommandInput, FlushApiCacheCommandOutput, AppSyncClientResolvedConfig> {
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
4
+ import { GetApiAssociationRequest, GetApiAssociationResponse } from "../models/models_0";
5
+ export interface GetApiAssociationCommandInput extends GetApiAssociationRequest {
6
+ }
7
+ export interface GetApiAssociationCommandOutput extends GetApiAssociationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves an <code>ApiAssociation</code> object.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AppSyncClient, GetApiAssociationCommand } from "@aws-sdk/client-appsync"; // ES Modules import
15
+ * // const { AppSyncClient, GetApiAssociationCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
16
+ * const client = new AppSyncClient(config);
17
+ * const command = new GetApiAssociationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetApiAssociationCommandInput} for command's `input` shape.
22
+ * @see {@link GetApiAssociationCommandOutput} for command's `response` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetApiAssociationCommand extends $Command<GetApiAssociationCommandInput, GetApiAssociationCommandOutput, AppSyncClientResolvedConfig> {
27
+ readonly input: GetApiAssociationCommandInput;
28
+ constructor(input: GetApiAssociationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetApiAssociationCommandInput, GetApiAssociationCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }