aws-sdk-connect 1.67.0 → 1.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,6 +33,7 @@ module Aws::Connect
33
33
  AgentUsername = Shapes::StringShape.new(name: 'AgentUsername')
34
34
  AliasArn = Shapes::StringShape.new(name: 'AliasArn')
35
35
  AnswerMachineDetectionConfig = Shapes::StructureShape.new(name: 'AnswerMachineDetectionConfig')
36
+ ApproximateTotalCount = Shapes::IntegerShape.new(name: 'ApproximateTotalCount')
36
37
  AssociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'AssociateApprovedOriginRequest')
37
38
  AssociateBotRequest = Shapes::StructureShape.new(name: 'AssociateBotRequest')
38
39
  AssociateDefaultVocabularyRequest = Shapes::StructureShape.new(name: 'AssociateDefaultVocabularyRequest')
@@ -41,6 +42,7 @@ module Aws::Connect
41
42
  AssociateInstanceStorageConfigResponse = Shapes::StructureShape.new(name: 'AssociateInstanceStorageConfigResponse')
42
43
  AssociateLambdaFunctionRequest = Shapes::StructureShape.new(name: 'AssociateLambdaFunctionRequest')
43
44
  AssociateLexBotRequest = Shapes::StructureShape.new(name: 'AssociateLexBotRequest')
45
+ AssociatePhoneNumberContactFlowRequest = Shapes::StructureShape.new(name: 'AssociatePhoneNumberContactFlowRequest')
44
46
  AssociateQueueQuickConnectsRequest = Shapes::StructureShape.new(name: 'AssociateQueueQuickConnectsRequest')
45
47
  AssociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'AssociateRoutingProfileQueuesRequest')
46
48
  AssociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'AssociateSecurityKeyRequest')
@@ -53,6 +55,8 @@ module Aws::Connect
53
55
  Attributes = Shapes::MapShape.new(name: 'Attributes')
54
56
  AttributesList = Shapes::ListShape.new(name: 'AttributesList')
55
57
  AutoAccept = Shapes::BooleanShape.new(name: 'AutoAccept')
58
+ AvailableNumberSummary = Shapes::StructureShape.new(name: 'AvailableNumberSummary')
59
+ AvailableNumbersList = Shapes::ListShape.new(name: 'AvailableNumbersList')
56
60
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
57
61
  BotName = Shapes::StringShape.new(name: 'BotName')
58
62
  BucketName = Shapes::StringShape.new(name: 'BucketName')
@@ -65,6 +69,9 @@ module Aws::Connect
65
69
  ChatMessage = Shapes::StructureShape.new(name: 'ChatMessage')
66
70
  ChatStreamingConfiguration = Shapes::StructureShape.new(name: 'ChatStreamingConfiguration')
67
71
  ChatStreamingEndpointARN = Shapes::StringShape.new(name: 'ChatStreamingEndpointARN')
72
+ ClaimPhoneNumberRequest = Shapes::StructureShape.new(name: 'ClaimPhoneNumberRequest')
73
+ ClaimPhoneNumberResponse = Shapes::StructureShape.new(name: 'ClaimPhoneNumberResponse')
74
+ ClaimedPhoneNumberSummary = Shapes::StructureShape.new(name: 'ClaimedPhoneNumberSummary')
68
75
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
69
76
  CommonNameLength127 = Shapes::StringShape.new(name: 'CommonNameLength127')
70
77
  Comparison = Shapes::StringShape.new(name: 'Comparison')
@@ -94,6 +101,7 @@ module Aws::Connect
94
101
  ContactInitiationMethod = Shapes::StringShape.new(name: 'ContactInitiationMethod')
95
102
  ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
96
103
  ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
104
+ ControlPlaneTagFilter = Shapes::StructureShape.new(name: 'ControlPlaneTagFilter')
97
105
  CreateAgentStatusRequest = Shapes::StructureShape.new(name: 'CreateAgentStatusRequest')
98
106
  CreateAgentStatusResponse = Shapes::StructureShape.new(name: 'CreateAgentStatusResponse')
99
107
  CreateContactFlowModuleRequest = Shapes::StructureShape.new(name: 'CreateContactFlowModuleRequest')
@@ -162,6 +170,8 @@ module Aws::Connect
162
170
  DescribeInstanceResponse = Shapes::StructureShape.new(name: 'DescribeInstanceResponse')
163
171
  DescribeInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'DescribeInstanceStorageConfigRequest')
164
172
  DescribeInstanceStorageConfigResponse = Shapes::StructureShape.new(name: 'DescribeInstanceStorageConfigResponse')
173
+ DescribePhoneNumberRequest = Shapes::StructureShape.new(name: 'DescribePhoneNumberRequest')
174
+ DescribePhoneNumberResponse = Shapes::StructureShape.new(name: 'DescribePhoneNumberResponse')
165
175
  DescribeQueueRequest = Shapes::StructureShape.new(name: 'DescribeQueueRequest')
166
176
  DescribeQueueResponse = Shapes::StructureShape.new(name: 'DescribeQueueResponse')
167
177
  DescribeQuickConnectRequest = Shapes::StructureShape.new(name: 'DescribeQuickConnectRequest')
@@ -190,6 +200,7 @@ module Aws::Connect
190
200
  DisassociateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'DisassociateInstanceStorageConfigRequest')
191
201
  DisassociateLambdaFunctionRequest = Shapes::StructureShape.new(name: 'DisassociateLambdaFunctionRequest')
192
202
  DisassociateLexBotRequest = Shapes::StructureShape.new(name: 'DisassociateLexBotRequest')
203
+ DisassociatePhoneNumberContactFlowRequest = Shapes::StructureShape.new(name: 'DisassociatePhoneNumberContactFlowRequest')
193
204
  DisassociateQueueQuickConnectsRequest = Shapes::StructureShape.new(name: 'DisassociateQueueQuickConnectsRequest')
194
205
  DisassociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'DisassociateRoutingProfileQueuesRequest')
195
206
  DisassociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'DisassociateSecurityKeyRequest')
@@ -212,7 +223,9 @@ module Aws::Connect
212
223
  Grouping = Shapes::StringShape.new(name: 'Grouping')
213
224
  Groupings = Shapes::ListShape.new(name: 'Groupings')
214
225
  HierarchyGroup = Shapes::StructureShape.new(name: 'HierarchyGroup')
226
+ HierarchyGroupCondition = Shapes::StructureShape.new(name: 'HierarchyGroupCondition')
215
227
  HierarchyGroupId = Shapes::StringShape.new(name: 'HierarchyGroupId')
228
+ HierarchyGroupMatchType = Shapes::StringShape.new(name: 'HierarchyGroupMatchType')
216
229
  HierarchyGroupName = Shapes::StringShape.new(name: 'HierarchyGroupName')
217
230
  HierarchyGroupSummary = Shapes::StructureShape.new(name: 'HierarchyGroupSummary')
218
231
  HierarchyGroupSummaryList = Shapes::ListShape.new(name: 'HierarchyGroupSummaryList')
@@ -268,6 +281,7 @@ module Aws::Connect
268
281
  KinesisFirehoseConfig = Shapes::StructureShape.new(name: 'KinesisFirehoseConfig')
269
282
  KinesisStreamConfig = Shapes::StructureShape.new(name: 'KinesisStreamConfig')
270
283
  KinesisVideoStreamConfig = Shapes::StructureShape.new(name: 'KinesisVideoStreamConfig')
284
+ LargeNextToken = Shapes::StringShape.new(name: 'LargeNextToken')
271
285
  LexBot = Shapes::StructureShape.new(name: 'LexBot')
272
286
  LexBotConfig = Shapes::StructureShape.new(name: 'LexBotConfig')
273
287
  LexBotConfigList = Shapes::ListShape.new(name: 'LexBotConfigList')
@@ -306,6 +320,10 @@ module Aws::Connect
306
320
  ListLexBotsResponse = Shapes::StructureShape.new(name: 'ListLexBotsResponse')
307
321
  ListPhoneNumbersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumbersRequest')
308
322
  ListPhoneNumbersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumbersResponse')
323
+ ListPhoneNumbersSummary = Shapes::StructureShape.new(name: 'ListPhoneNumbersSummary')
324
+ ListPhoneNumbersSummaryList = Shapes::ListShape.new(name: 'ListPhoneNumbersSummaryList')
325
+ ListPhoneNumbersV2Request = Shapes::StructureShape.new(name: 'ListPhoneNumbersV2Request')
326
+ ListPhoneNumbersV2Response = Shapes::StructureShape.new(name: 'ListPhoneNumbersV2Response')
309
327
  ListPromptsRequest = Shapes::StructureShape.new(name: 'ListPromptsRequest')
310
328
  ListPromptsResponse = Shapes::StructureShape.new(name: 'ListPromptsResponse')
311
329
  ListQueueQuickConnectsRequest = Shapes::StructureShape.new(name: 'ListQueueQuickConnectsRequest')
@@ -344,6 +362,7 @@ module Aws::Connect
344
362
  MinutesLimit60 = Shapes::IntegerShape.new(name: 'MinutesLimit60')
345
363
  Name = Shapes::StringShape.new(name: 'Name')
346
364
  NextToken = Shapes::StringShape.new(name: 'NextToken')
365
+ NextToken2500 = Shapes::StringShape.new(name: 'NextToken2500')
347
366
  Origin = Shapes::StringShape.new(name: 'Origin')
348
367
  OriginsList = Shapes::ListShape.new(name: 'OriginsList')
349
368
  OutboundCallerConfig = Shapes::StructureShape.new(name: 'OutboundCallerConfig')
@@ -359,12 +378,17 @@ module Aws::Connect
359
378
  PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
360
379
  PhoneNumberCountryCode = Shapes::StringShape.new(name: 'PhoneNumberCountryCode')
361
380
  PhoneNumberCountryCodes = Shapes::ListShape.new(name: 'PhoneNumberCountryCodes')
381
+ PhoneNumberDescription = Shapes::StringShape.new(name: 'PhoneNumberDescription')
362
382
  PhoneNumberId = Shapes::StringShape.new(name: 'PhoneNumberId')
383
+ PhoneNumberPrefix = Shapes::StringShape.new(name: 'PhoneNumberPrefix')
363
384
  PhoneNumberQuickConnectConfig = Shapes::StructureShape.new(name: 'PhoneNumberQuickConnectConfig')
385
+ PhoneNumberStatus = Shapes::StructureShape.new(name: 'PhoneNumberStatus')
364
386
  PhoneNumberSummary = Shapes::StructureShape.new(name: 'PhoneNumberSummary')
365
387
  PhoneNumberSummaryList = Shapes::ListShape.new(name: 'PhoneNumberSummaryList')
366
388
  PhoneNumberType = Shapes::StringShape.new(name: 'PhoneNumberType')
367
389
  PhoneNumberTypes = Shapes::ListShape.new(name: 'PhoneNumberTypes')
390
+ PhoneNumberWorkflowMessage = Shapes::StringShape.new(name: 'PhoneNumberWorkflowMessage')
391
+ PhoneNumberWorkflowStatus = Shapes::StringShape.new(name: 'PhoneNumberWorkflowStatus')
368
392
  PhoneType = Shapes::StringShape.new(name: 'PhoneType')
369
393
  Prefix = Shapes::StringShape.new(name: 'Prefix')
370
394
  Priority = Shapes::IntegerShape.new(name: 'Priority')
@@ -407,6 +431,7 @@ module Aws::Connect
407
431
  ReferenceType = Shapes::StringShape.new(name: 'ReferenceType')
408
432
  ReferenceTypes = Shapes::ListShape.new(name: 'ReferenceTypes')
409
433
  ReferenceValue = Shapes::StringShape.new(name: 'ReferenceValue')
434
+ ReleasePhoneNumberRequest = Shapes::StructureShape.new(name: 'ReleasePhoneNumberRequest')
410
435
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
411
436
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
412
437
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -426,6 +451,10 @@ module Aws::Connect
426
451
  RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
427
452
  RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
428
453
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
454
+ SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
455
+ SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
456
+ SearchUsersRequest = Shapes::StructureShape.new(name: 'SearchUsersRequest')
457
+ SearchUsersResponse = Shapes::StructureShape.new(name: 'SearchUsersResponse')
429
458
  SearchVocabulariesRequest = Shapes::StructureShape.new(name: 'SearchVocabulariesRequest')
430
459
  SearchVocabulariesResponse = Shapes::StructureShape.new(name: 'SearchVocabulariesResponse')
431
460
  SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey')
@@ -462,13 +491,18 @@ module Aws::Connect
462
491
  StorageType = Shapes::StringShape.new(name: 'StorageType')
463
492
  StreamingId = Shapes::StringShape.new(name: 'StreamingId')
464
493
  String = Shapes::StringShape.new(name: 'String')
494
+ StringComparisonType = Shapes::StringShape.new(name: 'StringComparisonType')
495
+ StringCondition = Shapes::StructureShape.new(name: 'StringCondition')
465
496
  SupportedMessagingContentType = Shapes::StringShape.new(name: 'SupportedMessagingContentType')
466
497
  SupportedMessagingContentTypes = Shapes::ListShape.new(name: 'SupportedMessagingContentTypes')
467
498
  SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
468
499
  SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
500
+ TagAndConditionList = Shapes::ListShape.new(name: 'TagAndConditionList')
501
+ TagCondition = Shapes::StructureShape.new(name: 'TagCondition')
469
502
  TagKey = Shapes::StringShape.new(name: 'TagKey')
470
503
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
471
504
  TagMap = Shapes::MapShape.new(name: 'TagMap')
505
+ TagOrConditionList = Shapes::ListShape.new(name: 'TagOrConditionList')
472
506
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
473
507
  TagValue = Shapes::StringShape.new(name: 'TagValue')
474
508
  Threshold = Shapes::StructureShape.new(name: 'Threshold')
@@ -499,6 +533,8 @@ module Aws::Connect
499
533
  UpdateHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateHoursOfOperationRequest')
500
534
  UpdateInstanceAttributeRequest = Shapes::StructureShape.new(name: 'UpdateInstanceAttributeRequest')
501
535
  UpdateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'UpdateInstanceStorageConfigRequest')
536
+ UpdatePhoneNumberRequest = Shapes::StructureShape.new(name: 'UpdatePhoneNumberRequest')
537
+ UpdatePhoneNumberResponse = Shapes::StructureShape.new(name: 'UpdatePhoneNumberResponse')
502
538
  UpdateQueueHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateQueueHoursOfOperationRequest')
503
539
  UpdateQueueMaxContactsRequest = Shapes::StructureShape.new(name: 'UpdateQueueMaxContactsRequest')
504
540
  UpdateQueueNameRequest = Shapes::StructureShape.new(name: 'UpdateQueueNameRequest')
@@ -527,9 +563,15 @@ module Aws::Connect
527
563
  User = Shapes::StructureShape.new(name: 'User')
528
564
  UserId = Shapes::StringShape.new(name: 'UserId')
529
565
  UserIdentityInfo = Shapes::StructureShape.new(name: 'UserIdentityInfo')
566
+ UserIdentityInfoLite = Shapes::StructureShape.new(name: 'UserIdentityInfoLite')
530
567
  UserNotFoundException = Shapes::StructureShape.new(name: 'UserNotFoundException')
531
568
  UserPhoneConfig = Shapes::StructureShape.new(name: 'UserPhoneConfig')
532
569
  UserQuickConnectConfig = Shapes::StructureShape.new(name: 'UserQuickConnectConfig')
570
+ UserSearchConditionList = Shapes::ListShape.new(name: 'UserSearchConditionList')
571
+ UserSearchCriteria = Shapes::StructureShape.new(name: 'UserSearchCriteria')
572
+ UserSearchFilter = Shapes::StructureShape.new(name: 'UserSearchFilter')
573
+ UserSearchSummary = Shapes::StructureShape.new(name: 'UserSearchSummary')
574
+ UserSearchSummaryList = Shapes::ListShape.new(name: 'UserSearchSummaryList')
533
575
  UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
534
576
  UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList')
535
577
  Value = Shapes::FloatShape.new(name: 'Value')
@@ -611,6 +653,11 @@ module Aws::Connect
611
653
  AssociateLexBotRequest.add_member(:lex_bot, Shapes::ShapeRef.new(shape: LexBot, required: true, location_name: "LexBot"))
612
654
  AssociateLexBotRequest.struct_class = Types::AssociateLexBotRequest
613
655
 
656
+ AssociatePhoneNumberContactFlowRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
657
+ AssociatePhoneNumberContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
658
+ AssociatePhoneNumberContactFlowRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
659
+ AssociatePhoneNumberContactFlowRequest.struct_class = Types::AssociatePhoneNumberContactFlowRequest
660
+
614
661
  AssociateQueueQuickConnectsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
615
662
  AssociateQueueQuickConnectsRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
616
663
  AssociateQueueQuickConnectsRequest.add_member(:quick_connect_ids, Shapes::ShapeRef.new(shape: QuickConnectsList, required: true, location_name: "QuickConnectIds"))
@@ -642,6 +689,13 @@ module Aws::Connect
642
689
 
643
690
  AttributesList.member = Shapes::ShapeRef.new(shape: Attribute)
644
691
 
692
+ AvailableNumberSummary.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
693
+ AvailableNumberSummary.add_member(:phone_number_country_code, Shapes::ShapeRef.new(shape: PhoneNumberCountryCode, location_name: "PhoneNumberCountryCode"))
694
+ AvailableNumberSummary.add_member(:phone_number_type, Shapes::ShapeRef.new(shape: PhoneNumberType, location_name: "PhoneNumberType"))
695
+ AvailableNumberSummary.struct_class = Types::AvailableNumberSummary
696
+
697
+ AvailableNumbersList.member = Shapes::ShapeRef.new(shape: AvailableNumberSummary)
698
+
645
699
  Channels.member = Shapes::ShapeRef.new(shape: Channel)
646
700
 
647
701
  ChatMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, required: true, location_name: "ContentType"))
@@ -651,6 +705,28 @@ module Aws::Connect
651
705
  ChatStreamingConfiguration.add_member(:streaming_endpoint_arn, Shapes::ShapeRef.new(shape: ChatStreamingEndpointARN, required: true, location_name: "StreamingEndpointArn"))
652
706
  ChatStreamingConfiguration.struct_class = Types::ChatStreamingConfiguration
653
707
 
708
+ ClaimPhoneNumberRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "TargetArn"))
709
+ ClaimPhoneNumberRequest.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "PhoneNumber"))
710
+ ClaimPhoneNumberRequest.add_member(:phone_number_description, Shapes::ShapeRef.new(shape: PhoneNumberDescription, location_name: "PhoneNumberDescription"))
711
+ ClaimPhoneNumberRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
712
+ ClaimPhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
713
+ ClaimPhoneNumberRequest.struct_class = Types::ClaimPhoneNumberRequest
714
+
715
+ ClaimPhoneNumberResponse.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, location_name: "PhoneNumberId"))
716
+ ClaimPhoneNumberResponse.add_member(:phone_number_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PhoneNumberArn"))
717
+ ClaimPhoneNumberResponse.struct_class = Types::ClaimPhoneNumberResponse
718
+
719
+ ClaimedPhoneNumberSummary.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, location_name: "PhoneNumberId"))
720
+ ClaimedPhoneNumberSummary.add_member(:phone_number_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PhoneNumberArn"))
721
+ ClaimedPhoneNumberSummary.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
722
+ ClaimedPhoneNumberSummary.add_member(:phone_number_country_code, Shapes::ShapeRef.new(shape: PhoneNumberCountryCode, location_name: "PhoneNumberCountryCode"))
723
+ ClaimedPhoneNumberSummary.add_member(:phone_number_type, Shapes::ShapeRef.new(shape: PhoneNumberType, location_name: "PhoneNumberType"))
724
+ ClaimedPhoneNumberSummary.add_member(:phone_number_description, Shapes::ShapeRef.new(shape: PhoneNumberDescription, location_name: "PhoneNumberDescription"))
725
+ ClaimedPhoneNumberSummary.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "TargetArn"))
726
+ ClaimedPhoneNumberSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
727
+ ClaimedPhoneNumberSummary.add_member(:phone_number_status, Shapes::ShapeRef.new(shape: PhoneNumberStatus, location_name: "PhoneNumberStatus"))
728
+ ClaimedPhoneNumberSummary.struct_class = Types::ClaimedPhoneNumberSummary
729
+
654
730
  Contact.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
655
731
  Contact.add_member(:id, Shapes::ShapeRef.new(shape: ContactId, location_name: "Id"))
656
732
  Contact.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "InitialContactId"))
@@ -715,6 +791,11 @@ module Aws::Connect
715
791
  ContactReferences.key = Shapes::ShapeRef.new(shape: ReferenceKey)
716
792
  ContactReferences.value = Shapes::ShapeRef.new(shape: Reference)
717
793
 
794
+ ControlPlaneTagFilter.add_member(:or_conditions, Shapes::ShapeRef.new(shape: TagOrConditionList, location_name: "OrConditions"))
795
+ ControlPlaneTagFilter.add_member(:and_conditions, Shapes::ShapeRef.new(shape: TagAndConditionList, location_name: "AndConditions"))
796
+ ControlPlaneTagFilter.add_member(:tag_condition, Shapes::ShapeRef.new(shape: TagCondition, location_name: "TagCondition"))
797
+ ControlPlaneTagFilter.struct_class = Types::ControlPlaneTagFilter
798
+
718
799
  CreateAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
719
800
  CreateAgentStatusRequest.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, required: true, location_name: "Name"))
720
801
  CreateAgentStatusRequest.add_member(:description, Shapes::ShapeRef.new(shape: AgentStatusDescription, location_name: "Description"))
@@ -1025,6 +1106,12 @@ module Aws::Connect
1025
1106
  DescribeInstanceStorageConfigResponse.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, location_name: "StorageConfig"))
1026
1107
  DescribeInstanceStorageConfigResponse.struct_class = Types::DescribeInstanceStorageConfigResponse
1027
1108
 
1109
+ DescribePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
1110
+ DescribePhoneNumberRequest.struct_class = Types::DescribePhoneNumberRequest
1111
+
1112
+ DescribePhoneNumberResponse.add_member(:claimed_phone_number_summary, Shapes::ShapeRef.new(shape: ClaimedPhoneNumberSummary, location_name: "ClaimedPhoneNumberSummary"))
1113
+ DescribePhoneNumberResponse.struct_class = Types::DescribePhoneNumberResponse
1114
+
1028
1115
  DescribeQueueRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1029
1116
  DescribeQueueRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
1030
1117
  DescribeQueueRequest.struct_class = Types::DescribeQueueRequest
@@ -1110,6 +1197,10 @@ module Aws::Connect
1110
1197
  DisassociateLexBotRequest.add_member(:lex_region, Shapes::ShapeRef.new(shape: LexRegion, required: true, location: "querystring", location_name: "lexRegion"))
1111
1198
  DisassociateLexBotRequest.struct_class = Types::DisassociateLexBotRequest
1112
1199
 
1200
+ DisassociatePhoneNumberContactFlowRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
1201
+ DisassociatePhoneNumberContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "querystring", location_name: "instanceId"))
1202
+ DisassociatePhoneNumberContactFlowRequest.struct_class = Types::DisassociatePhoneNumberContactFlowRequest
1203
+
1113
1204
  DisassociateQueueQuickConnectsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1114
1205
  DisassociateQueueQuickConnectsRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
1115
1206
  DisassociateQueueQuickConnectsRequest.add_member(:quick_connect_ids, Shapes::ShapeRef.new(shape: QuickConnectsList, required: true, location_name: "QuickConnectIds"))
@@ -1187,6 +1278,10 @@ module Aws::Connect
1187
1278
  HierarchyGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1188
1279
  HierarchyGroup.struct_class = Types::HierarchyGroup
1189
1280
 
1281
+ HierarchyGroupCondition.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
1282
+ HierarchyGroupCondition.add_member(:hierarchy_group_match_type, Shapes::ShapeRef.new(shape: HierarchyGroupMatchType, location_name: "HierarchyGroupMatchType"))
1283
+ HierarchyGroupCondition.struct_class = Types::HierarchyGroupCondition
1284
+
1190
1285
  HierarchyGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
1191
1286
  HierarchyGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1192
1287
  HierarchyGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, location_name: "Name"))
@@ -1511,6 +1606,28 @@ module Aws::Connect
1511
1606
  ListPhoneNumbersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1512
1607
  ListPhoneNumbersResponse.struct_class = Types::ListPhoneNumbersResponse
1513
1608
 
1609
+ ListPhoneNumbersSummary.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, location_name: "PhoneNumberId"))
1610
+ ListPhoneNumbersSummary.add_member(:phone_number_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PhoneNumberArn"))
1611
+ ListPhoneNumbersSummary.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
1612
+ ListPhoneNumbersSummary.add_member(:phone_number_country_code, Shapes::ShapeRef.new(shape: PhoneNumberCountryCode, location_name: "PhoneNumberCountryCode"))
1613
+ ListPhoneNumbersSummary.add_member(:phone_number_type, Shapes::ShapeRef.new(shape: PhoneNumberType, location_name: "PhoneNumberType"))
1614
+ ListPhoneNumbersSummary.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "TargetArn"))
1615
+ ListPhoneNumbersSummary.struct_class = Types::ListPhoneNumbersSummary
1616
+
1617
+ ListPhoneNumbersSummaryList.member = Shapes::ShapeRef.new(shape: ListPhoneNumbersSummary)
1618
+
1619
+ ListPhoneNumbersV2Request.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "TargetArn"))
1620
+ ListPhoneNumbersV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location_name: "MaxResults", metadata: {"box"=>true}))
1621
+ ListPhoneNumbersV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: LargeNextToken, location_name: "NextToken"))
1622
+ ListPhoneNumbersV2Request.add_member(:phone_number_country_codes, Shapes::ShapeRef.new(shape: PhoneNumberCountryCodes, location_name: "PhoneNumberCountryCodes"))
1623
+ ListPhoneNumbersV2Request.add_member(:phone_number_types, Shapes::ShapeRef.new(shape: PhoneNumberTypes, location_name: "PhoneNumberTypes"))
1624
+ ListPhoneNumbersV2Request.add_member(:phone_number_prefix, Shapes::ShapeRef.new(shape: PhoneNumberPrefix, location_name: "PhoneNumberPrefix"))
1625
+ ListPhoneNumbersV2Request.struct_class = Types::ListPhoneNumbersV2Request
1626
+
1627
+ ListPhoneNumbersV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: LargeNextToken, location_name: "NextToken"))
1628
+ ListPhoneNumbersV2Response.add_member(:list_phone_numbers_summary_list, Shapes::ShapeRef.new(shape: ListPhoneNumbersSummaryList, location_name: "ListPhoneNumbersSummaryList"))
1629
+ ListPhoneNumbersV2Response.struct_class = Types::ListPhoneNumbersV2Response
1630
+
1514
1631
  ListPromptsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1515
1632
  ListPromptsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1516
1633
  ListPromptsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -1657,6 +1774,10 @@ module Aws::Connect
1657
1774
  PhoneNumberQuickConnectConfig.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "PhoneNumber"))
1658
1775
  PhoneNumberQuickConnectConfig.struct_class = Types::PhoneNumberQuickConnectConfig
1659
1776
 
1777
+ PhoneNumberStatus.add_member(:status, Shapes::ShapeRef.new(shape: PhoneNumberWorkflowStatus, location_name: "Status"))
1778
+ PhoneNumberStatus.add_member(:message, Shapes::ShapeRef.new(shape: PhoneNumberWorkflowMessage, location_name: "Message"))
1779
+ PhoneNumberStatus.struct_class = Types::PhoneNumberStatus
1780
+
1660
1781
  PhoneNumberSummary.add_member(:id, Shapes::ShapeRef.new(shape: PhoneNumberId, location_name: "Id"))
1661
1782
  PhoneNumberSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1662
1783
  PhoneNumberSummary.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
@@ -1757,6 +1878,10 @@ module Aws::Connect
1757
1878
 
1758
1879
  ReferenceTypes.member = Shapes::ShapeRef.new(shape: ReferenceType)
1759
1880
 
1881
+ ReleasePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
1882
+ ReleasePhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1883
+ ReleasePhoneNumberRequest.struct_class = Types::ReleasePhoneNumberRequest
1884
+
1760
1885
  ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1761
1886
  ResourceConflictException.struct_class = Types::ResourceConflictException
1762
1887
 
@@ -1820,6 +1945,30 @@ module Aws::Connect
1820
1945
  S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
1821
1946
  S3Config.struct_class = Types::S3Config
1822
1947
 
1948
+ SearchAvailablePhoneNumbersRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "TargetArn"))
1949
+ SearchAvailablePhoneNumbersRequest.add_member(:phone_number_country_code, Shapes::ShapeRef.new(shape: PhoneNumberCountryCode, required: true, location_name: "PhoneNumberCountryCode"))
1950
+ SearchAvailablePhoneNumbersRequest.add_member(:phone_number_type, Shapes::ShapeRef.new(shape: PhoneNumberType, required: true, location_name: "PhoneNumberType"))
1951
+ SearchAvailablePhoneNumbersRequest.add_member(:phone_number_prefix, Shapes::ShapeRef.new(shape: PhoneNumberPrefix, location_name: "PhoneNumberPrefix"))
1952
+ SearchAvailablePhoneNumbersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location_name: "MaxResults", metadata: {"box"=>true}))
1953
+ SearchAvailablePhoneNumbersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: LargeNextToken, location_name: "NextToken"))
1954
+ SearchAvailablePhoneNumbersRequest.struct_class = Types::SearchAvailablePhoneNumbersRequest
1955
+
1956
+ SearchAvailablePhoneNumbersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: LargeNextToken, location_name: "NextToken"))
1957
+ SearchAvailablePhoneNumbersResponse.add_member(:available_numbers_list, Shapes::ShapeRef.new(shape: AvailableNumbersList, location_name: "AvailableNumbersList"))
1958
+ SearchAvailablePhoneNumbersResponse.struct_class = Types::SearchAvailablePhoneNumbersResponse
1959
+
1960
+ SearchUsersRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
1961
+ SearchUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
1962
+ SearchUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults", metadata: {"box"=>true}))
1963
+ SearchUsersRequest.add_member(:search_filter, Shapes::ShapeRef.new(shape: UserSearchFilter, location_name: "SearchFilter"))
1964
+ SearchUsersRequest.add_member(:search_criteria, Shapes::ShapeRef.new(shape: UserSearchCriteria, location_name: "SearchCriteria"))
1965
+ SearchUsersRequest.struct_class = Types::SearchUsersRequest
1966
+
1967
+ SearchUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: UserSearchSummaryList, location_name: "Users"))
1968
+ SearchUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
1969
+ SearchUsersResponse.add_member(:approximate_total_count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, location_name: "ApproximateTotalCount"))
1970
+ SearchUsersResponse.struct_class = Types::SearchUsersResponse
1971
+
1823
1972
  SearchVocabulariesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1824
1973
  SearchVocabulariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults"))
1825
1974
  SearchVocabulariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: VocabularyNextToken, location_name: "NextToken"))
@@ -1940,6 +2089,11 @@ module Aws::Connect
1940
2089
 
1941
2090
  StopContactStreamingResponse.struct_class = Types::StopContactStreamingResponse
1942
2091
 
2092
+ StringCondition.add_member(:field_name, Shapes::ShapeRef.new(shape: String, location_name: "FieldName"))
2093
+ StringCondition.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
2094
+ StringCondition.add_member(:comparison_type, Shapes::ShapeRef.new(shape: StringComparisonType, location_name: "ComparisonType"))
2095
+ StringCondition.struct_class = Types::StringCondition
2096
+
1943
2097
  SupportedMessagingContentTypes.member = Shapes::ShapeRef.new(shape: SupportedMessagingContentType)
1944
2098
 
1945
2099
  SuspendContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
@@ -1949,11 +2103,19 @@ module Aws::Connect
1949
2103
 
1950
2104
  SuspendContactRecordingResponse.struct_class = Types::SuspendContactRecordingResponse
1951
2105
 
2106
+ TagAndConditionList.member = Shapes::ShapeRef.new(shape: TagCondition)
2107
+
2108
+ TagCondition.add_member(:tag_key, Shapes::ShapeRef.new(shape: String, location_name: "TagKey"))
2109
+ TagCondition.add_member(:tag_value, Shapes::ShapeRef.new(shape: String, location_name: "TagValue"))
2110
+ TagCondition.struct_class = Types::TagCondition
2111
+
1952
2112
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
1953
2113
 
1954
2114
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
1955
2115
  TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
1956
2116
 
2117
+ TagOrConditionList.member = Shapes::ShapeRef.new(shape: TagAndConditionList)
2118
+
1957
2119
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
1958
2120
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
1959
2121
  TagResourceRequest.struct_class = Types::TagResourceRequest
@@ -2054,6 +2216,15 @@ module Aws::Connect
2054
2216
  UpdateInstanceStorageConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, required: true, location_name: "StorageConfig"))
2055
2217
  UpdateInstanceStorageConfigRequest.struct_class = Types::UpdateInstanceStorageConfigRequest
2056
2218
 
2219
+ UpdatePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
2220
+ UpdatePhoneNumberRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "TargetArn"))
2221
+ UpdatePhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
2222
+ UpdatePhoneNumberRequest.struct_class = Types::UpdatePhoneNumberRequest
2223
+
2224
+ UpdatePhoneNumberResponse.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, location_name: "PhoneNumberId"))
2225
+ UpdatePhoneNumberResponse.add_member(:phone_number_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PhoneNumberArn"))
2226
+ UpdatePhoneNumberResponse.struct_class = Types::UpdatePhoneNumberResponse
2227
+
2057
2228
  UpdateQueueHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2058
2229
  UpdateQueueHoursOfOperationRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
2059
2230
  UpdateQueueHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location_name: "HoursOfOperationId"))
@@ -2180,6 +2351,10 @@ module Aws::Connect
2180
2351
  UserIdentityInfo.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email"))
2181
2352
  UserIdentityInfo.struct_class = Types::UserIdentityInfo
2182
2353
 
2354
+ UserIdentityInfoLite.add_member(:first_name, Shapes::ShapeRef.new(shape: AgentFirstName, location_name: "FirstName"))
2355
+ UserIdentityInfoLite.add_member(:last_name, Shapes::ShapeRef.new(shape: AgentLastName, location_name: "LastName"))
2356
+ UserIdentityInfoLite.struct_class = Types::UserIdentityInfoLite
2357
+
2183
2358
  UserNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2184
2359
  UserNotFoundException.struct_class = Types::UserNotFoundException
2185
2360
 
@@ -2193,6 +2368,31 @@ module Aws::Connect
2193
2368
  UserQuickConnectConfig.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
2194
2369
  UserQuickConnectConfig.struct_class = Types::UserQuickConnectConfig
2195
2370
 
2371
+ UserSearchConditionList.member = Shapes::ShapeRef.new(shape: UserSearchCriteria)
2372
+
2373
+ UserSearchCriteria.add_member(:or_conditions, Shapes::ShapeRef.new(shape: UserSearchConditionList, location_name: "OrConditions"))
2374
+ UserSearchCriteria.add_member(:and_conditions, Shapes::ShapeRef.new(shape: UserSearchConditionList, location_name: "AndConditions"))
2375
+ UserSearchCriteria.add_member(:string_condition, Shapes::ShapeRef.new(shape: StringCondition, location_name: "StringCondition"))
2376
+ UserSearchCriteria.add_member(:hierarchy_group_condition, Shapes::ShapeRef.new(shape: HierarchyGroupCondition, location_name: "HierarchyGroupCondition"))
2377
+ UserSearchCriteria.struct_class = Types::UserSearchCriteria
2378
+
2379
+ UserSearchFilter.add_member(:tag_filter, Shapes::ShapeRef.new(shape: ControlPlaneTagFilter, location_name: "TagFilter"))
2380
+ UserSearchFilter.struct_class = Types::UserSearchFilter
2381
+
2382
+ UserSearchSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
2383
+ UserSearchSummary.add_member(:directory_user_id, Shapes::ShapeRef.new(shape: DirectoryUserId, location_name: "DirectoryUserId"))
2384
+ UserSearchSummary.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
2385
+ UserSearchSummary.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id"))
2386
+ UserSearchSummary.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfoLite, location_name: "IdentityInfo"))
2387
+ UserSearchSummary.add_member(:phone_config, Shapes::ShapeRef.new(shape: UserPhoneConfig, location_name: "PhoneConfig"))
2388
+ UserSearchSummary.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
2389
+ UserSearchSummary.add_member(:security_profile_ids, Shapes::ShapeRef.new(shape: SecurityProfileIds, location_name: "SecurityProfileIds"))
2390
+ UserSearchSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
2391
+ UserSearchSummary.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username"))
2392
+ UserSearchSummary.struct_class = Types::UserSearchSummary
2393
+
2394
+ UserSearchSummaryList.member = Shapes::ShapeRef.new(shape: UserSearchSummary)
2395
+
2196
2396
  UserSummary.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id"))
2197
2397
  UserSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
2198
2398
  UserSummary.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username"))
@@ -2331,6 +2531,19 @@ module Aws::Connect
2331
2531
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2332
2532
  end)
2333
2533
 
2534
+ api.add_operation(:associate_phone_number_contact_flow, Seahorse::Model::Operation.new.tap do |o|
2535
+ o.name = "AssociatePhoneNumberContactFlow"
2536
+ o.http_method = "PUT"
2537
+ o.http_request_uri = "/phone-number/{PhoneNumberId}/contact-flow"
2538
+ o.input = Shapes::ShapeRef.new(shape: AssociatePhoneNumberContactFlowRequest)
2539
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2540
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2541
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2542
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2543
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2544
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2545
+ end)
2546
+
2334
2547
  api.add_operation(:associate_queue_quick_connects, Seahorse::Model::Operation.new.tap do |o|
2335
2548
  o.name = "AssociateQueueQuickConnects"
2336
2549
  o.http_method = "POST"
@@ -2373,6 +2586,20 @@ module Aws::Connect
2373
2586
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2374
2587
  end)
2375
2588
 
2589
+ api.add_operation(:claim_phone_number, Seahorse::Model::Operation.new.tap do |o|
2590
+ o.name = "ClaimPhoneNumber"
2591
+ o.http_method = "POST"
2592
+ o.http_request_uri = "/phone-number/claim"
2593
+ o.input = Shapes::ShapeRef.new(shape: ClaimPhoneNumberRequest)
2594
+ o.output = Shapes::ShapeRef.new(shape: ClaimPhoneNumberResponse)
2595
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2596
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2597
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2598
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2599
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
2600
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2601
+ end)
2602
+
2376
2603
  api.add_operation(:create_agent_status, Seahorse::Model::Operation.new.tap do |o|
2377
2604
  o.name = "CreateAgentStatus"
2378
2605
  o.http_method = "PUT"
@@ -2830,6 +3057,19 @@ module Aws::Connect
2830
3057
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2831
3058
  end)
2832
3059
 
3060
+ api.add_operation(:describe_phone_number, Seahorse::Model::Operation.new.tap do |o|
3061
+ o.name = "DescribePhoneNumber"
3062
+ o.http_method = "GET"
3063
+ o.http_request_uri = "/phone-number/{PhoneNumberId}"
3064
+ o.input = Shapes::ShapeRef.new(shape: DescribePhoneNumberRequest)
3065
+ o.output = Shapes::ShapeRef.new(shape: DescribePhoneNumberResponse)
3066
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3067
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3068
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3069
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3070
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3071
+ end)
3072
+
2833
3073
  api.add_operation(:describe_queue, Seahorse::Model::Operation.new.tap do |o|
2834
3074
  o.name = "DescribeQueue"
2835
3075
  o.http_method = "GET"
@@ -2998,6 +3238,19 @@ module Aws::Connect
2998
3238
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2999
3239
  end)
3000
3240
 
3241
+ api.add_operation(:disassociate_phone_number_contact_flow, Seahorse::Model::Operation.new.tap do |o|
3242
+ o.name = "DisassociatePhoneNumberContactFlow"
3243
+ o.http_method = "DELETE"
3244
+ o.http_request_uri = "/phone-number/{PhoneNumberId}/contact-flow"
3245
+ o.input = Shapes::ShapeRef.new(shape: DisassociatePhoneNumberContactFlowRequest)
3246
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3247
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3248
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3249
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3250
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3251
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3252
+ end)
3253
+
3001
3254
  api.add_operation(:disassociate_queue_quick_connects, Seahorse::Model::Operation.new.tap do |o|
3002
3255
  o.name = "DisassociateQueueQuickConnects"
3003
3256
  o.http_method = "POST"
@@ -3379,6 +3632,25 @@ module Aws::Connect
3379
3632
  )
3380
3633
  end)
3381
3634
 
3635
+ api.add_operation(:list_phone_numbers_v2, Seahorse::Model::Operation.new.tap do |o|
3636
+ o.name = "ListPhoneNumbersV2"
3637
+ o.http_method = "POST"
3638
+ o.http_request_uri = "/phone-number/list"
3639
+ o.input = Shapes::ShapeRef.new(shape: ListPhoneNumbersV2Request)
3640
+ o.output = Shapes::ShapeRef.new(shape: ListPhoneNumbersV2Response)
3641
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3642
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3643
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3644
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3645
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3646
+ o[:pager] = Aws::Pager.new(
3647
+ limit_key: "max_results",
3648
+ tokens: {
3649
+ "next_token" => "next_token"
3650
+ }
3651
+ )
3652
+ end)
3653
+
3382
3654
  api.add_operation(:list_prompts, Seahorse::Model::Operation.new.tap do |o|
3383
3655
  o.name = "ListPrompts"
3384
3656
  o.http_method = "GET"
@@ -3619,6 +3891,21 @@ module Aws::Connect
3619
3891
  )
3620
3892
  end)
3621
3893
 
3894
+ api.add_operation(:release_phone_number, Seahorse::Model::Operation.new.tap do |o|
3895
+ o.name = "ReleasePhoneNumber"
3896
+ o.http_method = "DELETE"
3897
+ o.http_request_uri = "/phone-number/{PhoneNumberId}"
3898
+ o.input = Shapes::ShapeRef.new(shape: ReleasePhoneNumberRequest)
3899
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3900
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3901
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3902
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3903
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3904
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
3905
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
3906
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3907
+ end)
3908
+
3622
3909
  api.add_operation(:resume_contact_recording, Seahorse::Model::Operation.new.tap do |o|
3623
3910
  o.name = "ResumeContactRecording"
3624
3911
  o.http_method = "POST"
@@ -3630,6 +3917,43 @@ module Aws::Connect
3630
3917
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3631
3918
  end)
3632
3919
 
3920
+ api.add_operation(:search_available_phone_numbers, Seahorse::Model::Operation.new.tap do |o|
3921
+ o.name = "SearchAvailablePhoneNumbers"
3922
+ o.http_method = "POST"
3923
+ o.http_request_uri = "/phone-number/search-available"
3924
+ o.input = Shapes::ShapeRef.new(shape: SearchAvailablePhoneNumbersRequest)
3925
+ o.output = Shapes::ShapeRef.new(shape: SearchAvailablePhoneNumbersResponse)
3926
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3927
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3928
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3929
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3930
+ o[:pager] = Aws::Pager.new(
3931
+ limit_key: "max_results",
3932
+ tokens: {
3933
+ "next_token" => "next_token"
3934
+ }
3935
+ )
3936
+ end)
3937
+
3938
+ api.add_operation(:search_users, Seahorse::Model::Operation.new.tap do |o|
3939
+ o.name = "SearchUsers"
3940
+ o.http_method = "POST"
3941
+ o.http_request_uri = "/search-users"
3942
+ o.input = Shapes::ShapeRef.new(shape: SearchUsersRequest)
3943
+ o.output = Shapes::ShapeRef.new(shape: SearchUsersResponse)
3944
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3945
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3946
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3947
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3948
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3949
+ o[:pager] = Aws::Pager.new(
3950
+ limit_key: "max_results",
3951
+ tokens: {
3952
+ "next_token" => "next_token"
3953
+ }
3954
+ )
3955
+ end)
3956
+
3633
3957
  api.add_operation(:search_vocabularies, Seahorse::Model::Operation.new.tap do |o|
3634
3958
  o.name = "SearchVocabularies"
3635
3959
  o.http_method = "POST"
@@ -3953,6 +4277,21 @@ module Aws::Connect
3953
4277
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3954
4278
  end)
3955
4279
 
4280
+ api.add_operation(:update_phone_number, Seahorse::Model::Operation.new.tap do |o|
4281
+ o.name = "UpdatePhoneNumber"
4282
+ o.http_method = "PUT"
4283
+ o.http_request_uri = "/phone-number/{PhoneNumberId}"
4284
+ o.input = Shapes::ShapeRef.new(shape: UpdatePhoneNumberRequest)
4285
+ o.output = Shapes::ShapeRef.new(shape: UpdatePhoneNumberResponse)
4286
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4287
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4288
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4289
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4290
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
4291
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
4292
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4293
+ end)
4294
+
3956
4295
  api.add_operation(:update_queue_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
3957
4296
  o.name = "UpdateQueueHoursOfOperation"
3958
4297
  o.http_method = "POST"