aws-sdk-connect 1.71.0 → 1.72.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -122,6 +122,8 @@ module Aws::Connect
122
122
  CreateRoutingProfileResponse = Shapes::StructureShape.new(name: 'CreateRoutingProfileResponse')
123
123
  CreateSecurityProfileRequest = Shapes::StructureShape.new(name: 'CreateSecurityProfileRequest')
124
124
  CreateSecurityProfileResponse = Shapes::StructureShape.new(name: 'CreateSecurityProfileResponse')
125
+ CreateTaskTemplateRequest = Shapes::StructureShape.new(name: 'CreateTaskTemplateRequest')
126
+ CreateTaskTemplateResponse = Shapes::StructureShape.new(name: 'CreateTaskTemplateResponse')
125
127
  CreateUseCaseRequest = Shapes::StructureShape.new(name: 'CreateUseCaseRequest')
126
128
  CreateUseCaseResponse = Shapes::StructureShape.new(name: 'CreateUseCaseResponse')
127
129
  CreateUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupRequest')
@@ -138,6 +140,7 @@ module Aws::Connect
138
140
  CurrentMetricResult = Shapes::StructureShape.new(name: 'CurrentMetricResult')
139
141
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
140
142
  CurrentMetrics = Shapes::ListShape.new(name: 'CurrentMetrics')
143
+ DateReference = Shapes::StructureShape.new(name: 'DateReference')
141
144
  DefaultVocabulary = Shapes::StructureShape.new(name: 'DefaultVocabulary')
142
145
  DefaultVocabularyList = Shapes::ListShape.new(name: 'DefaultVocabularyList')
143
146
  Delay = Shapes::IntegerShape.new(name: 'Delay')
@@ -149,6 +152,8 @@ module Aws::Connect
149
152
  DeleteIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationAssociationRequest')
150
153
  DeleteQuickConnectRequest = Shapes::StructureShape.new(name: 'DeleteQuickConnectRequest')
151
154
  DeleteSecurityProfileRequest = Shapes::StructureShape.new(name: 'DeleteSecurityProfileRequest')
155
+ DeleteTaskTemplateRequest = Shapes::StructureShape.new(name: 'DeleteTaskTemplateRequest')
156
+ DeleteTaskTemplateResponse = Shapes::StructureShape.new(name: 'DeleteTaskTemplateResponse')
152
157
  DeleteUseCaseRequest = Shapes::StructureShape.new(name: 'DeleteUseCaseRequest')
153
158
  DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
154
159
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
@@ -207,6 +212,7 @@ module Aws::Connect
207
212
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
208
213
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
209
214
  Email = Shapes::StringShape.new(name: 'Email')
215
+ EmailReference = Shapes::StructureShape.new(name: 'EmailReference')
210
216
  EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
211
217
  EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
212
218
  Filters = Shapes::StructureShape.new(name: 'Filters')
@@ -220,6 +226,8 @@ module Aws::Connect
220
226
  GetFederationTokenResponse = Shapes::StructureShape.new(name: 'GetFederationTokenResponse')
221
227
  GetMetricDataRequest = Shapes::StructureShape.new(name: 'GetMetricDataRequest')
222
228
  GetMetricDataResponse = Shapes::StructureShape.new(name: 'GetMetricDataResponse')
229
+ GetTaskTemplateRequest = Shapes::StructureShape.new(name: 'GetTaskTemplateRequest')
230
+ GetTaskTemplateResponse = Shapes::StructureShape.new(name: 'GetTaskTemplateResponse')
223
231
  Grouping = Shapes::StringShape.new(name: 'Grouping')
224
232
  Groupings = Shapes::ListShape.new(name: 'Groupings')
225
233
  HierarchyGroup = Shapes::StructureShape.new(name: 'HierarchyGroup')
@@ -277,6 +285,8 @@ module Aws::Connect
277
285
  InvalidContactFlowModuleException = Shapes::StructureShape.new(name: 'InvalidContactFlowModuleException')
278
286
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
279
287
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
288
+ InvisibleFieldInfo = Shapes::StructureShape.new(name: 'InvisibleFieldInfo')
289
+ InvisibleTaskTemplateFields = Shapes::ListShape.new(name: 'InvisibleTaskTemplateFields')
280
290
  KeyId = Shapes::StringShape.new(name: 'KeyId')
281
291
  KinesisFirehoseConfig = Shapes::StructureShape.new(name: 'KinesisFirehoseConfig')
282
292
  KinesisStreamConfig = Shapes::StructureShape.new(name: 'KinesisStreamConfig')
@@ -344,6 +354,8 @@ module Aws::Connect
344
354
  ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
345
355
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
346
356
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
357
+ ListTaskTemplatesRequest = Shapes::StructureShape.new(name: 'ListTaskTemplatesRequest')
358
+ ListTaskTemplatesResponse = Shapes::StructureShape.new(name: 'ListTaskTemplatesResponse')
347
359
  ListUseCasesRequest = Shapes::StructureShape.new(name: 'ListUseCasesRequest')
348
360
  ListUseCasesResponse = Shapes::StructureShape.new(name: 'ListUseCasesResponse')
349
361
  ListUserHierarchyGroupsRequest = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsRequest')
@@ -363,6 +375,7 @@ module Aws::Connect
363
375
  Name = Shapes::StringShape.new(name: 'Name')
364
376
  NextToken = Shapes::StringShape.new(name: 'NextToken')
365
377
  NextToken2500 = Shapes::StringShape.new(name: 'NextToken2500')
378
+ NumberReference = Shapes::StructureShape.new(name: 'NumberReference')
366
379
  Origin = Shapes::StringShape.new(name: 'Origin')
367
380
  OriginsList = Shapes::ListShape.new(name: 'OriginsList')
368
381
  OutboundCallerConfig = Shapes::StructureShape.new(name: 'OutboundCallerConfig')
@@ -399,6 +412,10 @@ module Aws::Connect
399
412
  PromptName = Shapes::StringShape.new(name: 'PromptName')
400
413
  PromptSummary = Shapes::StructureShape.new(name: 'PromptSummary')
401
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')
402
419
  PutUserStatusRequest = Shapes::StructureShape.new(name: 'PutUserStatusRequest')
403
420
  PutUserStatusResponse = Shapes::StructureShape.new(name: 'PutUserStatusResponse')
404
421
  Queue = Shapes::StructureShape.new(name: 'Queue')
@@ -425,6 +442,8 @@ module Aws::Connect
425
442
  QuickConnectType = Shapes::StringShape.new(name: 'QuickConnectType')
426
443
  QuickConnectTypes = Shapes::ListShape.new(name: 'QuickConnectTypes')
427
444
  QuickConnectsList = Shapes::ListShape.new(name: 'QuickConnectsList')
445
+ ReadOnlyFieldInfo = Shapes::StructureShape.new(name: 'ReadOnlyFieldInfo')
446
+ ReadOnlyTaskTemplateFields = Shapes::ListShape.new(name: 'ReadOnlyTaskTemplateFields')
428
447
  Reference = Shapes::StructureShape.new(name: 'Reference')
429
448
  ReferenceKey = Shapes::StringShape.new(name: 'ReferenceKey')
430
449
  ReferenceStatus = Shapes::StringShape.new(name: 'ReferenceStatus')
@@ -434,6 +453,8 @@ module Aws::Connect
434
453
  ReferenceTypes = Shapes::ListShape.new(name: 'ReferenceTypes')
435
454
  ReferenceValue = Shapes::StringShape.new(name: 'ReferenceValue')
436
455
  ReleasePhoneNumberRequest = Shapes::StructureShape.new(name: 'ReleasePhoneNumberRequest')
456
+ RequiredFieldInfo = Shapes::StructureShape.new(name: 'RequiredFieldInfo')
457
+ RequiredTaskTemplateFields = Shapes::ListShape.new(name: 'RequiredTaskTemplateFields')
437
458
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
438
459
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
439
460
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -471,6 +492,8 @@ module Aws::Connect
471
492
  SecurityProfileSummaryList = Shapes::ListShape.new(name: 'SecurityProfileSummaryList')
472
493
  SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
473
494
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
495
+ SingleSelectOptions = Shapes::ListShape.new(name: 'SingleSelectOptions')
496
+ SnapshotVersion = Shapes::StringShape.new(name: 'SnapshotVersion')
474
497
  SourceApplicationName = Shapes::StringShape.new(name: 'SourceApplicationName')
475
498
  SourceType = Shapes::StringShape.new(name: 'SourceType')
476
499
  StartChatContactRequest = Shapes::StructureShape.new(name: 'StartChatContactRequest')
@@ -495,6 +518,7 @@ module Aws::Connect
495
518
  String = Shapes::StringShape.new(name: 'String')
496
519
  StringComparisonType = Shapes::StringShape.new(name: 'StringComparisonType')
497
520
  StringCondition = Shapes::StructureShape.new(name: 'StringCondition')
521
+ StringReference = Shapes::StructureShape.new(name: 'StringReference')
498
522
  SupportedMessagingContentType = Shapes::StringShape.new(name: 'SupportedMessagingContentType')
499
523
  SupportedMessagingContentTypes = Shapes::ListShape.new(name: 'SupportedMessagingContentTypes')
500
524
  SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
@@ -507,12 +531,33 @@ module Aws::Connect
507
531
  TagOrConditionList = Shapes::ListShape.new(name: 'TagOrConditionList')
508
532
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
509
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')
510
553
  Threshold = Shapes::StructureShape.new(name: 'Threshold')
511
554
  ThresholdValue = Shapes::FloatShape.new(name: 'ThresholdValue')
512
555
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
513
556
  TimeZone = Shapes::StringShape.new(name: 'TimeZone')
514
557
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
515
558
  TrafficType = Shapes::StringShape.new(name: 'TrafficType')
559
+ TransferContactRequest = Shapes::StructureShape.new(name: 'TransferContactRequest')
560
+ TransferContactResponse = Shapes::StructureShape.new(name: 'TransferContactResponse')
516
561
  URI = Shapes::StringShape.new(name: 'URI')
517
562
  Unit = Shapes::StringShape.new(name: 'Unit')
518
563
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -550,6 +595,8 @@ module Aws::Connect
550
595
  UpdateRoutingProfileNameRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileNameRequest')
551
596
  UpdateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileQueuesRequest')
552
597
  UpdateSecurityProfileRequest = Shapes::StructureShape.new(name: 'UpdateSecurityProfileRequest')
598
+ UpdateTaskTemplateRequest = Shapes::StructureShape.new(name: 'UpdateTaskTemplateRequest')
599
+ UpdateTaskTemplateResponse = Shapes::StructureShape.new(name: 'UpdateTaskTemplateResponse')
553
600
  UpdateUserHierarchyGroupNameRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyGroupNameRequest')
554
601
  UpdateUserHierarchyRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyRequest')
555
602
  UpdateUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyStructureRequest')
@@ -920,6 +967,21 @@ module Aws::Connect
920
967
  CreateSecurityProfileResponse.add_member(:security_profile_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SecurityProfileArn"))
921
968
  CreateSecurityProfileResponse.struct_class = Types::CreateSecurityProfileResponse
922
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
+
923
985
  CreateUseCaseRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
924
986
  CreateUseCaseRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
925
987
  CreateUseCaseRequest.add_member(:use_case_type, Shapes::ShapeRef.new(shape: UseCaseType, required: true, location_name: "UseCaseType"))
@@ -993,6 +1055,10 @@ module Aws::Connect
993
1055
 
994
1056
  CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
995
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
+
996
1062
  DefaultVocabulary.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
997
1063
  DefaultVocabulary.add_member(:language_code, Shapes::ShapeRef.new(shape: VocabularyLanguageCode, required: true, location_name: "LanguageCode"))
998
1064
  DefaultVocabulary.add_member(:vocabulary_id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location_name: "VocabularyId"))
@@ -1030,6 +1096,12 @@ module Aws::Connect
1030
1096
  DeleteSecurityProfileRequest.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, required: true, location: "uri", location_name: "SecurityProfileId"))
1031
1097
  DeleteSecurityProfileRequest.struct_class = Types::DeleteSecurityProfileRequest
1032
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
+
1033
1105
  DeleteUseCaseRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1034
1106
  DeleteUseCaseRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
1035
1107
  DeleteUseCaseRequest.add_member(:use_case_id, Shapes::ShapeRef.new(shape: UseCaseId, required: true, location: "uri", location_name: "UseCaseId"))
@@ -1220,6 +1292,10 @@ module Aws::Connect
1220
1292
  DuplicateResourceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1221
1293
  DuplicateResourceException.struct_class = Types::DuplicateResourceException
1222
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
+
1223
1299
  EncryptionConfig.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "EncryptionType"))
1224
1300
  EncryptionConfig.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, required: true, location_name: "KeyId"))
1225
1301
  EncryptionConfig.struct_class = Types::EncryptionConfig
@@ -1270,6 +1346,26 @@ module Aws::Connect
1270
1346
  GetMetricDataResponse.add_member(:metric_results, Shapes::ShapeRef.new(shape: HistoricalMetricResults, location_name: "MetricResults"))
1271
1347
  GetMetricDataResponse.struct_class = Types::GetMetricDataResponse
1272
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
+
1273
1369
  Groupings.member = Shapes::ShapeRef.new(shape: Grouping)
1274
1370
 
1275
1371
  HierarchyGroup.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
@@ -1435,6 +1531,11 @@ module Aws::Connect
1435
1531
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1436
1532
  InvalidRequestException.struct_class = Types::InvalidRequestException
1437
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
+
1438
1539
  KinesisFirehoseConfig.add_member(:firehose_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "FirehoseArn"))
1439
1540
  KinesisFirehoseConfig.struct_class = Types::KinesisFirehoseConfig
1440
1541
 
@@ -1722,6 +1823,17 @@ module Aws::Connect
1722
1823
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
1723
1824
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1724
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
+
1725
1837
  ListUseCasesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1726
1838
  ListUseCasesRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
1727
1839
  ListUseCasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1756,6 +1868,10 @@ module Aws::Connect
1756
1868
  MediaConcurrency.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, required: true, location_name: "Concurrency"))
1757
1869
  MediaConcurrency.struct_class = Types::MediaConcurrency
1758
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
+
1759
1875
  OriginsList.member = Shapes::ShapeRef.new(shape: Origin)
1760
1876
 
1761
1877
  OutboundCallerConfig.add_member(:outbound_caller_id_name, Shapes::ShapeRef.new(shape: OutboundCallerIdName, location_name: "OutboundCallerIdName"))
@@ -1803,6 +1919,17 @@ module Aws::Connect
1803
1919
 
1804
1920
  PromptSummaryList.member = Shapes::ShapeRef.new(shape: PromptSummary)
1805
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
+
1806
1933
  PutUserStatusRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
1807
1934
  PutUserStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1808
1935
  PutUserStatusRequest.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, required: true, location_name: "AgentStatusId"))
@@ -1871,15 +1998,28 @@ module Aws::Connect
1871
1998
 
1872
1999
  QuickConnectsList.member = Shapes::ShapeRef.new(shape: QuickConnectId)
1873
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
+
1874
2006
  Reference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, required: true, location_name: "Value"))
1875
2007
  Reference.add_member(:type, Shapes::ShapeRef.new(shape: ReferenceType, required: true, location_name: "Type"))
1876
2008
  Reference.struct_class = Types::Reference
1877
2009
 
1878
2010
  ReferenceSummary.add_member(:url, Shapes::ShapeRef.new(shape: UrlReference, location_name: "Url"))
1879
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"))
1880
2016
  ReferenceSummary.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1881
2017
  ReferenceSummary.add_member_subclass(:url, Types::ReferenceSummary::Url)
1882
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)
1883
2023
  ReferenceSummary.add_member_subclass(:unknown, Types::ReferenceSummary::Unknown)
1884
2024
  ReferenceSummary.struct_class = Types::ReferenceSummary
1885
2025
 
@@ -1891,6 +2031,11 @@ module Aws::Connect
1891
2031
  ReleasePhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1892
2032
  ReleasePhoneNumberRequest.struct_class = Types::ReleasePhoneNumberRequest
1893
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
+
1894
2039
  ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1895
2040
  ResourceConflictException.struct_class = Types::ResourceConflictException
1896
2041
 
@@ -2017,6 +2162,8 @@ module Aws::Connect
2017
2162
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2018
2163
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
2019
2164
 
2165
+ SingleSelectOptions.member = Shapes::ShapeRef.new(shape: TaskTemplateSingleSelectOption)
2166
+
2020
2167
  StartChatContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
2021
2168
  StartChatContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
2022
2169
  StartChatContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
@@ -2066,13 +2213,15 @@ module Aws::Connect
2066
2213
 
2067
2214
  StartTaskContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
2068
2215
  StartTaskContactRequest.add_member(:previous_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "PreviousContactId"))
2069
- 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"))
2070
2217
  StartTaskContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
2071
2218
  StartTaskContactRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
2072
2219
  StartTaskContactRequest.add_member(:references, Shapes::ShapeRef.new(shape: ContactReferences, location_name: "References"))
2073
2220
  StartTaskContactRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
2074
2221
  StartTaskContactRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
2075
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"))
2076
2225
  StartTaskContactRequest.struct_class = Types::StartTaskContactRequest
2077
2226
 
2078
2227
  StartTaskContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
@@ -2103,6 +2252,10 @@ module Aws::Connect
2103
2252
  StringCondition.add_member(:comparison_type, Shapes::ShapeRef.new(shape: StringComparisonType, location_name: "ComparisonType"))
2104
2253
  StringCondition.struct_class = Types::StringCondition
2105
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
+
2106
2259
  SupportedMessagingContentTypes.member = Shapes::ShapeRef.new(shape: SupportedMessagingContentType)
2107
2260
 
2108
2261
  SuspendContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
@@ -2129,6 +2282,42 @@ module Aws::Connect
2129
2282
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
2130
2283
  TagResourceRequest.struct_class = Types::TagResourceRequest
2131
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
+
2132
2321
  Threshold.add_member(:comparison, Shapes::ShapeRef.new(shape: Comparison, location_name: "Comparison"))
2133
2322
  Threshold.add_member(:threshold_value, Shapes::ShapeRef.new(shape: ThresholdValue, location_name: "ThresholdValue", metadata: {"box"=>true}))
2134
2323
  Threshold.struct_class = Types::Threshold
@@ -2136,6 +2325,18 @@ module Aws::Connect
2136
2325
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2137
2326
  ThrottlingException.struct_class = Types::ThrottlingException
2138
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
+
2139
2340
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
2140
2341
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
2141
2342
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -2298,6 +2499,31 @@ module Aws::Connect
2298
2499
  UpdateSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2299
2500
  UpdateSecurityProfileRequest.struct_class = Types::UpdateSecurityProfileRequest
2300
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
+
2301
2527
  UpdateUserHierarchyGroupNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
2302
2528
  UpdateUserHierarchyGroupNameRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
2303
2529
  UpdateUserHierarchyGroupNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -2759,6 +2985,20 @@ module Aws::Connect
2759
2985
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2760
2986
  end)
2761
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
+
2762
3002
  api.add_operation(:create_use_case, Seahorse::Model::Operation.new.tap do |o|
2763
3003
  o.name = "CreateUseCase"
2764
3004
  o.http_method = "PUT"
@@ -2909,6 +3149,19 @@ module Aws::Connect
2909
3149
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2910
3150
  end)
2911
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
+
2912
3165
  api.add_operation(:delete_use_case, Seahorse::Model::Operation.new.tap do |o|
2913
3166
  o.name = "DeleteUseCase"
2914
3167
  o.http_method = "DELETE"
@@ -3362,6 +3615,19 @@ module Aws::Connect
3362
3615
  )
3363
3616
  end)
3364
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
+
3365
3631
  api.add_operation(:list_agent_statuses, Seahorse::Model::Operation.new.tap do |o|
3366
3632
  o.name = "ListAgentStatuses"
3367
3633
  o.http_method = "GET"
@@ -3844,6 +4110,25 @@ module Aws::Connect
3844
4110
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3845
4111
  end)
3846
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
+
3847
4132
  api.add_operation(:list_use_cases, Seahorse::Model::Operation.new.tap do |o|
3848
4133
  o.name = "ListUseCases"
3849
4134
  o.http_method = "GET"
@@ -4122,6 +4407,21 @@ module Aws::Connect
4122
4407
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4123
4408
  end)
4124
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
+
4125
4425
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
4126
4426
  o.name = "UntagResource"
4127
4427
  o.http_method = "DELETE"
@@ -4473,6 +4773,20 @@ module Aws::Connect
4473
4773
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4474
4774
  end)
4475
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
+
4476
4790
  api.add_operation(:update_user_hierarchy, Seahorse::Model::Operation.new.tap do |o|
4477
4791
  o.name = "UpdateUserHierarchy"
4478
4792
  o.http_method = "POST"
@@ -40,6 +40,7 @@ module Aws::Connect
40
40
  # * {InvalidRequestException}
41
41
  # * {LimitExceededException}
42
42
  # * {OutboundContactNotPermittedException}
43
+ # * {PropertyValidationException}
43
44
  # * {ResourceConflictException}
44
45
  # * {ResourceInUseException}
45
46
  # * {ResourceNotFoundException}
@@ -248,6 +249,26 @@ module Aws::Connect
248
249
  end
249
250
  end
250
251
 
252
+ class PropertyValidationException < ServiceError
253
+
254
+ # @param [Seahorse::Client::RequestContext] context
255
+ # @param [String] message
256
+ # @param [Aws::Connect::Types::PropertyValidationException] data
257
+ def initialize(context, message, data = Aws::EmptyStructure.new)
258
+ super(context, message, data)
259
+ end
260
+
261
+ # @return [String]
262
+ def message
263
+ @message || @data[:message]
264
+ end
265
+
266
+ # @return [String]
267
+ def property_list
268
+ @data[:property_list]
269
+ end
270
+ end
271
+
251
272
  class ResourceConflictException < ServiceError
252
273
 
253
274
  # @param [Seahorse::Client::RequestContext] context