aws-sdk-connect 1.84.0 → 1.86.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +369 -6
- data/lib/aws-sdk-connect/client_api.rb +242 -1
- data/lib/aws-sdk-connect/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-connect/endpoint_provider.rb +73 -74
- data/lib/aws-sdk-connect/endpoints.rb +70 -0
- data/lib/aws-sdk-connect/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-connect/types.rb +564 -2869
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04b6cc995db3a0d31b3b107365aee72f54db97b8cf30a933ca3c838635d5a356
|
4
|
+
data.tar.gz: 325bbf49b4fb4e3dad13d345b2e8b9b84e3c22abd8509f5dafb2a5d75f455254
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbc5383f3b3e0b0fedb2f0af7802144008281b3f1fd47c237eee067da32863adc5a403cea62515d80eeed8c40e036279e51d106a1c611b68b19ded87b9df876e
|
7
|
+
data.tar.gz: 9305445468360205e8bffec4e3168fe756283f11f802631d4aff495195a79e5de59856e985945048291d2f38c42a24feba36d23ac2f672b97fc082e778af309c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.86.0 (2022-12-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release provides APIs that enable you to programmatically manage rules for Contact Lens conversational analytics and third party applications. For more information, see https://docs.aws.amazon.com/connect/latest/APIReference/rules-api.html
|
8
|
+
|
9
|
+
1.85.0 (2022-11-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added AllowedAccessControlTags and TagRestrictedResource for Tag Based Access Control on Amazon Connect Webpage
|
13
|
+
|
4
14
|
1.84.0 (2022-11-16)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.86.0
|
@@ -775,13 +775,22 @@ module Aws::Connect
|
|
775
775
|
# Amazon Web Services Region where the Amazon Connect instance or
|
776
776
|
# traffic distribution group was created.
|
777
777
|
#
|
778
|
-
#
|
779
|
-
#
|
778
|
+
# For more information about how to use this operation, see [Claim a
|
779
|
+
# phone number in your country][1] and [Claim phone numbers to traffic
|
780
|
+
# distribution groups][2] in the *Amazon Connect Administrator Guide*.
|
780
781
|
#
|
782
|
+
# You can call the [SearchAvailablePhoneNumbers][3] API for available
|
783
|
+
# phone numbers that you can claim. Call the [DescribePhoneNumber][4]
|
784
|
+
# API to verify the status of a previous [ClaimPhoneNumber][5]
|
785
|
+
# operation.
|
781
786
|
#
|
782
787
|
#
|
783
|
-
#
|
784
|
-
# [
|
788
|
+
#
|
789
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/claim-phone-number.html
|
790
|
+
# [2]: https://docs.aws.amazon.com/connect/latest/adminguide/claim-phone-numbers-traffic-distribution-groups.html
|
791
|
+
# [3]: https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchAvailablePhoneNumbers.html
|
792
|
+
# [4]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html
|
793
|
+
# [5]: https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html
|
785
794
|
#
|
786
795
|
# @option params [required, String] :target_arn
|
787
796
|
# The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
|
@@ -1464,6 +1473,106 @@ module Aws::Connect
|
|
1464
1473
|
req.send_request(options)
|
1465
1474
|
end
|
1466
1475
|
|
1476
|
+
# Creates a rule for the specified Amazon Connect instance.
|
1477
|
+
#
|
1478
|
+
# @option params [required, String] :instance_id
|
1479
|
+
# The identifier of the Amazon Connect instance. You can find the
|
1480
|
+
# instanceId in the ARN of the instance.
|
1481
|
+
#
|
1482
|
+
# @option params [required, String] :name
|
1483
|
+
# A unique name for the rule.
|
1484
|
+
#
|
1485
|
+
# @option params [required, Types::RuleTriggerEventSource] :trigger_event_source
|
1486
|
+
# The event source to trigger the rule.
|
1487
|
+
#
|
1488
|
+
# @option params [required, String] :function
|
1489
|
+
# The conditions of the rule.
|
1490
|
+
#
|
1491
|
+
# @option params [required, Array<Types::RuleAction>] :actions
|
1492
|
+
# A list of actions to be run when the rule is triggered.
|
1493
|
+
#
|
1494
|
+
# @option params [required, String] :publish_status
|
1495
|
+
# The publish status of the rule.
|
1496
|
+
#
|
1497
|
+
# @option params [String] :client_token
|
1498
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
1499
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
1500
|
+
# SDK populates this field. For more information about idempotency, see
|
1501
|
+
# [Making retries safe with idempotent APIs][1].
|
1502
|
+
#
|
1503
|
+
# **A suitable default value is auto-generated.** You should normally
|
1504
|
+
# not need to pass this option.**
|
1505
|
+
#
|
1506
|
+
#
|
1507
|
+
#
|
1508
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
1509
|
+
#
|
1510
|
+
# @return [Types::CreateRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1511
|
+
#
|
1512
|
+
# * {Types::CreateRuleResponse#rule_arn #rule_arn} => String
|
1513
|
+
# * {Types::CreateRuleResponse#rule_id #rule_id} => String
|
1514
|
+
#
|
1515
|
+
# @example Request syntax with placeholder values
|
1516
|
+
#
|
1517
|
+
# resp = client.create_rule({
|
1518
|
+
# instance_id: "InstanceId", # required
|
1519
|
+
# name: "RuleName", # required
|
1520
|
+
# trigger_event_source: { # required
|
1521
|
+
# event_source_name: "OnPostCallAnalysisAvailable", # required, accepts OnPostCallAnalysisAvailable, OnRealTimeCallAnalysisAvailable, OnPostChatAnalysisAvailable, OnZendeskTicketCreate, OnZendeskTicketStatusUpdate, OnSalesforceCaseCreate
|
1522
|
+
# integration_association_id: "IntegrationAssociationId",
|
1523
|
+
# },
|
1524
|
+
# function: "RuleFunction", # required
|
1525
|
+
# actions: [ # required
|
1526
|
+
# {
|
1527
|
+
# action_type: "CREATE_TASK", # required, accepts CREATE_TASK, ASSIGN_CONTACT_CATEGORY, GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION
|
1528
|
+
# task_action: {
|
1529
|
+
# name: "TaskNameExpression", # required
|
1530
|
+
# description: "TaskDescriptionExpression",
|
1531
|
+
# contact_flow_id: "ContactFlowId", # required
|
1532
|
+
# references: {
|
1533
|
+
# "ReferenceKey" => {
|
1534
|
+
# value: "ReferenceValue", # required
|
1535
|
+
# type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
|
1536
|
+
# },
|
1537
|
+
# },
|
1538
|
+
# },
|
1539
|
+
# event_bridge_action: {
|
1540
|
+
# name: "EventBridgeActionName", # required
|
1541
|
+
# },
|
1542
|
+
# assign_contact_category_action: {
|
1543
|
+
# },
|
1544
|
+
# send_notification_action: {
|
1545
|
+
# delivery_method: "EMAIL", # required, accepts EMAIL
|
1546
|
+
# subject: "Subject",
|
1547
|
+
# content: "Content", # required
|
1548
|
+
# content_type: "PLAIN_TEXT", # required, accepts PLAIN_TEXT
|
1549
|
+
# recipient: { # required
|
1550
|
+
# user_tags: {
|
1551
|
+
# "String" => "String",
|
1552
|
+
# },
|
1553
|
+
# user_ids: ["UserId"],
|
1554
|
+
# },
|
1555
|
+
# },
|
1556
|
+
# },
|
1557
|
+
# ],
|
1558
|
+
# publish_status: "DRAFT", # required, accepts DRAFT, PUBLISHED
|
1559
|
+
# client_token: "ClientToken",
|
1560
|
+
# })
|
1561
|
+
#
|
1562
|
+
# @example Response structure
|
1563
|
+
#
|
1564
|
+
# resp.rule_arn #=> String
|
1565
|
+
# resp.rule_id #=> String
|
1566
|
+
#
|
1567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateRule AWS API Documentation
|
1568
|
+
#
|
1569
|
+
# @overload create_rule(params = {})
|
1570
|
+
# @param [Hash] params ({})
|
1571
|
+
def create_rule(params = {}, options = {})
|
1572
|
+
req = build_request(:create_rule, params)
|
1573
|
+
req.send_request(options)
|
1574
|
+
end
|
1575
|
+
|
1467
1576
|
# This API is in preview release for Amazon Connect and is subject to
|
1468
1577
|
# change.
|
1469
1578
|
#
|
@@ -1492,6 +1601,14 @@ module Aws::Connect
|
|
1492
1601
|
# For example, \\\{ "tags": \\\{"key1":"value1",
|
1493
1602
|
# "key2":"value2"\\} \\}.
|
1494
1603
|
#
|
1604
|
+
# @option params [Hash<String,String>] :allowed_access_control_tags
|
1605
|
+
# The list of tags that a security profile uses to restrict access to
|
1606
|
+
# resources in Amazon Connect.
|
1607
|
+
#
|
1608
|
+
# @option params [Array<String>] :tag_restricted_resources
|
1609
|
+
# The list of resources that a security profile applies tag restrictions
|
1610
|
+
# to in Amazon Connect.
|
1611
|
+
#
|
1495
1612
|
# @return [Types::CreateSecurityProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1496
1613
|
#
|
1497
1614
|
# * {Types::CreateSecurityProfileResponse#security_profile_id #security_profile_id} => String
|
@@ -1500,13 +1617,17 @@ module Aws::Connect
|
|
1500
1617
|
# @example Request syntax with placeholder values
|
1501
1618
|
#
|
1502
1619
|
# resp = client.create_security_profile({
|
1503
|
-
# security_profile_name: "
|
1620
|
+
# security_profile_name: "CreateSecurityProfileName", # required
|
1504
1621
|
# description: "SecurityProfileDescription",
|
1505
1622
|
# permissions: ["SecurityProfilePermission"],
|
1506
1623
|
# instance_id: "InstanceId", # required
|
1507
1624
|
# tags: {
|
1508
1625
|
# "TagKey" => "TagValue",
|
1509
1626
|
# },
|
1627
|
+
# allowed_access_control_tags: {
|
1628
|
+
# "SecurityProfilePolicyKey" => "SecurityProfilePolicyValue",
|
1629
|
+
# },
|
1630
|
+
# tag_restricted_resources: ["TagRestrictedResourceName"],
|
1510
1631
|
# })
|
1511
1632
|
#
|
1512
1633
|
# @example Response structure
|
@@ -2173,6 +2294,33 @@ module Aws::Connect
|
|
2173
2294
|
req.send_request(options)
|
2174
2295
|
end
|
2175
2296
|
|
2297
|
+
# Deletes a rule for the specified Amazon Connect instance.
|
2298
|
+
#
|
2299
|
+
# @option params [required, String] :instance_id
|
2300
|
+
# The identifier of the Amazon Connect instance. You can find the
|
2301
|
+
# instanceId in the ARN of the instance.
|
2302
|
+
#
|
2303
|
+
# @option params [required, String] :rule_id
|
2304
|
+
# A unique identifier for the rule.
|
2305
|
+
#
|
2306
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2307
|
+
#
|
2308
|
+
# @example Request syntax with placeholder values
|
2309
|
+
#
|
2310
|
+
# resp = client.delete_rule({
|
2311
|
+
# instance_id: "InstanceId", # required
|
2312
|
+
# rule_id: "RuleId", # required
|
2313
|
+
# })
|
2314
|
+
#
|
2315
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteRule AWS API Documentation
|
2316
|
+
#
|
2317
|
+
# @overload delete_rule(params = {})
|
2318
|
+
# @param [Hash] params ({})
|
2319
|
+
def delete_rule(params = {}, options = {})
|
2320
|
+
req = build_request(:delete_rule, params)
|
2321
|
+
req.send_request(options)
|
2322
|
+
end
|
2323
|
+
|
2176
2324
|
# This API is in preview release for Amazon Connect and is subject to
|
2177
2325
|
# change.
|
2178
2326
|
#
|
@@ -2954,6 +3102,67 @@ module Aws::Connect
|
|
2954
3102
|
req.send_request(options)
|
2955
3103
|
end
|
2956
3104
|
|
3105
|
+
# Describes a rule for the specified Amazon Connect instance.
|
3106
|
+
#
|
3107
|
+
# @option params [required, String] :instance_id
|
3108
|
+
# The identifier of the Amazon Connect instance. You can find the
|
3109
|
+
# instanceId in the ARN of the instance.
|
3110
|
+
#
|
3111
|
+
# @option params [required, String] :rule_id
|
3112
|
+
# A unique identifier for the rule.
|
3113
|
+
#
|
3114
|
+
# @return [Types::DescribeRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3115
|
+
#
|
3116
|
+
# * {Types::DescribeRuleResponse#rule #rule} => Types::Rule
|
3117
|
+
#
|
3118
|
+
# @example Request syntax with placeholder values
|
3119
|
+
#
|
3120
|
+
# resp = client.describe_rule({
|
3121
|
+
# instance_id: "InstanceId", # required
|
3122
|
+
# rule_id: "RuleId", # required
|
3123
|
+
# })
|
3124
|
+
#
|
3125
|
+
# @example Response structure
|
3126
|
+
#
|
3127
|
+
# resp.rule.name #=> String
|
3128
|
+
# resp.rule.rule_id #=> String
|
3129
|
+
# resp.rule.rule_arn #=> String
|
3130
|
+
# resp.rule.trigger_event_source.event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate"
|
3131
|
+
# resp.rule.trigger_event_source.integration_association_id #=> String
|
3132
|
+
# resp.rule.function #=> String
|
3133
|
+
# resp.rule.actions #=> Array
|
3134
|
+
# resp.rule.actions[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION"
|
3135
|
+
# resp.rule.actions[0].task_action.name #=> String
|
3136
|
+
# resp.rule.actions[0].task_action.description #=> String
|
3137
|
+
# resp.rule.actions[0].task_action.contact_flow_id #=> String
|
3138
|
+
# resp.rule.actions[0].task_action.references #=> Hash
|
3139
|
+
# resp.rule.actions[0].task_action.references["ReferenceKey"].value #=> String
|
3140
|
+
# resp.rule.actions[0].task_action.references["ReferenceKey"].type #=> String, one of "URL", "ATTACHMENT", "NUMBER", "STRING", "DATE", "EMAIL"
|
3141
|
+
# resp.rule.actions[0].event_bridge_action.name #=> String
|
3142
|
+
# resp.rule.actions[0].send_notification_action.delivery_method #=> String, one of "EMAIL"
|
3143
|
+
# resp.rule.actions[0].send_notification_action.subject #=> String
|
3144
|
+
# resp.rule.actions[0].send_notification_action.content #=> String
|
3145
|
+
# resp.rule.actions[0].send_notification_action.content_type #=> String, one of "PLAIN_TEXT"
|
3146
|
+
# resp.rule.actions[0].send_notification_action.recipient.user_tags #=> Hash
|
3147
|
+
# resp.rule.actions[0].send_notification_action.recipient.user_tags["String"] #=> String
|
3148
|
+
# resp.rule.actions[0].send_notification_action.recipient.user_ids #=> Array
|
3149
|
+
# resp.rule.actions[0].send_notification_action.recipient.user_ids[0] #=> String
|
3150
|
+
# resp.rule.publish_status #=> String, one of "DRAFT", "PUBLISHED"
|
3151
|
+
# resp.rule.created_time #=> Time
|
3152
|
+
# resp.rule.last_updated_time #=> Time
|
3153
|
+
# resp.rule.last_updated_by #=> String
|
3154
|
+
# resp.rule.tags #=> Hash
|
3155
|
+
# resp.rule.tags["TagKey"] #=> String
|
3156
|
+
#
|
3157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeRule AWS API Documentation
|
3158
|
+
#
|
3159
|
+
# @overload describe_rule(params = {})
|
3160
|
+
# @param [Hash] params ({})
|
3161
|
+
def describe_rule(params = {}, options = {})
|
3162
|
+
req = build_request(:describe_rule, params)
|
3163
|
+
req.send_request(options)
|
3164
|
+
end
|
3165
|
+
|
2957
3166
|
# This API is in preview release for Amazon Connect and is subject to
|
2958
3167
|
# change.
|
2959
3168
|
#
|
@@ -2986,6 +3195,10 @@ module Aws::Connect
|
|
2986
3195
|
# resp.security_profile.description #=> String
|
2987
3196
|
# resp.security_profile.tags #=> Hash
|
2988
3197
|
# resp.security_profile.tags["TagKey"] #=> String
|
3198
|
+
# resp.security_profile.allowed_access_control_tags #=> Hash
|
3199
|
+
# resp.security_profile.allowed_access_control_tags["SecurityProfilePolicyKey"] #=> String
|
3200
|
+
# resp.security_profile.tag_restricted_resources #=> Array
|
3201
|
+
# resp.security_profile.tag_restricted_resources[0] #=> String
|
2989
3202
|
#
|
2990
3203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeSecurityProfile AWS API Documentation
|
2991
3204
|
#
|
@@ -5615,6 +5828,66 @@ module Aws::Connect
|
|
5615
5828
|
req.send_request(options)
|
5616
5829
|
end
|
5617
5830
|
|
5831
|
+
# List all rules for the specified Amazon Connect instance.
|
5832
|
+
#
|
5833
|
+
# @option params [required, String] :instance_id
|
5834
|
+
# The identifier of the Amazon Connect instance. You can find the
|
5835
|
+
# instanceId in the ARN of the instance.
|
5836
|
+
#
|
5837
|
+
# @option params [String] :publish_status
|
5838
|
+
# The publish status of the rule.
|
5839
|
+
#
|
5840
|
+
# @option params [String] :event_source_name
|
5841
|
+
# The name of the event source.
|
5842
|
+
#
|
5843
|
+
# @option params [Integer] :max_results
|
5844
|
+
# The maximum number of results to return per page.
|
5845
|
+
#
|
5846
|
+
# @option params [String] :next_token
|
5847
|
+
# The token for the next set of results. Use the value returned in the
|
5848
|
+
# previous response in the next request to retrieve the next set of
|
5849
|
+
# results.
|
5850
|
+
#
|
5851
|
+
# @return [Types::ListRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5852
|
+
#
|
5853
|
+
# * {Types::ListRulesResponse#rule_summary_list #rule_summary_list} => Array<Types::RuleSummary>
|
5854
|
+
# * {Types::ListRulesResponse#next_token #next_token} => String
|
5855
|
+
#
|
5856
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5857
|
+
#
|
5858
|
+
# @example Request syntax with placeholder values
|
5859
|
+
#
|
5860
|
+
# resp = client.list_rules({
|
5861
|
+
# instance_id: "InstanceId", # required
|
5862
|
+
# publish_status: "DRAFT", # accepts DRAFT, PUBLISHED
|
5863
|
+
# event_source_name: "OnPostCallAnalysisAvailable", # accepts OnPostCallAnalysisAvailable, OnRealTimeCallAnalysisAvailable, OnPostChatAnalysisAvailable, OnZendeskTicketCreate, OnZendeskTicketStatusUpdate, OnSalesforceCaseCreate
|
5864
|
+
# max_results: 1,
|
5865
|
+
# next_token: "NextToken",
|
5866
|
+
# })
|
5867
|
+
#
|
5868
|
+
# @example Response structure
|
5869
|
+
#
|
5870
|
+
# resp.rule_summary_list #=> Array
|
5871
|
+
# resp.rule_summary_list[0].name #=> String
|
5872
|
+
# resp.rule_summary_list[0].rule_id #=> String
|
5873
|
+
# resp.rule_summary_list[0].rule_arn #=> String
|
5874
|
+
# resp.rule_summary_list[0].event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate"
|
5875
|
+
# resp.rule_summary_list[0].publish_status #=> String, one of "DRAFT", "PUBLISHED"
|
5876
|
+
# resp.rule_summary_list[0].action_summaries #=> Array
|
5877
|
+
# resp.rule_summary_list[0].action_summaries[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION"
|
5878
|
+
# resp.rule_summary_list[0].created_time #=> Time
|
5879
|
+
# resp.rule_summary_list[0].last_updated_time #=> Time
|
5880
|
+
# resp.next_token #=> String
|
5881
|
+
#
|
5882
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRules AWS API Documentation
|
5883
|
+
#
|
5884
|
+
# @overload list_rules(params = {})
|
5885
|
+
# @param [Hash] params ({})
|
5886
|
+
def list_rules(params = {}, options = {})
|
5887
|
+
req = build_request(:list_rules, params)
|
5888
|
+
req.send_request(options)
|
5889
|
+
end
|
5890
|
+
|
5618
5891
|
# This API is in preview release for Amazon Connect and is subject to
|
5619
5892
|
# change.
|
5620
5893
|
#
|
@@ -8742,6 +9015,84 @@ module Aws::Connect
|
|
8742
9015
|
req.send_request(options)
|
8743
9016
|
end
|
8744
9017
|
|
9018
|
+
# Updates a rule for the specified Amazon Connect instance.
|
9019
|
+
#
|
9020
|
+
# @option params [required, String] :rule_id
|
9021
|
+
# A unique identifier for the rule.
|
9022
|
+
#
|
9023
|
+
# @option params [required, String] :instance_id
|
9024
|
+
# The identifier of the Amazon Connect instance. You can find the
|
9025
|
+
# instanceId in the ARN of the instance.
|
9026
|
+
#
|
9027
|
+
# @option params [required, String] :name
|
9028
|
+
# The name of the rule. You can change the name only if
|
9029
|
+
# `TriggerEventSource` is one of the following values:
|
9030
|
+
# `OnZendeskTicketCreate` \| `OnZendeskTicketStatusUpdate` \|
|
9031
|
+
# `OnSalesforceCaseCreate`
|
9032
|
+
#
|
9033
|
+
# @option params [required, String] :function
|
9034
|
+
# The conditions of the rule.
|
9035
|
+
#
|
9036
|
+
# @option params [required, Array<Types::RuleAction>] :actions
|
9037
|
+
# A list of actions to be run when the rule is triggered.
|
9038
|
+
#
|
9039
|
+
# @option params [required, String] :publish_status
|
9040
|
+
# The publish status of the rule.
|
9041
|
+
#
|
9042
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9043
|
+
#
|
9044
|
+
# @example Request syntax with placeholder values
|
9045
|
+
#
|
9046
|
+
# resp = client.update_rule({
|
9047
|
+
# rule_id: "RuleId", # required
|
9048
|
+
# instance_id: "InstanceId", # required
|
9049
|
+
# name: "RuleName", # required
|
9050
|
+
# function: "RuleFunction", # required
|
9051
|
+
# actions: [ # required
|
9052
|
+
# {
|
9053
|
+
# action_type: "CREATE_TASK", # required, accepts CREATE_TASK, ASSIGN_CONTACT_CATEGORY, GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION
|
9054
|
+
# task_action: {
|
9055
|
+
# name: "TaskNameExpression", # required
|
9056
|
+
# description: "TaskDescriptionExpression",
|
9057
|
+
# contact_flow_id: "ContactFlowId", # required
|
9058
|
+
# references: {
|
9059
|
+
# "ReferenceKey" => {
|
9060
|
+
# value: "ReferenceValue", # required
|
9061
|
+
# type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
|
9062
|
+
# },
|
9063
|
+
# },
|
9064
|
+
# },
|
9065
|
+
# event_bridge_action: {
|
9066
|
+
# name: "EventBridgeActionName", # required
|
9067
|
+
# },
|
9068
|
+
# assign_contact_category_action: {
|
9069
|
+
# },
|
9070
|
+
# send_notification_action: {
|
9071
|
+
# delivery_method: "EMAIL", # required, accepts EMAIL
|
9072
|
+
# subject: "Subject",
|
9073
|
+
# content: "Content", # required
|
9074
|
+
# content_type: "PLAIN_TEXT", # required, accepts PLAIN_TEXT
|
9075
|
+
# recipient: { # required
|
9076
|
+
# user_tags: {
|
9077
|
+
# "String" => "String",
|
9078
|
+
# },
|
9079
|
+
# user_ids: ["UserId"],
|
9080
|
+
# },
|
9081
|
+
# },
|
9082
|
+
# },
|
9083
|
+
# ],
|
9084
|
+
# publish_status: "DRAFT", # required, accepts DRAFT, PUBLISHED
|
9085
|
+
# })
|
9086
|
+
#
|
9087
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRule AWS API Documentation
|
9088
|
+
#
|
9089
|
+
# @overload update_rule(params = {})
|
9090
|
+
# @param [Hash] params ({})
|
9091
|
+
def update_rule(params = {}, options = {})
|
9092
|
+
req = build_request(:update_rule, params)
|
9093
|
+
req.send_request(options)
|
9094
|
+
end
|
9095
|
+
|
8745
9096
|
# This API is in preview release for Amazon Connect and is subject to
|
8746
9097
|
# change.
|
8747
9098
|
#
|
@@ -8765,6 +9116,14 @@ module Aws::Connect
|
|
8765
9116
|
# The identifier of the Amazon Connect instance. You can find the
|
8766
9117
|
# instanceId in the ARN of the instance.
|
8767
9118
|
#
|
9119
|
+
# @option params [Hash<String,String>] :allowed_access_control_tags
|
9120
|
+
# The list of tags that a security profile uses to restrict access to
|
9121
|
+
# resources in Amazon Connect.
|
9122
|
+
#
|
9123
|
+
# @option params [Array<String>] :tag_restricted_resources
|
9124
|
+
# The list of resources that a security profile applies tag restrictions
|
9125
|
+
# to in Amazon Connect.
|
9126
|
+
#
|
8768
9127
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
8769
9128
|
#
|
8770
9129
|
# @example Request syntax with placeholder values
|
@@ -8774,6 +9133,10 @@ module Aws::Connect
|
|
8774
9133
|
# permissions: ["SecurityProfilePermission"],
|
8775
9134
|
# security_profile_id: "SecurityProfileId", # required
|
8776
9135
|
# instance_id: "InstanceId", # required
|
9136
|
+
# allowed_access_control_tags: {
|
9137
|
+
# "SecurityProfilePolicyKey" => "SecurityProfilePolicyValue",
|
9138
|
+
# },
|
9139
|
+
# tag_restricted_resources: ["TagRestrictedResourceName"],
|
8777
9140
|
# })
|
8778
9141
|
#
|
8779
9142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateSecurityProfile AWS API Documentation
|
@@ -9238,7 +9601,7 @@ module Aws::Connect
|
|
9238
9601
|
params: params,
|
9239
9602
|
config: config)
|
9240
9603
|
context[:gem_name] = 'aws-sdk-connect'
|
9241
|
-
context[:gem_version] = '1.
|
9604
|
+
context[:gem_version] = '1.86.0'
|
9242
9605
|
Seahorse::Client::Request.new(handlers, context)
|
9243
9606
|
end
|
9244
9607
|
|