@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,32 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { PutCaseEventConfigurationRequestFilterSensitiveLog, PutCaseEventConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
|
+
import { deserializeAws_restJson1PutCaseEventConfigurationCommand, serializeAws_restJson1PutCaseEventConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class PutCaseEventConfigurationCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
9
|
+
}
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
11
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectCasesClient";
|
|
15
|
+
const commandName = "PutCaseEventConfigurationCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
20
|
+
inputFilterSensitiveLog: PutCaseEventConfigurationRequestFilterSensitiveLog,
|
|
21
|
+
outputFilterSensitiveLog: PutCaseEventConfigurationResponseFilterSensitiveLog,
|
|
22
|
+
};
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
27
|
+
return serializeAws_restJson1PutCaseEventConfigurationCommand(input, context);
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
30
|
+
return deserializeAws_restJson1PutCaseEventConfigurationCommand(output, context);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { SearchCasesRequestFilterSensitiveLog, SearchCasesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
|
+
import { deserializeAws_restJson1SearchCasesCommand, serializeAws_restJson1SearchCasesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class SearchCasesCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
9
|
+
}
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
11
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectCasesClient";
|
|
15
|
+
const commandName = "SearchCasesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
20
|
+
inputFilterSensitiveLog: SearchCasesRequestFilterSensitiveLog,
|
|
21
|
+
outputFilterSensitiveLog: SearchCasesResponseFilterSensitiveLog,
|
|
22
|
+
};
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
27
|
+
return serializeAws_restJson1SearchCasesCommand(input, context);
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
30
|
+
return deserializeAws_restJson1SearchCasesCommand(output, context);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { SearchRelatedItemsRequestFilterSensitiveLog, SearchRelatedItemsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
|
+
import { deserializeAws_restJson1SearchRelatedItemsCommand, serializeAws_restJson1SearchRelatedItemsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class SearchRelatedItemsCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
9
|
+
}
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
11
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectCasesClient";
|
|
15
|
+
const commandName = "SearchRelatedItemsCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
20
|
+
inputFilterSensitiveLog: SearchRelatedItemsRequestFilterSensitiveLog,
|
|
21
|
+
outputFilterSensitiveLog: SearchRelatedItemsResponseFilterSensitiveLog,
|
|
22
|
+
};
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
27
|
+
return serializeAws_restJson1SearchRelatedItemsCommand(input, context);
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
30
|
+
return deserializeAws_restJson1SearchRelatedItemsCommand(output, context);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
|
+
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class TagResourceCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
9
|
+
}
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
11
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectCasesClient";
|
|
15
|
+
const commandName = "TagResourceCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
20
|
+
inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
22
|
+
};
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
27
|
+
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
30
|
+
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
|
+
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class UntagResourceCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
9
|
+
}
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
11
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectCasesClient";
|
|
15
|
+
const commandName = "UntagResourceCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
20
|
+
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
22
|
+
};
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
27
|
+
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
30
|
+
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { UpdateCaseRequestFilterSensitiveLog, UpdateCaseResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
|
+
import { deserializeAws_restJson1UpdateCaseCommand, serializeAws_restJson1UpdateCaseCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class UpdateCaseCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
9
|
+
}
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
11
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectCasesClient";
|
|
15
|
+
const commandName = "UpdateCaseCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
20
|
+
inputFilterSensitiveLog: UpdateCaseRequestFilterSensitiveLog,
|
|
21
|
+
outputFilterSensitiveLog: UpdateCaseResponseFilterSensitiveLog,
|
|
22
|
+
};
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
27
|
+
return serializeAws_restJson1UpdateCaseCommand(input, context);
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
30
|
+
return deserializeAws_restJson1UpdateCaseCommand(output, context);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { UpdateFieldRequestFilterSensitiveLog, UpdateFieldResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
|
+
import { deserializeAws_restJson1UpdateFieldCommand, serializeAws_restJson1UpdateFieldCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class UpdateFieldCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
9
|
+
}
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
11
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectCasesClient";
|
|
15
|
+
const commandName = "UpdateFieldCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
20
|
+
inputFilterSensitiveLog: UpdateFieldRequestFilterSensitiveLog,
|
|
21
|
+
outputFilterSensitiveLog: UpdateFieldResponseFilterSensitiveLog,
|
|
22
|
+
};
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
27
|
+
return serializeAws_restJson1UpdateFieldCommand(input, context);
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
30
|
+
return deserializeAws_restJson1UpdateFieldCommand(output, context);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { UpdateLayoutRequestFilterSensitiveLog, UpdateLayoutResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
|
+
import { deserializeAws_restJson1UpdateLayoutCommand, serializeAws_restJson1UpdateLayoutCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class UpdateLayoutCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
9
|
+
}
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
11
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectCasesClient";
|
|
15
|
+
const commandName = "UpdateLayoutCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
20
|
+
inputFilterSensitiveLog: UpdateLayoutRequestFilterSensitiveLog,
|
|
21
|
+
outputFilterSensitiveLog: UpdateLayoutResponseFilterSensitiveLog,
|
|
22
|
+
};
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
27
|
+
return serializeAws_restJson1UpdateLayoutCommand(input, context);
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
30
|
+
return deserializeAws_restJson1UpdateLayoutCommand(output, context);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { UpdateTemplateRequestFilterSensitiveLog, UpdateTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
|
+
import { deserializeAws_restJson1UpdateTemplateCommand, serializeAws_restJson1UpdateTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class UpdateTemplateCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
9
|
+
}
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
11
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ConnectCasesClient";
|
|
15
|
+
const commandName = "UpdateTemplateCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
20
|
+
inputFilterSensitiveLog: UpdateTemplateRequestFilterSensitiveLog,
|
|
21
|
+
outputFilterSensitiveLog: UpdateTemplateResponseFilterSensitiveLog,
|
|
22
|
+
};
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
27
|
+
return serializeAws_restJson1UpdateTemplateCommand(input, context);
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
30
|
+
return deserializeAws_restJson1UpdateTemplateCommand(output, context);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -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,128 @@
|
|
|
1
|
+
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
+
const regionHash = {};
|
|
3
|
+
const partitionHash = {
|
|
4
|
+
aws: {
|
|
5
|
+
regions: [
|
|
6
|
+
"af-south-1",
|
|
7
|
+
"ap-east-1",
|
|
8
|
+
"ap-northeast-1",
|
|
9
|
+
"ap-northeast-2",
|
|
10
|
+
"ap-northeast-3",
|
|
11
|
+
"ap-south-1",
|
|
12
|
+
"ap-southeast-1",
|
|
13
|
+
"ap-southeast-2",
|
|
14
|
+
"ap-southeast-3",
|
|
15
|
+
"ca-central-1",
|
|
16
|
+
"eu-central-1",
|
|
17
|
+
"eu-north-1",
|
|
18
|
+
"eu-south-1",
|
|
19
|
+
"eu-west-1",
|
|
20
|
+
"eu-west-2",
|
|
21
|
+
"eu-west-3",
|
|
22
|
+
"me-central-1",
|
|
23
|
+
"me-south-1",
|
|
24
|
+
"sa-east-1",
|
|
25
|
+
"us-east-1",
|
|
26
|
+
"us-east-2",
|
|
27
|
+
"us-west-1",
|
|
28
|
+
"us-west-2",
|
|
29
|
+
],
|
|
30
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "cases.{region}.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "cases-fips.{region}.amazonaws.com",
|
|
38
|
+
tags: ["fips"],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
hostname: "cases-fips.{region}.api.aws",
|
|
42
|
+
tags: ["dualstack", "fips"],
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
hostname: "cases.{region}.api.aws",
|
|
46
|
+
tags: ["dualstack"],
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
"aws-cn": {
|
|
51
|
+
regions: ["cn-north-1", "cn-northwest-1"],
|
|
52
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
53
|
+
variants: [
|
|
54
|
+
{
|
|
55
|
+
hostname: "cases.{region}.amazonaws.com.cn",
|
|
56
|
+
tags: [],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
hostname: "cases-fips.{region}.amazonaws.com.cn",
|
|
60
|
+
tags: ["fips"],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
hostname: "cases-fips.{region}.api.amazonwebservices.com.cn",
|
|
64
|
+
tags: ["dualstack", "fips"],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
hostname: "cases.{region}.api.amazonwebservices.com.cn",
|
|
68
|
+
tags: ["dualstack"],
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
},
|
|
72
|
+
"aws-iso": {
|
|
73
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
74
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
75
|
+
variants: [
|
|
76
|
+
{
|
|
77
|
+
hostname: "cases.{region}.c2s.ic.gov",
|
|
78
|
+
tags: [],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
hostname: "cases-fips.{region}.c2s.ic.gov",
|
|
82
|
+
tags: ["fips"],
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
"aws-iso-b": {
|
|
87
|
+
regions: ["us-isob-east-1"],
|
|
88
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
89
|
+
variants: [
|
|
90
|
+
{
|
|
91
|
+
hostname: "cases.{region}.sc2s.sgov.gov",
|
|
92
|
+
tags: [],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
hostname: "cases-fips.{region}.sc2s.sgov.gov",
|
|
96
|
+
tags: ["fips"],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
},
|
|
100
|
+
"aws-us-gov": {
|
|
101
|
+
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
102
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
103
|
+
variants: [
|
|
104
|
+
{
|
|
105
|
+
hostname: "cases.{region}.amazonaws.com",
|
|
106
|
+
tags: [],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
hostname: "cases-fips.{region}.amazonaws.com",
|
|
110
|
+
tags: ["fips"],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
hostname: "cases-fips.{region}.api.aws",
|
|
114
|
+
tags: ["dualstack", "fips"],
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
hostname: "cases.{region}.api.aws",
|
|
118
|
+
tags: ["dualstack"],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
124
|
+
...options,
|
|
125
|
+
signingService: "cases",
|
|
126
|
+
regionHash,
|
|
127
|
+
partitionHash,
|
|
128
|
+
});
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
export class ConnectCasesServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, ConnectCasesServiceException.prototype);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|