aws-sdk-connect 1.155.0 → 1.156.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -81,6 +81,11 @@ module Aws::Connect
81
81
  AssociateTrafficDistributionGroupUserResponse = Shapes::StructureShape.new(name: 'AssociateTrafficDistributionGroupUserResponse')
82
82
  AssociateUserProficienciesRequest = Shapes::StructureShape.new(name: 'AssociateUserProficienciesRequest')
83
83
  AssociationId = Shapes::StringShape.new(name: 'AssociationId')
84
+ AttachedFile = Shapes::StructureShape.new(name: 'AttachedFile')
85
+ AttachedFileError = Shapes::StructureShape.new(name: 'AttachedFileError')
86
+ AttachedFileErrorsList = Shapes::ListShape.new(name: 'AttachedFileErrorsList')
87
+ AttachedFileInvalidRequestExceptionReason = Shapes::StringShape.new(name: 'AttachedFileInvalidRequestExceptionReason')
88
+ AttachedFilesList = Shapes::ListShape.new(name: 'AttachedFilesList')
84
89
  AttachmentName = Shapes::StringShape.new(name: 'AttachmentName')
85
90
  AttachmentReference = Shapes::StructureShape.new(name: 'AttachmentReference')
86
91
  Attendee = Shapes::StructureShape.new(name: 'Attendee')
@@ -101,6 +106,8 @@ module Aws::Connect
101
106
  BatchAssociateAnalyticsDataSetResponse = Shapes::StructureShape.new(name: 'BatchAssociateAnalyticsDataSetResponse')
102
107
  BatchDisassociateAnalyticsDataSetRequest = Shapes::StructureShape.new(name: 'BatchDisassociateAnalyticsDataSetRequest')
103
108
  BatchDisassociateAnalyticsDataSetResponse = Shapes::StructureShape.new(name: 'BatchDisassociateAnalyticsDataSetResponse')
109
+ BatchGetAttachedFileMetadataRequest = Shapes::StructureShape.new(name: 'BatchGetAttachedFileMetadataRequest')
110
+ BatchGetAttachedFileMetadataResponse = Shapes::StructureShape.new(name: 'BatchGetAttachedFileMetadataResponse')
104
111
  BatchGetFlowAssociationRequest = Shapes::StructureShape.new(name: 'BatchGetFlowAssociationRequest')
105
112
  BatchGetFlowAssociationResponse = Shapes::StructureShape.new(name: 'BatchGetFlowAssociationResponse')
106
113
  BatchPutContactRequest = Shapes::StructureShape.new(name: 'BatchPutContactRequest')
@@ -131,6 +138,8 @@ module Aws::Connect
131
138
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
132
139
  CommonNameLength127 = Shapes::StringShape.new(name: 'CommonNameLength127')
133
140
  Comparison = Shapes::StringShape.new(name: 'Comparison')
141
+ CompleteAttachedFileUploadRequest = Shapes::StructureShape.new(name: 'CompleteAttachedFileUploadRequest')
142
+ CompleteAttachedFileUploadResponse = Shapes::StructureShape.new(name: 'CompleteAttachedFileUploadResponse')
134
143
  Concurrency = Shapes::IntegerShape.new(name: 'Concurrency')
135
144
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
136
145
  ConnectionData = Shapes::StructureShape.new(name: 'ConnectionData')
@@ -226,6 +235,7 @@ module Aws::Connect
226
235
  CreateViewVersionResponse = Shapes::StructureShape.new(name: 'CreateViewVersionResponse')
227
236
  CreateVocabularyRequest = Shapes::StructureShape.new(name: 'CreateVocabularyRequest')
228
237
  CreateVocabularyResponse = Shapes::StructureShape.new(name: 'CreateVocabularyResponse')
238
+ CreatedByInfo = Shapes::UnionShape.new(name: 'CreatedByInfo')
229
239
  Credentials = Shapes::StructureShape.new(name: 'Credentials')
230
240
  CrossChannelBehavior = Shapes::StructureShape.new(name: 'CrossChannelBehavior')
231
241
  CurrentMetric = Shapes::StructureShape.new(name: 'CurrentMetric')
@@ -245,6 +255,8 @@ module Aws::Connect
245
255
  DefaultVocabulary = Shapes::StructureShape.new(name: 'DefaultVocabulary')
246
256
  DefaultVocabularyList = Shapes::ListShape.new(name: 'DefaultVocabularyList')
247
257
  Delay = Shapes::IntegerShape.new(name: 'Delay')
258
+ DeleteAttachedFileRequest = Shapes::StructureShape.new(name: 'DeleteAttachedFileRequest')
259
+ DeleteAttachedFileResponse = Shapes::StructureShape.new(name: 'DeleteAttachedFileResponse')
248
260
  DeleteContactEvaluationRequest = Shapes::StructureShape.new(name: 'DeleteContactEvaluationRequest')
249
261
  DeleteContactFlowModuleRequest = Shapes::StructureShape.new(name: 'DeleteContactFlowModuleRequest')
250
262
  DeleteContactFlowModuleResponse = Shapes::StructureShape.new(name: 'DeleteContactFlowModuleResponse')
@@ -357,6 +369,7 @@ module Aws::Connect
357
369
  Distribution = Shapes::StructureShape.new(name: 'Distribution')
358
370
  DistributionList = Shapes::ListShape.new(name: 'DistributionList')
359
371
  Double = Shapes::FloatShape.new(name: 'Double')
372
+ DownloadUrlMetadata = Shapes::StructureShape.new(name: 'DownloadUrlMetadata')
360
373
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
361
374
  Email = Shapes::StringShape.new(name: 'Email')
362
375
  EmailReference = Shapes::StructureShape.new(name: 'EmailReference')
@@ -367,6 +380,8 @@ module Aws::Connect
367
380
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
368
381
  EndpointAddress = Shapes::StringShape.new(name: 'EndpointAddress')
369
382
  EndpointType = Shapes::StringShape.new(name: 'EndpointType')
383
+ ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
384
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
370
385
  ErrorResult = Shapes::StructureShape.new(name: 'ErrorResult')
371
386
  ErrorResults = Shapes::ListShape.new(name: 'ErrorResults')
372
387
  Evaluation = Shapes::StructureShape.new(name: 'Evaluation')
@@ -435,6 +450,12 @@ module Aws::Connect
435
450
  FieldValueId = Shapes::StringShape.new(name: 'FieldValueId')
436
451
  FieldValueUnion = Shapes::StructureShape.new(name: 'FieldValueUnion')
437
452
  FieldValues = Shapes::ListShape.new(name: 'FieldValues')
453
+ FileId = Shapes::StringShape.new(name: 'FileId')
454
+ FileIdList = Shapes::ListShape.new(name: 'FileIdList')
455
+ FileName = Shapes::StringShape.new(name: 'FileName')
456
+ FileSizeInBytes = Shapes::IntegerShape.new(name: 'FileSizeInBytes')
457
+ FileStatusType = Shapes::StringShape.new(name: 'FileStatusType')
458
+ FileUseCaseType = Shapes::StringShape.new(name: 'FileUseCaseType')
438
459
  FilterV2 = Shapes::StructureShape.new(name: 'FilterV2')
439
460
  FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
440
461
  Filters = Shapes::StructureShape.new(name: 'Filters')
@@ -444,6 +465,8 @@ module Aws::Connect
444
465
  FlowAssociationSummaryList = Shapes::ListShape.new(name: 'FlowAssociationSummaryList')
445
466
  FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
446
467
  FunctionArnsList = Shapes::ListShape.new(name: 'FunctionArnsList')
468
+ GetAttachedFileRequest = Shapes::StructureShape.new(name: 'GetAttachedFileRequest')
469
+ GetAttachedFileResponse = Shapes::StructureShape.new(name: 'GetAttachedFileResponse')
447
470
  GetContactAttributesRequest = Shapes::StructureShape.new(name: 'GetContactAttributesRequest')
448
471
  GetContactAttributesResponse = Shapes::StructureShape.new(name: 'GetContactAttributesResponse')
449
472
  GetCurrentMetricDataRequest = Shapes::StructureShape.new(name: 'GetCurrentMetricDataRequest')
@@ -542,6 +565,7 @@ module Aws::Connect
542
565
  InvalidContactFlowModuleException = Shapes::StructureShape.new(name: 'InvalidContactFlowModuleException')
543
566
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
544
567
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
568
+ InvalidRequestExceptionReason = Shapes::UnionShape.new(name: 'InvalidRequestExceptionReason')
545
569
  InvisibleFieldInfo = Shapes::StructureShape.new(name: 'InvisibleFieldInfo')
546
570
  InvisibleTaskTemplateFields = Shapes::ListShape.new(name: 'InvisibleTaskTemplateFields')
547
571
  JoinToken = Shapes::StringShape.new(name: 'JoinToken')
@@ -669,6 +693,7 @@ module Aws::Connect
669
693
  MeetingFeaturesConfiguration = Shapes::StructureShape.new(name: 'MeetingFeaturesConfiguration')
670
694
  MeetingId = Shapes::StringShape.new(name: 'MeetingId')
671
695
  Message = Shapes::StringShape.new(name: 'Message')
696
+ MetadataUrl = Shapes::StringShape.new(name: 'MetadataUrl')
672
697
  MetricDataCollectionsV2 = Shapes::ListShape.new(name: 'MetricDataCollectionsV2')
673
698
  MetricDataV2 = Shapes::StructureShape.new(name: 'MetricDataV2')
674
699
  MetricFilterV2 = Shapes::StructureShape.new(name: 'MetricFilterV2')
@@ -985,6 +1010,8 @@ module Aws::Connect
985
1010
  SourceApplicationName = Shapes::StringShape.new(name: 'SourceApplicationName')
986
1011
  SourceId = Shapes::StringShape.new(name: 'SourceId')
987
1012
  SourceType = Shapes::StringShape.new(name: 'SourceType')
1013
+ StartAttachedFileUploadRequest = Shapes::StructureShape.new(name: 'StartAttachedFileUploadRequest')
1014
+ StartAttachedFileUploadResponse = Shapes::StructureShape.new(name: 'StartAttachedFileUploadResponse')
988
1015
  StartChatContactRequest = Shapes::StructureShape.new(name: 'StartChatContactRequest')
989
1016
  StartChatContactResponse = Shapes::StructureShape.new(name: 'StartChatContactResponse')
990
1017
  StartContactEvaluationRequest = Shapes::StructureShape.new(name: 'StartContactEvaluationRequest')
@@ -1092,6 +1119,7 @@ module Aws::Connect
1092
1119
  TransferContactRequest = Shapes::StructureShape.new(name: 'TransferContactRequest')
1093
1120
  TransferContactResponse = Shapes::StructureShape.new(name: 'TransferContactResponse')
1094
1121
  URI = Shapes::StringShape.new(name: 'URI')
1122
+ URLExpiryInSeconds = Shapes::IntegerShape.new(name: 'URLExpiryInSeconds')
1095
1123
  Unit = Shapes::StringShape.new(name: 'Unit')
1096
1124
  UntagContactRequest = Shapes::StructureShape.new(name: 'UntagContactRequest')
1097
1125
  UntagContactResponse = Shapes::StructureShape.new(name: 'UntagContactResponse')
@@ -1165,7 +1193,11 @@ module Aws::Connect
1165
1193
  UpdateViewContentResponse = Shapes::StructureShape.new(name: 'UpdateViewContentResponse')
1166
1194
  UpdateViewMetadataRequest = Shapes::StructureShape.new(name: 'UpdateViewMetadataRequest')
1167
1195
  UpdateViewMetadataResponse = Shapes::StructureShape.new(name: 'UpdateViewMetadataResponse')
1196
+ UploadUrlMetadata = Shapes::StructureShape.new(name: 'UploadUrlMetadata')
1168
1197
  Url = Shapes::StringShape.new(name: 'Url')
1198
+ UrlMetadataSignedHeaders = Shapes::MapShape.new(name: 'UrlMetadataSignedHeaders')
1199
+ UrlMetadataSignedHeadersKey = Shapes::StringShape.new(name: 'UrlMetadataSignedHeadersKey')
1200
+ UrlMetadataSignedHeadersValue = Shapes::StringShape.new(name: 'UrlMetadataSignedHeadersValue')
1169
1201
  UrlReference = Shapes::StructureShape.new(name: 'UrlReference')
1170
1202
  UseCase = Shapes::StructureShape.new(name: 'UseCase')
1171
1203
  UseCaseId = Shapes::StringShape.new(name: 'UseCaseId')
@@ -1430,6 +1462,27 @@ module Aws::Connect
1430
1462
  AssociateUserProficienciesRequest.add_member(:user_proficiencies, Shapes::ShapeRef.new(shape: UserProficiencyList, required: true, location_name: "UserProficiencies"))
1431
1463
  AssociateUserProficienciesRequest.struct_class = Types::AssociateUserProficienciesRequest
1432
1464
 
1465
+ AttachedFile.add_member(:creation_time, Shapes::ShapeRef.new(shape: ISO8601Datetime, required: true, location_name: "CreationTime"))
1466
+ AttachedFile.add_member(:file_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "FileArn"))
1467
+ AttachedFile.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, required: true, location_name: "FileId"))
1468
+ AttachedFile.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, required: true, location_name: "FileName"))
1469
+ AttachedFile.add_member(:file_size_in_bytes, Shapes::ShapeRef.new(shape: FileSizeInBytes, required: true, location_name: "FileSizeInBytes", metadata: {"box"=>true}))
1470
+ AttachedFile.add_member(:file_status, Shapes::ShapeRef.new(shape: FileStatusType, required: true, location_name: "FileStatus"))
1471
+ AttachedFile.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedByInfo, location_name: "CreatedBy"))
1472
+ AttachedFile.add_member(:file_use_case_type, Shapes::ShapeRef.new(shape: FileUseCaseType, location_name: "FileUseCaseType"))
1473
+ AttachedFile.add_member(:associated_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "AssociatedResourceArn"))
1474
+ AttachedFile.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1475
+ AttachedFile.struct_class = Types::AttachedFile
1476
+
1477
+ AttachedFileError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
1478
+ AttachedFileError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
1479
+ AttachedFileError.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, location_name: "FileId"))
1480
+ AttachedFileError.struct_class = Types::AttachedFileError
1481
+
1482
+ AttachedFileErrorsList.member = Shapes::ShapeRef.new(shape: AttachedFileError)
1483
+
1484
+ AttachedFilesList.member = Shapes::ShapeRef.new(shape: AttachedFile)
1485
+
1433
1486
  AttachmentReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
1434
1487
  AttachmentReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
1435
1488
  AttachmentReference.add_member(:status, Shapes::ShapeRef.new(shape: ReferenceStatus, location_name: "Status"))
@@ -1482,6 +1535,15 @@ module Aws::Connect
1482
1535
  BatchDisassociateAnalyticsDataSetResponse.add_member(:errors, Shapes::ShapeRef.new(shape: ErrorResults, location_name: "Errors"))
1483
1536
  BatchDisassociateAnalyticsDataSetResponse.struct_class = Types::BatchDisassociateAnalyticsDataSetResponse
1484
1537
 
1538
+ BatchGetAttachedFileMetadataRequest.add_member(:file_ids, Shapes::ShapeRef.new(shape: FileIdList, required: true, location_name: "FileIds"))
1539
+ BatchGetAttachedFileMetadataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1540
+ BatchGetAttachedFileMetadataRequest.add_member(:associated_resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "associatedResourceArn"))
1541
+ BatchGetAttachedFileMetadataRequest.struct_class = Types::BatchGetAttachedFileMetadataRequest
1542
+
1543
+ BatchGetAttachedFileMetadataResponse.add_member(:files, Shapes::ShapeRef.new(shape: AttachedFilesList, location_name: "Files"))
1544
+ BatchGetAttachedFileMetadataResponse.add_member(:errors, Shapes::ShapeRef.new(shape: AttachedFileErrorsList, location_name: "Errors"))
1545
+ BatchGetAttachedFileMetadataResponse.struct_class = Types::BatchGetAttachedFileMetadataResponse
1546
+
1485
1547
  BatchGetFlowAssociationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1486
1548
  BatchGetFlowAssociationRequest.add_member(:resource_ids, Shapes::ShapeRef.new(shape: resourceArnListMaxLimit100, required: true, location_name: "ResourceIds"))
1487
1549
  BatchGetFlowAssociationRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ListFlowAssociationResourceType, location_name: "ResourceType"))
@@ -1549,6 +1611,13 @@ module Aws::Connect
1549
1611
  ClaimedPhoneNumberSummary.add_member(:source_phone_number_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourcePhoneNumberArn"))
1550
1612
  ClaimedPhoneNumberSummary.struct_class = Types::ClaimedPhoneNumberSummary
1551
1613
 
1614
+ CompleteAttachedFileUploadRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1615
+ CompleteAttachedFileUploadRequest.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, required: true, location: "uri", location_name: "FileId"))
1616
+ CompleteAttachedFileUploadRequest.add_member(:associated_resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "associatedResourceArn"))
1617
+ CompleteAttachedFileUploadRequest.struct_class = Types::CompleteAttachedFileUploadRequest
1618
+
1619
+ CompleteAttachedFileUploadResponse.struct_class = Types::CompleteAttachedFileUploadResponse
1620
+
1552
1621
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1553
1622
  ConflictException.struct_class = Types::ConflictException
1554
1623
 
@@ -1976,6 +2045,14 @@ module Aws::Connect
1976
2045
  CreateVocabularyResponse.add_member(:state, Shapes::ShapeRef.new(shape: VocabularyState, required: true, location_name: "State"))
1977
2046
  CreateVocabularyResponse.struct_class = Types::CreateVocabularyResponse
1978
2047
 
2048
+ CreatedByInfo.add_member(:connect_user_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ConnectUserArn"))
2049
+ CreatedByInfo.add_member(:aws_identity_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "AWSIdentityArn"))
2050
+ CreatedByInfo.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2051
+ CreatedByInfo.add_member_subclass(:connect_user_arn, Types::CreatedByInfo::ConnectUserArn)
2052
+ CreatedByInfo.add_member_subclass(:aws_identity_arn, Types::CreatedByInfo::AwsIdentityArn)
2053
+ CreatedByInfo.add_member_subclass(:unknown, Types::CreatedByInfo::Unknown)
2054
+ CreatedByInfo.struct_class = Types::CreatedByInfo
2055
+
1979
2056
  Credentials.add_member(:access_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "AccessToken"))
1980
2057
  Credentials.add_member(:access_token_expiration, Shapes::ShapeRef.new(shape: timestamp, location_name: "AccessTokenExpiration"))
1981
2058
  Credentials.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "RefreshToken"))
@@ -2033,6 +2110,13 @@ module Aws::Connect
2033
2110
 
2034
2111
  DefaultVocabularyList.member = Shapes::ShapeRef.new(shape: DefaultVocabulary)
2035
2112
 
2113
+ DeleteAttachedFileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2114
+ DeleteAttachedFileRequest.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, required: true, location: "uri", location_name: "FileId"))
2115
+ DeleteAttachedFileRequest.add_member(:associated_resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "associatedResourceArn"))
2116
+ DeleteAttachedFileRequest.struct_class = Types::DeleteAttachedFileRequest
2117
+
2118
+ DeleteAttachedFileResponse.struct_class = Types::DeleteAttachedFileResponse
2119
+
2036
2120
  DeleteContactEvaluationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2037
2121
  DeleteContactEvaluationRequest.add_member(:evaluation_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "EvaluationId"))
2038
2122
  DeleteContactEvaluationRequest.struct_class = Types::DeleteContactEvaluationRequest
@@ -2399,6 +2483,10 @@ module Aws::Connect
2399
2483
 
2400
2484
  DistributionList.member = Shapes::ShapeRef.new(shape: Distribution)
2401
2485
 
2486
+ DownloadUrlMetadata.add_member(:url, Shapes::ShapeRef.new(shape: MetadataUrl, location_name: "Url"))
2487
+ DownloadUrlMetadata.add_member(:url_expiry, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "UrlExpiry"))
2488
+ DownloadUrlMetadata.struct_class = Types::DownloadUrlMetadata
2489
+
2402
2490
  DuplicateResourceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2403
2491
  DuplicateResourceException.struct_class = Types::DuplicateResourceException
2404
2492
 
@@ -2650,6 +2738,8 @@ module Aws::Connect
2650
2738
 
2651
2739
  FieldValues.member = Shapes::ShapeRef.new(shape: FieldValue)
2652
2740
 
2741
+ FileIdList.member = Shapes::ShapeRef.new(shape: FileId)
2742
+
2653
2743
  FilterV2.add_member(:filter_key, Shapes::ShapeRef.new(shape: ResourceArnOrId, location_name: "FilterKey"))
2654
2744
  FilterV2.add_member(:filter_values, Shapes::ShapeRef.new(shape: FilterValueList, location_name: "FilterValues"))
2655
2745
  FilterV2.struct_class = Types::FilterV2
@@ -2673,6 +2763,25 @@ module Aws::Connect
2673
2763
 
2674
2764
  FunctionArnsList.member = Shapes::ShapeRef.new(shape: FunctionArn)
2675
2765
 
2766
+ GetAttachedFileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2767
+ GetAttachedFileRequest.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, required: true, location: "uri", location_name: "FileId"))
2768
+ GetAttachedFileRequest.add_member(:url_expiry_in_seconds, Shapes::ShapeRef.new(shape: URLExpiryInSeconds, location: "querystring", location_name: "urlExpiryInSeconds"))
2769
+ GetAttachedFileRequest.add_member(:associated_resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "associatedResourceArn"))
2770
+ GetAttachedFileRequest.struct_class = Types::GetAttachedFileRequest
2771
+
2772
+ GetAttachedFileResponse.add_member(:file_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FileArn"))
2773
+ GetAttachedFileResponse.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, location_name: "FileId"))
2774
+ GetAttachedFileResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "CreationTime"))
2775
+ GetAttachedFileResponse.add_member(:file_status, Shapes::ShapeRef.new(shape: FileStatusType, location_name: "FileStatus"))
2776
+ GetAttachedFileResponse.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, location_name: "FileName"))
2777
+ GetAttachedFileResponse.add_member(:file_size_in_bytes, Shapes::ShapeRef.new(shape: FileSizeInBytes, required: true, location_name: "FileSizeInBytes", metadata: {"box"=>true}))
2778
+ GetAttachedFileResponse.add_member(:associated_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "AssociatedResourceArn"))
2779
+ GetAttachedFileResponse.add_member(:file_use_case_type, Shapes::ShapeRef.new(shape: FileUseCaseType, location_name: "FileUseCaseType"))
2780
+ GetAttachedFileResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedByInfo, location_name: "CreatedBy"))
2781
+ GetAttachedFileResponse.add_member(:download_url_metadata, Shapes::ShapeRef.new(shape: DownloadUrlMetadata, location_name: "DownloadUrlMetadata"))
2782
+ GetAttachedFileResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
2783
+ GetAttachedFileResponse.struct_class = Types::GetAttachedFileResponse
2784
+
2676
2785
  GetContactAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2677
2786
  GetContactAttributesRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "InitialContactId"))
2678
2787
  GetContactAttributesRequest.struct_class = Types::GetContactAttributesRequest
@@ -3015,8 +3124,15 @@ module Aws::Connect
3015
3124
  InvalidParameterException.struct_class = Types::InvalidParameterException
3016
3125
 
3017
3126
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
3127
+ InvalidRequestException.add_member(:reason, Shapes::ShapeRef.new(shape: InvalidRequestExceptionReason, location_name: "Reason"))
3018
3128
  InvalidRequestException.struct_class = Types::InvalidRequestException
3019
3129
 
3130
+ InvalidRequestExceptionReason.add_member(:attached_file_invalid_request_exception_reason, Shapes::ShapeRef.new(shape: AttachedFileInvalidRequestExceptionReason, location_name: "AttachedFileInvalidRequestExceptionReason"))
3131
+ InvalidRequestExceptionReason.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
3132
+ InvalidRequestExceptionReason.add_member_subclass(:attached_file_invalid_request_exception_reason, Types::InvalidRequestExceptionReason::AttachedFileInvalidRequestExceptionReason)
3133
+ InvalidRequestExceptionReason.add_member_subclass(:unknown, Types::InvalidRequestExceptionReason::Unknown)
3134
+ InvalidRequestExceptionReason.struct_class = Types::InvalidRequestExceptionReason
3135
+
3020
3136
  InvisibleFieldInfo.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateFieldIdentifier, location_name: "Id"))
3021
3137
  InvisibleFieldInfo.struct_class = Types::InvisibleFieldInfo
3022
3138
 
@@ -4415,6 +4531,25 @@ module Aws::Connect
4415
4531
  Sort.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "Order"))
4416
4532
  Sort.struct_class = Types::Sort
4417
4533
 
4534
+ StartAttachedFileUploadRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
4535
+ StartAttachedFileUploadRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
4536
+ StartAttachedFileUploadRequest.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, required: true, location_name: "FileName"))
4537
+ StartAttachedFileUploadRequest.add_member(:file_size_in_bytes, Shapes::ShapeRef.new(shape: FileSizeInBytes, required: true, location_name: "FileSizeInBytes", metadata: {"box"=>true}))
4538
+ StartAttachedFileUploadRequest.add_member(:url_expiry_in_seconds, Shapes::ShapeRef.new(shape: URLExpiryInSeconds, location_name: "UrlExpiryInSeconds"))
4539
+ StartAttachedFileUploadRequest.add_member(:file_use_case_type, Shapes::ShapeRef.new(shape: FileUseCaseType, required: true, location_name: "FileUseCaseType"))
4540
+ StartAttachedFileUploadRequest.add_member(:associated_resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "associatedResourceArn"))
4541
+ StartAttachedFileUploadRequest.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedByInfo, location_name: "CreatedBy"))
4542
+ StartAttachedFileUploadRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
4543
+ StartAttachedFileUploadRequest.struct_class = Types::StartAttachedFileUploadRequest
4544
+
4545
+ StartAttachedFileUploadResponse.add_member(:file_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FileArn"))
4546
+ StartAttachedFileUploadResponse.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, location_name: "FileId"))
4547
+ StartAttachedFileUploadResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "CreationTime"))
4548
+ StartAttachedFileUploadResponse.add_member(:file_status, Shapes::ShapeRef.new(shape: FileStatusType, location_name: "FileStatus"))
4549
+ StartAttachedFileUploadResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedByInfo, location_name: "CreatedBy"))
4550
+ StartAttachedFileUploadResponse.add_member(:upload_url_metadata, Shapes::ShapeRef.new(shape: UploadUrlMetadata, location_name: "UploadUrlMetadata"))
4551
+ StartAttachedFileUploadResponse.struct_class = Types::StartAttachedFileUploadResponse
4552
+
4418
4553
  StartChatContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
4419
4554
  StartChatContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
4420
4555
  StartChatContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
@@ -5073,6 +5208,14 @@ module Aws::Connect
5073
5208
 
5074
5209
  UpdateViewMetadataResponse.struct_class = Types::UpdateViewMetadataResponse
5075
5210
 
5211
+ UploadUrlMetadata.add_member(:url, Shapes::ShapeRef.new(shape: MetadataUrl, location_name: "Url"))
5212
+ UploadUrlMetadata.add_member(:url_expiry, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "UrlExpiry"))
5213
+ UploadUrlMetadata.add_member(:headers_to_include, Shapes::ShapeRef.new(shape: UrlMetadataSignedHeaders, location_name: "HeadersToInclude"))
5214
+ UploadUrlMetadata.struct_class = Types::UploadUrlMetadata
5215
+
5216
+ UrlMetadataSignedHeaders.key = Shapes::ShapeRef.new(shape: UrlMetadataSignedHeadersKey)
5217
+ UrlMetadataSignedHeaders.value = Shapes::ShapeRef.new(shape: UrlMetadataSignedHeadersValue)
5218
+
5076
5219
  UrlReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
5077
5220
  UrlReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
5078
5221
  UrlReference.struct_class = Types::UrlReference
@@ -5289,6 +5432,7 @@ module Aws::Connect
5289
5432
  "endpointPrefix" => "connect",
5290
5433
  "jsonVersion" => "1.1",
5291
5434
  "protocol" => "rest-json",
5435
+ "protocols" => ["rest-json"],
5292
5436
  "serviceAbbreviation" => "Amazon Connect",
5293
5437
  "serviceFullName" => "Amazon Connect Service",
5294
5438
  "serviceId" => "Connect",
@@ -5532,6 +5676,19 @@ module Aws::Connect
5532
5676
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5533
5677
  end)
5534
5678
 
5679
+ api.add_operation(:batch_get_attached_file_metadata, Seahorse::Model::Operation.new.tap do |o|
5680
+ o.name = "BatchGetAttachedFileMetadata"
5681
+ o.http_method = "POST"
5682
+ o.http_request_uri = "/attached-files/{InstanceId}"
5683
+ o.input = Shapes::ShapeRef.new(shape: BatchGetAttachedFileMetadataRequest)
5684
+ o.output = Shapes::ShapeRef.new(shape: BatchGetAttachedFileMetadataResponse)
5685
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5686
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5687
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5688
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5689
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5690
+ end)
5691
+
5535
5692
  api.add_operation(:batch_get_flow_association, Seahorse::Model::Operation.new.tap do |o|
5536
5693
  o.name = "BatchGetFlowAssociation"
5537
5694
  o.http_method = "POST"
@@ -5574,6 +5731,19 @@ module Aws::Connect
5574
5731
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5575
5732
  end)
5576
5733
 
5734
+ api.add_operation(:complete_attached_file_upload, Seahorse::Model::Operation.new.tap do |o|
5735
+ o.name = "CompleteAttachedFileUpload"
5736
+ o.http_method = "POST"
5737
+ o.http_request_uri = "/attached-files/{InstanceId}/{FileId}"
5738
+ o.input = Shapes::ShapeRef.new(shape: CompleteAttachedFileUploadRequest)
5739
+ o.output = Shapes::ShapeRef.new(shape: CompleteAttachedFileUploadResponse)
5740
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5741
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5742
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5743
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5744
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5745
+ end)
5746
+
5577
5747
  api.add_operation(:create_agent_status, Seahorse::Model::Operation.new.tap do |o|
5578
5748
  o.name = "CreateAgentStatus"
5579
5749
  o.http_method = "PUT"
@@ -5943,6 +6113,19 @@ module Aws::Connect
5943
6113
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
5944
6114
  end)
5945
6115
 
6116
+ api.add_operation(:delete_attached_file, Seahorse::Model::Operation.new.tap do |o|
6117
+ o.name = "DeleteAttachedFile"
6118
+ o.http_method = "DELETE"
6119
+ o.http_request_uri = "/attached-files/{InstanceId}/{FileId}"
6120
+ o.input = Shapes::ShapeRef.new(shape: DeleteAttachedFileRequest)
6121
+ o.output = Shapes::ShapeRef.new(shape: DeleteAttachedFileResponse)
6122
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6123
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6124
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6125
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6126
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6127
+ end)
6128
+
5946
6129
  api.add_operation(:delete_contact_evaluation, Seahorse::Model::Operation.new.tap do |o|
5947
6130
  o.name = "DeleteContactEvaluation"
5948
6131
  o.http_method = "DELETE"
@@ -6733,6 +6916,19 @@ module Aws::Connect
6733
6916
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6734
6917
  end)
6735
6918
 
6919
+ api.add_operation(:get_attached_file, Seahorse::Model::Operation.new.tap do |o|
6920
+ o.name = "GetAttachedFile"
6921
+ o.http_method = "GET"
6922
+ o.http_request_uri = "/attached-files/{InstanceId}/{FileId}"
6923
+ o.input = Shapes::ShapeRef.new(shape: GetAttachedFileRequest)
6924
+ o.output = Shapes::ShapeRef.new(shape: GetAttachedFileResponse)
6925
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6926
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6927
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6928
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6929
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6930
+ end)
6931
+
6736
6932
  api.add_operation(:get_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
6737
6933
  o.name = "GetContactAttributes"
6738
6934
  o.http_method = "GET"
@@ -8059,6 +8255,20 @@ module Aws::Connect
8059
8255
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
8060
8256
  end)
8061
8257
 
8258
+ api.add_operation(:start_attached_file_upload, Seahorse::Model::Operation.new.tap do |o|
8259
+ o.name = "StartAttachedFileUpload"
8260
+ o.http_method = "PUT"
8261
+ o.http_request_uri = "/attached-files/{InstanceId}"
8262
+ o.input = Shapes::ShapeRef.new(shape: StartAttachedFileUploadRequest)
8263
+ o.output = Shapes::ShapeRef.new(shape: StartAttachedFileUploadResponse)
8264
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
8265
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
8266
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
8267
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8268
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
8269
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
8270
+ end)
8271
+
8062
8272
  api.add_operation(:start_chat_contact, Seahorse::Model::Operation.new.tap do |o|
8063
8273
  o.name = "StartChatContact"
8064
8274
  o.http_method = "PUT"
@@ -250,6 +250,20 @@ module Aws::Connect
250
250
  end
251
251
  end
252
252
 
253
+ class BatchGetAttachedFileMetadata
254
+ def self.build(context)
255
+ unless context.config.regional_endpoint
256
+ endpoint = context.config.endpoint.to_s
257
+ end
258
+ Aws::Connect::EndpointParameters.new(
259
+ region: context.config.region,
260
+ use_dual_stack: context.config.use_dualstack_endpoint,
261
+ use_fips: context.config.use_fips_endpoint,
262
+ endpoint: endpoint,
263
+ )
264
+ end
265
+ end
266
+
253
267
  class BatchGetFlowAssociation
254
268
  def self.build(context)
255
269
  unless context.config.regional_endpoint
@@ -292,6 +306,20 @@ module Aws::Connect
292
306
  end
293
307
  end
294
308
 
309
+ class CompleteAttachedFileUpload
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::Connect::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
295
323
  class CreateAgentStatus
296
324
  def self.build(context)
297
325
  unless context.config.regional_endpoint
@@ -642,6 +670,20 @@ module Aws::Connect
642
670
  end
643
671
  end
644
672
 
673
+ class DeleteAttachedFile
674
+ def self.build(context)
675
+ unless context.config.regional_endpoint
676
+ endpoint = context.config.endpoint.to_s
677
+ end
678
+ Aws::Connect::EndpointParameters.new(
679
+ region: context.config.region,
680
+ use_dual_stack: context.config.use_dualstack_endpoint,
681
+ use_fips: context.config.use_fips_endpoint,
682
+ endpoint: endpoint,
683
+ )
684
+ end
685
+ end
686
+
645
687
  class DeleteContactEvaluation
646
688
  def self.build(context)
647
689
  unless context.config.regional_endpoint
@@ -1482,6 +1524,20 @@ module Aws::Connect
1482
1524
  end
1483
1525
  end
1484
1526
 
1527
+ class GetAttachedFile
1528
+ def self.build(context)
1529
+ unless context.config.regional_endpoint
1530
+ endpoint = context.config.endpoint.to_s
1531
+ end
1532
+ Aws::Connect::EndpointParameters.new(
1533
+ region: context.config.region,
1534
+ use_dual_stack: context.config.use_dualstack_endpoint,
1535
+ use_fips: context.config.use_fips_endpoint,
1536
+ endpoint: endpoint,
1537
+ )
1538
+ end
1539
+ end
1540
+
1485
1541
  class GetContactAttributes
1486
1542
  def self.build(context)
1487
1543
  unless context.config.regional_endpoint
@@ -2532,6 +2588,20 @@ module Aws::Connect
2532
2588
  end
2533
2589
  end
2534
2590
 
2591
+ class StartAttachedFileUpload
2592
+ def self.build(context)
2593
+ unless context.config.regional_endpoint
2594
+ endpoint = context.config.endpoint.to_s
2595
+ end
2596
+ Aws::Connect::EndpointParameters.new(
2597
+ region: context.config.region,
2598
+ use_dual_stack: context.config.use_dualstack_endpoint,
2599
+ use_fips: context.config.use_fips_endpoint,
2600
+ endpoint: endpoint,
2601
+ )
2602
+ end
2603
+ end
2604
+
2535
2605
  class StartChatContact
2536
2606
  def self.build(context)
2537
2607
  unless context.config.regional_endpoint
@@ -237,6 +237,11 @@ module Aws::Connect
237
237
  def message
238
238
  @message || @data[:message]
239
239
  end
240
+
241
+ # @return [String]
242
+ def reason
243
+ @data[:reason]
244
+ end
240
245
  end
241
246
 
242
247
  class LimitExceededException < ServiceError
@@ -92,12 +92,16 @@ module Aws::Connect
92
92
  Aws::Connect::Endpoints::BatchAssociateAnalyticsDataSet.build(context)
93
93
  when :batch_disassociate_analytics_data_set
94
94
  Aws::Connect::Endpoints::BatchDisassociateAnalyticsDataSet.build(context)
95
+ when :batch_get_attached_file_metadata
96
+ Aws::Connect::Endpoints::BatchGetAttachedFileMetadata.build(context)
95
97
  when :batch_get_flow_association
96
98
  Aws::Connect::Endpoints::BatchGetFlowAssociation.build(context)
97
99
  when :batch_put_contact
98
100
  Aws::Connect::Endpoints::BatchPutContact.build(context)
99
101
  when :claim_phone_number
100
102
  Aws::Connect::Endpoints::ClaimPhoneNumber.build(context)
103
+ when :complete_attached_file_upload
104
+ Aws::Connect::Endpoints::CompleteAttachedFileUpload.build(context)
101
105
  when :create_agent_status
102
106
  Aws::Connect::Endpoints::CreateAgentStatus.build(context)
103
107
  when :create_contact_flow
@@ -148,6 +152,8 @@ module Aws::Connect
148
152
  Aws::Connect::Endpoints::CreateVocabulary.build(context)
149
153
  when :deactivate_evaluation_form
150
154
  Aws::Connect::Endpoints::DeactivateEvaluationForm.build(context)
155
+ when :delete_attached_file
156
+ Aws::Connect::Endpoints::DeleteAttachedFile.build(context)
151
157
  when :delete_contact_evaluation
152
158
  Aws::Connect::Endpoints::DeleteContactEvaluation.build(context)
153
159
  when :delete_contact_flow
@@ -268,6 +274,8 @@ module Aws::Connect
268
274
  Aws::Connect::Endpoints::DisassociateUserProficiencies.build(context)
269
275
  when :dismiss_user_contact
270
276
  Aws::Connect::Endpoints::DismissUserContact.build(context)
277
+ when :get_attached_file
278
+ Aws::Connect::Endpoints::GetAttachedFile.build(context)
271
279
  when :get_contact_attributes
272
280
  Aws::Connect::Endpoints::GetContactAttributes.build(context)
273
281
  when :get_current_metric_data
@@ -418,6 +426,8 @@ module Aws::Connect
418
426
  Aws::Connect::Endpoints::SearchVocabularies.build(context)
419
427
  when :send_chat_integration_event
420
428
  Aws::Connect::Endpoints::SendChatIntegrationEvent.build(context)
429
+ when :start_attached_file_upload
430
+ Aws::Connect::Endpoints::StartAttachedFileUpload.build(context)
421
431
  when :start_chat_contact
422
432
  Aws::Connect::Endpoints::StartChatContact.build(context)
423
433
  when :start_contact_evaluation