aws-sdk-connect 1.66.0 → 1.69.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +388 -8
- data/lib/aws-sdk-connect/client_api.rb +244 -0
- data/lib/aws-sdk-connect/types.rb +542 -4
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
@@ -41,6 +41,7 @@ module Aws::Connect
|
|
41
41
|
AssociateInstanceStorageConfigResponse = Shapes::StructureShape.new(name: 'AssociateInstanceStorageConfigResponse')
|
42
42
|
AssociateLambdaFunctionRequest = Shapes::StructureShape.new(name: 'AssociateLambdaFunctionRequest')
|
43
43
|
AssociateLexBotRequest = Shapes::StructureShape.new(name: 'AssociateLexBotRequest')
|
44
|
+
AssociatePhoneNumberContactFlowRequest = Shapes::StructureShape.new(name: 'AssociatePhoneNumberContactFlowRequest')
|
44
45
|
AssociateQueueQuickConnectsRequest = Shapes::StructureShape.new(name: 'AssociateQueueQuickConnectsRequest')
|
45
46
|
AssociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'AssociateRoutingProfileQueuesRequest')
|
46
47
|
AssociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'AssociateSecurityKeyRequest')
|
@@ -53,6 +54,8 @@ module Aws::Connect
|
|
53
54
|
Attributes = Shapes::MapShape.new(name: 'Attributes')
|
54
55
|
AttributesList = Shapes::ListShape.new(name: 'AttributesList')
|
55
56
|
AutoAccept = Shapes::BooleanShape.new(name: 'AutoAccept')
|
57
|
+
AvailableNumberSummary = Shapes::StructureShape.new(name: 'AvailableNumberSummary')
|
58
|
+
AvailableNumbersList = Shapes::ListShape.new(name: 'AvailableNumbersList')
|
56
59
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
57
60
|
BotName = Shapes::StringShape.new(name: 'BotName')
|
58
61
|
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
@@ -65,6 +68,9 @@ module Aws::Connect
|
|
65
68
|
ChatMessage = Shapes::StructureShape.new(name: 'ChatMessage')
|
66
69
|
ChatStreamingConfiguration = Shapes::StructureShape.new(name: 'ChatStreamingConfiguration')
|
67
70
|
ChatStreamingEndpointARN = Shapes::StringShape.new(name: 'ChatStreamingEndpointARN')
|
71
|
+
ClaimPhoneNumberRequest = Shapes::StructureShape.new(name: 'ClaimPhoneNumberRequest')
|
72
|
+
ClaimPhoneNumberResponse = Shapes::StructureShape.new(name: 'ClaimPhoneNumberResponse')
|
73
|
+
ClaimedPhoneNumberSummary = Shapes::StructureShape.new(name: 'ClaimedPhoneNumberSummary')
|
68
74
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
69
75
|
CommonNameLength127 = Shapes::StringShape.new(name: 'CommonNameLength127')
|
70
76
|
Comparison = Shapes::StringShape.new(name: 'Comparison')
|
@@ -162,6 +168,8 @@ module Aws::Connect
|
|
162
168
|
DescribeInstanceResponse = Shapes::StructureShape.new(name: 'DescribeInstanceResponse')
|
163
169
|
DescribeInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'DescribeInstanceStorageConfigRequest')
|
164
170
|
DescribeInstanceStorageConfigResponse = Shapes::StructureShape.new(name: 'DescribeInstanceStorageConfigResponse')
|
171
|
+
DescribePhoneNumberRequest = Shapes::StructureShape.new(name: 'DescribePhoneNumberRequest')
|
172
|
+
DescribePhoneNumberResponse = Shapes::StructureShape.new(name: 'DescribePhoneNumberResponse')
|
165
173
|
DescribeQueueRequest = Shapes::StructureShape.new(name: 'DescribeQueueRequest')
|
166
174
|
DescribeQueueResponse = Shapes::StructureShape.new(name: 'DescribeQueueResponse')
|
167
175
|
DescribeQuickConnectRequest = Shapes::StructureShape.new(name: 'DescribeQuickConnectRequest')
|
@@ -190,6 +198,7 @@ module Aws::Connect
|
|
190
198
|
DisassociateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'DisassociateInstanceStorageConfigRequest')
|
191
199
|
DisassociateLambdaFunctionRequest = Shapes::StructureShape.new(name: 'DisassociateLambdaFunctionRequest')
|
192
200
|
DisassociateLexBotRequest = Shapes::StructureShape.new(name: 'DisassociateLexBotRequest')
|
201
|
+
DisassociatePhoneNumberContactFlowRequest = Shapes::StructureShape.new(name: 'DisassociatePhoneNumberContactFlowRequest')
|
193
202
|
DisassociateQueueQuickConnectsRequest = Shapes::StructureShape.new(name: 'DisassociateQueueQuickConnectsRequest')
|
194
203
|
DisassociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'DisassociateRoutingProfileQueuesRequest')
|
195
204
|
DisassociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'DisassociateSecurityKeyRequest')
|
@@ -268,6 +277,7 @@ module Aws::Connect
|
|
268
277
|
KinesisFirehoseConfig = Shapes::StructureShape.new(name: 'KinesisFirehoseConfig')
|
269
278
|
KinesisStreamConfig = Shapes::StructureShape.new(name: 'KinesisStreamConfig')
|
270
279
|
KinesisVideoStreamConfig = Shapes::StructureShape.new(name: 'KinesisVideoStreamConfig')
|
280
|
+
LargeNextToken = Shapes::StringShape.new(name: 'LargeNextToken')
|
271
281
|
LexBot = Shapes::StructureShape.new(name: 'LexBot')
|
272
282
|
LexBotConfig = Shapes::StructureShape.new(name: 'LexBotConfig')
|
273
283
|
LexBotConfigList = Shapes::ListShape.new(name: 'LexBotConfigList')
|
@@ -306,6 +316,10 @@ module Aws::Connect
|
|
306
316
|
ListLexBotsResponse = Shapes::StructureShape.new(name: 'ListLexBotsResponse')
|
307
317
|
ListPhoneNumbersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumbersRequest')
|
308
318
|
ListPhoneNumbersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumbersResponse')
|
319
|
+
ListPhoneNumbersSummary = Shapes::StructureShape.new(name: 'ListPhoneNumbersSummary')
|
320
|
+
ListPhoneNumbersSummaryList = Shapes::ListShape.new(name: 'ListPhoneNumbersSummaryList')
|
321
|
+
ListPhoneNumbersV2Request = Shapes::StructureShape.new(name: 'ListPhoneNumbersV2Request')
|
322
|
+
ListPhoneNumbersV2Response = Shapes::StructureShape.new(name: 'ListPhoneNumbersV2Response')
|
309
323
|
ListPromptsRequest = Shapes::StructureShape.new(name: 'ListPromptsRequest')
|
310
324
|
ListPromptsResponse = Shapes::StructureShape.new(name: 'ListPromptsResponse')
|
311
325
|
ListQueueQuickConnectsRequest = Shapes::StructureShape.new(name: 'ListQueueQuickConnectsRequest')
|
@@ -359,12 +373,17 @@ module Aws::Connect
|
|
359
373
|
PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
|
360
374
|
PhoneNumberCountryCode = Shapes::StringShape.new(name: 'PhoneNumberCountryCode')
|
361
375
|
PhoneNumberCountryCodes = Shapes::ListShape.new(name: 'PhoneNumberCountryCodes')
|
376
|
+
PhoneNumberDescription = Shapes::StringShape.new(name: 'PhoneNumberDescription')
|
362
377
|
PhoneNumberId = Shapes::StringShape.new(name: 'PhoneNumberId')
|
378
|
+
PhoneNumberPrefix = Shapes::StringShape.new(name: 'PhoneNumberPrefix')
|
363
379
|
PhoneNumberQuickConnectConfig = Shapes::StructureShape.new(name: 'PhoneNumberQuickConnectConfig')
|
380
|
+
PhoneNumberStatus = Shapes::StructureShape.new(name: 'PhoneNumberStatus')
|
364
381
|
PhoneNumberSummary = Shapes::StructureShape.new(name: 'PhoneNumberSummary')
|
365
382
|
PhoneNumberSummaryList = Shapes::ListShape.new(name: 'PhoneNumberSummaryList')
|
366
383
|
PhoneNumberType = Shapes::StringShape.new(name: 'PhoneNumberType')
|
367
384
|
PhoneNumberTypes = Shapes::ListShape.new(name: 'PhoneNumberTypes')
|
385
|
+
PhoneNumberWorkflowMessage = Shapes::StringShape.new(name: 'PhoneNumberWorkflowMessage')
|
386
|
+
PhoneNumberWorkflowStatus = Shapes::StringShape.new(name: 'PhoneNumberWorkflowStatus')
|
368
387
|
PhoneType = Shapes::StringShape.new(name: 'PhoneType')
|
369
388
|
Prefix = Shapes::StringShape.new(name: 'Prefix')
|
370
389
|
Priority = Shapes::IntegerShape.new(name: 'Priority')
|
@@ -407,6 +426,7 @@ module Aws::Connect
|
|
407
426
|
ReferenceType = Shapes::StringShape.new(name: 'ReferenceType')
|
408
427
|
ReferenceTypes = Shapes::ListShape.new(name: 'ReferenceTypes')
|
409
428
|
ReferenceValue = Shapes::StringShape.new(name: 'ReferenceValue')
|
429
|
+
ReleasePhoneNumberRequest = Shapes::StructureShape.new(name: 'ReleasePhoneNumberRequest')
|
410
430
|
ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
|
411
431
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
412
432
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -426,6 +446,8 @@ module Aws::Connect
|
|
426
446
|
RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
|
427
447
|
RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
|
428
448
|
S3Config = Shapes::StructureShape.new(name: 'S3Config')
|
449
|
+
SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
|
450
|
+
SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
|
429
451
|
SearchVocabulariesRequest = Shapes::StructureShape.new(name: 'SearchVocabulariesRequest')
|
430
452
|
SearchVocabulariesResponse = Shapes::StructureShape.new(name: 'SearchVocabulariesResponse')
|
431
453
|
SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey')
|
@@ -462,6 +484,8 @@ module Aws::Connect
|
|
462
484
|
StorageType = Shapes::StringShape.new(name: 'StorageType')
|
463
485
|
StreamingId = Shapes::StringShape.new(name: 'StreamingId')
|
464
486
|
String = Shapes::StringShape.new(name: 'String')
|
487
|
+
SupportedMessagingContentType = Shapes::StringShape.new(name: 'SupportedMessagingContentType')
|
488
|
+
SupportedMessagingContentTypes = Shapes::ListShape.new(name: 'SupportedMessagingContentTypes')
|
465
489
|
SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
|
466
490
|
SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
|
467
491
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -497,6 +521,8 @@ module Aws::Connect
|
|
497
521
|
UpdateHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateHoursOfOperationRequest')
|
498
522
|
UpdateInstanceAttributeRequest = Shapes::StructureShape.new(name: 'UpdateInstanceAttributeRequest')
|
499
523
|
UpdateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'UpdateInstanceStorageConfigRequest')
|
524
|
+
UpdatePhoneNumberRequest = Shapes::StructureShape.new(name: 'UpdatePhoneNumberRequest')
|
525
|
+
UpdatePhoneNumberResponse = Shapes::StructureShape.new(name: 'UpdatePhoneNumberResponse')
|
500
526
|
UpdateQueueHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateQueueHoursOfOperationRequest')
|
501
527
|
UpdateQueueMaxContactsRequest = Shapes::StructureShape.new(name: 'UpdateQueueMaxContactsRequest')
|
502
528
|
UpdateQueueNameRequest = Shapes::StructureShape.new(name: 'UpdateQueueNameRequest')
|
@@ -609,6 +635,11 @@ module Aws::Connect
|
|
609
635
|
AssociateLexBotRequest.add_member(:lex_bot, Shapes::ShapeRef.new(shape: LexBot, required: true, location_name: "LexBot"))
|
610
636
|
AssociateLexBotRequest.struct_class = Types::AssociateLexBotRequest
|
611
637
|
|
638
|
+
AssociatePhoneNumberContactFlowRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
|
639
|
+
AssociatePhoneNumberContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
640
|
+
AssociatePhoneNumberContactFlowRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
|
641
|
+
AssociatePhoneNumberContactFlowRequest.struct_class = Types::AssociatePhoneNumberContactFlowRequest
|
642
|
+
|
612
643
|
AssociateQueueQuickConnectsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
613
644
|
AssociateQueueQuickConnectsRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
|
614
645
|
AssociateQueueQuickConnectsRequest.add_member(:quick_connect_ids, Shapes::ShapeRef.new(shape: QuickConnectsList, required: true, location_name: "QuickConnectIds"))
|
@@ -640,6 +671,13 @@ module Aws::Connect
|
|
640
671
|
|
641
672
|
AttributesList.member = Shapes::ShapeRef.new(shape: Attribute)
|
642
673
|
|
674
|
+
AvailableNumberSummary.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
|
675
|
+
AvailableNumberSummary.add_member(:phone_number_country_code, Shapes::ShapeRef.new(shape: PhoneNumberCountryCode, location_name: "PhoneNumberCountryCode"))
|
676
|
+
AvailableNumberSummary.add_member(:phone_number_type, Shapes::ShapeRef.new(shape: PhoneNumberType, location_name: "PhoneNumberType"))
|
677
|
+
AvailableNumberSummary.struct_class = Types::AvailableNumberSummary
|
678
|
+
|
679
|
+
AvailableNumbersList.member = Shapes::ShapeRef.new(shape: AvailableNumberSummary)
|
680
|
+
|
643
681
|
Channels.member = Shapes::ShapeRef.new(shape: Channel)
|
644
682
|
|
645
683
|
ChatMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, required: true, location_name: "ContentType"))
|
@@ -649,6 +687,28 @@ module Aws::Connect
|
|
649
687
|
ChatStreamingConfiguration.add_member(:streaming_endpoint_arn, Shapes::ShapeRef.new(shape: ChatStreamingEndpointARN, required: true, location_name: "StreamingEndpointArn"))
|
650
688
|
ChatStreamingConfiguration.struct_class = Types::ChatStreamingConfiguration
|
651
689
|
|
690
|
+
ClaimPhoneNumberRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "TargetArn"))
|
691
|
+
ClaimPhoneNumberRequest.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "PhoneNumber"))
|
692
|
+
ClaimPhoneNumberRequest.add_member(:phone_number_description, Shapes::ShapeRef.new(shape: PhoneNumberDescription, location_name: "PhoneNumberDescription"))
|
693
|
+
ClaimPhoneNumberRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
694
|
+
ClaimPhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
695
|
+
ClaimPhoneNumberRequest.struct_class = Types::ClaimPhoneNumberRequest
|
696
|
+
|
697
|
+
ClaimPhoneNumberResponse.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, location_name: "PhoneNumberId"))
|
698
|
+
ClaimPhoneNumberResponse.add_member(:phone_number_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PhoneNumberArn"))
|
699
|
+
ClaimPhoneNumberResponse.struct_class = Types::ClaimPhoneNumberResponse
|
700
|
+
|
701
|
+
ClaimedPhoneNumberSummary.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, location_name: "PhoneNumberId"))
|
702
|
+
ClaimedPhoneNumberSummary.add_member(:phone_number_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PhoneNumberArn"))
|
703
|
+
ClaimedPhoneNumberSummary.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
|
704
|
+
ClaimedPhoneNumberSummary.add_member(:phone_number_country_code, Shapes::ShapeRef.new(shape: PhoneNumberCountryCode, location_name: "PhoneNumberCountryCode"))
|
705
|
+
ClaimedPhoneNumberSummary.add_member(:phone_number_type, Shapes::ShapeRef.new(shape: PhoneNumberType, location_name: "PhoneNumberType"))
|
706
|
+
ClaimedPhoneNumberSummary.add_member(:phone_number_description, Shapes::ShapeRef.new(shape: PhoneNumberDescription, location_name: "PhoneNumberDescription"))
|
707
|
+
ClaimedPhoneNumberSummary.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "TargetArn"))
|
708
|
+
ClaimedPhoneNumberSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
709
|
+
ClaimedPhoneNumberSummary.add_member(:phone_number_status, Shapes::ShapeRef.new(shape: PhoneNumberStatus, location_name: "PhoneNumberStatus"))
|
710
|
+
ClaimedPhoneNumberSummary.struct_class = Types::ClaimedPhoneNumberSummary
|
711
|
+
|
652
712
|
Contact.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
653
713
|
Contact.add_member(:id, Shapes::ShapeRef.new(shape: ContactId, location_name: "Id"))
|
654
714
|
Contact.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "InitialContactId"))
|
@@ -1023,6 +1083,12 @@ module Aws::Connect
|
|
1023
1083
|
DescribeInstanceStorageConfigResponse.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, location_name: "StorageConfig"))
|
1024
1084
|
DescribeInstanceStorageConfigResponse.struct_class = Types::DescribeInstanceStorageConfigResponse
|
1025
1085
|
|
1086
|
+
DescribePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
|
1087
|
+
DescribePhoneNumberRequest.struct_class = Types::DescribePhoneNumberRequest
|
1088
|
+
|
1089
|
+
DescribePhoneNumberResponse.add_member(:claimed_phone_number_summary, Shapes::ShapeRef.new(shape: ClaimedPhoneNumberSummary, location_name: "ClaimedPhoneNumberSummary"))
|
1090
|
+
DescribePhoneNumberResponse.struct_class = Types::DescribePhoneNumberResponse
|
1091
|
+
|
1026
1092
|
DescribeQueueRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1027
1093
|
DescribeQueueRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
|
1028
1094
|
DescribeQueueRequest.struct_class = Types::DescribeQueueRequest
|
@@ -1108,6 +1174,10 @@ module Aws::Connect
|
|
1108
1174
|
DisassociateLexBotRequest.add_member(:lex_region, Shapes::ShapeRef.new(shape: LexRegion, required: true, location: "querystring", location_name: "lexRegion"))
|
1109
1175
|
DisassociateLexBotRequest.struct_class = Types::DisassociateLexBotRequest
|
1110
1176
|
|
1177
|
+
DisassociatePhoneNumberContactFlowRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
|
1178
|
+
DisassociatePhoneNumberContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "querystring", location_name: "instanceId"))
|
1179
|
+
DisassociatePhoneNumberContactFlowRequest.struct_class = Types::DisassociatePhoneNumberContactFlowRequest
|
1180
|
+
|
1111
1181
|
DisassociateQueueQuickConnectsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1112
1182
|
DisassociateQueueQuickConnectsRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
|
1113
1183
|
DisassociateQueueQuickConnectsRequest.add_member(:quick_connect_ids, Shapes::ShapeRef.new(shape: QuickConnectsList, required: true, location_name: "QuickConnectIds"))
|
@@ -1509,6 +1579,28 @@ module Aws::Connect
|
|
1509
1579
|
ListPhoneNumbersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1510
1580
|
ListPhoneNumbersResponse.struct_class = Types::ListPhoneNumbersResponse
|
1511
1581
|
|
1582
|
+
ListPhoneNumbersSummary.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, location_name: "PhoneNumberId"))
|
1583
|
+
ListPhoneNumbersSummary.add_member(:phone_number_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PhoneNumberArn"))
|
1584
|
+
ListPhoneNumbersSummary.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
|
1585
|
+
ListPhoneNumbersSummary.add_member(:phone_number_country_code, Shapes::ShapeRef.new(shape: PhoneNumberCountryCode, location_name: "PhoneNumberCountryCode"))
|
1586
|
+
ListPhoneNumbersSummary.add_member(:phone_number_type, Shapes::ShapeRef.new(shape: PhoneNumberType, location_name: "PhoneNumberType"))
|
1587
|
+
ListPhoneNumbersSummary.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "TargetArn"))
|
1588
|
+
ListPhoneNumbersSummary.struct_class = Types::ListPhoneNumbersSummary
|
1589
|
+
|
1590
|
+
ListPhoneNumbersSummaryList.member = Shapes::ShapeRef.new(shape: ListPhoneNumbersSummary)
|
1591
|
+
|
1592
|
+
ListPhoneNumbersV2Request.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "TargetArn"))
|
1593
|
+
ListPhoneNumbersV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location_name: "MaxResults", metadata: {"box"=>true}))
|
1594
|
+
ListPhoneNumbersV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: LargeNextToken, location_name: "NextToken"))
|
1595
|
+
ListPhoneNumbersV2Request.add_member(:phone_number_country_codes, Shapes::ShapeRef.new(shape: PhoneNumberCountryCodes, location_name: "PhoneNumberCountryCodes"))
|
1596
|
+
ListPhoneNumbersV2Request.add_member(:phone_number_types, Shapes::ShapeRef.new(shape: PhoneNumberTypes, location_name: "PhoneNumberTypes"))
|
1597
|
+
ListPhoneNumbersV2Request.add_member(:phone_number_prefix, Shapes::ShapeRef.new(shape: PhoneNumberPrefix, location_name: "PhoneNumberPrefix"))
|
1598
|
+
ListPhoneNumbersV2Request.struct_class = Types::ListPhoneNumbersV2Request
|
1599
|
+
|
1600
|
+
ListPhoneNumbersV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: LargeNextToken, location_name: "NextToken"))
|
1601
|
+
ListPhoneNumbersV2Response.add_member(:list_phone_numbers_summary_list, Shapes::ShapeRef.new(shape: ListPhoneNumbersSummaryList, location_name: "ListPhoneNumbersSummaryList"))
|
1602
|
+
ListPhoneNumbersV2Response.struct_class = Types::ListPhoneNumbersV2Response
|
1603
|
+
|
1512
1604
|
ListPromptsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1513
1605
|
ListPromptsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1514
1606
|
ListPromptsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
@@ -1655,6 +1747,10 @@ module Aws::Connect
|
|
1655
1747
|
PhoneNumberQuickConnectConfig.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "PhoneNumber"))
|
1656
1748
|
PhoneNumberQuickConnectConfig.struct_class = Types::PhoneNumberQuickConnectConfig
|
1657
1749
|
|
1750
|
+
PhoneNumberStatus.add_member(:status, Shapes::ShapeRef.new(shape: PhoneNumberWorkflowStatus, location_name: "Status"))
|
1751
|
+
PhoneNumberStatus.add_member(:message, Shapes::ShapeRef.new(shape: PhoneNumberWorkflowMessage, location_name: "Message"))
|
1752
|
+
PhoneNumberStatus.struct_class = Types::PhoneNumberStatus
|
1753
|
+
|
1658
1754
|
PhoneNumberSummary.add_member(:id, Shapes::ShapeRef.new(shape: PhoneNumberId, location_name: "Id"))
|
1659
1755
|
PhoneNumberSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
1660
1756
|
PhoneNumberSummary.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
|
@@ -1755,6 +1851,10 @@ module Aws::Connect
|
|
1755
1851
|
|
1756
1852
|
ReferenceTypes.member = Shapes::ShapeRef.new(shape: ReferenceType)
|
1757
1853
|
|
1854
|
+
ReleasePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
|
1855
|
+
ReleasePhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1856
|
+
ReleasePhoneNumberRequest.struct_class = Types::ReleasePhoneNumberRequest
|
1857
|
+
|
1758
1858
|
ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
1759
1859
|
ResourceConflictException.struct_class = Types::ResourceConflictException
|
1760
1860
|
|
@@ -1818,6 +1918,18 @@ module Aws::Connect
|
|
1818
1918
|
S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
|
1819
1919
|
S3Config.struct_class = Types::S3Config
|
1820
1920
|
|
1921
|
+
SearchAvailablePhoneNumbersRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "TargetArn"))
|
1922
|
+
SearchAvailablePhoneNumbersRequest.add_member(:phone_number_country_code, Shapes::ShapeRef.new(shape: PhoneNumberCountryCode, required: true, location_name: "PhoneNumberCountryCode"))
|
1923
|
+
SearchAvailablePhoneNumbersRequest.add_member(:phone_number_type, Shapes::ShapeRef.new(shape: PhoneNumberType, required: true, location_name: "PhoneNumberType"))
|
1924
|
+
SearchAvailablePhoneNumbersRequest.add_member(:phone_number_prefix, Shapes::ShapeRef.new(shape: PhoneNumberPrefix, location_name: "PhoneNumberPrefix"))
|
1925
|
+
SearchAvailablePhoneNumbersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location_name: "MaxResults", metadata: {"box"=>true}))
|
1926
|
+
SearchAvailablePhoneNumbersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: LargeNextToken, location_name: "NextToken"))
|
1927
|
+
SearchAvailablePhoneNumbersRequest.struct_class = Types::SearchAvailablePhoneNumbersRequest
|
1928
|
+
|
1929
|
+
SearchAvailablePhoneNumbersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: LargeNextToken, location_name: "NextToken"))
|
1930
|
+
SearchAvailablePhoneNumbersResponse.add_member(:available_numbers_list, Shapes::ShapeRef.new(shape: AvailableNumbersList, location_name: "AvailableNumbersList"))
|
1931
|
+
SearchAvailablePhoneNumbersResponse.struct_class = Types::SearchAvailablePhoneNumbersResponse
|
1932
|
+
|
1821
1933
|
SearchVocabulariesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1822
1934
|
SearchVocabulariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults"))
|
1823
1935
|
SearchVocabulariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: VocabularyNextToken, location_name: "NextToken"))
|
@@ -1864,6 +1976,7 @@ module Aws::Connect
|
|
1864
1976
|
StartChatContactRequest.add_member(:initial_message, Shapes::ShapeRef.new(shape: ChatMessage, location_name: "InitialMessage"))
|
1865
1977
|
StartChatContactRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
1866
1978
|
StartChatContactRequest.add_member(:chat_duration_in_minutes, Shapes::ShapeRef.new(shape: ChatDurationInMinutes, location_name: "ChatDurationInMinutes"))
|
1979
|
+
StartChatContactRequest.add_member(:supported_messaging_content_types, Shapes::ShapeRef.new(shape: SupportedMessagingContentTypes, location_name: "SupportedMessagingContentTypes"))
|
1867
1980
|
StartChatContactRequest.struct_class = Types::StartChatContactRequest
|
1868
1981
|
|
1869
1982
|
StartChatContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
|
@@ -1937,6 +2050,8 @@ module Aws::Connect
|
|
1937
2050
|
|
1938
2051
|
StopContactStreamingResponse.struct_class = Types::StopContactStreamingResponse
|
1939
2052
|
|
2053
|
+
SupportedMessagingContentTypes.member = Shapes::ShapeRef.new(shape: SupportedMessagingContentType)
|
2054
|
+
|
1940
2055
|
SuspendContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
1941
2056
|
SuspendContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
1942
2057
|
SuspendContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
|
@@ -2049,6 +2164,15 @@ module Aws::Connect
|
|
2049
2164
|
UpdateInstanceStorageConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, required: true, location_name: "StorageConfig"))
|
2050
2165
|
UpdateInstanceStorageConfigRequest.struct_class = Types::UpdateInstanceStorageConfigRequest
|
2051
2166
|
|
2167
|
+
UpdatePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
|
2168
|
+
UpdatePhoneNumberRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "TargetArn"))
|
2169
|
+
UpdatePhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
2170
|
+
UpdatePhoneNumberRequest.struct_class = Types::UpdatePhoneNumberRequest
|
2171
|
+
|
2172
|
+
UpdatePhoneNumberResponse.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, location_name: "PhoneNumberId"))
|
2173
|
+
UpdatePhoneNumberResponse.add_member(:phone_number_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PhoneNumberArn"))
|
2174
|
+
UpdatePhoneNumberResponse.struct_class = Types::UpdatePhoneNumberResponse
|
2175
|
+
|
2052
2176
|
UpdateQueueHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
2053
2177
|
UpdateQueueHoursOfOperationRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
|
2054
2178
|
UpdateQueueHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location_name: "HoursOfOperationId"))
|
@@ -2326,6 +2450,19 @@ module Aws::Connect
|
|
2326
2450
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2327
2451
|
end)
|
2328
2452
|
|
2453
|
+
api.add_operation(:associate_phone_number_contact_flow, Seahorse::Model::Operation.new.tap do |o|
|
2454
|
+
o.name = "AssociatePhoneNumberContactFlow"
|
2455
|
+
o.http_method = "PUT"
|
2456
|
+
o.http_request_uri = "/phone-number/{PhoneNumberId}/contact-flow"
|
2457
|
+
o.input = Shapes::ShapeRef.new(shape: AssociatePhoneNumberContactFlowRequest)
|
2458
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2459
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2460
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2461
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2462
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2463
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2464
|
+
end)
|
2465
|
+
|
2329
2466
|
api.add_operation(:associate_queue_quick_connects, Seahorse::Model::Operation.new.tap do |o|
|
2330
2467
|
o.name = "AssociateQueueQuickConnects"
|
2331
2468
|
o.http_method = "POST"
|
@@ -2368,6 +2505,20 @@ module Aws::Connect
|
|
2368
2505
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2369
2506
|
end)
|
2370
2507
|
|
2508
|
+
api.add_operation(:claim_phone_number, Seahorse::Model::Operation.new.tap do |o|
|
2509
|
+
o.name = "ClaimPhoneNumber"
|
2510
|
+
o.http_method = "POST"
|
2511
|
+
o.http_request_uri = "/phone-number/claim"
|
2512
|
+
o.input = Shapes::ShapeRef.new(shape: ClaimPhoneNumberRequest)
|
2513
|
+
o.output = Shapes::ShapeRef.new(shape: ClaimPhoneNumberResponse)
|
2514
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2515
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2516
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2517
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2518
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
|
2519
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2520
|
+
end)
|
2521
|
+
|
2371
2522
|
api.add_operation(:create_agent_status, Seahorse::Model::Operation.new.tap do |o|
|
2372
2523
|
o.name = "CreateAgentStatus"
|
2373
2524
|
o.http_method = "PUT"
|
@@ -2825,6 +2976,19 @@ module Aws::Connect
|
|
2825
2976
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2826
2977
|
end)
|
2827
2978
|
|
2979
|
+
api.add_operation(:describe_phone_number, Seahorse::Model::Operation.new.tap do |o|
|
2980
|
+
o.name = "DescribePhoneNumber"
|
2981
|
+
o.http_method = "GET"
|
2982
|
+
o.http_request_uri = "/phone-number/{PhoneNumberId}"
|
2983
|
+
o.input = Shapes::ShapeRef.new(shape: DescribePhoneNumberRequest)
|
2984
|
+
o.output = Shapes::ShapeRef.new(shape: DescribePhoneNumberResponse)
|
2985
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2986
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2987
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2988
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2989
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2990
|
+
end)
|
2991
|
+
|
2828
2992
|
api.add_operation(:describe_queue, Seahorse::Model::Operation.new.tap do |o|
|
2829
2993
|
o.name = "DescribeQueue"
|
2830
2994
|
o.http_method = "GET"
|
@@ -2993,6 +3157,19 @@ module Aws::Connect
|
|
2993
3157
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2994
3158
|
end)
|
2995
3159
|
|
3160
|
+
api.add_operation(:disassociate_phone_number_contact_flow, Seahorse::Model::Operation.new.tap do |o|
|
3161
|
+
o.name = "DisassociatePhoneNumberContactFlow"
|
3162
|
+
o.http_method = "DELETE"
|
3163
|
+
o.http_request_uri = "/phone-number/{PhoneNumberId}/contact-flow"
|
3164
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociatePhoneNumberContactFlowRequest)
|
3165
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3166
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3167
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3168
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3169
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3170
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3171
|
+
end)
|
3172
|
+
|
2996
3173
|
api.add_operation(:disassociate_queue_quick_connects, Seahorse::Model::Operation.new.tap do |o|
|
2997
3174
|
o.name = "DisassociateQueueQuickConnects"
|
2998
3175
|
o.http_method = "POST"
|
@@ -3374,6 +3551,25 @@ module Aws::Connect
|
|
3374
3551
|
)
|
3375
3552
|
end)
|
3376
3553
|
|
3554
|
+
api.add_operation(:list_phone_numbers_v2, Seahorse::Model::Operation.new.tap do |o|
|
3555
|
+
o.name = "ListPhoneNumbersV2"
|
3556
|
+
o.http_method = "POST"
|
3557
|
+
o.http_request_uri = "/phone-number/list"
|
3558
|
+
o.input = Shapes::ShapeRef.new(shape: ListPhoneNumbersV2Request)
|
3559
|
+
o.output = Shapes::ShapeRef.new(shape: ListPhoneNumbersV2Response)
|
3560
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3561
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3562
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3563
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3564
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3565
|
+
o[:pager] = Aws::Pager.new(
|
3566
|
+
limit_key: "max_results",
|
3567
|
+
tokens: {
|
3568
|
+
"next_token" => "next_token"
|
3569
|
+
}
|
3570
|
+
)
|
3571
|
+
end)
|
3572
|
+
|
3377
3573
|
api.add_operation(:list_prompts, Seahorse::Model::Operation.new.tap do |o|
|
3378
3574
|
o.name = "ListPrompts"
|
3379
3575
|
o.http_method = "GET"
|
@@ -3614,6 +3810,21 @@ module Aws::Connect
|
|
3614
3810
|
)
|
3615
3811
|
end)
|
3616
3812
|
|
3813
|
+
api.add_operation(:release_phone_number, Seahorse::Model::Operation.new.tap do |o|
|
3814
|
+
o.name = "ReleasePhoneNumber"
|
3815
|
+
o.http_method = "DELETE"
|
3816
|
+
o.http_request_uri = "/phone-number/{PhoneNumberId}"
|
3817
|
+
o.input = Shapes::ShapeRef.new(shape: ReleasePhoneNumberRequest)
|
3818
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3819
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3820
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3821
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3822
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3823
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
3824
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
|
3825
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3826
|
+
end)
|
3827
|
+
|
3617
3828
|
api.add_operation(:resume_contact_recording, Seahorse::Model::Operation.new.tap do |o|
|
3618
3829
|
o.name = "ResumeContactRecording"
|
3619
3830
|
o.http_method = "POST"
|
@@ -3625,6 +3836,24 @@ module Aws::Connect
|
|
3625
3836
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3626
3837
|
end)
|
3627
3838
|
|
3839
|
+
api.add_operation(:search_available_phone_numbers, Seahorse::Model::Operation.new.tap do |o|
|
3840
|
+
o.name = "SearchAvailablePhoneNumbers"
|
3841
|
+
o.http_method = "POST"
|
3842
|
+
o.http_request_uri = "/phone-number/search-available"
|
3843
|
+
o.input = Shapes::ShapeRef.new(shape: SearchAvailablePhoneNumbersRequest)
|
3844
|
+
o.output = Shapes::ShapeRef.new(shape: SearchAvailablePhoneNumbersResponse)
|
3845
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3846
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3847
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3848
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3849
|
+
o[:pager] = Aws::Pager.new(
|
3850
|
+
limit_key: "max_results",
|
3851
|
+
tokens: {
|
3852
|
+
"next_token" => "next_token"
|
3853
|
+
}
|
3854
|
+
)
|
3855
|
+
end)
|
3856
|
+
|
3628
3857
|
api.add_operation(:search_vocabularies, Seahorse::Model::Operation.new.tap do |o|
|
3629
3858
|
o.name = "SearchVocabularies"
|
3630
3859
|
o.http_method = "POST"
|
@@ -3948,6 +4177,21 @@ module Aws::Connect
|
|
3948
4177
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3949
4178
|
end)
|
3950
4179
|
|
4180
|
+
api.add_operation(:update_phone_number, Seahorse::Model::Operation.new.tap do |o|
|
4181
|
+
o.name = "UpdatePhoneNumber"
|
4182
|
+
o.http_method = "PUT"
|
4183
|
+
o.http_request_uri = "/phone-number/{PhoneNumberId}"
|
4184
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePhoneNumberRequest)
|
4185
|
+
o.output = Shapes::ShapeRef.new(shape: UpdatePhoneNumberResponse)
|
4186
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
4187
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4188
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4189
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
4190
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
4191
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
|
4192
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
4193
|
+
end)
|
4194
|
+
|
3951
4195
|
api.add_operation(:update_queue_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
|
3952
4196
|
o.name = "UpdateQueueHoursOfOperation"
|
3953
4197
|
o.http_method = "POST"
|