aws-sdk-connect 1.52.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,6 +14,7 @@ module Aws::Connect
14
14
  include Seahorse::Model
15
15
 
16
16
  ARN = Shapes::StringShape.new(name: 'ARN')
17
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
18
  AfterContactWorkTimeLimit = Shapes::IntegerShape.new(name: 'AfterContactWorkTimeLimit')
18
19
  AgentFirstName = Shapes::StringShape.new(name: 'AgentFirstName')
19
20
  AgentLastName = Shapes::StringShape.new(name: 'AgentLastName')
@@ -56,6 +57,8 @@ module Aws::Connect
56
57
  ChatContent = Shapes::StringShape.new(name: 'ChatContent')
57
58
  ChatContentType = Shapes::StringShape.new(name: 'ChatContentType')
58
59
  ChatMessage = Shapes::StructureShape.new(name: 'ChatMessage')
60
+ ChatStreamingConfiguration = Shapes::StructureShape.new(name: 'ChatStreamingConfiguration')
61
+ ChatStreamingEndpointARN = Shapes::StringShape.new(name: 'ChatStreamingEndpointARN')
59
62
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
60
63
  CommonNameLength127 = Shapes::StringShape.new(name: 'CommonNameLength127')
61
64
  Comparison = Shapes::StringShape.new(name: 'Comparison')
@@ -89,6 +92,8 @@ module Aws::Connect
89
92
  CreateQuickConnectResponse = Shapes::StructureShape.new(name: 'CreateQuickConnectResponse')
90
93
  CreateRoutingProfileRequest = Shapes::StructureShape.new(name: 'CreateRoutingProfileRequest')
91
94
  CreateRoutingProfileResponse = Shapes::StructureShape.new(name: 'CreateRoutingProfileResponse')
95
+ CreateSecurityProfileRequest = Shapes::StructureShape.new(name: 'CreateSecurityProfileRequest')
96
+ CreateSecurityProfileResponse = Shapes::StructureShape.new(name: 'CreateSecurityProfileResponse')
92
97
  CreateUseCaseRequest = Shapes::StructureShape.new(name: 'CreateUseCaseRequest')
93
98
  CreateUseCaseResponse = Shapes::StructureShape.new(name: 'CreateUseCaseResponse')
94
99
  CreateUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupRequest')
@@ -108,6 +113,7 @@ module Aws::Connect
108
113
  DeleteInstanceRequest = Shapes::StructureShape.new(name: 'DeleteInstanceRequest')
109
114
  DeleteIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationAssociationRequest')
110
115
  DeleteQuickConnectRequest = Shapes::StructureShape.new(name: 'DeleteQuickConnectRequest')
116
+ DeleteSecurityProfileRequest = Shapes::StructureShape.new(name: 'DeleteSecurityProfileRequest')
111
117
  DeleteUseCaseRequest = Shapes::StructureShape.new(name: 'DeleteUseCaseRequest')
112
118
  DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
113
119
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
@@ -129,6 +135,8 @@ module Aws::Connect
129
135
  DescribeQuickConnectResponse = Shapes::StructureShape.new(name: 'DescribeQuickConnectResponse')
130
136
  DescribeRoutingProfileRequest = Shapes::StructureShape.new(name: 'DescribeRoutingProfileRequest')
131
137
  DescribeRoutingProfileResponse = Shapes::StructureShape.new(name: 'DescribeRoutingProfileResponse')
138
+ DescribeSecurityProfileRequest = Shapes::StructureShape.new(name: 'DescribeSecurityProfileRequest')
139
+ DescribeSecurityProfileResponse = Shapes::StructureShape.new(name: 'DescribeSecurityProfileResponse')
132
140
  DescribeUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupRequest')
133
141
  DescribeUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupResponse')
134
142
  DescribeUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureRequest')
@@ -269,6 +277,8 @@ module Aws::Connect
269
277
  ListRoutingProfilesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfilesResponse')
270
278
  ListSecurityKeysRequest = Shapes::StructureShape.new(name: 'ListSecurityKeysRequest')
271
279
  ListSecurityKeysResponse = Shapes::StructureShape.new(name: 'ListSecurityKeysResponse')
280
+ ListSecurityProfilePermissionsRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilePermissionsRequest')
281
+ ListSecurityProfilePermissionsResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilePermissionsResponse')
272
282
  ListSecurityProfilesRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesRequest')
273
283
  ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
274
284
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -302,6 +312,7 @@ module Aws::Connect
302
312
  ParticipantId = Shapes::StringShape.new(name: 'ParticipantId')
303
313
  ParticipantToken = Shapes::StringShape.new(name: 'ParticipantToken')
304
314
  Password = Shapes::StringShape.new(name: 'Password')
315
+ PermissionsList = Shapes::ListShape.new(name: 'PermissionsList')
305
316
  PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
306
317
  PhoneNumberCountryCode = Shapes::StringShape.new(name: 'PhoneNumberCountryCode')
307
318
  PhoneNumberCountryCodes = Shapes::ListShape.new(name: 'PhoneNumberCountryCodes')
@@ -369,9 +380,12 @@ module Aws::Connect
369
380
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
370
381
  SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey')
371
382
  SecurityKeysList = Shapes::ListShape.new(name: 'SecurityKeysList')
383
+ SecurityProfile = Shapes::StructureShape.new(name: 'SecurityProfile')
384
+ SecurityProfileDescription = Shapes::StringShape.new(name: 'SecurityProfileDescription')
372
385
  SecurityProfileId = Shapes::StringShape.new(name: 'SecurityProfileId')
373
386
  SecurityProfileIds = Shapes::ListShape.new(name: 'SecurityProfileIds')
374
387
  SecurityProfileName = Shapes::StringShape.new(name: 'SecurityProfileName')
388
+ SecurityProfilePermission = Shapes::StringShape.new(name: 'SecurityProfilePermission')
375
389
  SecurityProfileSummary = Shapes::StructureShape.new(name: 'SecurityProfileSummary')
376
390
  SecurityProfileSummaryList = Shapes::ListShape.new(name: 'SecurityProfileSummaryList')
377
391
  SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
@@ -382,6 +396,8 @@ module Aws::Connect
382
396
  StartChatContactResponse = Shapes::StructureShape.new(name: 'StartChatContactResponse')
383
397
  StartContactRecordingRequest = Shapes::StructureShape.new(name: 'StartContactRecordingRequest')
384
398
  StartContactRecordingResponse = Shapes::StructureShape.new(name: 'StartContactRecordingResponse')
399
+ StartContactStreamingRequest = Shapes::StructureShape.new(name: 'StartContactStreamingRequest')
400
+ StartContactStreamingResponse = Shapes::StructureShape.new(name: 'StartContactStreamingResponse')
385
401
  StartOutboundVoiceContactRequest = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactRequest')
386
402
  StartOutboundVoiceContactResponse = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactResponse')
387
403
  StartTaskContactRequest = Shapes::StructureShape.new(name: 'StartTaskContactRequest')
@@ -391,7 +407,10 @@ module Aws::Connect
391
407
  StopContactRecordingResponse = Shapes::StructureShape.new(name: 'StopContactRecordingResponse')
392
408
  StopContactRequest = Shapes::StructureShape.new(name: 'StopContactRequest')
393
409
  StopContactResponse = Shapes::StructureShape.new(name: 'StopContactResponse')
410
+ StopContactStreamingRequest = Shapes::StructureShape.new(name: 'StopContactStreamingRequest')
411
+ StopContactStreamingResponse = Shapes::StructureShape.new(name: 'StopContactStreamingResponse')
394
412
  StorageType = Shapes::StringShape.new(name: 'StorageType')
413
+ StreamingId = Shapes::StringShape.new(name: 'StreamingId')
395
414
  String = Shapes::StringShape.new(name: 'String')
396
415
  SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
397
416
  SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
@@ -431,6 +450,7 @@ module Aws::Connect
431
450
  UpdateRoutingProfileDefaultOutboundQueueRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileDefaultOutboundQueueRequest')
432
451
  UpdateRoutingProfileNameRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileNameRequest')
433
452
  UpdateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileQueuesRequest')
453
+ UpdateSecurityProfileRequest = Shapes::StructureShape.new(name: 'UpdateSecurityProfileRequest')
434
454
  UpdateUserHierarchyGroupNameRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyGroupNameRequest')
435
455
  UpdateUserHierarchyRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyRequest')
436
456
  UpdateUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyStructureRequest')
@@ -455,6 +475,9 @@ module Aws::Connect
455
475
  VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
456
476
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
457
477
 
478
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
479
+ AccessDeniedException.struct_class = Types::AccessDeniedException
480
+
458
481
  AgentStatus.add_member(:agent_status_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "AgentStatusARN"))
459
482
  AgentStatus.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, location_name: "AgentStatusId"))
460
483
  AgentStatus.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, location_name: "Name"))
@@ -536,6 +559,9 @@ module Aws::Connect
536
559
  ChatMessage.add_member(:content, Shapes::ShapeRef.new(shape: ChatContent, required: true, location_name: "Content"))
537
560
  ChatMessage.struct_class = Types::ChatMessage
538
561
 
562
+ ChatStreamingConfiguration.add_member(:streaming_endpoint_arn, Shapes::ShapeRef.new(shape: ChatStreamingEndpointARN, required: true, location_name: "StreamingEndpointArn"))
563
+ ChatStreamingConfiguration.struct_class = Types::ChatStreamingConfiguration
564
+
539
565
  ContactFlow.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
540
566
  ContactFlow.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
541
567
  ContactFlow.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
@@ -663,6 +689,17 @@ module Aws::Connect
663
689
  CreateRoutingProfileResponse.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
664
690
  CreateRoutingProfileResponse.struct_class = Types::CreateRoutingProfileResponse
665
691
 
692
+ CreateSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, required: true, location_name: "SecurityProfileName"))
693
+ CreateSecurityProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "Description"))
694
+ CreateSecurityProfileRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionsList, location_name: "Permissions"))
695
+ CreateSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
696
+ CreateSecurityProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
697
+ CreateSecurityProfileRequest.struct_class = Types::CreateSecurityProfileRequest
698
+
699
+ CreateSecurityProfileResponse.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "SecurityProfileId"))
700
+ CreateSecurityProfileResponse.add_member(:security_profile_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SecurityProfileArn"))
701
+ CreateSecurityProfileResponse.struct_class = Types::CreateSecurityProfileResponse
702
+
666
703
  CreateUseCaseRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
667
704
  CreateUseCaseRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
668
705
  CreateUseCaseRequest.add_member(:use_case_type, Shapes::ShapeRef.new(shape: UseCaseType, required: true, location_name: "UseCaseType"))
@@ -737,6 +774,10 @@ module Aws::Connect
737
774
  DeleteQuickConnectRequest.add_member(:quick_connect_id, Shapes::ShapeRef.new(shape: QuickConnectId, required: true, location: "uri", location_name: "QuickConnectId"))
738
775
  DeleteQuickConnectRequest.struct_class = Types::DeleteQuickConnectRequest
739
776
 
777
+ DeleteSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
778
+ DeleteSecurityProfileRequest.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, required: true, location: "uri", location_name: "SecurityProfileId"))
779
+ DeleteSecurityProfileRequest.struct_class = Types::DeleteSecurityProfileRequest
780
+
740
781
  DeleteUseCaseRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
741
782
  DeleteUseCaseRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
742
783
  DeleteUseCaseRequest.add_member(:use_case_id, Shapes::ShapeRef.new(shape: UseCaseId, required: true, location: "uri", location_name: "UseCaseId"))
@@ -813,6 +854,13 @@ module Aws::Connect
813
854
  DescribeRoutingProfileResponse.add_member(:routing_profile, Shapes::ShapeRef.new(shape: RoutingProfile, location_name: "RoutingProfile"))
814
855
  DescribeRoutingProfileResponse.struct_class = Types::DescribeRoutingProfileResponse
815
856
 
857
+ DescribeSecurityProfileRequest.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, required: true, location: "uri", location_name: "SecurityProfileId"))
858
+ DescribeSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
859
+ DescribeSecurityProfileRequest.struct_class = Types::DescribeSecurityProfileRequest
860
+
861
+ DescribeSecurityProfileResponse.add_member(:security_profile, Shapes::ShapeRef.new(shape: SecurityProfile, location_name: "SecurityProfile"))
862
+ DescribeSecurityProfileResponse.struct_class = Types::DescribeSecurityProfileResponse
863
+
816
864
  DescribeUserHierarchyGroupRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
817
865
  DescribeUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
818
866
  DescribeUserHierarchyGroupRequest.struct_class = Types::DescribeUserHierarchyGroupRequest
@@ -1294,6 +1342,16 @@ module Aws::Connect
1294
1342
  ListSecurityKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1295
1343
  ListSecurityKeysResponse.struct_class = Types::ListSecurityKeysResponse
1296
1344
 
1345
+ ListSecurityProfilePermissionsRequest.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, required: true, location: "uri", location_name: "SecurityProfileId"))
1346
+ ListSecurityProfilePermissionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1347
+ ListSecurityProfilePermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1348
+ ListSecurityProfilePermissionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
1349
+ ListSecurityProfilePermissionsRequest.struct_class = Types::ListSecurityProfilePermissionsRequest
1350
+
1351
+ ListSecurityProfilePermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionsList, location_name: "Permissions"))
1352
+ ListSecurityProfilePermissionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1353
+ ListSecurityProfilePermissionsResponse.struct_class = Types::ListSecurityProfilePermissionsResponse
1354
+
1297
1355
  ListSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1298
1356
  ListSecurityProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1299
1357
  ListSecurityProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -1356,6 +1414,8 @@ module Aws::Connect
1356
1414
  ParticipantDetails.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, required: true, location_name: "DisplayName"))
1357
1415
  ParticipantDetails.struct_class = Types::ParticipantDetails
1358
1416
 
1417
+ PermissionsList.member = Shapes::ShapeRef.new(shape: SecurityProfilePermission)
1418
+
1359
1419
  PhoneNumberCountryCodes.member = Shapes::ShapeRef.new(shape: PhoneNumberCountryCode)
1360
1420
 
1361
1421
  PhoneNumberQuickConnectConfig.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "PhoneNumber"))
@@ -1515,6 +1575,14 @@ module Aws::Connect
1515
1575
 
1516
1576
  SecurityKeysList.member = Shapes::ShapeRef.new(shape: SecurityKey)
1517
1577
 
1578
+ SecurityProfile.add_member(:id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "Id"))
1579
+ SecurityProfile.add_member(:organization_resource_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "OrganizationResourceId"))
1580
+ SecurityProfile.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1581
+ SecurityProfile.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "SecurityProfileName"))
1582
+ SecurityProfile.add_member(:description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "Description"))
1583
+ SecurityProfile.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1584
+ SecurityProfile.struct_class = Types::SecurityProfile
1585
+
1518
1586
  SecurityProfileIds.member = Shapes::ShapeRef.new(shape: SecurityProfileId)
1519
1587
 
1520
1588
  SecurityProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "Id"))
@@ -1548,6 +1616,15 @@ module Aws::Connect
1548
1616
 
1549
1617
  StartContactRecordingResponse.struct_class = Types::StartContactRecordingResponse
1550
1618
 
1619
+ StartContactStreamingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
1620
+ StartContactStreamingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
1621
+ StartContactStreamingRequest.add_member(:chat_streaming_configuration, Shapes::ShapeRef.new(shape: ChatStreamingConfiguration, required: true, location_name: "ChatStreamingConfiguration"))
1622
+ StartContactStreamingRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
1623
+ StartContactStreamingRequest.struct_class = Types::StartContactStreamingRequest
1624
+
1625
+ StartContactStreamingResponse.add_member(:streaming_id, Shapes::ShapeRef.new(shape: StreamingId, required: true, location_name: "StreamingId"))
1626
+ StartContactStreamingResponse.struct_class = Types::StartContactStreamingResponse
1627
+
1551
1628
  StartOutboundVoiceContactRequest.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "DestinationPhoneNumber"))
1552
1629
  StartOutboundVoiceContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
1553
1630
  StartOutboundVoiceContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
@@ -1589,6 +1666,13 @@ module Aws::Connect
1589
1666
 
1590
1667
  StopContactResponse.struct_class = Types::StopContactResponse
1591
1668
 
1669
+ StopContactStreamingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
1670
+ StopContactStreamingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
1671
+ StopContactStreamingRequest.add_member(:streaming_id, Shapes::ShapeRef.new(shape: StreamingId, required: true, location_name: "StreamingId"))
1672
+ StopContactStreamingRequest.struct_class = Types::StopContactStreamingRequest
1673
+
1674
+ StopContactStreamingResponse.struct_class = Types::StopContactStreamingResponse
1675
+
1592
1676
  SuspendContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
1593
1677
  SuspendContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
1594
1678
  SuspendContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
@@ -1720,6 +1804,12 @@ module Aws::Connect
1720
1804
  UpdateRoutingProfileQueuesRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, required: true, location_name: "QueueConfigs"))
1721
1805
  UpdateRoutingProfileQueuesRequest.struct_class = Types::UpdateRoutingProfileQueuesRequest
1722
1806
 
1807
+ UpdateSecurityProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "Description"))
1808
+ UpdateSecurityProfileRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionsList, location_name: "Permissions"))
1809
+ UpdateSecurityProfileRequest.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, required: true, location: "uri", location_name: "SecurityProfileId"))
1810
+ UpdateSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1811
+ UpdateSecurityProfileRequest.struct_class = Types::UpdateSecurityProfileRequest
1812
+
1723
1813
  UpdateUserHierarchyGroupNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
1724
1814
  UpdateUserHierarchyGroupNameRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
1725
1815
  UpdateUserHierarchyGroupNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -2053,6 +2143,21 @@ module Aws::Connect
2053
2143
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2054
2144
  end)
2055
2145
 
2146
+ api.add_operation(:create_security_profile, Seahorse::Model::Operation.new.tap do |o|
2147
+ o.name = "CreateSecurityProfile"
2148
+ o.http_method = "PUT"
2149
+ o.http_request_uri = "/security-profiles/{InstanceId}"
2150
+ o.input = Shapes::ShapeRef.new(shape: CreateSecurityProfileRequest)
2151
+ o.output = Shapes::ShapeRef.new(shape: CreateSecurityProfileResponse)
2152
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2153
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2154
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2155
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
2156
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2157
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2158
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2159
+ end)
2160
+
2056
2161
  api.add_operation(:create_use_case, Seahorse::Model::Operation.new.tap do |o|
2057
2162
  o.name = "CreateUseCase"
2058
2163
  o.http_method = "PUT"
@@ -2145,6 +2250,21 @@ module Aws::Connect
2145
2250
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2146
2251
  end)
2147
2252
 
2253
+ api.add_operation(:delete_security_profile, Seahorse::Model::Operation.new.tap do |o|
2254
+ o.name = "DeleteSecurityProfile"
2255
+ o.http_method = "DELETE"
2256
+ o.http_request_uri = "/security-profiles/{InstanceId}/{SecurityProfileId}"
2257
+ o.input = Shapes::ShapeRef.new(shape: DeleteSecurityProfileRequest)
2258
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2259
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2260
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2261
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2262
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2263
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2264
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2265
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2266
+ end)
2267
+
2148
2268
  api.add_operation(:delete_use_case, Seahorse::Model::Operation.new.tap do |o|
2149
2269
  o.name = "DeleteUseCase"
2150
2270
  o.http_method = "DELETE"
@@ -2300,6 +2420,19 @@ module Aws::Connect
2300
2420
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2301
2421
  end)
2302
2422
 
2423
+ api.add_operation(:describe_security_profile, Seahorse::Model::Operation.new.tap do |o|
2424
+ o.name = "DescribeSecurityProfile"
2425
+ o.http_method = "GET"
2426
+ o.http_request_uri = "/security-profiles/{InstanceId}/{SecurityProfileId}"
2427
+ o.input = Shapes::ShapeRef.new(shape: DescribeSecurityProfileRequest)
2428
+ o.output = Shapes::ShapeRef.new(shape: DescribeSecurityProfileResponse)
2429
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2430
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2431
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2432
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2433
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2434
+ end)
2435
+
2303
2436
  api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
2304
2437
  o.name = "DescribeUser"
2305
2438
  o.http_method = "GET"
@@ -2861,6 +2994,25 @@ module Aws::Connect
2861
2994
  )
2862
2995
  end)
2863
2996
 
2997
+ api.add_operation(:list_security_profile_permissions, Seahorse::Model::Operation.new.tap do |o|
2998
+ o.name = "ListSecurityProfilePermissions"
2999
+ o.http_method = "GET"
3000
+ o.http_request_uri = "/security-profiles-permissions/{InstanceId}/{SecurityProfileId}"
3001
+ o.input = Shapes::ShapeRef.new(shape: ListSecurityProfilePermissionsRequest)
3002
+ o.output = Shapes::ShapeRef.new(shape: ListSecurityProfilePermissionsResponse)
3003
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3004
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3005
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3006
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3007
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3008
+ o[:pager] = Aws::Pager.new(
3009
+ limit_key: "max_results",
3010
+ tokens: {
3011
+ "next_token" => "next_token"
3012
+ }
3013
+ )
3014
+ end)
3015
+
2864
3016
  api.add_operation(:list_security_profiles, Seahorse::Model::Operation.new.tap do |o|
2865
3017
  o.name = "ListSecurityProfiles"
2866
3018
  o.http_method = "GET"
@@ -2985,6 +3137,19 @@ module Aws::Connect
2985
3137
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2986
3138
  end)
2987
3139
 
3140
+ api.add_operation(:start_contact_streaming, Seahorse::Model::Operation.new.tap do |o|
3141
+ o.name = "StartContactStreaming"
3142
+ o.http_method = "POST"
3143
+ o.http_request_uri = "/contact/start-streaming"
3144
+ o.input = Shapes::ShapeRef.new(shape: StartContactStreamingRequest)
3145
+ o.output = Shapes::ShapeRef.new(shape: StartContactStreamingResponse)
3146
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3147
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3148
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3149
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3150
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3151
+ end)
3152
+
2988
3153
  api.add_operation(:start_outbound_voice_contact, Seahorse::Model::Operation.new.tap do |o|
2989
3154
  o.name = "StartOutboundVoiceContact"
2990
3155
  o.http_method = "PUT"
@@ -3038,6 +3203,18 @@ module Aws::Connect
3038
3203
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3039
3204
  end)
3040
3205
 
3206
+ api.add_operation(:stop_contact_streaming, Seahorse::Model::Operation.new.tap do |o|
3207
+ o.name = "StopContactStreaming"
3208
+ o.http_method = "POST"
3209
+ o.http_request_uri = "/contact/stop-streaming"
3210
+ o.input = Shapes::ShapeRef.new(shape: StopContactStreamingRequest)
3211
+ o.output = Shapes::ShapeRef.new(shape: StopContactStreamingResponse)
3212
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3213
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3214
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3215
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3216
+ end)
3217
+
3041
3218
  api.add_operation(:suspend_contact_recording, Seahorse::Model::Operation.new.tap do |o|
3042
3219
  o.name = "SuspendContactRecording"
3043
3220
  o.http_method = "POST"
@@ -3315,6 +3492,19 @@ module Aws::Connect
3315
3492
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3316
3493
  end)
3317
3494
 
3495
+ api.add_operation(:update_security_profile, Seahorse::Model::Operation.new.tap do |o|
3496
+ o.name = "UpdateSecurityProfile"
3497
+ o.http_method = "POST"
3498
+ o.http_request_uri = "/security-profiles/{InstanceId}/{SecurityProfileId}"
3499
+ o.input = Shapes::ShapeRef.new(shape: UpdateSecurityProfileRequest)
3500
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3501
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3502
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3503
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3504
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3505
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3506
+ end)
3507
+
3318
3508
  api.add_operation(:update_user_hierarchy, Seahorse::Model::Operation.new.tap do |o|
3319
3509
  o.name = "UpdateUserHierarchy"
3320
3510
  o.http_method = "POST"
@@ -27,6 +27,7 @@ module Aws::Connect
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
30
31
  # * {ContactFlowNotPublishedException}
31
32
  # * {ContactNotFoundException}
32
33
  # * {DestinationNotAllowedException}
@@ -50,6 +51,21 @@ module Aws::Connect
50
51
 
51
52
  extend Aws::Errors::DynamicErrors
52
53
 
54
+ class AccessDeniedException < ServiceError
55
+
56
+ # @param [Seahorse::Client::RequestContext] context
57
+ # @param [String] message
58
+ # @param [Aws::Connect::Types::AccessDeniedException] data
59
+ def initialize(context, message, data = Aws::EmptyStructure.new)
60
+ super(context, message, data)
61
+ end
62
+
63
+ # @return [String]
64
+ def message
65
+ @message || @data[:message]
66
+ end
67
+ end
68
+
53
69
  class ContactFlowNotPublishedException < ServiceError
54
70
 
55
71
  # @param [Seahorse::Client::RequestContext] context