aws-sdk-connect 1.167.0 → 1.168.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connect/customizations'
52
52
  # @!group service
53
53
  module Aws::Connect
54
54
 
55
- GEM_VERSION = '1.167.0'
55
+ GEM_VERSION = '1.168.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -2575,6 +2575,59 @@ module Aws
2575
2575
  ) -> _ResumeContactRecordingResponseSuccess
2576
2576
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResumeContactRecordingResponseSuccess
2577
2577
 
2578
+ interface _SearchAgentStatusesResponseSuccess
2579
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchAgentStatusesResponse]
2580
+ def agent_statuses: () -> ::Array[Types::AgentStatus]
2581
+ def next_token: () -> ::String
2582
+ def approximate_total_count: () -> ::Integer
2583
+ end
2584
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#search_agent_statuses-instance_method
2585
+ def search_agent_statuses: (
2586
+ instance_id: ::String,
2587
+ ?next_token: ::String,
2588
+ ?max_results: ::Integer,
2589
+ ?search_filter: {
2590
+ attribute_filter: {
2591
+ or_conditions: Array[
2592
+ {
2593
+ tag_conditions: Array[
2594
+ {
2595
+ tag_key: ::String?,
2596
+ tag_value: ::String?
2597
+ },
2598
+ ]?
2599
+ },
2600
+ ]?,
2601
+ and_condition: {
2602
+ tag_conditions: Array[
2603
+ {
2604
+ tag_key: ::String?,
2605
+ tag_value: ::String?
2606
+ },
2607
+ ]?
2608
+ }?,
2609
+ tag_condition: {
2610
+ tag_key: ::String?,
2611
+ tag_value: ::String?
2612
+ }?
2613
+ }?
2614
+ },
2615
+ ?search_criteria: {
2616
+ or_conditions: Array[
2617
+ untyped,
2618
+ ]?,
2619
+ and_conditions: Array[
2620
+ untyped,
2621
+ ]?,
2622
+ string_condition: {
2623
+ field_name: ::String?,
2624
+ value: ::String?,
2625
+ comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
2626
+ }?
2627
+ }
2628
+ ) -> _SearchAgentStatusesResponseSuccess
2629
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchAgentStatusesResponseSuccess
2630
+
2578
2631
  interface _SearchAvailablePhoneNumbersResponseSuccess
2579
2632
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchAvailablePhoneNumbersResponse]
2580
2633
  def next_token: () -> ::String
@@ -3094,6 +3147,59 @@ module Aws
3094
3147
  ) -> _SearchSecurityProfilesResponseSuccess
3095
3148
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchSecurityProfilesResponseSuccess
3096
3149
 
3150
+ interface _SearchUserHierarchyGroupsResponseSuccess
3151
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchUserHierarchyGroupsResponse]
3152
+ def user_hierarchy_groups: () -> ::Array[Types::HierarchyGroup]
3153
+ def next_token: () -> ::String
3154
+ def approximate_total_count: () -> ::Integer
3155
+ end
3156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#search_user_hierarchy_groups-instance_method
3157
+ def search_user_hierarchy_groups: (
3158
+ instance_id: ::String,
3159
+ ?next_token: ::String,
3160
+ ?max_results: ::Integer,
3161
+ ?search_filter: {
3162
+ attribute_filter: {
3163
+ or_conditions: Array[
3164
+ {
3165
+ tag_conditions: Array[
3166
+ {
3167
+ tag_key: ::String?,
3168
+ tag_value: ::String?
3169
+ },
3170
+ ]?
3171
+ },
3172
+ ]?,
3173
+ and_condition: {
3174
+ tag_conditions: Array[
3175
+ {
3176
+ tag_key: ::String?,
3177
+ tag_value: ::String?
3178
+ },
3179
+ ]?
3180
+ }?,
3181
+ tag_condition: {
3182
+ tag_key: ::String?,
3183
+ tag_value: ::String?
3184
+ }?
3185
+ }?
3186
+ },
3187
+ ?search_criteria: {
3188
+ or_conditions: Array[
3189
+ untyped,
3190
+ ]?,
3191
+ and_conditions: Array[
3192
+ untyped,
3193
+ ]?,
3194
+ string_condition: {
3195
+ field_name: ::String?,
3196
+ value: ::String?,
3197
+ comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
3198
+ }?
3199
+ }
3200
+ ) -> _SearchUserHierarchyGroupsResponseSuccess
3201
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchUserHierarchyGroupsResponseSuccess
3202
+
3097
3203
  interface _SearchUsersResponseSuccess
3098
3204
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchUsersResponse]
3099
3205
  def users: () -> ::Array[Types::UserSearchSummary]
@@ -3175,6 +3281,24 @@ module Aws
3175
3281
  value: ::String?,
3176
3282
  comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
3177
3283
  }?,
3284
+ list_condition: {
3285
+ target_list_type: ("PROFICIENCIES")?,
3286
+ conditions: Array[
3287
+ {
3288
+ string_condition: {
3289
+ field_name: ::String?,
3290
+ value: ::String?,
3291
+ comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
3292
+ }?,
3293
+ number_condition: {
3294
+ field_name: ::String?,
3295
+ min_value: ::Integer?,
3296
+ max_value: ::Integer?,
3297
+ comparison_type: ("GREATER_OR_EQUAL" | "GREATER" | "LESSER_OR_EQUAL" | "LESSER" | "EQUAL" | "NOT_EQUAL" | "RANGE")?
3298
+ }?
3299
+ },
3300
+ ]?
3301
+ }?,
3178
3302
  hierarchy_group_condition: {
3179
3303
  value: ::String?,
3180
3304
  hierarchy_group_match_type: ("EXACT" | "WITH_CHILD_GROUPS")?
data/sig/types.rbs CHANGED
@@ -98,6 +98,18 @@ module Aws::Connect
98
98
  SENSITIVE: []
99
99
  end
100
100
 
101
+ class AgentStatusSearchCriteria
102
+ attr_accessor or_conditions: ::Array[Types::AgentStatusSearchCriteria]
103
+ attr_accessor and_conditions: ::Array[Types::AgentStatusSearchCriteria]
104
+ attr_accessor string_condition: Types::StringCondition
105
+ SENSITIVE: []
106
+ end
107
+
108
+ class AgentStatusSearchFilter
109
+ attr_accessor attribute_filter: Types::ControlPlaneAttributeFilter
110
+ SENSITIVE: []
111
+ end
112
+
101
113
  class AgentStatusSummary
102
114
  attr_accessor id: ::String
103
115
  attr_accessor arn: ::String
@@ -486,6 +498,11 @@ module Aws::Connect
486
498
  SENSITIVE: []
487
499
  end
488
500
 
501
+ class CommonAttributeAndCondition
502
+ attr_accessor tag_conditions: ::Array[Types::TagCondition]
503
+ SENSITIVE: []
504
+ end
505
+
489
506
  class CompleteAttachedFileUploadRequest
490
507
  attr_accessor instance_id: ::String
491
508
  attr_accessor file_id: ::String
@@ -496,6 +513,12 @@ module Aws::Connect
496
513
  class CompleteAttachedFileUploadResponse < Aws::EmptyStructure
497
514
  end
498
515
 
516
+ class Condition
517
+ attr_accessor string_condition: Types::StringCondition
518
+ attr_accessor number_condition: Types::NumberCondition
519
+ SENSITIVE: []
520
+ end
521
+
499
522
  class ConflictException
500
523
  attr_accessor message: ::String
501
524
  SENSITIVE: []
@@ -670,6 +693,13 @@ module Aws::Connect
670
693
  SENSITIVE: []
671
694
  end
672
695
 
696
+ class ControlPlaneAttributeFilter
697
+ attr_accessor or_conditions: ::Array[Types::CommonAttributeAndCondition]
698
+ attr_accessor and_condition: Types::CommonAttributeAndCondition
699
+ attr_accessor tag_condition: Types::TagCondition
700
+ SENSITIVE: []
701
+ end
702
+
673
703
  class ControlPlaneTagFilter
674
704
  attr_accessor or_conditions: ::Array[::Array[Types::TagCondition]]
675
705
  attr_accessor and_conditions: ::Array[Types::TagCondition]
@@ -2669,6 +2699,12 @@ module Aws::Connect
2669
2699
  SENSITIVE: []
2670
2700
  end
2671
2701
 
2702
+ class ListCondition
2703
+ attr_accessor target_list_type: ("PROFICIENCIES")
2704
+ attr_accessor conditions: ::Array[Types::Condition]
2705
+ SENSITIVE: []
2706
+ end
2707
+
2672
2708
  class ListContactEvaluationsRequest
2673
2709
  attr_accessor instance_id: ::String
2674
2710
  attr_accessor contact_id: ::String
@@ -3344,6 +3380,14 @@ module Aws::Connect
3344
3380
  SENSITIVE: []
3345
3381
  end
3346
3382
 
3383
+ class NumberCondition
3384
+ attr_accessor field_name: ::String
3385
+ attr_accessor min_value: ::Integer
3386
+ attr_accessor max_value: ::Integer
3387
+ attr_accessor comparison_type: ("GREATER_OR_EQUAL" | "GREATER" | "LESSER_OR_EQUAL" | "LESSER" | "EQUAL" | "NOT_EQUAL" | "RANGE")
3388
+ SENSITIVE: []
3389
+ end
3390
+
3347
3391
  class NumberReference
3348
3392
  attr_accessor name: ::String
3349
3393
  attr_accessor value: ::String
@@ -4010,6 +4054,22 @@ module Aws::Connect
4010
4054
  SENSITIVE: []
4011
4055
  end
4012
4056
 
4057
+ class SearchAgentStatusesRequest
4058
+ attr_accessor instance_id: ::String
4059
+ attr_accessor next_token: ::String
4060
+ attr_accessor max_results: ::Integer
4061
+ attr_accessor search_filter: Types::AgentStatusSearchFilter
4062
+ attr_accessor search_criteria: Types::AgentStatusSearchCriteria
4063
+ SENSITIVE: []
4064
+ end
4065
+
4066
+ class SearchAgentStatusesResponse
4067
+ attr_accessor agent_statuses: ::Array[Types::AgentStatus]
4068
+ attr_accessor next_token: ::String
4069
+ attr_accessor approximate_total_count: ::Integer
4070
+ SENSITIVE: []
4071
+ end
4072
+
4013
4073
  class SearchAvailablePhoneNumbersRequest
4014
4074
  attr_accessor target_arn: ::String
4015
4075
  attr_accessor instance_id: ::String
@@ -4220,6 +4280,22 @@ module Aws::Connect
4220
4280
  SENSITIVE: []
4221
4281
  end
4222
4282
 
4283
+ class SearchUserHierarchyGroupsRequest
4284
+ attr_accessor instance_id: ::String
4285
+ attr_accessor next_token: ::String
4286
+ attr_accessor max_results: ::Integer
4287
+ attr_accessor search_filter: Types::UserHierarchyGroupSearchFilter
4288
+ attr_accessor search_criteria: Types::UserHierarchyGroupSearchCriteria
4289
+ SENSITIVE: []
4290
+ end
4291
+
4292
+ class SearchUserHierarchyGroupsResponse
4293
+ attr_accessor user_hierarchy_groups: ::Array[Types::HierarchyGroup]
4294
+ attr_accessor next_token: ::String
4295
+ attr_accessor approximate_total_count: ::Integer
4296
+ SENSITIVE: []
4297
+ end
4298
+
4223
4299
  class SearchUsersRequest
4224
4300
  attr_accessor instance_id: ::String
4225
4301
  attr_accessor next_token: ::String
@@ -5330,6 +5406,18 @@ module Aws::Connect
5330
5406
  SENSITIVE: []
5331
5407
  end
5332
5408
 
5409
+ class UserHierarchyGroupSearchCriteria
5410
+ attr_accessor or_conditions: ::Array[Types::UserHierarchyGroupSearchCriteria]
5411
+ attr_accessor and_conditions: ::Array[Types::UserHierarchyGroupSearchCriteria]
5412
+ attr_accessor string_condition: Types::StringCondition
5413
+ SENSITIVE: []
5414
+ end
5415
+
5416
+ class UserHierarchyGroupSearchFilter
5417
+ attr_accessor attribute_filter: Types::ControlPlaneAttributeFilter
5418
+ SENSITIVE: []
5419
+ end
5420
+
5333
5421
  class UserIdentityInfo
5334
5422
  attr_accessor first_name: ::String
5335
5423
  attr_accessor last_name: ::String
@@ -5387,6 +5475,7 @@ module Aws::Connect
5387
5475
  attr_accessor or_conditions: ::Array[Types::UserSearchCriteria]
5388
5476
  attr_accessor and_conditions: ::Array[Types::UserSearchCriteria]
5389
5477
  attr_accessor string_condition: Types::StringCondition
5478
+ attr_accessor list_condition: Types::ListCondition
5390
5479
  attr_accessor hierarchy_group_condition: Types::HierarchyGroupCondition
5391
5480
  SENSITIVE: []
5392
5481
  end
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.167.0
4
+ version: 1.168.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: 2024-07-02 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core