@aws-sdk/client-appsync 3.43.0 → 3.47.1

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 (69) hide show
  1. package/CHANGELOG.md +48 -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 +113 -65
  15. package/dist-cjs/protocols/Aws_restJson1.js +917 -93
  16. package/dist-cjs/runtimeConfig.browser.js +7 -2
  17. package/dist-cjs/runtimeConfig.js +9 -3
  18. package/dist-es/AppSync.js +120 -0
  19. package/dist-es/commands/AssociateApiCommand.js +39 -0
  20. package/dist-es/commands/CreateDomainNameCommand.js +39 -0
  21. package/dist-es/commands/DeleteDomainNameCommand.js +39 -0
  22. package/dist-es/commands/DisassociateApiCommand.js +39 -0
  23. package/dist-es/commands/GetApiAssociationCommand.js +39 -0
  24. package/dist-es/commands/GetDomainNameCommand.js +39 -0
  25. package/dist-es/commands/ListDomainNamesCommand.js +39 -0
  26. package/dist-es/commands/UpdateDomainNameCommand.js +39 -0
  27. package/dist-es/commands/index.js +8 -0
  28. package/dist-es/endpoints.js +1 -0
  29. package/dist-es/models/models_0.js +78 -44
  30. package/dist-es/protocols/Aws_restJson1.js +1048 -91
  31. package/dist-es/runtimeConfig.browser.js +12 -3
  32. package/dist-es/runtimeConfig.js +13 -6
  33. package/dist-types/AppSync.d.ts +60 -5
  34. package/dist-types/AppSyncClient.d.ts +15 -3
  35. package/dist-types/commands/AssociateApiCommand.d.ts +35 -0
  36. package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -2
  37. package/dist-types/commands/CreateDomainNameCommand.d.ts +35 -0
  38. package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateResolverCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteDomainNameCommand.d.ts +35 -0
  41. package/dist-types/commands/DisassociateApiCommand.d.ts +35 -0
  42. package/dist-types/commands/GetApiAssociationCommand.d.ts +35 -0
  43. package/dist-types/commands/GetDomainNameCommand.d.ts +35 -0
  44. package/dist-types/commands/ListDomainNamesCommand.d.ts +35 -0
  45. package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateDomainNameCommand.d.ts +35 -0
  47. package/dist-types/commands/index.d.ts +8 -0
  48. package/dist-types/models/models_0.d.ts +556 -299
  49. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  50. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  51. package/dist-types/runtimeConfig.d.ts +4 -3
  52. package/dist-types/runtimeConfig.native.d.ts +1 -0
  53. package/dist-types/ts3.4/AppSync.d.ts +40 -0
  54. package/dist-types/ts3.4/AppSyncClient.d.ts +13 -3
  55. package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +201 -60
  65. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  66. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  67. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  68. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  69. package/package.json +39 -46
@@ -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
+ }
@@ -1,6 +1,8 @@
1
+ export * from "./AssociateApiCommand";
1
2
  export * from "./CreateApiCacheCommand";
2
3
  export * from "./CreateApiKeyCommand";
3
4
  export * from "./CreateDataSourceCommand";
5
+ export * from "./CreateDomainNameCommand";
4
6
  export * from "./CreateFunctionCommand";
5
7
  export * from "./CreateGraphqlApiCommand";
6
8
  export * from "./CreateResolverCommand";
@@ -8,13 +10,17 @@ export * from "./CreateTypeCommand";
8
10
  export * from "./DeleteApiCacheCommand";
9
11
  export * from "./DeleteApiKeyCommand";
10
12
  export * from "./DeleteDataSourceCommand";
13
+ export * from "./DeleteDomainNameCommand";
11
14
  export * from "./DeleteFunctionCommand";
12
15
  export * from "./DeleteGraphqlApiCommand";
13
16
  export * from "./DeleteResolverCommand";
14
17
  export * from "./DeleteTypeCommand";
18
+ export * from "./DisassociateApiCommand";
15
19
  export * from "./FlushApiCacheCommand";
20
+ export * from "./GetApiAssociationCommand";
16
21
  export * from "./GetApiCacheCommand";
17
22
  export * from "./GetDataSourceCommand";
23
+ export * from "./GetDomainNameCommand";
18
24
  export * from "./GetFunctionCommand";
19
25
  export * from "./GetGraphqlApiCommand";
20
26
  export * from "./GetIntrospectionSchemaCommand";
@@ -23,6 +29,7 @@ export * from "./GetSchemaCreationStatusCommand";
23
29
  export * from "./GetTypeCommand";
24
30
  export * from "./ListApiKeysCommand";
25
31
  export * from "./ListDataSourcesCommand";
32
+ export * from "./ListDomainNamesCommand";
26
33
  export * from "./ListFunctionsCommand";
27
34
  export * from "./ListGraphqlApisCommand";
28
35
  export * from "./ListResolversByFunctionCommand";
@@ -35,6 +42,7 @@ export * from "./UntagResourceCommand";
35
42
  export * from "./UpdateApiCacheCommand";
36
43
  export * from "./UpdateApiKeyCommand";
37
44
  export * from "./UpdateDataSourceCommand";
45
+ export * from "./UpdateDomainNameCommand";
38
46
  export * from "./UpdateFunctionCommand";
39
47
  export * from "./UpdateGraphqlApiCommand";
40
48
  export * from "./UpdateResolverCommand";