@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.
- package/CHANGELOG.md +48 -0
- package/README.md +7 -7
- package/dist-cjs/AppSync.js +120 -0
- package/dist-cjs/commands/AssociateApiCommand.js +36 -0
- package/dist-cjs/commands/CreateDomainNameCommand.js +36 -0
- package/dist-cjs/commands/DeleteDomainNameCommand.js +36 -0
- package/dist-cjs/commands/DisassociateApiCommand.js +36 -0
- package/dist-cjs/commands/GetApiAssociationCommand.js +36 -0
- package/dist-cjs/commands/GetDomainNameCommand.js +36 -0
- package/dist-cjs/commands/ListDomainNamesCommand.js +36 -0
- package/dist-cjs/commands/UpdateDomainNameCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +113 -65
- package/dist-cjs/protocols/Aws_restJson1.js +917 -93
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/AppSync.js +120 -0
- package/dist-es/commands/AssociateApiCommand.js +39 -0
- package/dist-es/commands/CreateDomainNameCommand.js +39 -0
- package/dist-es/commands/DeleteDomainNameCommand.js +39 -0
- package/dist-es/commands/DisassociateApiCommand.js +39 -0
- package/dist-es/commands/GetApiAssociationCommand.js +39 -0
- package/dist-es/commands/GetDomainNameCommand.js +39 -0
- package/dist-es/commands/ListDomainNamesCommand.js +39 -0
- package/dist-es/commands/UpdateDomainNameCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +78 -44
- package/dist-es/protocols/Aws_restJson1.js +1048 -91
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/AppSync.d.ts +60 -5
- package/dist-types/AppSyncClient.d.ts +15 -3
- package/dist-types/commands/AssociateApiCommand.d.ts +35 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -2
- package/dist-types/commands/CreateDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
- package/dist-types/commands/CreateResolverCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateApiCommand.d.ts +35 -0
- package/dist-types/commands/GetApiAssociationCommand.d.ts +35 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/ListDomainNamesCommand.d.ts +35 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +556 -299
- package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/AppSync.d.ts +40 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +13 -3
- package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +201 -60
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- 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.
|
|
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";
|