@aws-sdk/client-connect 3.199.0 → 3.200.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/dist-cjs/Connect.js +15 -0
- package/dist-cjs/commands/DismissUserContactCommand.js +46 -0
- package/dist-cjs/commands/ListLambdaFunctionsCommand.js +2 -1
- package/dist-cjs/commands/ListLexBotsCommand.js +1 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +11 -11
- package/dist-cjs/models/models_1.js +12 -4
- package/dist-cjs/protocols/Aws_restJson1.js +75 -6
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/DismissUserContactCommand.js +42 -0
- package/dist-es/commands/ListLambdaFunctionsCommand.js +2 -1
- package/dist-es/commands/ListLexBotsCommand.js +1 -2
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +6 -6
- package/dist-es/models/models_1.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +67 -0
- package/dist-types/Connect.d.ts +16 -5
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +1 -1
- package/dist-types/commands/DismissUserContactCommand.d.ts +40 -0
- package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +2 -1
- package/dist-types/commands/ListLexBotsCommand.d.ts +1 -2
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +2 -1
- package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +31 -40
- package/dist-types/models/models_1.d.ts +36 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Connect.d.ts +17 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DismissUserContactCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListLambdaFunctionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListLexBotsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +12 -15
- package/dist-types/ts3.4/models/models_1.d.ts +15 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +28 -28
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ConnectClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ConnectClient";
|
|
14
|
+
import {
|
|
15
|
+
DismissUserContactRequest,
|
|
16
|
+
DismissUserContactResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface DismissUserContactCommandInput
|
|
19
|
+
extends DismissUserContactRequest {}
|
|
20
|
+
export interface DismissUserContactCommandOutput
|
|
21
|
+
extends DismissUserContactResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class DismissUserContactCommand extends $Command<
|
|
24
|
+
DismissUserContactCommandInput,
|
|
25
|
+
DismissUserContactCommandOutput,
|
|
26
|
+
ConnectClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: DismissUserContactCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DismissUserContactCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ConnectClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<DismissUserContactCommandInput, DismissUserContactCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -11,10 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
ListLambdaFunctionsResponse,
|
|
17
|
-
} from "../models/models_0";
|
|
14
|
+
import { ListLambdaFunctionsRequest } from "../models/models_0";
|
|
15
|
+
import { ListLambdaFunctionsResponse } from "../models/models_1";
|
|
18
16
|
export interface ListLambdaFunctionsCommandInput
|
|
19
17
|
extends ListLambdaFunctionsRequest {}
|
|
20
18
|
export interface ListLambdaFunctionsCommandOutput
|
|
@@ -11,8 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import { ListLexBotsRequest } from "../models/
|
|
15
|
-
import { ListLexBotsResponse } from "../models/models_1";
|
|
14
|
+
import { ListLexBotsRequest, ListLexBotsResponse } from "../models/models_1";
|
|
16
15
|
export interface ListLexBotsCommandInput extends ListLexBotsRequest {}
|
|
17
16
|
export interface ListLexBotsCommandOutput
|
|
18
17
|
extends ListLexBotsResponse,
|
|
@@ -65,6 +65,7 @@ export * from "./DisassociatePhoneNumberContactFlowCommand";
|
|
|
65
65
|
export * from "./DisassociateQueueQuickConnectsCommand";
|
|
66
66
|
export * from "./DisassociateRoutingProfileQueuesCommand";
|
|
67
67
|
export * from "./DisassociateSecurityKeyCommand";
|
|
68
|
+
export * from "./DismissUserContactCommand";
|
|
68
69
|
export * from "./GetContactAttributesCommand";
|
|
69
70
|
export * from "./GetCurrentMetricDataCommand";
|
|
70
71
|
export * from "./GetCurrentUserDataCommand";
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -1435,6 +1435,12 @@ export interface DisassociateSecurityKeyRequest {
|
|
|
1435
1435
|
InstanceId: string | undefined;
|
|
1436
1436
|
AssociationId: string | undefined;
|
|
1437
1437
|
}
|
|
1438
|
+
export interface DismissUserContactRequest {
|
|
1439
|
+
UserId: string | undefined;
|
|
1440
|
+
InstanceId: string | undefined;
|
|
1441
|
+
ContactId: string | undefined;
|
|
1442
|
+
}
|
|
1443
|
+
export interface DismissUserContactResponse {}
|
|
1438
1444
|
export interface GetContactAttributesRequest {
|
|
1439
1445
|
InstanceId: string | undefined;
|
|
1440
1446
|
InitialContactId: string | undefined;
|
|
@@ -1960,15 +1966,6 @@ export interface ListLambdaFunctionsRequest {
|
|
|
1960
1966
|
NextToken?: string;
|
|
1961
1967
|
MaxResults?: number;
|
|
1962
1968
|
}
|
|
1963
|
-
export interface ListLambdaFunctionsResponse {
|
|
1964
|
-
LambdaFunctions?: string[];
|
|
1965
|
-
NextToken?: string;
|
|
1966
|
-
}
|
|
1967
|
-
export interface ListLexBotsRequest {
|
|
1968
|
-
InstanceId: string | undefined;
|
|
1969
|
-
NextToken?: string;
|
|
1970
|
-
MaxResults?: number;
|
|
1971
|
-
}
|
|
1972
1969
|
export declare const QueueReferenceFilterSensitiveLog: (
|
|
1973
1970
|
obj: QueueReference
|
|
1974
1971
|
) => any;
|
|
@@ -2442,6 +2439,12 @@ export declare const DisassociateRoutingProfileQueuesRequestFilterSensitiveLog:
|
|
|
2442
2439
|
export declare const DisassociateSecurityKeyRequestFilterSensitiveLog: (
|
|
2443
2440
|
obj: DisassociateSecurityKeyRequest
|
|
2444
2441
|
) => any;
|
|
2442
|
+
export declare const DismissUserContactRequestFilterSensitiveLog: (
|
|
2443
|
+
obj: DismissUserContactRequest
|
|
2444
|
+
) => any;
|
|
2445
|
+
export declare const DismissUserContactResponseFilterSensitiveLog: (
|
|
2446
|
+
obj: DismissUserContactResponse
|
|
2447
|
+
) => any;
|
|
2445
2448
|
export declare const GetContactAttributesRequestFilterSensitiveLog: (
|
|
2446
2449
|
obj: GetContactAttributesRequest
|
|
2447
2450
|
) => any;
|
|
@@ -2642,9 +2645,3 @@ export declare const ListIntegrationAssociationsResponseFilterSensitiveLog: (
|
|
|
2642
2645
|
export declare const ListLambdaFunctionsRequestFilterSensitiveLog: (
|
|
2643
2646
|
obj: ListLambdaFunctionsRequest
|
|
2644
2647
|
) => any;
|
|
2645
|
-
export declare const ListLambdaFunctionsResponseFilterSensitiveLog: (
|
|
2646
|
-
obj: ListLambdaFunctionsResponse
|
|
2647
|
-
) => any;
|
|
2648
|
-
export declare const ListLexBotsRequestFilterSensitiveLog: (
|
|
2649
|
-
obj: ListLexBotsRequest
|
|
2650
|
-
) => any;
|
|
@@ -34,6 +34,15 @@ import {
|
|
|
34
34
|
VocabularyLanguageCode,
|
|
35
35
|
VocabularyState,
|
|
36
36
|
} from "./models_0";
|
|
37
|
+
export interface ListLambdaFunctionsResponse {
|
|
38
|
+
LambdaFunctions?: string[];
|
|
39
|
+
NextToken?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface ListLexBotsRequest {
|
|
42
|
+
InstanceId: string | undefined;
|
|
43
|
+
NextToken?: string;
|
|
44
|
+
MaxResults?: number;
|
|
45
|
+
}
|
|
37
46
|
export interface ListLexBotsResponse {
|
|
38
47
|
LexBots?: LexBot[];
|
|
39
48
|
NextToken?: string;
|
|
@@ -875,6 +884,12 @@ export interface SearchUsersRequest {
|
|
|
875
884
|
SearchFilter?: UserSearchFilter;
|
|
876
885
|
SearchCriteria?: UserSearchCriteria;
|
|
877
886
|
}
|
|
887
|
+
export declare const ListLambdaFunctionsResponseFilterSensitiveLog: (
|
|
888
|
+
obj: ListLambdaFunctionsResponse
|
|
889
|
+
) => any;
|
|
890
|
+
export declare const ListLexBotsRequestFilterSensitiveLog: (
|
|
891
|
+
obj: ListLexBotsRequest
|
|
892
|
+
) => any;
|
|
878
893
|
export declare const ListLexBotsResponseFilterSensitiveLog: (
|
|
879
894
|
obj: ListLexBotsResponse
|
|
880
895
|
) => any;
|
|
@@ -271,6 +271,10 @@ import {
|
|
|
271
271
|
DisassociateSecurityKeyCommandInput,
|
|
272
272
|
DisassociateSecurityKeyCommandOutput,
|
|
273
273
|
} from "../commands/DisassociateSecurityKeyCommand";
|
|
274
|
+
import {
|
|
275
|
+
DismissUserContactCommandInput,
|
|
276
|
+
DismissUserContactCommandOutput,
|
|
277
|
+
} from "../commands/DismissUserContactCommand";
|
|
274
278
|
import {
|
|
275
279
|
GetContactAttributesCommandInput,
|
|
276
280
|
GetContactAttributesCommandOutput,
|
|
@@ -915,6 +919,10 @@ export declare const serializeAws_restJson1DisassociateSecurityKeyCommand: (
|
|
|
915
919
|
input: DisassociateSecurityKeyCommandInput,
|
|
916
920
|
context: __SerdeContext
|
|
917
921
|
) => Promise<__HttpRequest>;
|
|
922
|
+
export declare const serializeAws_restJson1DismissUserContactCommand: (
|
|
923
|
+
input: DismissUserContactCommandInput,
|
|
924
|
+
context: __SerdeContext
|
|
925
|
+
) => Promise<__HttpRequest>;
|
|
918
926
|
export declare const serializeAws_restJson1GetContactAttributesCommand: (
|
|
919
927
|
input: GetContactAttributesCommandInput,
|
|
920
928
|
context: __SerdeContext
|
|
@@ -1559,6 +1567,10 @@ export declare const deserializeAws_restJson1DisassociateSecurityKeyCommand: (
|
|
|
1559
1567
|
output: __HttpResponse,
|
|
1560
1568
|
context: __SerdeContext
|
|
1561
1569
|
) => Promise<DisassociateSecurityKeyCommandOutput>;
|
|
1570
|
+
export declare const deserializeAws_restJson1DismissUserContactCommand: (
|
|
1571
|
+
output: __HttpResponse,
|
|
1572
|
+
context: __SerdeContext
|
|
1573
|
+
) => Promise<DismissUserContactCommandOutput>;
|
|
1562
1574
|
export declare const deserializeAws_restJson1GetContactAttributesCommand: (
|
|
1563
1575
|
output: __HttpResponse,
|
|
1564
1576
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.200.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,37 +19,37 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.200.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.200.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.200.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.200.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.200.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.200.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.200.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.200.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.200.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.200.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.200.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.200.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.200.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.200.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.200.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.200.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.200.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.200.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.200.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.200.0",
|
|
42
|
+
"@aws-sdk/types": "3.200.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.200.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
45
45
|
"@aws-sdk/util-base64-node": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.188.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.200.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.200.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.200.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.200.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.200.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
54
54
|
"@aws-sdk/util-utf8-node": "3.199.0",
|
|
55
55
|
"tslib": "^2.3.1",
|