aws-sdk-connect 1.69.0 → 1.72.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,6 +33,7 @@ module Aws::Connect
33
33
  AgentUsername = Shapes::StringShape.new(name: 'AgentUsername')
34
34
  AliasArn = Shapes::StringShape.new(name: 'AliasArn')
35
35
  AnswerMachineDetectionConfig = Shapes::StructureShape.new(name: 'AnswerMachineDetectionConfig')
36
+ ApproximateTotalCount = Shapes::IntegerShape.new(name: 'ApproximateTotalCount')
36
37
  AssociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'AssociateApprovedOriginRequest')
37
38
  AssociateBotRequest = Shapes::StructureShape.new(name: 'AssociateBotRequest')
38
39
  AssociateDefaultVocabularyRequest = Shapes::StructureShape.new(name: 'AssociateDefaultVocabularyRequest')
@@ -100,6 +101,7 @@ module Aws::Connect
100
101
  ContactInitiationMethod = Shapes::StringShape.new(name: 'ContactInitiationMethod')
101
102
  ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
102
103
  ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
104
+ ControlPlaneTagFilter = Shapes::StructureShape.new(name: 'ControlPlaneTagFilter')
103
105
  CreateAgentStatusRequest = Shapes::StructureShape.new(name: 'CreateAgentStatusRequest')
104
106
  CreateAgentStatusResponse = Shapes::StructureShape.new(name: 'CreateAgentStatusResponse')
105
107
  CreateContactFlowModuleRequest = Shapes::StructureShape.new(name: 'CreateContactFlowModuleRequest')
@@ -120,6 +122,8 @@ module Aws::Connect
120
122
  CreateRoutingProfileResponse = Shapes::StructureShape.new(name: 'CreateRoutingProfileResponse')
121
123
  CreateSecurityProfileRequest = Shapes::StructureShape.new(name: 'CreateSecurityProfileRequest')
122
124
  CreateSecurityProfileResponse = Shapes::StructureShape.new(name: 'CreateSecurityProfileResponse')
125
+ CreateTaskTemplateRequest = Shapes::StructureShape.new(name: 'CreateTaskTemplateRequest')
126
+ CreateTaskTemplateResponse = Shapes::StructureShape.new(name: 'CreateTaskTemplateResponse')
123
127
  CreateUseCaseRequest = Shapes::StructureShape.new(name: 'CreateUseCaseRequest')
124
128
  CreateUseCaseResponse = Shapes::StructureShape.new(name: 'CreateUseCaseResponse')
125
129
  CreateUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupRequest')
@@ -136,6 +140,7 @@ module Aws::Connect
136
140
  CurrentMetricResult = Shapes::StructureShape.new(name: 'CurrentMetricResult')
137
141
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
138
142
  CurrentMetrics = Shapes::ListShape.new(name: 'CurrentMetrics')
143
+ DateReference = Shapes::StructureShape.new(name: 'DateReference')
139
144
  DefaultVocabulary = Shapes::StructureShape.new(name: 'DefaultVocabulary')
140
145
  DefaultVocabularyList = Shapes::ListShape.new(name: 'DefaultVocabularyList')
141
146
  Delay = Shapes::IntegerShape.new(name: 'Delay')
@@ -147,6 +152,8 @@ module Aws::Connect
147
152
  DeleteIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationAssociationRequest')
148
153
  DeleteQuickConnectRequest = Shapes::StructureShape.new(name: 'DeleteQuickConnectRequest')
149
154
  DeleteSecurityProfileRequest = Shapes::StructureShape.new(name: 'DeleteSecurityProfileRequest')
155
+ DeleteTaskTemplateRequest = Shapes::StructureShape.new(name: 'DeleteTaskTemplateRequest')
156
+ DeleteTaskTemplateResponse = Shapes::StructureShape.new(name: 'DeleteTaskTemplateResponse')
150
157
  DeleteUseCaseRequest = Shapes::StructureShape.new(name: 'DeleteUseCaseRequest')
151
158
  DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
152
159
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
@@ -205,6 +212,7 @@ module Aws::Connect
205
212
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
206
213
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
207
214
  Email = Shapes::StringShape.new(name: 'Email')
215
+ EmailReference = Shapes::StructureShape.new(name: 'EmailReference')
208
216
  EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
209
217
  EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
210
218
  Filters = Shapes::StructureShape.new(name: 'Filters')
@@ -218,10 +226,14 @@ module Aws::Connect
218
226
  GetFederationTokenResponse = Shapes::StructureShape.new(name: 'GetFederationTokenResponse')
219
227
  GetMetricDataRequest = Shapes::StructureShape.new(name: 'GetMetricDataRequest')
220
228
  GetMetricDataResponse = Shapes::StructureShape.new(name: 'GetMetricDataResponse')
229
+ GetTaskTemplateRequest = Shapes::StructureShape.new(name: 'GetTaskTemplateRequest')
230
+ GetTaskTemplateResponse = Shapes::StructureShape.new(name: 'GetTaskTemplateResponse')
221
231
  Grouping = Shapes::StringShape.new(name: 'Grouping')
222
232
  Groupings = Shapes::ListShape.new(name: 'Groupings')
223
233
  HierarchyGroup = Shapes::StructureShape.new(name: 'HierarchyGroup')
234
+ HierarchyGroupCondition = Shapes::StructureShape.new(name: 'HierarchyGroupCondition')
224
235
  HierarchyGroupId = Shapes::StringShape.new(name: 'HierarchyGroupId')
236
+ HierarchyGroupMatchType = Shapes::StringShape.new(name: 'HierarchyGroupMatchType')
225
237
  HierarchyGroupName = Shapes::StringShape.new(name: 'HierarchyGroupName')
226
238
  HierarchyGroupSummary = Shapes::StructureShape.new(name: 'HierarchyGroupSummary')
227
239
  HierarchyGroupSummaryList = Shapes::ListShape.new(name: 'HierarchyGroupSummaryList')
@@ -273,6 +285,8 @@ module Aws::Connect
273
285
  InvalidContactFlowModuleException = Shapes::StructureShape.new(name: 'InvalidContactFlowModuleException')
274
286
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
275
287
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
288
+ InvisibleFieldInfo = Shapes::StructureShape.new(name: 'InvisibleFieldInfo')
289
+ InvisibleTaskTemplateFields = Shapes::ListShape.new(name: 'InvisibleTaskTemplateFields')
276
290
  KeyId = Shapes::StringShape.new(name: 'KeyId')
277
291
  KinesisFirehoseConfig = Shapes::StructureShape.new(name: 'KinesisFirehoseConfig')
278
292
  KinesisStreamConfig = Shapes::StructureShape.new(name: 'KinesisStreamConfig')
@@ -340,6 +354,8 @@ module Aws::Connect
340
354
  ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
341
355
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
342
356
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
357
+ ListTaskTemplatesRequest = Shapes::StructureShape.new(name: 'ListTaskTemplatesRequest')
358
+ ListTaskTemplatesResponse = Shapes::StructureShape.new(name: 'ListTaskTemplatesResponse')
343
359
  ListUseCasesRequest = Shapes::StructureShape.new(name: 'ListUseCasesRequest')
344
360
  ListUseCasesResponse = Shapes::StructureShape.new(name: 'ListUseCasesResponse')
345
361
  ListUserHierarchyGroupsRequest = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsRequest')
@@ -358,6 +374,8 @@ module Aws::Connect
358
374
  MinutesLimit60 = Shapes::IntegerShape.new(name: 'MinutesLimit60')
359
375
  Name = Shapes::StringShape.new(name: 'Name')
360
376
  NextToken = Shapes::StringShape.new(name: 'NextToken')
377
+ NextToken2500 = Shapes::StringShape.new(name: 'NextToken2500')
378
+ NumberReference = Shapes::StructureShape.new(name: 'NumberReference')
361
379
  Origin = Shapes::StringShape.new(name: 'Origin')
362
380
  OriginsList = Shapes::ListShape.new(name: 'OriginsList')
363
381
  OutboundCallerConfig = Shapes::StructureShape.new(name: 'OutboundCallerConfig')
@@ -394,6 +412,12 @@ module Aws::Connect
394
412
  PromptName = Shapes::StringShape.new(name: 'PromptName')
395
413
  PromptSummary = Shapes::StructureShape.new(name: 'PromptSummary')
396
414
  PromptSummaryList = Shapes::ListShape.new(name: 'PromptSummaryList')
415
+ PropertyValidationException = Shapes::StructureShape.new(name: 'PropertyValidationException')
416
+ PropertyValidationExceptionProperty = Shapes::StructureShape.new(name: 'PropertyValidationExceptionProperty')
417
+ PropertyValidationExceptionPropertyList = Shapes::ListShape.new(name: 'PropertyValidationExceptionPropertyList')
418
+ PropertyValidationExceptionReason = Shapes::StringShape.new(name: 'PropertyValidationExceptionReason')
419
+ PutUserStatusRequest = Shapes::StructureShape.new(name: 'PutUserStatusRequest')
420
+ PutUserStatusResponse = Shapes::StructureShape.new(name: 'PutUserStatusResponse')
397
421
  Queue = Shapes::StructureShape.new(name: 'Queue')
398
422
  QueueDescription = Shapes::StringShape.new(name: 'QueueDescription')
399
423
  QueueId = Shapes::StringShape.new(name: 'QueueId')
@@ -418,6 +442,8 @@ module Aws::Connect
418
442
  QuickConnectType = Shapes::StringShape.new(name: 'QuickConnectType')
419
443
  QuickConnectTypes = Shapes::ListShape.new(name: 'QuickConnectTypes')
420
444
  QuickConnectsList = Shapes::ListShape.new(name: 'QuickConnectsList')
445
+ ReadOnlyFieldInfo = Shapes::StructureShape.new(name: 'ReadOnlyFieldInfo')
446
+ ReadOnlyTaskTemplateFields = Shapes::ListShape.new(name: 'ReadOnlyTaskTemplateFields')
421
447
  Reference = Shapes::StructureShape.new(name: 'Reference')
422
448
  ReferenceKey = Shapes::StringShape.new(name: 'ReferenceKey')
423
449
  ReferenceStatus = Shapes::StringShape.new(name: 'ReferenceStatus')
@@ -427,6 +453,8 @@ module Aws::Connect
427
453
  ReferenceTypes = Shapes::ListShape.new(name: 'ReferenceTypes')
428
454
  ReferenceValue = Shapes::StringShape.new(name: 'ReferenceValue')
429
455
  ReleasePhoneNumberRequest = Shapes::StructureShape.new(name: 'ReleasePhoneNumberRequest')
456
+ RequiredFieldInfo = Shapes::StructureShape.new(name: 'RequiredFieldInfo')
457
+ RequiredTaskTemplateFields = Shapes::ListShape.new(name: 'RequiredTaskTemplateFields')
430
458
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
431
459
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
432
460
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -448,6 +476,8 @@ module Aws::Connect
448
476
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
449
477
  SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
450
478
  SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
479
+ SearchUsersRequest = Shapes::StructureShape.new(name: 'SearchUsersRequest')
480
+ SearchUsersResponse = Shapes::StructureShape.new(name: 'SearchUsersResponse')
451
481
  SearchVocabulariesRequest = Shapes::StructureShape.new(name: 'SearchVocabulariesRequest')
452
482
  SearchVocabulariesResponse = Shapes::StructureShape.new(name: 'SearchVocabulariesResponse')
453
483
  SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey')
@@ -462,6 +492,8 @@ module Aws::Connect
462
492
  SecurityProfileSummaryList = Shapes::ListShape.new(name: 'SecurityProfileSummaryList')
463
493
  SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
464
494
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
495
+ SingleSelectOptions = Shapes::ListShape.new(name: 'SingleSelectOptions')
496
+ SnapshotVersion = Shapes::StringShape.new(name: 'SnapshotVersion')
465
497
  SourceApplicationName = Shapes::StringShape.new(name: 'SourceApplicationName')
466
498
  SourceType = Shapes::StringShape.new(name: 'SourceType')
467
499
  StartChatContactRequest = Shapes::StructureShape.new(name: 'StartChatContactRequest')
@@ -484,21 +516,48 @@ module Aws::Connect
484
516
  StorageType = Shapes::StringShape.new(name: 'StorageType')
485
517
  StreamingId = Shapes::StringShape.new(name: 'StreamingId')
486
518
  String = Shapes::StringShape.new(name: 'String')
519
+ StringComparisonType = Shapes::StringShape.new(name: 'StringComparisonType')
520
+ StringCondition = Shapes::StructureShape.new(name: 'StringCondition')
521
+ StringReference = Shapes::StructureShape.new(name: 'StringReference')
487
522
  SupportedMessagingContentType = Shapes::StringShape.new(name: 'SupportedMessagingContentType')
488
523
  SupportedMessagingContentTypes = Shapes::ListShape.new(name: 'SupportedMessagingContentTypes')
489
524
  SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
490
525
  SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
526
+ TagAndConditionList = Shapes::ListShape.new(name: 'TagAndConditionList')
527
+ TagCondition = Shapes::StructureShape.new(name: 'TagCondition')
491
528
  TagKey = Shapes::StringShape.new(name: 'TagKey')
492
529
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
493
530
  TagMap = Shapes::MapShape.new(name: 'TagMap')
531
+ TagOrConditionList = Shapes::ListShape.new(name: 'TagOrConditionList')
494
532
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
495
533
  TagValue = Shapes::StringShape.new(name: 'TagValue')
534
+ TaskTemplateArn = Shapes::StringShape.new(name: 'TaskTemplateArn')
535
+ TaskTemplateConstraints = Shapes::StructureShape.new(name: 'TaskTemplateConstraints')
536
+ TaskTemplateDefaultFieldValue = Shapes::StructureShape.new(name: 'TaskTemplateDefaultFieldValue')
537
+ TaskTemplateDefaultFieldValueList = Shapes::ListShape.new(name: 'TaskTemplateDefaultFieldValueList')
538
+ TaskTemplateDefaults = Shapes::StructureShape.new(name: 'TaskTemplateDefaults')
539
+ TaskTemplateDescription = Shapes::StringShape.new(name: 'TaskTemplateDescription')
540
+ TaskTemplateField = Shapes::StructureShape.new(name: 'TaskTemplateField')
541
+ TaskTemplateFieldDescription = Shapes::StringShape.new(name: 'TaskTemplateFieldDescription')
542
+ TaskTemplateFieldIdentifier = Shapes::StructureShape.new(name: 'TaskTemplateFieldIdentifier')
543
+ TaskTemplateFieldName = Shapes::StringShape.new(name: 'TaskTemplateFieldName')
544
+ TaskTemplateFieldType = Shapes::StringShape.new(name: 'TaskTemplateFieldType')
545
+ TaskTemplateFieldValue = Shapes::StringShape.new(name: 'TaskTemplateFieldValue')
546
+ TaskTemplateFields = Shapes::ListShape.new(name: 'TaskTemplateFields')
547
+ TaskTemplateId = Shapes::StringShape.new(name: 'TaskTemplateId')
548
+ TaskTemplateList = Shapes::ListShape.new(name: 'TaskTemplateList')
549
+ TaskTemplateMetadata = Shapes::StructureShape.new(name: 'TaskTemplateMetadata')
550
+ TaskTemplateName = Shapes::StringShape.new(name: 'TaskTemplateName')
551
+ TaskTemplateSingleSelectOption = Shapes::StringShape.new(name: 'TaskTemplateSingleSelectOption')
552
+ TaskTemplateStatus = Shapes::StringShape.new(name: 'TaskTemplateStatus')
496
553
  Threshold = Shapes::StructureShape.new(name: 'Threshold')
497
554
  ThresholdValue = Shapes::FloatShape.new(name: 'ThresholdValue')
498
555
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
499
556
  TimeZone = Shapes::StringShape.new(name: 'TimeZone')
500
557
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
501
558
  TrafficType = Shapes::StringShape.new(name: 'TrafficType')
559
+ TransferContactRequest = Shapes::StructureShape.new(name: 'TransferContactRequest')
560
+ TransferContactResponse = Shapes::StructureShape.new(name: 'TransferContactResponse')
502
561
  URI = Shapes::StringShape.new(name: 'URI')
503
562
  Unit = Shapes::StringShape.new(name: 'Unit')
504
563
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -536,6 +595,8 @@ module Aws::Connect
536
595
  UpdateRoutingProfileNameRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileNameRequest')
537
596
  UpdateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileQueuesRequest')
538
597
  UpdateSecurityProfileRequest = Shapes::StructureShape.new(name: 'UpdateSecurityProfileRequest')
598
+ UpdateTaskTemplateRequest = Shapes::StructureShape.new(name: 'UpdateTaskTemplateRequest')
599
+ UpdateTaskTemplateResponse = Shapes::StructureShape.new(name: 'UpdateTaskTemplateResponse')
539
600
  UpdateUserHierarchyGroupNameRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyGroupNameRequest')
540
601
  UpdateUserHierarchyRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyRequest')
541
602
  UpdateUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyStructureRequest')
@@ -551,9 +612,15 @@ module Aws::Connect
551
612
  User = Shapes::StructureShape.new(name: 'User')
552
613
  UserId = Shapes::StringShape.new(name: 'UserId')
553
614
  UserIdentityInfo = Shapes::StructureShape.new(name: 'UserIdentityInfo')
615
+ UserIdentityInfoLite = Shapes::StructureShape.new(name: 'UserIdentityInfoLite')
554
616
  UserNotFoundException = Shapes::StructureShape.new(name: 'UserNotFoundException')
555
617
  UserPhoneConfig = Shapes::StructureShape.new(name: 'UserPhoneConfig')
556
618
  UserQuickConnectConfig = Shapes::StructureShape.new(name: 'UserQuickConnectConfig')
619
+ UserSearchConditionList = Shapes::ListShape.new(name: 'UserSearchConditionList')
620
+ UserSearchCriteria = Shapes::StructureShape.new(name: 'UserSearchCriteria')
621
+ UserSearchFilter = Shapes::StructureShape.new(name: 'UserSearchFilter')
622
+ UserSearchSummary = Shapes::StructureShape.new(name: 'UserSearchSummary')
623
+ UserSearchSummaryList = Shapes::ListShape.new(name: 'UserSearchSummaryList')
557
624
  UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
558
625
  UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList')
559
626
  Value = Shapes::FloatShape.new(name: 'Value')
@@ -773,6 +840,11 @@ module Aws::Connect
773
840
  ContactReferences.key = Shapes::ShapeRef.new(shape: ReferenceKey)
774
841
  ContactReferences.value = Shapes::ShapeRef.new(shape: Reference)
775
842
 
843
+ ControlPlaneTagFilter.add_member(:or_conditions, Shapes::ShapeRef.new(shape: TagOrConditionList, location_name: "OrConditions"))
844
+ ControlPlaneTagFilter.add_member(:and_conditions, Shapes::ShapeRef.new(shape: TagAndConditionList, location_name: "AndConditions"))
845
+ ControlPlaneTagFilter.add_member(:tag_condition, Shapes::ShapeRef.new(shape: TagCondition, location_name: "TagCondition"))
846
+ ControlPlaneTagFilter.struct_class = Types::ControlPlaneTagFilter
847
+
776
848
  CreateAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
777
849
  CreateAgentStatusRequest.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, required: true, location_name: "Name"))
778
850
  CreateAgentStatusRequest.add_member(:description, Shapes::ShapeRef.new(shape: AgentStatusDescription, location_name: "Description"))
@@ -895,6 +967,21 @@ module Aws::Connect
895
967
  CreateSecurityProfileResponse.add_member(:security_profile_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SecurityProfileArn"))
896
968
  CreateSecurityProfileResponse.struct_class = Types::CreateSecurityProfileResponse
897
969
 
970
+ CreateTaskTemplateRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
971
+ CreateTaskTemplateRequest.add_member(:name, Shapes::ShapeRef.new(shape: TaskTemplateName, required: true, location_name: "Name"))
972
+ CreateTaskTemplateRequest.add_member(:description, Shapes::ShapeRef.new(shape: TaskTemplateDescription, location_name: "Description"))
973
+ CreateTaskTemplateRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
974
+ CreateTaskTemplateRequest.add_member(:constraints, Shapes::ShapeRef.new(shape: TaskTemplateConstraints, location_name: "Constraints"))
975
+ CreateTaskTemplateRequest.add_member(:defaults, Shapes::ShapeRef.new(shape: TaskTemplateDefaults, location_name: "Defaults"))
976
+ CreateTaskTemplateRequest.add_member(:status, Shapes::ShapeRef.new(shape: TaskTemplateStatus, location_name: "Status"))
977
+ CreateTaskTemplateRequest.add_member(:fields, Shapes::ShapeRef.new(shape: TaskTemplateFields, required: true, location_name: "Fields"))
978
+ CreateTaskTemplateRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
979
+ CreateTaskTemplateRequest.struct_class = Types::CreateTaskTemplateRequest
980
+
981
+ CreateTaskTemplateResponse.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateId, required: true, location_name: "Id"))
982
+ CreateTaskTemplateResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TaskTemplateArn, required: true, location_name: "Arn"))
983
+ CreateTaskTemplateResponse.struct_class = Types::CreateTaskTemplateResponse
984
+
898
985
  CreateUseCaseRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
899
986
  CreateUseCaseRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
900
987
  CreateUseCaseRequest.add_member(:use_case_type, Shapes::ShapeRef.new(shape: UseCaseType, required: true, location_name: "UseCaseType"))
@@ -968,6 +1055,10 @@ module Aws::Connect
968
1055
 
969
1056
  CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
970
1057
 
1058
+ DateReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
1059
+ DateReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
1060
+ DateReference.struct_class = Types::DateReference
1061
+
971
1062
  DefaultVocabulary.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
972
1063
  DefaultVocabulary.add_member(:language_code, Shapes::ShapeRef.new(shape: VocabularyLanguageCode, required: true, location_name: "LanguageCode"))
973
1064
  DefaultVocabulary.add_member(:vocabulary_id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location_name: "VocabularyId"))
@@ -1005,6 +1096,12 @@ module Aws::Connect
1005
1096
  DeleteSecurityProfileRequest.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, required: true, location: "uri", location_name: "SecurityProfileId"))
1006
1097
  DeleteSecurityProfileRequest.struct_class = Types::DeleteSecurityProfileRequest
1007
1098
 
1099
+ DeleteTaskTemplateRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1100
+ DeleteTaskTemplateRequest.add_member(:task_template_id, Shapes::ShapeRef.new(shape: TaskTemplateId, required: true, location: "uri", location_name: "TaskTemplateId"))
1101
+ DeleteTaskTemplateRequest.struct_class = Types::DeleteTaskTemplateRequest
1102
+
1103
+ DeleteTaskTemplateResponse.struct_class = Types::DeleteTaskTemplateResponse
1104
+
1008
1105
  DeleteUseCaseRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1009
1106
  DeleteUseCaseRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
1010
1107
  DeleteUseCaseRequest.add_member(:use_case_id, Shapes::ShapeRef.new(shape: UseCaseId, required: true, location: "uri", location_name: "UseCaseId"))
@@ -1195,6 +1292,10 @@ module Aws::Connect
1195
1292
  DuplicateResourceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1196
1293
  DuplicateResourceException.struct_class = Types::DuplicateResourceException
1197
1294
 
1295
+ EmailReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
1296
+ EmailReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
1297
+ EmailReference.struct_class = Types::EmailReference
1298
+
1198
1299
  EncryptionConfig.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "EncryptionType"))
1199
1300
  EncryptionConfig.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, required: true, location_name: "KeyId"))
1200
1301
  EncryptionConfig.struct_class = Types::EncryptionConfig
@@ -1245,6 +1346,26 @@ module Aws::Connect
1245
1346
  GetMetricDataResponse.add_member(:metric_results, Shapes::ShapeRef.new(shape: HistoricalMetricResults, location_name: "MetricResults"))
1246
1347
  GetMetricDataResponse.struct_class = Types::GetMetricDataResponse
1247
1348
 
1349
+ GetTaskTemplateRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1350
+ GetTaskTemplateRequest.add_member(:task_template_id, Shapes::ShapeRef.new(shape: TaskTemplateId, required: true, location: "uri", location_name: "TaskTemplateId"))
1351
+ GetTaskTemplateRequest.add_member(:snapshot_version, Shapes::ShapeRef.new(shape: SnapshotVersion, location: "querystring", location_name: "snapshotVersion"))
1352
+ GetTaskTemplateRequest.struct_class = Types::GetTaskTemplateRequest
1353
+
1354
+ GetTaskTemplateResponse.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
1355
+ GetTaskTemplateResponse.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateId, required: true, location_name: "Id"))
1356
+ GetTaskTemplateResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TaskTemplateArn, required: true, location_name: "Arn"))
1357
+ GetTaskTemplateResponse.add_member(:name, Shapes::ShapeRef.new(shape: TaskTemplateName, required: true, location_name: "Name"))
1358
+ GetTaskTemplateResponse.add_member(:description, Shapes::ShapeRef.new(shape: TaskTemplateDescription, location_name: "Description"))
1359
+ GetTaskTemplateResponse.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
1360
+ GetTaskTemplateResponse.add_member(:constraints, Shapes::ShapeRef.new(shape: TaskTemplateConstraints, location_name: "Constraints"))
1361
+ GetTaskTemplateResponse.add_member(:defaults, Shapes::ShapeRef.new(shape: TaskTemplateDefaults, location_name: "Defaults"))
1362
+ GetTaskTemplateResponse.add_member(:fields, Shapes::ShapeRef.new(shape: TaskTemplateFields, location_name: "Fields"))
1363
+ GetTaskTemplateResponse.add_member(:status, Shapes::ShapeRef.new(shape: TaskTemplateStatus, location_name: "Status"))
1364
+ GetTaskTemplateResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastModifiedTime"))
1365
+ GetTaskTemplateResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedTime"))
1366
+ GetTaskTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1367
+ GetTaskTemplateResponse.struct_class = Types::GetTaskTemplateResponse
1368
+
1248
1369
  Groupings.member = Shapes::ShapeRef.new(shape: Grouping)
1249
1370
 
1250
1371
  HierarchyGroup.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
@@ -1255,6 +1376,10 @@ module Aws::Connect
1255
1376
  HierarchyGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1256
1377
  HierarchyGroup.struct_class = Types::HierarchyGroup
1257
1378
 
1379
+ HierarchyGroupCondition.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
1380
+ HierarchyGroupCondition.add_member(:hierarchy_group_match_type, Shapes::ShapeRef.new(shape: HierarchyGroupMatchType, location_name: "HierarchyGroupMatchType"))
1381
+ HierarchyGroupCondition.struct_class = Types::HierarchyGroupCondition
1382
+
1258
1383
  HierarchyGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
1259
1384
  HierarchyGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1260
1385
  HierarchyGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, location_name: "Name"))
@@ -1406,6 +1531,11 @@ module Aws::Connect
1406
1531
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1407
1532
  InvalidRequestException.struct_class = Types::InvalidRequestException
1408
1533
 
1534
+ InvisibleFieldInfo.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateFieldIdentifier, location_name: "Id"))
1535
+ InvisibleFieldInfo.struct_class = Types::InvisibleFieldInfo
1536
+
1537
+ InvisibleTaskTemplateFields.member = Shapes::ShapeRef.new(shape: InvisibleFieldInfo)
1538
+
1409
1539
  KinesisFirehoseConfig.add_member(:firehose_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "FirehoseArn"))
1410
1540
  KinesisFirehoseConfig.struct_class = Types::KinesisFirehoseConfig
1411
1541
 
@@ -1693,6 +1823,17 @@ module Aws::Connect
1693
1823
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
1694
1824
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1695
1825
 
1826
+ ListTaskTemplatesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1827
+ ListTaskTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1828
+ ListTaskTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
1829
+ ListTaskTemplatesRequest.add_member(:status, Shapes::ShapeRef.new(shape: TaskTemplateStatus, location: "querystring", location_name: "status"))
1830
+ ListTaskTemplatesRequest.add_member(:name, Shapes::ShapeRef.new(shape: TaskTemplateName, location: "querystring", location_name: "name"))
1831
+ ListTaskTemplatesRequest.struct_class = Types::ListTaskTemplatesRequest
1832
+
1833
+ ListTaskTemplatesResponse.add_member(:task_templates, Shapes::ShapeRef.new(shape: TaskTemplateList, location_name: "TaskTemplates"))
1834
+ ListTaskTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1835
+ ListTaskTemplatesResponse.struct_class = Types::ListTaskTemplatesResponse
1836
+
1696
1837
  ListUseCasesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1697
1838
  ListUseCasesRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
1698
1839
  ListUseCasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1727,6 +1868,10 @@ module Aws::Connect
1727
1868
  MediaConcurrency.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, required: true, location_name: "Concurrency"))
1728
1869
  MediaConcurrency.struct_class = Types::MediaConcurrency
1729
1870
 
1871
+ NumberReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
1872
+ NumberReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
1873
+ NumberReference.struct_class = Types::NumberReference
1874
+
1730
1875
  OriginsList.member = Shapes::ShapeRef.new(shape: Origin)
1731
1876
 
1732
1877
  OutboundCallerConfig.add_member(:outbound_caller_id_name, Shapes::ShapeRef.new(shape: OutboundCallerIdName, location_name: "OutboundCallerIdName"))
@@ -1774,6 +1919,24 @@ module Aws::Connect
1774
1919
 
1775
1920
  PromptSummaryList.member = Shapes::ShapeRef.new(shape: PromptSummary)
1776
1921
 
1922
+ PropertyValidationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
1923
+ PropertyValidationException.add_member(:property_list, Shapes::ShapeRef.new(shape: PropertyValidationExceptionPropertyList, location_name: "PropertyList"))
1924
+ PropertyValidationException.struct_class = Types::PropertyValidationException
1925
+
1926
+ PropertyValidationExceptionProperty.add_member(:property_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PropertyPath"))
1927
+ PropertyValidationExceptionProperty.add_member(:reason, Shapes::ShapeRef.new(shape: PropertyValidationExceptionReason, required: true, location_name: "Reason"))
1928
+ PropertyValidationExceptionProperty.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
1929
+ PropertyValidationExceptionProperty.struct_class = Types::PropertyValidationExceptionProperty
1930
+
1931
+ PropertyValidationExceptionPropertyList.member = Shapes::ShapeRef.new(shape: PropertyValidationExceptionProperty)
1932
+
1933
+ PutUserStatusRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
1934
+ PutUserStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1935
+ PutUserStatusRequest.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, required: true, location_name: "AgentStatusId"))
1936
+ PutUserStatusRequest.struct_class = Types::PutUserStatusRequest
1937
+
1938
+ PutUserStatusResponse.struct_class = Types::PutUserStatusResponse
1939
+
1777
1940
  Queue.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, location_name: "Name"))
1778
1941
  Queue.add_member(:queue_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "QueueArn"))
1779
1942
  Queue.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "QueueId"))
@@ -1835,15 +1998,28 @@ module Aws::Connect
1835
1998
 
1836
1999
  QuickConnectsList.member = Shapes::ShapeRef.new(shape: QuickConnectId)
1837
2000
 
2001
+ ReadOnlyFieldInfo.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateFieldIdentifier, location_name: "Id"))
2002
+ ReadOnlyFieldInfo.struct_class = Types::ReadOnlyFieldInfo
2003
+
2004
+ ReadOnlyTaskTemplateFields.member = Shapes::ShapeRef.new(shape: ReadOnlyFieldInfo)
2005
+
1838
2006
  Reference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, required: true, location_name: "Value"))
1839
2007
  Reference.add_member(:type, Shapes::ShapeRef.new(shape: ReferenceType, required: true, location_name: "Type"))
1840
2008
  Reference.struct_class = Types::Reference
1841
2009
 
1842
2010
  ReferenceSummary.add_member(:url, Shapes::ShapeRef.new(shape: UrlReference, location_name: "Url"))
1843
2011
  ReferenceSummary.add_member(:attachment, Shapes::ShapeRef.new(shape: AttachmentReference, location_name: "Attachment"))
2012
+ ReferenceSummary.add_member(:string, Shapes::ShapeRef.new(shape: StringReference, location_name: "String"))
2013
+ ReferenceSummary.add_member(:number, Shapes::ShapeRef.new(shape: NumberReference, location_name: "Number"))
2014
+ ReferenceSummary.add_member(:date, Shapes::ShapeRef.new(shape: DateReference, location_name: "Date"))
2015
+ ReferenceSummary.add_member(:email, Shapes::ShapeRef.new(shape: EmailReference, location_name: "Email"))
1844
2016
  ReferenceSummary.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1845
2017
  ReferenceSummary.add_member_subclass(:url, Types::ReferenceSummary::Url)
1846
2018
  ReferenceSummary.add_member_subclass(:attachment, Types::ReferenceSummary::Attachment)
2019
+ ReferenceSummary.add_member_subclass(:string, Types::ReferenceSummary::String)
2020
+ ReferenceSummary.add_member_subclass(:number, Types::ReferenceSummary::Number)
2021
+ ReferenceSummary.add_member_subclass(:date, Types::ReferenceSummary::Date)
2022
+ ReferenceSummary.add_member_subclass(:email, Types::ReferenceSummary::Email)
1847
2023
  ReferenceSummary.add_member_subclass(:unknown, Types::ReferenceSummary::Unknown)
1848
2024
  ReferenceSummary.struct_class = Types::ReferenceSummary
1849
2025
 
@@ -1855,6 +2031,11 @@ module Aws::Connect
1855
2031
  ReleasePhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1856
2032
  ReleasePhoneNumberRequest.struct_class = Types::ReleasePhoneNumberRequest
1857
2033
 
2034
+ RequiredFieldInfo.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateFieldIdentifier, location_name: "Id"))
2035
+ RequiredFieldInfo.struct_class = Types::RequiredFieldInfo
2036
+
2037
+ RequiredTaskTemplateFields.member = Shapes::ShapeRef.new(shape: RequiredFieldInfo)
2038
+
1858
2039
  ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1859
2040
  ResourceConflictException.struct_class = Types::ResourceConflictException
1860
2041
 
@@ -1930,6 +2111,18 @@ module Aws::Connect
1930
2111
  SearchAvailablePhoneNumbersResponse.add_member(:available_numbers_list, Shapes::ShapeRef.new(shape: AvailableNumbersList, location_name: "AvailableNumbersList"))
1931
2112
  SearchAvailablePhoneNumbersResponse.struct_class = Types::SearchAvailablePhoneNumbersResponse
1932
2113
 
2114
+ SearchUsersRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
2115
+ SearchUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
2116
+ SearchUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults", metadata: {"box"=>true}))
2117
+ SearchUsersRequest.add_member(:search_filter, Shapes::ShapeRef.new(shape: UserSearchFilter, location_name: "SearchFilter"))
2118
+ SearchUsersRequest.add_member(:search_criteria, Shapes::ShapeRef.new(shape: UserSearchCriteria, location_name: "SearchCriteria"))
2119
+ SearchUsersRequest.struct_class = Types::SearchUsersRequest
2120
+
2121
+ SearchUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: UserSearchSummaryList, location_name: "Users"))
2122
+ SearchUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
2123
+ SearchUsersResponse.add_member(:approximate_total_count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, location_name: "ApproximateTotalCount"))
2124
+ SearchUsersResponse.struct_class = Types::SearchUsersResponse
2125
+
1933
2126
  SearchVocabulariesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1934
2127
  SearchVocabulariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults"))
1935
2128
  SearchVocabulariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: VocabularyNextToken, location_name: "NextToken"))
@@ -1969,6 +2162,8 @@ module Aws::Connect
1969
2162
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1970
2163
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1971
2164
 
2165
+ SingleSelectOptions.member = Shapes::ShapeRef.new(shape: TaskTemplateSingleSelectOption)
2166
+
1972
2167
  StartChatContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
1973
2168
  StartChatContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
1974
2169
  StartChatContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
@@ -2018,13 +2213,15 @@ module Aws::Connect
2018
2213
 
2019
2214
  StartTaskContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
2020
2215
  StartTaskContactRequest.add_member(:previous_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "PreviousContactId"))
2021
- StartTaskContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
2216
+ StartTaskContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
2022
2217
  StartTaskContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
2023
2218
  StartTaskContactRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
2024
2219
  StartTaskContactRequest.add_member(:references, Shapes::ShapeRef.new(shape: ContactReferences, location_name: "References"))
2025
2220
  StartTaskContactRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
2026
2221
  StartTaskContactRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
2027
2222
  StartTaskContactRequest.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ScheduledTime"))
2223
+ StartTaskContactRequest.add_member(:task_template_id, Shapes::ShapeRef.new(shape: TaskTemplateId, location_name: "TaskTemplateId"))
2224
+ StartTaskContactRequest.add_member(:quick_connect_id, Shapes::ShapeRef.new(shape: QuickConnectId, location_name: "QuickConnectId"))
2028
2225
  StartTaskContactRequest.struct_class = Types::StartTaskContactRequest
2029
2226
 
2030
2227
  StartTaskContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
@@ -2050,6 +2247,15 @@ module Aws::Connect
2050
2247
 
2051
2248
  StopContactStreamingResponse.struct_class = Types::StopContactStreamingResponse
2052
2249
 
2250
+ StringCondition.add_member(:field_name, Shapes::ShapeRef.new(shape: String, location_name: "FieldName"))
2251
+ StringCondition.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
2252
+ StringCondition.add_member(:comparison_type, Shapes::ShapeRef.new(shape: StringComparisonType, location_name: "ComparisonType"))
2253
+ StringCondition.struct_class = Types::StringCondition
2254
+
2255
+ StringReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
2256
+ StringReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
2257
+ StringReference.struct_class = Types::StringReference
2258
+
2053
2259
  SupportedMessagingContentTypes.member = Shapes::ShapeRef.new(shape: SupportedMessagingContentType)
2054
2260
 
2055
2261
  SuspendContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
@@ -2059,15 +2265,59 @@ module Aws::Connect
2059
2265
 
2060
2266
  SuspendContactRecordingResponse.struct_class = Types::SuspendContactRecordingResponse
2061
2267
 
2268
+ TagAndConditionList.member = Shapes::ShapeRef.new(shape: TagCondition)
2269
+
2270
+ TagCondition.add_member(:tag_key, Shapes::ShapeRef.new(shape: String, location_name: "TagKey"))
2271
+ TagCondition.add_member(:tag_value, Shapes::ShapeRef.new(shape: String, location_name: "TagValue"))
2272
+ TagCondition.struct_class = Types::TagCondition
2273
+
2062
2274
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
2063
2275
 
2064
2276
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
2065
2277
  TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
2066
2278
 
2279
+ TagOrConditionList.member = Shapes::ShapeRef.new(shape: TagAndConditionList)
2280
+
2067
2281
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
2068
2282
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
2069
2283
  TagResourceRequest.struct_class = Types::TagResourceRequest
2070
2284
 
2285
+ TaskTemplateConstraints.add_member(:required_fields, Shapes::ShapeRef.new(shape: RequiredTaskTemplateFields, location_name: "RequiredFields"))
2286
+ TaskTemplateConstraints.add_member(:read_only_fields, Shapes::ShapeRef.new(shape: ReadOnlyTaskTemplateFields, location_name: "ReadOnlyFields"))
2287
+ TaskTemplateConstraints.add_member(:invisible_fields, Shapes::ShapeRef.new(shape: InvisibleTaskTemplateFields, location_name: "InvisibleFields"))
2288
+ TaskTemplateConstraints.struct_class = Types::TaskTemplateConstraints
2289
+
2290
+ TaskTemplateDefaultFieldValue.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateFieldIdentifier, location_name: "Id"))
2291
+ TaskTemplateDefaultFieldValue.add_member(:default_value, Shapes::ShapeRef.new(shape: TaskTemplateFieldValue, location_name: "DefaultValue"))
2292
+ TaskTemplateDefaultFieldValue.struct_class = Types::TaskTemplateDefaultFieldValue
2293
+
2294
+ TaskTemplateDefaultFieldValueList.member = Shapes::ShapeRef.new(shape: TaskTemplateDefaultFieldValue)
2295
+
2296
+ TaskTemplateDefaults.add_member(:default_field_values, Shapes::ShapeRef.new(shape: TaskTemplateDefaultFieldValueList, location_name: "DefaultFieldValues"))
2297
+ TaskTemplateDefaults.struct_class = Types::TaskTemplateDefaults
2298
+
2299
+ TaskTemplateField.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateFieldIdentifier, required: true, location_name: "Id"))
2300
+ TaskTemplateField.add_member(:description, Shapes::ShapeRef.new(shape: TaskTemplateFieldDescription, location_name: "Description"))
2301
+ TaskTemplateField.add_member(:type, Shapes::ShapeRef.new(shape: TaskTemplateFieldType, location_name: "Type"))
2302
+ TaskTemplateField.add_member(:single_select_options, Shapes::ShapeRef.new(shape: SingleSelectOptions, location_name: "SingleSelectOptions"))
2303
+ TaskTemplateField.struct_class = Types::TaskTemplateField
2304
+
2305
+ TaskTemplateFieldIdentifier.add_member(:name, Shapes::ShapeRef.new(shape: TaskTemplateFieldName, location_name: "Name"))
2306
+ TaskTemplateFieldIdentifier.struct_class = Types::TaskTemplateFieldIdentifier
2307
+
2308
+ TaskTemplateFields.member = Shapes::ShapeRef.new(shape: TaskTemplateField)
2309
+
2310
+ TaskTemplateList.member = Shapes::ShapeRef.new(shape: TaskTemplateMetadata)
2311
+
2312
+ TaskTemplateMetadata.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateId, location_name: "Id"))
2313
+ TaskTemplateMetadata.add_member(:arn, Shapes::ShapeRef.new(shape: TaskTemplateArn, location_name: "Arn"))
2314
+ TaskTemplateMetadata.add_member(:name, Shapes::ShapeRef.new(shape: TaskTemplateName, location_name: "Name"))
2315
+ TaskTemplateMetadata.add_member(:description, Shapes::ShapeRef.new(shape: TaskTemplateDescription, location_name: "Description"))
2316
+ TaskTemplateMetadata.add_member(:status, Shapes::ShapeRef.new(shape: TaskTemplateStatus, location_name: "Status"))
2317
+ TaskTemplateMetadata.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastModifiedTime"))
2318
+ TaskTemplateMetadata.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedTime"))
2319
+ TaskTemplateMetadata.struct_class = Types::TaskTemplateMetadata
2320
+
2071
2321
  Threshold.add_member(:comparison, Shapes::ShapeRef.new(shape: Comparison, location_name: "Comparison"))
2072
2322
  Threshold.add_member(:threshold_value, Shapes::ShapeRef.new(shape: ThresholdValue, location_name: "ThresholdValue", metadata: {"box"=>true}))
2073
2323
  Threshold.struct_class = Types::Threshold
@@ -2075,6 +2325,18 @@ module Aws::Connect
2075
2325
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2076
2326
  ThrottlingException.struct_class = Types::ThrottlingException
2077
2327
 
2328
+ TransferContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
2329
+ TransferContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
2330
+ TransferContactRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "QueueId"))
2331
+ TransferContactRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: AgentResourceId, location_name: "UserId"))
2332
+ TransferContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
2333
+ TransferContactRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
2334
+ TransferContactRequest.struct_class = Types::TransferContactRequest
2335
+
2336
+ TransferContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
2337
+ TransferContactResponse.add_member(:contact_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactArn"))
2338
+ TransferContactResponse.struct_class = Types::TransferContactResponse
2339
+
2078
2340
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
2079
2341
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
2080
2342
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -2237,6 +2499,31 @@ module Aws::Connect
2237
2499
  UpdateSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2238
2500
  UpdateSecurityProfileRequest.struct_class = Types::UpdateSecurityProfileRequest
2239
2501
 
2502
+ UpdateTaskTemplateRequest.add_member(:task_template_id, Shapes::ShapeRef.new(shape: TaskTemplateId, required: true, location: "uri", location_name: "TaskTemplateId"))
2503
+ UpdateTaskTemplateRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2504
+ UpdateTaskTemplateRequest.add_member(:name, Shapes::ShapeRef.new(shape: TaskTemplateName, location_name: "Name"))
2505
+ UpdateTaskTemplateRequest.add_member(:description, Shapes::ShapeRef.new(shape: TaskTemplateDescription, location_name: "Description"))
2506
+ UpdateTaskTemplateRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
2507
+ UpdateTaskTemplateRequest.add_member(:constraints, Shapes::ShapeRef.new(shape: TaskTemplateConstraints, location_name: "Constraints"))
2508
+ UpdateTaskTemplateRequest.add_member(:defaults, Shapes::ShapeRef.new(shape: TaskTemplateDefaults, location_name: "Defaults"))
2509
+ UpdateTaskTemplateRequest.add_member(:status, Shapes::ShapeRef.new(shape: TaskTemplateStatus, location_name: "Status"))
2510
+ UpdateTaskTemplateRequest.add_member(:fields, Shapes::ShapeRef.new(shape: TaskTemplateFields, location_name: "Fields"))
2511
+ UpdateTaskTemplateRequest.struct_class = Types::UpdateTaskTemplateRequest
2512
+
2513
+ UpdateTaskTemplateResponse.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
2514
+ UpdateTaskTemplateResponse.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateId, location_name: "Id"))
2515
+ UpdateTaskTemplateResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TaskTemplateArn, location_name: "Arn"))
2516
+ UpdateTaskTemplateResponse.add_member(:name, Shapes::ShapeRef.new(shape: TaskTemplateName, location_name: "Name"))
2517
+ UpdateTaskTemplateResponse.add_member(:description, Shapes::ShapeRef.new(shape: TaskTemplateDescription, location_name: "Description"))
2518
+ UpdateTaskTemplateResponse.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
2519
+ UpdateTaskTemplateResponse.add_member(:constraints, Shapes::ShapeRef.new(shape: TaskTemplateConstraints, location_name: "Constraints"))
2520
+ UpdateTaskTemplateResponse.add_member(:defaults, Shapes::ShapeRef.new(shape: TaskTemplateDefaults, location_name: "Defaults"))
2521
+ UpdateTaskTemplateResponse.add_member(:fields, Shapes::ShapeRef.new(shape: TaskTemplateFields, location_name: "Fields"))
2522
+ UpdateTaskTemplateResponse.add_member(:status, Shapes::ShapeRef.new(shape: TaskTemplateStatus, location_name: "Status"))
2523
+ UpdateTaskTemplateResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastModifiedTime"))
2524
+ UpdateTaskTemplateResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedTime"))
2525
+ UpdateTaskTemplateResponse.struct_class = Types::UpdateTaskTemplateResponse
2526
+
2240
2527
  UpdateUserHierarchyGroupNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
2241
2528
  UpdateUserHierarchyGroupNameRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
2242
2529
  UpdateUserHierarchyGroupNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -2299,6 +2586,10 @@ module Aws::Connect
2299
2586
  UserIdentityInfo.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email"))
2300
2587
  UserIdentityInfo.struct_class = Types::UserIdentityInfo
2301
2588
 
2589
+ UserIdentityInfoLite.add_member(:first_name, Shapes::ShapeRef.new(shape: AgentFirstName, location_name: "FirstName"))
2590
+ UserIdentityInfoLite.add_member(:last_name, Shapes::ShapeRef.new(shape: AgentLastName, location_name: "LastName"))
2591
+ UserIdentityInfoLite.struct_class = Types::UserIdentityInfoLite
2592
+
2302
2593
  UserNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2303
2594
  UserNotFoundException.struct_class = Types::UserNotFoundException
2304
2595
 
@@ -2312,6 +2603,31 @@ module Aws::Connect
2312
2603
  UserQuickConnectConfig.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
2313
2604
  UserQuickConnectConfig.struct_class = Types::UserQuickConnectConfig
2314
2605
 
2606
+ UserSearchConditionList.member = Shapes::ShapeRef.new(shape: UserSearchCriteria)
2607
+
2608
+ UserSearchCriteria.add_member(:or_conditions, Shapes::ShapeRef.new(shape: UserSearchConditionList, location_name: "OrConditions"))
2609
+ UserSearchCriteria.add_member(:and_conditions, Shapes::ShapeRef.new(shape: UserSearchConditionList, location_name: "AndConditions"))
2610
+ UserSearchCriteria.add_member(:string_condition, Shapes::ShapeRef.new(shape: StringCondition, location_name: "StringCondition"))
2611
+ UserSearchCriteria.add_member(:hierarchy_group_condition, Shapes::ShapeRef.new(shape: HierarchyGroupCondition, location_name: "HierarchyGroupCondition"))
2612
+ UserSearchCriteria.struct_class = Types::UserSearchCriteria
2613
+
2614
+ UserSearchFilter.add_member(:tag_filter, Shapes::ShapeRef.new(shape: ControlPlaneTagFilter, location_name: "TagFilter"))
2615
+ UserSearchFilter.struct_class = Types::UserSearchFilter
2616
+
2617
+ UserSearchSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
2618
+ UserSearchSummary.add_member(:directory_user_id, Shapes::ShapeRef.new(shape: DirectoryUserId, location_name: "DirectoryUserId"))
2619
+ UserSearchSummary.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
2620
+ UserSearchSummary.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id"))
2621
+ UserSearchSummary.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfoLite, location_name: "IdentityInfo"))
2622
+ UserSearchSummary.add_member(:phone_config, Shapes::ShapeRef.new(shape: UserPhoneConfig, location_name: "PhoneConfig"))
2623
+ UserSearchSummary.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
2624
+ UserSearchSummary.add_member(:security_profile_ids, Shapes::ShapeRef.new(shape: SecurityProfileIds, location_name: "SecurityProfileIds"))
2625
+ UserSearchSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
2626
+ UserSearchSummary.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username"))
2627
+ UserSearchSummary.struct_class = Types::UserSearchSummary
2628
+
2629
+ UserSearchSummaryList.member = Shapes::ShapeRef.new(shape: UserSearchSummary)
2630
+
2315
2631
  UserSummary.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id"))
2316
2632
  UserSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
2317
2633
  UserSummary.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username"))
@@ -2669,6 +2985,20 @@ module Aws::Connect
2669
2985
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2670
2986
  end)
2671
2987
 
2988
+ api.add_operation(:create_task_template, Seahorse::Model::Operation.new.tap do |o|
2989
+ o.name = "CreateTaskTemplate"
2990
+ o.http_method = "PUT"
2991
+ o.http_request_uri = "/instance/{InstanceId}/task/template"
2992
+ o.input = Shapes::ShapeRef.new(shape: CreateTaskTemplateRequest)
2993
+ o.output = Shapes::ShapeRef.new(shape: CreateTaskTemplateResponse)
2994
+ o.errors << Shapes::ShapeRef.new(shape: PropertyValidationException)
2995
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2996
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2997
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2998
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2999
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3000
+ end)
3001
+
2672
3002
  api.add_operation(:create_use_case, Seahorse::Model::Operation.new.tap do |o|
2673
3003
  o.name = "CreateUseCase"
2674
3004
  o.http_method = "PUT"
@@ -2819,6 +3149,19 @@ module Aws::Connect
2819
3149
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2820
3150
  end)
2821
3151
 
3152
+ api.add_operation(:delete_task_template, Seahorse::Model::Operation.new.tap do |o|
3153
+ o.name = "DeleteTaskTemplate"
3154
+ o.http_method = "DELETE"
3155
+ o.http_request_uri = "/instance/{InstanceId}/task/template/{TaskTemplateId}"
3156
+ o.input = Shapes::ShapeRef.new(shape: DeleteTaskTemplateRequest)
3157
+ o.output = Shapes::ShapeRef.new(shape: DeleteTaskTemplateResponse)
3158
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3159
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3160
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3161
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3162
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3163
+ end)
3164
+
2822
3165
  api.add_operation(:delete_use_case, Seahorse::Model::Operation.new.tap do |o|
2823
3166
  o.name = "DeleteUseCase"
2824
3167
  o.http_method = "DELETE"
@@ -3272,6 +3615,19 @@ module Aws::Connect
3272
3615
  )
3273
3616
  end)
3274
3617
 
3618
+ api.add_operation(:get_task_template, Seahorse::Model::Operation.new.tap do |o|
3619
+ o.name = "GetTaskTemplate"
3620
+ o.http_method = "GET"
3621
+ o.http_request_uri = "/instance/{InstanceId}/task/template/{TaskTemplateId}"
3622
+ o.input = Shapes::ShapeRef.new(shape: GetTaskTemplateRequest)
3623
+ o.output = Shapes::ShapeRef.new(shape: GetTaskTemplateResponse)
3624
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3625
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3626
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3627
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3628
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3629
+ end)
3630
+
3275
3631
  api.add_operation(:list_agent_statuses, Seahorse::Model::Operation.new.tap do |o|
3276
3632
  o.name = "ListAgentStatuses"
3277
3633
  o.http_method = "GET"
@@ -3754,6 +4110,25 @@ module Aws::Connect
3754
4110
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3755
4111
  end)
3756
4112
 
4113
+ api.add_operation(:list_task_templates, Seahorse::Model::Operation.new.tap do |o|
4114
+ o.name = "ListTaskTemplates"
4115
+ o.http_method = "GET"
4116
+ o.http_request_uri = "/instance/{InstanceId}/task/template"
4117
+ o.input = Shapes::ShapeRef.new(shape: ListTaskTemplatesRequest)
4118
+ o.output = Shapes::ShapeRef.new(shape: ListTaskTemplatesResponse)
4119
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4120
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4121
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4122
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4123
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4124
+ o[:pager] = Aws::Pager.new(
4125
+ limit_key: "max_results",
4126
+ tokens: {
4127
+ "next_token" => "next_token"
4128
+ }
4129
+ )
4130
+ end)
4131
+
3757
4132
  api.add_operation(:list_use_cases, Seahorse::Model::Operation.new.tap do |o|
3758
4133
  o.name = "ListUseCases"
3759
4134
  o.http_method = "GET"
@@ -3810,6 +4185,20 @@ module Aws::Connect
3810
4185
  )
3811
4186
  end)
3812
4187
 
4188
+ api.add_operation(:put_user_status, Seahorse::Model::Operation.new.tap do |o|
4189
+ o.name = "PutUserStatus"
4190
+ o.http_method = "PUT"
4191
+ o.http_request_uri = "/users/{InstanceId}/{UserId}/status"
4192
+ o.input = Shapes::ShapeRef.new(shape: PutUserStatusRequest)
4193
+ o.output = Shapes::ShapeRef.new(shape: PutUserStatusResponse)
4194
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4195
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4196
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4197
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4198
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4199
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4200
+ end)
4201
+
3813
4202
  api.add_operation(:release_phone_number, Seahorse::Model::Operation.new.tap do |o|
3814
4203
  o.name = "ReleasePhoneNumber"
3815
4204
  o.http_method = "DELETE"
@@ -3854,6 +4243,25 @@ module Aws::Connect
3854
4243
  )
3855
4244
  end)
3856
4245
 
4246
+ api.add_operation(:search_users, Seahorse::Model::Operation.new.tap do |o|
4247
+ o.name = "SearchUsers"
4248
+ o.http_method = "POST"
4249
+ o.http_request_uri = "/search-users"
4250
+ o.input = Shapes::ShapeRef.new(shape: SearchUsersRequest)
4251
+ o.output = Shapes::ShapeRef.new(shape: SearchUsersResponse)
4252
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4253
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4254
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4255
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4256
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4257
+ o[:pager] = Aws::Pager.new(
4258
+ limit_key: "max_results",
4259
+ tokens: {
4260
+ "next_token" => "next_token"
4261
+ }
4262
+ )
4263
+ end)
4264
+
3857
4265
  api.add_operation(:search_vocabularies, Seahorse::Model::Operation.new.tap do |o|
3858
4266
  o.name = "SearchVocabularies"
3859
4267
  o.http_method = "POST"
@@ -3999,6 +4407,21 @@ module Aws::Connect
3999
4407
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4000
4408
  end)
4001
4409
 
4410
+ api.add_operation(:transfer_contact, Seahorse::Model::Operation.new.tap do |o|
4411
+ o.name = "TransferContact"
4412
+ o.http_method = "POST"
4413
+ o.http_request_uri = "/contact/transfer"
4414
+ o.input = Shapes::ShapeRef.new(shape: TransferContactRequest)
4415
+ o.output = Shapes::ShapeRef.new(shape: TransferContactResponse)
4416
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4417
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
4418
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4419
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4420
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4421
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4422
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4423
+ end)
4424
+
4002
4425
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
4003
4426
  o.name = "UntagResource"
4004
4427
  o.http_method = "DELETE"
@@ -4350,6 +4773,20 @@ module Aws::Connect
4350
4773
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4351
4774
  end)
4352
4775
 
4776
+ api.add_operation(:update_task_template, Seahorse::Model::Operation.new.tap do |o|
4777
+ o.name = "UpdateTaskTemplate"
4778
+ o.http_method = "POST"
4779
+ o.http_request_uri = "/instance/{InstanceId}/task/template/{TaskTemplateId}"
4780
+ o.input = Shapes::ShapeRef.new(shape: UpdateTaskTemplateRequest)
4781
+ o.output = Shapes::ShapeRef.new(shape: UpdateTaskTemplateResponse)
4782
+ o.errors << Shapes::ShapeRef.new(shape: PropertyValidationException)
4783
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4784
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4785
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4786
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4787
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4788
+ end)
4789
+
4353
4790
  api.add_operation(:update_user_hierarchy, Seahorse::Model::Operation.new.tap do |o|
4354
4791
  o.name = "UpdateUserHierarchy"
4355
4792
  o.http_method = "POST"