@aws-sdk/client-connect 3.883.0 → 3.885.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 (35) hide show
  1. package/dist-cjs/index.js +41 -8
  2. package/dist-es/commands/SearchContactsCommand.js +2 -2
  3. package/dist-es/commands/UpdateParticipantAuthenticationCommand.js +1 -1
  4. package/dist-es/models/models_2.js +8 -6
  5. package/dist-es/models/models_3.js +6 -0
  6. package/dist-es/protocols/Aws_restJson1.js +25 -0
  7. package/dist-types/commands/CreateContactCommand.d.ts +8 -0
  8. package/dist-types/commands/CreatePredefinedAttributeCommand.d.ts +29 -4
  9. package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeContactCommand.d.ts +8 -0
  11. package/dist-types/commands/DescribePredefinedAttributeCommand.d.ts +25 -4
  12. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +2 -1
  13. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -2
  14. package/dist-types/commands/ListPredefinedAttributesCommand.d.ts +18 -4
  15. package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +25 -4
  16. package/dist-types/commands/StartChatContactCommand.d.ts +8 -0
  17. package/dist-types/commands/StartEmailContactCommand.d.ts +8 -0
  18. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +8 -0
  19. package/dist-types/commands/StartTaskContactCommand.d.ts +8 -0
  20. package/dist-types/commands/UpdateContactCommand.d.ts +8 -0
  21. package/dist-types/commands/UpdateParticipantAuthenticationCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdatePredefinedAttributeCommand.d.ts +29 -4
  23. package/dist-types/models/models_0.d.ts +27 -16
  24. package/dist-types/models/models_1.d.ts +48 -47
  25. package/dist-types/models/models_2.d.ts +54 -45
  26. package/dist-types/models/models_3.d.ts +892 -823
  27. package/dist-types/ts3.4/commands/DeleteIntegrationAssociationCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +2 -4
  29. package/dist-types/ts3.4/commands/ListIntegrationAssociationsCommand.d.ts +4 -2
  30. package/dist-types/ts3.4/commands/UpdateParticipantAuthenticationCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/models/models_0.d.ts +6 -5
  32. package/dist-types/ts3.4/models/models_1.d.ts +10 -12
  33. package/dist-types/ts3.4/models/models_2.d.ts +17 -11
  34. package/dist-types/ts3.4/models/models_3.d.ts +107 -91
  35. package/package.json +1 -1
@@ -27,10 +27,29 @@ declare const UpdatePredefinedAttributeCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates a predefined attribute for the specified Amazon Connect instance. <i>Predefined
31
- * attributes</i> are attributes in an Amazon Connect instance that can be used to route
32
- * contacts to an agent or pools of agents within a queue. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html">Create
33
- * predefined attributes for routing contacts to agents</a>.</p>
30
+ * <p>Updates a predefined attribute for the specified Amazon Connect instance. A <i>predefined
31
+ * attribute</i> is made up of a name and a value.</p>
32
+ * <p>For the predefined attributes per instance quota, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#connect-quotas">Amazon Connect quotas</a>.</p>
33
+ * <p>
34
+ * <b>Use cases</b>
35
+ * </p>
36
+ * <p>Following are common uses cases for this API:</p>
37
+ * <ul>
38
+ * <li>
39
+ * <p>Update routing proficiency (for example, agent certification) that has
40
+ * predefined values (for example, a list of possible certifications). For more information, see
41
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html">Create
42
+ * predefined attributes for routing contacts to agents</a>.</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>Update an attribute for business unit name that has a list of predefined business unit
46
+ * names used in your organization. This is a use case where information for a contact varies between transfers or conferences. For more information, see
47
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/use-contact-segment-attributes.html">Use contact segment attributes</a>.</p>
48
+ * </li>
49
+ * </ul>
50
+ * <p>
51
+ * <b>Endpoints</b>: See <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect endpoints and
52
+ * quotas</a>.</p>
34
53
  * @example
35
54
  * Use a bare-bones client and the command you need to make an API call.
36
55
  * ```javascript
@@ -45,6 +64,12 @@ declare const UpdatePredefinedAttributeCommand_base: {
45
64
  * "STRING_VALUE",
46
65
  * ],
47
66
  * },
67
+ * Purposes: [ // PredefinedAttributePurposeNameList
68
+ * "STRING_VALUE",
69
+ * ],
70
+ * AttributeConfiguration: { // InputPredefinedAttributeConfiguration
71
+ * EnableValueValidationOnAssociation: true || false,
72
+ * },
48
73
  * };
49
74
  * const command = new UpdatePredefinedAttributeCommand(input);
50
75
  * const response = await client.send(command);
@@ -4039,6 +4039,20 @@ export interface CreatePersistentContactAssociationResponse {
4039
4039
  */
4040
4040
  ContinuedFromContactId?: string | undefined;
4041
4041
  }
4042
+ /**
4043
+ * <p>Custom metadata that is associated to predefined attributes to control behavior in upstream
4044
+ * services, such as controlling how a predefined attribute should be displayed in the Amazon Connect admin website.</p>
4045
+ * @public
4046
+ */
4047
+ export interface InputPredefinedAttributeConfiguration {
4048
+ /**
4049
+ * <p>When this parameter is set to true, Amazon Connect enforces strict validation on the
4050
+ * specific values, if the values are predefined in attributes. The contact will store only valid
4051
+ * and predefined values for the predefined attribute key.</p>
4052
+ * @public
4053
+ */
4054
+ EnableValueValidationOnAssociation?: boolean | undefined;
4055
+ }
4042
4056
  /**
4043
4057
  * <p>Information about values of a predefined attribute.</p>
4044
4058
  * @public
@@ -4088,7 +4102,19 @@ export interface CreatePredefinedAttributeRequest {
4088
4102
  * <p> The values of the predefined attribute. </p>
4089
4103
  * @public
4090
4104
  */
4091
- Values: PredefinedAttributeValues | undefined;
4105
+ Values?: PredefinedAttributeValues | undefined;
4106
+ /**
4107
+ * <p>Values that enable you to categorize your predefined attributes. You can use them in custom UI elements across the Amazon Connect admin website.</p>
4108
+ * @public
4109
+ */
4110
+ Purposes?: string[] | undefined;
4111
+ /**
4112
+ * <p>Custom metadata that is associated to predefined attributes to control behavior
4113
+ * in upstream services, such as controlling
4114
+ * how a predefined attribute should be displayed in the Amazon Connect admin website.</p>
4115
+ * @public
4116
+ */
4117
+ AttributeConfiguration?: InputPredefinedAttributeConfiguration | undefined;
4092
4118
  }
4093
4119
  /**
4094
4120
  * @public
@@ -6386,21 +6412,6 @@ export interface DeleteInstanceRequest {
6386
6412
  */
6387
6413
  ClientToken?: string | undefined;
6388
6414
  }
6389
- /**
6390
- * @public
6391
- */
6392
- export interface DeleteIntegrationAssociationRequest {
6393
- /**
6394
- * <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>
6395
- * @public
6396
- */
6397
- InstanceId: string | undefined;
6398
- /**
6399
- * <p>The identifier for the integration association.</p>
6400
- * @public
6401
- */
6402
- IntegrationAssociationId: string | undefined;
6403
- }
6404
6415
  /**
6405
6416
  * @internal
6406
6417
  */
@@ -1,6 +1,21 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { AgentAvailabilityTimer, AgentConfig, AgentContactReference, AgentQualityMetrics, AgentsCriteria, AgentStatus, AgentStatusIdentifier, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, AudioQualityMetricsInfo, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactState, CreatedByInfo, DeviceInfo, DirectoryType, Distribution, EndpointType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowAssociationSummary, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, ListFlowAssociationResourceType, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, OverrideTimeSlice, ParticipantCapabilities, PredefinedAttributeValues, QueueReference, QuickConnectConfig, ReferenceStatus, ReferenceType, RoutingProfileQueueReference, RuleAction, RulePublishStatus, RuleTriggerEventSource, StorageType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, View, VocabularyLanguageCode, VocabularyState } from "./models_0";
3
+ import { AgentAvailabilityTimer, AgentConfig, AgentContactReference, AgentQualityMetrics, AgentsCriteria, AgentStatus, AgentStatusIdentifier, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, AudioQualityMetricsInfo, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactState, CreatedByInfo, DeviceInfo, DirectoryType, Distribution, EndpointType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowAssociationSummary, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, LexBot, LexV2Bot, ListFlowAssociationResourceType, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, OverrideTimeSlice, ParticipantCapabilities, PredefinedAttributeValues, QueueReference, QuickConnectConfig, ReferenceStatus, ReferenceType, RoutingProfileQueueReference, RuleAction, RulePublishStatus, RuleTriggerEventSource, StorageType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, View, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DeleteIntegrationAssociationRequest {
8
+ /**
9
+ * <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>
10
+ * @public
11
+ */
12
+ InstanceId: string | undefined;
13
+ /**
14
+ * <p>The identifier for the integration association.</p>
15
+ * @public
16
+ */
17
+ IntegrationAssociationId: string | undefined;
18
+ }
4
19
  /**
5
20
  * @public
6
21
  */
@@ -2431,6 +2446,26 @@ export interface DescribePredefinedAttributeRequest {
2431
2446
  */
2432
2447
  Name: string | undefined;
2433
2448
  }
2449
+ /**
2450
+ * <p>Custom metadata that is associated to predefined attributes to control behavior in upstream
2451
+ * services, such as controlling how a predefined attribute should be displayed in the Amazon Connect admin website.</p>
2452
+ * @public
2453
+ */
2454
+ export interface PredefinedAttributeConfiguration {
2455
+ /**
2456
+ * <p>When this parameter is set to true, Amazon Connect enforces strict validation on the
2457
+ * specific values, if the values are predefined in attributes. The contact will store only valid
2458
+ * and predefined values for teh predefined attribute key.</p>
2459
+ * @public
2460
+ */
2461
+ EnableValueValidationOnAssociation?: boolean | undefined;
2462
+ /**
2463
+ * <p>A boolean flag used to indicate whether a predefined attribute should be displayed in the
2464
+ * Amazon Connect admin website.</p>
2465
+ * @public
2466
+ */
2467
+ IsReadOnly?: boolean | undefined;
2468
+ }
2434
2469
  /**
2435
2470
  * <p>Information about a predefined attribute.</p>
2436
2471
  * @public
@@ -2446,6 +2481,18 @@ export interface PredefinedAttribute {
2446
2481
  * @public
2447
2482
  */
2448
2483
  Values?: PredefinedAttributeValues | undefined;
2484
+ /**
2485
+ * <p>Values that enable you to categorize your predefined attributes. You can use them in custom UI elements across the Amazon Connect admin website.</p>
2486
+ * @public
2487
+ */
2488
+ Purposes?: string[] | undefined;
2489
+ /**
2490
+ * <p>Custom metadata that is associated to predefined attributes to control behavior
2491
+ * in upstream services, such as controlling
2492
+ * how a predefined attribute should be displayed in the Amazon Connect admin website.</p>
2493
+ * @public
2494
+ */
2495
+ AttributeConfiguration?: PredefinedAttributeConfiguration | undefined;
2449
2496
  /**
2450
2497
  * <p>Last modified time.</p>
2451
2498
  * @public
@@ -9230,52 +9277,6 @@ export interface ListInstanceStorageConfigsRequest {
9230
9277
  */
9231
9278
  MaxResults?: number | undefined;
9232
9279
  }
9233
- /**
9234
- * @public
9235
- */
9236
- export interface ListInstanceStorageConfigsResponse {
9237
- /**
9238
- * <p>A valid storage type.</p>
9239
- * @public
9240
- */
9241
- StorageConfigs?: InstanceStorageConfig[] | undefined;
9242
- /**
9243
- * <p>If there are additional results, this is the token for the next set of results.</p>
9244
- * @public
9245
- */
9246
- NextToken?: string | undefined;
9247
- }
9248
- /**
9249
- * @public
9250
- */
9251
- export interface ListIntegrationAssociationsRequest {
9252
- /**
9253
- * <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>
9254
- * @public
9255
- */
9256
- InstanceId: string | undefined;
9257
- /**
9258
- * <p>The integration type.</p>
9259
- * @public
9260
- */
9261
- IntegrationType?: IntegrationType | undefined;
9262
- /**
9263
- * <p>The token for the next set of results. Use the value returned in the previous
9264
- * response in the next request to retrieve the next set of results.</p>
9265
- * @public
9266
- */
9267
- NextToken?: string | undefined;
9268
- /**
9269
- * <p>The maximum number of results to return per page.</p>
9270
- * @public
9271
- */
9272
- MaxResults?: number | undefined;
9273
- /**
9274
- * <p>The Amazon Resource Name (ARN) of the integration.</p>
9275
- * @public
9276
- */
9277
- IntegrationArn?: string | undefined;
9278
- }
9279
9280
  /**
9280
9281
  * @internal
9281
9282
  */
@@ -2,6 +2,52 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { ActionSummary, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, EventSourceName, FileStatusType, FileUseCaseType, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, MonitorCapability, ParticipantRole, QuickConnectType, Reference, RehydrationType, RulePublishStatus, SourceType, 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, QuickConnect, RoutingProfile, SortOrder, TrafficDistributionGroupStatus } from "./models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface ListInstanceStorageConfigsResponse {
9
+ /**
10
+ * <p>A valid storage type.</p>
11
+ * @public
12
+ */
13
+ StorageConfigs?: InstanceStorageConfig[] | undefined;
14
+ /**
15
+ * <p>If there are additional results, this is the token for the next set of results.</p>
16
+ * @public
17
+ */
18
+ NextToken?: string | undefined;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface ListIntegrationAssociationsRequest {
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 integration type.</p>
31
+ * @public
32
+ */
33
+ IntegrationType?: IntegrationType | undefined;
34
+ /**
35
+ * <p>The token for the next set of results. Use the value returned in the previous
36
+ * response in the next request to retrieve the next set of results.</p>
37
+ * @public
38
+ */
39
+ NextToken?: string | undefined;
40
+ /**
41
+ * <p>The maximum number of results to return per page.</p>
42
+ * @public
43
+ */
44
+ MaxResults?: number | undefined;
45
+ /**
46
+ * <p>The Amazon Resource Name (ARN) of the integration.</p>
47
+ * @public
48
+ */
49
+ IntegrationArn?: string | undefined;
50
+ }
5
51
  /**
6
52
  * <p>Contains summary information about the associated AppIntegrations.</p>
7
53
  * @public
@@ -6749,47 +6795,6 @@ export interface UpdateInstanceStorageConfigRequest {
6749
6795
  */
6750
6796
  ClientToken?: string | undefined;
6751
6797
  }
6752
- /**
6753
- * @public
6754
- */
6755
- export interface UpdateParticipantAuthenticationRequest {
6756
- /**
6757
- * <p>The <code>state</code> query parameter that was provided by Cognito in the
6758
- * <code>redirectUri</code>. This will also match the <code>state</code> parameter provided in the
6759
- * <code>AuthenticationUrl</code> from the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetAuthenticationUrl.html">GetAuthenticationUrl</a>
6760
- * response.</p>
6761
- * @public
6762
- */
6763
- State: string | undefined;
6764
- /**
6765
- * <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>
6766
- * @public
6767
- */
6768
- InstanceId: string | undefined;
6769
- /**
6770
- * <p>The <code>code</code> query parameter provided by Cognito in the
6771
- * <code>redirectUri</code>.</p>
6772
- * @public
6773
- */
6774
- Code?: string | undefined;
6775
- /**
6776
- * <p>The <code>error</code> query parameter provided by Cognito in the
6777
- * <code>redirectUri</code>.</p>
6778
- * @public
6779
- */
6780
- Error?: string | undefined;
6781
- /**
6782
- * <p>The <code>error_description</code> parameter provided by Cognito in the
6783
- * <code>redirectUri</code>.</p>
6784
- * @public
6785
- */
6786
- ErrorDescription?: string | undefined;
6787
- }
6788
- /**
6789
- * @public
6790
- */
6791
- export interface UpdateParticipantAuthenticationResponse {
6792
- }
6793
6798
  /**
6794
6799
  * @internal
6795
6800
  */
@@ -6846,6 +6851,14 @@ export declare const SearchCriteriaFilterSensitiveLog: (obj: SearchCriteria) =>
6846
6851
  * @internal
6847
6852
  */
6848
6853
  export declare const SearchContactsRequestFilterSensitiveLog: (obj: SearchContactsRequest) => any;
6854
+ /**
6855
+ * @internal
6856
+ */
6857
+ export declare const ContactSearchSummaryFilterSensitiveLog: (obj: ContactSearchSummary) => any;
6858
+ /**
6859
+ * @internal
6860
+ */
6861
+ export declare const SearchContactsResponseFilterSensitiveLog: (obj: SearchContactsResponse) => any;
6849
6862
  /**
6850
6863
  * @internal
6851
6864
  */
@@ -6926,7 +6939,3 @@ export declare const StartWebRTCContactResponseFilterSensitiveLog: (obj: StartWe
6926
6939
  * @internal
6927
6940
  */
6928
6941
  export declare const UpdateEmailAddressMetadataRequestFilterSensitiveLog: (obj: UpdateEmailAddressMetadataRequest) => any;
6929
- /**
6930
- * @internal
6931
- */
6932
- export declare const UpdateParticipantAuthenticationRequestFilterSensitiveLog: (obj: UpdateParticipantAuthenticationRequest) => any;