aws-sdk-connect 1.209.0 → 1.210.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 +551 -255
- data/lib/aws-sdk-connect/client_api.rb +51 -0
- data/lib/aws-sdk-connect/types.rb +772 -222
- data/lib/aws-sdk-connect.rb +1 -1
- data/sig/client.rbs +42 -4
- data/sig/types.rbs +38 -0
- metadata +1 -1
data/lib/aws-sdk-connect.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1871,6 +1871,24 @@ module Aws
|
|
1871
1871
|
) -> _GetContactAttributesResponseSuccess
|
1872
1872
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContactAttributesResponseSuccess
|
1873
1873
|
|
1874
|
+
interface _GetContactMetricsResponseSuccess
|
1875
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetContactMetricsResponse]
|
1876
|
+
def metric_results: () -> ::Array[Types::ContactMetricResult]
|
1877
|
+
def id: () -> ::String
|
1878
|
+
def arn: () -> ::String
|
1879
|
+
end
|
1880
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#get_contact_metrics-instance_method
|
1881
|
+
def get_contact_metrics: (
|
1882
|
+
instance_id: ::String,
|
1883
|
+
contact_id: ::String,
|
1884
|
+
metrics: Array[
|
1885
|
+
{
|
1886
|
+
name: ("POSITION_IN_QUEUE")
|
1887
|
+
},
|
1888
|
+
]
|
1889
|
+
) -> _GetContactMetricsResponseSuccess
|
1890
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContactMetricsResponseSuccess
|
1891
|
+
|
1874
1892
|
interface _GetCurrentMetricDataResponseSuccess
|
1875
1893
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetCurrentMetricDataResponse]
|
1876
1894
|
def next_token: () -> ::String
|
@@ -2899,7 +2917,11 @@ module Aws
|
|
2899
2917
|
tag_key: ::String?,
|
2900
2918
|
tag_value: ::String?
|
2901
2919
|
},
|
2902
|
-
]
|
2920
|
+
]?,
|
2921
|
+
hierarchy_group_condition: {
|
2922
|
+
value: ::String?,
|
2923
|
+
hierarchy_group_match_type: ("EXACT" | "WITH_CHILD_GROUPS")?
|
2924
|
+
}?
|
2903
2925
|
},
|
2904
2926
|
]?,
|
2905
2927
|
and_condition: {
|
@@ -2908,7 +2930,11 @@ module Aws
|
|
2908
2930
|
tag_key: ::String?,
|
2909
2931
|
tag_value: ::String?
|
2910
2932
|
},
|
2911
|
-
]
|
2933
|
+
]?,
|
2934
|
+
hierarchy_group_condition: {
|
2935
|
+
value: ::String?,
|
2936
|
+
hierarchy_group_match_type: ("EXACT" | "WITH_CHILD_GROUPS")?
|
2937
|
+
}?
|
2912
2938
|
}?,
|
2913
2939
|
tag_condition: {
|
2914
2940
|
tag_key: ::String?,
|
@@ -3585,7 +3611,11 @@ module Aws
|
|
3585
3611
|
tag_key: ::String?,
|
3586
3612
|
tag_value: ::String?
|
3587
3613
|
},
|
3588
|
-
]
|
3614
|
+
]?,
|
3615
|
+
hierarchy_group_condition: {
|
3616
|
+
value: ::String?,
|
3617
|
+
hierarchy_group_match_type: ("EXACT" | "WITH_CHILD_GROUPS")?
|
3618
|
+
}?
|
3589
3619
|
},
|
3590
3620
|
]?,
|
3591
3621
|
and_condition: {
|
@@ -3594,7 +3624,11 @@ module Aws
|
|
3594
3624
|
tag_key: ::String?,
|
3595
3625
|
tag_value: ::String?
|
3596
3626
|
},
|
3597
|
-
]
|
3627
|
+
]?,
|
3628
|
+
hierarchy_group_condition: {
|
3629
|
+
value: ::String?,
|
3630
|
+
hierarchy_group_match_type: ("EXACT" | "WITH_CHILD_GROUPS")?
|
3631
|
+
}?
|
3598
3632
|
}?,
|
3599
3633
|
tag_condition: {
|
3600
3634
|
tag_key: ::String?,
|
@@ -3613,6 +3647,10 @@ module Aws
|
|
3613
3647
|
field_name: ::String?,
|
3614
3648
|
value: ::String?,
|
3615
3649
|
comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
|
3650
|
+
}?,
|
3651
|
+
hierarchy_group_condition: {
|
3652
|
+
value: ::String?,
|
3653
|
+
hierarchy_group_match_type: ("EXACT" | "WITH_CHILD_GROUPS")?
|
3616
3654
|
}?
|
3617
3655
|
}
|
3618
3656
|
) -> _SearchUserHierarchyGroupsResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -573,6 +573,7 @@ module Aws::Connect
|
|
573
573
|
|
574
574
|
class CommonAttributeAndCondition
|
575
575
|
attr_accessor tag_conditions: ::Array[Types::TagCondition]
|
576
|
+
attr_accessor hierarchy_group_condition: Types::HierarchyGroupCondition
|
576
577
|
SENSITIVE: []
|
577
578
|
end
|
578
579
|
|
@@ -788,6 +789,28 @@ module Aws::Connect
|
|
788
789
|
SENSITIVE: []
|
789
790
|
end
|
790
791
|
|
792
|
+
class ContactMetricInfo
|
793
|
+
attr_accessor name: ("POSITION_IN_QUEUE")
|
794
|
+
SENSITIVE: []
|
795
|
+
end
|
796
|
+
|
797
|
+
class ContactMetricResult
|
798
|
+
attr_accessor name: ("POSITION_IN_QUEUE")
|
799
|
+
attr_accessor value: Types::ContactMetricValue
|
800
|
+
SENSITIVE: []
|
801
|
+
end
|
802
|
+
|
803
|
+
class ContactMetricValue
|
804
|
+
attr_accessor number: ::Float
|
805
|
+
attr_accessor unknown: untyped
|
806
|
+
SENSITIVE: []
|
807
|
+
|
808
|
+
class Number < ContactMetricValue
|
809
|
+
end
|
810
|
+
class Unknown < ContactMetricValue
|
811
|
+
end
|
812
|
+
end
|
813
|
+
|
791
814
|
class ContactNotFoundException
|
792
815
|
attr_accessor message: ::String
|
793
816
|
SENSITIVE: []
|
@@ -2523,6 +2546,20 @@ module Aws::Connect
|
|
2523
2546
|
SENSITIVE: []
|
2524
2547
|
end
|
2525
2548
|
|
2549
|
+
class GetContactMetricsRequest
|
2550
|
+
attr_accessor instance_id: ::String
|
2551
|
+
attr_accessor contact_id: ::String
|
2552
|
+
attr_accessor metrics: ::Array[Types::ContactMetricInfo]
|
2553
|
+
SENSITIVE: []
|
2554
|
+
end
|
2555
|
+
|
2556
|
+
class GetContactMetricsResponse
|
2557
|
+
attr_accessor metric_results: ::Array[Types::ContactMetricResult]
|
2558
|
+
attr_accessor id: ::String
|
2559
|
+
attr_accessor arn: ::String
|
2560
|
+
SENSITIVE: []
|
2561
|
+
end
|
2562
|
+
|
2526
2563
|
class GetCurrentMetricDataRequest
|
2527
2564
|
attr_accessor instance_id: ::String
|
2528
2565
|
attr_accessor filters: Types::Filters
|
@@ -6247,6 +6284,7 @@ module Aws::Connect
|
|
6247
6284
|
attr_accessor or_conditions: ::Array[Types::UserHierarchyGroupSearchCriteria]
|
6248
6285
|
attr_accessor and_conditions: ::Array[Types::UserHierarchyGroupSearchCriteria]
|
6249
6286
|
attr_accessor string_condition: Types::StringCondition
|
6287
|
+
attr_accessor hierarchy_group_condition: Types::HierarchyGroupCondition
|
6250
6288
|
SENSITIVE: []
|
6251
6289
|
end
|
6252
6290
|
|