@aws-sdk/client-connect 3.210.0 → 3.212.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/dist-cjs/Connect.js +15 -0
- package/dist-cjs/commands/ListLambdaFunctionsCommand.js +1 -2
- package/dist-cjs/commands/MonitorContactCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +13 -11
- package/dist-cjs/models/models_1.js +16 -4
- package/dist-cjs/protocols/Aws_restJson1.js +106 -29
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/ListLambdaFunctionsCommand.js +1 -2
- package/dist-es/commands/MonitorContactCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +6 -3
- package/dist-es/models/models_1.js +9 -0
- package/dist-es/protocols/Aws_restJson1.js +99 -24
- package/dist-types/Connect.d.ts +11 -2
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/DismissUserContactCommand.d.ts +3 -2
- package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +1 -2
- package/dist-types/commands/MonitorContactCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +22 -24
- package/dist-types/models/models_1.d.ts +100 -8
- 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/ListLambdaFunctionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/MonitorContactCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -8
- package/dist-types/ts3.4/models/models_1.d.ts +26 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +28 -28
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
-
import { AgentStatusState, Channel, ContactFlowModuleState, ContactFlowState, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, LexBot, MediaConcurrency, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueStatus, QuickConnectConfig, QuickConnectType, ReferenceType, RoutingProfile, RoutingProfileQueueConfig, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TelephonyConfig, TrafficDistributionGroupStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
3
|
+
import { AgentStatusState, Channel, ContactFlowModuleState, ContactFlowState, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, LexBot, MediaConcurrency, MonitorCapability, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueStatus, QuickConnectConfig, QuickConnectType, ReferenceType, RoutingProfile, RoutingProfileQueueConfig, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TelephonyConfig, TrafficDistributionGroupStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
|
+
export interface ListLambdaFunctionsRequest {
|
|
5
|
+
/**
|
|
6
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
7
|
+
*/
|
|
8
|
+
InstanceId: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
11
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
12
|
+
*/
|
|
13
|
+
NextToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The maximum number of results to return per page.</p>
|
|
16
|
+
*/
|
|
17
|
+
MaxResults?: number;
|
|
18
|
+
}
|
|
4
19
|
export interface ListLambdaFunctionsResponse {
|
|
5
20
|
/**
|
|
6
21
|
* <p>The Lambdafunction ARNs associated with the specified instance.</p>
|
|
@@ -854,6 +869,42 @@ export interface ListUsersResponse {
|
|
|
854
869
|
*/
|
|
855
870
|
NextToken?: string;
|
|
856
871
|
}
|
|
872
|
+
export interface MonitorContactRequest {
|
|
873
|
+
/**
|
|
874
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
875
|
+
*/
|
|
876
|
+
InstanceId: string | undefined;
|
|
877
|
+
/**
|
|
878
|
+
* <p>The identifier of the contact.</p>
|
|
879
|
+
*/
|
|
880
|
+
ContactId: string | undefined;
|
|
881
|
+
/**
|
|
882
|
+
* <p>The identifier of the user account.</p>
|
|
883
|
+
*/
|
|
884
|
+
UserId: string | undefined;
|
|
885
|
+
/**
|
|
886
|
+
* <p>Specify which monitoring actions the user is allowed to take. For example, whether the user is
|
|
887
|
+
* allowed to escalate from silent monitoring to barge.</p>
|
|
888
|
+
*/
|
|
889
|
+
AllowedMonitorCapabilities?: (MonitorCapability | string)[];
|
|
890
|
+
/**
|
|
891
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
892
|
+
* request. If not provided, the Amazon Web Services
|
|
893
|
+
* SDK populates this field. For more information about idempotency, see
|
|
894
|
+
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
895
|
+
*/
|
|
896
|
+
ClientToken?: string;
|
|
897
|
+
}
|
|
898
|
+
export interface MonitorContactResponse {
|
|
899
|
+
/**
|
|
900
|
+
* <p>The identifier of the contact.</p>
|
|
901
|
+
*/
|
|
902
|
+
ContactId?: string;
|
|
903
|
+
/**
|
|
904
|
+
* <p>The ARN of the contact.</p>
|
|
905
|
+
*/
|
|
906
|
+
ContactArn?: string;
|
|
907
|
+
}
|
|
857
908
|
export interface PutUserStatusRequest {
|
|
858
909
|
/**
|
|
859
910
|
* <p>The identifier of the user.</p>
|
|
@@ -1732,7 +1783,8 @@ export interface StartTaskContactResponse {
|
|
|
1732
1783
|
ContactId?: string;
|
|
1733
1784
|
}
|
|
1734
1785
|
/**
|
|
1735
|
-
* <p>The contact with the specified ID is not active or does not exist
|
|
1786
|
+
* <p>The contact with the specified ID is not active or does not exist. Applies to Voice calls
|
|
1787
|
+
* only, not to Chat, Task, or Voice Callback.</p>
|
|
1736
1788
|
*/
|
|
1737
1789
|
export declare class ContactNotFoundException extends __BaseException {
|
|
1738
1790
|
readonly name: "ContactNotFoundException";
|
|
@@ -2569,6 +2621,11 @@ export interface UpdateUserSecurityProfilesRequest {
|
|
|
2569
2621
|
}
|
|
2570
2622
|
/**
|
|
2571
2623
|
* <p>The search criteria to be used to return queues.</p>
|
|
2624
|
+
* <note>
|
|
2625
|
+
* <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
|
|
2626
|
+
* a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
|
|
2627
|
+
* outside of this range will throw invalid results. </p>
|
|
2628
|
+
* </note>
|
|
2572
2629
|
*/
|
|
2573
2630
|
export interface QueueSearchCriteria {
|
|
2574
2631
|
/**
|
|
@@ -2595,6 +2652,11 @@ export interface QueueSearchCriteria {
|
|
|
2595
2652
|
}
|
|
2596
2653
|
/**
|
|
2597
2654
|
* <p>The search criteria to be used to return routing profiles.</p>
|
|
2655
|
+
* <note>
|
|
2656
|
+
* <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
|
|
2657
|
+
* a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
|
|
2658
|
+
* outside of this range will throw invalid results. </p>
|
|
2659
|
+
* </note>
|
|
2598
2660
|
*/
|
|
2599
2661
|
export interface RoutingProfileSearchCriteria {
|
|
2600
2662
|
/**
|
|
@@ -2617,6 +2679,11 @@ export interface RoutingProfileSearchCriteria {
|
|
|
2617
2679
|
}
|
|
2618
2680
|
/**
|
|
2619
2681
|
* <p>The search criteria to be used to return security profiles.</p>
|
|
2682
|
+
* <note>
|
|
2683
|
+
* <p>The <code>name</code> field support "contains" queries with a minimum of 2 characters and
|
|
2684
|
+
* maximum of 25 characters. Any queries with character lengths outside of this range will throw
|
|
2685
|
+
* invalid results.</p>
|
|
2686
|
+
* </note>
|
|
2620
2687
|
*/
|
|
2621
2688
|
export interface SecurityProfileSearchCriteria {
|
|
2622
2689
|
/**
|
|
@@ -2640,9 +2707,9 @@ export interface SecurityProfileSearchCriteria {
|
|
|
2640
2707
|
/**
|
|
2641
2708
|
* <p>The search criteria to be used to return users.</p>
|
|
2642
2709
|
* <note>
|
|
2643
|
-
* <p>The <code>
|
|
2644
|
-
*
|
|
2645
|
-
*
|
|
2710
|
+
* <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
|
|
2711
|
+
* a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
|
|
2712
|
+
* outside of this range will throw invalid results.
|
|
2646
2713
|
* </p>
|
|
2647
2714
|
* </note>
|
|
2648
2715
|
*/
|
|
@@ -2686,6 +2753,11 @@ export interface SearchQueuesRequest {
|
|
|
2686
2753
|
SearchFilter?: QueueSearchFilter;
|
|
2687
2754
|
/**
|
|
2688
2755
|
* <p>The search criteria to be used to return queues.</p>
|
|
2756
|
+
* <note>
|
|
2757
|
+
* <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
|
|
2758
|
+
* a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
|
|
2759
|
+
* outside of this range will throw invalid results. </p>
|
|
2760
|
+
* </note>
|
|
2689
2761
|
*/
|
|
2690
2762
|
SearchCriteria?: QueueSearchCriteria;
|
|
2691
2763
|
}
|
|
@@ -2709,6 +2781,11 @@ export interface SearchRoutingProfilesRequest {
|
|
|
2709
2781
|
SearchFilter?: RoutingProfileSearchFilter;
|
|
2710
2782
|
/**
|
|
2711
2783
|
* <p>The search criteria to be used to return routing profiles.</p>
|
|
2784
|
+
* <note>
|
|
2785
|
+
* <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
|
|
2786
|
+
* a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
|
|
2787
|
+
* outside of this range will throw invalid results. </p>
|
|
2788
|
+
* </note>
|
|
2712
2789
|
*/
|
|
2713
2790
|
SearchCriteria?: RoutingProfileSearchCriteria;
|
|
2714
2791
|
}
|
|
@@ -2729,6 +2806,9 @@ export interface SearchSecurityProfilesRequest {
|
|
|
2729
2806
|
/**
|
|
2730
2807
|
* <p>The search criteria to be used to return security profiles. </p>
|
|
2731
2808
|
* <note>
|
|
2809
|
+
* <p>The <code>name</code> field support "contains" queries with a minimum of 2 characters and maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.</p>
|
|
2810
|
+
* </note>
|
|
2811
|
+
* <note>
|
|
2732
2812
|
* <p>The currently supported value for <code>FieldName</code>: <code>name</code>
|
|
2733
2813
|
* </p>
|
|
2734
2814
|
*
|
|
@@ -2761,14 +2841,18 @@ export interface SearchUsersRequest {
|
|
|
2761
2841
|
/**
|
|
2762
2842
|
* <p>The search criteria to be used to return users.</p>
|
|
2763
2843
|
* <note>
|
|
2764
|
-
* <p>The <code>
|
|
2765
|
-
*
|
|
2766
|
-
*
|
|
2844
|
+
* <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
|
|
2845
|
+
* a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
|
|
2846
|
+
* outside of this range will throw invalid results.
|
|
2767
2847
|
* </p>
|
|
2768
2848
|
* </note>
|
|
2769
2849
|
*/
|
|
2770
2850
|
SearchCriteria?: UserSearchCriteria;
|
|
2771
2851
|
}
|
|
2852
|
+
/**
|
|
2853
|
+
* @internal
|
|
2854
|
+
*/
|
|
2855
|
+
export declare const ListLambdaFunctionsRequestFilterSensitiveLog: (obj: ListLambdaFunctionsRequest) => any;
|
|
2772
2856
|
/**
|
|
2773
2857
|
* @internal
|
|
2774
2858
|
*/
|
|
@@ -2969,6 +3053,14 @@ export declare const UserSummaryFilterSensitiveLog: (obj: UserSummary) => any;
|
|
|
2969
3053
|
* @internal
|
|
2970
3054
|
*/
|
|
2971
3055
|
export declare const ListUsersResponseFilterSensitiveLog: (obj: ListUsersResponse) => any;
|
|
3056
|
+
/**
|
|
3057
|
+
* @internal
|
|
3058
|
+
*/
|
|
3059
|
+
export declare const MonitorContactRequestFilterSensitiveLog: (obj: MonitorContactRequest) => any;
|
|
3060
|
+
/**
|
|
3061
|
+
* @internal
|
|
3062
|
+
*/
|
|
3063
|
+
export declare const MonitorContactResponseFilterSensitiveLog: (obj: MonitorContactResponse) => any;
|
|
2972
3064
|
/**
|
|
2973
3065
|
* @internal
|
|
2974
3066
|
*/
|
|
@@ -106,6 +106,7 @@ import { ListTrafficDistributionGroupsCommandInput, ListTrafficDistributionGroup
|
|
|
106
106
|
import { ListUseCasesCommandInput, ListUseCasesCommandOutput } from "../commands/ListUseCasesCommand";
|
|
107
107
|
import { ListUserHierarchyGroupsCommandInput, ListUserHierarchyGroupsCommandOutput } from "../commands/ListUserHierarchyGroupsCommand";
|
|
108
108
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "../commands/ListUsersCommand";
|
|
109
|
+
import { MonitorContactCommandInput, MonitorContactCommandOutput } from "../commands/MonitorContactCommand";
|
|
109
110
|
import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "../commands/PutUserStatusCommand";
|
|
110
111
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "../commands/ReleasePhoneNumberCommand";
|
|
111
112
|
import { ReplicateInstanceCommandInput, ReplicateInstanceCommandOutput } from "../commands/ReplicateInstanceCommand";
|
|
@@ -268,6 +269,7 @@ export declare const serializeAws_restJson1ListTrafficDistributionGroupsCommand:
|
|
|
268
269
|
export declare const serializeAws_restJson1ListUseCasesCommand: (input: ListUseCasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
269
270
|
export declare const serializeAws_restJson1ListUserHierarchyGroupsCommand: (input: ListUserHierarchyGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
270
271
|
export declare const serializeAws_restJson1ListUsersCommand: (input: ListUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
272
|
+
export declare const serializeAws_restJson1MonitorContactCommand: (input: MonitorContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
271
273
|
export declare const serializeAws_restJson1PutUserStatusCommand: (input: PutUserStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
272
274
|
export declare const serializeAws_restJson1ReleasePhoneNumberCommand: (input: ReleasePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
273
275
|
export declare const serializeAws_restJson1ReplicateInstanceCommand: (input: ReplicateInstanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -430,6 +432,7 @@ export declare const deserializeAws_restJson1ListTrafficDistributionGroupsComman
|
|
|
430
432
|
export declare const deserializeAws_restJson1ListUseCasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUseCasesCommandOutput>;
|
|
431
433
|
export declare const deserializeAws_restJson1ListUserHierarchyGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUserHierarchyGroupsCommandOutput>;
|
|
432
434
|
export declare const deserializeAws_restJson1ListUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUsersCommandOutput>;
|
|
435
|
+
export declare const deserializeAws_restJson1MonitorContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<MonitorContactCommandOutput>;
|
|
433
436
|
export declare const deserializeAws_restJson1PutUserStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutUserStatusCommandOutput>;
|
|
434
437
|
export declare const deserializeAws_restJson1ReleasePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReleasePhoneNumberCommandOutput>;
|
|
435
438
|
export declare const deserializeAws_restJson1ReplicateInstanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReplicateInstanceCommandOutput>;
|
|
@@ -423,6 +423,10 @@ import {
|
|
|
423
423
|
ListUsersCommandInput,
|
|
424
424
|
ListUsersCommandOutput,
|
|
425
425
|
} from "./commands/ListUsersCommand";
|
|
426
|
+
import {
|
|
427
|
+
MonitorContactCommandInput,
|
|
428
|
+
MonitorContactCommandOutput,
|
|
429
|
+
} from "./commands/MonitorContactCommand";
|
|
426
430
|
import {
|
|
427
431
|
PutUserStatusCommandInput,
|
|
428
432
|
PutUserStatusCommandOutput,
|
|
@@ -2039,6 +2043,19 @@ export declare class Connect extends ConnectClient {
|
|
|
2039
2043
|
options: __HttpHandlerOptions,
|
|
2040
2044
|
cb: (err: any, data?: ListUsersCommandOutput) => void
|
|
2041
2045
|
): void;
|
|
2046
|
+
monitorContact(
|
|
2047
|
+
args: MonitorContactCommandInput,
|
|
2048
|
+
options?: __HttpHandlerOptions
|
|
2049
|
+
): Promise<MonitorContactCommandOutput>;
|
|
2050
|
+
monitorContact(
|
|
2051
|
+
args: MonitorContactCommandInput,
|
|
2052
|
+
cb: (err: any, data?: MonitorContactCommandOutput) => void
|
|
2053
|
+
): void;
|
|
2054
|
+
monitorContact(
|
|
2055
|
+
args: MonitorContactCommandInput,
|
|
2056
|
+
options: __HttpHandlerOptions,
|
|
2057
|
+
cb: (err: any, data?: MonitorContactCommandOutput) => void
|
|
2058
|
+
): void;
|
|
2042
2059
|
putUserStatus(
|
|
2043
2060
|
args: PutUserStatusCommandInput,
|
|
2044
2061
|
options?: __HttpHandlerOptions
|
|
@@ -467,6 +467,10 @@ import {
|
|
|
467
467
|
ListUsersCommandInput,
|
|
468
468
|
ListUsersCommandOutput,
|
|
469
469
|
} from "./commands/ListUsersCommand";
|
|
470
|
+
import {
|
|
471
|
+
MonitorContactCommandInput,
|
|
472
|
+
MonitorContactCommandOutput,
|
|
473
|
+
} from "./commands/MonitorContactCommand";
|
|
470
474
|
import {
|
|
471
475
|
PutUserStatusCommandInput,
|
|
472
476
|
PutUserStatusCommandOutput,
|
|
@@ -803,6 +807,7 @@ export declare type ServiceInputTypes =
|
|
|
803
807
|
| ListUseCasesCommandInput
|
|
804
808
|
| ListUserHierarchyGroupsCommandInput
|
|
805
809
|
| ListUsersCommandInput
|
|
810
|
+
| MonitorContactCommandInput
|
|
806
811
|
| PutUserStatusCommandInput
|
|
807
812
|
| ReleasePhoneNumberCommandInput
|
|
808
813
|
| ReplicateInstanceCommandInput
|
|
@@ -966,6 +971,7 @@ export declare type ServiceOutputTypes =
|
|
|
966
971
|
| ListUseCasesCommandOutput
|
|
967
972
|
| ListUserHierarchyGroupsCommandOutput
|
|
968
973
|
| ListUsersCommandOutput
|
|
974
|
+
| MonitorContactCommandOutput
|
|
969
975
|
| PutUserStatusCommandOutput
|
|
970
976
|
| ReleasePhoneNumberCommandOutput
|
|
971
977
|
| ReplicateInstanceCommandOutput
|
|
@@ -11,8 +11,10 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
14
|
+
import {
|
|
15
|
+
ListLambdaFunctionsRequest,
|
|
16
|
+
ListLambdaFunctionsResponse,
|
|
17
|
+
} from "../models/models_1";
|
|
16
18
|
export interface ListLambdaFunctionsCommandInput
|
|
17
19
|
extends ListLambdaFunctionsRequest {}
|
|
18
20
|
export interface ListLambdaFunctionsCommandOutput
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
MonitorContactRequest,
|
|
16
|
+
MonitorContactResponse,
|
|
17
|
+
} from "../models/models_1";
|
|
18
|
+
export interface MonitorContactCommandInput extends MonitorContactRequest {}
|
|
19
|
+
export interface MonitorContactCommandOutput
|
|
20
|
+
extends MonitorContactResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class MonitorContactCommand extends $Command<
|
|
23
|
+
MonitorContactCommandInput,
|
|
24
|
+
MonitorContactCommandOutput,
|
|
25
|
+
ConnectClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: MonitorContactCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: MonitorContactCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: ConnectClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<MonitorContactCommandInput, MonitorContactCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -104,6 +104,7 @@ export * from "./ListTrafficDistributionGroupsCommand";
|
|
|
104
104
|
export * from "./ListUseCasesCommand";
|
|
105
105
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
106
106
|
export * from "./ListUsersCommand";
|
|
107
|
+
export * from "./MonitorContactCommand";
|
|
107
108
|
export * from "./PutUserStatusCommand";
|
|
108
109
|
export * from "./ReleasePhoneNumberCommand";
|
|
109
110
|
export * from "./ReplicateInstanceCommand";
|
|
@@ -78,6 +78,10 @@ export interface AgentStatusSummary {
|
|
|
78
78
|
Name?: string;
|
|
79
79
|
Type?: AgentStatusType | string;
|
|
80
80
|
}
|
|
81
|
+
export declare enum MonitorCapability {
|
|
82
|
+
BARGE = "BARGE",
|
|
83
|
+
SILENT_MONITOR = "SILENT_MONITOR",
|
|
84
|
+
}
|
|
81
85
|
export interface AssociateApprovedOriginRequest {
|
|
82
86
|
InstanceId: string | undefined;
|
|
83
87
|
Origin: string | undefined;
|
|
@@ -924,6 +928,7 @@ export declare enum InstanceAttributeType {
|
|
|
924
928
|
CONTACTFLOW_LOGS = "CONTACTFLOW_LOGS",
|
|
925
929
|
CONTACT_LENS = "CONTACT_LENS",
|
|
926
930
|
EARLY_MEDIA = "EARLY_MEDIA",
|
|
931
|
+
ENHANCED_CONTACT_MONITORING = "ENHANCED_CONTACT_MONITORING",
|
|
927
932
|
HIGH_VOLUME_OUTBOUND = "HIGH_VOLUME_OUTBOUND",
|
|
928
933
|
INBOUND_CALLS = "INBOUND_CALLS",
|
|
929
934
|
MULTI_PARTY_CONFERENCE = "MULTI_PARTY_CONFERENCE",
|
|
@@ -1964,11 +1969,6 @@ export interface ListIntegrationAssociationsResponse {
|
|
|
1964
1969
|
IntegrationAssociationSummaryList?: IntegrationAssociationSummary[];
|
|
1965
1970
|
NextToken?: string;
|
|
1966
1971
|
}
|
|
1967
|
-
export interface ListLambdaFunctionsRequest {
|
|
1968
|
-
InstanceId: string | undefined;
|
|
1969
|
-
NextToken?: string;
|
|
1970
|
-
MaxResults?: number;
|
|
1971
|
-
}
|
|
1972
1972
|
export declare const QueueReferenceFilterSensitiveLog: (
|
|
1973
1973
|
obj: QueueReference
|
|
1974
1974
|
) => any;
|
|
@@ -2645,6 +2645,3 @@ export declare const IntegrationAssociationSummaryFilterSensitiveLog: (
|
|
|
2645
2645
|
export declare const ListIntegrationAssociationsResponseFilterSensitiveLog: (
|
|
2646
2646
|
obj: ListIntegrationAssociationsResponse
|
|
2647
2647
|
) => any;
|
|
2648
|
-
export declare const ListLambdaFunctionsRequestFilterSensitiveLog: (
|
|
2649
|
-
obj: ListLambdaFunctionsRequest
|
|
2650
|
-
) => any;
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
InstanceStorageResourceType,
|
|
13
13
|
LexBot,
|
|
14
14
|
MediaConcurrency,
|
|
15
|
+
MonitorCapability,
|
|
15
16
|
OutboundCallerConfig,
|
|
16
17
|
PhoneNumberCountryCode,
|
|
17
18
|
PhoneNumberType,
|
|
@@ -34,6 +35,11 @@ import {
|
|
|
34
35
|
VocabularyLanguageCode,
|
|
35
36
|
VocabularyState,
|
|
36
37
|
} from "./models_0";
|
|
38
|
+
export interface ListLambdaFunctionsRequest {
|
|
39
|
+
InstanceId: string | undefined;
|
|
40
|
+
NextToken?: string;
|
|
41
|
+
MaxResults?: number;
|
|
42
|
+
}
|
|
37
43
|
export interface ListLambdaFunctionsResponse {
|
|
38
44
|
LambdaFunctions?: string[];
|
|
39
45
|
NextToken?: string;
|
|
@@ -295,6 +301,17 @@ export interface ListUsersResponse {
|
|
|
295
301
|
UserSummaryList?: UserSummary[];
|
|
296
302
|
NextToken?: string;
|
|
297
303
|
}
|
|
304
|
+
export interface MonitorContactRequest {
|
|
305
|
+
InstanceId: string | undefined;
|
|
306
|
+
ContactId: string | undefined;
|
|
307
|
+
UserId: string | undefined;
|
|
308
|
+
AllowedMonitorCapabilities?: (MonitorCapability | string)[];
|
|
309
|
+
ClientToken?: string;
|
|
310
|
+
}
|
|
311
|
+
export interface MonitorContactResponse {
|
|
312
|
+
ContactId?: string;
|
|
313
|
+
ContactArn?: string;
|
|
314
|
+
}
|
|
298
315
|
export interface PutUserStatusRequest {
|
|
299
316
|
UserId: string | undefined;
|
|
300
317
|
InstanceId: string | undefined;
|
|
@@ -884,6 +901,9 @@ export interface SearchUsersRequest {
|
|
|
884
901
|
SearchFilter?: UserSearchFilter;
|
|
885
902
|
SearchCriteria?: UserSearchCriteria;
|
|
886
903
|
}
|
|
904
|
+
export declare const ListLambdaFunctionsRequestFilterSensitiveLog: (
|
|
905
|
+
obj: ListLambdaFunctionsRequest
|
|
906
|
+
) => any;
|
|
887
907
|
export declare const ListLambdaFunctionsResponseFilterSensitiveLog: (
|
|
888
908
|
obj: ListLambdaFunctionsResponse
|
|
889
909
|
) => any;
|
|
@@ -1026,6 +1046,12 @@ export declare const UserSummaryFilterSensitiveLog: (obj: UserSummary) => any;
|
|
|
1026
1046
|
export declare const ListUsersResponseFilterSensitiveLog: (
|
|
1027
1047
|
obj: ListUsersResponse
|
|
1028
1048
|
) => any;
|
|
1049
|
+
export declare const MonitorContactRequestFilterSensitiveLog: (
|
|
1050
|
+
obj: MonitorContactRequest
|
|
1051
|
+
) => any;
|
|
1052
|
+
export declare const MonitorContactResponseFilterSensitiveLog: (
|
|
1053
|
+
obj: MonitorContactResponse
|
|
1054
|
+
) => any;
|
|
1029
1055
|
export declare const PutUserStatusRequestFilterSensitiveLog: (
|
|
1030
1056
|
obj: PutUserStatusRequest
|
|
1031
1057
|
) => any;
|
|
@@ -427,6 +427,10 @@ import {
|
|
|
427
427
|
ListUsersCommandInput,
|
|
428
428
|
ListUsersCommandOutput,
|
|
429
429
|
} from "../commands/ListUsersCommand";
|
|
430
|
+
import {
|
|
431
|
+
MonitorContactCommandInput,
|
|
432
|
+
MonitorContactCommandOutput,
|
|
433
|
+
} from "../commands/MonitorContactCommand";
|
|
430
434
|
import {
|
|
431
435
|
PutUserStatusCommandInput,
|
|
432
436
|
PutUserStatusCommandOutput,
|
|
@@ -1075,6 +1079,10 @@ export declare const serializeAws_restJson1ListUsersCommand: (
|
|
|
1075
1079
|
input: ListUsersCommandInput,
|
|
1076
1080
|
context: __SerdeContext
|
|
1077
1081
|
) => Promise<__HttpRequest>;
|
|
1082
|
+
export declare const serializeAws_restJson1MonitorContactCommand: (
|
|
1083
|
+
input: MonitorContactCommandInput,
|
|
1084
|
+
context: __SerdeContext
|
|
1085
|
+
) => Promise<__HttpRequest>;
|
|
1078
1086
|
export declare const serializeAws_restJson1PutUserStatusCommand: (
|
|
1079
1087
|
input: PutUserStatusCommandInput,
|
|
1080
1088
|
context: __SerdeContext
|
|
@@ -1723,6 +1731,10 @@ export declare const deserializeAws_restJson1ListUsersCommand: (
|
|
|
1723
1731
|
output: __HttpResponse,
|
|
1724
1732
|
context: __SerdeContext
|
|
1725
1733
|
) => Promise<ListUsersCommandOutput>;
|
|
1734
|
+
export declare const deserializeAws_restJson1MonitorContactCommand: (
|
|
1735
|
+
output: __HttpResponse,
|
|
1736
|
+
context: __SerdeContext
|
|
1737
|
+
) => Promise<MonitorContactCommandOutput>;
|
|
1726
1738
|
export declare const deserializeAws_restJson1PutUserStatusCommand: (
|
|
1727
1739
|
output: __HttpResponse,
|
|
1728
1740
|
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.212.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,36 +19,36 @@
|
|
|
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.212.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.212.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.212.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.212.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.212.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.212.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.212.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.212.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.212.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.212.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.212.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.212.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.212.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.212.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.212.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.212.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.212.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.212.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.212.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.212.0",
|
|
42
|
+
"@aws-sdk/types": "3.212.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.212.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.212.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.212.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.212.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.212.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.212.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
53
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
54
|
"tslib": "^2.3.1",
|