aws-sdk-connect 1.142.0 → 1.145.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +906 -34
- data/lib/aws-sdk-connect/client_api.rb +630 -0
- data/lib/aws-sdk-connect/endpoints.rb +224 -0
- data/lib/aws-sdk-connect/errors.rb +16 -0
- data/lib/aws-sdk-connect/plugins/endpoints.rb +32 -0
- data/lib/aws-sdk-connect/types.rb +1333 -48
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
@@ -1013,6 +1013,43 @@ module Aws::Connect
|
|
1013
1013
|
req.send_request(options)
|
1014
1014
|
end
|
1015
1015
|
|
1016
|
+
# >Associates a set of proficiencies with a user.
|
1017
|
+
#
|
1018
|
+
# @option params [required, String] :instance_id
|
1019
|
+
# The identifier of the Amazon Connect instance. You can find the
|
1020
|
+
# instance ID in the Amazon Resource Name (ARN of the instance).
|
1021
|
+
#
|
1022
|
+
# @option params [required, String] :user_id
|
1023
|
+
# The identifier of the user account.
|
1024
|
+
#
|
1025
|
+
# @option params [required, Array<Types::UserProficiency>] :user_proficiencies
|
1026
|
+
# The proficiencies to associate with the user.
|
1027
|
+
#
|
1028
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1029
|
+
#
|
1030
|
+
# @example Request syntax with placeholder values
|
1031
|
+
#
|
1032
|
+
# resp = client.associate_user_proficiencies({
|
1033
|
+
# instance_id: "InstanceId", # required
|
1034
|
+
# user_id: "UserId", # required
|
1035
|
+
# user_proficiencies: [ # required
|
1036
|
+
# {
|
1037
|
+
# attribute_name: "PredefinedAttributeName", # required
|
1038
|
+
# attribute_value: "PredefinedAttributeStringValue", # required
|
1039
|
+
# level: 1.0, # required
|
1040
|
+
# },
|
1041
|
+
# ],
|
1042
|
+
# })
|
1043
|
+
#
|
1044
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateUserProficiencies AWS API Documentation
|
1045
|
+
#
|
1046
|
+
# @overload associate_user_proficiencies(params = {})
|
1047
|
+
# @param [Hash] params ({})
|
1048
|
+
def associate_user_proficiencies(params = {}, options = {})
|
1049
|
+
req = build_request(:associate_user_proficiencies, params)
|
1050
|
+
req.send_request(options)
|
1051
|
+
end
|
1052
|
+
|
1016
1053
|
# This API is in preview release for Amazon Connect and is subject to
|
1017
1054
|
# change.
|
1018
1055
|
#
|
@@ -1324,7 +1361,7 @@ module Aws::Connect
|
|
1324
1361
|
#
|
1325
1362
|
# @option params [Hash<String,String>] :tags
|
1326
1363
|
# The tags used to organize, track, or control access for this resource.
|
1327
|
-
# For example, \\\{ "
|
1364
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
1328
1365
|
# "key2":"value2"\\} \\}.
|
1329
1366
|
#
|
1330
1367
|
# @option params [String] :client_token
|
@@ -1402,7 +1439,7 @@ module Aws::Connect
|
|
1402
1439
|
#
|
1403
1440
|
# @option params [Hash<String,String>] :tags
|
1404
1441
|
# The tags used to organize, track, or control access for this resource.
|
1405
|
-
# For example, \\\{ "
|
1442
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
1406
1443
|
# "key2":"value2"\\} \\}.
|
1407
1444
|
#
|
1408
1445
|
# @return [Types::CreateAgentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1475,7 +1512,7 @@ module Aws::Connect
|
|
1475
1512
|
#
|
1476
1513
|
# @option params [Hash<String,String>] :tags
|
1477
1514
|
# The tags used to organize, track, or control access for this resource.
|
1478
|
-
# For example, \\\{ "
|
1515
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
1479
1516
|
# "key2":"value2"\\} \\}.
|
1480
1517
|
#
|
1481
1518
|
# @return [Types::CreateContactFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1536,7 +1573,7 @@ module Aws::Connect
|
|
1536
1573
|
#
|
1537
1574
|
# @option params [Hash<String,String>] :tags
|
1538
1575
|
# The tags used to organize, track, or control access for this resource.
|
1539
|
-
# For example, \\\{ "
|
1576
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
1540
1577
|
# "key2":"value2"\\} \\}.
|
1541
1578
|
#
|
1542
1579
|
# @option params [String] :client_token
|
@@ -1747,7 +1784,7 @@ module Aws::Connect
|
|
1747
1784
|
#
|
1748
1785
|
# @option params [Hash<String,String>] :tags
|
1749
1786
|
# The tags used to organize, track, or control access for this resource.
|
1750
|
-
# For example, \\\{ "
|
1787
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
1751
1788
|
# "key2":"value2"\\} \\}.
|
1752
1789
|
#
|
1753
1790
|
# @return [Types::CreateHoursOfOperationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1900,7 +1937,7 @@ module Aws::Connect
|
|
1900
1937
|
#
|
1901
1938
|
# @option params [Hash<String,String>] :tags
|
1902
1939
|
# The tags used to organize, track, or control access for this resource.
|
1903
|
-
# For example, \\\{ "
|
1940
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
1904
1941
|
# "key2":"value2"\\} \\}.
|
1905
1942
|
#
|
1906
1943
|
# @return [Types::CreateIntegrationAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1916,7 +1953,7 @@ module Aws::Connect
|
|
1916
1953
|
# integration_arn: "ARN", # required
|
1917
1954
|
# source_application_url: "URI",
|
1918
1955
|
# source_application_name: "SourceApplicationName",
|
1919
|
-
# source_type: "SALESFORCE", # accepts SALESFORCE, ZENDESK
|
1956
|
+
# source_type: "SALESFORCE", # accepts SALESFORCE, ZENDESK, CASES
|
1920
1957
|
# tags: {
|
1921
1958
|
# "TagKey" => "TagValue",
|
1922
1959
|
# },
|
@@ -2133,6 +2170,40 @@ module Aws::Connect
|
|
2133
2170
|
req.send_request(options)
|
2134
2171
|
end
|
2135
2172
|
|
2173
|
+
# Creates a new predefined attribute for the specified Amazon Connect
|
2174
|
+
# instance.
|
2175
|
+
#
|
2176
|
+
# @option params [required, String] :instance_id
|
2177
|
+
# The identifier of the Amazon Connect instance. You can find the
|
2178
|
+
# instance ID in the Amazon Resource Name (ARN) of the instance.
|
2179
|
+
#
|
2180
|
+
# @option params [required, String] :name
|
2181
|
+
# The name of the predefined attribute.
|
2182
|
+
#
|
2183
|
+
# @option params [required, Types::PredefinedAttributeValues] :values
|
2184
|
+
# The values of the predefined attribute.
|
2185
|
+
#
|
2186
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2187
|
+
#
|
2188
|
+
# @example Request syntax with placeholder values
|
2189
|
+
#
|
2190
|
+
# resp = client.create_predefined_attribute({
|
2191
|
+
# instance_id: "InstanceId", # required
|
2192
|
+
# name: "PredefinedAttributeName", # required
|
2193
|
+
# values: { # required
|
2194
|
+
# string_list: ["PredefinedAttributeStringValue"],
|
2195
|
+
# },
|
2196
|
+
# })
|
2197
|
+
#
|
2198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreatePredefinedAttribute AWS API Documentation
|
2199
|
+
#
|
2200
|
+
# @overload create_predefined_attribute(params = {})
|
2201
|
+
# @param [Hash] params ({})
|
2202
|
+
def create_predefined_attribute(params = {}, options = {})
|
2203
|
+
req = build_request(:create_predefined_attribute, params)
|
2204
|
+
req.send_request(options)
|
2205
|
+
end
|
2206
|
+
|
2136
2207
|
# Creates a prompt. For more information about prompts, such as
|
2137
2208
|
# supported file types and maximum length, see [Create prompts][1] in
|
2138
2209
|
# the *Amazon Connect Administrator's Guide*.
|
@@ -2166,7 +2237,7 @@ module Aws::Connect
|
|
2166
2237
|
#
|
2167
2238
|
# @option params [Hash<String,String>] :tags
|
2168
2239
|
# The tags used to organize, track, or control access for this resource.
|
2169
|
-
# For example, \\\{ "
|
2240
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
2170
2241
|
# "key2":"value2"\\} \\}.
|
2171
2242
|
#
|
2172
2243
|
# @return [Types::CreatePromptResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2261,7 +2332,7 @@ module Aws::Connect
|
|
2261
2332
|
#
|
2262
2333
|
# @option params [Hash<String,String>] :tags
|
2263
2334
|
# The tags used to organize, track, or control access for this resource.
|
2264
|
-
# For example, \\\{ "
|
2335
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
2265
2336
|
# "key2":"value2"\\} \\}.
|
2266
2337
|
#
|
2267
2338
|
# @return [Types::CreateQueueResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2323,7 +2394,7 @@ module Aws::Connect
|
|
2323
2394
|
#
|
2324
2395
|
# @option params [Hash<String,String>] :tags
|
2325
2396
|
# The tags used to organize, track, or control access for this resource.
|
2326
|
-
# For example, \\\{ "
|
2397
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
2327
2398
|
# "key2":"value2"\\} \\}.
|
2328
2399
|
#
|
2329
2400
|
# @return [Types::CreateQuickConnectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2410,7 +2481,7 @@ module Aws::Connect
|
|
2410
2481
|
#
|
2411
2482
|
# @option params [Hash<String,String>] :tags
|
2412
2483
|
# The tags used to organize, track, or control access for this resource.
|
2413
|
-
# For example, \\\{ "
|
2484
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
2414
2485
|
# "key2":"value2"\\} \\}.
|
2415
2486
|
#
|
2416
2487
|
# @option params [String] :agent_availability_timer
|
@@ -2524,13 +2595,13 @@ module Aws::Connect
|
|
2524
2595
|
# instance_id: "InstanceId", # required
|
2525
2596
|
# name: "RuleName", # required
|
2526
2597
|
# trigger_event_source: { # required
|
2527
|
-
# event_source_name: "OnPostCallAnalysisAvailable", # required, accepts OnPostCallAnalysisAvailable, OnRealTimeCallAnalysisAvailable, OnRealTimeChatAnalysisAvailable, OnPostChatAnalysisAvailable, OnZendeskTicketCreate, OnZendeskTicketStatusUpdate, OnSalesforceCaseCreate, OnContactEvaluationSubmit, OnMetricDataUpdate
|
2598
|
+
# event_source_name: "OnPostCallAnalysisAvailable", # required, accepts OnPostCallAnalysisAvailable, OnRealTimeCallAnalysisAvailable, OnRealTimeChatAnalysisAvailable, OnPostChatAnalysisAvailable, OnZendeskTicketCreate, OnZendeskTicketStatusUpdate, OnSalesforceCaseCreate, OnContactEvaluationSubmit, OnMetricDataUpdate, OnCaseCreate, OnCaseUpdate
|
2528
2599
|
# integration_association_id: "IntegrationAssociationId",
|
2529
2600
|
# },
|
2530
2601
|
# function: "RuleFunction", # required
|
2531
2602
|
# actions: [ # required
|
2532
2603
|
# {
|
2533
|
-
# action_type: "CREATE_TASK", # required, accepts CREATE_TASK, ASSIGN_CONTACT_CATEGORY, GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION
|
2604
|
+
# action_type: "CREATE_TASK", # required, accepts CREATE_TASK, ASSIGN_CONTACT_CATEGORY, GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE, END_ASSOCIATED_TASKS
|
2534
2605
|
# task_action: {
|
2535
2606
|
# name: "TaskNameExpression", # required
|
2536
2607
|
# description: "TaskDescriptionExpression",
|
@@ -2559,6 +2630,37 @@ module Aws::Connect
|
|
2559
2630
|
# user_ids: ["UserId"],
|
2560
2631
|
# },
|
2561
2632
|
# },
|
2633
|
+
# create_case_action: {
|
2634
|
+
# fields: [ # required
|
2635
|
+
# {
|
2636
|
+
# id: "FieldValueId", # required
|
2637
|
+
# value: { # required
|
2638
|
+
# boolean_value: false,
|
2639
|
+
# double_value: 1.0,
|
2640
|
+
# empty_value: {
|
2641
|
+
# },
|
2642
|
+
# string_value: "FieldStringValue",
|
2643
|
+
# },
|
2644
|
+
# },
|
2645
|
+
# ],
|
2646
|
+
# template_id: "TemplateId", # required
|
2647
|
+
# },
|
2648
|
+
# update_case_action: {
|
2649
|
+
# fields: [ # required
|
2650
|
+
# {
|
2651
|
+
# id: "FieldValueId", # required
|
2652
|
+
# value: { # required
|
2653
|
+
# boolean_value: false,
|
2654
|
+
# double_value: 1.0,
|
2655
|
+
# empty_value: {
|
2656
|
+
# },
|
2657
|
+
# string_value: "FieldStringValue",
|
2658
|
+
# },
|
2659
|
+
# },
|
2660
|
+
# ],
|
2661
|
+
# },
|
2662
|
+
# end_associated_tasks_action: {
|
2663
|
+
# },
|
2562
2664
|
# },
|
2563
2665
|
# ],
|
2564
2666
|
# publish_status: "DRAFT", # required, accepts DRAFT, PUBLISHED
|
@@ -2605,7 +2707,7 @@ module Aws::Connect
|
|
2605
2707
|
#
|
2606
2708
|
# @option params [Hash<String,String>] :tags
|
2607
2709
|
# The tags used to organize, track, or control access for this resource.
|
2608
|
-
# For example, \\\{ "
|
2710
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
2609
2711
|
# "key2":"value2"\\} \\}.
|
2610
2712
|
#
|
2611
2713
|
# @option params [Hash<String,String>] :allowed_access_control_tags
|
@@ -2833,7 +2935,7 @@ module Aws::Connect
|
|
2833
2935
|
#
|
2834
2936
|
# @option params [Hash<String,String>] :tags
|
2835
2937
|
# The tags used to organize, track, or control access for this resource.
|
2836
|
-
# For example, \\\{ "
|
2938
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
2837
2939
|
# "key2":"value2"\\} \\}.
|
2838
2940
|
#
|
2839
2941
|
# @return [Types::CreateTrafficDistributionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2886,7 +2988,7 @@ module Aws::Connect
|
|
2886
2988
|
#
|
2887
2989
|
# @option params [Hash<String,String>] :tags
|
2888
2990
|
# The tags used to organize, track, or control access for this resource.
|
2889
|
-
# For example, \\\{ "
|
2991
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
2890
2992
|
# "key2":"value2"\\} \\}.
|
2891
2993
|
#
|
2892
2994
|
# @return [Types::CreateUseCaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2984,7 +3086,7 @@ module Aws::Connect
|
|
2984
3086
|
#
|
2985
3087
|
# @option params [Hash<String,String>] :tags
|
2986
3088
|
# The tags used to organize, track, or control access for this resource.
|
2987
|
-
# For example, \\\{ "
|
3089
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
2988
3090
|
# "key2":"value2"\\} \\}.
|
2989
3091
|
#
|
2990
3092
|
# @return [Types::CreateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3054,7 +3156,7 @@ module Aws::Connect
|
|
3054
3156
|
#
|
3055
3157
|
# @option params [Hash<String,String>] :tags
|
3056
3158
|
# The tags used to organize, track, or control access for this resource.
|
3057
|
-
# For example, \\\{ "
|
3159
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
3058
3160
|
# "key2":"value2"\\} \\}.
|
3059
3161
|
#
|
3060
3162
|
# @return [Types::CreateUserHierarchyGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3296,7 +3398,7 @@ module Aws::Connect
|
|
3296
3398
|
#
|
3297
3399
|
# @option params [Hash<String,String>] :tags
|
3298
3400
|
# The tags used to organize, track, or control access for this resource.
|
3299
|
-
# For example, \\\{ "
|
3401
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
3300
3402
|
# "key2":"value2"\\} \\}.
|
3301
3403
|
#
|
3302
3404
|
# @return [Types::CreateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3619,6 +3721,34 @@ module Aws::Connect
|
|
3619
3721
|
req.send_request(options)
|
3620
3722
|
end
|
3621
3723
|
|
3724
|
+
# Deletes a predefined attribute from the specified Amazon Connect
|
3725
|
+
# instance.
|
3726
|
+
#
|
3727
|
+
# @option params [required, String] :instance_id
|
3728
|
+
# The identifier of the Amazon Connect instance. You can find the
|
3729
|
+
# instance ID in the Amazon Resource Name (ARN) of the instance.
|
3730
|
+
#
|
3731
|
+
# @option params [required, String] :name
|
3732
|
+
# The name of the predefined attribute.
|
3733
|
+
#
|
3734
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3735
|
+
#
|
3736
|
+
# @example Request syntax with placeholder values
|
3737
|
+
#
|
3738
|
+
# resp = client.delete_predefined_attribute({
|
3739
|
+
# instance_id: "InstanceId", # required
|
3740
|
+
# name: "PredefinedAttributeName", # required
|
3741
|
+
# })
|
3742
|
+
#
|
3743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeletePredefinedAttribute AWS API Documentation
|
3744
|
+
#
|
3745
|
+
# @overload delete_predefined_attribute(params = {})
|
3746
|
+
# @param [Hash] params ({})
|
3747
|
+
def delete_predefined_attribute(params = {}, options = {})
|
3748
|
+
req = build_request(:delete_predefined_attribute, params)
|
3749
|
+
req.send_request(options)
|
3750
|
+
end
|
3751
|
+
|
3622
3752
|
# Deletes a prompt.
|
3623
3753
|
#
|
3624
3754
|
# @option params [required, String] :instance_id
|
@@ -4172,12 +4302,21 @@ module Aws::Connect
|
|
4172
4302
|
# resp.contact.queue_info.enqueue_timestamp #=> Time
|
4173
4303
|
# resp.contact.agent_info.id #=> String
|
4174
4304
|
# resp.contact.agent_info.connected_to_agent_timestamp #=> Time
|
4305
|
+
# resp.contact.agent_info.agent_pause_duration_in_seconds #=> Integer
|
4175
4306
|
# resp.contact.initiation_timestamp #=> Time
|
4176
4307
|
# resp.contact.disconnect_timestamp #=> Time
|
4177
4308
|
# resp.contact.last_update_timestamp #=> Time
|
4309
|
+
# resp.contact.last_paused_timestamp #=> Time
|
4310
|
+
# resp.contact.last_resumed_timestamp #=> Time
|
4311
|
+
# resp.contact.total_pause_count #=> Integer
|
4312
|
+
# resp.contact.total_pause_duration_in_seconds #=> Integer
|
4178
4313
|
# resp.contact.scheduled_timestamp #=> Time
|
4179
4314
|
# resp.contact.related_contact_id #=> String
|
4180
4315
|
# resp.contact.wisdom_info.session_arn #=> String
|
4316
|
+
# resp.contact.queue_time_adjustment_seconds #=> Integer
|
4317
|
+
# resp.contact.queue_priority #=> Integer
|
4318
|
+
# resp.contact.tags #=> Hash
|
4319
|
+
# resp.contact.tags["ContactTagKey"] #=> String
|
4181
4320
|
#
|
4182
4321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContact AWS API Documentation
|
4183
4322
|
#
|
@@ -4728,6 +4867,44 @@ module Aws::Connect
|
|
4728
4867
|
req.send_request(options)
|
4729
4868
|
end
|
4730
4869
|
|
4870
|
+
# Describes a predefined attribute for the specified Amazon Connect
|
4871
|
+
# instance.
|
4872
|
+
#
|
4873
|
+
# @option params [required, String] :instance_id
|
4874
|
+
# The identifier of the Amazon Connect instance. You can find the
|
4875
|
+
# instance ID in the Amazon Resource Name (ARN) of the instance.
|
4876
|
+
#
|
4877
|
+
# @option params [required, String] :name
|
4878
|
+
# The name of the predefined attribute.
|
4879
|
+
#
|
4880
|
+
# @return [Types::DescribePredefinedAttributeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4881
|
+
#
|
4882
|
+
# * {Types::DescribePredefinedAttributeResponse#predefined_attribute #predefined_attribute} => Types::PredefinedAttribute
|
4883
|
+
#
|
4884
|
+
# @example Request syntax with placeholder values
|
4885
|
+
#
|
4886
|
+
# resp = client.describe_predefined_attribute({
|
4887
|
+
# instance_id: "InstanceId", # required
|
4888
|
+
# name: "PredefinedAttributeName", # required
|
4889
|
+
# })
|
4890
|
+
#
|
4891
|
+
# @example Response structure
|
4892
|
+
#
|
4893
|
+
# resp.predefined_attribute.name #=> String
|
4894
|
+
# resp.predefined_attribute.values.string_list #=> Array
|
4895
|
+
# resp.predefined_attribute.values.string_list[0] #=> String
|
4896
|
+
# resp.predefined_attribute.last_modified_time #=> Time
|
4897
|
+
# resp.predefined_attribute.last_modified_region #=> String
|
4898
|
+
#
|
4899
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribePredefinedAttribute AWS API Documentation
|
4900
|
+
#
|
4901
|
+
# @overload describe_predefined_attribute(params = {})
|
4902
|
+
# @param [Hash] params ({})
|
4903
|
+
def describe_predefined_attribute(params = {}, options = {})
|
4904
|
+
req = build_request(:describe_predefined_attribute, params)
|
4905
|
+
req.send_request(options)
|
4906
|
+
end
|
4907
|
+
|
4731
4908
|
# Describes the prompt.
|
4732
4909
|
#
|
4733
4910
|
# @option params [required, String] :instance_id
|
@@ -4958,11 +5135,11 @@ module Aws::Connect
|
|
4958
5135
|
# resp.rule.name #=> String
|
4959
5136
|
# resp.rule.rule_id #=> String
|
4960
5137
|
# resp.rule.rule_arn #=> String
|
4961
|
-
# resp.rule.trigger_event_source.event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate"
|
5138
|
+
# resp.rule.trigger_event_source.event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate", "OnCaseCreate", "OnCaseUpdate"
|
4962
5139
|
# resp.rule.trigger_event_source.integration_association_id #=> String
|
4963
5140
|
# resp.rule.function #=> String
|
4964
5141
|
# resp.rule.actions #=> Array
|
4965
|
-
# resp.rule.actions[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION"
|
5142
|
+
# resp.rule.actions[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION", "CREATE_CASE", "UPDATE_CASE", "END_ASSOCIATED_TASKS"
|
4966
5143
|
# resp.rule.actions[0].task_action.name #=> String
|
4967
5144
|
# resp.rule.actions[0].task_action.description #=> String
|
4968
5145
|
# resp.rule.actions[0].task_action.contact_flow_id #=> String
|
@@ -4978,6 +5155,17 @@ module Aws::Connect
|
|
4978
5155
|
# resp.rule.actions[0].send_notification_action.recipient.user_tags["String"] #=> String
|
4979
5156
|
# resp.rule.actions[0].send_notification_action.recipient.user_ids #=> Array
|
4980
5157
|
# resp.rule.actions[0].send_notification_action.recipient.user_ids[0] #=> String
|
5158
|
+
# resp.rule.actions[0].create_case_action.fields #=> Array
|
5159
|
+
# resp.rule.actions[0].create_case_action.fields[0].id #=> String
|
5160
|
+
# resp.rule.actions[0].create_case_action.fields[0].value.boolean_value #=> Boolean
|
5161
|
+
# resp.rule.actions[0].create_case_action.fields[0].value.double_value #=> Float
|
5162
|
+
# resp.rule.actions[0].create_case_action.fields[0].value.string_value #=> String
|
5163
|
+
# resp.rule.actions[0].create_case_action.template_id #=> String
|
5164
|
+
# resp.rule.actions[0].update_case_action.fields #=> Array
|
5165
|
+
# resp.rule.actions[0].update_case_action.fields[0].id #=> String
|
5166
|
+
# resp.rule.actions[0].update_case_action.fields[0].value.boolean_value #=> Boolean
|
5167
|
+
# resp.rule.actions[0].update_case_action.fields[0].value.double_value #=> Float
|
5168
|
+
# resp.rule.actions[0].update_case_action.fields[0].value.string_value #=> String
|
4981
5169
|
# resp.rule.publish_status #=> String, one of "DRAFT", "PUBLISHED"
|
4982
5170
|
# resp.rule.created_time #=> Time
|
4983
5171
|
# resp.rule.last_updated_time #=> Time
|
@@ -5847,6 +6035,42 @@ module Aws::Connect
|
|
5847
6035
|
req.send_request(options)
|
5848
6036
|
end
|
5849
6037
|
|
6038
|
+
# Disassociates a set of proficiencies from a user.
|
6039
|
+
#
|
6040
|
+
# @option params [required, String] :instance_id
|
6041
|
+
# The identifier of the Amazon Connect instance. You can find the
|
6042
|
+
# instance ID in the Amazon Resource Name (ARN) of the instance.
|
6043
|
+
#
|
6044
|
+
# @option params [required, String] :user_id
|
6045
|
+
# The identifier of the user account.
|
6046
|
+
#
|
6047
|
+
# @option params [required, Array<Types::UserProficiencyDisassociate>] :user_proficiencies
|
6048
|
+
# The proficiencies to disassociate from the user.
|
6049
|
+
#
|
6050
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
6051
|
+
#
|
6052
|
+
# @example Request syntax with placeholder values
|
6053
|
+
#
|
6054
|
+
# resp = client.disassociate_user_proficiencies({
|
6055
|
+
# instance_id: "InstanceId", # required
|
6056
|
+
# user_id: "UserId", # required
|
6057
|
+
# user_proficiencies: [ # required
|
6058
|
+
# {
|
6059
|
+
# attribute_name: "PredefinedAttributeName", # required
|
6060
|
+
# attribute_value: "PredefinedAttributeStringValue", # required
|
6061
|
+
# },
|
6062
|
+
# ],
|
6063
|
+
# })
|
6064
|
+
#
|
6065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateUserProficiencies AWS API Documentation
|
6066
|
+
#
|
6067
|
+
# @overload disassociate_user_proficiencies(params = {})
|
6068
|
+
# @param [Hash] params ({})
|
6069
|
+
def disassociate_user_proficiencies(params = {}, options = {})
|
6070
|
+
req = build_request(:disassociate_user_proficiencies, params)
|
6071
|
+
req.send_request(options)
|
6072
|
+
end
|
6073
|
+
|
5850
6074
|
# Dismisses contacts from an agent’s CCP and returns the agent to an
|
5851
6075
|
# available state, which allows the agent to receive a new routed
|
5852
6076
|
# contact. Contacts can only be dismissed if they are in a `MISSED`,
|
@@ -6123,8 +6347,9 @@ module Aws::Connect
|
|
6123
6347
|
# queues: ["QueueId"],
|
6124
6348
|
# channels: ["VOICE"], # accepts VOICE, CHAT, TASK
|
6125
6349
|
# routing_profiles: ["RoutingProfileId"],
|
6350
|
+
# routing_step_expressions: ["RoutingExpression"],
|
6126
6351
|
# },
|
6127
|
-
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE
|
6352
|
+
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, ROUTING_STEP_EXPRESSION
|
6128
6353
|
# current_metrics: [ # required
|
6129
6354
|
# {
|
6130
6355
|
# name: "AGENTS_ONLINE", # accepts AGENTS_ONLINE, AGENTS_AVAILABLE, AGENTS_ON_CALL, AGENTS_NON_PRODUCTIVE, AGENTS_AFTER_CONTACT_WORK, AGENTS_ERROR, AGENTS_STAFFED, CONTACTS_IN_QUEUE, OLDEST_CONTACT_AGE, CONTACTS_SCHEDULED, AGENTS_ON_CONTACT, SLOTS_ACTIVE, SLOTS_AVAILABLE
|
@@ -6150,6 +6375,7 @@ module Aws::Connect
|
|
6150
6375
|
# resp.metric_results[0].dimensions.channel #=> String, one of "VOICE", "CHAT", "TASK"
|
6151
6376
|
# resp.metric_results[0].dimensions.routing_profile.id #=> String
|
6152
6377
|
# resp.metric_results[0].dimensions.routing_profile.arn #=> String
|
6378
|
+
# resp.metric_results[0].dimensions.routing_step_expression #=> String
|
6153
6379
|
# resp.metric_results[0].collections #=> Array
|
6154
6380
|
# resp.metric_results[0].collections[0].metric.name #=> String, one of "AGENTS_ONLINE", "AGENTS_AVAILABLE", "AGENTS_ON_CALL", "AGENTS_NON_PRODUCTIVE", "AGENTS_AFTER_CONTACT_WORK", "AGENTS_ERROR", "AGENTS_STAFFED", "CONTACTS_IN_QUEUE", "OLDEST_CONTACT_AGE", "CONTACTS_SCHEDULED", "AGENTS_ON_CONTACT", "SLOTS_ACTIVE", "SLOTS_AVAILABLE"
|
6155
6381
|
# resp.metric_results[0].collections[0].metric.unit #=> String, one of "SECONDS", "COUNT", "PERCENT"
|
@@ -6650,8 +6876,9 @@ module Aws::Connect
|
|
6650
6876
|
# queues: ["QueueId"],
|
6651
6877
|
# channels: ["VOICE"], # accepts VOICE, CHAT, TASK
|
6652
6878
|
# routing_profiles: ["RoutingProfileId"],
|
6879
|
+
# routing_step_expressions: ["RoutingExpression"],
|
6653
6880
|
# },
|
6654
|
-
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE
|
6881
|
+
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, ROUTING_STEP_EXPRESSION
|
6655
6882
|
# historical_metrics: [ # required
|
6656
6883
|
# {
|
6657
6884
|
# name: "CONTACTS_QUEUED", # accepts CONTACTS_QUEUED, CONTACTS_HANDLED, CONTACTS_ABANDONED, CONTACTS_CONSULTED, CONTACTS_AGENT_HUNG_UP_FIRST, CONTACTS_HANDLED_INCOMING, CONTACTS_HANDLED_OUTBOUND, CONTACTS_HOLD_ABANDONS, CONTACTS_TRANSFERRED_IN, CONTACTS_TRANSFERRED_OUT, CONTACTS_TRANSFERRED_IN_FROM_QUEUE, CONTACTS_TRANSFERRED_OUT_FROM_QUEUE, CONTACTS_MISSED, CALLBACK_CONTACTS_HANDLED, API_CONTACTS_HANDLED, OCCUPANCY, HANDLE_TIME, AFTER_CONTACT_WORK_TIME, QUEUED_TIME, ABANDON_TIME, QUEUE_ANSWER_TIME, HOLD_TIME, INTERACTION_TIME, INTERACTION_AND_HOLD_TIME, SERVICE_LEVEL
|
@@ -6676,6 +6903,7 @@ module Aws::Connect
|
|
6676
6903
|
# resp.metric_results[0].dimensions.channel #=> String, one of "VOICE", "CHAT", "TASK"
|
6677
6904
|
# resp.metric_results[0].dimensions.routing_profile.id #=> String
|
6678
6905
|
# resp.metric_results[0].dimensions.routing_profile.arn #=> String
|
6906
|
+
# resp.metric_results[0].dimensions.routing_step_expression #=> String
|
6679
6907
|
# resp.metric_results[0].collections #=> Array
|
6680
6908
|
# resp.metric_results[0].collections[0].metric.name #=> String, one of "CONTACTS_QUEUED", "CONTACTS_HANDLED", "CONTACTS_ABANDONED", "CONTACTS_CONSULTED", "CONTACTS_AGENT_HUNG_UP_FIRST", "CONTACTS_HANDLED_INCOMING", "CONTACTS_HANDLED_OUTBOUND", "CONTACTS_HOLD_ABANDONS", "CONTACTS_TRANSFERRED_IN", "CONTACTS_TRANSFERRED_OUT", "CONTACTS_TRANSFERRED_IN_FROM_QUEUE", "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE", "CONTACTS_MISSED", "CALLBACK_CONTACTS_HANDLED", "API_CONTACTS_HANDLED", "OCCUPANCY", "HANDLE_TIME", "AFTER_CONTACT_WORK_TIME", "QUEUED_TIME", "ABANDON_TIME", "QUEUE_ANSWER_TIME", "HOLD_TIME", "INTERACTION_TIME", "INTERACTION_AND_HOLD_TIME", "SERVICE_LEVEL"
|
6681
6909
|
# resp.metric_results[0].collections[0].metric.threshold.comparison #=> String, one of "LT"
|
@@ -6916,6 +7144,13 @@ module Aws::Connect
|
|
6916
7144
|
# Valid groupings and filters: Queue, Channel, Routing Profile, Agent,
|
6917
7145
|
# Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype
|
6918
7146
|
#
|
7147
|
+
# AVG\_ACTIVE\_TIME
|
7148
|
+
#
|
7149
|
+
# : Unit: Seconds
|
7150
|
+
#
|
7151
|
+
# Valid groupings and filters: Queue, Channel, Routing Profile, Agent,
|
7152
|
+
# Agent Hierarchy
|
7153
|
+
#
|
6919
7154
|
# AVG\_AFTER\_CONTACT\_WORK\_TIME
|
6920
7155
|
#
|
6921
7156
|
# : Unit: Seconds
|
@@ -6945,6 +7180,13 @@ module Aws::Connect
|
|
6945
7180
|
#
|
6946
7181
|
# </note>
|
6947
7182
|
#
|
7183
|
+
# AVG\_AGENT\_PAUSE\_TIME
|
7184
|
+
#
|
7185
|
+
# : Unit: Seconds
|
7186
|
+
#
|
7187
|
+
# Valid groupings and filters: Queue, Channel, Routing Profile, Agent,
|
7188
|
+
# Agent Hierarchy
|
7189
|
+
#
|
6948
7190
|
# AVG\_CONTACT\_DURATION
|
6949
7191
|
#
|
6950
7192
|
# : Unit: Seconds
|
@@ -7692,7 +7934,7 @@ module Aws::Connect
|
|
7692
7934
|
#
|
7693
7935
|
# @option params [Hash<String,String>] :tags
|
7694
7936
|
# The tags used to organize, track, or control access for this resource.
|
7695
|
-
# For example, \\\{ "
|
7937
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
7696
7938
|
# "key2":"value2"\\} \\}.
|
7697
7939
|
#
|
7698
7940
|
# @option params [String] :client_token
|
@@ -8746,7 +8988,7 @@ module Aws::Connect
|
|
8746
8988
|
# resp.integration_association_summary_list[0].integration_arn #=> String
|
8747
8989
|
# resp.integration_association_summary_list[0].source_application_url #=> String
|
8748
8990
|
# resp.integration_association_summary_list[0].source_application_name #=> String
|
8749
|
-
# resp.integration_association_summary_list[0].source_type #=> String, one of "SALESFORCE", "ZENDESK"
|
8991
|
+
# resp.integration_association_summary_list[0].source_type #=> String, one of "SALESFORCE", "ZENDESK", "CASES"
|
8750
8992
|
# resp.next_token #=> String
|
8751
8993
|
#
|
8752
8994
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListIntegrationAssociations AWS API Documentation
|
@@ -9066,6 +9308,52 @@ module Aws::Connect
|
|
9066
9308
|
req.send_request(options)
|
9067
9309
|
end
|
9068
9310
|
|
9311
|
+
# Lists predefined attributes for the specified Amazon Connect instance.
|
9312
|
+
#
|
9313
|
+
# @option params [required, String] :instance_id
|
9314
|
+
# The identifier of the Amazon Connect instance. You can find the
|
9315
|
+
# instance ID in the Amazon Resource Name (ARN) of the instance.
|
9316
|
+
#
|
9317
|
+
# @option params [String] :next_token
|
9318
|
+
# The token for the next set of results. Use the value returned in the
|
9319
|
+
# previous response in the next request to retrieve the next set of
|
9320
|
+
# results.
|
9321
|
+
#
|
9322
|
+
# @option params [Integer] :max_results
|
9323
|
+
# The maximum number of results to return per page.
|
9324
|
+
#
|
9325
|
+
# @return [Types::ListPredefinedAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9326
|
+
#
|
9327
|
+
# * {Types::ListPredefinedAttributesResponse#next_token #next_token} => String
|
9328
|
+
# * {Types::ListPredefinedAttributesResponse#predefined_attribute_summary_list #predefined_attribute_summary_list} => Array<Types::PredefinedAttributeSummary>
|
9329
|
+
#
|
9330
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
9331
|
+
#
|
9332
|
+
# @example Request syntax with placeholder values
|
9333
|
+
#
|
9334
|
+
# resp = client.list_predefined_attributes({
|
9335
|
+
# instance_id: "InstanceId", # required
|
9336
|
+
# next_token: "NextToken",
|
9337
|
+
# max_results: 1,
|
9338
|
+
# })
|
9339
|
+
#
|
9340
|
+
# @example Response structure
|
9341
|
+
#
|
9342
|
+
# resp.next_token #=> String
|
9343
|
+
# resp.predefined_attribute_summary_list #=> Array
|
9344
|
+
# resp.predefined_attribute_summary_list[0].name #=> String
|
9345
|
+
# resp.predefined_attribute_summary_list[0].last_modified_time #=> Time
|
9346
|
+
# resp.predefined_attribute_summary_list[0].last_modified_region #=> String
|
9347
|
+
#
|
9348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPredefinedAttributes AWS API Documentation
|
9349
|
+
#
|
9350
|
+
# @overload list_predefined_attributes(params = {})
|
9351
|
+
# @param [Hash] params ({})
|
9352
|
+
def list_predefined_attributes(params = {}, options = {})
|
9353
|
+
req = build_request(:list_predefined_attributes, params)
|
9354
|
+
req.send_request(options)
|
9355
|
+
end
|
9356
|
+
|
9069
9357
|
# Provides information about the prompts for the specified Amazon
|
9070
9358
|
# Connect instance.
|
9071
9359
|
#
|
@@ -9579,7 +9867,7 @@ module Aws::Connect
|
|
9579
9867
|
# resp = client.list_rules({
|
9580
9868
|
# instance_id: "InstanceId", # required
|
9581
9869
|
# publish_status: "DRAFT", # accepts DRAFT, PUBLISHED
|
9582
|
-
# event_source_name: "OnPostCallAnalysisAvailable", # accepts OnPostCallAnalysisAvailable, OnRealTimeCallAnalysisAvailable, OnRealTimeChatAnalysisAvailable, OnPostChatAnalysisAvailable, OnZendeskTicketCreate, OnZendeskTicketStatusUpdate, OnSalesforceCaseCreate, OnContactEvaluationSubmit, OnMetricDataUpdate
|
9870
|
+
# event_source_name: "OnPostCallAnalysisAvailable", # accepts OnPostCallAnalysisAvailable, OnRealTimeCallAnalysisAvailable, OnRealTimeChatAnalysisAvailable, OnPostChatAnalysisAvailable, OnZendeskTicketCreate, OnZendeskTicketStatusUpdate, OnSalesforceCaseCreate, OnContactEvaluationSubmit, OnMetricDataUpdate, OnCaseCreate, OnCaseUpdate
|
9583
9871
|
# max_results: 1,
|
9584
9872
|
# next_token: "NextToken",
|
9585
9873
|
# })
|
@@ -9590,10 +9878,10 @@ module Aws::Connect
|
|
9590
9878
|
# resp.rule_summary_list[0].name #=> String
|
9591
9879
|
# resp.rule_summary_list[0].rule_id #=> String
|
9592
9880
|
# resp.rule_summary_list[0].rule_arn #=> String
|
9593
|
-
# resp.rule_summary_list[0].event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate"
|
9881
|
+
# resp.rule_summary_list[0].event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate", "OnCaseCreate", "OnCaseUpdate"
|
9594
9882
|
# resp.rule_summary_list[0].publish_status #=> String, one of "DRAFT", "PUBLISHED"
|
9595
9883
|
# resp.rule_summary_list[0].action_summaries #=> Array
|
9596
|
-
# resp.rule_summary_list[0].action_summaries[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION"
|
9884
|
+
# resp.rule_summary_list[0].action_summaries[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION", "CREATE_CASE", "UPDATE_CASE", "END_ASSOCIATED_TASKS"
|
9597
9885
|
# resp.rule_summary_list[0].created_time #=> Time
|
9598
9886
|
# resp.rule_summary_list[0].last_updated_time #=> Time
|
9599
9887
|
# resp.next_token #=> String
|
@@ -10164,6 +10452,60 @@ module Aws::Connect
|
|
10164
10452
|
req.send_request(options)
|
10165
10453
|
end
|
10166
10454
|
|
10455
|
+
# Lists proficiencies associated with a user.
|
10456
|
+
#
|
10457
|
+
# @option params [required, String] :instance_id
|
10458
|
+
# The identifier of the Amazon Connect instance. You can find the
|
10459
|
+
# instance ID in the Amazon Resource Name (ARN) of the instance.
|
10460
|
+
#
|
10461
|
+
# @option params [required, String] :user_id
|
10462
|
+
# The identifier of the user account.
|
10463
|
+
#
|
10464
|
+
# @option params [String] :next_token
|
10465
|
+
# The token for the next set of results. Use the value returned in the
|
10466
|
+
# previous response in the next request to retrieve the next set of
|
10467
|
+
# results.
|
10468
|
+
#
|
10469
|
+
# @option params [Integer] :max_results
|
10470
|
+
# The maximum number of results to return per page.
|
10471
|
+
#
|
10472
|
+
# @return [Types::ListUserProficienciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10473
|
+
#
|
10474
|
+
# * {Types::ListUserProficienciesResponse#next_token #next_token} => String
|
10475
|
+
# * {Types::ListUserProficienciesResponse#user_proficiency_list #user_proficiency_list} => Array<Types::UserProficiency>
|
10476
|
+
# * {Types::ListUserProficienciesResponse#last_modified_time #last_modified_time} => Time
|
10477
|
+
# * {Types::ListUserProficienciesResponse#last_modified_region #last_modified_region} => String
|
10478
|
+
#
|
10479
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
10480
|
+
#
|
10481
|
+
# @example Request syntax with placeholder values
|
10482
|
+
#
|
10483
|
+
# resp = client.list_user_proficiencies({
|
10484
|
+
# instance_id: "InstanceId", # required
|
10485
|
+
# user_id: "UserId", # required
|
10486
|
+
# next_token: "NextToken",
|
10487
|
+
# max_results: 1,
|
10488
|
+
# })
|
10489
|
+
#
|
10490
|
+
# @example Response structure
|
10491
|
+
#
|
10492
|
+
# resp.next_token #=> String
|
10493
|
+
# resp.user_proficiency_list #=> Array
|
10494
|
+
# resp.user_proficiency_list[0].attribute_name #=> String
|
10495
|
+
# resp.user_proficiency_list[0].attribute_value #=> String
|
10496
|
+
# resp.user_proficiency_list[0].level #=> Float
|
10497
|
+
# resp.last_modified_time #=> Time
|
10498
|
+
# resp.last_modified_region #=> String
|
10499
|
+
#
|
10500
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUserProficiencies AWS API Documentation
|
10501
|
+
#
|
10502
|
+
# @overload list_user_proficiencies(params = {})
|
10503
|
+
# @param [Hash] params ({})
|
10504
|
+
def list_user_proficiencies(params = {}, options = {})
|
10505
|
+
req = build_request(:list_user_proficiencies, params)
|
10506
|
+
req.send_request(options)
|
10507
|
+
end
|
10508
|
+
|
10167
10509
|
# Provides summary information about the users for the specified Amazon
|
10168
10510
|
# Connect instance.
|
10169
10511
|
#
|
@@ -10393,6 +10735,37 @@ module Aws::Connect
|
|
10393
10735
|
req.send_request(options)
|
10394
10736
|
end
|
10395
10737
|
|
10738
|
+
# Allows pausing an ongoing task contact.
|
10739
|
+
#
|
10740
|
+
# @option params [required, String] :contact_id
|
10741
|
+
# The identifier of the contact.
|
10742
|
+
#
|
10743
|
+
# @option params [required, String] :instance_id
|
10744
|
+
# The identifier of the Amazon Connect instance. You can find the
|
10745
|
+
# `instanceId` in the ARN of the instance.
|
10746
|
+
#
|
10747
|
+
# @option params [String] :contact_flow_id
|
10748
|
+
# The identifier of the flow.
|
10749
|
+
#
|
10750
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10751
|
+
#
|
10752
|
+
# @example Request syntax with placeholder values
|
10753
|
+
#
|
10754
|
+
# resp = client.pause_contact({
|
10755
|
+
# contact_id: "ContactId", # required
|
10756
|
+
# instance_id: "InstanceId", # required
|
10757
|
+
# contact_flow_id: "ContactFlowId",
|
10758
|
+
# })
|
10759
|
+
#
|
10760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PauseContact AWS API Documentation
|
10761
|
+
#
|
10762
|
+
# @overload pause_contact(params = {})
|
10763
|
+
# @param [Hash] params ({})
|
10764
|
+
def pause_contact(params = {}, options = {})
|
10765
|
+
req = build_request(:pause_contact, params)
|
10766
|
+
req.send_request(options)
|
10767
|
+
end
|
10768
|
+
|
10396
10769
|
# Changes the current status of a user or agent in Amazon Connect. If
|
10397
10770
|
# the agent is currently handling a contact, this sets the agent's next
|
10398
10771
|
# status.
|
@@ -10572,6 +10945,37 @@ module Aws::Connect
|
|
10572
10945
|
req.send_request(options)
|
10573
10946
|
end
|
10574
10947
|
|
10948
|
+
# Allows resuming a task contact in a paused state.
|
10949
|
+
#
|
10950
|
+
# @option params [required, String] :contact_id
|
10951
|
+
# The identifier of the contact.
|
10952
|
+
#
|
10953
|
+
# @option params [required, String] :instance_id
|
10954
|
+
# The identifier of the Amazon Connect instance. You can find the
|
10955
|
+
# `instanceId` in the ARN of the instance.
|
10956
|
+
#
|
10957
|
+
# @option params [String] :contact_flow_id
|
10958
|
+
# The identifier of the flow.
|
10959
|
+
#
|
10960
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10961
|
+
#
|
10962
|
+
# @example Request syntax with placeholder values
|
10963
|
+
#
|
10964
|
+
# resp = client.resume_contact({
|
10965
|
+
# contact_id: "ContactId", # required
|
10966
|
+
# instance_id: "InstanceId", # required
|
10967
|
+
# contact_flow_id: "ContactFlowId",
|
10968
|
+
# })
|
10969
|
+
#
|
10970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResumeContact AWS API Documentation
|
10971
|
+
#
|
10972
|
+
# @overload resume_contact(params = {})
|
10973
|
+
# @param [Hash] params ({})
|
10974
|
+
def resume_contact(params = {}, options = {})
|
10975
|
+
req = build_request(:resume_contact, params)
|
10976
|
+
req.send_request(options)
|
10977
|
+
end
|
10978
|
+
|
10575
10979
|
# When a contact is being recorded, and the recording has been suspended
|
10576
10980
|
# using SuspendContactRecording, this API resumes recording whatever
|
10577
10981
|
# recording is selected in the flow configuration: call, screen, or
|
@@ -10689,11 +11093,121 @@ module Aws::Connect
|
|
10689
11093
|
req.send_request(options)
|
10690
11094
|
end
|
10691
11095
|
|
10692
|
-
# Searches
|
10693
|
-
# optional filtering.
|
11096
|
+
# Searches contacts in an Amazon Connect instance.
|
10694
11097
|
#
|
10695
11098
|
# @option params [required, String] :instance_id
|
10696
|
-
# The identifier of
|
11099
|
+
# The identifier of Amazon Connect instance. You can find the instance
|
11100
|
+
# ID in the Amazon Resource Name (ARN) of the instance
|
11101
|
+
#
|
11102
|
+
# @option params [required, Types::SearchContactsTimeRange] :time_range
|
11103
|
+
# Time range that you want to search results
|
11104
|
+
#
|
11105
|
+
# @option params [Types::SearchCriteria] :search_criteria
|
11106
|
+
# The search criteria to be used to return contacts.
|
11107
|
+
#
|
11108
|
+
# @option params [Integer] :max_results
|
11109
|
+
# The maximum number of results to return per page.
|
11110
|
+
#
|
11111
|
+
# @option params [String] :next_token
|
11112
|
+
# The token for the next set of results. Use the value returned in the
|
11113
|
+
# previous response in the next request to retrieve the next set of
|
11114
|
+
# results.
|
11115
|
+
#
|
11116
|
+
# @option params [Types::Sort] :sort
|
11117
|
+
# Specifies a field to sort by and a sort order
|
11118
|
+
#
|
11119
|
+
# @return [Types::SearchContactsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11120
|
+
#
|
11121
|
+
# * {Types::SearchContactsResponse#contacts #contacts} => Array<Types::ContactSearchSummary>
|
11122
|
+
# * {Types::SearchContactsResponse#next_token #next_token} => String
|
11123
|
+
# * {Types::SearchContactsResponse#total_count #total_count} => Integer
|
11124
|
+
#
|
11125
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
11126
|
+
#
|
11127
|
+
# @example Request syntax with placeholder values
|
11128
|
+
#
|
11129
|
+
# resp = client.search_contacts({
|
11130
|
+
# instance_id: "InstanceId", # required
|
11131
|
+
# time_range: { # required
|
11132
|
+
# type: "INITIATION_TIMESTAMP", # required, accepts INITIATION_TIMESTAMP, SCHEDULED_TIMESTAMP, CONNECTED_TO_AGENT_TIMESTAMP, DISCONNECT_TIMESTAMP
|
11133
|
+
# start_time: Time.now, # required
|
11134
|
+
# end_time: Time.now, # required
|
11135
|
+
# },
|
11136
|
+
# search_criteria: {
|
11137
|
+
# agent_ids: ["AgentResourceId"],
|
11138
|
+
# agent_hierarchy_groups: {
|
11139
|
+
# l1_ids: ["HierarchyGroupId"],
|
11140
|
+
# l2_ids: ["HierarchyGroupId"],
|
11141
|
+
# l3_ids: ["HierarchyGroupId"],
|
11142
|
+
# l4_ids: ["HierarchyGroupId"],
|
11143
|
+
# l5_ids: ["HierarchyGroupId"],
|
11144
|
+
# },
|
11145
|
+
# channels: ["VOICE"], # accepts VOICE, CHAT, TASK
|
11146
|
+
# contact_analysis: {
|
11147
|
+
# transcript: {
|
11148
|
+
# criteria: [ # required
|
11149
|
+
# {
|
11150
|
+
# participant_role: "AGENT", # required, accepts AGENT, CUSTOMER, SYSTEM, CUSTOM_BOT
|
11151
|
+
# search_text: ["SearchText"], # required
|
11152
|
+
# match_type: "MATCH_ALL", # required, accepts MATCH_ALL, MATCH_ANY
|
11153
|
+
# },
|
11154
|
+
# ],
|
11155
|
+
# match_type: "MATCH_ALL", # accepts MATCH_ALL, MATCH_ANY
|
11156
|
+
# },
|
11157
|
+
# },
|
11158
|
+
# initiation_methods: ["INBOUND"], # accepts INBOUND, OUTBOUND, TRANSFER, QUEUE_TRANSFER, CALLBACK, API, DISCONNECT, MONITOR, EXTERNAL_OUTBOUND
|
11159
|
+
# queue_ids: ["QueueId"],
|
11160
|
+
# searchable_contact_attributes: {
|
11161
|
+
# criteria: [ # required
|
11162
|
+
# {
|
11163
|
+
# key: "SearchableContactAttributeKey", # required
|
11164
|
+
# values: ["SearchableContactAttributeValue"], # required
|
11165
|
+
# },
|
11166
|
+
# ],
|
11167
|
+
# match_type: "MATCH_ALL", # accepts MATCH_ALL, MATCH_ANY
|
11168
|
+
# },
|
11169
|
+
# },
|
11170
|
+
# max_results: 1,
|
11171
|
+
# next_token: "LargeNextToken",
|
11172
|
+
# sort: {
|
11173
|
+
# field_name: "INITIATION_TIMESTAMP", # required, accepts INITIATION_TIMESTAMP, SCHEDULED_TIMESTAMP, CONNECTED_TO_AGENT_TIMESTAMP, DISCONNECT_TIMESTAMP, INITIATION_METHOD, CHANNEL
|
11174
|
+
# order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
|
11175
|
+
# },
|
11176
|
+
# })
|
11177
|
+
#
|
11178
|
+
# @example Response structure
|
11179
|
+
#
|
11180
|
+
# resp.contacts #=> Array
|
11181
|
+
# resp.contacts[0].arn #=> String
|
11182
|
+
# resp.contacts[0].id #=> String
|
11183
|
+
# resp.contacts[0].initial_contact_id #=> String
|
11184
|
+
# resp.contacts[0].previous_contact_id #=> String
|
11185
|
+
# resp.contacts[0].initiation_method #=> String, one of "INBOUND", "OUTBOUND", "TRANSFER", "QUEUE_TRANSFER", "CALLBACK", "API", "DISCONNECT", "MONITOR", "EXTERNAL_OUTBOUND"
|
11186
|
+
# resp.contacts[0].channel #=> String, one of "VOICE", "CHAT", "TASK"
|
11187
|
+
# resp.contacts[0].queue_info.id #=> String
|
11188
|
+
# resp.contacts[0].queue_info.enqueue_timestamp #=> Time
|
11189
|
+
# resp.contacts[0].agent_info.id #=> String
|
11190
|
+
# resp.contacts[0].agent_info.connected_to_agent_timestamp #=> Time
|
11191
|
+
# resp.contacts[0].initiation_timestamp #=> Time
|
11192
|
+
# resp.contacts[0].disconnect_timestamp #=> Time
|
11193
|
+
# resp.contacts[0].scheduled_timestamp #=> Time
|
11194
|
+
# resp.next_token #=> String
|
11195
|
+
# resp.total_count #=> Integer
|
11196
|
+
#
|
11197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchContacts AWS API Documentation
|
11198
|
+
#
|
11199
|
+
# @overload search_contacts(params = {})
|
11200
|
+
# @param [Hash] params ({})
|
11201
|
+
def search_contacts(params = {}, options = {})
|
11202
|
+
req = build_request(:search_contacts, params)
|
11203
|
+
req.send_request(options)
|
11204
|
+
end
|
11205
|
+
|
11206
|
+
# Searches the hours of operation in an Amazon Connect instance, with
|
11207
|
+
# optional filtering.
|
11208
|
+
#
|
11209
|
+
# @option params [required, String] :instance_id
|
11210
|
+
# The identifier of the Amazon Connect instance. You can [find the
|
10697
11211
|
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
10698
11212
|
#
|
10699
11213
|
#
|
@@ -10799,6 +11313,76 @@ module Aws::Connect
|
|
10799
11313
|
req.send_request(options)
|
10800
11314
|
end
|
10801
11315
|
|
11316
|
+
# Predefined attributes that meet certain criteria.
|
11317
|
+
#
|
11318
|
+
# @option params [required, String] :instance_id
|
11319
|
+
# The identifier of the Amazon Connect instance. You can find the
|
11320
|
+
# instance ID in the Amazon Resource Name (ARN) of the instance.
|
11321
|
+
#
|
11322
|
+
# @option params [String] :next_token
|
11323
|
+
# The token for the next set of results. Use the value returned in the
|
11324
|
+
# previous response in the next request to retrieve the next set of
|
11325
|
+
# results.
|
11326
|
+
#
|
11327
|
+
# @option params [Integer] :max_results
|
11328
|
+
# The maximum number of results to return per page.
|
11329
|
+
#
|
11330
|
+
# @option params [Types::PredefinedAttributeSearchCriteria] :search_criteria
|
11331
|
+
# The search criteria to be used to return predefined attributes.
|
11332
|
+
#
|
11333
|
+
# @return [Types::SearchPredefinedAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11334
|
+
#
|
11335
|
+
# * {Types::SearchPredefinedAttributesResponse#predefined_attributes #predefined_attributes} => Array<Types::PredefinedAttribute>
|
11336
|
+
# * {Types::SearchPredefinedAttributesResponse#next_token #next_token} => String
|
11337
|
+
# * {Types::SearchPredefinedAttributesResponse#approximate_total_count #approximate_total_count} => Integer
|
11338
|
+
#
|
11339
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
11340
|
+
#
|
11341
|
+
# @example Request syntax with placeholder values
|
11342
|
+
#
|
11343
|
+
# resp = client.search_predefined_attributes({
|
11344
|
+
# instance_id: "InstanceId", # required
|
11345
|
+
# next_token: "NextToken2500",
|
11346
|
+
# max_results: 1,
|
11347
|
+
# search_criteria: {
|
11348
|
+
# or_conditions: [
|
11349
|
+
# {
|
11350
|
+
# # recursive PredefinedAttributeSearchCriteria
|
11351
|
+
# },
|
11352
|
+
# ],
|
11353
|
+
# and_conditions: [
|
11354
|
+
# {
|
11355
|
+
# # recursive PredefinedAttributeSearchCriteria
|
11356
|
+
# },
|
11357
|
+
# ],
|
11358
|
+
# string_condition: {
|
11359
|
+
# field_name: "String",
|
11360
|
+
# value: "String",
|
11361
|
+
# comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
|
11362
|
+
# },
|
11363
|
+
# },
|
11364
|
+
# })
|
11365
|
+
#
|
11366
|
+
# @example Response structure
|
11367
|
+
#
|
11368
|
+
# resp.predefined_attributes #=> Array
|
11369
|
+
# resp.predefined_attributes[0].name #=> String
|
11370
|
+
# resp.predefined_attributes[0].values.string_list #=> Array
|
11371
|
+
# resp.predefined_attributes[0].values.string_list[0] #=> String
|
11372
|
+
# resp.predefined_attributes[0].last_modified_time #=> Time
|
11373
|
+
# resp.predefined_attributes[0].last_modified_region #=> String
|
11374
|
+
# resp.next_token #=> String
|
11375
|
+
# resp.approximate_total_count #=> Integer
|
11376
|
+
#
|
11377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchPredefinedAttributes AWS API Documentation
|
11378
|
+
#
|
11379
|
+
# @overload search_predefined_attributes(params = {})
|
11380
|
+
# @param [Hash] params ({})
|
11381
|
+
def search_predefined_attributes(params = {}, options = {})
|
11382
|
+
req = build_request(:search_predefined_attributes, params)
|
11383
|
+
req.send_request(options)
|
11384
|
+
end
|
11385
|
+
|
10802
11386
|
# Searches prompts in an Amazon Connect instance, with optional
|
10803
11387
|
# filtering.
|
10804
11388
|
#
|
@@ -12132,6 +12716,29 @@ module Aws::Connect
|
|
12132
12716
|
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html
|
12133
12717
|
# [2]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#outbound-communications-quotas
|
12134
12718
|
#
|
12719
|
+
# @option params [String] :name
|
12720
|
+
# The name of a voice contact that is shown to an agent in the Contact
|
12721
|
+
# Control Panel (CCP).
|
12722
|
+
#
|
12723
|
+
# @option params [String] :description
|
12724
|
+
# A description of the voice contact that is shown to an agent in the
|
12725
|
+
# Contact Control Panel (CCP).
|
12726
|
+
#
|
12727
|
+
# @option params [Hash<String,Types::Reference>] :references
|
12728
|
+
# A formatted URL that is shown to an agent in the Contact Control Panel
|
12729
|
+
# (CCP). Contacts can have the following reference types at the time of
|
12730
|
+
# creation: `URL` \| `NUMBER` \| `STRING` \| `DATE` \| `EMAIL`.
|
12731
|
+
# `ATTACHMENT` is not a supported reference type during voice contact
|
12732
|
+
# creation.
|
12733
|
+
#
|
12734
|
+
# @option params [String] :related_contact_id
|
12735
|
+
# The `contactId` that is related to this contact. Linking voice, task,
|
12736
|
+
# or chat by using `RelatedContactID` copies over contact attributes
|
12737
|
+
# from the related contact to the new contact. All updates to
|
12738
|
+
# user-defined attributes in the new contact are limited to the
|
12739
|
+
# individual contact ID. There are no limits to the number of contacts
|
12740
|
+
# that can be linked by using `RelatedContactId`.
|
12741
|
+
#
|
12135
12742
|
# @option params [required, String] :destination_phone_number
|
12136
12743
|
# The phone number of the customer, in E.164 format.
|
12137
12744
|
#
|
@@ -12208,6 +12815,15 @@ module Aws::Connect
|
|
12208
12815
|
# @example Request syntax with placeholder values
|
12209
12816
|
#
|
12210
12817
|
# resp = client.start_outbound_voice_contact({
|
12818
|
+
# name: "Name",
|
12819
|
+
# description: "Description",
|
12820
|
+
# references: {
|
12821
|
+
# "ReferenceKey" => {
|
12822
|
+
# value: "ReferenceValue", # required
|
12823
|
+
# type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
|
12824
|
+
# },
|
12825
|
+
# },
|
12826
|
+
# related_contact_id: "ContactId",
|
12211
12827
|
# destination_phone_number: "PhoneNumber", # required
|
12212
12828
|
# contact_flow_id: "ContactFlowId", # required
|
12213
12829
|
# instance_id: "InstanceId", # required
|
@@ -12800,6 +13416,54 @@ module Aws::Connect
|
|
12800
13416
|
req.send_request(options)
|
12801
13417
|
end
|
12802
13418
|
|
13419
|
+
# Adds the specified tags to the contact resource. For more information
|
13420
|
+
# about this API is used, see [Set up granular billing for a detailed
|
13421
|
+
# view of your Amazon Connect usage][1].
|
13422
|
+
#
|
13423
|
+
#
|
13424
|
+
#
|
13425
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/granular-billing.html
|
13426
|
+
#
|
13427
|
+
# @option params [required, String] :contact_id
|
13428
|
+
# The identifier of the contact in this instance of Amazon Connect.
|
13429
|
+
#
|
13430
|
+
# @option params [required, String] :instance_id
|
13431
|
+
# The identifier of the Amazon Connect instance. You can [find the
|
13432
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
13433
|
+
#
|
13434
|
+
#
|
13435
|
+
#
|
13436
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
13437
|
+
#
|
13438
|
+
# @option params [required, Hash<String,String>] :tags
|
13439
|
+
# The tags to be assigned to the contact resource. For example, \\\{
|
13440
|
+
# "Tags": \\\{"key1":"value1", "key2":"value2"\\} \\}.
|
13441
|
+
#
|
13442
|
+
# <note markdown="1"> Authorization is not supported by this tag.
|
13443
|
+
#
|
13444
|
+
# </note>
|
13445
|
+
#
|
13446
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
13447
|
+
#
|
13448
|
+
# @example Request syntax with placeholder values
|
13449
|
+
#
|
13450
|
+
# resp = client.tag_contact({
|
13451
|
+
# contact_id: "ContactId", # required
|
13452
|
+
# instance_id: "InstanceId", # required
|
13453
|
+
# tags: { # required
|
13454
|
+
# "ContactTagKey" => "ContactTagValue",
|
13455
|
+
# },
|
13456
|
+
# })
|
13457
|
+
#
|
13458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagContact AWS API Documentation
|
13459
|
+
#
|
13460
|
+
# @overload tag_contact(params = {})
|
13461
|
+
# @param [Hash] params ({})
|
13462
|
+
def tag_contact(params = {}, options = {})
|
13463
|
+
req = build_request(:tag_contact, params)
|
13464
|
+
req.send_request(options)
|
13465
|
+
end
|
13466
|
+
|
12803
13467
|
# Adds the specified tags to the specified resource.
|
12804
13468
|
#
|
12805
13469
|
# Some of the supported resource types are agents, routing profiles,
|
@@ -12820,7 +13484,7 @@ module Aws::Connect
|
|
12820
13484
|
#
|
12821
13485
|
# @option params [required, Hash<String,String>] :tags
|
12822
13486
|
# The tags used to organize, track, or control access for this resource.
|
12823
|
-
# For example, \\\{ "
|
13487
|
+
# For example, \\\{ "Tags": \\\{"key1":"value1",
|
12824
13488
|
# "key2":"value2"\\} \\}.
|
12825
13489
|
#
|
12826
13490
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -12927,6 +13591,48 @@ module Aws::Connect
|
|
12927
13591
|
req.send_request(options)
|
12928
13592
|
end
|
12929
13593
|
|
13594
|
+
# Removes the specified tags from the contact resource. For more
|
13595
|
+
# information about this API is used, see [Set up granular billing for a
|
13596
|
+
# detailed view of your Amazon Connect usage][1].
|
13597
|
+
#
|
13598
|
+
#
|
13599
|
+
#
|
13600
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/granular-billing.html
|
13601
|
+
#
|
13602
|
+
# @option params [required, String] :contact_id
|
13603
|
+
# The identifier of the contact in this instance of Amazon Connect.
|
13604
|
+
#
|
13605
|
+
# @option params [required, String] :instance_id
|
13606
|
+
# The identifier of the Amazon Connect instance. You can [find the
|
13607
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
13608
|
+
#
|
13609
|
+
#
|
13610
|
+
#
|
13611
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
13612
|
+
#
|
13613
|
+
# @option params [required, Array<String>] :tag_keys
|
13614
|
+
# A list of tag keys. Existing tags on the contact whose keys are
|
13615
|
+
# members of this list will be removed.
|
13616
|
+
#
|
13617
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
13618
|
+
#
|
13619
|
+
# @example Request syntax with placeholder values
|
13620
|
+
#
|
13621
|
+
# resp = client.untag_contact({
|
13622
|
+
# contact_id: "ContactId", # required
|
13623
|
+
# instance_id: "InstanceId", # required
|
13624
|
+
# tag_keys: ["ContactTagKey"], # required
|
13625
|
+
# })
|
13626
|
+
#
|
13627
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UntagContact AWS API Documentation
|
13628
|
+
#
|
13629
|
+
# @overload untag_contact(params = {})
|
13630
|
+
# @param [Hash] params ({})
|
13631
|
+
def untag_contact(params = {}, options = {})
|
13632
|
+
req = build_request(:untag_contact, params)
|
13633
|
+
req.send_request(options)
|
13634
|
+
end
|
13635
|
+
|
12930
13636
|
# Removes the specified tags from the specified resource.
|
12931
13637
|
#
|
12932
13638
|
# @option params [required, String] :resource_arn
|
@@ -13404,6 +14110,68 @@ module Aws::Connect
|
|
13404
14110
|
req.send_request(options)
|
13405
14111
|
end
|
13406
14112
|
|
14113
|
+
# This API is in preview release for Amazon Connect and is subject to
|
14114
|
+
# change.
|
14115
|
+
#
|
14116
|
+
# Updates routing priority and age on the contact (**QueuePriority** and
|
14117
|
+
# **QueueTimeAdjustmentInSeconds**). These properties can be used to
|
14118
|
+
# change a customer's position in the queue. For example, you can move
|
14119
|
+
# a contact to the back of the queue by setting a lower routing priority
|
14120
|
+
# relative to other contacts in queue; or you can move a contact to the
|
14121
|
+
# front of the queue by increasing the routing age which will make the
|
14122
|
+
# contact look artificially older and therefore higher up in the
|
14123
|
+
# first-in-first-out routing order. Note that adjusting the routing age
|
14124
|
+
# of a contact affects only its position in queue, and not its actual
|
14125
|
+
# queue wait time as reported through metrics. These properties can also
|
14126
|
+
# be updated by using [the Set routing priority / age flow block][1].
|
14127
|
+
#
|
14128
|
+
#
|
14129
|
+
#
|
14130
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/change-routing-priority.html
|
14131
|
+
#
|
14132
|
+
# @option params [required, String] :instance_id
|
14133
|
+
# The identifier of the Amazon Connect instance. You can [find the
|
14134
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
14135
|
+
#
|
14136
|
+
#
|
14137
|
+
#
|
14138
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
14139
|
+
#
|
14140
|
+
# @option params [required, String] :contact_id
|
14141
|
+
# The identifier of the contact in this instance of Amazon Connect.
|
14142
|
+
#
|
14143
|
+
# @option params [Integer] :queue_time_adjustment_seconds
|
14144
|
+
# The number of seconds to add or subtract from the contact's routing
|
14145
|
+
# age. Contacts are routed to agents on a first-come, first-serve basis.
|
14146
|
+
# This means that changing their amount of time in queue compared to
|
14147
|
+
# others also changes their position in queue.
|
14148
|
+
#
|
14149
|
+
# @option params [Integer] :queue_priority
|
14150
|
+
# Priority of the contact in the queue. The default priority for new
|
14151
|
+
# contacts is 5. You can raise the priority of a contact compared to
|
14152
|
+
# other contacts in the queue by assigning them a higher priority, such
|
14153
|
+
# as 1 or 2.
|
14154
|
+
#
|
14155
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
14156
|
+
#
|
14157
|
+
# @example Request syntax with placeholder values
|
14158
|
+
#
|
14159
|
+
# resp = client.update_contact_routing_data({
|
14160
|
+
# instance_id: "InstanceId", # required
|
14161
|
+
# contact_id: "ContactId", # required
|
14162
|
+
# queue_time_adjustment_seconds: 1,
|
14163
|
+
# queue_priority: 1,
|
14164
|
+
# })
|
14165
|
+
#
|
14166
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactRoutingData AWS API Documentation
|
14167
|
+
#
|
14168
|
+
# @overload update_contact_routing_data(params = {})
|
14169
|
+
# @param [Hash] params ({})
|
14170
|
+
def update_contact_routing_data(params = {}, options = {})
|
14171
|
+
req = build_request(:update_contact_routing_data, params)
|
14172
|
+
req.send_request(options)
|
14173
|
+
end
|
14174
|
+
|
13407
14175
|
# Updates the scheduled time of a task contact that is already
|
13408
14176
|
# scheduled.
|
13409
14177
|
#
|
@@ -13958,6 +14726,40 @@ module Aws::Connect
|
|
13958
14726
|
req.send_request(options)
|
13959
14727
|
end
|
13960
14728
|
|
14729
|
+
# Updates a predefined attribute for the specified Amazon Connect
|
14730
|
+
# instance.
|
14731
|
+
#
|
14732
|
+
# @option params [required, String] :instance_id
|
14733
|
+
# The identifier of the Amazon Connect instance. You can find the
|
14734
|
+
# instance ID in the Amazon Resource Name (ARN) of the instance.
|
14735
|
+
#
|
14736
|
+
# @option params [required, String] :name
|
14737
|
+
# The name of the predefined attribute.
|
14738
|
+
#
|
14739
|
+
# @option params [Types::PredefinedAttributeValues] :values
|
14740
|
+
# The values of the predefined attribute.
|
14741
|
+
#
|
14742
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
14743
|
+
#
|
14744
|
+
# @example Request syntax with placeholder values
|
14745
|
+
#
|
14746
|
+
# resp = client.update_predefined_attribute({
|
14747
|
+
# instance_id: "InstanceId", # required
|
14748
|
+
# name: "PredefinedAttributeName", # required
|
14749
|
+
# values: {
|
14750
|
+
# string_list: ["PredefinedAttributeStringValue"],
|
14751
|
+
# },
|
14752
|
+
# })
|
14753
|
+
#
|
14754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePredefinedAttribute AWS API Documentation
|
14755
|
+
#
|
14756
|
+
# @overload update_predefined_attribute(params = {})
|
14757
|
+
# @param [Hash] params ({})
|
14758
|
+
def update_predefined_attribute(params = {}, options = {})
|
14759
|
+
req = build_request(:update_predefined_attribute, params)
|
14760
|
+
req.send_request(options)
|
14761
|
+
end
|
14762
|
+
|
13961
14763
|
# Updates a prompt.
|
13962
14764
|
#
|
13963
14765
|
# @option params [required, String] :instance_id
|
@@ -14586,7 +15388,7 @@ module Aws::Connect
|
|
14586
15388
|
# function: "RuleFunction", # required
|
14587
15389
|
# actions: [ # required
|
14588
15390
|
# {
|
14589
|
-
# action_type: "CREATE_TASK", # required, accepts CREATE_TASK, ASSIGN_CONTACT_CATEGORY, GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION
|
15391
|
+
# action_type: "CREATE_TASK", # required, accepts CREATE_TASK, ASSIGN_CONTACT_CATEGORY, GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE, END_ASSOCIATED_TASKS
|
14590
15392
|
# task_action: {
|
14591
15393
|
# name: "TaskNameExpression", # required
|
14592
15394
|
# description: "TaskDescriptionExpression",
|
@@ -14615,6 +15417,37 @@ module Aws::Connect
|
|
14615
15417
|
# user_ids: ["UserId"],
|
14616
15418
|
# },
|
14617
15419
|
# },
|
15420
|
+
# create_case_action: {
|
15421
|
+
# fields: [ # required
|
15422
|
+
# {
|
15423
|
+
# id: "FieldValueId", # required
|
15424
|
+
# value: { # required
|
15425
|
+
# boolean_value: false,
|
15426
|
+
# double_value: 1.0,
|
15427
|
+
# empty_value: {
|
15428
|
+
# },
|
15429
|
+
# string_value: "FieldStringValue",
|
15430
|
+
# },
|
15431
|
+
# },
|
15432
|
+
# ],
|
15433
|
+
# template_id: "TemplateId", # required
|
15434
|
+
# },
|
15435
|
+
# update_case_action: {
|
15436
|
+
# fields: [ # required
|
15437
|
+
# {
|
15438
|
+
# id: "FieldValueId", # required
|
15439
|
+
# value: { # required
|
15440
|
+
# boolean_value: false,
|
15441
|
+
# double_value: 1.0,
|
15442
|
+
# empty_value: {
|
15443
|
+
# },
|
15444
|
+
# string_value: "FieldStringValue",
|
15445
|
+
# },
|
15446
|
+
# },
|
15447
|
+
# ],
|
15448
|
+
# },
|
15449
|
+
# end_associated_tasks_action: {
|
15450
|
+
# },
|
14618
15451
|
# },
|
14619
15452
|
# ],
|
14620
15453
|
# publish_status: "DRAFT", # required, accepts DRAFT, PUBLISHED
|
@@ -15133,6 +15966,45 @@ module Aws::Connect
|
|
15133
15966
|
req.send_request(options)
|
15134
15967
|
end
|
15135
15968
|
|
15969
|
+
# Updates the properties associated with the proficiencies of a user.
|
15970
|
+
#
|
15971
|
+
# @option params [required, String] :instance_id
|
15972
|
+
# The identifier of the Amazon Connect instance. You can find the
|
15973
|
+
# instance ID in the Amazon Resource Name (ARN) of the instance.
|
15974
|
+
#
|
15975
|
+
# @option params [required, String] :user_id
|
15976
|
+
# The identifier of the user account.
|
15977
|
+
#
|
15978
|
+
# @option params [required, Array<Types::UserProficiency>] :user_proficiencies
|
15979
|
+
# The proficiencies to be updated for the user. Proficiencies must first
|
15980
|
+
# be associated to the user. You can do this using
|
15981
|
+
# AssociateUserProficiencies API.
|
15982
|
+
#
|
15983
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
15984
|
+
#
|
15985
|
+
# @example Request syntax with placeholder values
|
15986
|
+
#
|
15987
|
+
# resp = client.update_user_proficiencies({
|
15988
|
+
# instance_id: "InstanceId", # required
|
15989
|
+
# user_id: "UserId", # required
|
15990
|
+
# user_proficiencies: [ # required
|
15991
|
+
# {
|
15992
|
+
# attribute_name: "PredefinedAttributeName", # required
|
15993
|
+
# attribute_value: "PredefinedAttributeStringValue", # required
|
15994
|
+
# level: 1.0, # required
|
15995
|
+
# },
|
15996
|
+
# ],
|
15997
|
+
# })
|
15998
|
+
#
|
15999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserProficiencies AWS API Documentation
|
16000
|
+
#
|
16001
|
+
# @overload update_user_proficiencies(params = {})
|
16002
|
+
# @param [Hash] params ({})
|
16003
|
+
def update_user_proficiencies(params = {}, options = {})
|
16004
|
+
req = build_request(:update_user_proficiencies, params)
|
16005
|
+
req.send_request(options)
|
16006
|
+
end
|
16007
|
+
|
15136
16008
|
# Assigns the specified routing profile to the specified user.
|
15137
16009
|
#
|
15138
16010
|
# @option params [required, String] :routing_profile_id
|
@@ -15323,7 +16195,7 @@ module Aws::Connect
|
|
15323
16195
|
params: params,
|
15324
16196
|
config: config)
|
15325
16197
|
context[:gem_name] = 'aws-sdk-connect'
|
15326
|
-
context[:gem_version] = '1.
|
16198
|
+
context[:gem_version] = '1.145.0'
|
15327
16199
|
Seahorse::Client::Request.new(handlers, context)
|
15328
16200
|
end
|
15329
16201
|
|