@aws-sdk/client-connect 3.696.0 → 3.701.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/README.md +88 -0
- package/dist-cjs/index.js +1021 -119
- package/dist-es/Connect.js +22 -0
- package/dist-es/commands/CreateContactCommand.js +23 -0
- package/dist-es/commands/CreateEmailAddressCommand.js +23 -0
- package/dist-es/commands/DeleteEmailAddressCommand.js +22 -0
- package/dist-es/commands/DescribeContactCommand.js +1 -1
- package/dist-es/commands/DescribeEmailAddressCommand.js +23 -0
- package/dist-es/commands/ListAssociatedContactsCommand.js +22 -0
- package/dist-es/commands/SearchEmailAddressesCommand.js +23 -0
- package/dist-es/commands/SendOutboundEmailCommand.js +23 -0
- package/dist-es/commands/StartEmailContactCommand.js +23 -0
- package/dist-es/commands/StartOutboundEmailContactCommand.js +23 -0
- package/dist-es/commands/StartTaskContactCommand.js +1 -1
- package/dist-es/commands/UpdateContactCommand.js +1 -1
- package/dist-es/commands/UpdateEmailAddressMetadataCommand.js +23 -0
- package/dist-es/commands/UpdateQueueOutboundEmailConfigCommand.js +22 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +67 -24
- package/dist-es/models/models_1.js +24 -40
- package/dist-es/models/models_2.js +142 -19
- package/dist-es/models/models_3.js +33 -0
- package/dist-es/protocols/Aws_restJson1.js +470 -10
- package/dist-types/Connect.d.ts +77 -0
- package/dist-types/ConnectClient.d.ts +13 -2
- package/dist-types/commands/AssociateFlowCommand.d.ts +1 -1
- package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +2 -2
- package/dist-types/commands/BatchPutContactCommand.d.ts +2 -2
- package/dist-types/commands/CreateContactCommand.d.ts +139 -0
- package/dist-types/commands/CreateEmailAddressCommand.d.ts +111 -0
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateQueueCommand.d.ts +3 -0
- package/dist-types/commands/CreateRoutingProfileCommand.d.ts +2 -2
- package/dist-types/commands/CreateRuleCommand.d.ts +5 -2
- package/dist-types/commands/CreateTaskTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DeleteEmailAddressCommand.d.ts +91 -0
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeAgentStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactCommand.d.ts +39 -4
- package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -2
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEmailAddressCommand.d.ts +99 -0
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQueueCommand.d.ts +3 -0
- package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleCommand.d.ts +5 -2
- package/dist-types/commands/DisassociateFlowCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/commands/GetAttachedFileCommand.d.ts +1 -1
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -2
- package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -2
- package/dist-types/commands/GetFlowAssociationCommand.d.ts +2 -2
- package/dist-types/commands/GetMetricDataCommand.d.ts +2 -2
- package/dist-types/commands/GetTaskTemplateCommand.d.ts +2 -1
- package/dist-types/commands/ListAssociatedContactsCommand.d.ts +103 -0
- package/dist-types/commands/ListContactReferencesCommand.d.ts +7 -2
- package/dist-types/commands/ListFlowAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +3 -2
- package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -2
- package/dist-types/commands/ListRoutingProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -2
- package/dist-types/commands/SearchAgentStatusesCommand.d.ts +2 -1
- package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +2 -1
- package/dist-types/commands/SearchContactFlowsCommand.d.ts +3 -4
- package/dist-types/commands/SearchContactsCommand.d.ts +20 -4
- package/dist-types/commands/SearchEmailAddressesCommand.d.ts +146 -0
- package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -1
- package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +2 -1
- package/dist-types/commands/SearchPromptsCommand.d.ts +2 -1
- package/dist-types/commands/SearchQueuesCommand.d.ts +5 -1
- package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -1
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -2
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +2 -1
- package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -1
- package/dist-types/commands/SearchUsersCommand.d.ts +2 -1
- package/dist-types/commands/SendOutboundEmailCommand.d.ts +135 -0
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +4 -2
- package/dist-types/commands/StartChatContactCommand.d.ts +12 -1
- package/dist-types/commands/StartEmailContactCommand.d.ts +162 -0
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +14 -3
- package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +129 -0
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +5 -2
- package/dist-types/commands/StartTaskContactCommand.d.ts +22 -3
- package/dist-types/commands/StartWebRTCContactCommand.d.ts +5 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContactCommand.d.ts +22 -3
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +2 -1
- package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +98 -0
- package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +2 -1
- package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +94 -0
- package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRuleCommand.d.ts +5 -2
- package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +4 -2
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +317 -321
- package/dist-types/models/models_1.d.ts +567 -624
- package/dist-types/models/models_2.d.ts +3704 -3854
- package/dist-types/models/models_3.d.ts +1650 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
- package/dist-types/ts3.4/Connect.d.ts +187 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateEmailAddressCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEmailAddressCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeAgentStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEmailAddressCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAssociatedContactsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchEmailAddressesCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SendOutboundEmailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartOutboundEmailContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateEmailAddressMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +122 -90
- package/dist-types/ts3.4/models/models_1.d.ts +155 -213
- package/dist-types/ts3.4/models/models_2.d.ts +436 -296
- package/dist-types/ts3.4/models/models_3.d.ts +363 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
- package/package.json +4 -4
|
@@ -111,8 +111,8 @@ declare const GetCurrentUserDataCommand_base: {
|
|
|
111
111
|
* // Contacts: [ // AgentContactReferenceList
|
|
112
112
|
* // { // AgentContactReference
|
|
113
113
|
* // ContactId: "STRING_VALUE",
|
|
114
|
-
* // Channel: "VOICE" || "CHAT" || "TASK",
|
|
115
|
-
* // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND",
|
|
114
|
+
* // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL",
|
|
115
|
+
* // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND" || "WEBRTC_API" || "AGENT_REPLY" || "FLOW",
|
|
116
116
|
* // AgentContactState: "INCOMING" || "PENDING" || "CONNECTING" || "CONNECTED" || "CONNECTED_ONHOLD" || "MISSED" || "ERROR" || "ENDED" || "REJECTED",
|
|
117
117
|
* // StateStartTimestamp: new Date("TIMESTAMP"),
|
|
118
118
|
* // ConnectedToAgentTimestamp: new Date("TIMESTAMP"),
|
|
@@ -37,14 +37,14 @@ declare const GetFlowAssociationCommand_base: {
|
|
|
37
37
|
* const input = { // GetFlowAssociationRequest
|
|
38
38
|
* InstanceId: "STRING_VALUE", // required
|
|
39
39
|
* ResourceId: "STRING_VALUE", // required
|
|
40
|
-
* ResourceType: "SMS_PHONE_NUMBER", // required
|
|
40
|
+
* ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new GetFlowAssociationCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
44
|
* // { // GetFlowAssociationResponse
|
|
45
45
|
* // ResourceId: "STRING_VALUE",
|
|
46
46
|
* // FlowId: "STRING_VALUE",
|
|
47
|
-
* // ResourceType: "SMS_PHONE_NUMBER",
|
|
47
|
+
* // ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
|
|
48
48
|
* // };
|
|
49
49
|
*
|
|
50
50
|
* ```
|
|
@@ -54,7 +54,7 @@ declare const GetMetricDataCommand_base: {
|
|
|
54
54
|
* "STRING_VALUE",
|
|
55
55
|
* ],
|
|
56
56
|
* Channels: [ // Channels
|
|
57
|
-
* "VOICE" || "CHAT" || "TASK",
|
|
57
|
+
* "VOICE" || "CHAT" || "TASK" || "EMAIL",
|
|
58
58
|
* ],
|
|
59
59
|
* RoutingProfiles: [ // RoutingProfiles
|
|
60
60
|
* "STRING_VALUE",
|
|
@@ -91,7 +91,7 @@ declare const GetMetricDataCommand_base: {
|
|
|
91
91
|
* // Id: "STRING_VALUE",
|
|
92
92
|
* // Arn: "STRING_VALUE",
|
|
93
93
|
* // },
|
|
94
|
-
* // Channel: "VOICE" || "CHAT" || "TASK",
|
|
94
|
+
* // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL",
|
|
95
95
|
* // RoutingProfile: { // RoutingProfileReference
|
|
96
96
|
* // Id: "STRING_VALUE",
|
|
97
97
|
* // Arn: "STRING_VALUE",
|
|
@@ -49,6 +49,7 @@ declare const GetTaskTemplateCommand_base: {
|
|
|
49
49
|
* // Name: "STRING_VALUE", // required
|
|
50
50
|
* // Description: "STRING_VALUE",
|
|
51
51
|
* // ContactFlowId: "STRING_VALUE",
|
|
52
|
+
* // SelfAssignFlowId: "STRING_VALUE",
|
|
52
53
|
* // Constraints: { // TaskTemplateConstraints
|
|
53
54
|
* // RequiredFields: [ // RequiredTaskTemplateFields
|
|
54
55
|
* // { // RequiredFieldInfo
|
|
@@ -88,7 +89,7 @@ declare const GetTaskTemplateCommand_base: {
|
|
|
88
89
|
* // Name: "STRING_VALUE",
|
|
89
90
|
* // },
|
|
90
91
|
* // Description: "STRING_VALUE",
|
|
91
|
-
* // Type: "NAME" || "DESCRIPTION" || "SCHEDULED_TIME" || "QUICK_CONNECT" || "URL" || "NUMBER" || "TEXT" || "TEXT_AREA" || "DATE_TIME" || "BOOLEAN" || "SINGLE_SELECT" || "EMAIL",
|
|
92
|
+
* // Type: "NAME" || "DESCRIPTION" || "SCHEDULED_TIME" || "QUICK_CONNECT" || "URL" || "NUMBER" || "TEXT" || "TEXT_AREA" || "DATE_TIME" || "BOOLEAN" || "SINGLE_SELECT" || "EMAIL" || "SELF_ASSIGN" || "EXPIRY_DURATION",
|
|
92
93
|
* // SingleSelectOptions: [ // SingleSelectOptions
|
|
93
94
|
* // "STRING_VALUE",
|
|
94
95
|
* // ],
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
+
import { ListAssociatedContactsRequest, ListAssociatedContactsResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAssociatedContactsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAssociatedContactsCommandInput extends ListAssociatedContactsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAssociatedContactsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAssociatedContactsCommandOutput extends ListAssociatedContactsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAssociatedContactsCommand_base: {
|
|
25
|
+
new (input: ListAssociatedContactsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssociatedContactsCommandInput, ListAssociatedContactsCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListAssociatedContactsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssociatedContactsCommandInput, ListAssociatedContactsCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Provides information about contact tree, a list of associated contacts with a unique
|
|
31
|
+
* identifier.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { ConnectClient, ListAssociatedContactsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
36
|
+
* // const { ConnectClient, ListAssociatedContactsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
37
|
+
* const client = new ConnectClient(config);
|
|
38
|
+
* const input = { // ListAssociatedContactsRequest
|
|
39
|
+
* InstanceId: "STRING_VALUE", // required
|
|
40
|
+
* ContactId: "STRING_VALUE", // required
|
|
41
|
+
* MaxResults: Number("int"),
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListAssociatedContactsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListAssociatedContactsResponse
|
|
47
|
+
* // ContactSummaryList: [ // AssociatedContactSummaryList
|
|
48
|
+
* // { // AssociatedContactSummary
|
|
49
|
+
* // ContactId: "STRING_VALUE",
|
|
50
|
+
* // ContactArn: "STRING_VALUE",
|
|
51
|
+
* // InitiationTimestamp: new Date("TIMESTAMP"),
|
|
52
|
+
* // DisconnectTimestamp: new Date("TIMESTAMP"),
|
|
53
|
+
* // InitialContactId: "STRING_VALUE",
|
|
54
|
+
* // PreviousContactId: "STRING_VALUE",
|
|
55
|
+
* // RelatedContactId: "STRING_VALUE",
|
|
56
|
+
* // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND" || "WEBRTC_API" || "AGENT_REPLY" || "FLOW",
|
|
57
|
+
* // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // NextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListAssociatedContactsCommandInput - {@link ListAssociatedContactsCommandInput}
|
|
66
|
+
* @returns {@link ListAssociatedContactsCommandOutput}
|
|
67
|
+
* @see {@link ListAssociatedContactsCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListAssociatedContactsCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
72
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
75
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
78
|
+
* <p>The request is not valid.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The specified resource was not found.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ConnectServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListAssociatedContactsCommand extends ListAssociatedContactsCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListAssociatedContactsRequest;
|
|
96
|
+
output: ListAssociatedContactsResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListAssociatedContactsCommandInput;
|
|
100
|
+
output: ListAssociatedContactsCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -41,7 +41,7 @@ declare const ListContactReferencesCommand_base: {
|
|
|
41
41
|
* InstanceId: "STRING_VALUE", // required
|
|
42
42
|
* ContactId: "STRING_VALUE", // required
|
|
43
43
|
* ReferenceTypes: [ // ReferenceTypes // required
|
|
44
|
-
* "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL",
|
|
44
|
+
* "URL" || "ATTACHMENT" || "CONTACT_ANALYSIS" || "NUMBER" || "STRING" || "DATE" || "EMAIL" || "EMAIL_MESSAGE",
|
|
45
45
|
* ],
|
|
46
46
|
* NextToken: "STRING_VALUE",
|
|
47
47
|
* };
|
|
@@ -57,7 +57,12 @@ declare const ListContactReferencesCommand_base: {
|
|
|
57
57
|
* // Attachment: { // AttachmentReference
|
|
58
58
|
* // Name: "STRING_VALUE",
|
|
59
59
|
* // Value: "STRING_VALUE",
|
|
60
|
-
* // Status: "APPROVED" || "REJECTED",
|
|
60
|
+
* // Status: "AVAILABLE" || "DELETED" || "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
|
|
61
|
+
* // Arn: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // EmailMessage: { // EmailMessageReference
|
|
64
|
+
* // Name: "STRING_VALUE",
|
|
65
|
+
* // Arn: "STRING_VALUE",
|
|
61
66
|
* // },
|
|
62
67
|
* // String: { // StringReference
|
|
63
68
|
* // Name: "STRING_VALUE",
|
|
@@ -36,7 +36,7 @@ declare const ListFlowAssociationsCommand_base: {
|
|
|
36
36
|
* const client = new ConnectClient(config);
|
|
37
37
|
* const input = { // ListFlowAssociationsRequest
|
|
38
38
|
* InstanceId: "STRING_VALUE", // required
|
|
39
|
-
* ResourceType: "VOICE_PHONE_NUMBER",
|
|
39
|
+
* ResourceType: "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
|
|
40
40
|
* NextToken: "STRING_VALUE",
|
|
41
41
|
* MaxResults: Number("int"),
|
|
42
42
|
* };
|
|
@@ -47,7 +47,7 @@ declare const ListFlowAssociationsCommand_base: {
|
|
|
47
47
|
* // { // FlowAssociationSummary
|
|
48
48
|
* // ResourceId: "STRING_VALUE",
|
|
49
49
|
* // FlowId: "STRING_VALUE",
|
|
50
|
-
* // ResourceType: "VOICE_PHONE_NUMBER",
|
|
50
|
+
* // ResourceType: "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
|
|
51
51
|
* // },
|
|
52
52
|
* // ],
|
|
53
53
|
* // NextToken: "STRING_VALUE",
|
|
@@ -38,7 +38,7 @@ declare const ListInstanceStorageConfigsCommand_base: {
|
|
|
38
38
|
* const client = new ConnectClient(config);
|
|
39
39
|
* const input = { // ListInstanceStorageConfigsRequest
|
|
40
40
|
* InstanceId: "STRING_VALUE", // required
|
|
41
|
-
* ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS" || "SCREEN_RECORDINGS" || "REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS" || "REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS", // required
|
|
41
|
+
* ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS" || "SCREEN_RECORDINGS" || "REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS" || "REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS" || "EMAIL_MESSAGES", // required
|
|
42
42
|
* NextToken: "STRING_VALUE",
|
|
43
43
|
* MaxResults: Number("int"),
|
|
44
44
|
* };
|
|
@@ -37,7 +37,7 @@ declare const ListIntegrationAssociationsCommand_base: {
|
|
|
37
37
|
* const client = new ConnectClient(config);
|
|
38
38
|
* const input = { // ListIntegrationAssociationsRequest
|
|
39
39
|
* InstanceId: "STRING_VALUE", // required
|
|
40
|
-
* IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER",
|
|
40
|
+
* IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY",
|
|
41
41
|
* NextToken: "STRING_VALUE",
|
|
42
42
|
* MaxResults: Number("int"),
|
|
43
43
|
* IntegrationArn: "STRING_VALUE",
|
|
@@ -50,7 +50,7 @@ declare const ListIntegrationAssociationsCommand_base: {
|
|
|
50
50
|
* // IntegrationAssociationId: "STRING_VALUE",
|
|
51
51
|
* // IntegrationAssociationArn: "STRING_VALUE",
|
|
52
52
|
* // InstanceId: "STRING_VALUE",
|
|
53
|
-
* // IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER",
|
|
53
|
+
* // IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY",
|
|
54
54
|
* // IntegrationArn: "STRING_VALUE",
|
|
55
55
|
* // SourceApplicationUrl: "STRING_VALUE",
|
|
56
56
|
* // SourceApplicationName: "STRING_VALUE",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListRealtimeContactAnalysisSegmentsV2Request
|
|
4
|
+
import { ListRealtimeContactAnalysisSegmentsV2Request } from "../models/models_1";
|
|
5
|
+
import { ListRealtimeContactAnalysisSegmentsV2Response } from "../models/models_2";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -160,7 +161,7 @@ declare const ListRealtimeContactAnalysisSegmentsV2Command_base: {
|
|
|
160
161
|
* @throws {@link OutputTypeNotFoundException} (client fault)
|
|
161
162
|
* <p>Thrown for analyzed content when requested OutputType was not enabled for a given contact.
|
|
162
163
|
* For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction
|
|
163
|
-
* policy set in
|
|
164
|
+
* policy set in the flow.</p>
|
|
164
165
|
*
|
|
165
166
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
166
167
|
* <p>The specified resource was not found.</p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListRoutingProfileQueuesRequest, ListRoutingProfileQueuesResponse } from "../models/
|
|
4
|
+
import { ListRoutingProfileQueuesRequest, ListRoutingProfileQueuesResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -51,7 +51,7 @@ declare const ListRoutingProfileQueuesCommand_base: {
|
|
|
51
51
|
* // QueueName: "STRING_VALUE", // required
|
|
52
52
|
* // Priority: Number("int"), // required
|
|
53
53
|
* // Delay: Number("int"), // required
|
|
54
|
-
* // Channel: "VOICE" || "CHAT" || "TASK", // required
|
|
54
|
+
* // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL", // required
|
|
55
55
|
* // },
|
|
56
56
|
* // ],
|
|
57
57
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListRoutingProfilesRequest, ListRoutingProfilesResponse } from "../models/
|
|
4
|
+
import { ListRoutingProfilesRequest, ListRoutingProfilesResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListRulesRequest, ListRulesResponse } from "../models/
|
|
4
|
+
import { ListRulesRequest, ListRulesResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListSecurityKeysRequest, ListSecurityKeysResponse } from "../models/
|
|
4
|
+
import { ListSecurityKeysRequest, ListSecurityKeysResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListSecurityProfileApplicationsRequest, ListSecurityProfileApplicationsResponse } from "../models/
|
|
4
|
+
import { ListSecurityProfileApplicationsRequest, ListSecurityProfileApplicationsResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListSecurityProfilePermissionsRequest } from "../models/
|
|
5
|
-
import { ListSecurityProfilePermissionsResponse } from "../models/models_2";
|
|
4
|
+
import { ListSecurityProfilePermissionsRequest, ListSecurityProfilePermissionsResponse } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import {
|
|
4
|
+
import { SearchAgentStatusesResponse } from "../models/models_2";
|
|
5
|
+
import { SearchAgentStatusesRequest } from "../models/models_3";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import {
|
|
4
|
+
import { SearchContactFlowModulesResponse } from "../models/models_2";
|
|
5
|
+
import { SearchContactFlowModulesRequest } from "../models/models_3";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import {
|
|
4
|
+
import { SearchContactFlowsResponse } from "../models/models_2";
|
|
5
|
+
import { SearchContactFlowsRequest } from "../models/models_3";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -27,8 +28,7 @@ declare const SearchContactFlowsCommand_base: {
|
|
|
27
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
30
|
-
* <p>Searches the
|
|
31
|
-
* filtering.</p>
|
|
31
|
+
* <p>Searches the flows in an Amazon Connect instance, with optional filtering.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -106,7 +106,6 @@ declare const SearchContactFlowsCommand_base: {
|
|
|
106
106
|
* // Tags: { // TagMap
|
|
107
107
|
* // "<keys>": "STRING_VALUE",
|
|
108
108
|
* // },
|
|
109
|
-
* // IsDefault: true || false,
|
|
110
109
|
* // FlowContentSha256: "STRING_VALUE",
|
|
111
110
|
* // Version: Number("long"),
|
|
112
111
|
* // VersionDescription: "STRING_VALUE",
|
|
@@ -63,7 +63,7 @@ declare const SearchContactsCommand_base: {
|
|
|
63
63
|
* ],
|
|
64
64
|
* },
|
|
65
65
|
* Channels: [ // ChannelList
|
|
66
|
-
* "VOICE" || "CHAT" || "TASK",
|
|
66
|
+
* "VOICE" || "CHAT" || "TASK" || "EMAIL",
|
|
67
67
|
* ],
|
|
68
68
|
* ContactAnalysis: { // ContactAnalysis
|
|
69
69
|
* Transcript: { // Transcript
|
|
@@ -80,7 +80,7 @@ declare const SearchContactsCommand_base: {
|
|
|
80
80
|
* },
|
|
81
81
|
* },
|
|
82
82
|
* InitiationMethods: [ // InitiationMethodList
|
|
83
|
-
* "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND",
|
|
83
|
+
* "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND" || "WEBRTC_API" || "AGENT_REPLY" || "FLOW",
|
|
84
84
|
* ],
|
|
85
85
|
* QueueIds: [ // QueueIdList
|
|
86
86
|
* "STRING_VALUE",
|
|
@@ -96,6 +96,17 @@ declare const SearchContactsCommand_base: {
|
|
|
96
96
|
* ],
|
|
97
97
|
* MatchType: "MATCH_ALL" || "MATCH_ANY",
|
|
98
98
|
* },
|
|
99
|
+
* SearchableSegmentAttributes: { // SearchableSegmentAttributes
|
|
100
|
+
* Criteria: [ // SearchableSegmentAttributesCriteriaList // required
|
|
101
|
+
* { // SearchableSegmentAttributesCriteria
|
|
102
|
+
* Key: "STRING_VALUE", // required
|
|
103
|
+
* Values: [ // SearchableSegmentAttributeValueList // required
|
|
104
|
+
* "STRING_VALUE",
|
|
105
|
+
* ],
|
|
106
|
+
* },
|
|
107
|
+
* ],
|
|
108
|
+
* MatchType: "MATCH_ALL" || "MATCH_ANY",
|
|
109
|
+
* },
|
|
99
110
|
* },
|
|
100
111
|
* MaxResults: Number("int"),
|
|
101
112
|
* NextToken: "STRING_VALUE",
|
|
@@ -113,8 +124,8 @@ declare const SearchContactsCommand_base: {
|
|
|
113
124
|
* // Id: "STRING_VALUE",
|
|
114
125
|
* // InitialContactId: "STRING_VALUE",
|
|
115
126
|
* // PreviousContactId: "STRING_VALUE",
|
|
116
|
-
* // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND",
|
|
117
|
-
* // Channel: "VOICE" || "CHAT" || "TASK",
|
|
127
|
+
* // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND" || "WEBRTC_API" || "AGENT_REPLY" || "FLOW",
|
|
128
|
+
* // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL",
|
|
118
129
|
* // QueueInfo: { // ContactSearchSummaryQueueInfo
|
|
119
130
|
* // Id: "STRING_VALUE",
|
|
120
131
|
* // EnqueueTimestamp: new Date("TIMESTAMP"),
|
|
@@ -126,6 +137,11 @@ declare const SearchContactsCommand_base: {
|
|
|
126
137
|
* // InitiationTimestamp: new Date("TIMESTAMP"),
|
|
127
138
|
* // DisconnectTimestamp: new Date("TIMESTAMP"),
|
|
128
139
|
* // ScheduledTimestamp: new Date("TIMESTAMP"),
|
|
140
|
+
* // SegmentAttributes: { // ContactSearchSummarySegmentAttributes
|
|
141
|
+
* // "<keys>": { // ContactSearchSummarySegmentAttributeValue
|
|
142
|
+
* // ValueString: "STRING_VALUE",
|
|
143
|
+
* // },
|
|
144
|
+
* // },
|
|
129
145
|
* // },
|
|
130
146
|
* // ],
|
|
131
147
|
* // NextToken: "STRING_VALUE",
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
+
import { SearchEmailAddressesResponse } from "../models/models_2";
|
|
5
|
+
import { SearchEmailAddressesRequest } from "../models/models_3";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*
|
|
14
|
+
* The input for {@link SearchEmailAddressesCommand}.
|
|
15
|
+
*/
|
|
16
|
+
export interface SearchEmailAddressesCommandInput extends SearchEmailAddressesRequest {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*
|
|
21
|
+
* The output of {@link SearchEmailAddressesCommand}.
|
|
22
|
+
*/
|
|
23
|
+
export interface SearchEmailAddressesCommandOutput extends SearchEmailAddressesResponse, __MetadataBearer {
|
|
24
|
+
}
|
|
25
|
+
declare const SearchEmailAddressesCommand_base: {
|
|
26
|
+
new (input: SearchEmailAddressesCommandInput): import("@smithy/smithy-client").CommandImpl<SearchEmailAddressesCommandInput, SearchEmailAddressesCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
new (__0_0: SearchEmailAddressesCommandInput): import("@smithy/smithy-client").CommandImpl<SearchEmailAddressesCommandInput, SearchEmailAddressesCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* <p>Searches email address in an instance, with optional filtering.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { ConnectClient, SearchEmailAddressesCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
36
|
+
* // const { ConnectClient, SearchEmailAddressesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
37
|
+
* const client = new ConnectClient(config);
|
|
38
|
+
* const input = { // SearchEmailAddressesRequest
|
|
39
|
+
* InstanceId: "STRING_VALUE", // required
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* SearchCriteria: { // EmailAddressSearchCriteria
|
|
43
|
+
* OrConditions: [ // EmailAddressSearchConditionList
|
|
44
|
+
* {
|
|
45
|
+
* OrConditions: [
|
|
46
|
+
* "<EmailAddressSearchCriteria>",
|
|
47
|
+
* ],
|
|
48
|
+
* AndConditions: [
|
|
49
|
+
* "<EmailAddressSearchCriteria>",
|
|
50
|
+
* ],
|
|
51
|
+
* StringCondition: { // StringCondition
|
|
52
|
+
* FieldName: "STRING_VALUE",
|
|
53
|
+
* Value: "STRING_VALUE",
|
|
54
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* AndConditions: [
|
|
59
|
+
* "<EmailAddressSearchCriteria>",
|
|
60
|
+
* ],
|
|
61
|
+
* StringCondition: {
|
|
62
|
+
* FieldName: "STRING_VALUE",
|
|
63
|
+
* Value: "STRING_VALUE",
|
|
64
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* SearchFilter: { // EmailAddressSearchFilter
|
|
68
|
+
* TagFilter: { // ControlPlaneTagFilter
|
|
69
|
+
* OrConditions: [ // TagOrConditionList
|
|
70
|
+
* [ // TagAndConditionList
|
|
71
|
+
* { // TagCondition
|
|
72
|
+
* TagKey: "STRING_VALUE",
|
|
73
|
+
* TagValue: "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* ],
|
|
77
|
+
* AndConditions: [
|
|
78
|
+
* {
|
|
79
|
+
* TagKey: "STRING_VALUE",
|
|
80
|
+
* TagValue: "STRING_VALUE",
|
|
81
|
+
* },
|
|
82
|
+
* ],
|
|
83
|
+
* TagCondition: "<TagCondition>",
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* };
|
|
87
|
+
* const command = new SearchEmailAddressesCommand(input);
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* // { // SearchEmailAddressesResponse
|
|
90
|
+
* // NextToken: "STRING_VALUE",
|
|
91
|
+
* // EmailAddresses: [ // EmailAddressList
|
|
92
|
+
* // { // EmailAddressMetadata
|
|
93
|
+
* // EmailAddressId: "STRING_VALUE",
|
|
94
|
+
* // EmailAddressArn: "STRING_VALUE",
|
|
95
|
+
* // EmailAddress: "STRING_VALUE",
|
|
96
|
+
* // Description: "STRING_VALUE",
|
|
97
|
+
* // DisplayName: "STRING_VALUE",
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // ApproximateTotalCount: Number("long"),
|
|
101
|
+
* // };
|
|
102
|
+
*
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* @param SearchEmailAddressesCommandInput - {@link SearchEmailAddressesCommandInput}
|
|
106
|
+
* @returns {@link SearchEmailAddressesCommandOutput}
|
|
107
|
+
* @see {@link SearchEmailAddressesCommandInput} for command's `input` shape.
|
|
108
|
+
* @see {@link SearchEmailAddressesCommandOutput} for command's `response` shape.
|
|
109
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
112
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
115
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
118
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
121
|
+
* <p>The request is not valid.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
124
|
+
* <p>The specified resource was not found.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
127
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link ConnectServiceException}
|
|
130
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
131
|
+
*
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class SearchEmailAddressesCommand extends SearchEmailAddressesCommand_base {
|
|
135
|
+
/** @internal type navigation helper, not in runtime. */
|
|
136
|
+
protected static __types: {
|
|
137
|
+
api: {
|
|
138
|
+
input: SearchEmailAddressesRequest;
|
|
139
|
+
output: SearchEmailAddressesResponse;
|
|
140
|
+
};
|
|
141
|
+
sdk: {
|
|
142
|
+
input: SearchEmailAddressesCommandInput;
|
|
143
|
+
output: SearchEmailAddressesCommandOutput;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import {
|
|
4
|
+
import { SearchHoursOfOperationsResponse } from "../models/models_2";
|
|
5
|
+
import { SearchHoursOfOperationsRequest } from "../models/models_3";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import {
|
|
4
|
+
import { SearchPredefinedAttributesResponse } from "../models/models_2";
|
|
5
|
+
import { SearchPredefinedAttributesRequest } from "../models/models_3";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import {
|
|
4
|
+
import { SearchPromptsResponse } from "../models/models_2";
|
|
5
|
+
import { SearchPromptsRequest } from "../models/models_3";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|