aws-sdk-connect 1.68.0 → 1.69.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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')
@@ -499,6 +521,8 @@ module Aws::Connect
499
521
  UpdateHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateHoursOfOperationRequest')
500
522
  UpdateInstanceAttributeRequest = Shapes::StructureShape.new(name: 'UpdateInstanceAttributeRequest')
501
523
  UpdateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'UpdateInstanceStorageConfigRequest')
524
+ UpdatePhoneNumberRequest = Shapes::StructureShape.new(name: 'UpdatePhoneNumberRequest')
525
+ UpdatePhoneNumberResponse = Shapes::StructureShape.new(name: 'UpdatePhoneNumberResponse')
502
526
  UpdateQueueHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateQueueHoursOfOperationRequest')
503
527
  UpdateQueueMaxContactsRequest = Shapes::StructureShape.new(name: 'UpdateQueueMaxContactsRequest')
504
528
  UpdateQueueNameRequest = Shapes::StructureShape.new(name: 'UpdateQueueNameRequest')
@@ -611,6 +635,11 @@ module Aws::Connect
611
635
  AssociateLexBotRequest.add_member(:lex_bot, Shapes::ShapeRef.new(shape: LexBot, required: true, location_name: "LexBot"))
612
636
  AssociateLexBotRequest.struct_class = Types::AssociateLexBotRequest
613
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
+
614
643
  AssociateQueueQuickConnectsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
615
644
  AssociateQueueQuickConnectsRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
616
645
  AssociateQueueQuickConnectsRequest.add_member(:quick_connect_ids, Shapes::ShapeRef.new(shape: QuickConnectsList, required: true, location_name: "QuickConnectIds"))
@@ -642,6 +671,13 @@ module Aws::Connect
642
671
 
643
672
  AttributesList.member = Shapes::ShapeRef.new(shape: Attribute)
644
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
+
645
681
  Channels.member = Shapes::ShapeRef.new(shape: Channel)
646
682
 
647
683
  ChatMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, required: true, location_name: "ContentType"))
@@ -651,6 +687,28 @@ module Aws::Connect
651
687
  ChatStreamingConfiguration.add_member(:streaming_endpoint_arn, Shapes::ShapeRef.new(shape: ChatStreamingEndpointARN, required: true, location_name: "StreamingEndpointArn"))
652
688
  ChatStreamingConfiguration.struct_class = Types::ChatStreamingConfiguration
653
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
+
654
712
  Contact.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
655
713
  Contact.add_member(:id, Shapes::ShapeRef.new(shape: ContactId, location_name: "Id"))
656
714
  Contact.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "InitialContactId"))
@@ -1025,6 +1083,12 @@ module Aws::Connect
1025
1083
  DescribeInstanceStorageConfigResponse.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, location_name: "StorageConfig"))
1026
1084
  DescribeInstanceStorageConfigResponse.struct_class = Types::DescribeInstanceStorageConfigResponse
1027
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
+
1028
1092
  DescribeQueueRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1029
1093
  DescribeQueueRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
1030
1094
  DescribeQueueRequest.struct_class = Types::DescribeQueueRequest
@@ -1110,6 +1174,10 @@ module Aws::Connect
1110
1174
  DisassociateLexBotRequest.add_member(:lex_region, Shapes::ShapeRef.new(shape: LexRegion, required: true, location: "querystring", location_name: "lexRegion"))
1111
1175
  DisassociateLexBotRequest.struct_class = Types::DisassociateLexBotRequest
1112
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
+
1113
1181
  DisassociateQueueQuickConnectsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1114
1182
  DisassociateQueueQuickConnectsRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
1115
1183
  DisassociateQueueQuickConnectsRequest.add_member(:quick_connect_ids, Shapes::ShapeRef.new(shape: QuickConnectsList, required: true, location_name: "QuickConnectIds"))
@@ -1511,6 +1579,28 @@ module Aws::Connect
1511
1579
  ListPhoneNumbersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1512
1580
  ListPhoneNumbersResponse.struct_class = Types::ListPhoneNumbersResponse
1513
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
+
1514
1604
  ListPromptsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1515
1605
  ListPromptsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1516
1606
  ListPromptsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -1657,6 +1747,10 @@ module Aws::Connect
1657
1747
  PhoneNumberQuickConnectConfig.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "PhoneNumber"))
1658
1748
  PhoneNumberQuickConnectConfig.struct_class = Types::PhoneNumberQuickConnectConfig
1659
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
+
1660
1754
  PhoneNumberSummary.add_member(:id, Shapes::ShapeRef.new(shape: PhoneNumberId, location_name: "Id"))
1661
1755
  PhoneNumberSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1662
1756
  PhoneNumberSummary.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
@@ -1757,6 +1851,10 @@ module Aws::Connect
1757
1851
 
1758
1852
  ReferenceTypes.member = Shapes::ShapeRef.new(shape: ReferenceType)
1759
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
+
1760
1858
  ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1761
1859
  ResourceConflictException.struct_class = Types::ResourceConflictException
1762
1860
 
@@ -1820,6 +1918,18 @@ module Aws::Connect
1820
1918
  S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
1821
1919
  S3Config.struct_class = Types::S3Config
1822
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
+
1823
1933
  SearchVocabulariesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1824
1934
  SearchVocabulariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults"))
1825
1935
  SearchVocabulariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: VocabularyNextToken, location_name: "NextToken"))
@@ -2054,6 +2164,15 @@ module Aws::Connect
2054
2164
  UpdateInstanceStorageConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, required: true, location_name: "StorageConfig"))
2055
2165
  UpdateInstanceStorageConfigRequest.struct_class = Types::UpdateInstanceStorageConfigRequest
2056
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
+
2057
2176
  UpdateQueueHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2058
2177
  UpdateQueueHoursOfOperationRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
2059
2178
  UpdateQueueHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location_name: "HoursOfOperationId"))
@@ -2331,6 +2450,19 @@ module Aws::Connect
2331
2450
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2332
2451
  end)
2333
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
+
2334
2466
  api.add_operation(:associate_queue_quick_connects, Seahorse::Model::Operation.new.tap do |o|
2335
2467
  o.name = "AssociateQueueQuickConnects"
2336
2468
  o.http_method = "POST"
@@ -2373,6 +2505,20 @@ module Aws::Connect
2373
2505
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2374
2506
  end)
2375
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
+
2376
2522
  api.add_operation(:create_agent_status, Seahorse::Model::Operation.new.tap do |o|
2377
2523
  o.name = "CreateAgentStatus"
2378
2524
  o.http_method = "PUT"
@@ -2830,6 +2976,19 @@ module Aws::Connect
2830
2976
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2831
2977
  end)
2832
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
+
2833
2992
  api.add_operation(:describe_queue, Seahorse::Model::Operation.new.tap do |o|
2834
2993
  o.name = "DescribeQueue"
2835
2994
  o.http_method = "GET"
@@ -2998,6 +3157,19 @@ module Aws::Connect
2998
3157
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2999
3158
  end)
3000
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
+
3001
3173
  api.add_operation(:disassociate_queue_quick_connects, Seahorse::Model::Operation.new.tap do |o|
3002
3174
  o.name = "DisassociateQueueQuickConnects"
3003
3175
  o.http_method = "POST"
@@ -3379,6 +3551,25 @@ module Aws::Connect
3379
3551
  )
3380
3552
  end)
3381
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
+
3382
3573
  api.add_operation(:list_prompts, Seahorse::Model::Operation.new.tap do |o|
3383
3574
  o.name = "ListPrompts"
3384
3575
  o.http_method = "GET"
@@ -3619,6 +3810,21 @@ module Aws::Connect
3619
3810
  )
3620
3811
  end)
3621
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
+
3622
3828
  api.add_operation(:resume_contact_recording, Seahorse::Model::Operation.new.tap do |o|
3623
3829
  o.name = "ResumeContactRecording"
3624
3830
  o.http_method = "POST"
@@ -3630,6 +3836,24 @@ module Aws::Connect
3630
3836
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3631
3837
  end)
3632
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
+
3633
3857
  api.add_operation(:search_vocabularies, Seahorse::Model::Operation.new.tap do |o|
3634
3858
  o.name = "SearchVocabularies"
3635
3859
  o.http_method = "POST"
@@ -3953,6 +4177,21 @@ module Aws::Connect
3953
4177
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3954
4178
  end)
3955
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
+
3956
4195
  api.add_operation(:update_queue_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
3957
4196
  o.name = "UpdateQueueHoursOfOperation"
3958
4197
  o.http_method = "POST"