@aws-sdk/client-connectcases 3.184.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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +210 -0
- package/dist-cjs/ConnectCases.js +442 -0
- package/dist-cjs/ConnectCasesClient.js +37 -0
- package/dist-cjs/commands/BatchGetFieldCommand.js +36 -0
- package/dist-cjs/commands/BatchPutFieldOptionsCommand.js +36 -0
- package/dist-cjs/commands/CreateCaseCommand.js +36 -0
- package/dist-cjs/commands/CreateDomainCommand.js +36 -0
- package/dist-cjs/commands/CreateFieldCommand.js +36 -0
- package/dist-cjs/commands/CreateLayoutCommand.js +36 -0
- package/dist-cjs/commands/CreateRelatedItemCommand.js +36 -0
- package/dist-cjs/commands/CreateTemplateCommand.js +36 -0
- package/dist-cjs/commands/GetCaseCommand.js +36 -0
- package/dist-cjs/commands/GetCaseEventConfigurationCommand.js +36 -0
- package/dist-cjs/commands/GetDomainCommand.js +36 -0
- package/dist-cjs/commands/GetLayoutCommand.js +36 -0
- package/dist-cjs/commands/GetTemplateCommand.js +36 -0
- package/dist-cjs/commands/ListCasesForContactCommand.js +36 -0
- package/dist-cjs/commands/ListDomainsCommand.js +36 -0
- package/dist-cjs/commands/ListFieldOptionsCommand.js +36 -0
- package/dist-cjs/commands/ListFieldsCommand.js +36 -0
- package/dist-cjs/commands/ListLayoutsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/ListTemplatesCommand.js +36 -0
- package/dist-cjs/commands/PutCaseEventConfigurationCommand.js +36 -0
- package/dist-cjs/commands/SearchCasesCommand.js +36 -0
- package/dist-cjs/commands/SearchRelatedItemsCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateCaseCommand.js +36 -0
- package/dist-cjs/commands/UpdateFieldCommand.js +36 -0
- package/dist-cjs/commands/UpdateLayoutCommand.js +36 -0
- package/dist-cjs/commands/UpdateTemplateCommand.js +36 -0
- package/dist-cjs/commands/index.js +32 -0
- package/dist-cjs/endpoints.js +132 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/ConnectCasesServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +661 -0
- package/dist-cjs/pagination/GetCasePaginator.js +35 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListCasesForContactPaginator.js +36 -0
- package/dist-cjs/pagination/ListDomainsPaginator.js +36 -0
- package/dist-cjs/pagination/ListFieldOptionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListFieldsPaginator.js +36 -0
- package/dist-cjs/pagination/ListLayoutsPaginator.js +36 -0
- package/dist-cjs/pagination/ListTemplatesPaginator.js +36 -0
- package/dist-cjs/pagination/SearchCasesPaginator.js +36 -0
- package/dist-cjs/pagination/SearchRelatedItemsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2920 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/ConnectCases.js +438 -0
- package/dist-es/ConnectCasesClient.js +33 -0
- package/dist-es/commands/BatchGetFieldCommand.js +32 -0
- package/dist-es/commands/BatchPutFieldOptionsCommand.js +32 -0
- package/dist-es/commands/CreateCaseCommand.js +32 -0
- package/dist-es/commands/CreateDomainCommand.js +32 -0
- package/dist-es/commands/CreateFieldCommand.js +32 -0
- package/dist-es/commands/CreateLayoutCommand.js +32 -0
- package/dist-es/commands/CreateRelatedItemCommand.js +32 -0
- package/dist-es/commands/CreateTemplateCommand.js +32 -0
- package/dist-es/commands/GetCaseCommand.js +32 -0
- package/dist-es/commands/GetCaseEventConfigurationCommand.js +32 -0
- package/dist-es/commands/GetDomainCommand.js +32 -0
- package/dist-es/commands/GetLayoutCommand.js +32 -0
- package/dist-es/commands/GetTemplateCommand.js +32 -0
- package/dist-es/commands/ListCasesForContactCommand.js +32 -0
- package/dist-es/commands/ListDomainsCommand.js +32 -0
- package/dist-es/commands/ListFieldOptionsCommand.js +32 -0
- package/dist-es/commands/ListFieldsCommand.js +32 -0
- package/dist-es/commands/ListLayoutsCommand.js +32 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +32 -0
- package/dist-es/commands/ListTemplatesCommand.js +32 -0
- package/dist-es/commands/PutCaseEventConfigurationCommand.js +32 -0
- package/dist-es/commands/SearchCasesCommand.js +32 -0
- package/dist-es/commands/SearchRelatedItemsCommand.js +32 -0
- package/dist-es/commands/TagResourceCommand.js +32 -0
- package/dist-es/commands/UntagResourceCommand.js +32 -0
- package/dist-es/commands/UpdateCaseCommand.js +32 -0
- package/dist-es/commands/UpdateFieldCommand.js +32 -0
- package/dist-es/commands/UpdateLayoutCommand.js +32 -0
- package/dist-es/commands/UpdateTemplateCommand.js +32 -0
- package/dist-es/commands/index.js +29 -0
- package/dist-es/endpoints.js +128 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/ConnectCasesServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +556 -0
- package/dist-es/pagination/GetCasePaginator.js +31 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCasesForContactPaginator.js +32 -0
- package/dist-es/pagination/ListDomainsPaginator.js +32 -0
- package/dist-es/pagination/ListFieldOptionsPaginator.js +32 -0
- package/dist-es/pagination/ListFieldsPaginator.js +32 -0
- package/dist-es/pagination/ListLayoutsPaginator.js +32 -0
- package/dist-es/pagination/ListTemplatesPaginator.js +32 -0
- package/dist-es/pagination/SearchCasesPaginator.js +32 -0
- package/dist-es/pagination/SearchRelatedItemsPaginator.js +32 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +2853 -0
- package/dist-es/runtimeConfig.browser.js +40 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-types/ConnectCases.d.ts +276 -0
- package/dist-types/ConnectCasesClient.d.ts +178 -0
- package/dist-types/commands/BatchGetFieldCommand.d.ts +35 -0
- package/dist-types/commands/BatchPutFieldOptionsCommand.d.ts +36 -0
- package/dist-types/commands/CreateCaseCommand.d.ts +40 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +42 -0
- package/dist-types/commands/CreateFieldCommand.d.ts +36 -0
- package/dist-types/commands/CreateLayoutCommand.d.ts +48 -0
- package/dist-types/commands/CreateRelatedItemCommand.d.ts +43 -0
- package/dist-types/commands/CreateTemplateCommand.d.ts +38 -0
- package/dist-types/commands/GetCaseCommand.d.ts +35 -0
- package/dist-types/commands/GetCaseEventConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/GetDomainCommand.d.ts +35 -0
- package/dist-types/commands/GetLayoutCommand.d.ts +35 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +35 -0
- package/dist-types/commands/ListCasesForContactCommand.d.ts +35 -0
- package/dist-types/commands/ListDomainsCommand.d.ts +36 -0
- package/dist-types/commands/ListFieldOptionsCommand.d.ts +35 -0
- package/dist-types/commands/ListFieldsCommand.d.ts +35 -0
- package/dist-types/commands/ListLayoutsCommand.d.ts +36 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +36 -0
- package/dist-types/commands/PutCaseEventConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/SearchCasesCommand.d.ts +36 -0
- package/dist-types/commands/SearchRelatedItemsCommand.d.ts +39 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateCaseCommand.d.ts +38 -0
- package/dist-types/commands/UpdateFieldCommand.d.ts +35 -0
- package/dist-types/commands/UpdateLayoutCommand.d.ts +43 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +29 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/ConnectCasesServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1985 -0
- package/dist-types/pagination/GetCasePaginator.d.ts +4 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListCasesForContactPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDomainsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFieldOptionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFieldsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLayoutsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTemplatesPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchCasesPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchRelatedItemsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +89 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/ConnectCases.d.ts +497 -0
- package/dist-types/ts3.4/ConnectCasesClient.d.ts +279 -0
- package/dist-types/ts3.4/commands/BatchGetFieldCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/BatchPutFieldOptionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateCaseCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/CreateFieldCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/CreateLayoutCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/CreateRelatedItemCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetCaseCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/GetCaseEventConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/GetLayoutCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/ListCasesForContactCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/ListFieldOptionsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListFieldsCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/ListLayoutsCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/PutCaseEventConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchCasesCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/SearchRelatedItemsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateCaseCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UpdateFieldCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UpdateLayoutCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +29 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/ConnectCasesServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +988 -0
- package/dist-types/ts3.4/pagination/GetCasePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListCasesForContactPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDomainsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFieldOptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFieldsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLayoutsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchCasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchRelatedItemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +353 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +67 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +67 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +68 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -0
- package/package.json +102 -0
|
@@ -0,0 +1,36 @@
|
|
|
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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { ListLayoutsRequest, ListLayoutsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListLayoutsCommandInput extends ListLayoutsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListLayoutsCommandOutput extends ListLayoutsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists all layouts in the given cases domain. Each list item is a condensed summary object
|
|
11
|
+
* of the layout.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ConnectCasesClient, ListLayoutsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
16
|
+
* // const { ConnectCasesClient, ListLayoutsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
17
|
+
* const client = new ConnectCasesClient(config);
|
|
18
|
+
* const command = new ListLayoutsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListLayoutsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListLayoutsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListLayoutsCommand extends $Command<ListLayoutsCommandInput, ListLayoutsCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
28
|
+
readonly input: ListLayoutsCommandInput;
|
|
29
|
+
constructor(input: ListLayoutsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLayoutsCommandInput, ListLayoutsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists tags for a resource.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, ListTagsForResourceCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, ListTagsForResourceCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
28
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { ListTemplatesRequest, ListTemplatesResponse } from "../models/models_0";
|
|
5
|
+
export interface ListTemplatesCommandInput extends ListTemplatesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListTemplatesCommandOutput extends ListTemplatesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists all of the templates in a Cases domain. Each list item is a condensed summary
|
|
11
|
+
* object of the template. </p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ConnectCasesClient, ListTemplatesCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
16
|
+
* // const { ConnectCasesClient, ListTemplatesCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
17
|
+
* const client = new ConnectCasesClient(config);
|
|
18
|
+
* const command = new ListTemplatesCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListTemplatesCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListTemplatesCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListTemplatesCommand extends $Command<ListTemplatesCommandInput, ListTemplatesCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
28
|
+
readonly input: ListTemplatesCommandInput;
|
|
29
|
+
constructor(input: ListTemplatesCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTemplatesCommandInput, ListTemplatesCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { PutCaseEventConfigurationRequest, PutCaseEventConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface PutCaseEventConfigurationCommandInput extends PutCaseEventConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutCaseEventConfigurationCommandOutput extends PutCaseEventConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>API for adding case event publishing configuration</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, PutCaseEventConfigurationCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, PutCaseEventConfigurationCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new PutCaseEventConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link PutCaseEventConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link PutCaseEventConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class PutCaseEventConfigurationCommand extends $Command<PutCaseEventConfigurationCommandInput, PutCaseEventConfigurationCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: PutCaseEventConfigurationCommandInput;
|
|
28
|
+
constructor(input: PutCaseEventConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutCaseEventConfigurationCommandInput, PutCaseEventConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { SearchCasesRequest, SearchCasesResponse } from "../models/models_0";
|
|
5
|
+
export interface SearchCasesCommandInput extends SearchCasesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SearchCasesCommandOutput extends SearchCasesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Searches for cases within their associated Cases domain. Search results are returned
|
|
11
|
+
* as a paginated list of abridged case documents.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ConnectCasesClient, SearchCasesCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
16
|
+
* // const { ConnectCasesClient, SearchCasesCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
17
|
+
* const client = new ConnectCasesClient(config);
|
|
18
|
+
* const command = new SearchCasesCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link SearchCasesCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link SearchCasesCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class SearchCasesCommand extends $Command<SearchCasesCommandInput, SearchCasesCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
28
|
+
readonly input: SearchCasesCommandInput;
|
|
29
|
+
constructor(input: SearchCasesCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchCasesCommandInput, SearchCasesCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { SearchRelatedItemsRequest, SearchRelatedItemsResponse } from "../models/models_0";
|
|
5
|
+
export interface SearchRelatedItemsCommandInput extends SearchRelatedItemsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SearchRelatedItemsCommandOutput extends SearchRelatedItemsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Searches for related items that are associated with a case.</p>
|
|
11
|
+
* <note>
|
|
12
|
+
* <p>If no filters are provided, this returns all related items associated with a
|
|
13
|
+
* case.</p>
|
|
14
|
+
* </note>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { ConnectCasesClient, SearchRelatedItemsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
19
|
+
* // const { ConnectCasesClient, SearchRelatedItemsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
20
|
+
* const client = new ConnectCasesClient(config);
|
|
21
|
+
* const command = new SearchRelatedItemsCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link SearchRelatedItemsCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link SearchRelatedItemsCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class SearchRelatedItemsCommand extends $Command<SearchRelatedItemsCommandInput, SearchRelatedItemsCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
31
|
+
readonly input: SearchRelatedItemsCommandInput;
|
|
32
|
+
constructor(input: SearchRelatedItemsCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchRelatedItemsCommandInput, SearchRelatedItemsCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { TagResourceRequest } from "../models/models_0";
|
|
5
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Adds tags to a resource.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, TagResourceCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, TagResourceCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new TagResourceCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: TagResourceCommandInput;
|
|
28
|
+
constructor(input: TagResourceCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { UntagResourceRequest } from "../models/models_0";
|
|
5
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Untags a resource.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, UntagResourceCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, UntagResourceCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new UntagResourceCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: UntagResourceCommandInput;
|
|
28
|
+
constructor(input: UntagResourceCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { UpdateCaseRequest, UpdateCaseResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateCaseCommandInput extends UpdateCaseRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateCaseCommandOutput extends UpdateCaseResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the values of fields on a case. Fields to be updated are
|
|
11
|
+
* received as an array of id/value pairs identical to the <code>CreateCase</code> input .</p>
|
|
12
|
+
* <p>If the action is successful, the service sends back an HTTP 200 response with an empty
|
|
13
|
+
* HTTP body.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { ConnectCasesClient, UpdateCaseCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
18
|
+
* // const { ConnectCasesClient, UpdateCaseCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
19
|
+
* const client = new ConnectCasesClient(config);
|
|
20
|
+
* const command = new UpdateCaseCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link UpdateCaseCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link UpdateCaseCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class UpdateCaseCommand extends $Command<UpdateCaseCommandInput, UpdateCaseCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
30
|
+
readonly input: UpdateCaseCommandInput;
|
|
31
|
+
constructor(input: UpdateCaseCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateCaseCommandInput, UpdateCaseCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { UpdateFieldRequest, UpdateFieldResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateFieldCommandInput extends UpdateFieldRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateFieldCommandOutput extends UpdateFieldResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the properties of an existing field. </p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, UpdateFieldCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, UpdateFieldCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new UpdateFieldCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateFieldCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateFieldCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateFieldCommand extends $Command<UpdateFieldCommandInput, UpdateFieldCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateFieldCommandInput;
|
|
28
|
+
constructor(input: UpdateFieldCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateFieldCommandInput, UpdateFieldCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { UpdateLayoutRequest, UpdateLayoutResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateLayoutCommandInput extends UpdateLayoutRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateLayoutCommandOutput extends UpdateLayoutResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the attributes of an existing layout.</p>
|
|
11
|
+
* <p>If the action is successful, the service sends back an HTTP 200 response with an empty
|
|
12
|
+
* HTTP body.</p>
|
|
13
|
+
* <p>A <code>ValidationException</code> is returned when you add non-existent
|
|
14
|
+
* <code>fieldIds</code> to a layout.</p>
|
|
15
|
+
* <note>
|
|
16
|
+
* <p>Title and Status fields cannot be part of layouts because they are not
|
|
17
|
+
* configurable.</p>
|
|
18
|
+
* </note>
|
|
19
|
+
* @example
|
|
20
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
+
* ```javascript
|
|
22
|
+
* import { ConnectCasesClient, UpdateLayoutCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
23
|
+
* // const { ConnectCasesClient, UpdateLayoutCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
24
|
+
* const client = new ConnectCasesClient(config);
|
|
25
|
+
* const command = new UpdateLayoutCommand(input);
|
|
26
|
+
* const response = await client.send(command);
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @see {@link UpdateLayoutCommandInput} for command's `input` shape.
|
|
30
|
+
* @see {@link UpdateLayoutCommandOutput} for command's `response` shape.
|
|
31
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare class UpdateLayoutCommand extends $Command<UpdateLayoutCommandInput, UpdateLayoutCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
35
|
+
readonly input: UpdateLayoutCommandInput;
|
|
36
|
+
constructor(input: UpdateLayoutCommandInput);
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateLayoutCommandInput, UpdateLayoutCommandOutput>;
|
|
41
|
+
private serialize;
|
|
42
|
+
private deserialize;
|
|
43
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { UpdateTemplateRequest, UpdateTemplateResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateTemplateCommandInput extends UpdateTemplateRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the attributes of an existing template. The template attributes that can be
|
|
11
|
+
* modified include <code>name</code>, <code>description</code>, <code>layouts</code>,
|
|
12
|
+
* and <code>requiredFields</code>. At least one of these
|
|
13
|
+
* attributes must not be null. If a null value is provided for a given attribute, that attribute
|
|
14
|
+
* is ignored and its current value is preserved.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { ConnectCasesClient, UpdateTemplateCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
19
|
+
* // const { ConnectCasesClient, UpdateTemplateCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
20
|
+
* const client = new ConnectCasesClient(config);
|
|
21
|
+
* const command = new UpdateTemplateCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link UpdateTemplateCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link UpdateTemplateCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class UpdateTemplateCommand extends $Command<UpdateTemplateCommandInput, UpdateTemplateCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
31
|
+
readonly input: UpdateTemplateCommandInput;
|
|
32
|
+
constructor(input: UpdateTemplateCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTemplateCommandInput, UpdateTemplateCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * from "./BatchGetFieldCommand";
|
|
2
|
+
export * from "./BatchPutFieldOptionsCommand";
|
|
3
|
+
export * from "./CreateCaseCommand";
|
|
4
|
+
export * from "./CreateDomainCommand";
|
|
5
|
+
export * from "./CreateFieldCommand";
|
|
6
|
+
export * from "./CreateLayoutCommand";
|
|
7
|
+
export * from "./CreateRelatedItemCommand";
|
|
8
|
+
export * from "./CreateTemplateCommand";
|
|
9
|
+
export * from "./GetCaseCommand";
|
|
10
|
+
export * from "./GetCaseEventConfigurationCommand";
|
|
11
|
+
export * from "./GetDomainCommand";
|
|
12
|
+
export * from "./GetLayoutCommand";
|
|
13
|
+
export * from "./GetTemplateCommand";
|
|
14
|
+
export * from "./ListCasesForContactCommand";
|
|
15
|
+
export * from "./ListDomainsCommand";
|
|
16
|
+
export * from "./ListFieldOptionsCommand";
|
|
17
|
+
export * from "./ListFieldsCommand";
|
|
18
|
+
export * from "./ListLayoutsCommand";
|
|
19
|
+
export * from "./ListTagsForResourceCommand";
|
|
20
|
+
export * from "./ListTemplatesCommand";
|
|
21
|
+
export * from "./PutCaseEventConfigurationCommand";
|
|
22
|
+
export * from "./SearchCasesCommand";
|
|
23
|
+
export * from "./SearchRelatedItemsCommand";
|
|
24
|
+
export * from "./TagResourceCommand";
|
|
25
|
+
export * from "./UntagResourceCommand";
|
|
26
|
+
export * from "./UpdateCaseCommand";
|
|
27
|
+
export * from "./UpdateFieldCommand";
|
|
28
|
+
export * from "./UpdateLayoutCommand";
|
|
29
|
+
export * from "./UpdateTemplateCommand";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from ConnectCases service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ConnectCasesServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|