@aws-sdk/client-appsync 3.41.0 → 3.46.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 (61) hide show
  1. package/CHANGELOG.md +45 -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 +917 -93
  16. package/dist-cjs/runtimeConfig.js +0 -2
  17. package/dist-es/AppSync.js +120 -0
  18. package/dist-es/commands/AssociateApiCommand.js +39 -0
  19. package/dist-es/commands/CreateDomainNameCommand.js +39 -0
  20. package/dist-es/commands/DeleteDomainNameCommand.js +39 -0
  21. package/dist-es/commands/DisassociateApiCommand.js +39 -0
  22. package/dist-es/commands/GetApiAssociationCommand.js +39 -0
  23. package/dist-es/commands/GetDomainNameCommand.js +39 -0
  24. package/dist-es/commands/ListDomainNamesCommand.js +39 -0
  25. package/dist-es/commands/UpdateDomainNameCommand.js +39 -0
  26. package/dist-es/commands/index.js +8 -0
  27. package/dist-es/endpoints.js +1 -0
  28. package/dist-es/models/models_0.js +90 -12
  29. package/dist-es/protocols/Aws_restJson1.js +1048 -91
  30. package/dist-es/runtimeConfig.js +0 -2
  31. package/dist-types/AppSync.d.ts +60 -5
  32. package/dist-types/AppSyncClient.d.ts +10 -2
  33. package/dist-types/commands/AssociateApiCommand.d.ts +35 -0
  34. package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -2
  35. package/dist-types/commands/CreateDomainNameCommand.d.ts +35 -0
  36. package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateResolverCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteDomainNameCommand.d.ts +35 -0
  39. package/dist-types/commands/DisassociateApiCommand.d.ts +35 -0
  40. package/dist-types/commands/GetApiAssociationCommand.d.ts +35 -0
  41. package/dist-types/commands/GetDomainNameCommand.d.ts +35 -0
  42. package/dist-types/commands/ListDomainNamesCommand.d.ts +35 -0
  43. package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateDomainNameCommand.d.ts +35 -0
  45. package/dist-types/commands/index.d.ts +8 -0
  46. package/dist-types/models/models_0.d.ts +578 -255
  47. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  48. package/dist-types/ts3.4/AppSync.d.ts +40 -0
  49. package/dist-types/ts3.4/AppSyncClient.d.ts +10 -2
  50. package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +215 -30
  60. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  61. package/package.json +36 -43
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
15
  export var getRuntimeConfig = function (config) {
17
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
17
  var clientSharedValues = getSharedRuntimeConfig(config);
20
18
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
19
  };
@@ -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
+ }
@@ -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
@@ -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.
@@ -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.
@@ -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
+ }
@@ -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
+ }
@@ -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
+ }
@@ -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 { GetDomainNameRequest, GetDomainNameResponse } from "../models/models_0";
5
+ export interface GetDomainNameCommandInput extends GetDomainNameRequest {
6
+ }
7
+ export interface GetDomainNameCommandOutput extends GetDomainNameResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves 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, GetDomainNameCommand } from "@aws-sdk/client-appsync"; // ES Modules import
15
+ * // const { AppSyncClient, GetDomainNameCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
16
+ * const client = new AppSyncClient(config);
17
+ * const command = new GetDomainNameCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetDomainNameCommandInput} for command's `input` shape.
22
+ * @see {@link GetDomainNameCommandOutput} for command's `response` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetDomainNameCommand extends $Command<GetDomainNameCommandInput, GetDomainNameCommandOutput, AppSyncClientResolvedConfig> {
27
+ readonly input: GetDomainNameCommandInput;
28
+ constructor(input: GetDomainNameCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDomainNameCommandInput, GetDomainNameCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -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 { ListDomainNamesRequest, ListDomainNamesResponse } from "../models/models_0";
5
+ export interface ListDomainNamesCommandInput extends ListDomainNamesRequest {
6
+ }
7
+ export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists multiple custom domain names.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AppSyncClient, ListDomainNamesCommand } from "@aws-sdk/client-appsync"; // ES Modules import
15
+ * // const { AppSyncClient, ListDomainNamesCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
16
+ * const client = new AppSyncClient(config);
17
+ * const command = new ListDomainNamesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListDomainNamesCommandInput} for command's `input` shape.
22
+ * @see {@link ListDomainNamesCommandOutput} for command's `response` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListDomainNamesCommand extends $Command<ListDomainNamesCommandInput, ListDomainNamesCommandOutput, AppSyncClientResolvedConfig> {
27
+ readonly input: ListDomainNamesCommandInput;
28
+ constructor(input: ListDomainNamesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDomainNamesCommandInput, ListDomainNamesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -7,7 +7,7 @@ export interface UpdateApiKeyCommandInput extends UpdateApiKeyRequest {
7
7
  export interface UpdateApiKeyCommandOutput extends UpdateApiKeyResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates an API key. The key can be updated while it is not deleted.</p>
10
+ * <p>Updates an API key. You can update the key as long as it's not deleted.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -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 { UpdateDomainNameRequest, UpdateDomainNameResponse } from "../models/models_0";
5
+ export interface UpdateDomainNameCommandInput extends UpdateDomainNameRequest {
6
+ }
7
+ export interface UpdateDomainNameCommandOutput extends UpdateDomainNameResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates 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, UpdateDomainNameCommand } from "@aws-sdk/client-appsync"; // ES Modules import
15
+ * // const { AppSyncClient, UpdateDomainNameCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
16
+ * const client = new AppSyncClient(config);
17
+ * const command = new UpdateDomainNameCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateDomainNameCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateDomainNameCommandOutput} for command's `response` shape.
23
+ * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateDomainNameCommand extends $Command<UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput, AppSyncClientResolvedConfig> {
27
+ readonly input: UpdateDomainNameCommandInput;
28
+ constructor(input: UpdateDomainNameCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }