From baa96118a8c4ebb2e8cf566b33cac54e0e072359 Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Bot <46607340+awsmobilesdk@users.noreply.github.com> Date: Thu, 28 Dec 2023 08:57:47 -0800 Subject: [PATCH] feat(AWSConnect): update models to latest (#5144) --- AWSConnect/AWSConnectModel.h | 1350 +++++++++++++- AWSConnect/AWSConnectModel.m | 1379 +++++++++++++- AWSConnect/AWSConnectResources.m | 1642 ++++++++++++++++- AWSConnect/AWSConnectService.h | 382 ++++ AWSConnect/AWSConnectService.m | 363 ++++ .../AWSConnectNSSecureCodingTests.m | 250 +++ AWSConnectUnitTests/AWSGeneralConnectTests.m | 778 +++++++- 7 files changed, 6005 insertions(+), 139 deletions(-) diff --git a/AWSConnect/AWSConnectModel.h b/AWSConnect/AWSConnectModel.h index 2ea0847cf4f..8778aa63e56 100644 --- a/AWSConnect/AWSConnectModel.h +++ b/AWSConnect/AWSConnectModel.h @@ -24,6 +24,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectErrorDomain; typedef NS_ENUM(NSInteger, AWSConnectErrorType) { AWSConnectErrorUnknown, AWSConnectErrorAccessDenied, + AWSConnectErrorConflict, AWSConnectErrorContactFlowNotPublished, AWSConnectErrorContactNotFound, AWSConnectErrorDestinationNotAllowed, @@ -55,6 +56,9 @@ typedef NS_ENUM(NSInteger, AWSConnectActionType) { AWSConnectActionTypeAssignContactCategory, AWSConnectActionTypeGenerateEventbridgeEvent, AWSConnectActionTypeSendNotification, + AWSConnectActionTypeCreateCase, + AWSConnectActionTypeUpdateCase, + AWSConnectActionTypeEndAssociatedTasks, }; typedef NS_ENUM(NSInteger, AWSConnectAgentAvailabilityTimer) { @@ -249,6 +253,8 @@ typedef NS_ENUM(NSInteger, AWSConnectEventSourceName) { AWSConnectEventSourceNameOnSalesforceCaseCreate, AWSConnectEventSourceNameOnContactEvaluationSubmit, AWSConnectEventSourceNameOnMetricDataUpdate, + AWSConnectEventSourceNameOnCaseCreate, + AWSConnectEventSourceNameOnCaseUpdate, }; typedef NS_ENUM(NSInteger, AWSConnectFailureReasonCode) { @@ -275,6 +281,7 @@ typedef NS_ENUM(NSInteger, AWSConnectGrouping) { AWSConnectGroupingQueue, AWSConnectGroupingChannel, AWSConnectGroupingRoutingProfile, + AWSConnectGroupingRoutingStepExpression, }; typedef NS_ENUM(NSInteger, AWSConnectHierarchyGroupMatchType) { @@ -814,6 +821,20 @@ typedef NS_ENUM(NSInteger, AWSConnectRulePublishStatus) { AWSConnectRulePublishStatusPublished, }; +typedef NS_ENUM(NSInteger, AWSConnectSearchContactsMatchType) { + AWSConnectSearchContactsMatchTypeUnknown, + AWSConnectSearchContactsMatchTypeMatchAll, + AWSConnectSearchContactsMatchTypeMatchAny, +}; + +typedef NS_ENUM(NSInteger, AWSConnectSearchContactsTimeRangeType) { + AWSConnectSearchContactsTimeRangeTypeUnknown, + AWSConnectSearchContactsTimeRangeTypeInitiationTimestamp, + AWSConnectSearchContactsTimeRangeTypeScheduledTimestamp, + AWSConnectSearchContactsTimeRangeTypeConnectedToAgentTimestamp, + AWSConnectSearchContactsTimeRangeTypeDisconnectTimestamp, +}; + typedef NS_ENUM(NSInteger, AWSConnectSearchableQueueType) { AWSConnectSearchableQueueTypeUnknown, AWSConnectSearchableQueueTypeStandard, @@ -831,10 +852,21 @@ typedef NS_ENUM(NSInteger, AWSConnectSortOrder) { AWSConnectSortOrderDescending, }; +typedef NS_ENUM(NSInteger, AWSConnectSortableFieldName) { + AWSConnectSortableFieldNameUnknown, + AWSConnectSortableFieldNameInitiationTimestamp, + AWSConnectSortableFieldNameScheduledTimestamp, + AWSConnectSortableFieldNameConnectedToAgentTimestamp, + AWSConnectSortableFieldNameDisconnectTimestamp, + AWSConnectSortableFieldNameInitiationMethod, + AWSConnectSortableFieldNameChannel, +}; + typedef NS_ENUM(NSInteger, AWSConnectSourceType) { AWSConnectSourceTypeUnknown, AWSConnectSourceTypeSalesforce, AWSConnectSourceTypeZendesk, + AWSConnectSourceTypeCases, }; typedef NS_ENUM(NSInteger, AWSConnectStatistic) { @@ -980,6 +1012,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectActivateEvaluationFormResponse; @class AWSConnectAgentConfig; @class AWSConnectAgentContactReference; +@class AWSConnectAgentHierarchyGroups; @class AWSConnectAgentInfo; @class AWSConnectAgentStatus; @class AWSConnectAgentStatusReference; @@ -1008,6 +1041,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectAssociateSecurityKeyResponse; @class AWSConnectAssociateTrafficDistributionGroupUserRequest; @class AWSConnectAssociateTrafficDistributionGroupUserResponse; +@class AWSConnectAssociateUserProficienciesRequest; @class AWSConnectAttachmentReference; @class AWSConnectAttendee; @class AWSConnectAttribute; @@ -1031,15 +1065,20 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectClaimedPhoneNumberSummary; @class AWSConnectConnectionData; @class AWSConnectContact; +@class AWSConnectContactAnalysis; @class AWSConnectContactDataRequest; @class AWSConnectContactFilter; @class AWSConnectContactFlow; @class AWSConnectContactFlowModule; @class AWSConnectContactFlowModuleSummary; @class AWSConnectContactFlowSummary; +@class AWSConnectContactSearchSummary; +@class AWSConnectContactSearchSummaryAgentInfo; +@class AWSConnectContactSearchSummaryQueueInfo; @class AWSConnectControlPlaneTagFilter; @class AWSConnectCreateAgentStatusRequest; @class AWSConnectCreateAgentStatusResponse; +@class AWSConnectCreateCaseActionDefinition; @class AWSConnectCreateContactFlowModuleRequest; @class AWSConnectCreateContactFlowModuleResponse; @class AWSConnectCreateContactFlowRequest; @@ -1056,6 +1095,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectCreateParticipantResponse; @class AWSConnectCreatePersistentContactAssociationRequest; @class AWSConnectCreatePersistentContactAssociationResponse; +@class AWSConnectCreatePredefinedAttributeRequest; @class AWSConnectCreatePromptRequest; @class AWSConnectCreatePromptResponse; @class AWSConnectCreateQueueRequest; @@ -1103,6 +1143,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectDeleteHoursOfOperationRequest; @class AWSConnectDeleteInstanceRequest; @class AWSConnectDeleteIntegrationAssociationRequest; +@class AWSConnectDeletePredefinedAttributeRequest; @class AWSConnectDeletePromptRequest; @class AWSConnectDeleteQueueRequest; @class AWSConnectDeleteQuickConnectRequest; @@ -1144,6 +1185,8 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectDescribeInstanceStorageConfigResponse; @class AWSConnectDescribePhoneNumberRequest; @class AWSConnectDescribePhoneNumberResponse; +@class AWSConnectDescribePredefinedAttributeRequest; +@class AWSConnectDescribePredefinedAttributeResponse; @class AWSConnectDescribePromptRequest; @class AWSConnectDescribePromptResponse; @class AWSConnectDescribeQueueRequest; @@ -1183,12 +1226,15 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectDisassociateSecurityKeyRequest; @class AWSConnectDisassociateTrafficDistributionGroupUserRequest; @class AWSConnectDisassociateTrafficDistributionGroupUserResponse; +@class AWSConnectDisassociateUserProficienciesRequest; @class AWSConnectDisconnectReason; @class AWSConnectDismissUserContactRequest; @class AWSConnectDismissUserContactResponse; @class AWSConnectDistribution; @class AWSConnectEmailReference; +@class AWSConnectEmptyFieldValue; @class AWSConnectEncryptionConfig; +@class AWSConnectEndAssociatedTasksActionDefinition; @class AWSConnectEndpoint; @class AWSConnectErrorResult; @class AWSConnectEvaluation; @@ -1217,6 +1263,8 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectEvaluationSummary; @class AWSConnectEventBridgeActionDefinition; @class AWSConnectFailedRequest; +@class AWSConnectFieldValue; +@class AWSConnectFieldValueUnion; @class AWSConnectFilterV2; @class AWSConnectFilters; @class AWSConnectFlowAssociationSummary; @@ -1317,6 +1365,8 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectListPhoneNumbersSummary; @class AWSConnectListPhoneNumbersV2Request; @class AWSConnectListPhoneNumbersV2Response; +@class AWSConnectListPredefinedAttributesRequest; +@class AWSConnectListPredefinedAttributesResponse; @class AWSConnectListPromptsRequest; @class AWSConnectListPromptsResponse; @class AWSConnectListQueueQuickConnectsRequest; @@ -1353,6 +1403,8 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectListUseCasesResponse; @class AWSConnectListUserHierarchyGroupsRequest; @class AWSConnectListUserHierarchyGroupsResponse; +@class AWSConnectListUserProficienciesRequest; +@class AWSConnectListUserProficienciesResponse; @class AWSConnectListUsersRequest; @class AWSConnectListUsersResponse; @class AWSConnectListViewVersionsRequest; @@ -1381,10 +1433,16 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectParticipantTimerConfiguration; @class AWSConnectParticipantTimerValue; @class AWSConnectParticipantTokenCredentials; +@class AWSConnectPauseContactRequest; +@class AWSConnectPauseContactResponse; @class AWSConnectPersistentChat; @class AWSConnectPhoneNumberQuickConnectConfig; @class AWSConnectPhoneNumberStatus; @class AWSConnectPhoneNumberSummary; +@class AWSConnectPredefinedAttribute; +@class AWSConnectPredefinedAttributeSearchCriteria; +@class AWSConnectPredefinedAttributeSummary; +@class AWSConnectPredefinedAttributeValues; @class AWSConnectProblemDetail; @class AWSConnectPrompt; @class AWSConnectPromptSearchCriteria; @@ -1430,6 +1488,8 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectResourceTagsSearchCriteria; @class AWSConnectResumeContactRecordingRequest; @class AWSConnectResumeContactRecordingResponse; +@class AWSConnectResumeContactRequest; +@class AWSConnectResumeContactResponse; @class AWSConnectRoutingProfile; @class AWSConnectRoutingProfileQueueConfig; @class AWSConnectRoutingProfileQueueConfigSummary; @@ -1445,8 +1505,14 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectS3Config; @class AWSConnectSearchAvailablePhoneNumbersRequest; @class AWSConnectSearchAvailablePhoneNumbersResponse; +@class AWSConnectSearchContactsRequest; +@class AWSConnectSearchContactsResponse; +@class AWSConnectSearchContactsTimeRange; +@class AWSConnectSearchCriteria; @class AWSConnectSearchHoursOfOperationsRequest; @class AWSConnectSearchHoursOfOperationsResponse; +@class AWSConnectSearchPredefinedAttributesRequest; +@class AWSConnectSearchPredefinedAttributesResponse; @class AWSConnectSearchPromptsRequest; @class AWSConnectSearchPromptsResponse; @class AWSConnectSearchQueuesRequest; @@ -1463,6 +1529,8 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectSearchUsersResponse; @class AWSConnectSearchVocabulariesRequest; @class AWSConnectSearchVocabulariesResponse; +@class AWSConnectSearchableContactAttributes; +@class AWSConnectSearchableContactAttributesCriteria; @class AWSConnectSecurityKey; @class AWSConnectSecurityProfile; @class AWSConnectSecurityProfileSearchCriteria; @@ -1476,6 +1544,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectSignInConfig; @class AWSConnectSignInDistribution; @class AWSConnectSingleSelectQuestionRuleCategoryAutomation; +@class AWSConnectSort; @class AWSConnectStartChatContactRequest; @class AWSConnectStartChatContactResponse; @class AWSConnectStartContactEvaluationRequest; @@ -1504,6 +1573,8 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectSuspendContactRecordingRequest; @class AWSConnectSuspendContactRecordingResponse; @class AWSConnectTagCondition; +@class AWSConnectTagContactRequest; +@class AWSConnectTagContactResponse; @class AWSConnectTagResourceRequest; @class AWSConnectTagSearchCondition; @class AWSConnectTagSet; @@ -1520,10 +1591,15 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectTrafficDistributionGroup; @class AWSConnectTrafficDistributionGroupSummary; @class AWSConnectTrafficDistributionGroupUserSummary; +@class AWSConnectTranscript; +@class AWSConnectTranscriptCriteria; @class AWSConnectTransferContactRequest; @class AWSConnectTransferContactResponse; +@class AWSConnectUntagContactRequest; +@class AWSConnectUntagContactResponse; @class AWSConnectUntagResourceRequest; @class AWSConnectUpdateAgentStatusRequest; +@class AWSConnectUpdateCaseActionDefinition; @class AWSConnectUpdateContactAttributesRequest; @class AWSConnectUpdateContactAttributesResponse; @class AWSConnectUpdateContactEvaluationRequest; @@ -1540,6 +1616,8 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectUpdateContactFlowNameResponse; @class AWSConnectUpdateContactRequest; @class AWSConnectUpdateContactResponse; +@class AWSConnectUpdateContactRoutingDataRequest; +@class AWSConnectUpdateContactRoutingDataResponse; @class AWSConnectUpdateContactScheduleRequest; @class AWSConnectUpdateContactScheduleResponse; @class AWSConnectUpdateEvaluationFormRequest; @@ -1553,6 +1631,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectUpdatePhoneNumberMetadataRequest; @class AWSConnectUpdatePhoneNumberRequest; @class AWSConnectUpdatePhoneNumberResponse; +@class AWSConnectUpdatePredefinedAttributeRequest; @class AWSConnectUpdatePromptRequest; @class AWSConnectUpdatePromptResponse; @class AWSConnectUpdateQueueHoursOfOperationRequest; @@ -1578,6 +1657,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectUpdateUserHierarchyStructureRequest; @class AWSConnectUpdateUserIdentityInfoRequest; @class AWSConnectUpdateUserPhoneConfigRequest; +@class AWSConnectUpdateUserProficienciesRequest; @class AWSConnectUpdateUserRoutingProfileRequest; @class AWSConnectUpdateUserSecurityProfilesRequest; @class AWSConnectUpdateViewContentRequest; @@ -1592,6 +1672,8 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectUserIdentityInfo; @class AWSConnectUserIdentityInfoLite; @class AWSConnectUserPhoneConfig; +@class AWSConnectUserProficiency; +@class AWSConnectUserProficiencyDisassociate; @class AWSConnectUserQuickConnectConfig; @class AWSConnectUserReference; @class AWSConnectUserSearchCriteria; @@ -1725,12 +1807,50 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +

A structure that defines agent hierarchy group levels which can be used to filter search results. Important: Agent hierarchy group level information in search result is a snapshot, it does not represent current agent hierarchy who handled the contact.

+ */ +@interface AWSConnectAgentHierarchyGroups : AWSModel + + +/** +

The identifiers for level 1 hierarchy groups.

+ */ +@property (nonatomic, strong) NSArray * _Nullable l1Ids; + +/** +

The identifiers for level 2 hierarchy groups.

+ */ +@property (nonatomic, strong) NSArray * _Nullable l2Ids; + +/** +

The identifiers for level 3 hierarchy groups.

+ */ +@property (nonatomic, strong) NSArray * _Nullable l3Ids; + +/** +

The identifiers for level 4 hierarchy groups.

+ */ +@property (nonatomic, strong) NSArray * _Nullable l4Ids; + +/** +

The identifiers for level 5 hierarchy groups.

+ */ +@property (nonatomic, strong) NSArray * _Nullable l5Ids; + +@end + /**

Information about the agent who accepted the contact.

*/ @interface AWSConnectAgentInfo : AWSModel +/** +

Agent pause duration for a contact in seconds.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable agentPauseDurationInSeconds; + /**

The timestamp when the contact was connected to the agent.

*/ @@ -1790,7 +1910,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectAgentStatusState state; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -2312,6 +2432,29 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @interface AWSConnectAssociateTrafficDistributionGroupUserResponse : AWSModel +@end + +/** + + */ +@interface AWSConnectAssociateUserProficienciesRequest : AWSRequest + + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN of the instance).

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

The identifier of the user account.

+ */ +@property (nonatomic, strong) NSString * _Nullable userId; + +/** +

The proficiencies to associate with the user.

+ */ +@property (nonatomic, strong) NSArray * _Nullable userProficiencies; + @end /** @@ -2679,7 +2822,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable phoneNumberDescription; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -2760,7 +2903,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable sourcePhoneNumberArn; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -2840,6 +2983,16 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSDate * _Nullable initiationTimestamp; +/** +

The timestamp when the contact was last paused.

+ */ +@property (nonatomic, strong) NSDate * _Nullable lastPausedTimestamp; + +/** +

The timestamp when the contact was last resumed.

+ */ +@property (nonatomic, strong) NSDate * _Nullable lastResumedTimestamp; + /**

The timestamp when contact was last updated.

*/ @@ -2860,6 +3013,16 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) AWSConnectQueueInfo * _Nullable queueInfo; +/** +

An integer that represents the queue priority to be applied to the contact (lower priorities are routed preferentially). Cannot be specified if the QueueTimeAdjustmentSeconds is specified. Must be statically defined, must be larger than zero, and a valid integer value. Default Value is 5.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable queuePriority; + +/** +

An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger queue time are routed preferentially). Cannot be specified if the QueuePriority is specified. Must be statically defined and a valid integer value.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable queueTimeAdjustmentSeconds; + /**

The contactId that is related to this contact.

*/ @@ -2870,6 +3033,21 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSDate * _Nullable scheduledTimestamp; +/** +

Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.

+ */ +@property (nonatomic, strong) NSDictionary * _Nullable tags; + +/** +

Total pause count for a contact.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable totalPauseCount; + +/** +

Total pause duration for a contact in seconds.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable totalPauseDurationInSeconds; + /**

Information about Amazon Connect Wisdom.

*/ @@ -2877,6 +3055,19 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +

A structure that defines filters can be used to search within outputs analyzed by Amazon Connect Contact Lens in a contact.

+ */ +@interface AWSConnectContactAnalysis : AWSModel + + +/** +

A structure that defines filters can be used to search with text within an Amazon Connect Contact Lens analyzed transcript.

+ */ +@property (nonatomic, strong) AWSConnectTranscript * _Nullable transcript; + +@end + /**

Request object with information to create a contact.

*/ @@ -2965,7 +3156,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectContactFlowState state; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -3018,7 +3209,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectContactFlowModuleStatus status; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -3085,6 +3276,105 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +

Information of returned contact.

+ */ +@interface AWSConnectContactSearchSummary : AWSModel + + +/** +

Information about the agent who accepted the contact.

+ */ +@property (nonatomic, strong) AWSConnectContactSearchSummaryAgentInfo * _Nullable agentInfo; + +/** +

The Amazon Resource Name (ARN) of the contact

+ */ +@property (nonatomic, strong) NSString * _Nullable arn; + +/** +

How the contact reached your contact center.

+ */ +@property (nonatomic, assign) AWSConnectChannel channel; + +/** +

The timestamp when the customer endpoint disconnected from Amazon Connect.

+ */ +@property (nonatomic, strong) NSDate * _Nullable disconnectTimestamp; + +/** +

The identifier of the contact summary.

+ */ +@property (nonatomic, strong) NSString * _Nullable identifier; + +/** +

If this contact is related to other contacts, this is the ID of the initial contact.

+ */ +@property (nonatomic, strong) NSString * _Nullable initialContactId; + +/** +

Indicates how the contact was initiated.

+ */ +@property (nonatomic, assign) AWSConnectContactInitiationMethod initiationMethod; + +/** +

The date and time this contact was initiated, in UTC time. For INBOUND, this is when the contact arrived. For OUTBOUND, this is when the agent began dialing. For CALLBACK, this is when the callback contact was created. For TRANSFER and QUEUE_TRANSFER, this is when the transfer was initiated. For API, this is when the request arrived. For EXTERNAL_OUTBOUND, this is when the agent started dialing the external participant. For MONITOR, this is when the supervisor started listening to a contact.

+ */ +@property (nonatomic, strong) NSDate * _Nullable initiationTimestamp; + +/** +

If this contact is not the first contact, this is the ID of the previous contact.

+ */ +@property (nonatomic, strong) NSString * _Nullable previousContactId; + +/** +

If this contact was queued, this contains information about the queue.

+ */ +@property (nonatomic, strong) AWSConnectContactSearchSummaryQueueInfo * _Nullable queueInfo; + +/** +

The timestamp, in Unix epoch time format, at which to start running the inbound flow.

+ */ +@property (nonatomic, strong) NSDate * _Nullable scheduledTimestamp; + +@end + +/** +

Information about the agent who accepted the contact.

+ */ +@interface AWSConnectContactSearchSummaryAgentInfo : AWSModel + + +/** +

The timestamp when the contact was connected to the agent.

+ */ +@property (nonatomic, strong) NSDate * _Nullable connectedToAgentTimestamp; + +/** +

The identifier of the agent who accepted the contact.

+ */ +@property (nonatomic, strong) NSString * _Nullable identifier; + +@end + +/** +

If this contact was queued, this contains information about the queue.

+ */ +@interface AWSConnectContactSearchSummaryQueueInfo : AWSModel + + +/** +

The timestamp when the contact was added to the queue.

+ */ +@property (nonatomic, strong) NSDate * _Nullable enqueueTimestamp; + +/** +

The unique identifier for the queue.

+ */ +@property (nonatomic, strong) NSString * _Nullable identifier; + +@end + /**

An object that can be used to specify Tag conditions inside the SearchFilter. This accepts an OR of AND (List of List) input where:

  • Top level list specifies conditions that need to be applied with OR operator

  • Inner list specifies conditions that need to be applied with AND operator.

*/ @@ -3140,7 +3430,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectAgentStatusState state; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -3164,6 +3454,25 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +

The CreateCase action definition.

+ Required parameters: [Fields, TemplateId] + */ +@interface AWSConnectCreateCaseActionDefinition : AWSModel + + +/** +

An array of objects with Field ID and Value data.

+ */ +@property (nonatomic, strong) NSArray * _Nullable fields; + +/** +

A unique identifier of a template.

+ */ +@property (nonatomic, strong) NSString * _Nullable templateId; + +@end + /** */ @@ -3196,7 +3505,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable name; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -3247,7 +3556,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable name; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -3359,7 +3668,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable name; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -3486,7 +3795,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectSourceType sourceType; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -3602,6 +3911,29 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** + + */ +@interface AWSConnectCreatePredefinedAttributeRequest : AWSRequest + + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

The name of the predefined attribute.

+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +/** +

The values of the predefined attribute.

+ */ +@property (nonatomic, strong) AWSConnectPredefinedAttributeValues * _Nullable values; + +@end + /** */ @@ -3629,7 +3961,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable s3Uri; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -3695,7 +4027,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSArray * _Nullable quickConnectIds; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -3746,7 +4078,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) AWSConnectQuickConnectConfig * _Nullable quickConnectConfig; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -3812,7 +4144,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSArray * _Nullable queueConfigs; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -3939,7 +4271,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSArray * _Nullable tagRestrictedResources; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -4061,7 +4393,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable name; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -4102,7 +4434,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable integrationAssociationId; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -4153,7 +4485,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable parentGroupId; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -4224,7 +4556,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSArray * _Nullable securityProfileIds; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -4377,7 +4709,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectVocabularyLanguageCode languageCode; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -4760,6 +5092,24 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** + + */ +@interface AWSConnectDeletePredefinedAttributeRequest : AWSRequest + + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

The name of the predefined attribute.

+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +@end + /** */ @@ -5418,6 +5768,37 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** + + */ +@interface AWSConnectDescribePredefinedAttributeRequest : AWSRequest + + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

The name of the predefined attribute.

+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +@end + +/** + + */ +@interface AWSConnectDescribePredefinedAttributeResponse : AWSModel + + +/** +

Information about the predefined attribute.

+ */ +@property (nonatomic, strong) AWSConnectPredefinedAttribute * _Nullable predefinedAttribute; + +@end + /** */ @@ -5801,6 +6182,11 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) AWSConnectRoutingProfileReference * _Nullable routingProfile; +/** +

The expression of a step in a routing criteria.

+ */ +@property (nonatomic, strong) NSString * _Nullable routingStepExpression; + @end /** @@ -6076,26 +6462,49 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end /** -

Contains details about why a contact was disconnected. Only Amazon Connect outbound campaigns can provide this field.

+ */ -@interface AWSConnectDisconnectReason : AWSModel +@interface AWSConnectDisassociateUserProficienciesRequest : AWSRequest /** -

A code that indicates how the contact was terminated.

+

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ -@property (nonatomic, strong) NSString * _Nullable code; +@property (nonatomic, strong) NSString * _Nullable instanceId; -@end +/** +

The identifier of the user account.

+ */ +@property (nonatomic, strong) NSString * _Nullable userId; /** - +

The proficiencies to disassociate from the user.

*/ -@interface AWSConnectDismissUserContactRequest : AWSRequest +@property (nonatomic, strong) NSArray * _Nullable userProficiencies; +@end /** -

The identifier of the contact.

+

Contains details about why a contact was disconnected. Only Amazon Connect outbound campaigns can provide this field.

+ */ +@interface AWSConnectDisconnectReason : AWSModel + + +/** +

A code that indicates how the contact was terminated.

+ */ +@property (nonatomic, strong) NSString * _Nullable code; + +@end + +/** + + */ +@interface AWSConnectDismissUserContactRequest : AWSRequest + + +/** +

The identifier of the contact.

*/ @property (nonatomic, strong) NSString * _Nullable contactId; @@ -6154,6 +6563,14 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSString * _Nullable value; +@end + +/** +

An empty value.

+ */ +@interface AWSConnectEmptyFieldValue : AWSModel + + @end /** @@ -6173,6 +6590,14 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSString * _Nullable keyId; +@end + +/** +

End associated tasks related to a case.

+ */ +@interface AWSConnectEndAssociatedTasksActionDefinition : AWSModel + + @end /** @@ -6264,7 +6689,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectEvaluationStatus status; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -6392,7 +6817,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectEvaluationFormVersionStatus status; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -7010,6 +7435,53 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +

Object for case field values.

+ Required parameters: [Id, Value] + */ +@interface AWSConnectFieldValue : AWSModel + + +/** +

Unique identifier of a field.

+ */ +@property (nonatomic, strong) NSString * _Nullable identifier; + +/** +

Union of potential field value types.

+ */ +@property (nonatomic, strong) AWSConnectFieldValueUnion * _Nullable value; + +@end + +/** +

Object to store union of Field values.

+ */ +@interface AWSConnectFieldValueUnion : AWSModel + + +/** +

A Boolean number value type.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable booleanValue; + +/** +

a Double number value type.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable doubleValue; + +/** +

An empty value.

+ */ +@property (nonatomic, strong) AWSConnectEmptyFieldValue * _Nullable emptyValue; + +/** +

String value type.

+ */ +@property (nonatomic, strong) NSString * _Nullable stringValue; + +@end + /**

Contains the filter to apply when retrieving metrics with the GetMetricDataV2 API.

*/ @@ -7049,6 +7521,11 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSArray * _Nullable routingProfiles; +/** +

A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.

+ */ +@property (nonatomic, strong) NSArray * _Nullable routingStepExpressions; + @end /** @@ -7412,7 +7889,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSNumber * _Nullable maxResults; /** -

The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's Guide.

ABANDONMENT_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AGENT_ADHERENT_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_ANSWER_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_ADHERENT_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

AGENT_OCCUPANCY

Unit: Percentage

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULE_ADHERENCE

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULED_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

AVG_CONTACT_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_CONVERSATION_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_GREETING_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME_ALL_CONTACTS

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HOLDS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERACTION_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERRUPTIONS_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERRUPTION_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_RESOLUTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ABANDONED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_CREATED

Unit: Count

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED

Unit: Count

Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HOLD_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ON_HOLD_AGENT_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_PUT_ON_HOLD

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_EXTERNAL

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_INTERNAL

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_RESOLVED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than").

CONTACTS_TRANSFERRED_OUT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

MAX_QUEUED_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SERVICE_LEVEL

You can include up to 20 SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than").

SUM_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONNECTING_TIME_AGENT

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

SUM_CONTACT_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACT_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than").

SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than").

SUM_CONTACTS_DISCONNECTED

Valid metric filter key: DISCONNECT_REASON

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SUM_ERROR_STATUS_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HOLD_TIME

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_IDLE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_NON_PRODUCTIVE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_ONLINE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

+

The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's Guide.

ABANDONMENT_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AGENT_ADHERENT_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_ANSWER_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_ADHERENT_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

AGENT_OCCUPANCY

Unit: Percentage

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULE_ADHERENCE

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULED_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_ACTIVE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

AVG_AGENT_PAUSE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_CONTACT_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_CONVERSATION_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_GREETING_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME_ALL_CONTACTS

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HOLDS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERACTION_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERRUPTIONS_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERRUPTION_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_RESOLUTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ABANDONED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_CREATED

Unit: Count

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED

Unit: Count

Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HOLD_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ON_HOLD_AGENT_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_PUT_ON_HOLD

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_EXTERNAL

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_INTERNAL

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_RESOLVED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than").

CONTACTS_TRANSFERRED_OUT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

MAX_QUEUED_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SERVICE_LEVEL

You can include up to 20 SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than").

SUM_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONNECTING_TIME_AGENT

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

SUM_CONTACT_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACT_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than").

SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than").

SUM_CONTACTS_DISCONNECTED

Valid metric filter key: DISCONNECT_REASON

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SUM_ERROR_STATUS_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HOLD_TIME

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_IDLE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_NON_PRODUCTIVE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_ONLINE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

*/ @property (nonatomic, strong) NSArray * _Nullable metrics; @@ -7582,7 +8059,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectTaskTemplateStatus status; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -7676,7 +8153,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable name; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -8036,7 +8513,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable name; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -8186,7 +8663,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable sourcePhoneNumberArn; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -9568,6 +10045,47 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** + + */ +@interface AWSConnectListPredefinedAttributesRequest : AWSRequest + + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

The maximum number of results to return per page.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable maxResults; + +/** +

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +@end + +/** + + */ +@interface AWSConnectListPredefinedAttributesResponse : AWSModel + + +/** +

If there are additional results, this is the token for the next set of results.

+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +

Summary of the predefined attributes.

+ */ +@property (nonatomic, strong) NSArray * _Nullable predefinedAttributeSummaryList; + +@end + /** */ @@ -10412,6 +10930,62 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** + + */ +@interface AWSConnectListUserProficienciesRequest : AWSRequest + + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

The maximum number of results to return per page.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable maxResults; + +/** +

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +

The identifier of the user account.

+ */ +@property (nonatomic, strong) NSString * _Nullable userId; + +@end + +/** + + */ +@interface AWSConnectListUserProficienciesResponse : AWSModel + + +/** +

The region in which a user's proficiencies were last modified.

+ */ +@property (nonatomic, strong) NSString * _Nullable lastModifiedRegion; + +/** +

The last time that the user's proficiencies are were modified.

+ */ +@property (nonatomic, strong) NSDate * _Nullable lastModifiedTime; + +/** +

If there are additional results, this is the token for the next set of results.

+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +

Information about the user proficiencies.

+ */ +@property (nonatomic, strong) NSArray * _Nullable userProficiencyList; + +@end + /** */ @@ -10844,7 +11418,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSArray * _Nullable userIds; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.

*/ @property (nonatomic, strong) NSDictionary * _Nullable userTags; @@ -11008,6 +11582,37 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSString * _Nullable participantToken; +@end + +/** + + */ +@interface AWSConnectPauseContactRequest : AWSRequest + + +/** +

The identifier of the flow.

+ */ +@property (nonatomic, strong) NSString * _Nullable contactFlowId; + +/** +

The identifier of the contact.

+ */ +@property (nonatomic, strong) NSString * _Nullable contactId; + +/** +

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +@end + +/** + + */ +@interface AWSConnectPauseContactResponse : AWSModel + + @end /** @@ -11093,6 +11698,93 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +

Information about a predefined attribute.

+ */ +@interface AWSConnectPredefinedAttribute : AWSModel + + +/** +

Last modified region.

+ */ +@property (nonatomic, strong) NSString * _Nullable lastModifiedRegion; + +/** +

Last modified time.

+ */ +@property (nonatomic, strong) NSDate * _Nullable lastModifiedTime; + +/** +

The name of the predefined attribute.

+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +/** +

The values of the predefined attribute.

+ */ +@property (nonatomic, strong) AWSConnectPredefinedAttributeValues * _Nullable values; + +@end + +/** +

The search criteria to be used to return predefined attributes.

+ */ +@interface AWSConnectPredefinedAttributeSearchCriteria : AWSModel + + +/** +

A list of conditions which would be applied together with an AND condition.

+ */ +@property (nonatomic, strong) NSArray * _Nullable andConditions; + +/** +

A list of conditions which would be applied together with an OR condition.

+ */ +@property (nonatomic, strong) NSArray * _Nullable orConditions; + +/** +

A leaf node condition which can be used to specify a string condition.

The currently supported values for FieldName are name and description.

+ */ +@property (nonatomic, strong) AWSConnectStringCondition * _Nullable stringCondition; + +@end + +/** +

Summary of a predefined attribute.

+ */ +@interface AWSConnectPredefinedAttributeSummary : AWSModel + + +/** +

Last modified region.

+ */ +@property (nonatomic, strong) NSString * _Nullable lastModifiedRegion; + +/** +

Last modified time.

+ */ +@property (nonatomic, strong) NSDate * _Nullable lastModifiedTime; + +/** +

The name of the predefined attribute.

+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +@end + +/** +

Information about values of a predefined attribute.

+ */ +@interface AWSConnectPredefinedAttributeValues : AWSModel + + +/** +

Predefined attribute values of type string list.

+ */ +@property (nonatomic, strong) NSArray * _Nullable stringList; + +@end + /**

Information about a problem detail.

*/ @@ -11143,7 +11835,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable promptId; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -11330,7 +12022,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectQueueStatus status; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -11512,7 +12204,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable quickConnectId; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -12164,23 +12856,54 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end /** -

Contains information about a routing profile.

+ */ -@interface AWSConnectRoutingProfile : AWSModel +@interface AWSConnectResumeContactRequest : AWSRequest /** -

Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.

+

The identifier of the flow.

*/ -@property (nonatomic, assign) AWSConnectAgentAvailabilityTimer agentAvailabilityTimer; +@property (nonatomic, strong) NSString * _Nullable contactFlowId; /** -

The identifier of the default outbound queue for this routing profile.

+

The identifier of the contact.

*/ -@property (nonatomic, strong) NSString * _Nullable defaultOutboundQueueId; +@property (nonatomic, strong) NSString * _Nullable contactId; /** -

The description of the routing profile.

+

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +@end + +/** + + */ +@interface AWSConnectResumeContactResponse : AWSModel + + +@end + +/** +

Contains information about a routing profile.

+ */ +@interface AWSConnectRoutingProfile : AWSModel + + +/** +

Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.

+ */ +@property (nonatomic, assign) AWSConnectAgentAvailabilityTimer agentAvailabilityTimer; + +/** +

The identifier of the default outbound queue for this routing profile.

+ */ +@property (nonatomic, strong) NSString * _Nullable defaultOutboundQueueId; + +/** +

The description of the routing profile.

*/ @property (nonatomic, strong) NSString * _Nullable detail; @@ -12235,7 +12958,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable routingProfileId; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -12463,7 +13186,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable ruleId; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -12491,6 +13214,16 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) AWSConnectAssignContactCategoryActionDefinition * _Nullable assignContactCategoryAction; +/** +

Information about the create case action.

Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnPostChatAnalysisAvailable.

+ */ +@property (nonatomic, strong) AWSConnectCreateCaseActionDefinition * _Nullable createCaseAction; + +/** +

Information about the end associated tasks action.

Supported only for TriggerEventSource values: OnCaseUpdate.

+ */ +@property (nonatomic, strong) AWSConnectEndAssociatedTasksActionDefinition * _Nullable endAssociatedTasksAction; + /**

Information about the EventBridge action.

Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnContactEvaluationSubmit | OnMetricDataUpdate

*/ @@ -12506,6 +13239,11 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) AWSConnectTaskActionDefinition * _Nullable taskAction; +/** +

Information about the update case action.

Supported only for TriggerEventSource values: OnCaseCreate | OnCaseUpdate.

+ */ +@property (nonatomic, strong) AWSConnectUpdateCaseActionDefinition * _Nullable updateCaseAction; + @end /** @@ -12661,6 +13399,134 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** + + */ +@interface AWSConnectSearchContactsRequest : AWSRequest + + +/** +

The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

The maximum number of results to return per page.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable maxResults; + +/** +

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +

The search criteria to be used to return contacts.

+ */ +@property (nonatomic, strong) AWSConnectSearchCriteria * _Nullable searchCriteria; + +/** +

Specifies a field to sort by and a sort order

+ */ +@property (nonatomic, strong) AWSConnectSort * _Nullable sort; + +/** +

Time range that you want to search results

+ */ +@property (nonatomic, strong) AWSConnectSearchContactsTimeRange * _Nullable timeRange; + +@end + +/** + + */ +@interface AWSConnectSearchContactsResponse : AWSModel + + +/** +

Information about the contacts.

+ */ +@property (nonatomic, strong) NSArray * _Nullable contacts; + +/** +

If there are additional results, this is the token for the next set of results.

+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +

The total number of contacts which matched your search query.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable totalCount; + +@end + +/** +

A structure of time range that you want to search results

+ Required parameters: [Type, StartTime, EndTime] + */ +@interface AWSConnectSearchContactsTimeRange : AWSModel + + +/** +

The end time of the time range.

+ */ +@property (nonatomic, strong) NSDate * _Nullable endTime; + +/** +

The start time of the time range.

+ */ +@property (nonatomic, strong) NSDate * _Nullable startTime; + +/** +

The type of timestamp to search

+ */ +@property (nonatomic, assign) AWSConnectSearchContactsTimeRangeType types; + +@end + +/** +

A structure of search criteria to be used to return contacts

+ */ +@interface AWSConnectSearchCriteria : AWSModel + + +/** +

The agent hierarchy groups

+ */ +@property (nonatomic, strong) AWSConnectAgentHierarchyGroups * _Nullable agentHierarchyGroups; + +/** +

The array of agent ids

+ */ +@property (nonatomic, strong) NSArray * _Nullable agentIds; + +/** +

The array of channels

+ */ +@property (nonatomic, strong) NSArray * _Nullable channels; + +/** +

The ContactAnalysis object used in search criteria

+ */ +@property (nonatomic, strong) AWSConnectContactAnalysis * _Nullable contactAnalysis; + +/** +

The array of initiaton methods

+ */ +@property (nonatomic, strong) NSArray * _Nullable initiationMethods; + +/** +

The array of queue ids.

+ */ +@property (nonatomic, strong) NSArray * _Nullable queueIds; + +/** +

The SearchableContactAttributes object used in search criteria

+ */ +@property (nonatomic, strong) AWSConnectSearchableContactAttributes * _Nullable searchableContactAttributes; + +@end + /** */ @@ -12717,6 +13583,57 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** + + */ +@interface AWSConnectSearchPredefinedAttributesRequest : AWSRequest + + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

The maximum number of results to return per page.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable maxResults; + +/** +

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +

The search criteria to be used to return predefined attributes.

+ */ +@property (nonatomic, strong) AWSConnectPredefinedAttributeSearchCriteria * _Nullable searchCriteria; + +@end + +/** + + */ +@interface AWSConnectSearchPredefinedAttributesResponse : AWSModel + + +/** +

The approximate number of predefined attributes which matched your search query.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable approximateTotalCount; + +/** +

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +

Predefined attributes matched by the search criteria.

+ */ +@property (nonatomic, strong) NSArray * _Nullable predefinedAttributes; + +@end + /** */ @@ -13160,6 +14077,44 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +

A structure that defines searchable contact attributes which can be used to filter search results.

+ Required parameters: [Criteria] + */ +@interface AWSConnectSearchableContactAttributes : AWSModel + + +/** +

The array of searhale contact attribute criteria

+ */ +@property (nonatomic, strong) NSArray * _Nullable criteria; + +/** +

The match type of multiple searchable contact attributes criteria.

+ */ +@property (nonatomic, assign) AWSConnectSearchContactsMatchType matchType; + +@end + +/** +

The criteria of searchable contact attributes.

+ Required parameters: [Key, Values] + */ +@interface AWSConnectSearchableContactAttributesCriteria : AWSModel + + +/** +

The searchable contact attribute key

+ */ +@property (nonatomic, strong) NSString * _Nullable key; + +/** +

The array of contact attribute values used to filter search results.

+ */ +@property (nonatomic, strong) NSArray * _Nullable values; + +@end + /**

Configuration information of the security key.

*/ @@ -13235,7 +14190,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSArray * _Nullable tagRestrictedResources; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -13258,7 +14213,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSArray * _Nullable orConditions; /** -

A leaf node condition which can be used to specify a string condition.

+

A leaf node condition which can be used to specify a string condition.

The currently supported values for FieldName are name and description.

*/ @property (nonatomic, strong) AWSConnectStringCondition * _Nullable stringCondition; @@ -13296,7 +14251,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable securityProfileName; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -13503,6 +14458,25 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +

A structure that defines the sort by and a sort order

+ Required parameters: [FieldName, Order] + */ +@interface AWSConnectSort : AWSModel + + +/** +

The name of the field on which to sort.

+ */ +@property (nonatomic, assign) AWSConnectSortableFieldName fieldName; + +/** +

An ascending or descending sort.

+ */ +@property (nonatomic, assign) AWSConnectSortOrder order; + +@end + /** */ @@ -13748,6 +14722,11 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSString * _Nullable contactFlowId; +/** +

A description of the voice contact that is shown to an agent in the Contact Control Panel (CCP).

+ */ +@property (nonatomic, strong) NSString * _Nullable detail; + /**

The phone number of the customer, in E.164 format.

*/ @@ -13758,11 +14737,26 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSString * _Nullable instanceId; +/** +

The name of a voice contact that is shown to an agent in the Contact Control Panel (CCP).

+ */ +@property (nonatomic, strong) NSString * _Nullable name; + /**

The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the flow is used. If you do not specify a queue, you must specify a source phone number.

*/ @property (nonatomic, strong) NSString * _Nullable queueId; +/** +

A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Contacts can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL. ATTACHMENT is not a supported reference type during voice contact creation.

+ */ +@property (nonatomic, strong) NSDictionary * _Nullable references; + +/** +

The contactId that is related to this contact. Linking voice, task, or chat by using RelatedContactID copies over contact attributes from the related contact to the new contact. All updates to user-defined attributes in the new contact are limited to the individual contact ID. There are no limits to the number of contacts that can be linked by using RelatedContactId.

+ */ +@property (nonatomic, strong) NSString * _Nullable relatedContactId; + /**

The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.

*/ @@ -14044,7 +15038,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end /** -

A leaf node condition which can be used to specify a string condition.

+

A leaf node condition which can be used to specify a string condition.

The currently supported values for FieldName are name and description.

*/ @interface AWSConnectStringCondition : AWSModel @@ -14195,6 +15189,37 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSString * _Nullable tagValue; +@end + +/** + + */ +@interface AWSConnectTagContactRequest : AWSRequest + + +/** +

The identifier of the contact in this instance of Amazon Connect.

+ */ +@property (nonatomic, strong) NSString * _Nullable contactId; + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

The tags to be assigned to the contact resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

Authorization is not supported by this tag.

+ */ +@property (nonatomic, strong) NSDictionary * _Nullable tags; + +@end + +/** + + */ +@interface AWSConnectTagContactResponse : AWSModel + + @end /** @@ -14209,7 +15234,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable resourceArn; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -14521,7 +15546,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectTrafficDistributionGroupStatus status; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -14578,6 +15603,49 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +

The transcript object used to search results.

+ Required parameters: [Criteria] + */ +@interface AWSConnectTranscript : AWSModel + + +/** +

The array of transcript search criteria

+ */ +@property (nonatomic, strong) NSArray * _Nullable criteria; + +/** +

The match type of multiple transcript criteira

+ */ +@property (nonatomic, assign) AWSConnectSearchContactsMatchType matchType; + +@end + +/** +

The transcript criteria used to search

+ Required parameters: [ParticipantRole, SearchText, MatchType] + */ +@interface AWSConnectTranscriptCriteria : AWSModel + + +/** +

The match type of search texts in a transcript criteria.

+ */ +@property (nonatomic, assign) AWSConnectSearchContactsMatchType matchType; + +/** +

The participant role in a transcript

+ */ +@property (nonatomic, assign) AWSConnectParticipantRole participantRole; + +/** +

The words or phrases used to search within a transcript.

+ */ +@property (nonatomic, strong) NSArray * _Nullable searchText; + +@end + /** */ @@ -14632,6 +15700,37 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSString * _Nullable contactId; +@end + +/** + + */ +@interface AWSConnectUntagContactRequest : AWSRequest + + +/** +

The identifier of the contact in this instance of Amazon Connect.

+ */ +@property (nonatomic, strong) NSString * _Nullable contactId; + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

A list of tag keys. Existing tags on the contact whose keys are members of this list will be removed.

+ */ +@property (nonatomic, strong) NSArray * _Nullable tagKeys; + +@end + +/** + + */ +@interface AWSConnectUntagContactResponse : AWSModel + + @end /** @@ -14695,6 +15794,20 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +

The UpdateCase action definition.

+ Required parameters: [Fields] + */ +@interface AWSConnectUpdateCaseActionDefinition : AWSModel + + +/** +

An array of objects with Field ID and Value data.

+ */ +@property (nonatomic, strong) NSArray * _Nullable fields; + +@end + /** */ @@ -14991,6 +16104,42 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @interface AWSConnectUpdateContactResponse : AWSModel +@end + +/** + + */ +@interface AWSConnectUpdateContactRoutingDataRequest : AWSRequest + + +/** +

The identifier of the contact in this instance of Amazon Connect.

+ */ +@property (nonatomic, strong) NSString * _Nullable contactId; + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

Priority of the contact in the queue. The default priority for new contacts is 5. You can raise the priority of a contact compared to other contacts in the queue by assigning them a higher priority, such as 1 or 2.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable queuePriority; + +/** +

The number of seconds to add or subtract from the contact's routing age. Contacts are routed to agents on a first-come, first-serve basis. This means that changing their amount of time in queue compared to others also changes their position in queue.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable queueTimeAdjustmentSeconds; + +@end + +/** + + */ +@interface AWSConnectUpdateContactRoutingDataResponse : AWSModel + + @end /** @@ -15302,6 +16451,29 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** + + */ +@interface AWSConnectUpdatePredefinedAttributeRequest : AWSRequest + + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

The name of the predefined attribute.

+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +/** +

The values of the predefined attribute.

+ */ +@property (nonatomic, strong) AWSConnectPredefinedAttributeValues * _Nullable values; + +@end + /** */ @@ -15992,6 +17164,29 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** + + */ +@interface AWSConnectUpdateUserProficienciesRequest : AWSRequest + + +/** +

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +

The identifier of the user account.

+ */ +@property (nonatomic, strong) NSString * _Nullable userId; + +/** +

The proficiencies to be updated for the user. Proficiencies must first be associated to the user. You can do this using AssociateUserProficiencies API.

+ */ +@property (nonatomic, strong) NSArray * _Nullable userProficiencies; + +@end + /** */ @@ -16390,6 +17585,49 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +

Information about proficiency of a user.

+ Required parameters: [AttributeName, AttributeValue, Level] + */ +@interface AWSConnectUserProficiency : AWSModel + + +/** +

The name of user's proficiency. You must use name of predefined attribute present in the Amazon Connect instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable attributeName; + +/** +

The value of user's proficiency. You must use value of predefined attribute present in the Amazon Connect instance.

+ */ +@property (nonatomic, strong) NSString * _Nullable attributeValue; + +/** +

The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable level; + +@end + +/** +

Information about proficiency to be disassociated from the user.

+ Required parameters: [AttributeName, AttributeValue] + */ +@interface AWSConnectUserProficiencyDisassociate : AWSModel + + +/** +

The name of user's proficiency.

+ */ +@property (nonatomic, strong) NSString * _Nullable attributeName; + +/** +

The value of user's proficiency.

+ */ +@property (nonatomic, strong) NSString * _Nullable attributeValue; + +@end + /**

Contains information about the quick connect configuration settings for a user. The contact flow must be of type Transfer to Agent.

Required parameters: [UserId, ContactFlowId] @@ -16515,7 +17753,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSArray * _Nullable securityProfileIds; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @@ -16802,7 +18040,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, assign) AWSConnectVocabularyState state; /** -

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

+

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; diff --git a/AWSConnect/AWSConnectModel.m b/AWSConnect/AWSConnectModel.m index 36addb0f1a3..2700eec3b4f 100644 --- a/AWSConnect/AWSConnectModel.m +++ b/AWSConnect/AWSConnectModel.m @@ -44,6 +44,15 @@ + (NSValueTransformer *)actionTypeJSONTransformer { if ([value caseInsensitiveCompare:@"SEND_NOTIFICATION"] == NSOrderedSame) { return @(AWSConnectActionTypeSendNotification); } + if ([value caseInsensitiveCompare:@"CREATE_CASE"] == NSOrderedSame) { + return @(AWSConnectActionTypeCreateCase); + } + if ([value caseInsensitiveCompare:@"UPDATE_CASE"] == NSOrderedSame) { + return @(AWSConnectActionTypeUpdateCase); + } + if ([value caseInsensitiveCompare:@"END_ASSOCIATED_TASKS"] == NSOrderedSame) { + return @(AWSConnectActionTypeEndAssociatedTasks); + } return @(AWSConnectActionTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -55,6 +64,12 @@ + (NSValueTransformer *)actionTypeJSONTransformer { return @"GENERATE_EVENTBRIDGE_EVENT"; case AWSConnectActionTypeSendNotification: return @"SEND_NOTIFICATION"; + case AWSConnectActionTypeCreateCase: + return @"CREATE_CASE"; + case AWSConnectActionTypeUpdateCase: + return @"UPDATE_CASE"; + case AWSConnectActionTypeEndAssociatedTasks: + return @"END_ASSOCIATED_TASKS"; default: return nil; } @@ -291,6 +306,24 @@ + (NSValueTransformer *)stateStartTimestampJSONTransformer { @end +@implementation AWSConnectAgentHierarchyGroups + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"l1Ids" : @"L1Ids", + @"l2Ids" : @"L2Ids", + @"l3Ids" : @"L3Ids", + @"l4Ids" : @"L4Ids", + @"l5Ids" : @"L5Ids", + }; +} + +@end + @implementation AWSConnectAgentInfo + (BOOL)supportsSecureCoding { @@ -299,6 +332,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"agentPauseDurationInSeconds" : @"AgentPauseDurationInSeconds", @"connectedToAgentTimestamp" : @"ConnectedToAgentTimestamp", @"identifier" : @"Id", }; @@ -1044,6 +1078,26 @@ + (BOOL)supportsSecureCoding { @end +@implementation AWSConnectAssociateUserProficienciesRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"userId" : @"UserId", + @"userProficiencies" : @"UserProficiencies", + }; +} + ++ (NSValueTransformer *)userProficienciesJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectUserProficiency class]]; +} + +@end + @implementation AWSConnectAttachmentReference + (BOOL)supportsSecureCoding { @@ -4079,12 +4133,19 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"initialContactId" : @"InitialContactId", @"initiationMethod" : @"InitiationMethod", @"initiationTimestamp" : @"InitiationTimestamp", + @"lastPausedTimestamp" : @"LastPausedTimestamp", + @"lastResumedTimestamp" : @"LastResumedTimestamp", @"lastUpdateTimestamp" : @"LastUpdateTimestamp", @"name" : @"Name", @"previousContactId" : @"PreviousContactId", @"queueInfo" : @"QueueInfo", + @"queuePriority" : @"QueuePriority", + @"queueTimeAdjustmentSeconds" : @"QueueTimeAdjustmentSeconds", @"relatedContactId" : @"RelatedContactId", @"scheduledTimestamp" : @"ScheduledTimestamp", + @"tags" : @"Tags", + @"totalPauseCount" : @"TotalPauseCount", + @"totalPauseDurationInSeconds" : @"TotalPauseDurationInSeconds", @"wisdomInfo" : @"WisdomInfo", }; } @@ -4191,6 +4252,22 @@ + (NSValueTransformer *)initiationTimestampJSONTransformer { }]; } ++ (NSValueTransformer *)lastPausedTimestampJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)lastResumedTimestampJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + + (NSValueTransformer *)lastUpdateTimestampJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; @@ -4217,6 +4294,24 @@ + (NSValueTransformer *)wisdomInfoJSONTransformer { @end +@implementation AWSConnectContactAnalysis + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"transcript" : @"Transcript", + }; +} + ++ (NSValueTransformer *)transcriptJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectTranscript class]]; +} + +@end + @implementation AWSConnectContactDataRequest + (BOOL)supportsSecureCoding { @@ -4556,6 +4651,190 @@ + (NSValueTransformer *)contactFlowTypeJSONTransformer { @end +@implementation AWSConnectContactSearchSummary + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"agentInfo" : @"AgentInfo", + @"arn" : @"Arn", + @"channel" : @"Channel", + @"disconnectTimestamp" : @"DisconnectTimestamp", + @"identifier" : @"Id", + @"initialContactId" : @"InitialContactId", + @"initiationMethod" : @"InitiationMethod", + @"initiationTimestamp" : @"InitiationTimestamp", + @"previousContactId" : @"PreviousContactId", + @"queueInfo" : @"QueueInfo", + @"scheduledTimestamp" : @"ScheduledTimestamp", + }; +} + ++ (NSValueTransformer *)agentInfoJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectContactSearchSummaryAgentInfo class]]; +} + ++ (NSValueTransformer *)channelJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"VOICE"] == NSOrderedSame) { + return @(AWSConnectChannelVoice); + } + if ([value caseInsensitiveCompare:@"CHAT"] == NSOrderedSame) { + return @(AWSConnectChannelChat); + } + if ([value caseInsensitiveCompare:@"TASK"] == NSOrderedSame) { + return @(AWSConnectChannelTask); + } + return @(AWSConnectChannelUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectChannelVoice: + return @"VOICE"; + case AWSConnectChannelChat: + return @"CHAT"; + case AWSConnectChannelTask: + return @"TASK"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)disconnectTimestampJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)initiationMethodJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"INBOUND"] == NSOrderedSame) { + return @(AWSConnectContactInitiationMethodInbound); + } + if ([value caseInsensitiveCompare:@"OUTBOUND"] == NSOrderedSame) { + return @(AWSConnectContactInitiationMethodOutbound); + } + if ([value caseInsensitiveCompare:@"TRANSFER"] == NSOrderedSame) { + return @(AWSConnectContactInitiationMethodTransfer); + } + if ([value caseInsensitiveCompare:@"QUEUE_TRANSFER"] == NSOrderedSame) { + return @(AWSConnectContactInitiationMethodQueueTransfer); + } + if ([value caseInsensitiveCompare:@"CALLBACK"] == NSOrderedSame) { + return @(AWSConnectContactInitiationMethodCallback); + } + if ([value caseInsensitiveCompare:@"API"] == NSOrderedSame) { + return @(AWSConnectContactInitiationMethodApi); + } + if ([value caseInsensitiveCompare:@"DISCONNECT"] == NSOrderedSame) { + return @(AWSConnectContactInitiationMethodDisconnect); + } + if ([value caseInsensitiveCompare:@"MONITOR"] == NSOrderedSame) { + return @(AWSConnectContactInitiationMethodMonitor); + } + if ([value caseInsensitiveCompare:@"EXTERNAL_OUTBOUND"] == NSOrderedSame) { + return @(AWSConnectContactInitiationMethodExternalOutbound); + } + return @(AWSConnectContactInitiationMethodUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectContactInitiationMethodInbound: + return @"INBOUND"; + case AWSConnectContactInitiationMethodOutbound: + return @"OUTBOUND"; + case AWSConnectContactInitiationMethodTransfer: + return @"TRANSFER"; + case AWSConnectContactInitiationMethodQueueTransfer: + return @"QUEUE_TRANSFER"; + case AWSConnectContactInitiationMethodCallback: + return @"CALLBACK"; + case AWSConnectContactInitiationMethodApi: + return @"API"; + case AWSConnectContactInitiationMethodDisconnect: + return @"DISCONNECT"; + case AWSConnectContactInitiationMethodMonitor: + return @"MONITOR"; + case AWSConnectContactInitiationMethodExternalOutbound: + return @"EXTERNAL_OUTBOUND"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)initiationTimestampJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)queueInfoJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectContactSearchSummaryQueueInfo class]]; +} + ++ (NSValueTransformer *)scheduledTimestampJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + +@end + +@implementation AWSConnectContactSearchSummaryAgentInfo + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"connectedToAgentTimestamp" : @"ConnectedToAgentTimestamp", + @"identifier" : @"Id", + }; +} + ++ (NSValueTransformer *)connectedToAgentTimestampJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + +@end + +@implementation AWSConnectContactSearchSummaryQueueInfo + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"enqueueTimestamp" : @"EnqueueTimestamp", + @"identifier" : @"Id", + }; +} + ++ (NSValueTransformer *)enqueueTimestampJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + +@end + @implementation AWSConnectControlPlaneTagFilter + (BOOL)supportsSecureCoding { @@ -4635,7 +4914,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end -@implementation AWSConnectCreateContactFlowModuleRequest +@implementation AWSConnectCreateCaseActionDefinition + (BOOL)supportsSecureCoding { return YES; @@ -4643,18 +4922,18 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"clientToken" : @"ClientToken", - @"content" : @"Content", - @"detail" : @"Description", - @"instanceId" : @"InstanceId", - @"name" : @"Name", - @"tags" : @"Tags", + @"fields" : @"Fields", + @"templateId" : @"TemplateId", }; } ++ (NSValueTransformer *)fieldsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectFieldValue class]]; +} + @end -@implementation AWSConnectCreateContactFlowModuleResponse +@implementation AWSConnectCreateContactFlowModuleRequest + (BOOL)supportsSecureCoding { return YES; @@ -4662,8 +4941,27 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"arn" : @"Arn", - @"identifier" : @"Id", + @"clientToken" : @"ClientToken", + @"content" : @"Content", + @"detail" : @"Description", + @"instanceId" : @"InstanceId", + @"name" : @"Name", + @"tags" : @"Tags", + }; +} + +@end + +@implementation AWSConnectCreateContactFlowModuleResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"arn" : @"Arn", + @"identifier" : @"Id", }; } @@ -4982,6 +5280,9 @@ + (NSValueTransformer *)sourceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"ZENDESK"] == NSOrderedSame) { return @(AWSConnectSourceTypeZendesk); } + if ([value caseInsensitiveCompare:@"CASES"] == NSOrderedSame) { + return @(AWSConnectSourceTypeCases); + } return @(AWSConnectSourceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -4989,6 +5290,8 @@ + (NSValueTransformer *)sourceTypeJSONTransformer { return @"SALESFORCE"; case AWSConnectSourceTypeZendesk: return @"ZENDESK"; + case AWSConnectSourceTypeCases: + return @"CASES"; default: return nil; } @@ -5105,6 +5408,26 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectCreatePredefinedAttributeRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"name" : @"Name", + @"values" : @"Values", + }; +} + ++ (NSValueTransformer *)valuesJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectPredefinedAttributeValues class]]; +} + +@end + @implementation AWSConnectCreatePromptRequest + (BOOL)supportsSecureCoding { @@ -6558,6 +6881,21 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectDeletePredefinedAttributeRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"name" : @"Name", + }; +} + +@end + @implementation AWSConnectDeletePromptRequest + (BOOL)supportsSecureCoding { @@ -7338,6 +7676,39 @@ + (NSValueTransformer *)claimedPhoneNumberSummaryJSONTransformer { @end +@implementation AWSConnectDescribePredefinedAttributeRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"name" : @"Name", + }; +} + +@end + +@implementation AWSConnectDescribePredefinedAttributeResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"predefinedAttribute" : @"PredefinedAttribute", + }; +} + ++ (NSValueTransformer *)predefinedAttributeJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectPredefinedAttribute class]]; +} + +@end + @implementation AWSConnectDescribePromptRequest + (BOOL)supportsSecureCoding { @@ -7743,6 +8114,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"channel" : @"Channel", @"queue" : @"Queue", @"routingProfile" : @"RoutingProfile", + @"routingStepExpression" : @"RoutingStepExpression", }; } @@ -8075,6 +8447,26 @@ + (BOOL)supportsSecureCoding { @end +@implementation AWSConnectDisassociateUserProficienciesRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"userId" : @"UserId", + @"userProficiencies" : @"UserProficiencies", + }; +} + ++ (NSValueTransformer *)userProficienciesJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectUserProficiencyDisassociate class]]; +} + +@end + @implementation AWSConnectDisconnectReason + (BOOL)supportsSecureCoding { @@ -8143,6 +8535,14 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectEmptyFieldValue + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + @implementation AWSConnectEncryptionConfig + (BOOL)supportsSecureCoding { @@ -8174,6 +8574,14 @@ + (NSValueTransformer *)encryptionTypeJSONTransformer { @end +@implementation AWSConnectEndAssociatedTasksActionDefinition + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + @implementation AWSConnectEndpoint + (BOOL)supportsSecureCoding { @@ -9121,6 +9529,46 @@ + (NSValueTransformer *)failureReasonCodeJSONTransformer { @end +@implementation AWSConnectFieldValue + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"identifier" : @"Id", + @"value" : @"Value", + }; +} + ++ (NSValueTransformer *)valueJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectFieldValueUnion class]]; +} + +@end + +@implementation AWSConnectFieldValueUnion + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"booleanValue" : @"BooleanValue", + @"doubleValue" : @"DoubleValue", + @"emptyValue" : @"EmptyValue", + @"stringValue" : @"StringValue", + }; +} + ++ (NSValueTransformer *)emptyValueJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectEmptyFieldValue class]]; +} + +@end + @implementation AWSConnectFilterV2 + (BOOL)supportsSecureCoding { @@ -9147,6 +9595,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"channels" : @"Channels", @"queues" : @"Queues", @"routingProfiles" : @"RoutingProfiles", + @"routingStepExpressions" : @"RoutingStepExpressions", }; } @@ -10833,6 +11282,9 @@ + (NSValueTransformer *)sourceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"ZENDESK"] == NSOrderedSame) { return @(AWSConnectSourceTypeZendesk); } + if ([value caseInsensitiveCompare:@"CASES"] == NSOrderedSame) { + return @(AWSConnectSourceTypeCases); + } return @(AWSConnectSourceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -10840,6 +11292,8 @@ + (NSValueTransformer *)sourceTypeJSONTransformer { return @"SALESFORCE"; case AWSConnectSourceTypeZendesk: return @"ZENDESK"; + case AWSConnectSourceTypeCases: + return @"CASES"; default: return nil; } @@ -13331,6 +13785,41 @@ + (NSValueTransformer *)listPhoneNumbersSummaryListJSONTransformer { @end +@implementation AWSConnectListPredefinedAttributesRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + }; +} + +@end + +@implementation AWSConnectListPredefinedAttributesResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"nextToken" : @"NextToken", + @"predefinedAttributeSummaryList" : @"PredefinedAttributeSummaryList", + }; +} + ++ (NSValueTransformer *)predefinedAttributeSummaryListJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectPredefinedAttributeSummary class]]; +} + +@end + @implementation AWSConnectListPromptsRequest + (BOOL)supportsSecureCoding { @@ -13718,6 +14207,12 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { if ([value caseInsensitiveCompare:@"OnMetricDataUpdate"] == NSOrderedSame) { return @(AWSConnectEventSourceNameOnMetricDataUpdate); } + if ([value caseInsensitiveCompare:@"OnCaseCreate"] == NSOrderedSame) { + return @(AWSConnectEventSourceNameOnCaseCreate); + } + if ([value caseInsensitiveCompare:@"OnCaseUpdate"] == NSOrderedSame) { + return @(AWSConnectEventSourceNameOnCaseUpdate); + } return @(AWSConnectEventSourceNameUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -13739,6 +14234,10 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { return @"OnContactEvaluationSubmit"; case AWSConnectEventSourceNameOnMetricDataUpdate: return @"OnMetricDataUpdate"; + case AWSConnectEventSourceNameOnCaseCreate: + return @"OnCaseCreate"; + case AWSConnectEventSourceNameOnCaseUpdate: + return @"OnCaseUpdate"; default: return nil; } @@ -14172,6 +14671,52 @@ + (NSValueTransformer *)userHierarchyGroupSummaryListJSONTransformer { @end +@implementation AWSConnectListUserProficienciesRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + @"userId" : @"UserId", + }; +} + +@end + +@implementation AWSConnectListUserProficienciesResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"lastModifiedRegion" : @"LastModifiedRegion", + @"lastModifiedTime" : @"LastModifiedTime", + @"nextToken" : @"NextToken", + @"userProficiencyList" : @"UserProficiencyList", + }; +} + ++ (NSValueTransformer *)lastModifiedTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)userProficiencyListJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectUserProficiency class]]; +} + +@end + @implementation AWSConnectListUsersRequest + (BOOL)supportsSecureCoding { @@ -14930,6 +15475,30 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectPauseContactRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"contactFlowId" : @"ContactFlowId", + @"contactId" : @"ContactId", + @"instanceId" : @"InstanceId", + }; +} + +@end + +@implementation AWSConnectPauseContactResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + @implementation AWSConnectPersistentChat + (BOOL)supportsSecureCoding { @@ -16281,7 +16850,7 @@ + (NSValueTransformer *)phoneNumberTypeJSONTransformer { @end -@implementation AWSConnectProblemDetail +@implementation AWSConnectPredefinedAttribute + (BOOL)supportsSecureCoding { return YES; @@ -16289,13 +16858,28 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"message" : @"message", + @"lastModifiedRegion" : @"LastModifiedRegion", + @"lastModifiedTime" : @"LastModifiedTime", + @"name" : @"Name", + @"values" : @"Values", }; } ++ (NSValueTransformer *)lastModifiedTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)valuesJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectPredefinedAttributeValues class]]; +} + @end -@implementation AWSConnectPrompt +@implementation AWSConnectPredefinedAttributeSearchCriteria + (BOOL)supportsSecureCoding { return YES; @@ -16303,8 +16887,88 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"detail" : @"Description", - @"lastModifiedRegion" : @"LastModifiedRegion", + @"andConditions" : @"AndConditions", + @"orConditions" : @"OrConditions", + @"stringCondition" : @"StringCondition", + }; +} + ++ (NSValueTransformer *)andConditionsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectPredefinedAttributeSearchCriteria class]]; +} + ++ (NSValueTransformer *)orConditionsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectPredefinedAttributeSearchCriteria class]]; +} + ++ (NSValueTransformer *)stringConditionJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectStringCondition class]]; +} + +@end + +@implementation AWSConnectPredefinedAttributeSummary + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"lastModifiedRegion" : @"LastModifiedRegion", + @"lastModifiedTime" : @"LastModifiedTime", + @"name" : @"Name", + }; +} + ++ (NSValueTransformer *)lastModifiedTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + +@end + +@implementation AWSConnectPredefinedAttributeValues + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"stringList" : @"StringList", + }; +} + +@end + +@implementation AWSConnectProblemDetail + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"message" : @"message", + }; +} + +@end + +@implementation AWSConnectPrompt + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"detail" : @"Description", + @"lastModifiedRegion" : @"LastModifiedRegion", @"lastModifiedTime" : @"LastModifiedTime", @"name" : @"Name", @"promptARN" : @"PromptARN", @@ -17576,6 +18240,30 @@ + (BOOL)supportsSecureCoding { @end +@implementation AWSConnectResumeContactRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"contactFlowId" : @"ContactFlowId", + @"contactId" : @"ContactId", + @"instanceId" : @"InstanceId", + }; +} + +@end + +@implementation AWSConnectResumeContactResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + @implementation AWSConnectRoutingProfile + (BOOL)supportsSecureCoding { @@ -17908,9 +18596,12 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"actionType" : @"ActionType", @"assignContactCategoryAction" : @"AssignContactCategoryAction", + @"createCaseAction" : @"CreateCaseAction", + @"endAssociatedTasksAction" : @"EndAssociatedTasksAction", @"eventBridgeAction" : @"EventBridgeAction", @"sendNotificationAction" : @"SendNotificationAction", @"taskAction" : @"TaskAction", + @"updateCaseAction" : @"UpdateCaseAction", }; } @@ -17928,6 +18619,15 @@ + (NSValueTransformer *)actionTypeJSONTransformer { if ([value caseInsensitiveCompare:@"SEND_NOTIFICATION"] == NSOrderedSame) { return @(AWSConnectActionTypeSendNotification); } + if ([value caseInsensitiveCompare:@"CREATE_CASE"] == NSOrderedSame) { + return @(AWSConnectActionTypeCreateCase); + } + if ([value caseInsensitiveCompare:@"UPDATE_CASE"] == NSOrderedSame) { + return @(AWSConnectActionTypeUpdateCase); + } + if ([value caseInsensitiveCompare:@"END_ASSOCIATED_TASKS"] == NSOrderedSame) { + return @(AWSConnectActionTypeEndAssociatedTasks); + } return @(AWSConnectActionTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -17939,6 +18639,12 @@ + (NSValueTransformer *)actionTypeJSONTransformer { return @"GENERATE_EVENTBRIDGE_EVENT"; case AWSConnectActionTypeSendNotification: return @"SEND_NOTIFICATION"; + case AWSConnectActionTypeCreateCase: + return @"CREATE_CASE"; + case AWSConnectActionTypeUpdateCase: + return @"UPDATE_CASE"; + case AWSConnectActionTypeEndAssociatedTasks: + return @"END_ASSOCIATED_TASKS"; default: return nil; } @@ -17949,6 +18655,14 @@ + (NSValueTransformer *)assignContactCategoryActionJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectAssignContactCategoryActionDefinition class]]; } ++ (NSValueTransformer *)createCaseActionJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectCreateCaseActionDefinition class]]; +} + ++ (NSValueTransformer *)endAssociatedTasksActionJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectEndAssociatedTasksActionDefinition class]]; +} + + (NSValueTransformer *)eventBridgeActionJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectEventBridgeActionDefinition class]]; } @@ -17961,6 +18675,10 @@ + (NSValueTransformer *)taskActionJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectTaskActionDefinition class]]; } ++ (NSValueTransformer *)updateCaseActionJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectUpdateCaseActionDefinition class]]; +} + @end @implementation AWSConnectRuleSummary @@ -18023,6 +18741,12 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { if ([value caseInsensitiveCompare:@"OnMetricDataUpdate"] == NSOrderedSame) { return @(AWSConnectEventSourceNameOnMetricDataUpdate); } + if ([value caseInsensitiveCompare:@"OnCaseCreate"] == NSOrderedSame) { + return @(AWSConnectEventSourceNameOnCaseCreate); + } + if ([value caseInsensitiveCompare:@"OnCaseUpdate"] == NSOrderedSame) { + return @(AWSConnectEventSourceNameOnCaseUpdate); + } return @(AWSConnectEventSourceNameUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -18044,6 +18768,10 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { return @"OnContactEvaluationSubmit"; case AWSConnectEventSourceNameOnMetricDataUpdate: return @"OnMetricDataUpdate"; + case AWSConnectEventSourceNameOnCaseCreate: + return @"OnCaseCreate"; + case AWSConnectEventSourceNameOnCaseUpdate: + return @"OnCaseUpdate"; default: return nil; } @@ -18123,6 +18851,12 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { if ([value caseInsensitiveCompare:@"OnMetricDataUpdate"] == NSOrderedSame) { return @(AWSConnectEventSourceNameOnMetricDataUpdate); } + if ([value caseInsensitiveCompare:@"OnCaseCreate"] == NSOrderedSame) { + return @(AWSConnectEventSourceNameOnCaseCreate); + } + if ([value caseInsensitiveCompare:@"OnCaseUpdate"] == NSOrderedSame) { + return @(AWSConnectEventSourceNameOnCaseUpdate); + } return @(AWSConnectEventSourceNameUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -18144,6 +18878,10 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { return @"OnContactEvaluationSubmit"; case AWSConnectEventSourceNameOnMetricDataUpdate: return @"OnMetricDataUpdate"; + case AWSConnectEventSourceNameOnCaseCreate: + return @"OnCaseCreate"; + case AWSConnectEventSourceNameOnCaseUpdate: + return @"OnCaseUpdate"; default: return nil; } @@ -19453,6 +20191,152 @@ + (NSValueTransformer *)availableNumbersListJSONTransformer { @end +@implementation AWSConnectSearchContactsRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + @"searchCriteria" : @"SearchCriteria", + @"sort" : @"Sort", + @"timeRange" : @"TimeRange", + }; +} + ++ (NSValueTransformer *)searchCriteriaJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectSearchCriteria class]]; +} + ++ (NSValueTransformer *)sortJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectSort class]]; +} + ++ (NSValueTransformer *)timeRangeJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectSearchContactsTimeRange class]]; +} + +@end + +@implementation AWSConnectSearchContactsResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"contacts" : @"Contacts", + @"nextToken" : @"NextToken", + @"totalCount" : @"TotalCount", + }; +} + ++ (NSValueTransformer *)contactsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectContactSearchSummary class]]; +} + +@end + +@implementation AWSConnectSearchContactsTimeRange + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"endTime" : @"EndTime", + @"startTime" : @"StartTime", + @"types" : @"Type", + }; +} + ++ (NSValueTransformer *)endTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)startTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)typesJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"INITIATION_TIMESTAMP"] == NSOrderedSame) { + return @(AWSConnectSearchContactsTimeRangeTypeInitiationTimestamp); + } + if ([value caseInsensitiveCompare:@"SCHEDULED_TIMESTAMP"] == NSOrderedSame) { + return @(AWSConnectSearchContactsTimeRangeTypeScheduledTimestamp); + } + if ([value caseInsensitiveCompare:@"CONNECTED_TO_AGENT_TIMESTAMP"] == NSOrderedSame) { + return @(AWSConnectSearchContactsTimeRangeTypeConnectedToAgentTimestamp); + } + if ([value caseInsensitiveCompare:@"DISCONNECT_TIMESTAMP"] == NSOrderedSame) { + return @(AWSConnectSearchContactsTimeRangeTypeDisconnectTimestamp); + } + return @(AWSConnectSearchContactsTimeRangeTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectSearchContactsTimeRangeTypeInitiationTimestamp: + return @"INITIATION_TIMESTAMP"; + case AWSConnectSearchContactsTimeRangeTypeScheduledTimestamp: + return @"SCHEDULED_TIMESTAMP"; + case AWSConnectSearchContactsTimeRangeTypeConnectedToAgentTimestamp: + return @"CONNECTED_TO_AGENT_TIMESTAMP"; + case AWSConnectSearchContactsTimeRangeTypeDisconnectTimestamp: + return @"DISCONNECT_TIMESTAMP"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSConnectSearchCriteria + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"agentHierarchyGroups" : @"AgentHierarchyGroups", + @"agentIds" : @"AgentIds", + @"channels" : @"Channels", + @"contactAnalysis" : @"ContactAnalysis", + @"initiationMethods" : @"InitiationMethods", + @"queueIds" : @"QueueIds", + @"searchableContactAttributes" : @"SearchableContactAttributes", + }; +} + ++ (NSValueTransformer *)agentHierarchyGroupsJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectAgentHierarchyGroups class]]; +} + ++ (NSValueTransformer *)contactAnalysisJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectContactAnalysis class]]; +} + ++ (NSValueTransformer *)searchableContactAttributesJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectSearchableContactAttributes class]]; +} + +@end + @implementation AWSConnectSearchHoursOfOperationsRequest + (BOOL)supportsSecureCoding { @@ -19499,6 +20383,47 @@ + (NSValueTransformer *)hoursOfOperationsJSONTransformer { @end +@implementation AWSConnectSearchPredefinedAttributesRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + @"searchCriteria" : @"SearchCriteria", + }; +} + ++ (NSValueTransformer *)searchCriteriaJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectPredefinedAttributeSearchCriteria class]]; +} + +@end + +@implementation AWSConnectSearchPredefinedAttributesResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"approximateTotalCount" : @"ApproximateTotalCount", + @"nextToken" : @"NextToken", + @"predefinedAttributes" : @"PredefinedAttributes", + }; +} + ++ (NSValueTransformer *)predefinedAttributesJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectPredefinedAttribute class]]; +} + +@end + @implementation AWSConnectSearchPromptsRequest + (BOOL)supportsSecureCoding { @@ -20011,7 +20936,7 @@ + (NSValueTransformer *)vocabularySummaryListJSONTransformer { @end -@implementation AWSConnectSecurityKey +@implementation AWSConnectSearchableContactAttributes + (BOOL)supportsSecureCoding { return YES; @@ -20019,13 +20944,68 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"associationId" : @"AssociationId", - @"creationTime" : @"CreationTime", - @"key" : @"Key", + @"criteria" : @"Criteria", + @"matchType" : @"MatchType", }; } -+ (NSValueTransformer *)creationTimeJSONTransformer { ++ (NSValueTransformer *)criteriaJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectSearchableContactAttributesCriteria class]]; +} + ++ (NSValueTransformer *)matchTypeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"MATCH_ALL"] == NSOrderedSame) { + return @(AWSConnectSearchContactsMatchTypeMatchAll); + } + if ([value caseInsensitiveCompare:@"MATCH_ANY"] == NSOrderedSame) { + return @(AWSConnectSearchContactsMatchTypeMatchAny); + } + return @(AWSConnectSearchContactsMatchTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectSearchContactsMatchTypeMatchAll: + return @"MATCH_ALL"; + case AWSConnectSearchContactsMatchTypeMatchAny: + return @"MATCH_ANY"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSConnectSearchableContactAttributesCriteria + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"key" : @"Key", + @"values" : @"Values", + }; +} + +@end + +@implementation AWSConnectSecurityKey + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"associationId" : @"AssociationId", + @"creationTime" : @"CreationTime", + @"key" : @"Key", + }; +} + ++ (NSValueTransformer *)creationTimeJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; } reverseBlock:^id(NSDate *date) { @@ -20336,6 +21316,83 @@ + (NSValueTransformer *)conditionJSONTransformer { @end +@implementation AWSConnectSort + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"fieldName" : @"FieldName", + @"order" : @"Order", + }; +} + ++ (NSValueTransformer *)fieldNameJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"INITIATION_TIMESTAMP"] == NSOrderedSame) { + return @(AWSConnectSortableFieldNameInitiationTimestamp); + } + if ([value caseInsensitiveCompare:@"SCHEDULED_TIMESTAMP"] == NSOrderedSame) { + return @(AWSConnectSortableFieldNameScheduledTimestamp); + } + if ([value caseInsensitiveCompare:@"CONNECTED_TO_AGENT_TIMESTAMP"] == NSOrderedSame) { + return @(AWSConnectSortableFieldNameConnectedToAgentTimestamp); + } + if ([value caseInsensitiveCompare:@"DISCONNECT_TIMESTAMP"] == NSOrderedSame) { + return @(AWSConnectSortableFieldNameDisconnectTimestamp); + } + if ([value caseInsensitiveCompare:@"INITIATION_METHOD"] == NSOrderedSame) { + return @(AWSConnectSortableFieldNameInitiationMethod); + } + if ([value caseInsensitiveCompare:@"CHANNEL"] == NSOrderedSame) { + return @(AWSConnectSortableFieldNameChannel); + } + return @(AWSConnectSortableFieldNameUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectSortableFieldNameInitiationTimestamp: + return @"INITIATION_TIMESTAMP"; + case AWSConnectSortableFieldNameScheduledTimestamp: + return @"SCHEDULED_TIMESTAMP"; + case AWSConnectSortableFieldNameConnectedToAgentTimestamp: + return @"CONNECTED_TO_AGENT_TIMESTAMP"; + case AWSConnectSortableFieldNameDisconnectTimestamp: + return @"DISCONNECT_TIMESTAMP"; + case AWSConnectSortableFieldNameInitiationMethod: + return @"INITIATION_METHOD"; + case AWSConnectSortableFieldNameChannel: + return @"CHANNEL"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)orderJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"ASCENDING"] == NSOrderedSame) { + return @(AWSConnectSortOrderAscending); + } + if ([value caseInsensitiveCompare:@"DESCENDING"] == NSOrderedSame) { + return @(AWSConnectSortOrderDescending); + } + return @(AWSConnectSortOrderUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectSortOrderAscending: + return @"ASCENDING"; + case AWSConnectSortOrderDescending: + return @"DESCENDING"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSConnectStartChatContactRequest + (BOOL)supportsSecureCoding { @@ -20506,9 +21563,13 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"campaignId" : @"CampaignId", @"clientToken" : @"ClientToken", @"contactFlowId" : @"ContactFlowId", + @"detail" : @"Description", @"destinationPhoneNumber" : @"DestinationPhoneNumber", @"instanceId" : @"InstanceId", + @"name" : @"Name", @"queueId" : @"QueueId", + @"references" : @"References", + @"relatedContactId" : @"RelatedContactId", @"sourcePhoneNumber" : @"SourcePhoneNumber", @"trafficType" : @"TrafficType", }; @@ -20518,6 +21579,14 @@ + (NSValueTransformer *)answerMachineDetectionConfigJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectAnswerMachineDetectionConfig class]]; } ++ (NSValueTransformer *)referencesJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(id JSONDictionary) { + return [AWSModelUtility mapMTLDictionaryFromJSONDictionary:JSONDictionary withModelClass:[AWSConnectReference class]]; + } reverseBlock:^id(id mapMTLDictionary) { + return [AWSModelUtility JSONDictionaryFromMapMTLDictionary:mapMTLDictionary]; + }]; +} + + (NSValueTransformer *)trafficTypeJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"GENERAL"] == NSOrderedSame) { @@ -20904,6 +21973,30 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectTagContactRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"contactId" : @"ContactId", + @"instanceId" : @"InstanceId", + @"tags" : @"Tags", + }; +} + +@end + +@implementation AWSConnectTagContactResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + @implementation AWSConnectTagResourceRequest + (BOOL)supportsSecureCoding { @@ -21456,6 +22549,114 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectTranscript + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"criteria" : @"Criteria", + @"matchType" : @"MatchType", + }; +} + ++ (NSValueTransformer *)criteriaJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectTranscriptCriteria class]]; +} + ++ (NSValueTransformer *)matchTypeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"MATCH_ALL"] == NSOrderedSame) { + return @(AWSConnectSearchContactsMatchTypeMatchAll); + } + if ([value caseInsensitiveCompare:@"MATCH_ANY"] == NSOrderedSame) { + return @(AWSConnectSearchContactsMatchTypeMatchAny); + } + return @(AWSConnectSearchContactsMatchTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectSearchContactsMatchTypeMatchAll: + return @"MATCH_ALL"; + case AWSConnectSearchContactsMatchTypeMatchAny: + return @"MATCH_ANY"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSConnectTranscriptCriteria + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"matchType" : @"MatchType", + @"participantRole" : @"ParticipantRole", + @"searchText" : @"SearchText", + }; +} + ++ (NSValueTransformer *)matchTypeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"MATCH_ALL"] == NSOrderedSame) { + return @(AWSConnectSearchContactsMatchTypeMatchAll); + } + if ([value caseInsensitiveCompare:@"MATCH_ANY"] == NSOrderedSame) { + return @(AWSConnectSearchContactsMatchTypeMatchAny); + } + return @(AWSConnectSearchContactsMatchTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectSearchContactsMatchTypeMatchAll: + return @"MATCH_ALL"; + case AWSConnectSearchContactsMatchTypeMatchAny: + return @"MATCH_ANY"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)participantRoleJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"AGENT"] == NSOrderedSame) { + return @(AWSConnectParticipantRoleAgent); + } + if ([value caseInsensitiveCompare:@"CUSTOMER"] == NSOrderedSame) { + return @(AWSConnectParticipantRoleCustomer); + } + if ([value caseInsensitiveCompare:@"SYSTEM"] == NSOrderedSame) { + return @(AWSConnectParticipantRoleSystem); + } + if ([value caseInsensitiveCompare:@"CUSTOM_BOT"] == NSOrderedSame) { + return @(AWSConnectParticipantRoleCustomBot); + } + return @(AWSConnectParticipantRoleUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectParticipantRoleAgent: + return @"AGENT"; + case AWSConnectParticipantRoleCustomer: + return @"CUSTOMER"; + case AWSConnectParticipantRoleSystem: + return @"SYSTEM"; + case AWSConnectParticipantRoleCustomBot: + return @"CUSTOM_BOT"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSConnectTransferContactRequest + (BOOL)supportsSecureCoding { @@ -21490,6 +22691,30 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectUntagContactRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"contactId" : @"ContactId", + @"instanceId" : @"InstanceId", + @"tagKeys" : @"TagKeys", + }; +} + +@end + +@implementation AWSConnectUntagContactResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + @implementation AWSConnectUntagResourceRequest + (BOOL)supportsSecureCoding { @@ -21546,6 +22771,24 @@ + (NSValueTransformer *)stateJSONTransformer { @end +@implementation AWSConnectUpdateCaseActionDefinition + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"fields" : @"Fields", + }; +} + ++ (NSValueTransformer *)fieldsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectFieldValue class]]; +} + +@end + @implementation AWSConnectUpdateContactAttributesRequest + (BOOL)supportsSecureCoding { @@ -21819,6 +23062,31 @@ + (BOOL)supportsSecureCoding { @end +@implementation AWSConnectUpdateContactRoutingDataRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"contactId" : @"ContactId", + @"instanceId" : @"InstanceId", + @"queuePriority" : @"QueuePriority", + @"queueTimeAdjustmentSeconds" : @"QueueTimeAdjustmentSeconds", + }; +} + +@end + +@implementation AWSConnectUpdateContactRoutingDataResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + @implementation AWSConnectUpdateContactScheduleRequest + (BOOL)supportsSecureCoding { @@ -22173,6 +23441,26 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectUpdatePredefinedAttributeRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"name" : @"Name", + @"values" : @"Values", + }; +} + ++ (NSValueTransformer *)valuesJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectPredefinedAttributeValues class]]; +} + +@end + @implementation AWSConnectUpdatePromptRequest + (BOOL)supportsSecureCoding { @@ -22784,6 +24072,26 @@ + (NSValueTransformer *)phoneConfigJSONTransformer { @end +@implementation AWSConnectUpdateUserProficienciesRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"userId" : @"UserId", + @"userProficiencies" : @"UserProficiencies", + }; +} + ++ (NSValueTransformer *)userProficienciesJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectUserProficiency class]]; +} + +@end + @implementation AWSConnectUpdateUserRoutingProfileRequest + (BOOL)supportsSecureCoding { @@ -23129,6 +24437,37 @@ + (NSValueTransformer *)phoneTypeJSONTransformer { @end +@implementation AWSConnectUserProficiency + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"attributeName" : @"AttributeName", + @"attributeValue" : @"AttributeValue", + @"level" : @"Level", + }; +} + +@end + +@implementation AWSConnectUserProficiencyDisassociate + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"attributeName" : @"AttributeName", + @"attributeValue" : @"AttributeValue", + }; +} + +@end + @implementation AWSConnectUserQuickConnectConfig + (BOOL)supportsSecureCoding { diff --git a/AWSConnect/AWSConnectResources.m b/AWSConnect/AWSConnectResources.m index ec16dd54d28..eb355fafca4 100644 --- a/AWSConnect/AWSConnectResources.m +++ b/AWSConnect/AWSConnectResources.m @@ -317,6 +317,22 @@ - (NSString *)definitionString { \"documentation\":\"

Associates an agent with a traffic distribution group.

\",\ \"idempotent\":true\ },\ + \"AssociateUserProficiencies\":{\ + \"name\":\"AssociateUserProficiencies\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/users/{InstanceId}/{UserId}/associate-proficiencies\"\ + },\ + \"input\":{\"shape\":\"AssociateUserProficienciesRequest\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"InternalServiceException\"}\ + ],\ + \"documentation\":\"

>Associates a set of proficiencies with a user.

\"\ + },\ \"BatchAssociateAnalyticsDataSet\":{\ \"name\":\"BatchAssociateAnalyticsDataSet\",\ \"http\":{\ @@ -574,6 +590,24 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Enables rehydration of chats for the lifespan of a contact. For more information about chat rehydration, see Enable persistent chat in the Amazon Connect Administrator Guide.

\"\ },\ + \"CreatePredefinedAttribute\":{\ + \"name\":\"CreatePredefinedAttribute\",\ + \"http\":{\ + \"method\":\"PUT\",\ + \"requestUri\":\"/predefined-attributes/{InstanceId}\"\ + },\ + \"input\":{\"shape\":\"CreatePredefinedAttributeRequest\"},\ + \"errors\":[\ + {\"shape\":\"DuplicateResourceException\"},\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"LimitExceededException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"InternalServiceException\"}\ + ],\ + \"documentation\":\"

Creates a new predefined attribute for the specified Amazon Connect instance.

\"\ + },\ \"CreatePrompt\":{\ \"name\":\"CreatePrompt\",\ \"http\":{\ @@ -974,6 +1008,24 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Deletes an Amazon Web Services resource association from an Amazon Connect instance. The association must not have any use cases associated with it.

\"\ },\ + \"DeletePredefinedAttribute\":{\ + \"name\":\"DeletePredefinedAttribute\",\ + \"http\":{\ + \"method\":\"DELETE\",\ + \"requestUri\":\"/predefined-attributes/{InstanceId}/{Name}\"\ + },\ + \"input\":{\"shape\":\"DeletePredefinedAttributeRequest\"},\ + \"errors\":[\ + {\"shape\":\"ResourceInUseException\"},\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"InternalServiceException\"}\ + ],\ + \"documentation\":\"

Deletes a predefined attribute from the specified Amazon Connect instance.

\",\ + \"idempotent\":true\ + },\ \"DeletePrompt\":{\ \"name\":\"DeletePrompt\",\ \"http\":{\ @@ -1397,6 +1449,23 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Gets details and status of a phone number that’s claimed to your Amazon Connect instance or traffic distribution group.

If the number is claimed to a traffic distribution group, and you are calling in the Amazon Web Services Region where the traffic distribution group was created, you can use either a phone number ARN or UUID value for the PhoneNumberId URI request parameter. However, if the number is claimed to a traffic distribution group and you are calling this API in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.

\"\ },\ + \"DescribePredefinedAttribute\":{\ + \"name\":\"DescribePredefinedAttribute\",\ + \"http\":{\ + \"method\":\"GET\",\ + \"requestUri\":\"/predefined-attributes/{InstanceId}/{Name}\"\ + },\ + \"input\":{\"shape\":\"DescribePredefinedAttributeRequest\"},\ + \"output\":{\"shape\":\"DescribePredefinedAttributeResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"InternalServiceException\"}\ + ],\ + \"documentation\":\"

Describes a predefined attribute for the specified Amazon Connect instance.

\"\ + },\ \"DescribePrompt\":{\ \"name\":\"DescribePrompt\",\ \"http\":{\ @@ -1798,6 +1867,22 @@ - (NSString *)definitionString { \"documentation\":\"

Disassociates an agent from a traffic distribution group.

\",\ \"idempotent\":true\ },\ + \"DisassociateUserProficiencies\":{\ + \"name\":\"DisassociateUserProficiencies\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/users/{InstanceId}/{UserId}/disassociate-proficiencies\"\ + },\ + \"input\":{\"shape\":\"DisassociateUserProficienciesRequest\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"InternalServiceException\"}\ + ],\ + \"documentation\":\"

Disassociates a set of proficiencies from a user.

\"\ + },\ \"DismissUserContact\":{\ \"name\":\"DismissUserContact\",\ \"http\":{\ @@ -2354,6 +2439,23 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with traffic distribution group.

For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.

  • When given an instance ARN, ListPhoneNumbersV2 returns only the phone numbers claimed to the instance.

  • When given a traffic distribution group ARN ListPhoneNumbersV2 returns only the phone numbers claimed to the traffic distribution group.

\"\ },\ + \"ListPredefinedAttributes\":{\ + \"name\":\"ListPredefinedAttributes\",\ + \"http\":{\ + \"method\":\"GET\",\ + \"requestUri\":\"/predefined-attributes/{InstanceId}\"\ + },\ + \"input\":{\"shape\":\"ListPredefinedAttributesRequest\"},\ + \"output\":{\"shape\":\"ListPredefinedAttributesResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"InternalServiceException\"}\ + ],\ + \"documentation\":\"

Lists predefined attributes for the specified Amazon Connect instance.

\"\ + },\ \"ListPrompts\":{\ \"name\":\"ListPrompts\",\ \"http\":{\ @@ -2659,6 +2761,23 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Provides summary information about the hierarchy groups for the specified Amazon Connect instance.

For more information about agent hierarchies, see Set Up Agent Hierarchies in the Amazon Connect Administrator Guide.

\"\ },\ + \"ListUserProficiencies\":{\ + \"name\":\"ListUserProficiencies\",\ + \"http\":{\ + \"method\":\"GET\",\ + \"requestUri\":\"/users/{InstanceId}/{UserId}/proficiencies\"\ + },\ + \"input\":{\"shape\":\"ListUserProficienciesRequest\"},\ + \"output\":{\"shape\":\"ListUserProficienciesResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"InternalServiceException\"}\ + ],\ + \"documentation\":\"

Lists proficiencies associated with a user.

\"\ + },\ \"ListUsers\":{\ \"name\":\"ListUsers\",\ \"http\":{\ @@ -2731,6 +2850,26 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId will be set to silent monitoring mode on the contact.

\"\ },\ + \"PauseContact\":{\ + \"name\":\"PauseContact\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/contact/pause\"\ + },\ + \"input\":{\"shape\":\"PauseContactRequest\"},\ + \"output\":{\"shape\":\"PauseContactResponse\"},\ + \"errors\":[\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"LimitExceededException\"},\ + {\"shape\":\"ConflictException\"}\ + ],\ + \"documentation\":\"

Allows pausing an ongoing task contact.

\"\ + },\ \"PutUserStatus\":{\ \"name\":\"PutUserStatus\",\ \"http\":{\ @@ -2787,6 +2926,25 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Replicates an Amazon Connect instance in the specified Amazon Web Services Region and copies configuration information for Amazon Connect resources across Amazon Web Services Regions.

For more information about replicating an Amazon Connect instance, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.

\"\ },\ + \"ResumeContact\":{\ + \"name\":\"ResumeContact\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/contact/resume\"\ + },\ + \"input\":{\"shape\":\"ResumeContactRequest\"},\ + \"output\":{\"shape\":\"ResumeContactResponse\"},\ + \"errors\":[\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"ConflictException\"}\ + ],\ + \"documentation\":\"

Allows resuming a task contact in a paused state.

\"\ + },\ \"ResumeContactRecording\":{\ \"name\":\"ResumeContactRecording\",\ \"http\":{\ @@ -2818,6 +2976,23 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with the traffic distribution group.

\"\ },\ + \"SearchContacts\":{\ + \"name\":\"SearchContacts\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/search-contacts\"\ + },\ + \"input\":{\"shape\":\"SearchContactsRequest\"},\ + \"output\":{\"shape\":\"SearchContactsResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"ThrottlingException\"}\ + ],\ + \"documentation\":\"

Searches contacts in an Amazon Connect instance.

\"\ + },\ \"SearchHoursOfOperations\":{\ \"name\":\"SearchHoursOfOperations\",\ \"http\":{\ @@ -2835,6 +3010,23 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Searches the hours of operation in an Amazon Connect instance, with optional filtering.

\"\ },\ + \"SearchPredefinedAttributes\":{\ + \"name\":\"SearchPredefinedAttributes\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/search-predefined-attributes\"\ + },\ + \"input\":{\"shape\":\"SearchPredefinedAttributesRequest\"},\ + \"output\":{\"shape\":\"SearchPredefinedAttributesResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"InternalServiceException\"}\ + ],\ + \"documentation\":\"

Predefined attributes that meet certain criteria.

\"\ + },\ \"SearchPrompts\":{\ \"name\":\"SearchPrompts\",\ \"http\":{\ @@ -3191,6 +3383,24 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

When a contact is being recorded, this API suspends recording whatever is selected in the flow configuration: call, screen, or both. If only call recording or only screen recording is enabled, then it would be suspended. For example, you might suspend the screen recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording the screen.

The period of time that the recording is suspended is filled with silence in the final recording.

Voice and screen recordings are supported.

\"\ },\ + \"TagContact\":{\ + \"name\":\"TagContact\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/contact/tags\"\ + },\ + \"input\":{\"shape\":\"TagContactRequest\"},\ + \"output\":{\"shape\":\"TagContactResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ThrottlingException\"}\ + ],\ + \"documentation\":\"

Adds the specified tags to the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage.

\",\ + \"idempotent\":true\ + },\ \"TagResource\":{\ \"name\":\"TagResource\",\ \"http\":{\ @@ -3226,6 +3436,24 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Transfers contacts from one agent or queue to another agent or queue at any point after a contact is created. You can transfer a contact to another queue by providing the flow which orchestrates the contact to the destination queue. This gives you more control over contact handling and helps you adhere to the service level agreement (SLA) guaranteed to your customers.

Note the following requirements:

  • Transfer is supported for only TASK contacts.

  • Do not use both QueueId and UserId in the same call.

  • The following flow types are supported: Inbound flow, Transfer to agent flow, and Transfer to queue flow.

  • The TransferContact API can be called only on active contacts.

  • A contact cannot be transferred more than 11 times.

\"\ },\ + \"UntagContact\":{\ + \"name\":\"UntagContact\",\ + \"http\":{\ + \"method\":\"DELETE\",\ + \"requestUri\":\"/contact/tags/{InstanceId}/{ContactId}\"\ + },\ + \"input\":{\"shape\":\"UntagContactRequest\"},\ + \"output\":{\"shape\":\"UntagContactResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ThrottlingException\"}\ + ],\ + \"documentation\":\"

Removes the specified tags from the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage.

\",\ + \"idempotent\":true\ + },\ \"UntagResource\":{\ \"name\":\"UntagResource\",\ \"http\":{\ @@ -3401,6 +3629,24 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

The name of the flow.

You can also create and update flows using the Amazon Connect Flow language.

\"\ },\ + \"UpdateContactRoutingData\":{\ + \"name\":\"UpdateContactRoutingData\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/contacts/{InstanceId}/{ContactId}/routing-data\"\ + },\ + \"input\":{\"shape\":\"UpdateContactRoutingDataRequest\"},\ + \"output\":{\"shape\":\"UpdateContactRoutingDataResponse\"},\ + \"errors\":[\ + {\"shape\":\"ResourceConflictException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"AccessDeniedException\"}\ + ],\ + \"documentation\":\"

This API is in preview release for Amazon Connect and is subject to change.

Updates routing priority and age on the contact (QueuePriority and QueueTimeAdjustmentInSeconds). These properties can be used to change a customer's position in the queue. For example, you can move a contact to the back of the queue by setting a lower routing priority relative to other contacts in queue; or you can move a contact to the front of the queue by increasing the routing age which will make the contact look artificially older and therefore higher up in the first-in-first-out routing order. Note that adjusting the routing age of a contact affects only its position in queue, and not its actual queue wait time as reported through metrics. These properties can also be updated by using the Set routing priority / age flow block.

\"\ + },\ \"UpdateContactSchedule\":{\ \"name\":\"UpdateContactSchedule\",\ \"http\":{\ @@ -3543,6 +3789,22 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Updates a phone number’s metadata.

To verify the status of a previous UpdatePhoneNumberMetadata operation, call the DescribePhoneNumber API.

\"\ },\ + \"UpdatePredefinedAttribute\":{\ + \"name\":\"UpdatePredefinedAttribute\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/predefined-attributes/{InstanceId}/{Name}\"\ + },\ + \"input\":{\"shape\":\"UpdatePredefinedAttributeRequest\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"InternalServiceException\"}\ + ],\ + \"documentation\":\"

Updates a predefined attribute for the specified Amazon Connect instance.

\"\ + },\ \"UpdatePrompt\":{\ \"name\":\"UpdatePrompt\",\ \"http\":{\ @@ -3905,6 +4167,22 @@ - (NSString *)definitionString { ],\ \"documentation\":\"

Updates the phone configuration settings for the specified user.

\"\ },\ + \"UpdateUserProficiencies\":{\ + \"name\":\"UpdateUserProficiencies\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/users/{InstanceId}/{UserId}/proficiencies\"\ + },\ + \"input\":{\"shape\":\"UpdateUserProficienciesRequest\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"InternalServiceException\"}\ + ],\ + \"documentation\":\"

Updates the properties associated with the proficiencies of a user.

\"\ + },\ \"UpdateUserRoutingProfile\":{\ \"name\":\"UpdateUserRoutingProfile\",\ \"http\":{\ @@ -4010,7 +4288,10 @@ - (NSString *)definitionString { \"CREATE_TASK\",\ \"ASSIGN_CONTACT_CATEGORY\",\ \"GENERATE_EVENTBRIDGE_EVENT\",\ - \"SEND_NOTIFICATION\"\ + \"SEND_NOTIFICATION\",\ + \"CREATE_CASE\",\ + \"UPDATE_CASE\",\ + \"END_ASSOCIATED_TASKS\"\ ]\ },\ \"ActivateEvaluationFormRequest\":{\ @@ -4123,6 +4404,32 @@ - (NSString *)definitionString { \"max\":100,\ \"min\":1\ },\ + \"AgentHierarchyGroups\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"L1Ids\":{\ + \"shape\":\"HierarchyGroupIdList\",\ + \"documentation\":\"

The identifiers for level 1 hierarchy groups.

\"\ + },\ + \"L2Ids\":{\ + \"shape\":\"HierarchyGroupIdList\",\ + \"documentation\":\"

The identifiers for level 2 hierarchy groups.

\"\ + },\ + \"L3Ids\":{\ + \"shape\":\"HierarchyGroupIdList\",\ + \"documentation\":\"

The identifiers for level 3 hierarchy groups.

\"\ + },\ + \"L4Ids\":{\ + \"shape\":\"HierarchyGroupIdList\",\ + \"documentation\":\"

The identifiers for level 4 hierarchy groups.

\"\ + },\ + \"L5Ids\":{\ + \"shape\":\"HierarchyGroupIdList\",\ + \"documentation\":\"

The identifiers for level 5 hierarchy groups.

\"\ + }\ + },\ + \"documentation\":\"

A structure that defines agent hierarchy group levels which can be used to filter search results. Important: Agent hierarchy group level information in search result is a snapshot, it does not represent current agent hierarchy who handled the contact.

\"\ + },\ \"AgentInfo\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -4133,6 +4440,10 @@ - (NSString *)definitionString { \"ConnectedToAgentTimestamp\":{\ \"shape\":\"timestamp\",\ \"documentation\":\"

The timestamp when the contact was connected to the agent.

\"\ + },\ + \"AgentPauseDurationInSeconds\":{\ + \"shape\":\"AgentPauseDurationInSeconds\",\ + \"documentation\":\"

Agent pause duration for a contact in seconds.

\"\ }\ },\ \"documentation\":\"

Information about the agent who accepted the contact.

\"\ @@ -4142,11 +4453,21 @@ - (NSString *)definitionString { \"max\":100,\ \"min\":1\ },\ + \"AgentPauseDurationInSeconds\":{\ + \"type\":\"integer\",\ + \"min\":0\ + },\ \"AgentResourceId\":{\ \"type\":\"string\",\ \"max\":256,\ \"min\":1\ },\ + \"AgentResourceIdList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"AgentResourceId\"},\ + \"max\":100,\ + \"min\":0\ + },\ \"AgentStatus\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -4180,7 +4501,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"LastModifiedTime\":{\ \"shape\":\"Timestamp\",\ @@ -4755,6 +5076,32 @@ - (NSString *)definitionString { \"members\":{\ }\ },\ + \"AssociateUserProficienciesRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"UserId\",\ + \"UserProficiencies\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN of the instance).

\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"UserId\":{\ + \"shape\":\"UserId\",\ + \"documentation\":\"

The identifier of the user account.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"UserId\"\ + },\ + \"UserProficiencies\":{\ + \"shape\":\"UserProficiencyList\",\ + \"documentation\":\"

The proficiencies to associate with the user.

\"\ + }\ + }\ + },\ \"AssociationId\":{\ \"type\":\"string\",\ \"max\":100,\ @@ -5052,6 +5399,10 @@ - (NSString *)definitionString { \"TASK\"\ ]\ },\ + \"ChannelList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"Channel\"}\ + },\ \"ChannelToCountMap\":{\ \"type\":\"map\",\ \"key\":{\"shape\":\"Channel\"},\ @@ -5171,7 +5522,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"ClientToken\":{\ \"shape\":\"ClientToken\",\ @@ -5230,7 +5581,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"PhoneNumberStatus\":{\ \"shape\":\"PhoneNumberStatus\",\ @@ -5261,6 +5612,15 @@ - (NSString *)definitionString { \"max\":10,\ \"min\":1\ },\ + \"ConflictException\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Message\":{\"shape\":\"Message\"}\ + },\ + \"documentation\":\"

Operation cannot be performed at this time as there is a conflict with another operation or contact state.

\",\ + \"error\":{\"httpStatusCode\":409},\ + \"exception\":true\ + },\ \"ConnectionData\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -5330,6 +5690,22 @@ - (NSString *)definitionString { \"shape\":\"timestamp\",\ \"documentation\":\"

The timestamp when contact was last updated.

\"\ },\ + \"LastPausedTimestamp\":{\ + \"shape\":\"timestamp\",\ + \"documentation\":\"

The timestamp when the contact was last paused.

\"\ + },\ + \"LastResumedTimestamp\":{\ + \"shape\":\"timestamp\",\ + \"documentation\":\"

The timestamp when the contact was last resumed.

\"\ + },\ + \"TotalPauseCount\":{\ + \"shape\":\"TotalPauseCount\",\ + \"documentation\":\"

Total pause count for a contact.

\"\ + },\ + \"TotalPauseDurationInSeconds\":{\ + \"shape\":\"TotalPauseDurationInSeconds\",\ + \"documentation\":\"

Total pause duration for a contact in seconds.

\"\ + },\ \"ScheduledTimestamp\":{\ \"shape\":\"timestamp\",\ \"documentation\":\"

The timestamp, in Unix epoch time format, at which to start running the inbound flow.

\"\ @@ -5341,10 +5717,32 @@ - (NSString *)definitionString { \"WisdomInfo\":{\ \"shape\":\"WisdomInfo\",\ \"documentation\":\"

Information about Amazon Connect Wisdom.

\"\ + },\ + \"QueueTimeAdjustmentSeconds\":{\ + \"shape\":\"QueueTimeAdjustmentSeconds\",\ + \"documentation\":\"

An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger queue time are routed preferentially). Cannot be specified if the QueuePriority is specified. Must be statically defined and a valid integer value.

\"\ + },\ + \"QueuePriority\":{\ + \"shape\":\"QueuePriority\",\ + \"documentation\":\"

An integer that represents the queue priority to be applied to the contact (lower priorities are routed preferentially). Cannot be specified if the QueueTimeAdjustmentSeconds is specified. Must be statically defined, must be larger than zero, and a valid integer value. Default Value is 5.

\"\ + },\ + \"Tags\":{\ + \"shape\":\"ContactTagMap\",\ + \"documentation\":\"

Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.

\"\ }\ },\ \"documentation\":\"

Contains information about a contact.

\"\ },\ + \"ContactAnalysis\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Transcript\":{\ + \"shape\":\"Transcript\",\ + \"documentation\":\"

A structure that defines filters can be used to search with text within an Amazon Connect Contact Lens analyzed transcript.

\"\ + }\ + },\ + \"documentation\":\"

A structure that defines filters can be used to search within outputs analyzed by Amazon Connect Contact Lens in a contact.

\"\ + },\ \"ContactDataRequest\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -5424,7 +5822,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ },\ \"documentation\":\"

Contains information about a flow.

\"\ @@ -5468,7 +5866,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ },\ \"documentation\":\"

Contains information about a flow module.

\"\ @@ -5640,15 +6038,93 @@ - (NSString *)definitionString { \"key\":{\"shape\":\"ReferenceKey\"},\ \"value\":{\"shape\":\"Reference\"}\ },\ - \"ContactState\":{\ - \"type\":\"string\",\ - \"enum\":[\ - \"INCOMING\",\ - \"PENDING\",\ - \"CONNECTING\",\ - \"CONNECTED\",\ - \"CONNECTED_ONHOLD\",\ - \"MISSED\",\ + \"ContactSearchSummary\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Arn\":{\ + \"shape\":\"ARN\",\ + \"documentation\":\"

The Amazon Resource Name (ARN) of the contact

\"\ + },\ + \"Id\":{\ + \"shape\":\"ContactId\",\ + \"documentation\":\"

The identifier of the contact summary.

\"\ + },\ + \"InitialContactId\":{\ + \"shape\":\"ContactId\",\ + \"documentation\":\"

If this contact is related to other contacts, this is the ID of the initial contact.

\"\ + },\ + \"PreviousContactId\":{\ + \"shape\":\"ContactId\",\ + \"documentation\":\"

If this contact is not the first contact, this is the ID of the previous contact.

\"\ + },\ + \"InitiationMethod\":{\ + \"shape\":\"ContactInitiationMethod\",\ + \"documentation\":\"

Indicates how the contact was initiated.

\"\ + },\ + \"Channel\":{\ + \"shape\":\"Channel\",\ + \"documentation\":\"

How the contact reached your contact center.

\"\ + },\ + \"QueueInfo\":{\ + \"shape\":\"ContactSearchSummaryQueueInfo\",\ + \"documentation\":\"

If this contact was queued, this contains information about the queue.

\"\ + },\ + \"AgentInfo\":{\ + \"shape\":\"ContactSearchSummaryAgentInfo\",\ + \"documentation\":\"

Information about the agent who accepted the contact.

\"\ + },\ + \"InitiationTimestamp\":{\ + \"shape\":\"timestamp\",\ + \"documentation\":\"

The date and time this contact was initiated, in UTC time. For INBOUND, this is when the contact arrived. For OUTBOUND, this is when the agent began dialing. For CALLBACK, this is when the callback contact was created. For TRANSFER and QUEUE_TRANSFER, this is when the transfer was initiated. For API, this is when the request arrived. For EXTERNAL_OUTBOUND, this is when the agent started dialing the external participant. For MONITOR, this is when the supervisor started listening to a contact.

\"\ + },\ + \"DisconnectTimestamp\":{\ + \"shape\":\"timestamp\",\ + \"documentation\":\"

The timestamp when the customer endpoint disconnected from Amazon Connect.

\"\ + },\ + \"ScheduledTimestamp\":{\ + \"shape\":\"timestamp\",\ + \"documentation\":\"

The timestamp, in Unix epoch time format, at which to start running the inbound flow.

\"\ + }\ + },\ + \"documentation\":\"

Information of returned contact.

\"\ + },\ + \"ContactSearchSummaryAgentInfo\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Id\":{\ + \"shape\":\"AgentResourceId\",\ + \"documentation\":\"

The identifier of the agent who accepted the contact.

\"\ + },\ + \"ConnectedToAgentTimestamp\":{\ + \"shape\":\"timestamp\",\ + \"documentation\":\"

The timestamp when the contact was connected to the agent.

\"\ + }\ + },\ + \"documentation\":\"

Information about the agent who accepted the contact.

\"\ + },\ + \"ContactSearchSummaryQueueInfo\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Id\":{\ + \"shape\":\"QueueId\",\ + \"documentation\":\"

The unique identifier for the queue.

\"\ + },\ + \"EnqueueTimestamp\":{\ + \"shape\":\"timestamp\",\ + \"documentation\":\"

The timestamp when the contact was added to the queue.

\"\ + }\ + },\ + \"documentation\":\"

If this contact was queued, this contains information about the queue.

\"\ + },\ + \"ContactState\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"INCOMING\",\ + \"PENDING\",\ + \"CONNECTING\",\ + \"CONNECTED\",\ + \"CONNECTED_ONHOLD\",\ + \"MISSED\",\ \"ERROR\",\ \"ENDED\",\ \"REJECTED\"\ @@ -5659,6 +6135,33 @@ - (NSString *)definitionString { \"member\":{\"shape\":\"ContactState\"},\ \"max\":9\ },\ + \"ContactTagKey\":{\ + \"type\":\"string\",\ + \"max\":128,\ + \"min\":1,\ + \"pattern\":\"^(?!aws:)[a-zA-Z+-=._:/]+$\"\ + },\ + \"ContactTagKeys\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"ContactTagKey\"},\ + \"max\":6,\ + \"min\":1\ + },\ + \"ContactTagMap\":{\ + \"type\":\"map\",\ + \"key\":{\"shape\":\"ContactTagKey\"},\ + \"value\":{\"shape\":\"ContactTagValue\"},\ + \"max\":6,\ + \"min\":1\ + },\ + \"ContactTagValue\":{\ + \"type\":\"string\",\ + \"max\":256\ + },\ + \"Contacts\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"ContactSearchSummary\"}\ + },\ \"Content\":{\ \"type\":\"string\",\ \"max\":1024,\ @@ -5720,7 +6223,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -5737,6 +6240,24 @@ - (NSString *)definitionString { }\ }\ },\ + \"CreateCaseActionDefinition\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"Fields\",\ + \"TemplateId\"\ + ],\ + \"members\":{\ + \"Fields\":{\ + \"shape\":\"FieldValues\",\ + \"documentation\":\"

An array of objects with Field ID and Value data.

\"\ + },\ + \"TemplateId\":{\ + \"shape\":\"TemplateId\",\ + \"documentation\":\"

A unique identifier of a template.

\"\ + }\ + },\ + \"documentation\":\"

The CreateCase action definition.

\"\ + },\ \"CreateContactFlowModuleRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -5765,7 +6286,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"ClientToken\":{\ \"shape\":\"ClientToken\",\ @@ -5820,7 +6341,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -5924,7 +6445,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -6028,7 +6549,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -6129,6 +6650,30 @@ - (NSString *)definitionString { }\ }\ },\ + \"CreatePredefinedAttributeRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"Name\",\ + \"Values\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"Name\":{\ + \"shape\":\"PredefinedAttributeName\",\ + \"documentation\":\"

The name of the predefined attribute.

\"\ + },\ + \"Values\":{\ + \"shape\":\"PredefinedAttributeValues\",\ + \"documentation\":\"

The values of the predefined attribute.

\"\ + }\ + }\ + },\ \"CreatePromptRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -6157,7 +6702,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -6215,7 +6760,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -6260,7 +6805,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -6315,7 +6860,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"AgentAvailabilityTimer\":{\ \"shape\":\"AgentAvailabilityTimer\",\ @@ -6430,7 +6975,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"AllowedAccessControlTags\":{\ \"shape\":\"AllowedAccessControlTags\",\ @@ -6551,7 +7096,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -6594,7 +7139,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -6634,7 +7179,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -6701,7 +7246,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -6840,7 +7385,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -7253,6 +7798,27 @@ - (NSString *)definitionString { }\ }\ },\ + \"DeletePredefinedAttributeRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"Name\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"Name\":{\ + \"shape\":\"PredefinedAttributeName\",\ + \"documentation\":\"

The name of the predefined attribute.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"Name\"\ + }\ + }\ + },\ \"DeletePromptRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -7929,6 +8495,36 @@ - (NSString *)definitionString { }\ }\ },\ + \"DescribePredefinedAttributeRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"Name\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"Name\":{\ + \"shape\":\"PredefinedAttributeName\",\ + \"documentation\":\"

The name of the predefined attribute.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"Name\"\ + }\ + }\ + },\ + \"DescribePredefinedAttributeResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"PredefinedAttribute\":{\ + \"shape\":\"PredefinedAttribute\",\ + \"documentation\":\"

Information about the predefined attribute.

\"\ + }\ + }\ + },\ \"DescribePromptRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -8312,7 +8908,11 @@ - (NSString *)definitionString { \"shape\":\"Channel\",\ \"documentation\":\"

The channel used for grouping and filters.

\"\ },\ - \"RoutingProfile\":{\"shape\":\"RoutingProfileReference\"}\ + \"RoutingProfile\":{\"shape\":\"RoutingProfileReference\"},\ + \"RoutingStepExpression\":{\ + \"shape\":\"RoutingExpression\",\ + \"documentation\":\"

The expression of a step in a routing criteria.

\"\ + }\ },\ \"documentation\":\"

Contains information about the dimensions for a set of metrics.

\"\ },\ @@ -8643,6 +9243,32 @@ - (NSString *)definitionString { \"members\":{\ }\ },\ + \"DisassociateUserProficienciesRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"UserId\",\ + \"UserProficiencies\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"UserId\":{\ + \"shape\":\"UserId\",\ + \"documentation\":\"

The identifier of the user account.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"UserId\"\ + },\ + \"UserProficiencies\":{\ + \"shape\":\"UserProficiencyDisassociateList\",\ + \"documentation\":\"

The proficiencies to disassociate from the user.

\"\ + }\ + }\ + },\ \"DisconnectReason\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -8712,6 +9338,7 @@ - (NSString *)definitionString { \"type\":\"list\",\ \"member\":{\"shape\":\"Distribution\"}\ },\ + \"Double\":{\"type\":\"double\"},\ \"DuplicateResourceException\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -8736,6 +9363,12 @@ - (NSString *)definitionString { },\ \"documentation\":\"

Information about a reference when the referenceType is EMAIL. Otherwise, null.

\"\ },\ + \"EmptyFieldValue\":{\ + \"type\":\"structure\",\ + \"members\":{\ + },\ + \"documentation\":\"

An empty value.

\"\ + },\ \"EncryptionConfig\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -8758,6 +9391,12 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\"KMS\"]\ },\ + \"EndAssociatedTasksActionDefinition\":{\ + \"type\":\"structure\",\ + \"members\":{\ + },\ + \"documentation\":\"

End associated tasks related to a case.

\"\ + },\ \"Endpoint\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -8854,7 +9493,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ },\ \"documentation\":\"

Information about a contact evaluation.

\"\ @@ -8990,7 +9629,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ },\ \"documentation\":\"

Information about the evaluation form.

\"\ @@ -9677,7 +10316,9 @@ - (NSString *)definitionString { \"OnZendeskTicketStatusUpdate\",\ \"OnSalesforceCaseCreate\",\ \"OnContactEvaluationSubmit\",\ - \"OnMetricDataUpdate\"\ + \"OnMetricDataUpdate\",\ + \"OnCaseCreate\",\ + \"OnCaseUpdate\"\ ]\ },\ \"FailedRequest\":{\ @@ -9717,6 +10358,60 @@ - (NSString *)definitionString { \"INTERNAL_ERROR\"\ ]\ },\ + \"FieldStringValue\":{\ + \"type\":\"string\",\ + \"max\":500,\ + \"min\":0\ + },\ + \"FieldValue\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"Id\",\ + \"Value\"\ + ],\ + \"members\":{\ + \"Id\":{\ + \"shape\":\"FieldValueId\",\ + \"documentation\":\"

Unique identifier of a field.

\"\ + },\ + \"Value\":{\ + \"shape\":\"FieldValueUnion\",\ + \"documentation\":\"

Union of potential field value types.

\"\ + }\ + },\ + \"documentation\":\"

Object for case field values.

\"\ + },\ + \"FieldValueId\":{\ + \"type\":\"string\",\ + \"max\":500,\ + \"min\":1\ + },\ + \"FieldValueUnion\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"BooleanValue\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"

A Boolean number value type.

\"\ + },\ + \"DoubleValue\":{\ + \"shape\":\"Double\",\ + \"documentation\":\"

a Double number value type.

\"\ + },\ + \"EmptyValue\":{\ + \"shape\":\"EmptyFieldValue\",\ + \"documentation\":\"

An empty value.

\"\ + },\ + \"StringValue\":{\ + \"shape\":\"FieldStringValue\",\ + \"documentation\":\"

String value type.

\"\ + }\ + },\ + \"documentation\":\"

Object to store union of Field values.

\"\ + },\ + \"FieldValues\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"FieldValue\"}\ + },\ \"FilterV2\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -9751,6 +10446,10 @@ - (NSString *)definitionString { \"RoutingProfiles\":{\ \"shape\":\"RoutingProfiles\",\ \"documentation\":\"

A list of up to 100 routing profile IDs or ARNs.

\"\ + },\ + \"RoutingStepExpressions\":{\ + \"shape\":\"RoutingExpressions\",\ + \"documentation\":\"

A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.

\"\ }\ },\ \"documentation\":\"

Contains the filter to apply when retrieving metrics.

\"\ @@ -10107,7 +10806,7 @@ - (NSString *)definitionString { },\ \"Metrics\":{\ \"shape\":\"MetricsV2\",\ - \"documentation\":\"

The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's Guide.

ABANDONMENT_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AGENT_ADHERENT_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_ANSWER_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_ADHERENT_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

AGENT_OCCUPANCY

Unit: Percentage

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULE_ADHERENCE

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULED_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

AVG_CONTACT_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_CONVERSATION_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_GREETING_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME_ALL_CONTACTS

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HOLDS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERACTION_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERRUPTIONS_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERRUPTION_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_RESOLUTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ABANDONED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_CREATED

Unit: Count

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED

Unit: Count

Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HOLD_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ON_HOLD_AGENT_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_PUT_ON_HOLD

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_EXTERNAL

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_INTERNAL

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_RESOLVED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \\\"Less than\\\").

CONTACTS_TRANSFERRED_OUT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

MAX_QUEUED_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SERVICE_LEVEL

You can include up to 20 SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \\\"Less than\\\").

SUM_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONNECTING_TIME_AGENT

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

SUM_CONTACT_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACT_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \\\"Less than\\\").

SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \\\"Less than\\\").

SUM_CONTACTS_DISCONNECTED

Valid metric filter key: DISCONNECT_REASON

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SUM_ERROR_STATUS_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HOLD_TIME

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_IDLE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_NON_PRODUCTIVE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_ONLINE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

\"\ + \"documentation\":\"

The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's Guide.

ABANDONMENT_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AGENT_ADHERENT_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_ANSWER_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_ADHERENT_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

AGENT_OCCUPANCY

Unit: Percentage

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULE_ADHERENCE

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULED_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_ACTIVE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

AVG_AGENT_PAUSE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_CONTACT_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_CONVERSATION_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_GREETING_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME_ALL_CONTACTS

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HOLDS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERACTION_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERRUPTIONS_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERRUPTION_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_RESOLUTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ABANDONED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_CREATED

Unit: Count

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED

Unit: Count

Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HOLD_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ON_HOLD_AGENT_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_PUT_ON_HOLD

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_EXTERNAL

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_INTERNAL

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_RESOLVED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \\\"Less than\\\").

CONTACTS_TRANSFERRED_OUT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

MAX_QUEUED_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SERVICE_LEVEL

You can include up to 20 SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \\\"Less than\\\").

SUM_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONNECTING_TIME_AGENT

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

SUM_CONTACT_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACT_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \\\"Less than\\\").

SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \\\"Less than\\\").

SUM_CONTACTS_DISCONNECTED

Valid metric filter key: DISCONNECT_REASON

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SUM_ERROR_STATUS_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HOLD_TIME

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_IDLE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_NON_PRODUCTIVE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_ONLINE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

\"\ },\ \"NextToken\":{\ \"shape\":\"NextToken2500\",\ @@ -10256,7 +10955,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -10302,7 +11001,8 @@ - (NSString *)definitionString { \"enum\":[\ \"QUEUE\",\ \"CHANNEL\",\ - \"ROUTING_PROFILE\"\ + \"ROUTING_PROFILE\",\ + \"ROUTING_STEP_EXPRESSION\"\ ]\ },\ \"GroupingV2\":{\"type\":\"string\"},\ @@ -10341,7 +11041,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"LastModifiedTime\":{\ \"shape\":\"Timestamp\",\ @@ -10369,6 +11069,12 @@ - (NSString *)definitionString { \"documentation\":\"

A leaf node condition which can be used to specify a hierarchy group condition.

\"\ },\ \"HierarchyGroupId\":{\"type\":\"string\"},\ + \"HierarchyGroupIdList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"HierarchyGroupId\"},\ + \"max\":10,\ + \"min\":0\ + },\ \"HierarchyGroupMatchType\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -10698,7 +11404,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"LastModifiedTime\":{\ \"shape\":\"Timestamp\",\ @@ -10873,7 +11579,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"ClientToken\":{\ \"shape\":\"ClientToken\",\ @@ -10896,6 +11602,10 @@ - (NSString *)definitionString { }\ },\ \"InboundCallsEnabled\":{\"type\":\"boolean\"},\ + \"InitiationMethodList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"ContactInitiationMethod\"}\ + },\ \"Instance\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -12335,6 +13045,44 @@ - (NSString *)definitionString { }\ }\ },\ + \"ListPredefinedAttributesRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"InstanceId\"],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"NextToken\":{\ + \"shape\":\"NextToken\",\ + \"documentation\":\"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

\",\ + \"location\":\"querystring\",\ + \"locationName\":\"nextToken\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"MaxResult100\",\ + \"documentation\":\"

The maximum number of results to return per page.

\",\ + \"box\":true,\ + \"location\":\"querystring\",\ + \"locationName\":\"maxResults\"\ + }\ + }\ + },\ + \"ListPredefinedAttributesResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"NextToken\":{\ + \"shape\":\"NextToken\",\ + \"documentation\":\"

If there are additional results, this is the token for the next set of results.

\"\ + },\ + \"PredefinedAttributeSummaryList\":{\ + \"shape\":\"PredefinedAttributeSummaryList\",\ + \"documentation\":\"

Summary of the predefined attributes.

\"\ + }\ + }\ + },\ \"ListPromptsRequest\":{\ \"type\":\"structure\",\ \"required\":[\"InstanceId\"],\ @@ -13140,7 +13888,62 @@ - (NSString *)definitionString { }\ }\ },\ - \"ListUsersRequest\":{\ + \"ListUserProficienciesRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"UserId\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"UserId\":{\ + \"shape\":\"UserId\",\ + \"documentation\":\"

The identifier of the user account.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"UserId\"\ + },\ + \"NextToken\":{\ + \"shape\":\"NextToken\",\ + \"documentation\":\"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

\",\ + \"location\":\"querystring\",\ + \"locationName\":\"nextToken\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"MaxResult100\",\ + \"documentation\":\"

The maximum number of results to return per page.

\",\ + \"box\":true,\ + \"location\":\"querystring\",\ + \"locationName\":\"maxResults\"\ + }\ + }\ + },\ + \"ListUserProficienciesResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"NextToken\":{\ + \"shape\":\"NextToken\",\ + \"documentation\":\"

If there are additional results, this is the token for the next set of results.

\"\ + },\ + \"UserProficiencyList\":{\ + \"shape\":\"UserProficiencyList\",\ + \"documentation\":\"

Information about the user proficiencies.

\"\ + },\ + \"LastModifiedTime\":{\ + \"shape\":\"Timestamp\",\ + \"documentation\":\"

The last time that the user's proficiencies are were modified.

\"\ + },\ + \"LastModifiedRegion\":{\ + \"shape\":\"RegionName\",\ + \"documentation\":\"

The region in which a user's proficiencies were last modified.

\"\ + }\ + }\ + },\ + \"ListUsersRequest\":{\ \"type\":\"structure\",\ \"required\":[\"InstanceId\"],\ \"members\":{\ @@ -13632,7 +14435,7 @@ - (NSString *)definitionString { \"members\":{\ \"UserTags\":{\ \"shape\":\"UserTagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }. Amazon Connect users with the specified tags will be notified.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }. Amazon Connect users with the specified tags will be notified.

\"\ },\ \"UserIds\":{\ \"shape\":\"UserIdList\",\ @@ -13869,6 +14672,32 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"pattern\":\"/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\\\d)[a-zA-Z\\\\d\\\\S]{8,64}$/\"\ },\ + \"PauseContactRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"ContactId\",\ + \"InstanceId\"\ + ],\ + \"members\":{\ + \"ContactId\":{\ + \"shape\":\"ContactId\",\ + \"documentation\":\"

The identifier of the contact.

\"\ + },\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

\"\ + },\ + \"ContactFlowId\":{\ + \"shape\":\"ContactFlowId\",\ + \"documentation\":\"

The identifier of the flow.

\"\ + }\ + }\ + },\ + \"PauseContactResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + }\ + },\ \"Percentage\":{\ \"type\":\"integer\",\ \"max\":100,\ @@ -14253,6 +15082,100 @@ - (NSString *)definitionString { \"DESK_PHONE\"\ ]\ },\ + \"PredefinedAttribute\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Name\":{\ + \"shape\":\"PredefinedAttributeName\",\ + \"documentation\":\"

The name of the predefined attribute.

\"\ + },\ + \"Values\":{\ + \"shape\":\"PredefinedAttributeValues\",\ + \"documentation\":\"

The values of the predefined attribute.

\"\ + },\ + \"LastModifiedTime\":{\ + \"shape\":\"Timestamp\",\ + \"documentation\":\"

Last modified time.

\"\ + },\ + \"LastModifiedRegion\":{\ + \"shape\":\"RegionName\",\ + \"documentation\":\"

Last modified region.

\"\ + }\ + },\ + \"documentation\":\"

Information about a predefined attribute.

\"\ + },\ + \"PredefinedAttributeName\":{\ + \"type\":\"string\",\ + \"max\":128,\ + \"min\":1\ + },\ + \"PredefinedAttributeSearchConditionList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"PredefinedAttributeSearchCriteria\"}\ + },\ + \"PredefinedAttributeSearchCriteria\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"OrConditions\":{\ + \"shape\":\"PredefinedAttributeSearchConditionList\",\ + \"documentation\":\"

A list of conditions which would be applied together with an OR condition.

\"\ + },\ + \"AndConditions\":{\ + \"shape\":\"PredefinedAttributeSearchConditionList\",\ + \"documentation\":\"

A list of conditions which would be applied together with an AND condition.

\"\ + },\ + \"StringCondition\":{\"shape\":\"StringCondition\"}\ + },\ + \"documentation\":\"

The search criteria to be used to return predefined attributes.

\"\ + },\ + \"PredefinedAttributeSearchSummaryList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"PredefinedAttribute\"}\ + },\ + \"PredefinedAttributeStringValue\":{\ + \"type\":\"string\",\ + \"max\":128,\ + \"min\":1\ + },\ + \"PredefinedAttributeStringValuesList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"PredefinedAttributeStringValue\"},\ + \"max\":75,\ + \"min\":1\ + },\ + \"PredefinedAttributeSummary\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Name\":{\ + \"shape\":\"PredefinedAttributeName\",\ + \"documentation\":\"

The name of the predefined attribute.

\"\ + },\ + \"LastModifiedTime\":{\ + \"shape\":\"Timestamp\",\ + \"documentation\":\"

Last modified time.

\"\ + },\ + \"LastModifiedRegion\":{\ + \"shape\":\"RegionName\",\ + \"documentation\":\"

Last modified region.

\"\ + }\ + },\ + \"documentation\":\"

Summary of a predefined attribute.

\"\ + },\ + \"PredefinedAttributeSummaryList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"PredefinedAttributeSummary\"}\ + },\ + \"PredefinedAttributeValues\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"StringList\":{\ + \"shape\":\"PredefinedAttributeStringValuesList\",\ + \"documentation\":\"

Predefined attribute values of type string list.

\"\ + }\ + },\ + \"documentation\":\"

Information about values of a predefined attribute.

\",\ + \"union\":true\ + },\ \"Prefix\":{\ \"type\":\"string\",\ \"max\":128,\ @@ -14284,6 +15207,12 @@ - (NSString *)definitionString { \"max\":50,\ \"min\":1\ },\ + \"ProficiencyLevel\":{\ + \"type\":\"float\",\ + \"box\":true,\ + \"max\":5.0,\ + \"min\":1.0\ + },\ \"Prompt\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -14305,7 +15234,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"LastModifiedTime\":{\ \"shape\":\"Timestamp\",\ @@ -14519,7 +15448,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"LastModifiedTime\":{\ \"shape\":\"Timestamp\",\ @@ -14538,6 +15467,12 @@ - (NSString *)definitionString { \"min\":1\ },\ \"QueueId\":{\"type\":\"string\"},\ + \"QueueIdList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"QueueId\"},\ + \"max\":100,\ + \"min\":0\ + },\ \"QueueInfo\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -14561,6 +15496,11 @@ - (NSString *)definitionString { \"max\":256,\ \"min\":1\ },\ + \"QueuePriority\":{\ + \"type\":\"long\",\ + \"max\":9223372036854775807,\ + \"min\":1\ + },\ \"QueueQuickConnectConfig\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -14671,6 +15611,7 @@ - (NSString *)definitionString { \"type\":\"list\",\ \"member\":{\"shape\":\"QueueSummary\"}\ },\ + \"QueueTimeAdjustmentSeconds\":{\"type\":\"integer\"},\ \"QueueType\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -14714,7 +15655,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"LastModifiedTime\":{\ \"shape\":\"Timestamp\",\ @@ -15557,6 +16498,42 @@ - (NSString *)definitionString { \"members\":{\ }\ },\ + \"ResumeContactRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"ContactId\",\ + \"InstanceId\"\ + ],\ + \"members\":{\ + \"ContactId\":{\ + \"shape\":\"ContactId\",\ + \"documentation\":\"

The identifier of the contact.

\"\ + },\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

\"\ + },\ + \"ContactFlowId\":{\ + \"shape\":\"ContactFlowId\",\ + \"documentation\":\"

The identifier of the flow.

\"\ + }\ + }\ + },\ + \"ResumeContactResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + }\ + },\ + \"RoutingExpression\":{\ + \"type\":\"string\",\ + \"max\":3000,\ + \"min\":1\ + },\ + \"RoutingExpressions\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"RoutingExpression\"},\ + \"max\":50\ + },\ \"RoutingProfile\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -15590,7 +16567,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"NumberOfAssociatedQueues\":{\ \"shape\":\"Long\",\ @@ -15865,7 +16842,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ },\ \"documentation\":\"

Information about a rule.

\"\ @@ -15893,6 +16870,18 @@ - (NSString *)definitionString { \"SendNotificationAction\":{\ \"shape\":\"SendNotificationActionDefinition\",\ \"documentation\":\"

Information about the send notification action.

Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnContactEvaluationSubmit | OnMetricDataUpdate

\"\ + },\ + \"CreateCaseAction\":{\ + \"shape\":\"CreateCaseActionDefinition\",\ + \"documentation\":\"

Information about the create case action.

Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnPostChatAnalysisAvailable.

\"\ + },\ + \"UpdateCaseAction\":{\ + \"shape\":\"UpdateCaseActionDefinition\",\ + \"documentation\":\"

Information about the update case action.

Supported only for TriggerEventSource values: OnCaseCreate | OnCaseUpdate.

\"\ + },\ + \"EndAssociatedTasksAction\":{\ + \"shape\":\"EndAssociatedTasksActionDefinition\",\ + \"documentation\":\"

Information about the end associated tasks action.

Supported only for TriggerEventSource values: OnCaseUpdate.

\"\ }\ },\ \"documentation\":\"

Information about the action to be performed when a rule is triggered.

\"\ @@ -16066,6 +17055,131 @@ - (NSString *)definitionString { }\ }\ },\ + \"SearchContactsMatchType\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"MATCH_ALL\",\ + \"MATCH_ANY\"\ + ]\ + },\ + \"SearchContactsRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"TimeRange\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance

\"\ + },\ + \"TimeRange\":{\ + \"shape\":\"SearchContactsTimeRange\",\ + \"documentation\":\"

Time range that you want to search results

\"\ + },\ + \"SearchCriteria\":{\ + \"shape\":\"SearchCriteria\",\ + \"documentation\":\"

The search criteria to be used to return contacts.

\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"MaxResult100\",\ + \"documentation\":\"

The maximum number of results to return per page.

\",\ + \"box\":true\ + },\ + \"NextToken\":{\ + \"shape\":\"LargeNextToken\",\ + \"documentation\":\"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

\"\ + },\ + \"Sort\":{\ + \"shape\":\"Sort\",\ + \"documentation\":\"

Specifies a field to sort by and a sort order

\"\ + }\ + }\ + },\ + \"SearchContactsResponse\":{\ + \"type\":\"structure\",\ + \"required\":[\"Contacts\"],\ + \"members\":{\ + \"Contacts\":{\ + \"shape\":\"Contacts\",\ + \"documentation\":\"

Information about the contacts.

\"\ + },\ + \"NextToken\":{\ + \"shape\":\"LargeNextToken\",\ + \"documentation\":\"

If there are additional results, this is the token for the next set of results.

\"\ + },\ + \"TotalCount\":{\ + \"shape\":\"TotalCount\",\ + \"documentation\":\"

The total number of contacts which matched your search query.

\"\ + }\ + }\ + },\ + \"SearchContactsTimeRange\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"Type\",\ + \"StartTime\",\ + \"EndTime\"\ + ],\ + \"members\":{\ + \"Type\":{\ + \"shape\":\"SearchContactsTimeRangeType\",\ + \"documentation\":\"

The type of timestamp to search

\"\ + },\ + \"StartTime\":{\ + \"shape\":\"Timestamp\",\ + \"documentation\":\"

The start time of the time range.

\"\ + },\ + \"EndTime\":{\ + \"shape\":\"Timestamp\",\ + \"documentation\":\"

The end time of the time range.

\"\ + }\ + },\ + \"documentation\":\"

A structure of time range that you want to search results

\"\ + },\ + \"SearchContactsTimeRangeType\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"INITIATION_TIMESTAMP\",\ + \"SCHEDULED_TIMESTAMP\",\ + \"CONNECTED_TO_AGENT_TIMESTAMP\",\ + \"DISCONNECT_TIMESTAMP\"\ + ]\ + },\ + \"SearchCriteria\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"AgentIds\":{\ + \"shape\":\"AgentResourceIdList\",\ + \"documentation\":\"

The array of agent ids

\"\ + },\ + \"AgentHierarchyGroups\":{\ + \"shape\":\"AgentHierarchyGroups\",\ + \"documentation\":\"

The agent hierarchy groups

\"\ + },\ + \"Channels\":{\ + \"shape\":\"ChannelList\",\ + \"documentation\":\"

The array of channels

\"\ + },\ + \"ContactAnalysis\":{\ + \"shape\":\"ContactAnalysis\",\ + \"documentation\":\"

The ContactAnalysis object used in search criteria

\"\ + },\ + \"InitiationMethods\":{\ + \"shape\":\"InitiationMethodList\",\ + \"documentation\":\"

The array of initiaton methods

\"\ + },\ + \"QueueIds\":{\ + \"shape\":\"QueueIdList\",\ + \"documentation\":\"

The array of queue ids.

\"\ + },\ + \"SearchableContactAttributes\":{\ + \"shape\":\"SearchableContactAttributes\",\ + \"documentation\":\"

The SearchableContactAttributes object used in search criteria

\"\ + }\ + },\ + \"documentation\":\"

A structure of search criteria to be used to return contacts

\"\ + },\ \"SearchHoursOfOperationsRequest\":{\ \"type\":\"structure\",\ \"required\":[\"InstanceId\"],\ @@ -16110,6 +17224,46 @@ - (NSString *)definitionString { }\ }\ },\ + \"SearchPredefinedAttributesRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"InstanceId\"],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\"\ + },\ + \"NextToken\":{\ + \"shape\":\"NextToken2500\",\ + \"documentation\":\"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"MaxResult100\",\ + \"documentation\":\"

The maximum number of results to return per page.

\",\ + \"box\":true\ + },\ + \"SearchCriteria\":{\ + \"shape\":\"PredefinedAttributeSearchCriteria\",\ + \"documentation\":\"

The search criteria to be used to return predefined attributes.

\"\ + }\ + }\ + },\ + \"SearchPredefinedAttributesResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"PredefinedAttributes\":{\ + \"shape\":\"PredefinedAttributeSearchSummaryList\",\ + \"documentation\":\"

Predefined attributes matched by the search criteria.

\"\ + },\ + \"NextToken\":{\ + \"shape\":\"NextToken2500\",\ + \"documentation\":\"

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

\"\ + },\ + \"ApproximateTotalCount\":{\ + \"shape\":\"ApproximateTotalCount\",\ + \"documentation\":\"

The approximate number of predefined attributes which matched your search query.

\"\ + }\ + }\ + },\ \"SearchPromptsRequest\":{\ \"type\":\"structure\",\ \"required\":[\"InstanceId\"],\ @@ -16370,6 +17524,17 @@ - (NSString *)definitionString { }\ }\ },\ + \"SearchText\":{\ + \"type\":\"string\",\ + \"max\":128,\ + \"sensitive\":true\ + },\ + \"SearchTextList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"SearchText\"},\ + \"max\":100,\ + \"min\":0\ + },\ \"SearchUsersRequest\":{\ \"type\":\"structure\",\ \"required\":[\"InstanceId\"],\ @@ -16456,6 +17621,63 @@ - (NSString *)definitionString { }\ }\ },\ + \"SearchableContactAttributeKey\":{\ + \"type\":\"string\",\ + \"max\":100,\ + \"min\":0,\ + \"sensitive\":true\ + },\ + \"SearchableContactAttributeValue\":{\ + \"type\":\"string\",\ + \"max\":100,\ + \"min\":0,\ + \"sensitive\":true\ + },\ + \"SearchableContactAttributeValueList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"SearchableContactAttributeValue\"},\ + \"max\":20,\ + \"min\":0\ + },\ + \"SearchableContactAttributes\":{\ + \"type\":\"structure\",\ + \"required\":[\"Criteria\"],\ + \"members\":{\ + \"Criteria\":{\ + \"shape\":\"SearchableContactAttributesCriteriaList\",\ + \"documentation\":\"

The array of searhale contact attribute criteria

\"\ + },\ + \"MatchType\":{\ + \"shape\":\"SearchContactsMatchType\",\ + \"documentation\":\"

The match type of multiple searchable contact attributes criteria.

\"\ + }\ + },\ + \"documentation\":\"

A structure that defines searchable contact attributes which can be used to filter search results.

\"\ + },\ + \"SearchableContactAttributesCriteria\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"Key\",\ + \"Values\"\ + ],\ + \"members\":{\ + \"Key\":{\ + \"shape\":\"SearchableContactAttributeKey\",\ + \"documentation\":\"

The searchable contact attribute key

\"\ + },\ + \"Values\":{\ + \"shape\":\"SearchableContactAttributeValueList\",\ + \"documentation\":\"

The array of contact attribute values used to filter search results.

\"\ + }\ + },\ + \"documentation\":\"

The criteria of searchable contact attributes.

\"\ + },\ + \"SearchableContactAttributesCriteriaList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"SearchableContactAttributesCriteria\"},\ + \"max\":15,\ + \"min\":0\ + },\ \"SearchableQueueType\":{\ \"type\":\"string\",\ \"enum\":[\"STANDARD\"]\ @@ -16507,7 +17729,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"AllowedAccessControlTags\":{\ \"shape\":\"AllowedAccessControlTags\",\ @@ -16598,7 +17820,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ },\ \"documentation\":\"

Information about the returned security profiles.

\"\ @@ -16830,6 +18052,24 @@ - (NSString *)definitionString { \"min\":1\ },\ \"SnapshotVersion\":{\"type\":\"string\"},\ + \"Sort\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"FieldName\",\ + \"Order\"\ + ],\ + \"members\":{\ + \"FieldName\":{\ + \"shape\":\"SortableFieldName\",\ + \"documentation\":\"

The name of the field on which to sort.

\"\ + },\ + \"Order\":{\ + \"shape\":\"SortOrder\",\ + \"documentation\":\"

An ascending or descending sort.

\"\ + }\ + },\ + \"documentation\":\"

A structure that defines the sort by and a sort order

\"\ + },\ \"SortOrder\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -16837,6 +18077,17 @@ - (NSString *)definitionString { \"DESCENDING\"\ ]\ },\ + \"SortableFieldName\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"INITIATION_TIMESTAMP\",\ + \"SCHEDULED_TIMESTAMP\",\ + \"CONNECTED_TO_AGENT_TIMESTAMP\",\ + \"DISCONNECT_TIMESTAMP\",\ + \"INITIATION_METHOD\",\ + \"CHANNEL\"\ + ]\ + },\ \"SourceApplicationName\":{\ \"type\":\"string\",\ \"max\":100,\ @@ -16852,7 +18103,8 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"SALESFORCE\",\ - \"ZENDESK\"\ + \"ZENDESK\",\ + \"CASES\"\ ]\ },\ \"StartChatContactRequest\":{\ @@ -17055,6 +18307,22 @@ - (NSString *)definitionString { \"InstanceId\"\ ],\ \"members\":{\ + \"Name\":{\ + \"shape\":\"Name\",\ + \"documentation\":\"

The name of a voice contact that is shown to an agent in the Contact Control Panel (CCP).

\"\ + },\ + \"Description\":{\ + \"shape\":\"Description\",\ + \"documentation\":\"

A description of the voice contact that is shown to an agent in the Contact Control Panel (CCP).

\"\ + },\ + \"References\":{\ + \"shape\":\"ContactReferences\",\ + \"documentation\":\"

A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Contacts can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL. ATTACHMENT is not a supported reference type during voice contact creation.

\"\ + },\ + \"RelatedContactId\":{\ + \"shape\":\"ContactId\",\ + \"documentation\":\"

The contactId that is related to this contact. Linking voice, task, or chat by using RelatedContactID copies over contact attributes from the related contact to the new contact. All updates to user-defined attributes in the new contact are limited to the individual contact ID. There are no limits to the number of contacts that can be linked by using RelatedContactId.

\"\ + },\ \"DestinationPhoneNumber\":{\ \"shape\":\"PhoneNumber\",\ \"documentation\":\"

The phone number of the customer, in E.164 format.

\"\ @@ -17366,7 +18634,7 @@ - (NSString *)definitionString { \"documentation\":\"

The type of comparison to be made when evaluating the string condition.

\"\ }\ },\ - \"documentation\":\"

A leaf node condition which can be used to specify a string condition.

\"\ + \"documentation\":\"

A leaf node condition which can be used to specify a string condition.

The currently supported values for FieldName are name and description.

\"\ },\ \"StringReference\":{\ \"type\":\"structure\",\ @@ -17510,6 +18778,33 @@ - (NSString *)definitionString { },\ \"documentation\":\"

A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123.

\"\ },\ + \"TagContactRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"ContactId\",\ + \"InstanceId\",\ + \"Tags\"\ + ],\ + \"members\":{\ + \"ContactId\":{\ + \"shape\":\"ContactId\",\ + \"documentation\":\"

The identifier of the contact in this instance of Amazon Connect.

\"\ + },\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\"\ + },\ + \"Tags\":{\ + \"shape\":\"ContactTagMap\",\ + \"documentation\":\"

The tags to be assigned to the contact resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

Authorization is not supported by this tag.

\"\ + }\ + }\ + },\ + \"TagContactResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + }\ + },\ \"TagKey\":{\ \"type\":\"string\",\ \"max\":128,\ @@ -17552,7 +18847,7 @@ - (NSString *)definitionString { },\ \"tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ }\ },\ @@ -17846,6 +19141,11 @@ - (NSString *)definitionString { },\ \"documentation\":\"

The distribution of traffic between the instance and its replicas.

\"\ },\ + \"TemplateId\":{\ + \"type\":\"string\",\ + \"max\":500,\ + \"min\":1\ + },\ \"Threshold\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -17909,6 +19209,16 @@ - (NSString *)definitionString { \"error\":{\"httpStatusCode\":429},\ \"exception\":true\ },\ + \"TotalCount\":{\"type\":\"long\"},\ + \"TotalPauseCount\":{\ + \"type\":\"integer\",\ + \"max\":10,\ + \"min\":0\ + },\ + \"TotalPauseDurationInSeconds\":{\ + \"type\":\"integer\",\ + \"min\":0\ + },\ \"TrafficDistributionGroup\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -17938,7 +19248,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"IsDefault\":{\ \"shape\":\"Boolean\",\ @@ -18029,6 +19339,50 @@ - (NSString *)definitionString { \"CAMPAIGN\"\ ]\ },\ + \"Transcript\":{\ + \"type\":\"structure\",\ + \"required\":[\"Criteria\"],\ + \"members\":{\ + \"Criteria\":{\ + \"shape\":\"TranscriptCriteriaList\",\ + \"documentation\":\"

The array of transcript search criteria

\"\ + },\ + \"MatchType\":{\ + \"shape\":\"SearchContactsMatchType\",\ + \"documentation\":\"

The match type of multiple transcript criteira

\"\ + }\ + },\ + \"documentation\":\"

The transcript object used to search results.

\"\ + },\ + \"TranscriptCriteria\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"ParticipantRole\",\ + \"SearchText\",\ + \"MatchType\"\ + ],\ + \"members\":{\ + \"ParticipantRole\":{\ + \"shape\":\"ParticipantRole\",\ + \"documentation\":\"

The participant role in a transcript

\"\ + },\ + \"SearchText\":{\ + \"shape\":\"SearchTextList\",\ + \"documentation\":\"

The words or phrases used to search within a transcript.

\"\ + },\ + \"MatchType\":{\ + \"shape\":\"SearchContactsMatchType\",\ + \"documentation\":\"

The match type of search texts in a transcript criteria.

\"\ + }\ + },\ + \"documentation\":\"

The transcript criteria used to search

\"\ + },\ + \"TranscriptCriteriaList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"TranscriptCriteria\"},\ + \"max\":6,\ + \"min\":0\ + },\ \"TransferContactRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -18090,6 +19444,39 @@ - (NSString *)definitionString { \"PERCENT\"\ ]\ },\ + \"UntagContactRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"ContactId\",\ + \"InstanceId\",\ + \"TagKeys\"\ + ],\ + \"members\":{\ + \"ContactId\":{\ + \"shape\":\"ContactId\",\ + \"documentation\":\"

The identifier of the contact in this instance of Amazon Connect.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"ContactId\"\ + },\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"TagKeys\":{\ + \"shape\":\"ContactTagKeys\",\ + \"documentation\":\"

A list of tag keys. Existing tags on the contact whose keys are members of this list will be removed.

\",\ + \"location\":\"querystring\",\ + \"locationName\":\"TagKeys\"\ + }\ + }\ + },\ + \"UntagContactResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + }\ + },\ \"UntagResourceRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -18158,6 +19545,17 @@ - (NSString *)definitionString { }\ }\ },\ + \"UpdateCaseActionDefinition\":{\ + \"type\":\"structure\",\ + \"required\":[\"Fields\"],\ + \"members\":{\ + \"Fields\":{\ + \"shape\":\"FieldValues\",\ + \"documentation\":\"

An array of objects with Field ID and Value data.

\"\ + }\ + },\ + \"documentation\":\"

The UpdateCase action definition.

\"\ + },\ \"UpdateContactAttributesRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -18441,6 +19839,40 @@ - (NSString *)definitionString { \"members\":{\ }\ },\ + \"UpdateContactRoutingDataRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"ContactId\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"ContactId\":{\ + \"shape\":\"ContactId\",\ + \"documentation\":\"

The identifier of the contact in this instance of Amazon Connect.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"ContactId\"\ + },\ + \"QueueTimeAdjustmentSeconds\":{\ + \"shape\":\"QueueTimeAdjustmentSeconds\",\ + \"documentation\":\"

The number of seconds to add or subtract from the contact's routing age. Contacts are routed to agents on a first-come, first-serve basis. This means that changing their amount of time in queue compared to others also changes their position in queue.

\"\ + },\ + \"QueuePriority\":{\ + \"shape\":\"QueuePriority\",\ + \"documentation\":\"

Priority of the contact in the queue. The default priority for new contacts is 5. You can raise the priority of a contact compared to other contacts in the queue by assigning them a higher priority, such as 1 or 2.

\"\ + }\ + }\ + },\ + \"UpdateContactRoutingDataResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + }\ + },\ \"UpdateContactScheduleRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -18743,6 +20175,31 @@ - (NSString *)definitionString { }\ }\ },\ + \"UpdatePredefinedAttributeRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"Name\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"Name\":{\ + \"shape\":\"PredefinedAttributeName\",\ + \"documentation\":\"

The name of the predefined attribute.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"Name\"\ + },\ + \"Values\":{\ + \"shape\":\"PredefinedAttributeValues\",\ + \"documentation\":\"

The values of the predefined attribute.

\"\ + }\ + }\ + },\ \"UpdatePromptRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -19450,6 +20907,32 @@ - (NSString *)definitionString { }\ }\ },\ + \"UpdateUserProficienciesRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"UserId\",\ + \"UserProficiencies\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"UserId\":{\ + \"shape\":\"UserId\",\ + \"documentation\":\"

The identifier of the user account.

\",\ + \"location\":\"uri\",\ + \"locationName\":\"UserId\"\ + },\ + \"UserProficiencies\":{\ + \"shape\":\"UserProficiencyList\",\ + \"documentation\":\"

The proficiencies to be updated for the user. Proficiencies must first be associated to the user. You can do this using AssociateUserProficiencies API.

\"\ + }\ + }\ + },\ \"UpdateUserRoutingProfileRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -19834,6 +21317,55 @@ - (NSString *)definitionString { },\ \"documentation\":\"

Contains information about the phone configuration settings for a user.

\"\ },\ + \"UserProficiency\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"AttributeName\",\ + \"AttributeValue\",\ + \"Level\"\ + ],\ + \"members\":{\ + \"AttributeName\":{\ + \"shape\":\"PredefinedAttributeName\",\ + \"documentation\":\"

The name of user's proficiency. You must use name of predefined attribute present in the Amazon Connect instance.

\"\ + },\ + \"AttributeValue\":{\ + \"shape\":\"PredefinedAttributeStringValue\",\ + \"documentation\":\"

The value of user's proficiency. You must use value of predefined attribute present in the Amazon Connect instance.

\"\ + },\ + \"Level\":{\ + \"shape\":\"ProficiencyLevel\",\ + \"documentation\":\"

The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.

\"\ + }\ + },\ + \"documentation\":\"

Information about proficiency of a user.

\"\ + },\ + \"UserProficiencyDisassociate\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"AttributeName\",\ + \"AttributeValue\"\ + ],\ + \"members\":{\ + \"AttributeName\":{\ + \"shape\":\"PredefinedAttributeName\",\ + \"documentation\":\"

The name of user's proficiency.

\"\ + },\ + \"AttributeValue\":{\ + \"shape\":\"PredefinedAttributeStringValue\",\ + \"documentation\":\"

The value of user's proficiency.

\"\ + }\ + },\ + \"documentation\":\"

Information about proficiency to be disassociated from the user.

\"\ + },\ + \"UserProficiencyDisassociateList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"UserProficiencyDisassociate\"}\ + },\ + \"UserProficiencyList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"UserProficiency\"}\ + },\ \"UserQuickConnectConfig\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -19933,7 +21465,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ },\ \"Username\":{\ \"shape\":\"AgentUsername\",\ @@ -20270,7 +21802,7 @@ - (NSString *)definitionString { },\ \"Tags\":{\ \"shape\":\"TagMap\",\ - \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ + \"documentation\":\"

The tags used to organize, track, or control access for this resource. For example, { \\\"Tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.

\"\ }\ },\ \"documentation\":\"

Contains information about a custom vocabulary.

\"\ diff --git a/AWSConnect/AWSConnectService.h b/AWSConnect/AWSConnectService.h index b1618032099..35b07b18f2f 100644 --- a/AWSConnect/AWSConnectService.h +++ b/AWSConnect/AWSConnectService.h @@ -503,6 +503,28 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)associateTrafficDistributionGroupUser:(AWSConnectAssociateTrafficDistributionGroupUserRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectAssociateTrafficDistributionGroupUserResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

>Associates a set of proficiencies with a user.

+ + @param request A container for the necessary parameters to execute the AssociateUserProficiencies service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectAssociateUserProficienciesRequest + */ +- (AWSTask *)associateUserProficiencies:(AWSConnectAssociateUserProficienciesRequest *)request; + +/** +

>Associates a set of proficiencies with a user.

+ + @param request A container for the necessary parameters to execute the AssociateUserProficiencies service method. + @param completionHandler The completion handler to call when the load request is complete. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectAssociateUserProficienciesRequest + */ +- (void)associateUserProficiencies:(AWSConnectAssociateUserProficienciesRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; + /**

This API is in preview release for Amazon Connect and is subject to change.

Associates a list of analytics datasets for a given Amazon Connect instance to a target account. You can associate multiple datasets in a single call.

@@ -853,6 +875,28 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)createPersistentContactAssociation:(AWSConnectCreatePersistentContactAssociationRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectCreatePersistentContactAssociationResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Creates a new predefined attribute for the specified Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the CreatePredefinedAttribute service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorDuplicateResource`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorLimitExceeded`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectCreatePredefinedAttributeRequest + */ +- (AWSTask *)createPredefinedAttribute:(AWSConnectCreatePredefinedAttributeRequest *)request; + +/** +

Creates a new predefined attribute for the specified Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the CreatePredefinedAttribute service method. + @param completionHandler The completion handler to call when the load request is complete. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorDuplicateResource`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorLimitExceeded`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectCreatePredefinedAttributeRequest + */ +- (void)createPredefinedAttribute:(AWSConnectCreatePredefinedAttributeRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; + /**

Creates a prompt. For more information about prompts, such as supported file types and maximum length, see Create prompts in the Amazon Connect Administrator's Guide.

@@ -1388,6 +1432,28 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)deleteIntegrationAssociation:(AWSConnectDeleteIntegrationAssociationRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; +/** +

Deletes a predefined attribute from the specified Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the DeletePredefinedAttribute service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorResourceInUse`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectDeletePredefinedAttributeRequest + */ +- (AWSTask *)deletePredefinedAttribute:(AWSConnectDeletePredefinedAttributeRequest *)request; + +/** +

Deletes a predefined attribute from the specified Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the DeletePredefinedAttribute service method. + @param completionHandler The completion handler to call when the load request is complete. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorResourceInUse`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectDeletePredefinedAttributeRequest + */ +- (void)deletePredefinedAttribute:(AWSConnectDeletePredefinedAttributeRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; + /**

Deletes a prompt.

@@ -1986,6 +2052,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)describePhoneNumber:(AWSConnectDescribePhoneNumberRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectDescribePhoneNumberResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Describes a predefined attribute for the specified Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the DescribePredefinedAttribute service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectDescribePredefinedAttributeResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectDescribePredefinedAttributeRequest + @see AWSConnectDescribePredefinedAttributeResponse + */ +- (AWSTask *)describePredefinedAttribute:(AWSConnectDescribePredefinedAttributeRequest *)request; + +/** +

Describes a predefined attribute for the specified Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the DescribePredefinedAttribute service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectDescribePredefinedAttributeRequest + @see AWSConnectDescribePredefinedAttributeResponse + */ +- (void)describePredefinedAttribute:(AWSConnectDescribePredefinedAttributeRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectDescribePredefinedAttributeResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Describes the prompt.

@@ -2556,6 +2647,28 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)disassociateTrafficDistributionGroupUser:(AWSConnectDisassociateTrafficDistributionGroupUserRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectDisassociateTrafficDistributionGroupUserResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Disassociates a set of proficiencies from a user.

+ + @param request A container for the necessary parameters to execute the DisassociateUserProficiencies service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectDisassociateUserProficienciesRequest + */ +- (AWSTask *)disassociateUserProficiencies:(AWSConnectDisassociateUserProficienciesRequest *)request; + +/** +

Disassociates a set of proficiencies from a user.

+ + @param request A container for the necessary parameters to execute the DisassociateUserProficiencies service method. + @param completionHandler The completion handler to call when the load request is complete. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectDisassociateUserProficienciesRequest + */ +- (void)disassociateUserProficiencies:(AWSConnectDisassociateUserProficienciesRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; + /**

Dismisses contacts from an agent’s CCP and returns the agent to an available state, which allows the agent to receive a new routed contact. Contacts can only be dismissed if they are in a MISSED, ERROR, ENDED, or REJECTED state in the Agent Event Stream.

@@ -3381,6 +3494,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)listPhoneNumbersV2:(AWSConnectListPhoneNumbersV2Request *)request completionHandler:(void (^ _Nullable)(AWSConnectListPhoneNumbersV2Response * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Lists predefined attributes for the specified Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the ListPredefinedAttributes service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectListPredefinedAttributesResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectListPredefinedAttributesRequest + @see AWSConnectListPredefinedAttributesResponse + */ +- (AWSTask *)listPredefinedAttributes:(AWSConnectListPredefinedAttributesRequest *)request; + +/** +

Lists predefined attributes for the specified Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the ListPredefinedAttributes service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectListPredefinedAttributesRequest + @see AWSConnectListPredefinedAttributesResponse + */ +- (void)listPredefinedAttributes:(AWSConnectListPredefinedAttributesRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectListPredefinedAttributesResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Provides information about the prompts for the specified Amazon Connect instance.

@@ -3831,6 +3969,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)listUserHierarchyGroups:(AWSConnectListUserHierarchyGroupsRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectListUserHierarchyGroupsResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Lists proficiencies associated with a user.

+ + @param request A container for the necessary parameters to execute the ListUserProficiencies service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectListUserProficienciesResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectListUserProficienciesRequest + @see AWSConnectListUserProficienciesResponse + */ +- (AWSTask *)listUserProficiencies:(AWSConnectListUserProficienciesRequest *)request; + +/** +

Lists proficiencies associated with a user.

+ + @param request A container for the necessary parameters to execute the ListUserProficiencies service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectListUserProficienciesRequest + @see AWSConnectListUserProficienciesResponse + */ +- (void)listUserProficiencies:(AWSConnectListUserProficienciesRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectListUserProficienciesResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Provides summary information about the users for the specified Amazon Connect instance.

@@ -3931,6 +4094,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)monitorContact:(AWSConnectMonitorContactRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectMonitorContactResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Allows pausing an ongoing task contact.

+ + @param request A container for the necessary parameters to execute the PauseContact service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectPauseContactResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorAccessDenied`, `AWSConnectErrorInternalService`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorLimitExceeded`, `AWSConnectErrorConflict`. + + @see AWSConnectPauseContactRequest + @see AWSConnectPauseContactResponse + */ +- (AWSTask *)pauseContact:(AWSConnectPauseContactRequest *)request; + +/** +

Allows pausing an ongoing task contact.

+ + @param request A container for the necessary parameters to execute the PauseContact service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorAccessDenied`, `AWSConnectErrorInternalService`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorLimitExceeded`, `AWSConnectErrorConflict`. + + @see AWSConnectPauseContactRequest + @see AWSConnectPauseContactResponse + */ +- (void)pauseContact:(AWSConnectPauseContactRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectPauseContactResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a contact, this sets the agent's next status.

For more information, see Agent status and Set your next status in the Amazon Connect Administrator Guide.

@@ -4003,6 +4191,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)replicateInstance:(AWSConnectReplicateInstanceRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectReplicateInstanceResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Allows resuming a task contact in a paused state.

+ + @param request A container for the necessary parameters to execute the ResumeContact service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectResumeContactResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorAccessDenied`, `AWSConnectErrorInternalService`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorConflict`. + + @see AWSConnectResumeContactRequest + @see AWSConnectResumeContactResponse + */ +- (AWSTask *)resumeContact:(AWSConnectResumeContactRequest *)request; + +/** +

Allows resuming a task contact in a paused state.

+ + @param request A container for the necessary parameters to execute the ResumeContact service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorAccessDenied`, `AWSConnectErrorInternalService`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorConflict`. + + @see AWSConnectResumeContactRequest + @see AWSConnectResumeContactResponse + */ +- (void)resumeContact:(AWSConnectResumeContactRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectResumeContactResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**

When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording whatever recording is selected in the flow configuration: call, screen, or both. If only call recording or only screen recording is enabled, then it would resume.

Voice and screen recordings are supported.

@@ -4053,6 +4266,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)searchAvailablePhoneNumbers:(AWSConnectSearchAvailablePhoneNumbersRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectSearchAvailablePhoneNumbersResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Searches contacts in an Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the SearchContacts service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectSearchContactsResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorThrottling`. + + @see AWSConnectSearchContactsRequest + @see AWSConnectSearchContactsResponse + */ +- (AWSTask *)searchContacts:(AWSConnectSearchContactsRequest *)request; + +/** +

Searches contacts in an Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the SearchContacts service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorThrottling`. + + @see AWSConnectSearchContactsRequest + @see AWSConnectSearchContactsResponse + */ +- (void)searchContacts:(AWSConnectSearchContactsRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectSearchContactsResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Searches the hours of operation in an Amazon Connect instance, with optional filtering.

@@ -4078,6 +4316,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)searchHoursOfOperations:(AWSConnectSearchHoursOfOperationsRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectSearchHoursOfOperationsResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Predefined attributes that meet certain criteria.

+ + @param request A container for the necessary parameters to execute the SearchPredefinedAttributes service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectSearchPredefinedAttributesResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectSearchPredefinedAttributesRequest + @see AWSConnectSearchPredefinedAttributesResponse + */ +- (AWSTask *)searchPredefinedAttributes:(AWSConnectSearchPredefinedAttributesRequest *)request; + +/** +

Predefined attributes that meet certain criteria.

+ + @param request A container for the necessary parameters to execute the SearchPredefinedAttributes service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectSearchPredefinedAttributesRequest + @see AWSConnectSearchPredefinedAttributesResponse + */ +- (void)searchPredefinedAttributes:(AWSConnectSearchPredefinedAttributesRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectSearchPredefinedAttributesResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Searches prompts in an Amazon Connect instance, with optional filtering.

@@ -4603,6 +4866,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)suspendContactRecording:(AWSConnectSuspendContactRecordingRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectSuspendContactRecordingResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Adds the specified tags to the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage.

+ + @param request A container for the necessary parameters to execute the TagContact service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectTagContactResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorThrottling`. + + @see AWSConnectTagContactRequest + @see AWSConnectTagContactResponse + */ +- (AWSTask *)tagContact:(AWSConnectTagContactRequest *)request; + +/** +

Adds the specified tags to the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage.

+ + @param request A container for the necessary parameters to execute the TagContact service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorThrottling`. + + @see AWSConnectTagContactRequest + @see AWSConnectTagContactResponse + */ +- (void)tagContact:(AWSConnectTagContactRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectTagContactResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Adds the specified tags to the specified resource.

Some of the supported resource types are agents, routing profiles, queues, quick connects, contact flows, agent statuses, hours of operation, phone numbers, security profiles, and task templates. For a complete list, see Tagging resources in Amazon Connect.

For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.

@@ -4650,6 +4938,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)transferContact:(AWSConnectTransferContactRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectTransferContactResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Removes the specified tags from the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage.

+ + @param request A container for the necessary parameters to execute the UntagContact service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectUntagContactResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorThrottling`. + + @see AWSConnectUntagContactRequest + @see AWSConnectUntagContactResponse + */ +- (AWSTask *)untagContact:(AWSConnectUntagContactRequest *)request; + +/** +

Removes the specified tags from the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage.

+ + @param request A container for the necessary parameters to execute the UntagContact service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorThrottling`. + + @see AWSConnectUntagContactRequest + @see AWSConnectUntagContactResponse + */ +- (void)untagContact:(AWSConnectUntagContactRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectUntagContactResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Removes the specified tags from the specified resource.

@@ -4894,6 +5207,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)updateContactFlowName:(AWSConnectUpdateContactFlowNameRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectUpdateContactFlowNameResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

This API is in preview release for Amazon Connect and is subject to change.

Updates routing priority and age on the contact (QueuePriority and QueueTimeAdjustmentInSeconds). These properties can be used to change a customer's position in the queue. For example, you can move a contact to the back of the queue by setting a lower routing priority relative to other contacts in queue; or you can move a contact to the front of the queue by increasing the routing age which will make the contact look artificially older and therefore higher up in the first-in-first-out routing order. Note that adjusting the routing age of a contact affects only its position in queue, and not its actual queue wait time as reported through metrics. These properties can also be updated by using the Set routing priority / age flow block.

+ + @param request A container for the necessary parameters to execute the UpdateContactRoutingData service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectUpdateContactRoutingDataResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorResourceConflict`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorThrottling`, `AWSConnectErrorAccessDenied`. + + @see AWSConnectUpdateContactRoutingDataRequest + @see AWSConnectUpdateContactRoutingDataResponse + */ +- (AWSTask *)updateContactRoutingData:(AWSConnectUpdateContactRoutingDataRequest *)request; + +/** +

This API is in preview release for Amazon Connect and is subject to change.

Updates routing priority and age on the contact (QueuePriority and QueueTimeAdjustmentInSeconds). These properties can be used to change a customer's position in the queue. For example, you can move a contact to the back of the queue by setting a lower routing priority relative to other contacts in queue; or you can move a contact to the front of the queue by increasing the routing age which will make the contact look artificially older and therefore higher up in the first-in-first-out routing order. Note that adjusting the routing age of a contact affects only its position in queue, and not its actual queue wait time as reported through metrics. These properties can also be updated by using the Set routing priority / age flow block.

+ + @param request A container for the necessary parameters to execute the UpdateContactRoutingData service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorResourceConflict`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorThrottling`, `AWSConnectErrorAccessDenied`. + + @see AWSConnectUpdateContactRoutingDataRequest + @see AWSConnectUpdateContactRoutingDataResponse + */ +- (void)updateContactRoutingData:(AWSConnectUpdateContactRoutingDataRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectUpdateContactRoutingDataResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Updates the scheduled time of a task contact that is already scheduled.

@@ -5082,6 +5420,28 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)updatePhoneNumberMetadata:(AWSConnectUpdatePhoneNumberMetadataRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; +/** +

Updates a predefined attribute for the specified Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the UpdatePredefinedAttribute service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectUpdatePredefinedAttributeRequest + */ +- (AWSTask *)updatePredefinedAttribute:(AWSConnectUpdatePredefinedAttributeRequest *)request; + +/** +

Updates a predefined attribute for the specified Amazon Connect instance.

+ + @param request A container for the necessary parameters to execute the UpdatePredefinedAttribute service method. + @param completionHandler The completion handler to call when the load request is complete. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectUpdatePredefinedAttributeRequest + */ +- (void)updatePredefinedAttribute:(AWSConnectUpdatePredefinedAttributeRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; + /**

Updates a prompt.

@@ -5575,6 +5935,28 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)updateUserPhoneConfig:(AWSConnectUpdateUserPhoneConfigRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; +/** +

Updates the properties associated with the proficiencies of a user.

+ + @param request A container for the necessary parameters to execute the UpdateUserProficiencies service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectUpdateUserProficienciesRequest + */ +- (AWSTask *)updateUserProficiencies:(AWSConnectUpdateUserProficienciesRequest *)request; + +/** +

Updates the properties associated with the proficiencies of a user.

+ + @param request A container for the necessary parameters to execute the UpdateUserProficiencies service method. + @param completionHandler The completion handler to call when the load request is complete. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectUpdateUserProficienciesRequest + */ +- (void)updateUserProficiencies:(AWSConnectUpdateUserProficienciesRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; + /**

Assigns the specified routing profile to the specified user.

diff --git a/AWSConnect/AWSConnectService.m b/AWSConnect/AWSConnectService.m index dfc0403c8b8..625426a3147 100644 --- a/AWSConnect/AWSConnectService.m +++ b/AWSConnect/AWSConnectService.m @@ -40,6 +40,7 @@ @implementation AWSConnectResponseSerializer + (void)initialize { errorCodeDictionary = @{ @"AccessDeniedException" : @(AWSConnectErrorAccessDenied), + @"ConflictException" : @(AWSConnectErrorConflict), @"ContactFlowNotPublishedException" : @(AWSConnectErrorContactFlowNotPublished), @"ContactNotFoundException" : @(AWSConnectErrorContactNotFound), @"DestinationNotAllowedException" : @(AWSConnectErrorDestinationNotAllowed), @@ -614,6 +615,28 @@ - (void)associateTrafficDistributionGroupUser:(AWSConnectAssociateTrafficDistrib }]; } +- (AWSTask *)associateUserProficiencies:(AWSConnectAssociateUserProficienciesRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"/users/{InstanceId}/{UserId}/associate-proficiencies" + targetPrefix:@"" + operationName:@"AssociateUserProficiencies" + outputClass:nil]; +} + +- (void)associateUserProficiencies:(AWSConnectAssociateUserProficienciesRequest *)request + completionHandler:(void (^)(NSError *error))completionHandler { + [[self associateUserProficiencies:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + NSError *error = task.error; + + if (completionHandler) { + completionHandler(error); + } + + return nil; + }]; +} + - (AWSTask *)batchAssociateAnalyticsDataSet:(AWSConnectBatchAssociateAnalyticsDataSetRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPUT @@ -936,6 +959,28 @@ - (void)createPersistentContactAssociation:(AWSConnectCreatePersistentContactAss }]; } +- (AWSTask *)createPredefinedAttribute:(AWSConnectCreatePredefinedAttributeRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPUT + URLString:@"/predefined-attributes/{InstanceId}" + targetPrefix:@"" + operationName:@"CreatePredefinedAttribute" + outputClass:nil]; +} + +- (void)createPredefinedAttribute:(AWSConnectCreatePredefinedAttributeRequest *)request + completionHandler:(void (^)(NSError *error))completionHandler { + [[self createPredefinedAttribute:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + NSError *error = task.error; + + if (completionHandler) { + completionHandler(error); + } + + return nil; + }]; +} + - (AWSTask *)createPrompt:(AWSConnectCreatePromptRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPUT @@ -1437,6 +1482,28 @@ - (void)deleteIntegrationAssociation:(AWSConnectDeleteIntegrationAssociationRequ }]; } +- (AWSTask *)deletePredefinedAttribute:(AWSConnectDeletePredefinedAttributeRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodDELETE + URLString:@"/predefined-attributes/{InstanceId}/{Name}" + targetPrefix:@"" + operationName:@"DeletePredefinedAttribute" + outputClass:nil]; +} + +- (void)deletePredefinedAttribute:(AWSConnectDeletePredefinedAttributeRequest *)request + completionHandler:(void (^)(NSError *error))completionHandler { + [[self deletePredefinedAttribute:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + NSError *error = task.error; + + if (completionHandler) { + completionHandler(error); + } + + return nil; + }]; +} + - (AWSTask *)deletePrompt:(AWSConnectDeletePromptRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodDELETE @@ -2003,6 +2070,29 @@ - (void)describePhoneNumber:(AWSConnectDescribePhoneNumberRequest *)request }]; } +- (AWSTask *)describePredefinedAttribute:(AWSConnectDescribePredefinedAttributeRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodGET + URLString:@"/predefined-attributes/{InstanceId}/{Name}" + targetPrefix:@"" + operationName:@"DescribePredefinedAttribute" + outputClass:[AWSConnectDescribePredefinedAttributeResponse class]]; +} + +- (void)describePredefinedAttribute:(AWSConnectDescribePredefinedAttributeRequest *)request + completionHandler:(void (^)(AWSConnectDescribePredefinedAttributeResponse *response, NSError *error))completionHandler { + [[self describePredefinedAttribute:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSConnectDescribePredefinedAttributeResponse *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)describePrompt:(AWSConnectDescribePromptRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodGET @@ -2545,6 +2635,28 @@ - (void)disassociateTrafficDistributionGroupUser:(AWSConnectDisassociateTrafficD }]; } +- (AWSTask *)disassociateUserProficiencies:(AWSConnectDisassociateUserProficienciesRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"/users/{InstanceId}/{UserId}/disassociate-proficiencies" + targetPrefix:@"" + operationName:@"DisassociateUserProficiencies" + outputClass:nil]; +} + +- (void)disassociateUserProficiencies:(AWSConnectDisassociateUserProficienciesRequest *)request + completionHandler:(void (^)(NSError *error))completionHandler { + [[self disassociateUserProficiencies:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + NSError *error = task.error; + + if (completionHandler) { + completionHandler(error); + } + + return nil; + }]; +} + - (AWSTask *)dismissUserContact:(AWSConnectDismissUserContactRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -3304,6 +3416,29 @@ - (void)listPhoneNumbersV2:(AWSConnectListPhoneNumbersV2Request *)request }]; } +- (AWSTask *)listPredefinedAttributes:(AWSConnectListPredefinedAttributesRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodGET + URLString:@"/predefined-attributes/{InstanceId}" + targetPrefix:@"" + operationName:@"ListPredefinedAttributes" + outputClass:[AWSConnectListPredefinedAttributesResponse class]]; +} + +- (void)listPredefinedAttributes:(AWSConnectListPredefinedAttributesRequest *)request + completionHandler:(void (^)(AWSConnectListPredefinedAttributesResponse *response, NSError *error))completionHandler { + [[self listPredefinedAttributes:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSConnectListPredefinedAttributesResponse *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)listPrompts:(AWSConnectListPromptsRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodGET @@ -3718,6 +3853,29 @@ - (void)listUserHierarchyGroups:(AWSConnectListUserHierarchyGroupsRequest *)requ }]; } +- (AWSTask *)listUserProficiencies:(AWSConnectListUserProficienciesRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodGET + URLString:@"/users/{InstanceId}/{UserId}/proficiencies" + targetPrefix:@"" + operationName:@"ListUserProficiencies" + outputClass:[AWSConnectListUserProficienciesResponse class]]; +} + +- (void)listUserProficiencies:(AWSConnectListUserProficienciesRequest *)request + completionHandler:(void (^)(AWSConnectListUserProficienciesResponse *response, NSError *error))completionHandler { + [[self listUserProficiencies:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSConnectListUserProficienciesResponse *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)listUsers:(AWSConnectListUsersRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodGET @@ -3810,6 +3968,29 @@ - (void)monitorContact:(AWSConnectMonitorContactRequest *)request }]; } +- (AWSTask *)pauseContact:(AWSConnectPauseContactRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"/contact/pause" + targetPrefix:@"" + operationName:@"PauseContact" + outputClass:[AWSConnectPauseContactResponse class]]; +} + +- (void)pauseContact:(AWSConnectPauseContactRequest *)request + completionHandler:(void (^)(AWSConnectPauseContactResponse *response, NSError *error))completionHandler { + [[self pauseContact:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSConnectPauseContactResponse *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)putUserStatus:(AWSConnectPutUserStatusRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPUT @@ -3878,6 +4059,29 @@ - (void)replicateInstance:(AWSConnectReplicateInstanceRequest *)request }]; } +- (AWSTask *)resumeContact:(AWSConnectResumeContactRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"/contact/resume" + targetPrefix:@"" + operationName:@"ResumeContact" + outputClass:[AWSConnectResumeContactResponse class]]; +} + +- (void)resumeContact:(AWSConnectResumeContactRequest *)request + completionHandler:(void (^)(AWSConnectResumeContactResponse *response, NSError *error))completionHandler { + [[self resumeContact:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSConnectResumeContactResponse *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)resumeContactRecording:(AWSConnectResumeContactRecordingRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -3924,6 +4128,29 @@ - (void)searchAvailablePhoneNumbers:(AWSConnectSearchAvailablePhoneNumbersReques }]; } +- (AWSTask *)searchContacts:(AWSConnectSearchContactsRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"/search-contacts" + targetPrefix:@"" + operationName:@"SearchContacts" + outputClass:[AWSConnectSearchContactsResponse class]]; +} + +- (void)searchContacts:(AWSConnectSearchContactsRequest *)request + completionHandler:(void (^)(AWSConnectSearchContactsResponse *response, NSError *error))completionHandler { + [[self searchContacts:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSConnectSearchContactsResponse *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)searchHoursOfOperations:(AWSConnectSearchHoursOfOperationsRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -3947,6 +4174,29 @@ - (void)searchHoursOfOperations:(AWSConnectSearchHoursOfOperationsRequest *)requ }]; } +- (AWSTask *)searchPredefinedAttributes:(AWSConnectSearchPredefinedAttributesRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"/search-predefined-attributes" + targetPrefix:@"" + operationName:@"SearchPredefinedAttributes" + outputClass:[AWSConnectSearchPredefinedAttributesResponse class]]; +} + +- (void)searchPredefinedAttributes:(AWSConnectSearchPredefinedAttributesRequest *)request + completionHandler:(void (^)(AWSConnectSearchPredefinedAttributesResponse *response, NSError *error))completionHandler { + [[self searchPredefinedAttributes:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSConnectSearchPredefinedAttributesResponse *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)searchPrompts:(AWSConnectSearchPromptsRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -4430,6 +4680,29 @@ - (void)suspendContactRecording:(AWSConnectSuspendContactRecordingRequest *)requ }]; } +- (AWSTask *)tagContact:(AWSConnectTagContactRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"/contact/tags" + targetPrefix:@"" + operationName:@"TagContact" + outputClass:[AWSConnectTagContactResponse class]]; +} + +- (void)tagContact:(AWSConnectTagContactRequest *)request + completionHandler:(void (^)(AWSConnectTagContactResponse *response, NSError *error))completionHandler { + [[self tagContact:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSConnectTagContactResponse *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)tagResource:(AWSConnectTagResourceRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -4475,6 +4748,29 @@ - (void)transferContact:(AWSConnectTransferContactRequest *)request }]; } +- (AWSTask *)untagContact:(AWSConnectUntagContactRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodDELETE + URLString:@"/contact/tags/{InstanceId}/{ContactId}" + targetPrefix:@"" + operationName:@"UntagContact" + outputClass:[AWSConnectUntagContactResponse class]]; +} + +- (void)untagContact:(AWSConnectUntagContactRequest *)request + completionHandler:(void (^)(AWSConnectUntagContactResponse *response, NSError *error))completionHandler { + [[self untagContact:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSConnectUntagContactResponse *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)untagResource:(AWSConnectUntagResourceRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodDELETE @@ -4703,6 +4999,29 @@ - (void)updateContactFlowName:(AWSConnectUpdateContactFlowNameRequest *)request }]; } +- (AWSTask *)updateContactRoutingData:(AWSConnectUpdateContactRoutingDataRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"/contacts/{InstanceId}/{ContactId}/routing-data" + targetPrefix:@"" + operationName:@"UpdateContactRoutingData" + outputClass:[AWSConnectUpdateContactRoutingDataResponse class]]; +} + +- (void)updateContactRoutingData:(AWSConnectUpdateContactRoutingDataRequest *)request + completionHandler:(void (^)(AWSConnectUpdateContactRoutingDataResponse *response, NSError *error))completionHandler { + [[self updateContactRoutingData:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSConnectUpdateContactRoutingDataResponse *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)updateContactSchedule:(AWSConnectUpdateContactScheduleRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -4883,6 +5202,28 @@ - (void)updatePhoneNumberMetadata:(AWSConnectUpdatePhoneNumberMetadataRequest *) }]; } +- (AWSTask *)updatePredefinedAttribute:(AWSConnectUpdatePredefinedAttributeRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"/predefined-attributes/{InstanceId}/{Name}" + targetPrefix:@"" + operationName:@"UpdatePredefinedAttribute" + outputClass:nil]; +} + +- (void)updatePredefinedAttribute:(AWSConnectUpdatePredefinedAttributeRequest *)request + completionHandler:(void (^)(NSError *error))completionHandler { + [[self updatePredefinedAttribute:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + NSError *error = task.error; + + if (completionHandler) { + completionHandler(error); + } + + return nil; + }]; +} + - (AWSTask *)updatePrompt:(AWSConnectUpdatePromptRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -5370,6 +5711,28 @@ - (void)updateUserPhoneConfig:(AWSConnectUpdateUserPhoneConfigRequest *)request }]; } +- (AWSTask *)updateUserProficiencies:(AWSConnectUpdateUserProficienciesRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"/users/{InstanceId}/{UserId}/proficiencies" + targetPrefix:@"" + operationName:@"UpdateUserProficiencies" + outputClass:nil]; +} + +- (void)updateUserProficiencies:(AWSConnectUpdateUserProficienciesRequest *)request + completionHandler:(void (^)(NSError *error))completionHandler { + [[self updateUserProficiencies:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + NSError *error = task.error; + + if (completionHandler) { + completionHandler(error); + } + + return nil; + }]; +} + - (AWSTask *)updateUserRoutingProfile:(AWSConnectUpdateUserRoutingProfileRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST diff --git a/AWSConnectUnitTests/AWSConnectNSSecureCodingTests.m b/AWSConnectUnitTests/AWSConnectNSSecureCodingTests.m index dfec5a1c48c..be75fea826e 100644 --- a/AWSConnectUnitTests/AWSConnectNSSecureCodingTests.m +++ b/AWSConnectUnitTests/AWSConnectNSSecureCodingTests.m @@ -24,6 +24,7 @@ - (void) test_AWSConnectActivateEvaluationFormRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectActivateEvaluationFormResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectAgentConfig API_AVAILABLE(ios(11)); - (void) test_AWSConnectAgentContactReference API_AVAILABLE(ios(11)); +- (void) test_AWSConnectAgentHierarchyGroups API_AVAILABLE(ios(11)); - (void) test_AWSConnectAgentInfo API_AVAILABLE(ios(11)); - (void) test_AWSConnectAgentStatus API_AVAILABLE(ios(11)); - (void) test_AWSConnectAgentStatusReference API_AVAILABLE(ios(11)); @@ -52,6 +53,7 @@ - (void) test_AWSConnectAssociateSecurityKeyRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectAssociateSecurityKeyResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectAssociateTrafficDistributionGroupUserRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectAssociateTrafficDistributionGroupUserResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectAssociateUserProficienciesRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectAttachmentReference API_AVAILABLE(ios(11)); - (void) test_AWSConnectAttendee API_AVAILABLE(ios(11)); - (void) test_AWSConnectAttribute API_AVAILABLE(ios(11)); @@ -75,15 +77,20 @@ - (void) test_AWSConnectClaimPhoneNumberResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectClaimedPhoneNumberSummary API_AVAILABLE(ios(11)); - (void) test_AWSConnectConnectionData API_AVAILABLE(ios(11)); - (void) test_AWSConnectContact API_AVAILABLE(ios(11)); +- (void) test_AWSConnectContactAnalysis API_AVAILABLE(ios(11)); - (void) test_AWSConnectContactDataRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectContactFilter API_AVAILABLE(ios(11)); - (void) test_AWSConnectContactFlow API_AVAILABLE(ios(11)); - (void) test_AWSConnectContactFlowModule API_AVAILABLE(ios(11)); - (void) test_AWSConnectContactFlowModuleSummary API_AVAILABLE(ios(11)); - (void) test_AWSConnectContactFlowSummary API_AVAILABLE(ios(11)); +- (void) test_AWSConnectContactSearchSummary API_AVAILABLE(ios(11)); +- (void) test_AWSConnectContactSearchSummaryAgentInfo API_AVAILABLE(ios(11)); +- (void) test_AWSConnectContactSearchSummaryQueueInfo API_AVAILABLE(ios(11)); - (void) test_AWSConnectControlPlaneTagFilter API_AVAILABLE(ios(11)); - (void) test_AWSConnectCreateAgentStatusRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectCreateAgentStatusResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectCreateCaseActionDefinition API_AVAILABLE(ios(11)); - (void) test_AWSConnectCreateContactFlowModuleRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectCreateContactFlowModuleResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectCreateContactFlowRequest API_AVAILABLE(ios(11)); @@ -100,6 +107,7 @@ - (void) test_AWSConnectCreateParticipantRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectCreateParticipantResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectCreatePersistentContactAssociationRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectCreatePersistentContactAssociationResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectCreatePredefinedAttributeRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectCreatePromptRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectCreatePromptResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectCreateQueueRequest API_AVAILABLE(ios(11)); @@ -147,6 +155,7 @@ - (void) test_AWSConnectDeleteEvaluationFormRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDeleteHoursOfOperationRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDeleteInstanceRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDeleteIntegrationAssociationRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectDeletePredefinedAttributeRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDeletePromptRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDeleteQueueRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDeleteQuickConnectRequest API_AVAILABLE(ios(11)); @@ -188,6 +197,8 @@ - (void) test_AWSConnectDescribeInstanceStorageConfigRequest API_AVAILABLE(ios(1 - (void) test_AWSConnectDescribeInstanceStorageConfigResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectDescribePhoneNumberRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDescribePhoneNumberResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectDescribePredefinedAttributeRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectDescribePredefinedAttributeResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectDescribePromptRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDescribePromptResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectDescribeQueueRequest API_AVAILABLE(ios(11)); @@ -227,12 +238,15 @@ - (void) test_AWSConnectDisassociateRoutingProfileQueuesRequest API_AVAILABLE(io - (void) test_AWSConnectDisassociateSecurityKeyRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDisassociateTrafficDistributionGroupUserRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDisassociateTrafficDistributionGroupUserResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectDisassociateUserProficienciesRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDisconnectReason API_AVAILABLE(ios(11)); - (void) test_AWSConnectDismissUserContactRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectDismissUserContactResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectDistribution API_AVAILABLE(ios(11)); - (void) test_AWSConnectEmailReference API_AVAILABLE(ios(11)); +- (void) test_AWSConnectEmptyFieldValue API_AVAILABLE(ios(11)); - (void) test_AWSConnectEncryptionConfig API_AVAILABLE(ios(11)); +- (void) test_AWSConnectEndAssociatedTasksActionDefinition API_AVAILABLE(ios(11)); - (void) test_AWSConnectEndpoint API_AVAILABLE(ios(11)); - (void) test_AWSConnectErrorResult API_AVAILABLE(ios(11)); - (void) test_AWSConnectEvaluation API_AVAILABLE(ios(11)); @@ -261,6 +275,8 @@ - (void) test_AWSConnectEvaluationScore API_AVAILABLE(ios(11)); - (void) test_AWSConnectEvaluationSummary API_AVAILABLE(ios(11)); - (void) test_AWSConnectEventBridgeActionDefinition API_AVAILABLE(ios(11)); - (void) test_AWSConnectFailedRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectFieldValue API_AVAILABLE(ios(11)); +- (void) test_AWSConnectFieldValueUnion API_AVAILABLE(ios(11)); - (void) test_AWSConnectFilterV2 API_AVAILABLE(ios(11)); - (void) test_AWSConnectFilters API_AVAILABLE(ios(11)); - (void) test_AWSConnectFlowAssociationSummary API_AVAILABLE(ios(11)); @@ -361,6 +377,8 @@ - (void) test_AWSConnectListPhoneNumbersResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectListPhoneNumbersSummary API_AVAILABLE(ios(11)); - (void) test_AWSConnectListPhoneNumbersV2Request API_AVAILABLE(ios(11)); - (void) test_AWSConnectListPhoneNumbersV2Response API_AVAILABLE(ios(11)); +- (void) test_AWSConnectListPredefinedAttributesRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectListPredefinedAttributesResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectListPromptsRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectListPromptsResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectListQueueQuickConnectsRequest API_AVAILABLE(ios(11)); @@ -397,6 +415,8 @@ - (void) test_AWSConnectListUseCasesRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectListUseCasesResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectListUserHierarchyGroupsRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectListUserHierarchyGroupsResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectListUserProficienciesRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectListUserProficienciesResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectListUsersRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectListUsersResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectListViewVersionsRequest API_AVAILABLE(ios(11)); @@ -425,10 +445,16 @@ - (void) test_AWSConnectParticipantDetailsToAdd API_AVAILABLE(ios(11)); - (void) test_AWSConnectParticipantTimerConfiguration API_AVAILABLE(ios(11)); - (void) test_AWSConnectParticipantTimerValue API_AVAILABLE(ios(11)); - (void) test_AWSConnectParticipantTokenCredentials API_AVAILABLE(ios(11)); +- (void) test_AWSConnectPauseContactRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectPauseContactResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectPersistentChat API_AVAILABLE(ios(11)); - (void) test_AWSConnectPhoneNumberQuickConnectConfig API_AVAILABLE(ios(11)); - (void) test_AWSConnectPhoneNumberStatus API_AVAILABLE(ios(11)); - (void) test_AWSConnectPhoneNumberSummary API_AVAILABLE(ios(11)); +- (void) test_AWSConnectPredefinedAttribute API_AVAILABLE(ios(11)); +- (void) test_AWSConnectPredefinedAttributeSearchCriteria API_AVAILABLE(ios(11)); +- (void) test_AWSConnectPredefinedAttributeSummary API_AVAILABLE(ios(11)); +- (void) test_AWSConnectPredefinedAttributeValues API_AVAILABLE(ios(11)); - (void) test_AWSConnectProblemDetail API_AVAILABLE(ios(11)); - (void) test_AWSConnectPrompt API_AVAILABLE(ios(11)); - (void) test_AWSConnectPromptSearchCriteria API_AVAILABLE(ios(11)); @@ -474,6 +500,8 @@ - (void) test_AWSConnectRequiredFieldInfo API_AVAILABLE(ios(11)); - (void) test_AWSConnectResourceTagsSearchCriteria API_AVAILABLE(ios(11)); - (void) test_AWSConnectResumeContactRecordingRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectResumeContactRecordingResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectResumeContactRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectResumeContactResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectRoutingProfile API_AVAILABLE(ios(11)); - (void) test_AWSConnectRoutingProfileQueueConfig API_AVAILABLE(ios(11)); - (void) test_AWSConnectRoutingProfileQueueConfigSummary API_AVAILABLE(ios(11)); @@ -489,8 +517,14 @@ - (void) test_AWSConnectRuleTriggerEventSource API_AVAILABLE(ios(11)); - (void) test_AWSConnectS3Config API_AVAILABLE(ios(11)); - (void) test_AWSConnectSearchAvailablePhoneNumbersRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectSearchAvailablePhoneNumbersResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectSearchContactsRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectSearchContactsResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectSearchContactsTimeRange API_AVAILABLE(ios(11)); +- (void) test_AWSConnectSearchCriteria API_AVAILABLE(ios(11)); - (void) test_AWSConnectSearchHoursOfOperationsRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectSearchHoursOfOperationsResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectSearchPredefinedAttributesRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectSearchPredefinedAttributesResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectSearchPromptsRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectSearchPromptsResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectSearchQueuesRequest API_AVAILABLE(ios(11)); @@ -507,6 +541,8 @@ - (void) test_AWSConnectSearchUsersRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectSearchUsersResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectSearchVocabulariesRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectSearchVocabulariesResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectSearchableContactAttributes API_AVAILABLE(ios(11)); +- (void) test_AWSConnectSearchableContactAttributesCriteria API_AVAILABLE(ios(11)); - (void) test_AWSConnectSecurityKey API_AVAILABLE(ios(11)); - (void) test_AWSConnectSecurityProfile API_AVAILABLE(ios(11)); - (void) test_AWSConnectSecurityProfileSearchCriteria API_AVAILABLE(ios(11)); @@ -520,6 +556,7 @@ - (void) test_AWSConnectSendNotificationActionDefinition API_AVAILABLE(ios(11)); - (void) test_AWSConnectSignInConfig API_AVAILABLE(ios(11)); - (void) test_AWSConnectSignInDistribution API_AVAILABLE(ios(11)); - (void) test_AWSConnectSingleSelectQuestionRuleCategoryAutomation API_AVAILABLE(ios(11)); +- (void) test_AWSConnectSort API_AVAILABLE(ios(11)); - (void) test_AWSConnectStartChatContactRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectStartChatContactResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectStartContactEvaluationRequest API_AVAILABLE(ios(11)); @@ -548,6 +585,8 @@ - (void) test_AWSConnectSuccessfulRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectSuspendContactRecordingRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectSuspendContactRecordingResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectTagCondition API_AVAILABLE(ios(11)); +- (void) test_AWSConnectTagContactRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectTagContactResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectTagResourceRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectTagSearchCondition API_AVAILABLE(ios(11)); - (void) test_AWSConnectTagSet API_AVAILABLE(ios(11)); @@ -564,10 +603,15 @@ - (void) test_AWSConnectThresholdV2 API_AVAILABLE(ios(11)); - (void) test_AWSConnectTrafficDistributionGroup API_AVAILABLE(ios(11)); - (void) test_AWSConnectTrafficDistributionGroupSummary API_AVAILABLE(ios(11)); - (void) test_AWSConnectTrafficDistributionGroupUserSummary API_AVAILABLE(ios(11)); +- (void) test_AWSConnectTranscript API_AVAILABLE(ios(11)); +- (void) test_AWSConnectTranscriptCriteria API_AVAILABLE(ios(11)); - (void) test_AWSConnectTransferContactRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectTransferContactResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectUntagContactRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectUntagContactResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectUntagResourceRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateAgentStatusRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectUpdateCaseActionDefinition API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateContactAttributesRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateContactAttributesResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateContactEvaluationRequest API_AVAILABLE(ios(11)); @@ -584,6 +628,8 @@ - (void) test_AWSConnectUpdateContactFlowNameRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateContactFlowNameResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateContactRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateContactResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectUpdateContactRoutingDataRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectUpdateContactRoutingDataResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateContactScheduleRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateContactScheduleResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateEvaluationFormRequest API_AVAILABLE(ios(11)); @@ -597,6 +643,7 @@ - (void) test_AWSConnectUpdateParticipantRoleConfigResponse API_AVAILABLE(ios(11 - (void) test_AWSConnectUpdatePhoneNumberMetadataRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdatePhoneNumberRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdatePhoneNumberResponse API_AVAILABLE(ios(11)); +- (void) test_AWSConnectUpdatePredefinedAttributeRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdatePromptRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdatePromptResponse API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateQueueHoursOfOperationRequest API_AVAILABLE(ios(11)); @@ -622,6 +669,7 @@ - (void) test_AWSConnectUpdateUserHierarchyRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateUserHierarchyStructureRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateUserIdentityInfoRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateUserPhoneConfigRequest API_AVAILABLE(ios(11)); +- (void) test_AWSConnectUpdateUserProficienciesRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateUserRoutingProfileRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateUserSecurityProfilesRequest API_AVAILABLE(ios(11)); - (void) test_AWSConnectUpdateViewContentRequest API_AVAILABLE(ios(11)); @@ -636,6 +684,8 @@ - (void) test_AWSConnectUserDataFilters API_AVAILABLE(ios(11)); - (void) test_AWSConnectUserIdentityInfo API_AVAILABLE(ios(11)); - (void) test_AWSConnectUserIdentityInfoLite API_AVAILABLE(ios(11)); - (void) test_AWSConnectUserPhoneConfig API_AVAILABLE(ios(11)); +- (void) test_AWSConnectUserProficiency API_AVAILABLE(ios(11)); +- (void) test_AWSConnectUserProficiencyDisassociate API_AVAILABLE(ios(11)); - (void) test_AWSConnectUserQuickConnectConfig API_AVAILABLE(ios(11)); - (void) test_AWSConnectUserReference API_AVAILABLE(ios(11)); - (void) test_AWSConnectUserSearchCriteria API_AVAILABLE(ios(11)); @@ -676,6 +726,10 @@ - (void) test_AWSConnectAgentContactReference { [self validateSecureCodingForClass:[AWSConnectAgentContactReference class]]; } +- (void) test_AWSConnectAgentHierarchyGroups { + [self validateSecureCodingForClass:[AWSConnectAgentHierarchyGroups class]]; +} + - (void) test_AWSConnectAgentInfo { [self validateSecureCodingForClass:[AWSConnectAgentInfo class]]; } @@ -788,6 +842,10 @@ - (void) test_AWSConnectAssociateTrafficDistributionGroupUserResponse { [self validateSecureCodingForClass:[AWSConnectAssociateTrafficDistributionGroupUserResponse class]]; } +- (void) test_AWSConnectAssociateUserProficienciesRequest { + [self validateSecureCodingForClass:[AWSConnectAssociateUserProficienciesRequest class]]; +} + - (void) test_AWSConnectAttachmentReference { [self validateSecureCodingForClass:[AWSConnectAttachmentReference class]]; } @@ -880,6 +938,10 @@ - (void) test_AWSConnectContact { [self validateSecureCodingForClass:[AWSConnectContact class]]; } +- (void) test_AWSConnectContactAnalysis { + [self validateSecureCodingForClass:[AWSConnectContactAnalysis class]]; +} + - (void) test_AWSConnectContactDataRequest { [self validateSecureCodingForClass:[AWSConnectContactDataRequest class]]; } @@ -904,6 +966,18 @@ - (void) test_AWSConnectContactFlowSummary { [self validateSecureCodingForClass:[AWSConnectContactFlowSummary class]]; } +- (void) test_AWSConnectContactSearchSummary { + [self validateSecureCodingForClass:[AWSConnectContactSearchSummary class]]; +} + +- (void) test_AWSConnectContactSearchSummaryAgentInfo { + [self validateSecureCodingForClass:[AWSConnectContactSearchSummaryAgentInfo class]]; +} + +- (void) test_AWSConnectContactSearchSummaryQueueInfo { + [self validateSecureCodingForClass:[AWSConnectContactSearchSummaryQueueInfo class]]; +} + - (void) test_AWSConnectControlPlaneTagFilter { [self validateSecureCodingForClass:[AWSConnectControlPlaneTagFilter class]]; } @@ -916,6 +990,10 @@ - (void) test_AWSConnectCreateAgentStatusResponse { [self validateSecureCodingForClass:[AWSConnectCreateAgentStatusResponse class]]; } +- (void) test_AWSConnectCreateCaseActionDefinition { + [self validateSecureCodingForClass:[AWSConnectCreateCaseActionDefinition class]]; +} + - (void) test_AWSConnectCreateContactFlowModuleRequest { [self validateSecureCodingForClass:[AWSConnectCreateContactFlowModuleRequest class]]; } @@ -980,6 +1058,10 @@ - (void) test_AWSConnectCreatePersistentContactAssociationResponse { [self validateSecureCodingForClass:[AWSConnectCreatePersistentContactAssociationResponse class]]; } +- (void) test_AWSConnectCreatePredefinedAttributeRequest { + [self validateSecureCodingForClass:[AWSConnectCreatePredefinedAttributeRequest class]]; +} + - (void) test_AWSConnectCreatePromptRequest { [self validateSecureCodingForClass:[AWSConnectCreatePromptRequest class]]; } @@ -1168,6 +1250,10 @@ - (void) test_AWSConnectDeleteIntegrationAssociationRequest { [self validateSecureCodingForClass:[AWSConnectDeleteIntegrationAssociationRequest class]]; } +- (void) test_AWSConnectDeletePredefinedAttributeRequest { + [self validateSecureCodingForClass:[AWSConnectDeletePredefinedAttributeRequest class]]; +} + - (void) test_AWSConnectDeletePromptRequest { [self validateSecureCodingForClass:[AWSConnectDeletePromptRequest class]]; } @@ -1332,6 +1418,14 @@ - (void) test_AWSConnectDescribePhoneNumberResponse { [self validateSecureCodingForClass:[AWSConnectDescribePhoneNumberResponse class]]; } +- (void) test_AWSConnectDescribePredefinedAttributeRequest { + [self validateSecureCodingForClass:[AWSConnectDescribePredefinedAttributeRequest class]]; +} + +- (void) test_AWSConnectDescribePredefinedAttributeResponse { + [self validateSecureCodingForClass:[AWSConnectDescribePredefinedAttributeResponse class]]; +} + - (void) test_AWSConnectDescribePromptRequest { [self validateSecureCodingForClass:[AWSConnectDescribePromptRequest class]]; } @@ -1488,6 +1582,10 @@ - (void) test_AWSConnectDisassociateTrafficDistributionGroupUserResponse { [self validateSecureCodingForClass:[AWSConnectDisassociateTrafficDistributionGroupUserResponse class]]; } +- (void) test_AWSConnectDisassociateUserProficienciesRequest { + [self validateSecureCodingForClass:[AWSConnectDisassociateUserProficienciesRequest class]]; +} + - (void) test_AWSConnectDisconnectReason { [self validateSecureCodingForClass:[AWSConnectDisconnectReason class]]; } @@ -1508,10 +1606,18 @@ - (void) test_AWSConnectEmailReference { [self validateSecureCodingForClass:[AWSConnectEmailReference class]]; } +- (void) test_AWSConnectEmptyFieldValue { + [self validateSecureCodingForClass:[AWSConnectEmptyFieldValue class]]; +} + - (void) test_AWSConnectEncryptionConfig { [self validateSecureCodingForClass:[AWSConnectEncryptionConfig class]]; } +- (void) test_AWSConnectEndAssociatedTasksActionDefinition { + [self validateSecureCodingForClass:[AWSConnectEndAssociatedTasksActionDefinition class]]; +} + - (void) test_AWSConnectEndpoint { [self validateSecureCodingForClass:[AWSConnectEndpoint class]]; } @@ -1624,6 +1730,14 @@ - (void) test_AWSConnectFailedRequest { [self validateSecureCodingForClass:[AWSConnectFailedRequest class]]; } +- (void) test_AWSConnectFieldValue { + [self validateSecureCodingForClass:[AWSConnectFieldValue class]]; +} + +- (void) test_AWSConnectFieldValueUnion { + [self validateSecureCodingForClass:[AWSConnectFieldValueUnion class]]; +} + - (void) test_AWSConnectFilterV2 { [self validateSecureCodingForClass:[AWSConnectFilterV2 class]]; } @@ -2024,6 +2138,14 @@ - (void) test_AWSConnectListPhoneNumbersV2Response { [self validateSecureCodingForClass:[AWSConnectListPhoneNumbersV2Response class]]; } +- (void) test_AWSConnectListPredefinedAttributesRequest { + [self validateSecureCodingForClass:[AWSConnectListPredefinedAttributesRequest class]]; +} + +- (void) test_AWSConnectListPredefinedAttributesResponse { + [self validateSecureCodingForClass:[AWSConnectListPredefinedAttributesResponse class]]; +} + - (void) test_AWSConnectListPromptsRequest { [self validateSecureCodingForClass:[AWSConnectListPromptsRequest class]]; } @@ -2168,6 +2290,14 @@ - (void) test_AWSConnectListUserHierarchyGroupsResponse { [self validateSecureCodingForClass:[AWSConnectListUserHierarchyGroupsResponse class]]; } +- (void) test_AWSConnectListUserProficienciesRequest { + [self validateSecureCodingForClass:[AWSConnectListUserProficienciesRequest class]]; +} + +- (void) test_AWSConnectListUserProficienciesResponse { + [self validateSecureCodingForClass:[AWSConnectListUserProficienciesResponse class]]; +} + - (void) test_AWSConnectListUsersRequest { [self validateSecureCodingForClass:[AWSConnectListUsersRequest class]]; } @@ -2280,6 +2410,14 @@ - (void) test_AWSConnectParticipantTokenCredentials { [self validateSecureCodingForClass:[AWSConnectParticipantTokenCredentials class]]; } +- (void) test_AWSConnectPauseContactRequest { + [self validateSecureCodingForClass:[AWSConnectPauseContactRequest class]]; +} + +- (void) test_AWSConnectPauseContactResponse { + [self validateSecureCodingForClass:[AWSConnectPauseContactResponse class]]; +} + - (void) test_AWSConnectPersistentChat { [self validateSecureCodingForClass:[AWSConnectPersistentChat class]]; } @@ -2296,6 +2434,22 @@ - (void) test_AWSConnectPhoneNumberSummary { [self validateSecureCodingForClass:[AWSConnectPhoneNumberSummary class]]; } +- (void) test_AWSConnectPredefinedAttribute { + [self validateSecureCodingForClass:[AWSConnectPredefinedAttribute class]]; +} + +- (void) test_AWSConnectPredefinedAttributeSearchCriteria { + [self validateSecureCodingForClass:[AWSConnectPredefinedAttributeSearchCriteria class]]; +} + +- (void) test_AWSConnectPredefinedAttributeSummary { + [self validateSecureCodingForClass:[AWSConnectPredefinedAttributeSummary class]]; +} + +- (void) test_AWSConnectPredefinedAttributeValues { + [self validateSecureCodingForClass:[AWSConnectPredefinedAttributeValues class]]; +} + - (void) test_AWSConnectProblemDetail { [self validateSecureCodingForClass:[AWSConnectProblemDetail class]]; } @@ -2476,6 +2630,14 @@ - (void) test_AWSConnectResumeContactRecordingResponse { [self validateSecureCodingForClass:[AWSConnectResumeContactRecordingResponse class]]; } +- (void) test_AWSConnectResumeContactRequest { + [self validateSecureCodingForClass:[AWSConnectResumeContactRequest class]]; +} + +- (void) test_AWSConnectResumeContactResponse { + [self validateSecureCodingForClass:[AWSConnectResumeContactResponse class]]; +} + - (void) test_AWSConnectRoutingProfile { [self validateSecureCodingForClass:[AWSConnectRoutingProfile class]]; } @@ -2536,6 +2698,22 @@ - (void) test_AWSConnectSearchAvailablePhoneNumbersResponse { [self validateSecureCodingForClass:[AWSConnectSearchAvailablePhoneNumbersResponse class]]; } +- (void) test_AWSConnectSearchContactsRequest { + [self validateSecureCodingForClass:[AWSConnectSearchContactsRequest class]]; +} + +- (void) test_AWSConnectSearchContactsResponse { + [self validateSecureCodingForClass:[AWSConnectSearchContactsResponse class]]; +} + +- (void) test_AWSConnectSearchContactsTimeRange { + [self validateSecureCodingForClass:[AWSConnectSearchContactsTimeRange class]]; +} + +- (void) test_AWSConnectSearchCriteria { + [self validateSecureCodingForClass:[AWSConnectSearchCriteria class]]; +} + - (void) test_AWSConnectSearchHoursOfOperationsRequest { [self validateSecureCodingForClass:[AWSConnectSearchHoursOfOperationsRequest class]]; } @@ -2544,6 +2722,14 @@ - (void) test_AWSConnectSearchHoursOfOperationsResponse { [self validateSecureCodingForClass:[AWSConnectSearchHoursOfOperationsResponse class]]; } +- (void) test_AWSConnectSearchPredefinedAttributesRequest { + [self validateSecureCodingForClass:[AWSConnectSearchPredefinedAttributesRequest class]]; +} + +- (void) test_AWSConnectSearchPredefinedAttributesResponse { + [self validateSecureCodingForClass:[AWSConnectSearchPredefinedAttributesResponse class]]; +} + - (void) test_AWSConnectSearchPromptsRequest { [self validateSecureCodingForClass:[AWSConnectSearchPromptsRequest class]]; } @@ -2608,6 +2794,14 @@ - (void) test_AWSConnectSearchVocabulariesResponse { [self validateSecureCodingForClass:[AWSConnectSearchVocabulariesResponse class]]; } +- (void) test_AWSConnectSearchableContactAttributes { + [self validateSecureCodingForClass:[AWSConnectSearchableContactAttributes class]]; +} + +- (void) test_AWSConnectSearchableContactAttributesCriteria { + [self validateSecureCodingForClass:[AWSConnectSearchableContactAttributesCriteria class]]; +} + - (void) test_AWSConnectSecurityKey { [self validateSecureCodingForClass:[AWSConnectSecurityKey class]]; } @@ -2660,6 +2854,10 @@ - (void) test_AWSConnectSingleSelectQuestionRuleCategoryAutomation { [self validateSecureCodingForClass:[AWSConnectSingleSelectQuestionRuleCategoryAutomation class]]; } +- (void) test_AWSConnectSort { + [self validateSecureCodingForClass:[AWSConnectSort class]]; +} + - (void) test_AWSConnectStartChatContactRequest { [self validateSecureCodingForClass:[AWSConnectStartChatContactRequest class]]; } @@ -2772,6 +2970,14 @@ - (void) test_AWSConnectTagCondition { [self validateSecureCodingForClass:[AWSConnectTagCondition class]]; } +- (void) test_AWSConnectTagContactRequest { + [self validateSecureCodingForClass:[AWSConnectTagContactRequest class]]; +} + +- (void) test_AWSConnectTagContactResponse { + [self validateSecureCodingForClass:[AWSConnectTagContactResponse class]]; +} + - (void) test_AWSConnectTagResourceRequest { [self validateSecureCodingForClass:[AWSConnectTagResourceRequest class]]; } @@ -2836,6 +3042,14 @@ - (void) test_AWSConnectTrafficDistributionGroupUserSummary { [self validateSecureCodingForClass:[AWSConnectTrafficDistributionGroupUserSummary class]]; } +- (void) test_AWSConnectTranscript { + [self validateSecureCodingForClass:[AWSConnectTranscript class]]; +} + +- (void) test_AWSConnectTranscriptCriteria { + [self validateSecureCodingForClass:[AWSConnectTranscriptCriteria class]]; +} + - (void) test_AWSConnectTransferContactRequest { [self validateSecureCodingForClass:[AWSConnectTransferContactRequest class]]; } @@ -2844,6 +3058,14 @@ - (void) test_AWSConnectTransferContactResponse { [self validateSecureCodingForClass:[AWSConnectTransferContactResponse class]]; } +- (void) test_AWSConnectUntagContactRequest { + [self validateSecureCodingForClass:[AWSConnectUntagContactRequest class]]; +} + +- (void) test_AWSConnectUntagContactResponse { + [self validateSecureCodingForClass:[AWSConnectUntagContactResponse class]]; +} + - (void) test_AWSConnectUntagResourceRequest { [self validateSecureCodingForClass:[AWSConnectUntagResourceRequest class]]; } @@ -2852,6 +3074,10 @@ - (void) test_AWSConnectUpdateAgentStatusRequest { [self validateSecureCodingForClass:[AWSConnectUpdateAgentStatusRequest class]]; } +- (void) test_AWSConnectUpdateCaseActionDefinition { + [self validateSecureCodingForClass:[AWSConnectUpdateCaseActionDefinition class]]; +} + - (void) test_AWSConnectUpdateContactAttributesRequest { [self validateSecureCodingForClass:[AWSConnectUpdateContactAttributesRequest class]]; } @@ -2916,6 +3142,14 @@ - (void) test_AWSConnectUpdateContactResponse { [self validateSecureCodingForClass:[AWSConnectUpdateContactResponse class]]; } +- (void) test_AWSConnectUpdateContactRoutingDataRequest { + [self validateSecureCodingForClass:[AWSConnectUpdateContactRoutingDataRequest class]]; +} + +- (void) test_AWSConnectUpdateContactRoutingDataResponse { + [self validateSecureCodingForClass:[AWSConnectUpdateContactRoutingDataResponse class]]; +} + - (void) test_AWSConnectUpdateContactScheduleRequest { [self validateSecureCodingForClass:[AWSConnectUpdateContactScheduleRequest class]]; } @@ -2968,6 +3202,10 @@ - (void) test_AWSConnectUpdatePhoneNumberResponse { [self validateSecureCodingForClass:[AWSConnectUpdatePhoneNumberResponse class]]; } +- (void) test_AWSConnectUpdatePredefinedAttributeRequest { + [self validateSecureCodingForClass:[AWSConnectUpdatePredefinedAttributeRequest class]]; +} + - (void) test_AWSConnectUpdatePromptRequest { [self validateSecureCodingForClass:[AWSConnectUpdatePromptRequest class]]; } @@ -3068,6 +3306,10 @@ - (void) test_AWSConnectUpdateUserPhoneConfigRequest { [self validateSecureCodingForClass:[AWSConnectUpdateUserPhoneConfigRequest class]]; } +- (void) test_AWSConnectUpdateUserProficienciesRequest { + [self validateSecureCodingForClass:[AWSConnectUpdateUserProficienciesRequest class]]; +} + - (void) test_AWSConnectUpdateUserRoutingProfileRequest { [self validateSecureCodingForClass:[AWSConnectUpdateUserRoutingProfileRequest class]]; } @@ -3124,6 +3366,14 @@ - (void) test_AWSConnectUserPhoneConfig { [self validateSecureCodingForClass:[AWSConnectUserPhoneConfig class]]; } +- (void) test_AWSConnectUserProficiency { + [self validateSecureCodingForClass:[AWSConnectUserProficiency class]]; +} + +- (void) test_AWSConnectUserProficiencyDisassociate { + [self validateSecureCodingForClass:[AWSConnectUserProficiencyDisassociate class]]; +} + - (void) test_AWSConnectUserQuickConnectConfig { [self validateSecureCodingForClass:[AWSConnectUserQuickConnectConfig class]]; } diff --git a/AWSConnectUnitTests/AWSGeneralConnectTests.m b/AWSConnectUnitTests/AWSGeneralConnectTests.m index 85294fb866d..0d582b05694 100644 --- a/AWSConnectUnitTests/AWSGeneralConnectTests.m +++ b/AWSConnectUnitTests/AWSGeneralConnectTests.m @@ -722,6 +722,53 @@ - (void)testAssociateTrafficDistributionGroupUserCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testAssociateUserProficiencies { + NSString *key = @"testAssociateUserProficiencies"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] associateUserProficiencies:[AWSConnectAssociateUserProficienciesRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testAssociateUserProficienciesCompletionHandler { + NSString *key = @"testAssociateUserProficiencies"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] associateUserProficiencies:[AWSConnectAssociateUserProficienciesRequest new] completionHandler:^(NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testBatchAssociateAnalyticsDataSet { NSString *key = @"testBatchAssociateAnalyticsDataSet"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -1394,6 +1441,53 @@ - (void)testCreatePersistentContactAssociationCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testCreatePredefinedAttribute { + NSString *key = @"testCreatePredefinedAttribute"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] createPredefinedAttribute:[AWSConnectCreatePredefinedAttributeRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testCreatePredefinedAttributeCompletionHandler { + NSString *key = @"testCreatePredefinedAttribute"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] createPredefinedAttribute:[AWSConnectCreatePredefinedAttributeRequest new] completionHandler:^(NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testCreatePrompt { NSString *key = @"testCreatePrompt"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -2445,6 +2539,53 @@ - (void)testDeleteIntegrationAssociationCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testDeletePredefinedAttribute { + NSString *key = @"testDeletePredefinedAttribute"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] deletePredefinedAttribute:[AWSConnectDeletePredefinedAttributeRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testDeletePredefinedAttributeCompletionHandler { + NSString *key = @"testDeletePredefinedAttribute"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] deletePredefinedAttribute:[AWSConnectDeletePredefinedAttributeRequest new] completionHandler:^(NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testDeletePrompt { NSString *key = @"testDeletePrompt"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -3636,6 +3777,54 @@ - (void)testDescribePhoneNumberCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testDescribePredefinedAttribute { + NSString *key = @"testDescribePredefinedAttribute"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] describePredefinedAttribute:[AWSConnectDescribePredefinedAttributeRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testDescribePredefinedAttributeCompletionHandler { + NSString *key = @"testDescribePredefinedAttribute"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] describePredefinedAttribute:[AWSConnectDescribePredefinedAttributeRequest new] completionHandler:^(AWSConnectDescribePredefinedAttributeResponse* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testDescribePrompt { NSString *key = @"testDescribePrompt"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -4778,6 +4967,53 @@ - (void)testDisassociateTrafficDistributionGroupUserCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testDisassociateUserProficiencies { + NSString *key = @"testDisassociateUserProficiencies"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] disassociateUserProficiencies:[AWSConnectDisassociateUserProficienciesRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testDisassociateUserProficienciesCompletionHandler { + NSString *key = @"testDisassociateUserProficiencies"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] disassociateUserProficiencies:[AWSConnectDisassociateUserProficienciesRequest new] completionHandler:^(NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testDismissUserContact { NSString *key = @"testDismissUserContact"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -6362,6 +6598,54 @@ - (void)testListPhoneNumbersV2CompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testListPredefinedAttributes { + NSString *key = @"testListPredefinedAttributes"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] listPredefinedAttributes:[AWSConnectListPredefinedAttributesRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testListPredefinedAttributesCompletionHandler { + NSString *key = @"testListPredefinedAttributes"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] listPredefinedAttributes:[AWSConnectListPredefinedAttributesRequest new] completionHandler:^(AWSConnectListPredefinedAttributesResponse* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testListPrompts { NSString *key = @"testListPrompts"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -7226,8 +7510,8 @@ - (void)testListUserHierarchyGroupsCompletionHandler { [AWSConnect removeConnectForKey:key]; } -- (void)testListUsers { - NSString *key = @"testListUsers"; +- (void)testListUserProficiencies { + NSString *key = @"testListUserProficiencies"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; @@ -7235,7 +7519,7 @@ - (void)testListUsers { XCTAssertNotNil(awsClient); XCTAssertNotNil(mockNetworking); [awsClient setValue:mockNetworking forKey:@"networking"]; - [[[[AWSConnect ConnectForKey:key] listUsers:[AWSConnectListUsersRequest new]] continueWithBlock:^id(AWSTask *task) { + [[[[AWSConnect ConnectForKey:key] listUserProficiencies:[AWSConnectListUserProficienciesRequest new]] continueWithBlock:^id(AWSTask *task) { XCTAssertNotNil(task.error); XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); XCTAssertEqual(8848, task.error.code); @@ -7248,8 +7532,8 @@ - (void)testListUsers { [AWSConnect removeConnectForKey:key]; } -- (void)testListUsersCompletionHandler { - NSString *key = @"testListUsers"; +- (void)testListUserProficienciesCompletionHandler { + NSString *key = @"testListUserProficiencies"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; @@ -7260,7 +7544,7 @@ - (void)testListUsersCompletionHandler { dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); - [[AWSConnect ConnectForKey:key] listUsers:[AWSConnectListUsersRequest new] completionHandler:^(AWSConnectListUsersResponse* _Nullable response, NSError * _Nullable error) { + [[AWSConnect ConnectForKey:key] listUserProficiencies:[AWSConnectListUserProficienciesRequest new] completionHandler:^(AWSConnectListUserProficienciesResponse* _Nullable response, NSError * _Nullable error) { XCTAssertNotNil(error); XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); XCTAssertEqual(8848, error.code); @@ -7274,8 +7558,56 @@ - (void)testListUsersCompletionHandler { [AWSConnect removeConnectForKey:key]; } -- (void)testListViewVersions { - NSString *key = @"testListViewVersions"; +- (void)testListUsers { + NSString *key = @"testListUsers"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] listUsers:[AWSConnectListUsersRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testListUsersCompletionHandler { + NSString *key = @"testListUsers"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] listUsers:[AWSConnectListUsersRequest new] completionHandler:^(AWSConnectListUsersResponse* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testListViewVersions { + NSString *key = @"testListViewVersions"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; @@ -7418,6 +7750,54 @@ - (void)testMonitorContactCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testPauseContact { + NSString *key = @"testPauseContact"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] pauseContact:[AWSConnectPauseContactRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testPauseContactCompletionHandler { + NSString *key = @"testPauseContact"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] pauseContact:[AWSConnectPauseContactRequest new] completionHandler:^(AWSConnectPauseContactResponse* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testPutUserStatus { NSString *key = @"testPutUserStatus"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -7561,6 +7941,54 @@ - (void)testReplicateInstanceCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testResumeContact { + NSString *key = @"testResumeContact"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] resumeContact:[AWSConnectResumeContactRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testResumeContactCompletionHandler { + NSString *key = @"testResumeContact"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] resumeContact:[AWSConnectResumeContactRequest new] completionHandler:^(AWSConnectResumeContactResponse* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testResumeContactRecording { NSString *key = @"testResumeContactRecording"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -7657,6 +8085,54 @@ - (void)testSearchAvailablePhoneNumbersCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testSearchContacts { + NSString *key = @"testSearchContacts"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] searchContacts:[AWSConnectSearchContactsRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testSearchContactsCompletionHandler { + NSString *key = @"testSearchContacts"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] searchContacts:[AWSConnectSearchContactsRequest new] completionHandler:^(AWSConnectSearchContactsResponse* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testSearchHoursOfOperations { NSString *key = @"testSearchHoursOfOperations"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -7705,6 +8181,54 @@ - (void)testSearchHoursOfOperationsCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testSearchPredefinedAttributes { + NSString *key = @"testSearchPredefinedAttributes"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] searchPredefinedAttributes:[AWSConnectSearchPredefinedAttributesRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testSearchPredefinedAttributesCompletionHandler { + NSString *key = @"testSearchPredefinedAttributes"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] searchPredefinedAttributes:[AWSConnectSearchPredefinedAttributesRequest new] completionHandler:^(AWSConnectSearchPredefinedAttributesResponse* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testSearchPrompts { NSString *key = @"testSearchPrompts"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -8713,6 +9237,54 @@ - (void)testSuspendContactRecordingCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testTagContact { + NSString *key = @"testTagContact"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] tagContact:[AWSConnectTagContactRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testTagContactCompletionHandler { + NSString *key = @"testTagContact"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] tagContact:[AWSConnectTagContactRequest new] completionHandler:^(AWSConnectTagContactResponse* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testTagResource { NSString *key = @"testTagResource"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -8808,6 +9380,54 @@ - (void)testTransferContactCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testUntagContact { + NSString *key = @"testUntagContact"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] untagContact:[AWSConnectUntagContactRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testUntagContactCompletionHandler { + NSString *key = @"testUntagContact"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] untagContact:[AWSConnectUntagContactRequest new] completionHandler:^(AWSConnectUntagContactResponse* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testUntagResource { NSString *key = @"testUntagResource"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -9286,6 +9906,54 @@ - (void)testUpdateContactFlowNameCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testUpdateContactRoutingData { + NSString *key = @"testUpdateContactRoutingData"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] updateContactRoutingData:[AWSConnectUpdateContactRoutingDataRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testUpdateContactRoutingDataCompletionHandler { + NSString *key = @"testUpdateContactRoutingData"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] updateContactRoutingData:[AWSConnectUpdateContactRoutingDataRequest new] completionHandler:^(AWSConnectUpdateContactRoutingDataResponse* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testUpdateContactSchedule { NSString *key = @"testUpdateContactSchedule"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -9666,6 +10334,53 @@ - (void)testUpdatePhoneNumberMetadataCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testUpdatePredefinedAttribute { + NSString *key = @"testUpdatePredefinedAttribute"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] updatePredefinedAttribute:[AWSConnectUpdatePredefinedAttributeRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testUpdatePredefinedAttributeCompletionHandler { + NSString *key = @"testUpdatePredefinedAttribute"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] updatePredefinedAttribute:[AWSConnectUpdatePredefinedAttributeRequest new] completionHandler:^(NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testUpdatePrompt { NSString *key = @"testUpdatePrompt"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -10703,6 +11418,53 @@ - (void)testUpdateUserPhoneConfigCompletionHandler { [AWSConnect removeConnectForKey:key]; } +- (void)testUpdateUserProficiencies { + NSString *key = @"testUpdateUserProficiencies"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSConnect ConnectForKey:key] updateUserProficiencies:[AWSConnectUpdateUserProficienciesRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + +- (void)testUpdateUserProficienciesCompletionHandler { + NSString *key = @"testUpdateUserProficiencies"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSConnect registerConnectWithConfiguration:configuration forKey:key]; + + AWSConnect *awsClient = [AWSConnect ConnectForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSConnect ConnectForKey:key] updateUserProficiencies:[AWSConnectUpdateUserProficienciesRequest new] completionHandler:^(NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSConnect removeConnectForKey:key]; +} + - (void)testUpdateUserRoutingProfile { NSString *key = @"testUpdateUserRoutingProfile"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil];