@aws-sdk/client-connect 3.714.0 → 3.716.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.
Files changed (43) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +65 -1
  3. package/dist-es/Connect.js +2 -0
  4. package/dist-es/commands/StartChatContactCommand.js +2 -1
  5. package/dist-es/commands/UpdateParticipantAuthenticationCommand.js +23 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_0.js +1 -0
  8. package/dist-es/models/models_1.js +1 -0
  9. package/dist-es/models/models_2.js +6 -0
  10. package/dist-es/models/models_3.js +4 -0
  11. package/dist-es/protocols/Aws_restJson1.js +29 -0
  12. package/dist-types/Connect.d.ts +7 -0
  13. package/dist-types/ConnectClient.d.ts +3 -2
  14. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  15. package/dist-types/commands/CreatePushNotificationRegistrationCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeContactCommand.d.ts +1 -0
  17. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +2 -2
  18. package/dist-types/commands/ListBotsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListInstanceAttributesCommand.d.ts +1 -1
  20. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
  21. package/dist-types/commands/StartChatContactCommand.d.ts +1 -0
  22. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  23. package/dist-types/commands/UpdateParticipantAuthenticationCommand.d.ts +109 -0
  24. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +1 -2
  26. package/dist-types/commands/index.d.ts +1 -0
  27. package/dist-types/models/models_0.d.ts +1 -0
  28. package/dist-types/models/models_1.d.ts +1 -0
  29. package/dist-types/models/models_2.d.ts +48 -112
  30. package/dist-types/models/models_3.d.ts +129 -1
  31. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  32. package/dist-types/ts3.4/Connect.d.ts +17 -0
  33. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  34. package/dist-types/ts3.4/commands/UpdateParticipantAuthenticationCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +4 -2
  37. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  39. package/dist-types/ts3.4/models/models_1.d.ts +1 -0
  40. package/dist-types/ts3.4/models/models_2.d.ts +11 -26
  41. package/dist-types/ts3.4/models/models_3.d.ts +29 -0
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  43. package/package.json +12 -12
@@ -0,0 +1,109 @@
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 { UpdateParticipantAuthenticationRequest, UpdateParticipantAuthenticationResponse } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateParticipantAuthenticationCommand}.
14
+ */
15
+ export interface UpdateParticipantAuthenticationCommandInput extends UpdateParticipantAuthenticationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateParticipantAuthenticationCommand}.
21
+ */
22
+ export interface UpdateParticipantAuthenticationCommandOutput extends UpdateParticipantAuthenticationResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateParticipantAuthenticationCommand_base: {
25
+ new (input: UpdateParticipantAuthenticationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateParticipantAuthenticationCommandInput, UpdateParticipantAuthenticationCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateParticipantAuthenticationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateParticipantAuthenticationCommandInput, UpdateParticipantAuthenticationCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Instructs Amazon Connect to resume the authentication process. The subsequent actions
31
+ * depend on the request body contents:</p>
32
+ * <ul>
33
+ * <li>
34
+ * <p>
35
+ * <b>If a code is provided</b>: Connect retrieves the identity
36
+ * information from Amazon Cognito and imports it into Connect Customer Profiles.</p>
37
+ * </li>
38
+ * <li>
39
+ * <p>
40
+ * <b>If an error is provided</b>: The error branch of the
41
+ * Authenticate Customer block is executed.</p>
42
+ * </li>
43
+ * </ul>
44
+ * <note>
45
+ * <p>The API returns a success response to acknowledge the request. However, the interaction and
46
+ * exchange of identity information occur asynchronously after the response is returned.</p>
47
+ * </note>
48
+ * @example
49
+ * Use a bare-bones client and the command you need to make an API call.
50
+ * ```javascript
51
+ * import { ConnectClient, UpdateParticipantAuthenticationCommand } from "@aws-sdk/client-connect"; // ES Modules import
52
+ * // const { ConnectClient, UpdateParticipantAuthenticationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
53
+ * const client = new ConnectClient(config);
54
+ * const input = { // UpdateParticipantAuthenticationRequest
55
+ * State: "STRING_VALUE", // required
56
+ * InstanceId: "STRING_VALUE", // required
57
+ * Code: "STRING_VALUE",
58
+ * Error: "STRING_VALUE",
59
+ * ErrorDescription: "STRING_VALUE",
60
+ * };
61
+ * const command = new UpdateParticipantAuthenticationCommand(input);
62
+ * const response = await client.send(command);
63
+ * // {};
64
+ *
65
+ * ```
66
+ *
67
+ * @param UpdateParticipantAuthenticationCommandInput - {@link UpdateParticipantAuthenticationCommandInput}
68
+ * @returns {@link UpdateParticipantAuthenticationCommandOutput}
69
+ * @see {@link UpdateParticipantAuthenticationCommandInput} for command's `input` shape.
70
+ * @see {@link UpdateParticipantAuthenticationCommandOutput} for command's `response` shape.
71
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>You do not have sufficient permissions to perform this action.</p>
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p>Operation cannot be performed at this time as there is a conflict with another operation or
78
+ * contact state.</p>
79
+ *
80
+ * @throws {@link InternalServiceException} (server fault)
81
+ * <p>Request processing failed because of an error or failure with the service.</p>
82
+ *
83
+ * @throws {@link InvalidParameterException} (client fault)
84
+ * <p>One or more of the specified parameters are not valid.</p>
85
+ *
86
+ * @throws {@link InvalidRequestException} (client fault)
87
+ * <p>The request is not valid.</p>
88
+ *
89
+ * @throws {@link ThrottlingException} (client fault)
90
+ * <p>The throttling limit has been exceeded.</p>
91
+ *
92
+ * @throws {@link ConnectServiceException}
93
+ * <p>Base exception class for all service exceptions from Connect service.</p>
94
+ *
95
+ * @public
96
+ */
97
+ export declare class UpdateParticipantAuthenticationCommand extends UpdateParticipantAuthenticationCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: UpdateParticipantAuthenticationRequest;
102
+ output: {};
103
+ };
104
+ sdk: {
105
+ input: UpdateParticipantAuthenticationCommandInput;
106
+ output: UpdateParticipantAuthenticationCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -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 { UpdateSecurityProfileRequest } from "../models/models_2";
4
+ import { UpdateSecurityProfileRequest } from "../models/models_3";
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 { UpdateTaskTemplateRequest } from "../models/models_2";
5
- import { UpdateTaskTemplateResponse } from "../models/models_3";
4
+ import { UpdateTaskTemplateRequest, UpdateTaskTemplateResponse } from "../models/models_3";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -245,6 +245,7 @@ export * from "./UpdateHoursOfOperationCommand";
245
245
  export * from "./UpdateHoursOfOperationOverrideCommand";
246
246
  export * from "./UpdateInstanceAttributeCommand";
247
247
  export * from "./UpdateInstanceStorageConfigCommand";
248
+ export * from "./UpdateParticipantAuthenticationCommand";
248
249
  export * from "./UpdateParticipantRoleConfigCommand";
249
250
  export * from "./UpdatePhoneNumberCommand";
250
251
  export * from "./UpdatePhoneNumberMetadataCommand";
@@ -3557,6 +3557,7 @@ export declare const IntegrationType: {
3557
3557
  readonly APPLICATION: "APPLICATION";
3558
3558
  readonly CALL_TRANSFER_CONNECTOR: "CALL_TRANSFER_CONNECTOR";
3559
3559
  readonly CASES_DOMAIN: "CASES_DOMAIN";
3560
+ readonly COGNITO_USER_POOL: "COGNITO_USER_POOL";
3560
3561
  readonly EVENT: "EVENT";
3561
3562
  readonly FILE_SCANNER: "FILE_SCANNER";
3562
3563
  readonly PINPOINT_APP: "PINPOINT_APP";
@@ -1441,6 +1441,7 @@ export declare const InstanceAttributeType: {
1441
1441
  readonly ENHANCED_CONTACT_MONITORING: "ENHANCED_CONTACT_MONITORING";
1442
1442
  readonly HIGH_VOLUME_OUTBOUND: "HIGH_VOLUME_OUTBOUND";
1443
1443
  readonly INBOUND_CALLS: "INBOUND_CALLS";
1444
+ readonly MULTI_PARTY_CHAT_CONFERENCE: "MULTI_PARTY_CHAT_CONFERENCE";
1444
1445
  readonly MULTI_PARTY_CONFERENCE: "MULTI_PARTY_CONFERENCE";
1445
1446
  readonly OUTBOUND_CALLS: "OUTBOUND_CALLS";
1446
1447
  readonly USE_CUSTOM_TTS_VOICES: "USE_CUSTOM_TTS_VOICES";
@@ -1,6 +1,6 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { ActionSummary, AgentAvailabilityTimer, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, EventSourceName, FileStatusType, FileUseCaseType, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, OutboundEmailConfig, ParticipantRole, PredefinedAttributeValues, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, StringComparisonType, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserPhoneConfig, UserProficiency, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
3
+ import { ActionSummary, AgentAvailabilityTimer, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, EventSourceName, FileStatusType, FileUseCaseType, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, OutboundEmailConfig, ParticipantRole, PredefinedAttributeValues, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, StringComparisonType, StringCondition, TagCondition, TaskTemplateStatus, UseCaseType, UserPhoneConfig, UserProficiency, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
4
  import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, EvaluationAnswerData, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, HoursOfOperationOverride, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RealTimeContactAnalysisOutputType, RealTimeContactAnalysisSegmentType, RoutingProfile, SortOrder, TrafficDistributionGroupStatus } from "./models_1";
5
5
  /**
6
6
  * @public
@@ -2758,7 +2758,7 @@ export interface DateCondition {
2758
2758
  Value?: string | undefined;
2759
2759
  /**
2760
2760
  * <p>An object to specify the hours of operation override date condition
2761
- * <code>comparisonType</code>.</p>
2761
+ * <code>comparisonType</code>.</p>
2762
2762
  * @public
2763
2763
  */
2764
2764
  ComparisonType?: DateComparisonType | undefined;
@@ -4393,6 +4393,7 @@ export interface VoiceRecordingConfiguration {
4393
4393
  VoiceRecordingTrack?: VoiceRecordingTrack | undefined;
4394
4394
  /**
4395
4395
  * <p>Identifies which IVR track is being recorded.</p>
4396
+ * <p>One and only one of the track configurations should be presented in the request.</p>
4396
4397
  * @public
4397
4398
  */
4398
4399
  IvrRecordingTrack?: IvrRecordingTrack | undefined;
@@ -5991,6 +5992,47 @@ export interface UpdateInstanceStorageConfigRequest {
5991
5992
  */
5992
5993
  StorageConfig: InstanceStorageConfig | undefined;
5993
5994
  }
5995
+ /**
5996
+ * @public
5997
+ */
5998
+ export interface UpdateParticipantAuthenticationRequest {
5999
+ /**
6000
+ * <p>The <code>state</code> query parameter that was provided by Cognito in the
6001
+ * <code>redirectUri</code>. This will also match the <code>state</code> parameter provided in the
6002
+ * <code>AuthenticationUrl</code> from the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetAuthenticationUrl.html">GetAuthenticationUrl</a>
6003
+ * response.</p>
6004
+ * @public
6005
+ */
6006
+ State: string | undefined;
6007
+ /**
6008
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6009
+ * @public
6010
+ */
6011
+ InstanceId: string | undefined;
6012
+ /**
6013
+ * <p>The <code>code</code> query parameter provided by Cognito in the
6014
+ * <code>redirectUri</code>.</p>
6015
+ * @public
6016
+ */
6017
+ Code?: string | undefined;
6018
+ /**
6019
+ * <p>The <code>error</code> query parameter provided by Cognito in the
6020
+ * <code>redirectUri</code>.</p>
6021
+ * @public
6022
+ */
6023
+ Error?: string | undefined;
6024
+ /**
6025
+ * <p>The <code>error_description</code> parameter provided by Cognito in the
6026
+ * <code>redirectUri</code>.</p>
6027
+ * @public
6028
+ */
6029
+ ErrorDescription?: string | undefined;
6030
+ }
6031
+ /**
6032
+ * @public
6033
+ */
6034
+ export interface UpdateParticipantAuthenticationResponse {
6035
+ }
5994
6036
  /**
5995
6037
  * @public
5996
6038
  * @enum
@@ -6620,116 +6662,6 @@ export interface UpdateRuleRequest {
6620
6662
  */
6621
6663
  PublishStatus: RulePublishStatus | undefined;
6622
6664
  }
6623
- /**
6624
- * @public
6625
- */
6626
- export interface UpdateSecurityProfileRequest {
6627
- /**
6628
- * <p>The description of the security profile.</p>
6629
- * @public
6630
- */
6631
- Description?: string | undefined;
6632
- /**
6633
- * <p>The permissions granted to a security profile. For a list of valid permissions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security
6634
- * profile permissions</a>.</p>
6635
- * @public
6636
- */
6637
- Permissions?: string[] | undefined;
6638
- /**
6639
- * <p>The identifier for the security profle.</p>
6640
- * @public
6641
- */
6642
- SecurityProfileId: string | undefined;
6643
- /**
6644
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6645
- * @public
6646
- */
6647
- InstanceId: string | undefined;
6648
- /**
6649
- * <p>The list of tags that a security profile uses to restrict access to resources in Amazon Connect.</p>
6650
- * @public
6651
- */
6652
- AllowedAccessControlTags?: Record<string, string> | undefined;
6653
- /**
6654
- * <p>The list of resources that a security profile applies tag restrictions to in Amazon Connect.</p>
6655
- * @public
6656
- */
6657
- TagRestrictedResources?: string[] | undefined;
6658
- /**
6659
- * <p>A list of the third-party application's metadata.</p>
6660
- * @public
6661
- */
6662
- Applications?: Application[] | undefined;
6663
- /**
6664
- * <p>The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: <code>User</code>.</p>
6665
- * @public
6666
- */
6667
- HierarchyRestrictedResources?: string[] | undefined;
6668
- /**
6669
- * <p>The identifier of the hierarchy group that a security profile uses to restrict access to
6670
- * resources in Amazon Connect.</p>
6671
- * @public
6672
- */
6673
- AllowedAccessControlHierarchyGroupId?: string | undefined;
6674
- }
6675
- /**
6676
- * @public
6677
- */
6678
- export interface UpdateTaskTemplateRequest {
6679
- /**
6680
- * <p>A unique identifier for the task template.</p>
6681
- * @public
6682
- */
6683
- TaskTemplateId: string | undefined;
6684
- /**
6685
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6686
- * @public
6687
- */
6688
- InstanceId: string | undefined;
6689
- /**
6690
- * <p>The name of the task template.</p>
6691
- * @public
6692
- */
6693
- Name?: string | undefined;
6694
- /**
6695
- * <p>The description of the task template.</p>
6696
- * @public
6697
- */
6698
- Description?: string | undefined;
6699
- /**
6700
- * <p>The identifier of the flow that runs by default when a task is created by referencing this template.</p>
6701
- * @public
6702
- */
6703
- ContactFlowId?: string | undefined;
6704
- /**
6705
- * <p>The ContactFlowId for the flow that will be run if this template is used to create a
6706
- * self-assigned task.</p>
6707
- * @public
6708
- */
6709
- SelfAssignFlowId?: string | undefined;
6710
- /**
6711
- * <p>Constraints that are applicable to the fields listed.</p>
6712
- * @public
6713
- */
6714
- Constraints?: TaskTemplateConstraints | undefined;
6715
- /**
6716
- * <p>The default values for fields when a task is created by referencing this template.</p>
6717
- * @public
6718
- */
6719
- Defaults?: TaskTemplateDefaults | undefined;
6720
- /**
6721
- * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
6722
- * Tasks can only be created from <code>ACTIVE</code> templates.
6723
- * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
6724
- * @public
6725
- */
6726
- Status?: TaskTemplateStatus | undefined;
6727
- /**
6728
- * <p>Fields that are part of the template.</p>
6729
- * @public
6730
- */
6731
- Fields?: TaskTemplateField[] | undefined;
6732
- }
6733
6665
  /**
6734
6666
  * @internal
6735
6667
  */
@@ -6866,3 +6798,7 @@ export declare const StartWebRTCContactResponseFilterSensitiveLog: (obj: StartWe
6866
6798
  * @internal
6867
6799
  */
6868
6800
  export declare const UpdateEmailAddressMetadataRequestFilterSensitiveLog: (obj: UpdateEmailAddressMetadataRequest) => any;
6801
+ /**
6802
+ * @internal
6803
+ */
6804
+ export declare const UpdateParticipantAuthenticationRequestFilterSensitiveLog: (obj: UpdateParticipantAuthenticationRequest) => any;
@@ -1,6 +1,116 @@
1
- import { AdditionalEmailRecipients, AgentConfig, AgentInfo, AgentStatusSearchFilter, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, Endpoint, EvaluationFormQuestion, EvaluationFormScoringStrategy, InitiateAs, Reference, StringCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus } from "./models_0";
1
+ import { AdditionalEmailRecipients, AgentConfig, AgentInfo, AgentStatusSearchFilter, Application, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, Endpoint, EvaluationFormQuestion, EvaluationFormScoringStrategy, InitiateAs, Reference, StringCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus } from "./models_0";
2
2
  import { AnsweringMachineDetectionStatus, AttributeCondition, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, EvaluationFormVersionStatus, Expiry, QualityMetrics, QueueInfo, RoutingCriteriaStepStatus, SignInConfig, TelephonyConfig, WisdomInfo } from "./models_1";
3
3
  import { ChatMessage, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, DateCondition, EmailAddressInfo, EmailAddressSearchFilter, EmailAttachment, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingCriteriaInputStepExpiry, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, UserHierarchyGroupSearchFilter, UserSearchFilter } from "./models_2";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface UpdateSecurityProfileRequest {
8
+ /**
9
+ * <p>The description of the security profile.</p>
10
+ * @public
11
+ */
12
+ Description?: string | undefined;
13
+ /**
14
+ * <p>The permissions granted to a security profile. For a list of valid permissions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security
15
+ * profile permissions</a>.</p>
16
+ * @public
17
+ */
18
+ Permissions?: string[] | undefined;
19
+ /**
20
+ * <p>The identifier for the security profle.</p>
21
+ * @public
22
+ */
23
+ SecurityProfileId: string | undefined;
24
+ /**
25
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
26
+ * @public
27
+ */
28
+ InstanceId: string | undefined;
29
+ /**
30
+ * <p>The list of tags that a security profile uses to restrict access to resources in Amazon Connect.</p>
31
+ * @public
32
+ */
33
+ AllowedAccessControlTags?: Record<string, string> | undefined;
34
+ /**
35
+ * <p>The list of resources that a security profile applies tag restrictions to in Amazon Connect.</p>
36
+ * @public
37
+ */
38
+ TagRestrictedResources?: string[] | undefined;
39
+ /**
40
+ * <p>A list of the third-party application's metadata.</p>
41
+ * @public
42
+ */
43
+ Applications?: Application[] | undefined;
44
+ /**
45
+ * <p>The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: <code>User</code>.</p>
46
+ * @public
47
+ */
48
+ HierarchyRestrictedResources?: string[] | undefined;
49
+ /**
50
+ * <p>The identifier of the hierarchy group that a security profile uses to restrict access to
51
+ * resources in Amazon Connect.</p>
52
+ * @public
53
+ */
54
+ AllowedAccessControlHierarchyGroupId?: string | undefined;
55
+ }
56
+ /**
57
+ * @public
58
+ */
59
+ export interface UpdateTaskTemplateRequest {
60
+ /**
61
+ * <p>A unique identifier for the task template.</p>
62
+ * @public
63
+ */
64
+ TaskTemplateId: string | undefined;
65
+ /**
66
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
67
+ * @public
68
+ */
69
+ InstanceId: string | undefined;
70
+ /**
71
+ * <p>The name of the task template.</p>
72
+ * @public
73
+ */
74
+ Name?: string | undefined;
75
+ /**
76
+ * <p>The description of the task template.</p>
77
+ * @public
78
+ */
79
+ Description?: string | undefined;
80
+ /**
81
+ * <p>The identifier of the flow that runs by default when a task is created by referencing this template.</p>
82
+ * @public
83
+ */
84
+ ContactFlowId?: string | undefined;
85
+ /**
86
+ * <p>The ContactFlowId for the flow that will be run if this template is used to create a
87
+ * self-assigned task.</p>
88
+ * @public
89
+ */
90
+ SelfAssignFlowId?: string | undefined;
91
+ /**
92
+ * <p>Constraints that are applicable to the fields listed.</p>
93
+ * @public
94
+ */
95
+ Constraints?: TaskTemplateConstraints | undefined;
96
+ /**
97
+ * <p>The default values for fields when a task is created by referencing this template.</p>
98
+ * @public
99
+ */
100
+ Defaults?: TaskTemplateDefaults | undefined;
101
+ /**
102
+ * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
103
+ * Tasks can only be created from <code>ACTIVE</code> templates.
104
+ * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
105
+ * @public
106
+ */
107
+ Status?: TaskTemplateStatus | undefined;
108
+ /**
109
+ * <p>Fields that are part of the template.</p>
110
+ * @public
111
+ */
112
+ Fields?: TaskTemplateField[] | undefined;
113
+ }
4
114
  /**
5
115
  * @public
6
116
  */
@@ -1183,6 +1293,12 @@ export interface StartChatContactRequest {
1183
1293
  * @public
1184
1294
  */
1185
1295
  SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1296
+ /**
1297
+ * <p>The customer's identification number. For example, the <code>CustomerId</code> may be a
1298
+ * customer number from your CRM.</p>
1299
+ * @public
1300
+ */
1301
+ CustomerId?: string | undefined;
1186
1302
  }
1187
1303
  /**
1188
1304
  * @public
@@ -2464,6 +2580,14 @@ export interface Contact {
2464
2580
  * @public
2465
2581
  */
2466
2582
  WisdomInfo?: WisdomInfo | undefined;
2583
+ /**
2584
+ * <p>The customer's identification number. For example, the <code>CustomerId</code> may be a
2585
+ * customer number from your CRM. You can create a Lambda function to pull the unique customer ID of
2586
+ * the caller from your CRM system. If you enable Amazon Connect Voice ID capability, this
2587
+ * attribute is populated with the <code>CustomerSpeakerId</code> of the caller.</p>
2588
+ * @public
2589
+ */
2590
+ CustomerId?: string | undefined;
2467
2591
  /**
2468
2592
  * <p>The customer or external third party participant endpoint.</p>
2469
2593
  * @public
@@ -2584,6 +2708,10 @@ export declare const UpdateViewMetadataRequestFilterSensitiveLog: (obj: UpdateVi
2584
2708
  * @internal
2585
2709
  */
2586
2710
  export declare const CreateContactRequestFilterSensitiveLog: (obj: CreateContactRequest) => any;
2711
+ /**
2712
+ * @internal
2713
+ */
2714
+ export declare const StartChatContactRequestFilterSensitiveLog: (obj: StartChatContactRequest) => any;
2587
2715
  /**
2588
2716
  * @internal
2589
2717
  */
@@ -247,6 +247,7 @@ import { UpdateHoursOfOperationCommandInput, UpdateHoursOfOperationCommandOutput
247
247
  import { UpdateHoursOfOperationOverrideCommandInput, UpdateHoursOfOperationOverrideCommandOutput } from "../commands/UpdateHoursOfOperationOverrideCommand";
248
248
  import { UpdateInstanceAttributeCommandInput, UpdateInstanceAttributeCommandOutput } from "../commands/UpdateInstanceAttributeCommand";
249
249
  import { UpdateInstanceStorageConfigCommandInput, UpdateInstanceStorageConfigCommandOutput } from "../commands/UpdateInstanceStorageConfigCommand";
250
+ import { UpdateParticipantAuthenticationCommandInput, UpdateParticipantAuthenticationCommandOutput } from "../commands/UpdateParticipantAuthenticationCommand";
250
251
  import { UpdateParticipantRoleConfigCommandInput, UpdateParticipantRoleConfigCommandOutput } from "../commands/UpdateParticipantRoleConfigCommand";
251
252
  import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "../commands/UpdatePhoneNumberCommand";
252
253
  import { UpdatePhoneNumberMetadataCommandInput, UpdatePhoneNumberMetadataCommandOutput } from "../commands/UpdatePhoneNumberMetadataCommand";
@@ -1267,6 +1268,10 @@ export declare const se_UpdateInstanceAttributeCommand: (input: UpdateInstanceAt
1267
1268
  * serializeAws_restJson1UpdateInstanceStorageConfigCommand
1268
1269
  */
1269
1270
  export declare const se_UpdateInstanceStorageConfigCommand: (input: UpdateInstanceStorageConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1271
+ /**
1272
+ * serializeAws_restJson1UpdateParticipantAuthenticationCommand
1273
+ */
1274
+ export declare const se_UpdateParticipantAuthenticationCommand: (input: UpdateParticipantAuthenticationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1270
1275
  /**
1271
1276
  * serializeAws_restJson1UpdateParticipantRoleConfigCommand
1272
1277
  */
@@ -2383,6 +2388,10 @@ export declare const de_UpdateInstanceAttributeCommand: (output: __HttpResponse,
2383
2388
  * deserializeAws_restJson1UpdateInstanceStorageConfigCommand
2384
2389
  */
2385
2390
  export declare const de_UpdateInstanceStorageConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateInstanceStorageConfigCommandOutput>;
2391
+ /**
2392
+ * deserializeAws_restJson1UpdateParticipantAuthenticationCommand
2393
+ */
2394
+ export declare const de_UpdateParticipantAuthenticationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateParticipantAuthenticationCommandOutput>;
2386
2395
  /**
2387
2396
  * deserializeAws_restJson1UpdateParticipantRoleConfigCommand
2388
2397
  */
@@ -987,6 +987,10 @@ import {
987
987
  UpdateInstanceStorageConfigCommandInput,
988
988
  UpdateInstanceStorageConfigCommandOutput,
989
989
  } from "./commands/UpdateInstanceStorageConfigCommand";
990
+ import {
991
+ UpdateParticipantAuthenticationCommandInput,
992
+ UpdateParticipantAuthenticationCommandOutput,
993
+ } from "./commands/UpdateParticipantAuthenticationCommand";
990
994
  import {
991
995
  UpdateParticipantRoleConfigCommandInput,
992
996
  UpdateParticipantRoleConfigCommandOutput,
@@ -4391,6 +4395,19 @@ export interface Connect {
4391
4395
  options: __HttpHandlerOptions,
4392
4396
  cb: (err: any, data?: UpdateInstanceStorageConfigCommandOutput) => void
4393
4397
  ): void;
4398
+ updateParticipantAuthentication(
4399
+ args: UpdateParticipantAuthenticationCommandInput,
4400
+ options?: __HttpHandlerOptions
4401
+ ): Promise<UpdateParticipantAuthenticationCommandOutput>;
4402
+ updateParticipantAuthentication(
4403
+ args: UpdateParticipantAuthenticationCommandInput,
4404
+ cb: (err: any, data?: UpdateParticipantAuthenticationCommandOutput) => void
4405
+ ): void;
4406
+ updateParticipantAuthentication(
4407
+ args: UpdateParticipantAuthenticationCommandInput,
4408
+ options: __HttpHandlerOptions,
4409
+ cb: (err: any, data?: UpdateParticipantAuthenticationCommandOutput) => void
4410
+ ): void;
4394
4411
  updateParticipantRoleConfig(
4395
4412
  args: UpdateParticipantRoleConfigCommandInput,
4396
4413
  options?: __HttpHandlerOptions
@@ -1033,6 +1033,10 @@ import {
1033
1033
  UpdateInstanceStorageConfigCommandInput,
1034
1034
  UpdateInstanceStorageConfigCommandOutput,
1035
1035
  } from "./commands/UpdateInstanceStorageConfigCommand";
1036
+ import {
1037
+ UpdateParticipantAuthenticationCommandInput,
1038
+ UpdateParticipantAuthenticationCommandOutput,
1039
+ } from "./commands/UpdateParticipantAuthenticationCommand";
1036
1040
  import {
1037
1041
  UpdateParticipantRoleConfigCommandInput,
1038
1042
  UpdateParticipantRoleConfigCommandOutput,
@@ -1416,6 +1420,7 @@ export type ServiceInputTypes =
1416
1420
  | UpdateHoursOfOperationOverrideCommandInput
1417
1421
  | UpdateInstanceAttributeCommandInput
1418
1422
  | UpdateInstanceStorageConfigCommandInput
1423
+ | UpdateParticipantAuthenticationCommandInput
1419
1424
  | UpdateParticipantRoleConfigCommandInput
1420
1425
  | UpdatePhoneNumberCommandInput
1421
1426
  | UpdatePhoneNumberMetadataCommandInput
@@ -1696,6 +1701,7 @@ export type ServiceOutputTypes =
1696
1701
  | UpdateHoursOfOperationOverrideCommandOutput
1697
1702
  | UpdateInstanceAttributeCommandOutput
1698
1703
  | UpdateInstanceStorageConfigCommandOutput
1704
+ | UpdateParticipantAuthenticationCommandOutput
1699
1705
  | UpdateParticipantRoleConfigCommandOutput
1700
1706
  | UpdatePhoneNumberCommandOutput
1701
1707
  | UpdatePhoneNumberMetadataCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectClient";
8
+ import {
9
+ UpdateParticipantAuthenticationRequest,
10
+ UpdateParticipantAuthenticationResponse,
11
+ } from "../models/models_2";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateParticipantAuthenticationCommandInput
15
+ extends UpdateParticipantAuthenticationRequest {}
16
+ export interface UpdateParticipantAuthenticationCommandOutput
17
+ extends UpdateParticipantAuthenticationResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateParticipantAuthenticationCommand_base: {
20
+ new (
21
+ input: UpdateParticipantAuthenticationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateParticipantAuthenticationCommandInput,
24
+ UpdateParticipantAuthenticationCommandOutput,
25
+ ConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: UpdateParticipantAuthenticationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateParticipantAuthenticationCommandInput,
33
+ UpdateParticipantAuthenticationCommandOutput,
34
+ ConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateParticipantAuthenticationCommand extends UpdateParticipantAuthenticationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateParticipantAuthenticationRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: UpdateParticipantAuthenticationCommandInput;
48
+ output: UpdateParticipantAuthenticationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { UpdateSecurityProfileRequest } from "../models/models_2";
8
+ import { UpdateSecurityProfileRequest } from "../models/models_3";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface UpdateSecurityProfileCommandInput