aws-sdk-connect 1.56.0 → 1.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +224 -23
- data/lib/aws-sdk-connect/client_api.rb +156 -0
- data/lib/aws-sdk-connect/types.rb +426 -34
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
@@ -17,7 +17,9 @@ module Aws::Connect
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
18
|
AfterContactWorkTimeLimit = Shapes::IntegerShape.new(name: 'AfterContactWorkTimeLimit')
|
19
19
|
AgentFirstName = Shapes::StringShape.new(name: 'AgentFirstName')
|
20
|
+
AgentInfo = Shapes::StructureShape.new(name: 'AgentInfo')
|
20
21
|
AgentLastName = Shapes::StringShape.new(name: 'AgentLastName')
|
22
|
+
AgentResourceId = Shapes::StringShape.new(name: 'AgentResourceId')
|
21
23
|
AgentStatus = Shapes::StructureShape.new(name: 'AgentStatus')
|
22
24
|
AgentStatusDescription = Shapes::StringShape.new(name: 'AgentStatusDescription')
|
23
25
|
AgentStatusId = Shapes::StringShape.new(name: 'AgentStatusId')
|
@@ -42,6 +44,7 @@ module Aws::Connect
|
|
42
44
|
AssociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'AssociateSecurityKeyRequest')
|
43
45
|
AssociateSecurityKeyResponse = Shapes::StructureShape.new(name: 'AssociateSecurityKeyResponse')
|
44
46
|
AssociationId = Shapes::StringShape.new(name: 'AssociationId')
|
47
|
+
AttachmentReference = Shapes::StructureShape.new(name: 'AttachmentReference')
|
45
48
|
Attribute = Shapes::StructureShape.new(name: 'Attribute')
|
46
49
|
AttributeName = Shapes::StringShape.new(name: 'AttributeName')
|
47
50
|
AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
|
@@ -63,6 +66,7 @@ module Aws::Connect
|
|
63
66
|
CommonNameLength127 = Shapes::StringShape.new(name: 'CommonNameLength127')
|
64
67
|
Comparison = Shapes::StringShape.new(name: 'Comparison')
|
65
68
|
Concurrency = Shapes::IntegerShape.new(name: 'Concurrency')
|
69
|
+
Contact = Shapes::StructureShape.new(name: 'Contact')
|
66
70
|
ContactFlow = Shapes::StructureShape.new(name: 'ContactFlow')
|
67
71
|
ContactFlowContent = Shapes::StringShape.new(name: 'ContactFlowContent')
|
68
72
|
ContactFlowDescription = Shapes::StringShape.new(name: 'ContactFlowDescription')
|
@@ -74,6 +78,7 @@ module Aws::Connect
|
|
74
78
|
ContactFlowType = Shapes::StringShape.new(name: 'ContactFlowType')
|
75
79
|
ContactFlowTypes = Shapes::ListShape.new(name: 'ContactFlowTypes')
|
76
80
|
ContactId = Shapes::StringShape.new(name: 'ContactId')
|
81
|
+
ContactInitiationMethod = Shapes::StringShape.new(name: 'ContactInitiationMethod')
|
77
82
|
ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
|
78
83
|
ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
|
79
84
|
CreateAgentStatusRequest = Shapes::StructureShape.new(name: 'CreateAgentStatusRequest')
|
@@ -121,6 +126,8 @@ module Aws::Connect
|
|
121
126
|
DescribeAgentStatusResponse = Shapes::StructureShape.new(name: 'DescribeAgentStatusResponse')
|
122
127
|
DescribeContactFlowRequest = Shapes::StructureShape.new(name: 'DescribeContactFlowRequest')
|
123
128
|
DescribeContactFlowResponse = Shapes::StructureShape.new(name: 'DescribeContactFlowResponse')
|
129
|
+
DescribeContactRequest = Shapes::StructureShape.new(name: 'DescribeContactRequest')
|
130
|
+
DescribeContactResponse = Shapes::StructureShape.new(name: 'DescribeContactResponse')
|
124
131
|
DescribeHoursOfOperationRequest = Shapes::StructureShape.new(name: 'DescribeHoursOfOperationRequest')
|
125
132
|
DescribeHoursOfOperationResponse = Shapes::StructureShape.new(name: 'DescribeHoursOfOperationResponse')
|
126
133
|
DescribeInstanceAttributeRequest = Shapes::StructureShape.new(name: 'DescribeInstanceAttributeRequest')
|
@@ -247,6 +254,8 @@ module Aws::Connect
|
|
247
254
|
ListBotsResponse = Shapes::StructureShape.new(name: 'ListBotsResponse')
|
248
255
|
ListContactFlowsRequest = Shapes::StructureShape.new(name: 'ListContactFlowsRequest')
|
249
256
|
ListContactFlowsResponse = Shapes::StructureShape.new(name: 'ListContactFlowsResponse')
|
257
|
+
ListContactReferencesRequest = Shapes::StructureShape.new(name: 'ListContactReferencesRequest')
|
258
|
+
ListContactReferencesResponse = Shapes::StructureShape.new(name: 'ListContactReferencesResponse')
|
250
259
|
ListHoursOfOperationsRequest = Shapes::StructureShape.new(name: 'ListHoursOfOperationsRequest')
|
251
260
|
ListHoursOfOperationsResponse = Shapes::StructureShape.new(name: 'ListHoursOfOperationsResponse')
|
252
261
|
ListInstanceAttributesRequest = Shapes::StructureShape.new(name: 'ListInstanceAttributesRequest')
|
@@ -335,6 +344,7 @@ module Aws::Connect
|
|
335
344
|
Queue = Shapes::StructureShape.new(name: 'Queue')
|
336
345
|
QueueDescription = Shapes::StringShape.new(name: 'QueueDescription')
|
337
346
|
QueueId = Shapes::StringShape.new(name: 'QueueId')
|
347
|
+
QueueInfo = Shapes::StructureShape.new(name: 'QueueInfo')
|
338
348
|
QueueMaxContacts = Shapes::IntegerShape.new(name: 'QueueMaxContacts')
|
339
349
|
QueueName = Shapes::StringShape.new(name: 'QueueName')
|
340
350
|
QueueQuickConnectConfig = Shapes::StructureShape.new(name: 'QueueQuickConnectConfig')
|
@@ -357,7 +367,11 @@ module Aws::Connect
|
|
357
367
|
QuickConnectsList = Shapes::ListShape.new(name: 'QuickConnectsList')
|
358
368
|
Reference = Shapes::StructureShape.new(name: 'Reference')
|
359
369
|
ReferenceKey = Shapes::StringShape.new(name: 'ReferenceKey')
|
370
|
+
ReferenceStatus = Shapes::StringShape.new(name: 'ReferenceStatus')
|
371
|
+
ReferenceSummary = Shapes::UnionShape.new(name: 'ReferenceSummary')
|
372
|
+
ReferenceSummaryList = Shapes::ListShape.new(name: 'ReferenceSummaryList')
|
360
373
|
ReferenceType = Shapes::StringShape.new(name: 'ReferenceType')
|
374
|
+
ReferenceTypes = Shapes::ListShape.new(name: 'ReferenceTypes')
|
361
375
|
ReferenceValue = Shapes::StringShape.new(name: 'ReferenceValue')
|
362
376
|
ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
|
363
377
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
@@ -434,6 +448,10 @@ module Aws::Connect
|
|
434
448
|
UpdateContactAttributesResponse = Shapes::StructureShape.new(name: 'UpdateContactAttributesResponse')
|
435
449
|
UpdateContactFlowContentRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowContentRequest')
|
436
450
|
UpdateContactFlowNameRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowNameRequest')
|
451
|
+
UpdateContactRequest = Shapes::StructureShape.new(name: 'UpdateContactRequest')
|
452
|
+
UpdateContactResponse = Shapes::StructureShape.new(name: 'UpdateContactResponse')
|
453
|
+
UpdateContactScheduleRequest = Shapes::StructureShape.new(name: 'UpdateContactScheduleRequest')
|
454
|
+
UpdateContactScheduleResponse = Shapes::StructureShape.new(name: 'UpdateContactScheduleResponse')
|
437
455
|
UpdateHoursOfOperationDescription = Shapes::StringShape.new(name: 'UpdateHoursOfOperationDescription')
|
438
456
|
UpdateHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateHoursOfOperationRequest')
|
439
457
|
UpdateInstanceAttributeRequest = Shapes::StructureShape.new(name: 'UpdateInstanceAttributeRequest')
|
@@ -458,6 +476,7 @@ module Aws::Connect
|
|
458
476
|
UpdateUserPhoneConfigRequest = Shapes::StructureShape.new(name: 'UpdateUserPhoneConfigRequest')
|
459
477
|
UpdateUserRoutingProfileRequest = Shapes::StructureShape.new(name: 'UpdateUserRoutingProfileRequest')
|
460
478
|
UpdateUserSecurityProfilesRequest = Shapes::StructureShape.new(name: 'UpdateUserSecurityProfilesRequest')
|
479
|
+
UrlReference = Shapes::StructureShape.new(name: 'UrlReference')
|
461
480
|
UseCase = Shapes::StructureShape.new(name: 'UseCase')
|
462
481
|
UseCaseId = Shapes::StringShape.new(name: 'UseCaseId')
|
463
482
|
UseCaseSummaryList = Shapes::ListShape.new(name: 'UseCaseSummaryList')
|
@@ -478,6 +497,10 @@ module Aws::Connect
|
|
478
497
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
479
498
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
480
499
|
|
500
|
+
AgentInfo.add_member(:id, Shapes::ShapeRef.new(shape: AgentResourceId, location_name: "Id"))
|
501
|
+
AgentInfo.add_member(:connected_to_agent_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "ConnectedToAgentTimestamp"))
|
502
|
+
AgentInfo.struct_class = Types::AgentInfo
|
503
|
+
|
481
504
|
AgentStatus.add_member(:agent_status_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "AgentStatusARN"))
|
482
505
|
AgentStatus.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, location_name: "AgentStatusId"))
|
483
506
|
AgentStatus.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, location_name: "Name"))
|
@@ -544,6 +567,11 @@ module Aws::Connect
|
|
544
567
|
AssociateSecurityKeyResponse.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
|
545
568
|
AssociateSecurityKeyResponse.struct_class = Types::AssociateSecurityKeyResponse
|
546
569
|
|
570
|
+
AttachmentReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
|
571
|
+
AttachmentReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
|
572
|
+
AttachmentReference.add_member(:status, Shapes::ShapeRef.new(shape: ReferenceStatus, location_name: "Status"))
|
573
|
+
AttachmentReference.struct_class = Types::AttachmentReference
|
574
|
+
|
547
575
|
Attribute.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, location_name: "AttributeType"))
|
548
576
|
Attribute.add_member(:value, Shapes::ShapeRef.new(shape: InstanceAttributeValue, location_name: "Value"))
|
549
577
|
Attribute.struct_class = Types::Attribute
|
@@ -562,6 +590,22 @@ module Aws::Connect
|
|
562
590
|
ChatStreamingConfiguration.add_member(:streaming_endpoint_arn, Shapes::ShapeRef.new(shape: ChatStreamingEndpointARN, required: true, location_name: "StreamingEndpointArn"))
|
563
591
|
ChatStreamingConfiguration.struct_class = Types::ChatStreamingConfiguration
|
564
592
|
|
593
|
+
Contact.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
594
|
+
Contact.add_member(:id, Shapes::ShapeRef.new(shape: ContactId, location_name: "Id"))
|
595
|
+
Contact.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "InitialContactId"))
|
596
|
+
Contact.add_member(:previous_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "PreviousContactId"))
|
597
|
+
Contact.add_member(:initiation_method, Shapes::ShapeRef.new(shape: ContactInitiationMethod, location_name: "InitiationMethod"))
|
598
|
+
Contact.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
599
|
+
Contact.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
600
|
+
Contact.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
|
601
|
+
Contact.add_member(:queue_info, Shapes::ShapeRef.new(shape: QueueInfo, location_name: "QueueInfo"))
|
602
|
+
Contact.add_member(:agent_info, Shapes::ShapeRef.new(shape: AgentInfo, location_name: "AgentInfo"))
|
603
|
+
Contact.add_member(:initiation_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "InitiationTimestamp"))
|
604
|
+
Contact.add_member(:disconnect_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "DisconnectTimestamp"))
|
605
|
+
Contact.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdateTimestamp"))
|
606
|
+
Contact.add_member(:scheduled_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "ScheduledTimestamp"))
|
607
|
+
Contact.struct_class = Types::Contact
|
608
|
+
|
565
609
|
ContactFlow.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
566
610
|
ContactFlow.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
|
567
611
|
ContactFlow.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
|
@@ -805,6 +849,13 @@ module Aws::Connect
|
|
805
849
|
DescribeContactFlowResponse.add_member(:contact_flow, Shapes::ShapeRef.new(shape: ContactFlow, location_name: "ContactFlow"))
|
806
850
|
DescribeContactFlowResponse.struct_class = Types::DescribeContactFlowResponse
|
807
851
|
|
852
|
+
DescribeContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
853
|
+
DescribeContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "ContactId"))
|
854
|
+
DescribeContactRequest.struct_class = Types::DescribeContactRequest
|
855
|
+
|
856
|
+
DescribeContactResponse.add_member(:contact, Shapes::ShapeRef.new(shape: Contact, location_name: "Contact"))
|
857
|
+
DescribeContactResponse.struct_class = Types::DescribeContactResponse
|
858
|
+
|
808
859
|
DescribeHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
809
860
|
DescribeHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location: "uri", location_name: "HoursOfOperationId"))
|
810
861
|
DescribeHoursOfOperationRequest.struct_class = Types::DescribeHoursOfOperationRequest
|
@@ -1200,6 +1251,16 @@ module Aws::Connect
|
|
1200
1251
|
ListContactFlowsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1201
1252
|
ListContactFlowsResponse.struct_class = Types::ListContactFlowsResponse
|
1202
1253
|
|
1254
|
+
ListContactReferencesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1255
|
+
ListContactReferencesRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "ContactId"))
|
1256
|
+
ListContactReferencesRequest.add_member(:reference_types, Shapes::ShapeRef.new(shape: ReferenceTypes, required: true, location: "querystring", location_name: "referenceTypes"))
|
1257
|
+
ListContactReferencesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1258
|
+
ListContactReferencesRequest.struct_class = Types::ListContactReferencesRequest
|
1259
|
+
|
1260
|
+
ListContactReferencesResponse.add_member(:reference_summary_list, Shapes::ShapeRef.new(shape: ReferenceSummaryList, location_name: "ReferenceSummaryList"))
|
1261
|
+
ListContactReferencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1262
|
+
ListContactReferencesResponse.struct_class = Types::ListContactReferencesResponse
|
1263
|
+
|
1203
1264
|
ListHoursOfOperationsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1204
1265
|
ListHoursOfOperationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1205
1266
|
ListHoursOfOperationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults"))
|
@@ -1455,6 +1516,10 @@ module Aws::Connect
|
|
1455
1516
|
Queue.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
1456
1517
|
Queue.struct_class = Types::Queue
|
1457
1518
|
|
1519
|
+
QueueInfo.add_member(:id, Shapes::ShapeRef.new(shape: QueueId, location_name: "Id"))
|
1520
|
+
QueueInfo.add_member(:enqueue_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "EnqueueTimestamp"))
|
1521
|
+
QueueInfo.struct_class = Types::QueueInfo
|
1522
|
+
|
1458
1523
|
QueueQuickConnectConfig.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "QueueId"))
|
1459
1524
|
QueueQuickConnectConfig.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
|
1460
1525
|
QueueQuickConnectConfig.struct_class = Types::QueueQuickConnectConfig
|
@@ -1505,6 +1570,18 @@ module Aws::Connect
|
|
1505
1570
|
Reference.add_member(:type, Shapes::ShapeRef.new(shape: ReferenceType, required: true, location_name: "Type"))
|
1506
1571
|
Reference.struct_class = Types::Reference
|
1507
1572
|
|
1573
|
+
ReferenceSummary.add_member(:url, Shapes::ShapeRef.new(shape: UrlReference, location_name: "Url"))
|
1574
|
+
ReferenceSummary.add_member(:attachment, Shapes::ShapeRef.new(shape: AttachmentReference, location_name: "Attachment"))
|
1575
|
+
ReferenceSummary.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1576
|
+
ReferenceSummary.add_member_subclass(:url, Types::ReferenceSummary::Url)
|
1577
|
+
ReferenceSummary.add_member_subclass(:attachment, Types::ReferenceSummary::Attachment)
|
1578
|
+
ReferenceSummary.add_member_subclass(:unknown, Types::ReferenceSummary::Unknown)
|
1579
|
+
ReferenceSummary.struct_class = Types::ReferenceSummary
|
1580
|
+
|
1581
|
+
ReferenceSummaryList.member = Shapes::ShapeRef.new(shape: ReferenceSummary)
|
1582
|
+
|
1583
|
+
ReferenceTypes.member = Shapes::ShapeRef.new(shape: ReferenceType)
|
1584
|
+
|
1508
1585
|
ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
1509
1586
|
ResourceConflictException.struct_class = Types::ResourceConflictException
|
1510
1587
|
|
@@ -1648,6 +1725,7 @@ module Aws::Connect
|
|
1648
1725
|
StartTaskContactRequest.add_member(:references, Shapes::ShapeRef.new(shape: ContactReferences, location_name: "References"))
|
1649
1726
|
StartTaskContactRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
1650
1727
|
StartTaskContactRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
1728
|
+
StartTaskContactRequest.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ScheduledTime"))
|
1651
1729
|
StartTaskContactRequest.struct_class = Types::StartTaskContactRequest
|
1652
1730
|
|
1653
1731
|
StartTaskContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
|
@@ -1727,6 +1805,22 @@ module Aws::Connect
|
|
1727
1805
|
UpdateContactFlowNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
|
1728
1806
|
UpdateContactFlowNameRequest.struct_class = Types::UpdateContactFlowNameRequest
|
1729
1807
|
|
1808
|
+
UpdateContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1809
|
+
UpdateContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "ContactId"))
|
1810
|
+
UpdateContactRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
1811
|
+
UpdateContactRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
1812
|
+
UpdateContactRequest.add_member(:references, Shapes::ShapeRef.new(shape: ContactReferences, location_name: "References"))
|
1813
|
+
UpdateContactRequest.struct_class = Types::UpdateContactRequest
|
1814
|
+
|
1815
|
+
UpdateContactResponse.struct_class = Types::UpdateContactResponse
|
1816
|
+
|
1817
|
+
UpdateContactScheduleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
1818
|
+
UpdateContactScheduleRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
1819
|
+
UpdateContactScheduleRequest.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ScheduledTime"))
|
1820
|
+
UpdateContactScheduleRequest.struct_class = Types::UpdateContactScheduleRequest
|
1821
|
+
|
1822
|
+
UpdateContactScheduleResponse.struct_class = Types::UpdateContactScheduleResponse
|
1823
|
+
|
1730
1824
|
UpdateHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1731
1825
|
UpdateHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location: "uri", location_name: "HoursOfOperationId"))
|
1732
1826
|
UpdateHoursOfOperationRequest.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, location_name: "Name"))
|
@@ -1844,6 +1938,10 @@ module Aws::Connect
|
|
1844
1938
|
UpdateUserSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1845
1939
|
UpdateUserSecurityProfilesRequest.struct_class = Types::UpdateUserSecurityProfilesRequest
|
1846
1940
|
|
1941
|
+
UrlReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
|
1942
|
+
UrlReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
|
1943
|
+
UrlReference.struct_class = Types::UrlReference
|
1944
|
+
|
1847
1945
|
UseCase.add_member(:use_case_id, Shapes::ShapeRef.new(shape: UseCaseId, location_name: "UseCaseId"))
|
1848
1946
|
UseCase.add_member(:use_case_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "UseCaseArn"))
|
1849
1947
|
UseCase.add_member(:use_case_type, Shapes::ShapeRef.new(shape: UseCaseType, location_name: "UseCaseType"))
|
@@ -2317,6 +2415,19 @@ module Aws::Connect
|
|
2317
2415
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2318
2416
|
end)
|
2319
2417
|
|
2418
|
+
api.add_operation(:describe_contact, Seahorse::Model::Operation.new.tap do |o|
|
2419
|
+
o.name = "DescribeContact"
|
2420
|
+
o.http_method = "GET"
|
2421
|
+
o.http_request_uri = "/contacts/{InstanceId}/{ContactId}"
|
2422
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeContactRequest)
|
2423
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeContactResponse)
|
2424
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2425
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2426
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2427
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2428
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2429
|
+
end)
|
2430
|
+
|
2320
2431
|
api.add_operation(:describe_contact_flow, Seahorse::Model::Operation.new.tap do |o|
|
2321
2432
|
o.name = "DescribeContactFlow"
|
2322
2433
|
o.http_method = "GET"
|
@@ -2713,6 +2824,24 @@ module Aws::Connect
|
|
2713
2824
|
)
|
2714
2825
|
end)
|
2715
2826
|
|
2827
|
+
api.add_operation(:list_contact_references, Seahorse::Model::Operation.new.tap do |o|
|
2828
|
+
o.name = "ListContactReferences"
|
2829
|
+
o.http_method = "GET"
|
2830
|
+
o.http_request_uri = "/contact/references/{InstanceId}/{ContactId}"
|
2831
|
+
o.input = Shapes::ShapeRef.new(shape: ListContactReferencesRequest)
|
2832
|
+
o.output = Shapes::ShapeRef.new(shape: ListContactReferencesResponse)
|
2833
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2834
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2835
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2836
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2837
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2838
|
+
o[:pager] = Aws::Pager.new(
|
2839
|
+
tokens: {
|
2840
|
+
"next_token" => "next_token"
|
2841
|
+
}
|
2842
|
+
)
|
2843
|
+
end)
|
2844
|
+
|
2716
2845
|
api.add_operation(:list_hours_of_operations, Seahorse::Model::Operation.new.tap do |o|
|
2717
2846
|
o.name = "ListHoursOfOperations"
|
2718
2847
|
o.http_method = "GET"
|
@@ -3267,6 +3396,19 @@ module Aws::Connect
|
|
3267
3396
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3268
3397
|
end)
|
3269
3398
|
|
3399
|
+
api.add_operation(:update_contact, Seahorse::Model::Operation.new.tap do |o|
|
3400
|
+
o.name = "UpdateContact"
|
3401
|
+
o.http_method = "POST"
|
3402
|
+
o.http_request_uri = "/contacts/{InstanceId}/{ContactId}"
|
3403
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateContactRequest)
|
3404
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateContactResponse)
|
3405
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3406
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3407
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3408
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3409
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3410
|
+
end)
|
3411
|
+
|
3270
3412
|
api.add_operation(:update_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
|
3271
3413
|
o.name = "UpdateContactAttributes"
|
3272
3414
|
o.http_method = "POST"
|
@@ -3307,6 +3449,20 @@ module Aws::Connect
|
|
3307
3449
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3308
3450
|
end)
|
3309
3451
|
|
3452
|
+
api.add_operation(:update_contact_schedule, Seahorse::Model::Operation.new.tap do |o|
|
3453
|
+
o.name = "UpdateContactSchedule"
|
3454
|
+
o.http_method = "POST"
|
3455
|
+
o.http_request_uri = "/contact/schedule"
|
3456
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateContactScheduleRequest)
|
3457
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateContactScheduleResponse)
|
3458
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3459
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3460
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3461
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3462
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3463
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3464
|
+
end)
|
3465
|
+
|
3310
3466
|
api.add_operation(:update_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
|
3311
3467
|
o.name = "UpdateHoursOfOperation"
|
3312
3468
|
o.http_method = "POST"
|