aws-sdk-connect 1.69.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +115 -5
- data/lib/aws-sdk-connect/client_api.rb +100 -0
- data/lib/aws-sdk-connect/types.rb +481 -8
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 665620a6399d6a10c27d60fd8a285be1b72a3d79b6b74ca03dbd6fa4a1b5299b
|
4
|
+
data.tar.gz: c8661d83bbfd1c11c2d578e9ddc7893fd97237775a05bf670b6abfb71f86d3c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df80e32e78d0c80a531a84962f1b430dd5801c5ea357c8c4f21e3d78a1bb61114467530fb995588a4ccf9e98399e0079798857c6efa6e3df63cd117d8ff9115f
|
7
|
+
data.tar.gz: 16f47eabd44d22e1d07fcec51e56756f12b889613963dd901e87d5c51fda7f23630deb55b7757cc2cf617c9b1fae32b84afac1481d9d8a8b0888c317e3e8c682
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.0
|
@@ -2408,7 +2408,7 @@ module Aws::Connect
|
|
2408
2408
|
# Amazon Connect instance
|
2409
2409
|
#
|
2410
2410
|
# @option params [required, String] :phone_number_id
|
2411
|
-
#
|
2411
|
+
# A unique identifier for the phone number.
|
2412
2412
|
#
|
2413
2413
|
# @return [Types::DescribePhoneNumberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2414
2414
|
#
|
@@ -2987,7 +2987,7 @@ module Aws::Connect
|
|
2987
2987
|
# your Amazon Connect instance, if a contact flow association exists.
|
2988
2988
|
#
|
2989
2989
|
# @option params [required, String] :phone_number_id
|
2990
|
-
#
|
2990
|
+
# A unique identifier for the phone number.
|
2991
2991
|
#
|
2992
2992
|
# @option params [required, String] :instance_id
|
2993
2993
|
# The identifier of the Amazon Connect instance. You can find the
|
@@ -5252,7 +5252,7 @@ module Aws::Connect
|
|
5252
5252
|
# instance.
|
5253
5253
|
#
|
5254
5254
|
# @option params [required, String] :phone_number_id
|
5255
|
-
#
|
5255
|
+
# A unique identifier for the phone number.
|
5256
5256
|
#
|
5257
5257
|
# @option params [String] :client_token
|
5258
5258
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -5374,6 +5374,116 @@ module Aws::Connect
|
|
5374
5374
|
req.send_request(options)
|
5375
5375
|
end
|
5376
5376
|
|
5377
|
+
# Searches users in an Amazon Connect instance, with optional filtering.
|
5378
|
+
#
|
5379
|
+
# @option params [String] :instance_id
|
5380
|
+
# The identifier of the Amazon Connect instance. You can find the
|
5381
|
+
# instanceId in the ARN of the instance.
|
5382
|
+
#
|
5383
|
+
# @option params [String] :next_token
|
5384
|
+
# The token for the next set of results. Use the value returned in the
|
5385
|
+
# previous response in the next request to retrieve the next set of
|
5386
|
+
# results.
|
5387
|
+
#
|
5388
|
+
# @option params [Integer] :max_results
|
5389
|
+
# The maximum number of results to return per page.
|
5390
|
+
#
|
5391
|
+
# @option params [Types::UserSearchFilter] :search_filter
|
5392
|
+
# Filters to be applied to search results.
|
5393
|
+
#
|
5394
|
+
# @option params [Types::UserSearchCriteria] :search_criteria
|
5395
|
+
# The search criteria to be used to return users.
|
5396
|
+
#
|
5397
|
+
# @return [Types::SearchUsersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5398
|
+
#
|
5399
|
+
# * {Types::SearchUsersResponse#users #users} => Array<Types::UserSearchSummary>
|
5400
|
+
# * {Types::SearchUsersResponse#next_token #next_token} => String
|
5401
|
+
# * {Types::SearchUsersResponse#approximate_total_count #approximate_total_count} => Integer
|
5402
|
+
#
|
5403
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5404
|
+
#
|
5405
|
+
# @example Request syntax with placeholder values
|
5406
|
+
#
|
5407
|
+
# resp = client.search_users({
|
5408
|
+
# instance_id: "InstanceId",
|
5409
|
+
# next_token: "NextToken2500",
|
5410
|
+
# max_results: 1,
|
5411
|
+
# search_filter: {
|
5412
|
+
# tag_filter: {
|
5413
|
+
# or_conditions: [
|
5414
|
+
# [
|
5415
|
+
# {
|
5416
|
+
# tag_key: "String",
|
5417
|
+
# tag_value: "String",
|
5418
|
+
# },
|
5419
|
+
# ],
|
5420
|
+
# ],
|
5421
|
+
# and_conditions: [
|
5422
|
+
# {
|
5423
|
+
# tag_key: "String",
|
5424
|
+
# tag_value: "String",
|
5425
|
+
# },
|
5426
|
+
# ],
|
5427
|
+
# tag_condition: {
|
5428
|
+
# tag_key: "String",
|
5429
|
+
# tag_value: "String",
|
5430
|
+
# },
|
5431
|
+
# },
|
5432
|
+
# },
|
5433
|
+
# search_criteria: {
|
5434
|
+
# or_conditions: [
|
5435
|
+
# {
|
5436
|
+
# # recursive UserSearchCriteria
|
5437
|
+
# },
|
5438
|
+
# ],
|
5439
|
+
# and_conditions: [
|
5440
|
+
# {
|
5441
|
+
# # recursive UserSearchCriteria
|
5442
|
+
# },
|
5443
|
+
# ],
|
5444
|
+
# string_condition: {
|
5445
|
+
# field_name: "String",
|
5446
|
+
# value: "String",
|
5447
|
+
# comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
|
5448
|
+
# },
|
5449
|
+
# hierarchy_group_condition: {
|
5450
|
+
# value: "String",
|
5451
|
+
# hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS
|
5452
|
+
# },
|
5453
|
+
# },
|
5454
|
+
# })
|
5455
|
+
#
|
5456
|
+
# @example Response structure
|
5457
|
+
#
|
5458
|
+
# resp.users #=> Array
|
5459
|
+
# resp.users[0].arn #=> String
|
5460
|
+
# resp.users[0].directory_user_id #=> String
|
5461
|
+
# resp.users[0].hierarchy_group_id #=> String
|
5462
|
+
# resp.users[0].id #=> String
|
5463
|
+
# resp.users[0].identity_info.first_name #=> String
|
5464
|
+
# resp.users[0].identity_info.last_name #=> String
|
5465
|
+
# resp.users[0].phone_config.phone_type #=> String, one of "SOFT_PHONE", "DESK_PHONE"
|
5466
|
+
# resp.users[0].phone_config.auto_accept #=> Boolean
|
5467
|
+
# resp.users[0].phone_config.after_contact_work_time_limit #=> Integer
|
5468
|
+
# resp.users[0].phone_config.desk_phone_number #=> String
|
5469
|
+
# resp.users[0].routing_profile_id #=> String
|
5470
|
+
# resp.users[0].security_profile_ids #=> Array
|
5471
|
+
# resp.users[0].security_profile_ids[0] #=> String
|
5472
|
+
# resp.users[0].tags #=> Hash
|
5473
|
+
# resp.users[0].tags["TagKey"] #=> String
|
5474
|
+
# resp.users[0].username #=> String
|
5475
|
+
# resp.next_token #=> String
|
5476
|
+
# resp.approximate_total_count #=> Integer
|
5477
|
+
#
|
5478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsers AWS API Documentation
|
5479
|
+
#
|
5480
|
+
# @overload search_users(params = {})
|
5481
|
+
# @param [Hash] params ({})
|
5482
|
+
def search_users(params = {}, options = {})
|
5483
|
+
req = build_request(:search_users, params)
|
5484
|
+
req.send_request(options)
|
5485
|
+
end
|
5486
|
+
|
5377
5487
|
# Searches for vocabularies within a specific Amazon Connect instance
|
5378
5488
|
# using `State`, `NameStartsWith`, and `LanguageCode`.
|
5379
5489
|
#
|
@@ -6679,7 +6789,7 @@ module Aws::Connect
|
|
6679
6789
|
# instance to another Amazon Connect instance in the same Region.
|
6680
6790
|
#
|
6681
6791
|
# @option params [required, String] :phone_number_id
|
6682
|
-
#
|
6792
|
+
# A unique identifier for the phone number.
|
6683
6793
|
#
|
6684
6794
|
# @option params [required, String] :target_arn
|
6685
6795
|
# The Amazon Resource Name (ARN) for Amazon Connect instances that phone
|
@@ -7434,7 +7544,7 @@ module Aws::Connect
|
|
7434
7544
|
params: params,
|
7435
7545
|
config: config)
|
7436
7546
|
context[:gem_name] = 'aws-sdk-connect'
|
7437
|
-
context[:gem_version] = '1.
|
7547
|
+
context[:gem_version] = '1.70.0'
|
7438
7548
|
Seahorse::Client::Request.new(handlers, context)
|
7439
7549
|
end
|
7440
7550
|
|
@@ -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')
|
@@ -100,6 +101,7 @@ module Aws::Connect
|
|
100
101
|
ContactInitiationMethod = Shapes::StringShape.new(name: 'ContactInitiationMethod')
|
101
102
|
ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
|
102
103
|
ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
|
104
|
+
ControlPlaneTagFilter = Shapes::StructureShape.new(name: 'ControlPlaneTagFilter')
|
103
105
|
CreateAgentStatusRequest = Shapes::StructureShape.new(name: 'CreateAgentStatusRequest')
|
104
106
|
CreateAgentStatusResponse = Shapes::StructureShape.new(name: 'CreateAgentStatusResponse')
|
105
107
|
CreateContactFlowModuleRequest = Shapes::StructureShape.new(name: 'CreateContactFlowModuleRequest')
|
@@ -221,7 +223,9 @@ module Aws::Connect
|
|
221
223
|
Grouping = Shapes::StringShape.new(name: 'Grouping')
|
222
224
|
Groupings = Shapes::ListShape.new(name: 'Groupings')
|
223
225
|
HierarchyGroup = Shapes::StructureShape.new(name: 'HierarchyGroup')
|
226
|
+
HierarchyGroupCondition = Shapes::StructureShape.new(name: 'HierarchyGroupCondition')
|
224
227
|
HierarchyGroupId = Shapes::StringShape.new(name: 'HierarchyGroupId')
|
228
|
+
HierarchyGroupMatchType = Shapes::StringShape.new(name: 'HierarchyGroupMatchType')
|
225
229
|
HierarchyGroupName = Shapes::StringShape.new(name: 'HierarchyGroupName')
|
226
230
|
HierarchyGroupSummary = Shapes::StructureShape.new(name: 'HierarchyGroupSummary')
|
227
231
|
HierarchyGroupSummaryList = Shapes::ListShape.new(name: 'HierarchyGroupSummaryList')
|
@@ -358,6 +362,7 @@ module Aws::Connect
|
|
358
362
|
MinutesLimit60 = Shapes::IntegerShape.new(name: 'MinutesLimit60')
|
359
363
|
Name = Shapes::StringShape.new(name: 'Name')
|
360
364
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
365
|
+
NextToken2500 = Shapes::StringShape.new(name: 'NextToken2500')
|
361
366
|
Origin = Shapes::StringShape.new(name: 'Origin')
|
362
367
|
OriginsList = Shapes::ListShape.new(name: 'OriginsList')
|
363
368
|
OutboundCallerConfig = Shapes::StructureShape.new(name: 'OutboundCallerConfig')
|
@@ -448,6 +453,8 @@ module Aws::Connect
|
|
448
453
|
S3Config = Shapes::StructureShape.new(name: 'S3Config')
|
449
454
|
SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
|
450
455
|
SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
|
456
|
+
SearchUsersRequest = Shapes::StructureShape.new(name: 'SearchUsersRequest')
|
457
|
+
SearchUsersResponse = Shapes::StructureShape.new(name: 'SearchUsersResponse')
|
451
458
|
SearchVocabulariesRequest = Shapes::StructureShape.new(name: 'SearchVocabulariesRequest')
|
452
459
|
SearchVocabulariesResponse = Shapes::StructureShape.new(name: 'SearchVocabulariesResponse')
|
453
460
|
SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey')
|
@@ -484,13 +491,18 @@ module Aws::Connect
|
|
484
491
|
StorageType = Shapes::StringShape.new(name: 'StorageType')
|
485
492
|
StreamingId = Shapes::StringShape.new(name: 'StreamingId')
|
486
493
|
String = Shapes::StringShape.new(name: 'String')
|
494
|
+
StringComparisonType = Shapes::StringShape.new(name: 'StringComparisonType')
|
495
|
+
StringCondition = Shapes::StructureShape.new(name: 'StringCondition')
|
487
496
|
SupportedMessagingContentType = Shapes::StringShape.new(name: 'SupportedMessagingContentType')
|
488
497
|
SupportedMessagingContentTypes = Shapes::ListShape.new(name: 'SupportedMessagingContentTypes')
|
489
498
|
SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
|
490
499
|
SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
|
500
|
+
TagAndConditionList = Shapes::ListShape.new(name: 'TagAndConditionList')
|
501
|
+
TagCondition = Shapes::StructureShape.new(name: 'TagCondition')
|
491
502
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
492
503
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
493
504
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
505
|
+
TagOrConditionList = Shapes::ListShape.new(name: 'TagOrConditionList')
|
494
506
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
495
507
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
496
508
|
Threshold = Shapes::StructureShape.new(name: 'Threshold')
|
@@ -551,9 +563,15 @@ module Aws::Connect
|
|
551
563
|
User = Shapes::StructureShape.new(name: 'User')
|
552
564
|
UserId = Shapes::StringShape.new(name: 'UserId')
|
553
565
|
UserIdentityInfo = Shapes::StructureShape.new(name: 'UserIdentityInfo')
|
566
|
+
UserIdentityInfoLite = Shapes::StructureShape.new(name: 'UserIdentityInfoLite')
|
554
567
|
UserNotFoundException = Shapes::StructureShape.new(name: 'UserNotFoundException')
|
555
568
|
UserPhoneConfig = Shapes::StructureShape.new(name: 'UserPhoneConfig')
|
556
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')
|
557
575
|
UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
|
558
576
|
UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList')
|
559
577
|
Value = Shapes::FloatShape.new(name: 'Value')
|
@@ -773,6 +791,11 @@ module Aws::Connect
|
|
773
791
|
ContactReferences.key = Shapes::ShapeRef.new(shape: ReferenceKey)
|
774
792
|
ContactReferences.value = Shapes::ShapeRef.new(shape: Reference)
|
775
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
|
+
|
776
799
|
CreateAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
777
800
|
CreateAgentStatusRequest.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, required: true, location_name: "Name"))
|
778
801
|
CreateAgentStatusRequest.add_member(:description, Shapes::ShapeRef.new(shape: AgentStatusDescription, location_name: "Description"))
|
@@ -1255,6 +1278,10 @@ module Aws::Connect
|
|
1255
1278
|
HierarchyGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
1256
1279
|
HierarchyGroup.struct_class = Types::HierarchyGroup
|
1257
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
|
+
|
1258
1285
|
HierarchyGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
|
1259
1286
|
HierarchyGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
1260
1287
|
HierarchyGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, location_name: "Name"))
|
@@ -1930,6 +1957,18 @@ module Aws::Connect
|
|
1930
1957
|
SearchAvailablePhoneNumbersResponse.add_member(:available_numbers_list, Shapes::ShapeRef.new(shape: AvailableNumbersList, location_name: "AvailableNumbersList"))
|
1931
1958
|
SearchAvailablePhoneNumbersResponse.struct_class = Types::SearchAvailablePhoneNumbersResponse
|
1932
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
|
+
|
1933
1972
|
SearchVocabulariesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1934
1973
|
SearchVocabulariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults"))
|
1935
1974
|
SearchVocabulariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: VocabularyNextToken, location_name: "NextToken"))
|
@@ -2050,6 +2089,11 @@ module Aws::Connect
|
|
2050
2089
|
|
2051
2090
|
StopContactStreamingResponse.struct_class = Types::StopContactStreamingResponse
|
2052
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
|
+
|
2053
2097
|
SupportedMessagingContentTypes.member = Shapes::ShapeRef.new(shape: SupportedMessagingContentType)
|
2054
2098
|
|
2055
2099
|
SuspendContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
@@ -2059,11 +2103,19 @@ module Aws::Connect
|
|
2059
2103
|
|
2060
2104
|
SuspendContactRecordingResponse.struct_class = Types::SuspendContactRecordingResponse
|
2061
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
|
+
|
2062
2112
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
2063
2113
|
|
2064
2114
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
2065
2115
|
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
2066
2116
|
|
2117
|
+
TagOrConditionList.member = Shapes::ShapeRef.new(shape: TagAndConditionList)
|
2118
|
+
|
2067
2119
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
2068
2120
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
2069
2121
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
@@ -2299,6 +2351,10 @@ module Aws::Connect
|
|
2299
2351
|
UserIdentityInfo.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email"))
|
2300
2352
|
UserIdentityInfo.struct_class = Types::UserIdentityInfo
|
2301
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
|
+
|
2302
2358
|
UserNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
2303
2359
|
UserNotFoundException.struct_class = Types::UserNotFoundException
|
2304
2360
|
|
@@ -2312,6 +2368,31 @@ module Aws::Connect
|
|
2312
2368
|
UserQuickConnectConfig.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
|
2313
2369
|
UserQuickConnectConfig.struct_class = Types::UserQuickConnectConfig
|
2314
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
|
+
|
2315
2396
|
UserSummary.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id"))
|
2316
2397
|
UserSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
2317
2398
|
UserSummary.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username"))
|
@@ -3854,6 +3935,25 @@ module Aws::Connect
|
|
3854
3935
|
)
|
3855
3936
|
end)
|
3856
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
|
+
|
3857
3957
|
api.add_operation(:search_vocabularies, Seahorse::Model::Operation.new.tap do |o|
|
3858
3958
|
o.name = "SearchVocabularies"
|
3859
3959
|
o.http_method = "POST"
|
@@ -699,7 +699,7 @@ module Aws::Connect
|
|
699
699
|
end
|
700
700
|
|
701
701
|
# @!attribute [rw] phone_number_id
|
702
|
-
#
|
702
|
+
# A unique identifier for the phone number.
|
703
703
|
# @return [String]
|
704
704
|
#
|
705
705
|
# @!attribute [rw] phone_number_arn
|
@@ -719,7 +719,7 @@ module Aws::Connect
|
|
719
719
|
# Connect instance.
|
720
720
|
#
|
721
721
|
# @!attribute [rw] phone_number_id
|
722
|
-
#
|
722
|
+
# A unique identifier for the phone number.
|
723
723
|
# @return [String]
|
724
724
|
#
|
725
725
|
# @!attribute [rw] phone_number_arn
|
@@ -1064,6 +1064,64 @@ module Aws::Connect
|
|
1064
1064
|
include Aws::Structure
|
1065
1065
|
end
|
1066
1066
|
|
1067
|
+
# An object that can be used to specify Tag conditions inside the
|
1068
|
+
# `SearchFilter`. This accepts an `OR` of `AND` (List of List) input
|
1069
|
+
# where:
|
1070
|
+
#
|
1071
|
+
# * Top level list specifies conditions that need to be applied with
|
1072
|
+
# `OR` operator
|
1073
|
+
#
|
1074
|
+
# * Inner list specifies conditions that need to be applied with `AND`
|
1075
|
+
# operator.
|
1076
|
+
#
|
1077
|
+
# @note When making an API call, you may pass ControlPlaneTagFilter
|
1078
|
+
# data as a hash:
|
1079
|
+
#
|
1080
|
+
# {
|
1081
|
+
# or_conditions: [
|
1082
|
+
# [
|
1083
|
+
# {
|
1084
|
+
# tag_key: "String",
|
1085
|
+
# tag_value: "String",
|
1086
|
+
# },
|
1087
|
+
# ],
|
1088
|
+
# ],
|
1089
|
+
# and_conditions: [
|
1090
|
+
# {
|
1091
|
+
# tag_key: "String",
|
1092
|
+
# tag_value: "String",
|
1093
|
+
# },
|
1094
|
+
# ],
|
1095
|
+
# tag_condition: {
|
1096
|
+
# tag_key: "String",
|
1097
|
+
# tag_value: "String",
|
1098
|
+
# },
|
1099
|
+
# }
|
1100
|
+
#
|
1101
|
+
# @!attribute [rw] or_conditions
|
1102
|
+
# A list of conditions which would be applied together with an `OR`
|
1103
|
+
# condition.
|
1104
|
+
# @return [Array<Array<Types::TagCondition>>]
|
1105
|
+
#
|
1106
|
+
# @!attribute [rw] and_conditions
|
1107
|
+
# A list of conditions which would be applied together with an `AND`
|
1108
|
+
# condition.
|
1109
|
+
# @return [Array<Types::TagCondition>]
|
1110
|
+
#
|
1111
|
+
# @!attribute [rw] tag_condition
|
1112
|
+
# A leaf node condition which can be used to specify a tag condition.
|
1113
|
+
# @return [Types::TagCondition]
|
1114
|
+
#
|
1115
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ControlPlaneTagFilter AWS API Documentation
|
1116
|
+
#
|
1117
|
+
class ControlPlaneTagFilter < Struct.new(
|
1118
|
+
:or_conditions,
|
1119
|
+
:and_conditions,
|
1120
|
+
:tag_condition)
|
1121
|
+
SENSITIVE = []
|
1122
|
+
include Aws::Structure
|
1123
|
+
end
|
1124
|
+
|
1067
1125
|
# @note When making an API call, you may pass CreateAgentStatusRequest
|
1068
1126
|
# data as a hash:
|
1069
1127
|
#
|
@@ -2928,7 +2986,7 @@ module Aws::Connect
|
|
2928
2986
|
# }
|
2929
2987
|
#
|
2930
2988
|
# @!attribute [rw] phone_number_id
|
2931
|
-
#
|
2989
|
+
# A unique identifier for the phone number.
|
2932
2990
|
# @return [String]
|
2933
2991
|
#
|
2934
2992
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribePhoneNumberRequest AWS API Documentation
|
@@ -3450,7 +3508,7 @@ module Aws::Connect
|
|
3450
3508
|
# }
|
3451
3509
|
#
|
3452
3510
|
# @!attribute [rw] phone_number_id
|
3453
|
-
#
|
3511
|
+
# A unique identifier for the phone number.
|
3454
3512
|
# @return [String]
|
3455
3513
|
#
|
3456
3514
|
# @!attribute [rw] instance_id
|
@@ -4256,6 +4314,34 @@ module Aws::Connect
|
|
4256
4314
|
include Aws::Structure
|
4257
4315
|
end
|
4258
4316
|
|
4317
|
+
# A leaf node condition which can be used to specify a hierarchy group
|
4318
|
+
# condition.
|
4319
|
+
#
|
4320
|
+
# @note When making an API call, you may pass HierarchyGroupCondition
|
4321
|
+
# data as a hash:
|
4322
|
+
#
|
4323
|
+
# {
|
4324
|
+
# value: "String",
|
4325
|
+
# hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS
|
4326
|
+
# }
|
4327
|
+
#
|
4328
|
+
# @!attribute [rw] value
|
4329
|
+
# The value in the hierarchy group condition.
|
4330
|
+
# @return [String]
|
4331
|
+
#
|
4332
|
+
# @!attribute [rw] hierarchy_group_match_type
|
4333
|
+
# The type of hierarchy group match.
|
4334
|
+
# @return [String]
|
4335
|
+
#
|
4336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/HierarchyGroupCondition AWS API Documentation
|
4337
|
+
#
|
4338
|
+
class HierarchyGroupCondition < Struct.new(
|
4339
|
+
:value,
|
4340
|
+
:hierarchy_group_match_type)
|
4341
|
+
SENSITIVE = []
|
4342
|
+
include Aws::Structure
|
4343
|
+
end
|
4344
|
+
|
4259
4345
|
# Contains summary information about a hierarchy group.
|
4260
4346
|
#
|
4261
4347
|
# @!attribute [rw] id
|
@@ -6017,7 +6103,7 @@ module Aws::Connect
|
|
6017
6103
|
# Connect instance.
|
6018
6104
|
#
|
6019
6105
|
# @!attribute [rw] phone_number_id
|
6020
|
-
#
|
6106
|
+
# A unique identifier for the phone number.
|
6021
6107
|
# @return [String]
|
6022
6108
|
#
|
6023
6109
|
# @!attribute [rw] phone_number_arn
|
@@ -7390,7 +7476,7 @@ module Aws::Connect
|
|
7390
7476
|
# }
|
7391
7477
|
#
|
7392
7478
|
# @!attribute [rw] phone_number_id
|
7393
|
-
#
|
7479
|
+
# A unique identifier for the phone number.
|
7394
7480
|
# @return [String]
|
7395
7481
|
#
|
7396
7482
|
# @!attribute [rw] client_token
|
@@ -7809,6 +7895,116 @@ module Aws::Connect
|
|
7809
7895
|
include Aws::Structure
|
7810
7896
|
end
|
7811
7897
|
|
7898
|
+
# @note When making an API call, you may pass SearchUsersRequest
|
7899
|
+
# data as a hash:
|
7900
|
+
#
|
7901
|
+
# {
|
7902
|
+
# instance_id: "InstanceId",
|
7903
|
+
# next_token: "NextToken2500",
|
7904
|
+
# max_results: 1,
|
7905
|
+
# search_filter: {
|
7906
|
+
# tag_filter: {
|
7907
|
+
# or_conditions: [
|
7908
|
+
# [
|
7909
|
+
# {
|
7910
|
+
# tag_key: "String",
|
7911
|
+
# tag_value: "String",
|
7912
|
+
# },
|
7913
|
+
# ],
|
7914
|
+
# ],
|
7915
|
+
# and_conditions: [
|
7916
|
+
# {
|
7917
|
+
# tag_key: "String",
|
7918
|
+
# tag_value: "String",
|
7919
|
+
# },
|
7920
|
+
# ],
|
7921
|
+
# tag_condition: {
|
7922
|
+
# tag_key: "String",
|
7923
|
+
# tag_value: "String",
|
7924
|
+
# },
|
7925
|
+
# },
|
7926
|
+
# },
|
7927
|
+
# search_criteria: {
|
7928
|
+
# or_conditions: [
|
7929
|
+
# {
|
7930
|
+
# # recursive UserSearchCriteria
|
7931
|
+
# },
|
7932
|
+
# ],
|
7933
|
+
# and_conditions: [
|
7934
|
+
# {
|
7935
|
+
# # recursive UserSearchCriteria
|
7936
|
+
# },
|
7937
|
+
# ],
|
7938
|
+
# string_condition: {
|
7939
|
+
# field_name: "String",
|
7940
|
+
# value: "String",
|
7941
|
+
# comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
|
7942
|
+
# },
|
7943
|
+
# hierarchy_group_condition: {
|
7944
|
+
# value: "String",
|
7945
|
+
# hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS
|
7946
|
+
# },
|
7947
|
+
# },
|
7948
|
+
# }
|
7949
|
+
#
|
7950
|
+
# @!attribute [rw] instance_id
|
7951
|
+
# The identifier of the Amazon Connect instance. You can find the
|
7952
|
+
# instanceId in the ARN of the instance.
|
7953
|
+
# @return [String]
|
7954
|
+
#
|
7955
|
+
# @!attribute [rw] next_token
|
7956
|
+
# The token for the next set of results. Use the value returned in the
|
7957
|
+
# previous response in the next request to retrieve the next set of
|
7958
|
+
# results.
|
7959
|
+
# @return [String]
|
7960
|
+
#
|
7961
|
+
# @!attribute [rw] max_results
|
7962
|
+
# The maximum number of results to return per page.
|
7963
|
+
# @return [Integer]
|
7964
|
+
#
|
7965
|
+
# @!attribute [rw] search_filter
|
7966
|
+
# Filters to be applied to search results.
|
7967
|
+
# @return [Types::UserSearchFilter]
|
7968
|
+
#
|
7969
|
+
# @!attribute [rw] search_criteria
|
7970
|
+
# The search criteria to be used to return users.
|
7971
|
+
# @return [Types::UserSearchCriteria]
|
7972
|
+
#
|
7973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsersRequest AWS API Documentation
|
7974
|
+
#
|
7975
|
+
class SearchUsersRequest < Struct.new(
|
7976
|
+
:instance_id,
|
7977
|
+
:next_token,
|
7978
|
+
:max_results,
|
7979
|
+
:search_filter,
|
7980
|
+
:search_criteria)
|
7981
|
+
SENSITIVE = []
|
7982
|
+
include Aws::Structure
|
7983
|
+
end
|
7984
|
+
|
7985
|
+
# @!attribute [rw] users
|
7986
|
+
# Information about the users.
|
7987
|
+
# @return [Array<Types::UserSearchSummary>]
|
7988
|
+
#
|
7989
|
+
# @!attribute [rw] next_token
|
7990
|
+
# If there are additional results, this is the token for the next set
|
7991
|
+
# of results.
|
7992
|
+
# @return [String]
|
7993
|
+
#
|
7994
|
+
# @!attribute [rw] approximate_total_count
|
7995
|
+
# The total number of users who matched your search query.
|
7996
|
+
# @return [Integer]
|
7997
|
+
#
|
7998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsersResponse AWS API Documentation
|
7999
|
+
#
|
8000
|
+
class SearchUsersResponse < Struct.new(
|
8001
|
+
:users,
|
8002
|
+
:next_token,
|
8003
|
+
:approximate_total_count)
|
8004
|
+
SENSITIVE = []
|
8005
|
+
include Aws::Structure
|
8006
|
+
end
|
8007
|
+
|
7812
8008
|
# @note When making an API call, you may pass SearchVocabulariesRequest
|
7813
8009
|
# data as a hash:
|
7814
8010
|
#
|
@@ -8543,6 +8739,41 @@ module Aws::Connect
|
|
8543
8739
|
#
|
8544
8740
|
class StopContactStreamingResponse < Aws::EmptyStructure; end
|
8545
8741
|
|
8742
|
+
# A leaf node condition which can be used to specify a string condition,
|
8743
|
+
# for example, `username = 'abc'`.
|
8744
|
+
#
|
8745
|
+
# @note When making an API call, you may pass StringCondition
|
8746
|
+
# data as a hash:
|
8747
|
+
#
|
8748
|
+
# {
|
8749
|
+
# field_name: "String",
|
8750
|
+
# value: "String",
|
8751
|
+
# comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
|
8752
|
+
# }
|
8753
|
+
#
|
8754
|
+
# @!attribute [rw] field_name
|
8755
|
+
# The name of the field in the string condition.
|
8756
|
+
# @return [String]
|
8757
|
+
#
|
8758
|
+
# @!attribute [rw] value
|
8759
|
+
# The value of the string.
|
8760
|
+
# @return [String]
|
8761
|
+
#
|
8762
|
+
# @!attribute [rw] comparison_type
|
8763
|
+
# The type of comparison to be made when evaluating the string
|
8764
|
+
# condition.
|
8765
|
+
# @return [String]
|
8766
|
+
#
|
8767
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StringCondition AWS API Documentation
|
8768
|
+
#
|
8769
|
+
class StringCondition < Struct.new(
|
8770
|
+
:field_name,
|
8771
|
+
:value,
|
8772
|
+
:comparison_type)
|
8773
|
+
SENSITIVE = []
|
8774
|
+
include Aws::Structure
|
8775
|
+
end
|
8776
|
+
|
8546
8777
|
# @note When making an API call, you may pass SuspendContactRecordingRequest
|
8547
8778
|
# data as a hash:
|
8548
8779
|
#
|
@@ -8580,6 +8811,34 @@ module Aws::Connect
|
|
8580
8811
|
#
|
8581
8812
|
class SuspendContactRecordingResponse < Aws::EmptyStructure; end
|
8582
8813
|
|
8814
|
+
# A leaf node condition which can be used to specify a tag condition,
|
8815
|
+
# for example, `HAVE BPO = 123`.
|
8816
|
+
#
|
8817
|
+
# @note When making an API call, you may pass TagCondition
|
8818
|
+
# data as a hash:
|
8819
|
+
#
|
8820
|
+
# {
|
8821
|
+
# tag_key: "String",
|
8822
|
+
# tag_value: "String",
|
8823
|
+
# }
|
8824
|
+
#
|
8825
|
+
# @!attribute [rw] tag_key
|
8826
|
+
# The tag key in the tag condition.
|
8827
|
+
# @return [String]
|
8828
|
+
#
|
8829
|
+
# @!attribute [rw] tag_value
|
8830
|
+
# The tag value in the tag condition.
|
8831
|
+
# @return [String]
|
8832
|
+
#
|
8833
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagCondition AWS API Documentation
|
8834
|
+
#
|
8835
|
+
class TagCondition < Struct.new(
|
8836
|
+
:tag_key,
|
8837
|
+
:tag_value)
|
8838
|
+
SENSITIVE = []
|
8839
|
+
include Aws::Structure
|
8840
|
+
end
|
8841
|
+
|
8583
8842
|
# @note When making an API call, you may pass TagResourceRequest
|
8584
8843
|
# data as a hash:
|
8585
8844
|
#
|
@@ -9243,7 +9502,7 @@ module Aws::Connect
|
|
9243
9502
|
# }
|
9244
9503
|
#
|
9245
9504
|
# @!attribute [rw] phone_number_id
|
9246
|
-
#
|
9505
|
+
# A unique identifier for the phone number.
|
9247
9506
|
# @return [String]
|
9248
9507
|
#
|
9249
9508
|
# @!attribute [rw] target_arn
|
@@ -9270,7 +9529,7 @@ module Aws::Connect
|
|
9270
9529
|
end
|
9271
9530
|
|
9272
9531
|
# @!attribute [rw] phone_number_id
|
9273
|
-
#
|
9532
|
+
# A unique identifier for the phone number.
|
9274
9533
|
# @return [String]
|
9275
9534
|
#
|
9276
9535
|
# @!attribute [rw] phone_number_arn
|
@@ -10117,6 +10376,25 @@ module Aws::Connect
|
|
10117
10376
|
include Aws::Structure
|
10118
10377
|
end
|
10119
10378
|
|
10379
|
+
# The user's first name and last name.
|
10380
|
+
#
|
10381
|
+
# @!attribute [rw] first_name
|
10382
|
+
# The user's first name.
|
10383
|
+
# @return [String]
|
10384
|
+
#
|
10385
|
+
# @!attribute [rw] last_name
|
10386
|
+
# The user's last name.
|
10387
|
+
# @return [String]
|
10388
|
+
#
|
10389
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserIdentityInfoLite AWS API Documentation
|
10390
|
+
#
|
10391
|
+
class UserIdentityInfoLite < Struct.new(
|
10392
|
+
:first_name,
|
10393
|
+
:last_name)
|
10394
|
+
SENSITIVE = []
|
10395
|
+
include Aws::Structure
|
10396
|
+
end
|
10397
|
+
|
10120
10398
|
# No user with the specified credentials was found in the Amazon Connect
|
10121
10399
|
# instance.
|
10122
10400
|
#
|
@@ -10199,6 +10477,201 @@ module Aws::Connect
|
|
10199
10477
|
include Aws::Structure
|
10200
10478
|
end
|
10201
10479
|
|
10480
|
+
# The search criteria to be used to return users.
|
10481
|
+
#
|
10482
|
+
# @note When making an API call, you may pass UserSearchCriteria
|
10483
|
+
# data as a hash:
|
10484
|
+
#
|
10485
|
+
# {
|
10486
|
+
# or_conditions: [
|
10487
|
+
# {
|
10488
|
+
# or_conditions: {
|
10489
|
+
# # recursive UserSearchConditionList
|
10490
|
+
# },
|
10491
|
+
# and_conditions: {
|
10492
|
+
# # recursive UserSearchConditionList
|
10493
|
+
# },
|
10494
|
+
# string_condition: {
|
10495
|
+
# field_name: "String",
|
10496
|
+
# value: "String",
|
10497
|
+
# comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
|
10498
|
+
# },
|
10499
|
+
# hierarchy_group_condition: {
|
10500
|
+
# value: "String",
|
10501
|
+
# hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS
|
10502
|
+
# },
|
10503
|
+
# },
|
10504
|
+
# ],
|
10505
|
+
# and_conditions: [
|
10506
|
+
# {
|
10507
|
+
# or_conditions: {
|
10508
|
+
# # recursive UserSearchConditionList
|
10509
|
+
# },
|
10510
|
+
# and_conditions: {
|
10511
|
+
# # recursive UserSearchConditionList
|
10512
|
+
# },
|
10513
|
+
# string_condition: {
|
10514
|
+
# field_name: "String",
|
10515
|
+
# value: "String",
|
10516
|
+
# comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
|
10517
|
+
# },
|
10518
|
+
# hierarchy_group_condition: {
|
10519
|
+
# value: "String",
|
10520
|
+
# hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS
|
10521
|
+
# },
|
10522
|
+
# },
|
10523
|
+
# ],
|
10524
|
+
# string_condition: {
|
10525
|
+
# field_name: "String",
|
10526
|
+
# value: "String",
|
10527
|
+
# comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
|
10528
|
+
# },
|
10529
|
+
# hierarchy_group_condition: {
|
10530
|
+
# value: "String",
|
10531
|
+
# hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS
|
10532
|
+
# },
|
10533
|
+
# }
|
10534
|
+
#
|
10535
|
+
# @!attribute [rw] or_conditions
|
10536
|
+
# A list of conditions which would be applied together with an `OR`
|
10537
|
+
# condition.
|
10538
|
+
# @return [Array<Types::UserSearchCriteria>]
|
10539
|
+
#
|
10540
|
+
# @!attribute [rw] and_conditions
|
10541
|
+
# A list of conditions which would be applied together with an `AND`
|
10542
|
+
# condition.
|
10543
|
+
# @return [Array<Types::UserSearchCriteria>]
|
10544
|
+
#
|
10545
|
+
# @!attribute [rw] string_condition
|
10546
|
+
# A leaf node condition which can be used to specify a string
|
10547
|
+
# condition.
|
10548
|
+
# @return [Types::StringCondition]
|
10549
|
+
#
|
10550
|
+
# @!attribute [rw] hierarchy_group_condition
|
10551
|
+
# A leaf node condition which can be used to specify a hierarchy group
|
10552
|
+
# condition.
|
10553
|
+
# @return [Types::HierarchyGroupCondition]
|
10554
|
+
#
|
10555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserSearchCriteria AWS API Documentation
|
10556
|
+
#
|
10557
|
+
class UserSearchCriteria < Struct.new(
|
10558
|
+
:or_conditions,
|
10559
|
+
:and_conditions,
|
10560
|
+
:string_condition,
|
10561
|
+
:hierarchy_group_condition)
|
10562
|
+
SENSITIVE = []
|
10563
|
+
include Aws::Structure
|
10564
|
+
end
|
10565
|
+
|
10566
|
+
# Filters to be applied to search results.
|
10567
|
+
#
|
10568
|
+
# @note When making an API call, you may pass UserSearchFilter
|
10569
|
+
# data as a hash:
|
10570
|
+
#
|
10571
|
+
# {
|
10572
|
+
# tag_filter: {
|
10573
|
+
# or_conditions: [
|
10574
|
+
# [
|
10575
|
+
# {
|
10576
|
+
# tag_key: "String",
|
10577
|
+
# tag_value: "String",
|
10578
|
+
# },
|
10579
|
+
# ],
|
10580
|
+
# ],
|
10581
|
+
# and_conditions: [
|
10582
|
+
# {
|
10583
|
+
# tag_key: "String",
|
10584
|
+
# tag_value: "String",
|
10585
|
+
# },
|
10586
|
+
# ],
|
10587
|
+
# tag_condition: {
|
10588
|
+
# tag_key: "String",
|
10589
|
+
# tag_value: "String",
|
10590
|
+
# },
|
10591
|
+
# },
|
10592
|
+
# }
|
10593
|
+
#
|
10594
|
+
# @!attribute [rw] tag_filter
|
10595
|
+
# An object that can be used to specify Tag conditions inside the
|
10596
|
+
# `SearchFilter`. This accepts an `OR` of `AND` (List of List) input
|
10597
|
+
# where:
|
10598
|
+
#
|
10599
|
+
# * Top level list specifies conditions that need to be applied with
|
10600
|
+
# `OR` operator
|
10601
|
+
#
|
10602
|
+
# * Inner list specifies conditions that need to be applied with `AND`
|
10603
|
+
# operator.
|
10604
|
+
# @return [Types::ControlPlaneTagFilter]
|
10605
|
+
#
|
10606
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserSearchFilter AWS API Documentation
|
10607
|
+
#
|
10608
|
+
class UserSearchFilter < Struct.new(
|
10609
|
+
:tag_filter)
|
10610
|
+
SENSITIVE = []
|
10611
|
+
include Aws::Structure
|
10612
|
+
end
|
10613
|
+
|
10614
|
+
# Information about the returned users.
|
10615
|
+
#
|
10616
|
+
# @!attribute [rw] arn
|
10617
|
+
# The Amazon Resource Name (ARN) of the user.
|
10618
|
+
# @return [String]
|
10619
|
+
#
|
10620
|
+
# @!attribute [rw] directory_user_id
|
10621
|
+
# The directory identifier of the user.
|
10622
|
+
# @return [String]
|
10623
|
+
#
|
10624
|
+
# @!attribute [rw] hierarchy_group_id
|
10625
|
+
# The identifier of the user's hierarchy group.
|
10626
|
+
# @return [String]
|
10627
|
+
#
|
10628
|
+
# @!attribute [rw] id
|
10629
|
+
# The identifier of the user's summary.
|
10630
|
+
# @return [String]
|
10631
|
+
#
|
10632
|
+
# @!attribute [rw] identity_info
|
10633
|
+
# The user's first name and last name.
|
10634
|
+
# @return [Types::UserIdentityInfoLite]
|
10635
|
+
#
|
10636
|
+
# @!attribute [rw] phone_config
|
10637
|
+
# Contains information about the phone configuration settings for a
|
10638
|
+
# user.
|
10639
|
+
# @return [Types::UserPhoneConfig]
|
10640
|
+
#
|
10641
|
+
# @!attribute [rw] routing_profile_id
|
10642
|
+
# The identifier of the user's routing profile.
|
10643
|
+
# @return [String]
|
10644
|
+
#
|
10645
|
+
# @!attribute [rw] security_profile_ids
|
10646
|
+
# The identifiers of the user's security profiles.
|
10647
|
+
# @return [Array<String>]
|
10648
|
+
#
|
10649
|
+
# @!attribute [rw] tags
|
10650
|
+
# The tags used to organize, track, or control access for this
|
10651
|
+
# resource.
|
10652
|
+
# @return [Hash<String,String>]
|
10653
|
+
#
|
10654
|
+
# @!attribute [rw] username
|
10655
|
+
# The name of the user.
|
10656
|
+
# @return [String]
|
10657
|
+
#
|
10658
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserSearchSummary AWS API Documentation
|
10659
|
+
#
|
10660
|
+
class UserSearchSummary < Struct.new(
|
10661
|
+
:arn,
|
10662
|
+
:directory_user_id,
|
10663
|
+
:hierarchy_group_id,
|
10664
|
+
:id,
|
10665
|
+
:identity_info,
|
10666
|
+
:phone_config,
|
10667
|
+
:routing_profile_id,
|
10668
|
+
:security_profile_ids,
|
10669
|
+
:tags,
|
10670
|
+
:username)
|
10671
|
+
SENSITIVE = []
|
10672
|
+
include Aws::Structure
|
10673
|
+
end
|
10674
|
+
|
10202
10675
|
# Contains summary information about a user.
|
10203
10676
|
#
|
10204
10677
|
# @!attribute [rw] id
|
data/lib/aws-sdk-connect.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.70.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|