aws-sdk-connect 1.167.0 → 1.169.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.169.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -2254,7 +2254,7 @@ module Aws
2254
2254
  ?max_results: ::Integer,
2255
2255
  ?next_token: ::String,
2256
2256
  output_type: ("Raw" | "Redacted"),
2257
- segment_types: Array[("Transcript" | "Categories" | "Issues" | "Event" | "Attachments")]
2257
+ segment_types: Array[("Transcript" | "Categories" | "Issues" | "Event" | "Attachments" | "PostContactSummary")]
2258
2258
  ) -> _ListRealtimeContactAnalysisSegmentsV2ResponseSuccess
2259
2259
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRealtimeContactAnalysisSegmentsV2ResponseSuccess
2260
2260
 
@@ -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
@@ -2993,7 +3029,7 @@ module Aws::Connect
2993
3029
  attr_accessor max_results: ::Integer
2994
3030
  attr_accessor next_token: ::String
2995
3031
  attr_accessor output_type: ("Raw" | "Redacted")
2996
- attr_accessor segment_types: ::Array[("Transcript" | "Categories" | "Issues" | "Event" | "Attachments")]
3032
+ attr_accessor segment_types: ::Array[("Transcript" | "Categories" | "Issues" | "Event" | "Attachments" | "PostContactSummary")]
2997
3033
  SENSITIVE: []
2998
3034
  end
2999
3035
 
@@ -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
@@ -3712,6 +3756,13 @@ module Aws::Connect
3712
3756
  SENSITIVE: []
3713
3757
  end
3714
3758
 
3759
+ class RealTimeContactAnalysisSegmentPostContactSummary
3760
+ attr_accessor content: ::String
3761
+ attr_accessor status: ("FAILED" | "COMPLETED")
3762
+ attr_accessor failure_code: ("QUOTA_EXCEEDED" | "INSUFFICIENT_CONVERSATION_CONTENT" | "FAILED_SAFETY_GUIDELINES" | "INVALID_ANALYSIS_CONFIGURATION" | "INTERNAL_ERROR")
3763
+ SENSITIVE: []
3764
+ end
3765
+
3715
3766
  class RealTimeContactAnalysisSegmentTranscript
3716
3767
  attr_accessor id: ::String
3717
3768
  attr_accessor participant_id: ::String
@@ -3760,6 +3811,7 @@ module Aws::Connect
3760
3811
  attr_accessor issues: Types::RealTimeContactAnalysisSegmentIssues
3761
3812
  attr_accessor event: Types::RealTimeContactAnalysisSegmentEvent
3762
3813
  attr_accessor attachments: Types::RealTimeContactAnalysisSegmentAttachments
3814
+ attr_accessor post_contact_summary: Types::RealTimeContactAnalysisSegmentPostContactSummary
3763
3815
  attr_accessor unknown: untyped
3764
3816
  SENSITIVE: []
3765
3817
 
@@ -3773,6 +3825,8 @@ module Aws::Connect
3773
3825
  end
3774
3826
  class Attachments < RealtimeContactAnalysisSegment
3775
3827
  end
3828
+ class PostContactSummary < RealtimeContactAnalysisSegment
3829
+ end
3776
3830
  class Unknown < RealtimeContactAnalysisSegment
3777
3831
  end
3778
3832
  end
@@ -4010,6 +4064,22 @@ module Aws::Connect
4010
4064
  SENSITIVE: []
4011
4065
  end
4012
4066
 
4067
+ class SearchAgentStatusesRequest
4068
+ attr_accessor instance_id: ::String
4069
+ attr_accessor next_token: ::String
4070
+ attr_accessor max_results: ::Integer
4071
+ attr_accessor search_filter: Types::AgentStatusSearchFilter
4072
+ attr_accessor search_criteria: Types::AgentStatusSearchCriteria
4073
+ SENSITIVE: []
4074
+ end
4075
+
4076
+ class SearchAgentStatusesResponse
4077
+ attr_accessor agent_statuses: ::Array[Types::AgentStatus]
4078
+ attr_accessor next_token: ::String
4079
+ attr_accessor approximate_total_count: ::Integer
4080
+ SENSITIVE: []
4081
+ end
4082
+
4013
4083
  class SearchAvailablePhoneNumbersRequest
4014
4084
  attr_accessor target_arn: ::String
4015
4085
  attr_accessor instance_id: ::String
@@ -4220,6 +4290,22 @@ module Aws::Connect
4220
4290
  SENSITIVE: []
4221
4291
  end
4222
4292
 
4293
+ class SearchUserHierarchyGroupsRequest
4294
+ attr_accessor instance_id: ::String
4295
+ attr_accessor next_token: ::String
4296
+ attr_accessor max_results: ::Integer
4297
+ attr_accessor search_filter: Types::UserHierarchyGroupSearchFilter
4298
+ attr_accessor search_criteria: Types::UserHierarchyGroupSearchCriteria
4299
+ SENSITIVE: []
4300
+ end
4301
+
4302
+ class SearchUserHierarchyGroupsResponse
4303
+ attr_accessor user_hierarchy_groups: ::Array[Types::HierarchyGroup]
4304
+ attr_accessor next_token: ::String
4305
+ attr_accessor approximate_total_count: ::Integer
4306
+ SENSITIVE: []
4307
+ end
4308
+
4223
4309
  class SearchUsersRequest
4224
4310
  attr_accessor instance_id: ::String
4225
4311
  attr_accessor next_token: ::String
@@ -5330,6 +5416,18 @@ module Aws::Connect
5330
5416
  SENSITIVE: []
5331
5417
  end
5332
5418
 
5419
+ class UserHierarchyGroupSearchCriteria
5420
+ attr_accessor or_conditions: ::Array[Types::UserHierarchyGroupSearchCriteria]
5421
+ attr_accessor and_conditions: ::Array[Types::UserHierarchyGroupSearchCriteria]
5422
+ attr_accessor string_condition: Types::StringCondition
5423
+ SENSITIVE: []
5424
+ end
5425
+
5426
+ class UserHierarchyGroupSearchFilter
5427
+ attr_accessor attribute_filter: Types::ControlPlaneAttributeFilter
5428
+ SENSITIVE: []
5429
+ end
5430
+
5333
5431
  class UserIdentityInfo
5334
5432
  attr_accessor first_name: ::String
5335
5433
  attr_accessor last_name: ::String
@@ -5387,6 +5485,7 @@ module Aws::Connect
5387
5485
  attr_accessor or_conditions: ::Array[Types::UserSearchCriteria]
5388
5486
  attr_accessor and_conditions: ::Array[Types::UserSearchCriteria]
5389
5487
  attr_accessor string_condition: Types::StringCondition
5488
+ attr_accessor list_condition: Types::ListCondition
5390
5489
  attr_accessor hierarchy_group_condition: Types::HierarchyGroupCondition
5391
5490
  SENSITIVE: []
5392
5491
  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.169.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-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core