@aws-sdk/client-connect 3.696.0 → 3.699.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 +968 -115
- 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/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 +72 -24
- package/dist-es/models/models_1.js +24 -45
- package/dist-es/models/models_2.js +162 -17
- package/dist-es/models/models_3.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +417 -6
- 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 +128 -0
- package/dist-types/commands/CreateEmailAddressCommand.d.ts +109 -0
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- 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/DeleteViewVersionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -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 +29 -4
- package/dist-types/commands/DescribeContactEvaluationCommand.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 +102 -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 +2 -1
- 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 +2 -1
- 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 +130 -0
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +1 -1
- package/dist-types/commands/StartEmailContactCommand.d.ts +150 -0
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +2 -2
- package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +128 -0
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +5 -2
- package/dist-types/commands/StartTaskContactCommand.d.ts +10 -2
- package/dist-types/commands/StartWebRTCContactCommand.d.ts +5 -2
- package/dist-types/commands/UpdateContactCommand.d.ts +10 -2
- package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +2 -1
- package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +97 -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 +389 -335
- package/dist-types/models/models_1.d.ts +560 -663
- package/dist-types/models/models_2.d.ts +3752 -3728
- package/dist-types/models/models_3.d.ts +1351 -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 +50 -0
- package/dist-types/ts3.4/commands/CreateEmailAddressCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEmailAddressCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +1 -1
- 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/StartEmailContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartOutboundEmailContactCommand.d.ts +51 -0
- 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 +143 -95
- package/dist-types/ts3.4/models/models_1.d.ts +160 -230
- package/dist-types/ts3.4/models/models_2.d.ts +451 -290
- package/dist-types/ts3.4/models/models_3.d.ts +325 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
- package/package.json +4 -4
|
@@ -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 { SearchSecurityProfilesResponse } from "../models/models_2";
|
|
5
|
+
import { SearchSecurityProfilesRequest } 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 { SearchUserHierarchyGroupsResponse } from "../models/models_2";
|
|
5
|
+
import { SearchUserHierarchyGroupsRequest } 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 { SearchUsersResponse } from "../models/models_2";
|
|
5
|
+
import { SearchUsersRequest } from "../models/models_3";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -0,0 +1,130 @@
|
|
|
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 { SendOutboundEmailRequest, SendOutboundEmailResponse } from "../models/models_2";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendOutboundEmailCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendOutboundEmailCommandInput extends SendOutboundEmailRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendOutboundEmailCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendOutboundEmailCommandOutput extends SendOutboundEmailResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendOutboundEmailCommand_base: {
|
|
25
|
+
new (input: SendOutboundEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendOutboundEmailCommandInput, SendOutboundEmailCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: SendOutboundEmailCommandInput): import("@smithy/smithy-client").CommandImpl<SendOutboundEmailCommandInput, SendOutboundEmailCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p></p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectClient, SendOutboundEmailCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
35
|
+
* // const { ConnectClient, SendOutboundEmailCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
36
|
+
* const client = new ConnectClient(config);
|
|
37
|
+
* const input = { // SendOutboundEmailRequest
|
|
38
|
+
* InstanceId: "STRING_VALUE", // required
|
|
39
|
+
* FromEmailAddress: { // EmailAddressInfo
|
|
40
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
41
|
+
* DisplayName: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* DestinationEmailAddress: {
|
|
44
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
45
|
+
* DisplayName: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* AdditionalRecipients: { // OutboundAdditionalRecipients
|
|
48
|
+
* CcEmailAddresses: [ // EmailAddressRecipientList
|
|
49
|
+
* {
|
|
50
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
51
|
+
* DisplayName: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* EmailMessage: { // OutboundEmailContent
|
|
56
|
+
* MessageSourceType: "TEMPLATE" || "RAW", // required
|
|
57
|
+
* TemplatedMessageConfig: { // TemplatedMessageConfig
|
|
58
|
+
* KnowledgeBaseId: "STRING_VALUE", // required
|
|
59
|
+
* MessageTemplateId: "STRING_VALUE", // required
|
|
60
|
+
* TemplateAttributes: { // TemplateAttributes
|
|
61
|
+
* CustomAttributes: { // Attributes
|
|
62
|
+
* "<keys>": "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* CustomerProfileAttributes: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* RawMessage: { // OutboundRawMessage
|
|
68
|
+
* Subject: "STRING_VALUE", // required
|
|
69
|
+
* Body: "STRING_VALUE", // required
|
|
70
|
+
* ContentType: "STRING_VALUE", // required
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* TrafficType: "GENERAL" || "CAMPAIGN", // required
|
|
74
|
+
* SourceCampaign: { // SourceCampaign
|
|
75
|
+
* CampaignId: "STRING_VALUE",
|
|
76
|
+
* OutboundRequestId: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* ClientToken: "STRING_VALUE",
|
|
79
|
+
* };
|
|
80
|
+
* const command = new SendOutboundEmailCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // {};
|
|
83
|
+
*
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @param SendOutboundEmailCommandInput - {@link SendOutboundEmailCommandInput}
|
|
87
|
+
* @returns {@link SendOutboundEmailCommandOutput}
|
|
88
|
+
* @see {@link SendOutboundEmailCommandInput} for command's `input` shape.
|
|
89
|
+
* @see {@link SendOutboundEmailCommandOutput} for command's `response` shape.
|
|
90
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
93
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link IdempotencyException} (client fault)
|
|
96
|
+
* <p>An entity with the same name already exists.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
99
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
102
|
+
* <p>The request is not valid.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
105
|
+
* <p>The specified resource was not found.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
108
|
+
* <p>The service quota has been exceeded.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
111
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ConnectServiceException}
|
|
114
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
115
|
+
*
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export declare class SendOutboundEmailCommand extends SendOutboundEmailCommand_base {
|
|
119
|
+
/** @internal type navigation helper, not in runtime. */
|
|
120
|
+
protected static __types: {
|
|
121
|
+
api: {
|
|
122
|
+
input: SendOutboundEmailRequest;
|
|
123
|
+
output: {};
|
|
124
|
+
};
|
|
125
|
+
sdk: {
|
|
126
|
+
input: SendOutboundEmailCommandInput;
|
|
127
|
+
output: SendOutboundEmailCommandOutput;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
}
|
|
@@ -43,7 +43,7 @@ declare const StartAttachedFileUploadCommand_base: {
|
|
|
43
43
|
* FileName: "STRING_VALUE", // required
|
|
44
44
|
* FileSizeInBytes: Number("long"), // required
|
|
45
45
|
* UrlExpiryInSeconds: Number("int"),
|
|
46
|
-
* FileUseCaseType: "ATTACHMENT", // required
|
|
46
|
+
* FileUseCaseType: "EMAIL_MESSAGE" || "ATTACHMENT", // required
|
|
47
47
|
* AssociatedResourceArn: "STRING_VALUE", // required
|
|
48
48
|
* CreatedBy: { // CreatedByInfo Union: only one key present
|
|
49
49
|
* ConnectUserArn: "STRING_VALUE",
|
|
@@ -0,0 +1,150 @@
|
|
|
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 { StartEmailContactRequest, StartEmailContactResponse } from "../models/models_2";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartEmailContactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartEmailContactCommandInput extends StartEmailContactRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartEmailContactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartEmailContactCommandOutput extends StartEmailContactResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartEmailContactCommand_base: {
|
|
25
|
+
new (input: StartEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<StartEmailContactCommandInput, StartEmailContactCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<StartEmailContactCommandInput, StartEmailContactCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p></p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectClient, StartEmailContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
35
|
+
* // const { ConnectClient, StartEmailContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
36
|
+
* const client = new ConnectClient(config);
|
|
37
|
+
* const input = { // StartEmailContactRequest
|
|
38
|
+
* InstanceId: "STRING_VALUE", // required
|
|
39
|
+
* FromEmailAddress: { // EmailAddressInfo
|
|
40
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
41
|
+
* DisplayName: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* DestinationEmailAddress: "STRING_VALUE", // required
|
|
44
|
+
* Description: "STRING_VALUE",
|
|
45
|
+
* References: { // ContactReferences
|
|
46
|
+
* "<keys>": { // Reference
|
|
47
|
+
* Value: "STRING_VALUE",
|
|
48
|
+
* Type: "URL" || "ATTACHMENT" || "CONTACT_ANALYSIS" || "NUMBER" || "STRING" || "DATE" || "EMAIL" || "EMAIL_MESSAGE", // required
|
|
49
|
+
* Status: "AVAILABLE" || "DELETED" || "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
|
|
50
|
+
* Arn: "STRING_VALUE",
|
|
51
|
+
* StatusReason: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* Name: "STRING_VALUE",
|
|
55
|
+
* EmailMessage: { // InboundEmailContent
|
|
56
|
+
* MessageSourceType: "RAW", // required
|
|
57
|
+
* RawMessage: { // InboundRawMessage
|
|
58
|
+
* Subject: "STRING_VALUE", // required
|
|
59
|
+
* Body: "STRING_VALUE", // required
|
|
60
|
+
* ContentType: "STRING_VALUE", // required
|
|
61
|
+
* Headers: { // EmailHeaders
|
|
62
|
+
* "<keys>": "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* AdditionalRecipients: { // InboundAdditionalRecipients
|
|
67
|
+
* ToAddresses: [ // EmailAddressRecipientList
|
|
68
|
+
* {
|
|
69
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
70
|
+
* DisplayName: "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* CcAddresses: [
|
|
74
|
+
* {
|
|
75
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
76
|
+
* DisplayName: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* },
|
|
80
|
+
* Attachments: [ // EmailAttachments
|
|
81
|
+
* { // EmailAttachment
|
|
82
|
+
* FileName: "STRING_VALUE", // required
|
|
83
|
+
* S3Url: "STRING_VALUE", // required
|
|
84
|
+
* },
|
|
85
|
+
* ],
|
|
86
|
+
* ContactFlowId: "STRING_VALUE",
|
|
87
|
+
* RelatedContactId: "STRING_VALUE",
|
|
88
|
+
* Attributes: { // Attributes
|
|
89
|
+
* "<keys>": "STRING_VALUE",
|
|
90
|
+
* },
|
|
91
|
+
* SegmentAttributes: { // SegmentAttributes
|
|
92
|
+
* "<keys>": { // SegmentAttributeValue
|
|
93
|
+
* ValueString: "STRING_VALUE",
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* ClientToken: "STRING_VALUE",
|
|
97
|
+
* };
|
|
98
|
+
* const command = new StartEmailContactCommand(input);
|
|
99
|
+
* const response = await client.send(command);
|
|
100
|
+
* // { // StartEmailContactResponse
|
|
101
|
+
* // ContactId: "STRING_VALUE",
|
|
102
|
+
* // };
|
|
103
|
+
*
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* @param StartEmailContactCommandInput - {@link StartEmailContactCommandInput}
|
|
107
|
+
* @returns {@link StartEmailContactCommandOutput}
|
|
108
|
+
* @see {@link StartEmailContactCommandInput} for command's `input` shape.
|
|
109
|
+
* @see {@link StartEmailContactCommandOutput} for command's `response` shape.
|
|
110
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
113
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link IdempotencyException} (client fault)
|
|
116
|
+
* <p>An entity with the same name already exists.</p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
119
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
122
|
+
* <p>The request is not valid.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
125
|
+
* <p>The specified resource was not found.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
128
|
+
* <p>The service quota has been exceeded.</p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
131
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link ConnectServiceException}
|
|
134
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
135
|
+
*
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class StartEmailContactCommand extends StartEmailContactCommand_base {
|
|
139
|
+
/** @internal type navigation helper, not in runtime. */
|
|
140
|
+
protected static __types: {
|
|
141
|
+
api: {
|
|
142
|
+
input: StartEmailContactRequest;
|
|
143
|
+
output: StartEmailContactResponse;
|
|
144
|
+
};
|
|
145
|
+
sdk: {
|
|
146
|
+
input: StartEmailContactCommandInput;
|
|
147
|
+
output: StartEmailContactCommandOutput;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}
|
|
@@ -60,11 +60,11 @@ declare const StartOutboundChatContactCommand_base: {
|
|
|
60
60
|
* const client = new ConnectClient(config);
|
|
61
61
|
* const input = { // StartOutboundChatContactRequest
|
|
62
62
|
* SourceEndpoint: { // Endpoint
|
|
63
|
-
* Type: "TELEPHONE_NUMBER" || "VOIP" || "CONTACT_FLOW" || "CONNECT_PHONENUMBER_ARN",
|
|
63
|
+
* Type: "TELEPHONE_NUMBER" || "VOIP" || "CONTACT_FLOW" || "CONNECT_PHONENUMBER_ARN" || "EMAIL_ADDRESS",
|
|
64
64
|
* Address: "STRING_VALUE",
|
|
65
65
|
* },
|
|
66
66
|
* DestinationEndpoint: {
|
|
67
|
-
* Type: "TELEPHONE_NUMBER" || "VOIP" || "CONTACT_FLOW" || "CONNECT_PHONENUMBER_ARN",
|
|
67
|
+
* Type: "TELEPHONE_NUMBER" || "VOIP" || "CONTACT_FLOW" || "CONNECT_PHONENUMBER_ARN" || "EMAIL_ADDRESS",
|
|
68
68
|
* Address: "STRING_VALUE",
|
|
69
69
|
* },
|
|
70
70
|
* InstanceId: "STRING_VALUE", // required
|
|
@@ -0,0 +1,128 @@
|
|
|
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 { StartOutboundEmailContactRequest, StartOutboundEmailContactResponse } from "../models/models_2";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartOutboundEmailContactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartOutboundEmailContactCommandInput extends StartOutboundEmailContactRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartOutboundEmailContactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartOutboundEmailContactCommandOutput extends StartOutboundEmailContactResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartOutboundEmailContactCommand_base: {
|
|
25
|
+
new (input: StartOutboundEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<StartOutboundEmailContactCommandInput, StartOutboundEmailContactCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartOutboundEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<StartOutboundEmailContactCommandInput, StartOutboundEmailContactCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p></p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectClient, StartOutboundEmailContactCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
35
|
+
* // const { ConnectClient, StartOutboundEmailContactCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
36
|
+
* const client = new ConnectClient(config);
|
|
37
|
+
* const input = { // StartOutboundEmailContactRequest
|
|
38
|
+
* InstanceId: "STRING_VALUE", // required
|
|
39
|
+
* ContactId: "STRING_VALUE", // required
|
|
40
|
+
* FromEmailAddress: { // EmailAddressInfo
|
|
41
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
42
|
+
* DisplayName: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* DestinationEmailAddress: {
|
|
45
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
46
|
+
* DisplayName: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* AdditionalRecipients: { // OutboundAdditionalRecipients
|
|
49
|
+
* CcEmailAddresses: [ // EmailAddressRecipientList
|
|
50
|
+
* {
|
|
51
|
+
* EmailAddress: "STRING_VALUE", // required
|
|
52
|
+
* DisplayName: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* EmailMessage: { // OutboundEmailContent
|
|
57
|
+
* MessageSourceType: "TEMPLATE" || "RAW", // required
|
|
58
|
+
* TemplatedMessageConfig: { // TemplatedMessageConfig
|
|
59
|
+
* KnowledgeBaseId: "STRING_VALUE", // required
|
|
60
|
+
* MessageTemplateId: "STRING_VALUE", // required
|
|
61
|
+
* TemplateAttributes: { // TemplateAttributes
|
|
62
|
+
* CustomAttributes: { // Attributes
|
|
63
|
+
* "<keys>": "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* CustomerProfileAttributes: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* RawMessage: { // OutboundRawMessage
|
|
69
|
+
* Subject: "STRING_VALUE", // required
|
|
70
|
+
* Body: "STRING_VALUE", // required
|
|
71
|
+
* ContentType: "STRING_VALUE", // required
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* ClientToken: "STRING_VALUE",
|
|
75
|
+
* };
|
|
76
|
+
* const command = new StartOutboundEmailContactCommand(input);
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* // { // StartOutboundEmailContactResponse
|
|
79
|
+
* // ContactId: "STRING_VALUE",
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param StartOutboundEmailContactCommandInput - {@link StartOutboundEmailContactCommandInput}
|
|
85
|
+
* @returns {@link StartOutboundEmailContactCommandOutput}
|
|
86
|
+
* @see {@link StartOutboundEmailContactCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link StartOutboundEmailContactCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link IdempotencyException} (client fault)
|
|
94
|
+
* <p>An entity with the same name already exists.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
97
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
100
|
+
* <p>The request is not valid.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
103
|
+
* <p>The specified resource was not found.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
106
|
+
* <p>The service quota has been exceeded.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
109
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ConnectServiceException}
|
|
112
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export declare class StartOutboundEmailContactCommand extends StartOutboundEmailContactCommand_base {
|
|
117
|
+
/** @internal type navigation helper, not in runtime. */
|
|
118
|
+
protected static __types: {
|
|
119
|
+
api: {
|
|
120
|
+
input: StartOutboundEmailContactRequest;
|
|
121
|
+
output: StartOutboundEmailContactResponse;
|
|
122
|
+
};
|
|
123
|
+
sdk: {
|
|
124
|
+
input: StartOutboundEmailContactCommandInput;
|
|
125
|
+
output: StartOutboundEmailContactCommandOutput;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
}
|
|
@@ -56,8 +56,11 @@ declare const StartOutboundVoiceContactCommand_base: {
|
|
|
56
56
|
* Description: "STRING_VALUE",
|
|
57
57
|
* References: { // ContactReferences
|
|
58
58
|
* "<keys>": { // Reference
|
|
59
|
-
* Value: "STRING_VALUE",
|
|
60
|
-
* Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
|
|
59
|
+
* Value: "STRING_VALUE",
|
|
60
|
+
* Type: "URL" || "ATTACHMENT" || "CONTACT_ANALYSIS" || "NUMBER" || "STRING" || "DATE" || "EMAIL" || "EMAIL_MESSAGE", // required
|
|
61
|
+
* Status: "AVAILABLE" || "DELETED" || "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
|
|
62
|
+
* Arn: "STRING_VALUE",
|
|
63
|
+
* StatusReason: "STRING_VALUE",
|
|
61
64
|
* },
|
|
62
65
|
* },
|
|
63
66
|
* RelatedContactId: "STRING_VALUE",
|
|
@@ -94,8 +94,11 @@ declare const StartTaskContactCommand_base: {
|
|
|
94
94
|
* Name: "STRING_VALUE", // required
|
|
95
95
|
* References: { // ContactReferences
|
|
96
96
|
* "<keys>": { // Reference
|
|
97
|
-
* Value: "STRING_VALUE",
|
|
98
|
-
* Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
|
|
97
|
+
* Value: "STRING_VALUE",
|
|
98
|
+
* Type: "URL" || "ATTACHMENT" || "CONTACT_ANALYSIS" || "NUMBER" || "STRING" || "DATE" || "EMAIL" || "EMAIL_MESSAGE", // required
|
|
99
|
+
* Status: "AVAILABLE" || "DELETED" || "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
|
|
100
|
+
* Arn: "STRING_VALUE",
|
|
101
|
+
* StatusReason: "STRING_VALUE",
|
|
99
102
|
* },
|
|
100
103
|
* },
|
|
101
104
|
* Description: "STRING_VALUE",
|
|
@@ -104,6 +107,11 @@ declare const StartTaskContactCommand_base: {
|
|
|
104
107
|
* TaskTemplateId: "STRING_VALUE",
|
|
105
108
|
* QuickConnectId: "STRING_VALUE",
|
|
106
109
|
* RelatedContactId: "STRING_VALUE",
|
|
110
|
+
* SegmentAttributes: { // SegmentAttributes
|
|
111
|
+
* "<keys>": { // SegmentAttributeValue
|
|
112
|
+
* ValueString: "STRING_VALUE",
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
107
115
|
* };
|
|
108
116
|
* const command = new StartTaskContactCommand(input);
|
|
109
117
|
* const response = await client.send(command);
|
|
@@ -58,8 +58,11 @@ declare const StartWebRTCContactCommand_base: {
|
|
|
58
58
|
* RelatedContactId: "STRING_VALUE",
|
|
59
59
|
* References: { // ContactReferences
|
|
60
60
|
* "<keys>": { // Reference
|
|
61
|
-
* Value: "STRING_VALUE",
|
|
62
|
-
* Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
|
|
61
|
+
* Value: "STRING_VALUE",
|
|
62
|
+
* Type: "URL" || "ATTACHMENT" || "CONTACT_ANALYSIS" || "NUMBER" || "STRING" || "DATE" || "EMAIL" || "EMAIL_MESSAGE", // required
|
|
63
|
+
* Status: "AVAILABLE" || "DELETED" || "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
|
|
64
|
+
* Arn: "STRING_VALUE",
|
|
65
|
+
* StatusReason: "STRING_VALUE",
|
|
63
66
|
* },
|
|
64
67
|
* },
|
|
65
68
|
* Description: "STRING_VALUE",
|
|
@@ -47,8 +47,16 @@ declare const UpdateContactCommand_base: {
|
|
|
47
47
|
* Description: "STRING_VALUE",
|
|
48
48
|
* References: { // ContactReferences
|
|
49
49
|
* "<keys>": { // Reference
|
|
50
|
-
* Value: "STRING_VALUE",
|
|
51
|
-
* Type: "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL", // required
|
|
50
|
+
* Value: "STRING_VALUE",
|
|
51
|
+
* Type: "URL" || "ATTACHMENT" || "CONTACT_ANALYSIS" || "NUMBER" || "STRING" || "DATE" || "EMAIL" || "EMAIL_MESSAGE", // required
|
|
52
|
+
* Status: "AVAILABLE" || "DELETED" || "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
|
|
53
|
+
* Arn: "STRING_VALUE",
|
|
54
|
+
* StatusReason: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* SegmentAttributes: { // SegmentAttributes
|
|
58
|
+
* "<keys>": { // SegmentAttributeValue
|
|
59
|
+
* ValueString: "STRING_VALUE",
|
|
52
60
|
* },
|
|
53
61
|
* },
|
|
54
62
|
* };
|
|
@@ -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 { UpdateContactRoutingDataResponse } from "../models/models_2";
|
|
5
|
+
import { UpdateContactRoutingDataRequest } from "../models/models_3";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -0,0 +1,97 @@
|
|
|
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 { UpdateEmailAddressMetadataRequest, UpdateEmailAddressMetadataResponse } from "../models/models_2";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateEmailAddressMetadataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateEmailAddressMetadataCommandInput extends UpdateEmailAddressMetadataRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateEmailAddressMetadataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateEmailAddressMetadataCommandOutput extends UpdateEmailAddressMetadataResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateEmailAddressMetadataCommand_base: {
|
|
25
|
+
new (input: UpdateEmailAddressMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEmailAddressMetadataCommandInput, UpdateEmailAddressMetadataCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateEmailAddressMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEmailAddressMetadataCommandInput, UpdateEmailAddressMetadataCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p></p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectClient, UpdateEmailAddressMetadataCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
35
|
+
* // const { ConnectClient, UpdateEmailAddressMetadataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
36
|
+
* const client = new ConnectClient(config);
|
|
37
|
+
* const input = { // UpdateEmailAddressMetadataRequest
|
|
38
|
+
* InstanceId: "STRING_VALUE", // required
|
|
39
|
+
* EmailAddressId: "STRING_VALUE", // required
|
|
40
|
+
* Description: "STRING_VALUE",
|
|
41
|
+
* DisplayName: "STRING_VALUE",
|
|
42
|
+
* ClientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new UpdateEmailAddressMetadataCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // UpdateEmailAddressMetadataResponse
|
|
47
|
+
* // EmailAddressId: "STRING_VALUE",
|
|
48
|
+
* // EmailAddressArn: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param UpdateEmailAddressMetadataCommandInput - {@link UpdateEmailAddressMetadataCommandInput}
|
|
54
|
+
* @returns {@link UpdateEmailAddressMetadataCommandOutput}
|
|
55
|
+
* @see {@link UpdateEmailAddressMetadataCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link UpdateEmailAddressMetadataCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link IdempotencyException} (client fault)
|
|
63
|
+
* <p>An entity with the same name already exists.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
66
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
69
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
72
|
+
* <p>The request is not valid.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>The specified resource was not found.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ConnectServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class UpdateEmailAddressMetadataCommand extends UpdateEmailAddressMetadataCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: UpdateEmailAddressMetadataRequest;
|
|
90
|
+
output: UpdateEmailAddressMetadataResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: UpdateEmailAddressMetadataCommandInput;
|
|
94
|
+
output: UpdateEmailAddressMetadataCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -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 { UpdateEvaluationFormResponse } from "../models/models_2";
|
|
5
|
+
import { UpdateEvaluationFormRequest } from "../models/models_3";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|