aws-sdk-connect 1.235.0 → 1.237.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 +698 -4
- data/lib/aws-sdk-connect/client_api.rb +457 -0
- data/lib/aws-sdk-connect/errors.rb +16 -0
- data/lib/aws-sdk-connect/types.rb +1030 -20
- data/lib/aws-sdk-connect.rb +1 -1
- data/sig/client.rbs +235 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +284 -3
- metadata +3 -3
data/lib/aws-sdk-connect.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -943,6 +943,17 @@ module Aws
|
|
|
943
943
|
?client_token: ::String,
|
|
944
944
|
?as_draft: bool,
|
|
945
945
|
?tags: Hash[::String, ::String],
|
|
946
|
+
?review_configuration: {
|
|
947
|
+
review_notification_recipients: Array[
|
|
948
|
+
{
|
|
949
|
+
type: ("USER_ID"),
|
|
950
|
+
value: {
|
|
951
|
+
user_id: ::String?
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
],
|
|
955
|
+
eligibility_days: ::Integer?
|
|
956
|
+
},
|
|
946
957
|
?target_configuration: {
|
|
947
958
|
contact_interaction_type: ("AGENT" | "AUTOMATED")
|
|
948
959
|
},
|
|
@@ -1451,6 +1462,34 @@ module Aws
|
|
|
1451
1462
|
) -> _CreateTaskTemplateResponseSuccess
|
|
1452
1463
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTaskTemplateResponseSuccess
|
|
1453
1464
|
|
|
1465
|
+
interface _CreateTestCaseResponseSuccess
|
|
1466
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTestCaseResponse]
|
|
1467
|
+
def test_case_id: () -> ::String
|
|
1468
|
+
def test_case_arn: () -> ::String
|
|
1469
|
+
end
|
|
1470
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#create_test_case-instance_method
|
|
1471
|
+
def create_test_case: (
|
|
1472
|
+
instance_id: ::String,
|
|
1473
|
+
name: ::String,
|
|
1474
|
+
?description: ::String,
|
|
1475
|
+
content: ::String,
|
|
1476
|
+
?entry_point: {
|
|
1477
|
+
type: ("VOICE_CALL")?,
|
|
1478
|
+
voice_call_entry_point_parameters: {
|
|
1479
|
+
source_phone_number: ::String?,
|
|
1480
|
+
destination_phone_number: ::String?,
|
|
1481
|
+
flow_id: ::String?
|
|
1482
|
+
}?
|
|
1483
|
+
},
|
|
1484
|
+
?initialization_data: ::String,
|
|
1485
|
+
?status: ("PUBLISHED" | "SAVED"),
|
|
1486
|
+
?test_case_id: ::String,
|
|
1487
|
+
?tags: Hash[::String, ::String],
|
|
1488
|
+
?last_modified_time: ::Time,
|
|
1489
|
+
?last_modified_region: ::String
|
|
1490
|
+
) -> _CreateTestCaseResponseSuccess
|
|
1491
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTestCaseResponseSuccess
|
|
1492
|
+
|
|
1454
1493
|
interface _CreateTrafficDistributionGroupResponseSuccess
|
|
1455
1494
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTrafficDistributionGroupResponse]
|
|
1456
1495
|
def id: () -> ::String
|
|
@@ -1910,6 +1949,16 @@ module Aws
|
|
|
1910
1949
|
) -> _DeleteTaskTemplateResponseSuccess
|
|
1911
1950
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTaskTemplateResponseSuccess
|
|
1912
1951
|
|
|
1952
|
+
interface _DeleteTestCaseResponseSuccess
|
|
1953
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTestCaseResponse]
|
|
1954
|
+
end
|
|
1955
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#delete_test_case-instance_method
|
|
1956
|
+
def delete_test_case: (
|
|
1957
|
+
instance_id: ::String,
|
|
1958
|
+
test_case_id: ::String
|
|
1959
|
+
) -> _DeleteTestCaseResponseSuccess
|
|
1960
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTestCaseResponseSuccess
|
|
1961
|
+
|
|
1913
1962
|
interface _DeleteTrafficDistributionGroupResponseSuccess
|
|
1914
1963
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTrafficDistributionGroupResponse]
|
|
1915
1964
|
end
|
|
@@ -2284,6 +2333,18 @@ module Aws
|
|
|
2284
2333
|
) -> _DescribeSecurityProfileResponseSuccess
|
|
2285
2334
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSecurityProfileResponseSuccess
|
|
2286
2335
|
|
|
2336
|
+
interface _DescribeTestCaseResponseSuccess
|
|
2337
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTestCaseResponse]
|
|
2338
|
+
def test_case: () -> Types::TestCase
|
|
2339
|
+
end
|
|
2340
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#describe_test_case-instance_method
|
|
2341
|
+
def describe_test_case: (
|
|
2342
|
+
instance_id: ::String,
|
|
2343
|
+
test_case_id: ::String,
|
|
2344
|
+
?status: ("PUBLISHED" | "SAVED")
|
|
2345
|
+
) -> _DescribeTestCaseResponseSuccess
|
|
2346
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTestCaseResponseSuccess
|
|
2347
|
+
|
|
2287
2348
|
interface _DescribeTrafficDistributionGroupResponseSuccess
|
|
2288
2349
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTrafficDistributionGroupResponse]
|
|
2289
2350
|
def traffic_distribution_group: () -> Types::TrafficDistributionGroup
|
|
@@ -2854,6 +2915,21 @@ module Aws
|
|
|
2854
2915
|
) -> _GetTaskTemplateResponseSuccess
|
|
2855
2916
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTaskTemplateResponseSuccess
|
|
2856
2917
|
|
|
2918
|
+
interface _GetTestCaseExecutionSummaryResponseSuccess
|
|
2919
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTestCaseExecutionSummaryResponse]
|
|
2920
|
+
def start_time: () -> ::Time
|
|
2921
|
+
def end_time: () -> ::Time
|
|
2922
|
+
def status: () -> ("INITIATED" | "PASSED" | "FAILED" | "IN_PROGRESS" | "STOPPED")
|
|
2923
|
+
def observation_summary: () -> Types::ObservationSummary
|
|
2924
|
+
end
|
|
2925
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#get_test_case_execution_summary-instance_method
|
|
2926
|
+
def get_test_case_execution_summary: (
|
|
2927
|
+
instance_id: ::String,
|
|
2928
|
+
test_case_id: ::String,
|
|
2929
|
+
test_case_execution_id: ::String
|
|
2930
|
+
) -> _GetTestCaseExecutionSummaryResponseSuccess
|
|
2931
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTestCaseExecutionSummaryResponseSuccess
|
|
2932
|
+
|
|
2857
2933
|
interface _GetTrafficDistributionResponseSuccess
|
|
2858
2934
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTrafficDistributionResponse]
|
|
2859
2935
|
def telephony_config: () -> Types::TelephonyConfig
|
|
@@ -3631,6 +3707,53 @@ module Aws
|
|
|
3631
3707
|
) -> _ListTaskTemplatesResponseSuccess
|
|
3632
3708
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTaskTemplatesResponseSuccess
|
|
3633
3709
|
|
|
3710
|
+
interface _ListTestCaseExecutionRecordsResponseSuccess
|
|
3711
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTestCaseExecutionRecordsResponse]
|
|
3712
|
+
def execution_records: () -> ::Array[Types::ExecutionRecord]
|
|
3713
|
+
def next_token: () -> ::String
|
|
3714
|
+
end
|
|
3715
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#list_test_case_execution_records-instance_method
|
|
3716
|
+
def list_test_case_execution_records: (
|
|
3717
|
+
instance_id: ::String,
|
|
3718
|
+
test_case_id: ::String,
|
|
3719
|
+
test_case_execution_id: ::String,
|
|
3720
|
+
?status: ("INITIATED" | "PASSED" | "FAILED" | "IN_PROGRESS" | "STOPPED"),
|
|
3721
|
+
?next_token: ::String,
|
|
3722
|
+
?max_results: ::Integer
|
|
3723
|
+
) -> _ListTestCaseExecutionRecordsResponseSuccess
|
|
3724
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTestCaseExecutionRecordsResponseSuccess
|
|
3725
|
+
|
|
3726
|
+
interface _ListTestCaseExecutionsResponseSuccess
|
|
3727
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTestCaseExecutionsResponse]
|
|
3728
|
+
def test_case_executions: () -> ::Array[Types::TestCaseExecution]
|
|
3729
|
+
def next_token: () -> ::String
|
|
3730
|
+
end
|
|
3731
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#list_test_case_executions-instance_method
|
|
3732
|
+
def list_test_case_executions: (
|
|
3733
|
+
instance_id: ::String,
|
|
3734
|
+
?test_case_id: ::String,
|
|
3735
|
+
?test_case_name: ::String,
|
|
3736
|
+
?start_time: ::Time,
|
|
3737
|
+
?end_time: ::Time,
|
|
3738
|
+
?status: ("INITIATED" | "PASSED" | "FAILED" | "IN_PROGRESS" | "STOPPED"),
|
|
3739
|
+
?next_token: ::String,
|
|
3740
|
+
?max_results: ::Integer
|
|
3741
|
+
) -> _ListTestCaseExecutionsResponseSuccess
|
|
3742
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTestCaseExecutionsResponseSuccess
|
|
3743
|
+
|
|
3744
|
+
interface _ListTestCasesResponseSuccess
|
|
3745
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTestCasesResponse]
|
|
3746
|
+
def test_case_summary_list: () -> ::Array[Types::TestCaseSummary]
|
|
3747
|
+
def next_token: () -> ::String
|
|
3748
|
+
end
|
|
3749
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#list_test_cases-instance_method
|
|
3750
|
+
def list_test_cases: (
|
|
3751
|
+
instance_id: ::String,
|
|
3752
|
+
?next_token: ::String,
|
|
3753
|
+
?max_results: ::Integer
|
|
3754
|
+
) -> _ListTestCasesResponseSuccess
|
|
3755
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTestCasesResponseSuccess
|
|
3756
|
+
|
|
3634
3757
|
interface _ListTrafficDistributionGroupUsersResponseSuccess
|
|
3635
3758
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTrafficDistributionGroupUsersResponse]
|
|
3636
3759
|
def next_token: () -> ::String
|
|
@@ -4807,6 +4930,56 @@ module Aws
|
|
|
4807
4930
|
) -> _SearchSecurityProfilesResponseSuccess
|
|
4808
4931
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchSecurityProfilesResponseSuccess
|
|
4809
4932
|
|
|
4933
|
+
interface _SearchTestCasesResponseSuccess
|
|
4934
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SearchTestCasesResponse]
|
|
4935
|
+
def test_cases: () -> ::Array[Types::TestCase]
|
|
4936
|
+
def next_token: () -> ::String
|
|
4937
|
+
def approximate_total_count: () -> ::Integer
|
|
4938
|
+
end
|
|
4939
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#search_test_cases-instance_method
|
|
4940
|
+
def search_test_cases: (
|
|
4941
|
+
instance_id: ::String,
|
|
4942
|
+
?next_token: ::String,
|
|
4943
|
+
?max_results: ::Integer,
|
|
4944
|
+
?search_filter: {
|
|
4945
|
+
tag_filter: {
|
|
4946
|
+
or_conditions: Array[
|
|
4947
|
+
Array[
|
|
4948
|
+
{
|
|
4949
|
+
tag_key: ::String?,
|
|
4950
|
+
tag_value: ::String?
|
|
4951
|
+
},
|
|
4952
|
+
],
|
|
4953
|
+
]?,
|
|
4954
|
+
and_conditions: Array[
|
|
4955
|
+
{
|
|
4956
|
+
tag_key: ::String?,
|
|
4957
|
+
tag_value: ::String?
|
|
4958
|
+
},
|
|
4959
|
+
]?,
|
|
4960
|
+
tag_condition: {
|
|
4961
|
+
tag_key: ::String?,
|
|
4962
|
+
tag_value: ::String?
|
|
4963
|
+
}?
|
|
4964
|
+
}?
|
|
4965
|
+
},
|
|
4966
|
+
?search_criteria: {
|
|
4967
|
+
or_conditions: Array[
|
|
4968
|
+
untyped,
|
|
4969
|
+
]?,
|
|
4970
|
+
and_conditions: Array[
|
|
4971
|
+
untyped,
|
|
4972
|
+
]?,
|
|
4973
|
+
string_condition: {
|
|
4974
|
+
field_name: ::String?,
|
|
4975
|
+
value: ::String?,
|
|
4976
|
+
comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
|
|
4977
|
+
}?,
|
|
4978
|
+
status_condition: ("PUBLISHED" | "SAVED")?
|
|
4979
|
+
}
|
|
4980
|
+
) -> _SearchTestCasesResponseSuccess
|
|
4981
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchTestCasesResponseSuccess
|
|
4982
|
+
|
|
4810
4983
|
interface _SearchUserHierarchyGroupsResponseSuccess
|
|
4811
4984
|
include ::Seahorse::Client::_ResponseSuccess[Types::SearchUserHierarchyGroupsResponse]
|
|
4812
4985
|
def user_hierarchy_groups: () -> ::Array[Types::HierarchyGroup]
|
|
@@ -5600,6 +5773,20 @@ module Aws
|
|
|
5600
5773
|
) -> _StartTaskContactResponseSuccess
|
|
5601
5774
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTaskContactResponseSuccess
|
|
5602
5775
|
|
|
5776
|
+
interface _StartTestCaseExecutionResponseSuccess
|
|
5777
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartTestCaseExecutionResponse]
|
|
5778
|
+
def test_case_execution_id: () -> ::String
|
|
5779
|
+
def test_case_id: () -> ::String
|
|
5780
|
+
def status: () -> ("INITIATED" | "PASSED" | "FAILED" | "IN_PROGRESS" | "STOPPED")
|
|
5781
|
+
end
|
|
5782
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#start_test_case_execution-instance_method
|
|
5783
|
+
def start_test_case_execution: (
|
|
5784
|
+
instance_id: ::String,
|
|
5785
|
+
test_case_id: ::String,
|
|
5786
|
+
?client_token: ::String
|
|
5787
|
+
) -> _StartTestCaseExecutionResponseSuccess
|
|
5788
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTestCaseExecutionResponseSuccess
|
|
5789
|
+
|
|
5603
5790
|
interface _StartWebRTCContactResponseSuccess
|
|
5604
5791
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartWebRTCContactResponse]
|
|
5605
5792
|
def connection_data: () -> Types::ConnectionData
|
|
@@ -5684,6 +5871,18 @@ module Aws
|
|
|
5684
5871
|
) -> _StopContactStreamingResponseSuccess
|
|
5685
5872
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopContactStreamingResponseSuccess
|
|
5686
5873
|
|
|
5874
|
+
interface _StopTestCaseExecutionResponseSuccess
|
|
5875
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopTestCaseExecutionResponse]
|
|
5876
|
+
end
|
|
5877
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#stop_test_case_execution-instance_method
|
|
5878
|
+
def stop_test_case_execution: (
|
|
5879
|
+
instance_id: ::String,
|
|
5880
|
+
test_case_execution_id: ::String,
|
|
5881
|
+
test_case_id: ::String,
|
|
5882
|
+
?client_token: ::String
|
|
5883
|
+
) -> _StopTestCaseExecutionResponseSuccess
|
|
5884
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopTestCaseExecutionResponseSuccess
|
|
5885
|
+
|
|
5687
5886
|
interface _SubmitContactEvaluationResponseSuccess
|
|
5688
5887
|
include ::Seahorse::Client::_ResponseSuccess[Types::SubmitContactEvaluationResponse]
|
|
5689
5888
|
def evaluation_id: () -> ::String
|
|
@@ -6268,6 +6467,17 @@ module Aws
|
|
|
6268
6467
|
?auto_evaluation_configuration: {
|
|
6269
6468
|
enabled: bool
|
|
6270
6469
|
},
|
|
6470
|
+
?review_configuration: {
|
|
6471
|
+
review_notification_recipients: Array[
|
|
6472
|
+
{
|
|
6473
|
+
type: ("USER_ID"),
|
|
6474
|
+
value: {
|
|
6475
|
+
user_id: ::String?
|
|
6476
|
+
}
|
|
6477
|
+
},
|
|
6478
|
+
],
|
|
6479
|
+
eligibility_days: ::Integer?
|
|
6480
|
+
},
|
|
6271
6481
|
?as_draft: bool,
|
|
6272
6482
|
?client_token: ::String,
|
|
6273
6483
|
?target_configuration: {
|
|
@@ -6823,6 +7033,31 @@ module Aws
|
|
|
6823
7033
|
) -> _UpdateTaskTemplateResponseSuccess
|
|
6824
7034
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTaskTemplateResponseSuccess
|
|
6825
7035
|
|
|
7036
|
+
interface _UpdateTestCaseResponseSuccess
|
|
7037
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTestCaseResponse]
|
|
7038
|
+
end
|
|
7039
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#update_test_case-instance_method
|
|
7040
|
+
def update_test_case: (
|
|
7041
|
+
instance_id: ::String,
|
|
7042
|
+
test_case_id: ::String,
|
|
7043
|
+
?content: ::String,
|
|
7044
|
+
?entry_point: {
|
|
7045
|
+
type: ("VOICE_CALL")?,
|
|
7046
|
+
voice_call_entry_point_parameters: {
|
|
7047
|
+
source_phone_number: ::String?,
|
|
7048
|
+
destination_phone_number: ::String?,
|
|
7049
|
+
flow_id: ::String?
|
|
7050
|
+
}?
|
|
7051
|
+
},
|
|
7052
|
+
?initialization_data: ::String,
|
|
7053
|
+
?name: ::String,
|
|
7054
|
+
?description: ::String,
|
|
7055
|
+
?status: ("PUBLISHED" | "SAVED"),
|
|
7056
|
+
?last_modified_time: ::Time,
|
|
7057
|
+
?last_modified_region: ::String
|
|
7058
|
+
) -> _UpdateTestCaseResponseSuccess
|
|
7059
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTestCaseResponseSuccess
|
|
7060
|
+
|
|
6826
7061
|
interface _UpdateTrafficDistributionResponseSuccess
|
|
6827
7062
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTrafficDistributionResponse]
|
|
6828
7063
|
end
|
data/sig/errors.rbs
CHANGED
|
@@ -54,6 +54,9 @@ module Aws
|
|
|
54
54
|
def message: () -> ::String
|
|
55
55
|
def reason: () -> ::String
|
|
56
56
|
end
|
|
57
|
+
class InvalidTestCaseException < ::Aws::Errors::ServiceError
|
|
58
|
+
def problems: () -> ::String
|
|
59
|
+
end
|
|
57
60
|
class LimitExceededException < ::Aws::Errors::ServiceError
|
|
58
61
|
def message: () -> ::String
|
|
59
62
|
end
|