aws-sdk-connect 1.209.0 → 1.211.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +531 -255
- data/lib/aws-sdk-connect/client_api.rb +49 -0
- data/lib/aws-sdk-connect/types.rb +758 -220
- data/lib/aws-sdk-connect.rb +1 -1
- data/sig/client.rbs +18 -0
- data/sig/types.rbs +36 -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
|
data/sig/types.rbs
CHANGED
@@ -788,6 +788,28 @@ module Aws::Connect
|
|
788
788
|
SENSITIVE: []
|
789
789
|
end
|
790
790
|
|
791
|
+
class ContactMetricInfo
|
792
|
+
attr_accessor name: ("POSITION_IN_QUEUE")
|
793
|
+
SENSITIVE: []
|
794
|
+
end
|
795
|
+
|
796
|
+
class ContactMetricResult
|
797
|
+
attr_accessor name: ("POSITION_IN_QUEUE")
|
798
|
+
attr_accessor value: Types::ContactMetricValue
|
799
|
+
SENSITIVE: []
|
800
|
+
end
|
801
|
+
|
802
|
+
class ContactMetricValue
|
803
|
+
attr_accessor number: ::Float
|
804
|
+
attr_accessor unknown: untyped
|
805
|
+
SENSITIVE: []
|
806
|
+
|
807
|
+
class Number < ContactMetricValue
|
808
|
+
end
|
809
|
+
class Unknown < ContactMetricValue
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
791
813
|
class ContactNotFoundException
|
792
814
|
attr_accessor message: ::String
|
793
815
|
SENSITIVE: []
|
@@ -2523,6 +2545,20 @@ module Aws::Connect
|
|
2523
2545
|
SENSITIVE: []
|
2524
2546
|
end
|
2525
2547
|
|
2548
|
+
class GetContactMetricsRequest
|
2549
|
+
attr_accessor instance_id: ::String
|
2550
|
+
attr_accessor contact_id: ::String
|
2551
|
+
attr_accessor metrics: ::Array[Types::ContactMetricInfo]
|
2552
|
+
SENSITIVE: []
|
2553
|
+
end
|
2554
|
+
|
2555
|
+
class GetContactMetricsResponse
|
2556
|
+
attr_accessor metric_results: ::Array[Types::ContactMetricResult]
|
2557
|
+
attr_accessor id: ::String
|
2558
|
+
attr_accessor arn: ::String
|
2559
|
+
SENSITIVE: []
|
2560
|
+
end
|
2561
|
+
|
2526
2562
|
class GetCurrentMetricDataRequest
|
2527
2563
|
attr_accessor instance_id: ::String
|
2528
2564
|
attr_accessor filters: Types::Filters
|