aws-sdk-connect 1.48.0 → 1.49.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect.rb +1 -1
- data/lib/aws-sdk-connect/client.rb +363 -2
- data/lib/aws-sdk-connect/client_api.rb +217 -7
- data/lib/aws-sdk-connect/types.rb +492 -0
- 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: 9172c95dd369d7f5826298b11729f8e0911b45517d2141803b2b39a8bf7bbdff
|
4
|
+
data.tar.gz: 58bf9681eaef91a0eb39c703b9c018ac94f494d4c24489aaf270ddb6dd299db7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1b32bd65ed31118297fa4fbddb6c0f10da22f9084fbdac5be8895fb81f219bb1c2701bd28d327f3226fcac2405594615f7a8d4a965d8dfc140166ef528bfcab
|
7
|
+
data.tar.gz: a29a50f862c8875886ba45cd60b24498248a5e0bdb26b8704e8fe98a88d115e23059b355526553e6a52a759e042199c2b7fe86b661eb026301ecabb7c9142d74
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2021-08-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for agent status and hours of operation. For details, see the Release Notes in the Amazon Connect Administrator Guide.
|
8
|
+
|
4
9
|
1.48.0 (2021-07-30)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
data/lib/aws-sdk-connect.rb
CHANGED
@@ -646,6 +646,62 @@ module Aws::Connect
|
|
646
646
|
req.send_request(options)
|
647
647
|
end
|
648
648
|
|
649
|
+
# This API is in preview release for Amazon Connect and is subject to
|
650
|
+
# change.
|
651
|
+
#
|
652
|
+
# Creates an agent status for the specified Amazon Connect instance.
|
653
|
+
#
|
654
|
+
# @option params [required, String] :instance_id
|
655
|
+
# The identifier of the Amazon Connect instance. You can find the
|
656
|
+
# instanceId in the ARN of the instance.
|
657
|
+
#
|
658
|
+
# @option params [required, String] :name
|
659
|
+
# The name of the status.
|
660
|
+
#
|
661
|
+
# @option params [String] :description
|
662
|
+
# The description of the status.
|
663
|
+
#
|
664
|
+
# @option params [required, String] :state
|
665
|
+
# The state of the status.
|
666
|
+
#
|
667
|
+
# @option params [Integer] :display_order
|
668
|
+
# The display order of the status.
|
669
|
+
#
|
670
|
+
# @option params [Hash<String,String>] :tags
|
671
|
+
# One or more tags.
|
672
|
+
#
|
673
|
+
# @return [Types::CreateAgentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
674
|
+
#
|
675
|
+
# * {Types::CreateAgentStatusResponse#agent_status_arn #agent_status_arn} => String
|
676
|
+
# * {Types::CreateAgentStatusResponse#agent_status_id #agent_status_id} => String
|
677
|
+
#
|
678
|
+
# @example Request syntax with placeholder values
|
679
|
+
#
|
680
|
+
# resp = client.create_agent_status({
|
681
|
+
# instance_id: "InstanceId", # required
|
682
|
+
# name: "AgentStatusName", # required
|
683
|
+
# description: "AgentStatusDescription",
|
684
|
+
# state: "ENABLED", # required, accepts ENABLED, DISABLED
|
685
|
+
# display_order: 1,
|
686
|
+
# tags: {
|
687
|
+
# "TagKey" => "TagValue",
|
688
|
+
# },
|
689
|
+
# })
|
690
|
+
#
|
691
|
+
# @example Response structure
|
692
|
+
#
|
693
|
+
# resp.agent_status_arn #=> String
|
694
|
+
# resp.agent_status_id #=> String
|
695
|
+
#
|
696
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateAgentStatus AWS API Documentation
|
697
|
+
#
|
698
|
+
# @overload create_agent_status(params = {})
|
699
|
+
# @param [Hash] params ({})
|
700
|
+
def create_agent_status(params = {}, options = {})
|
701
|
+
req = build_request(:create_agent_status, params)
|
702
|
+
req.send_request(options)
|
703
|
+
end
|
704
|
+
|
649
705
|
# Creates a contact flow for the specified Amazon Connect instance.
|
650
706
|
#
|
651
707
|
# You can also create and update contact flows using the [Amazon Connect
|
@@ -711,6 +767,75 @@ module Aws::Connect
|
|
711
767
|
req.send_request(options)
|
712
768
|
end
|
713
769
|
|
770
|
+
# This API is in preview release for Amazon Connect and is subject to
|
771
|
+
# change.
|
772
|
+
#
|
773
|
+
# Creates hours of operation.
|
774
|
+
#
|
775
|
+
# @option params [required, String] :instance_id
|
776
|
+
# The identifier of the Amazon Connect instance. You can find the
|
777
|
+
# instanceId in the ARN of the instance.
|
778
|
+
#
|
779
|
+
# @option params [required, String] :name
|
780
|
+
# The name of the hours of operation.
|
781
|
+
#
|
782
|
+
# @option params [String] :description
|
783
|
+
# The description of the hours of operation.
|
784
|
+
#
|
785
|
+
# @option params [required, String] :time_zone
|
786
|
+
# The time zone of the hours of operation.
|
787
|
+
#
|
788
|
+
# @option params [required, Array<Types::HoursOfOperationConfig>] :config
|
789
|
+
# Configuration information for the hours of operation: day, start time,
|
790
|
+
# and end time.
|
791
|
+
#
|
792
|
+
# @option params [Hash<String,String>] :tags
|
793
|
+
# One or more tags.
|
794
|
+
#
|
795
|
+
# @return [Types::CreateHoursOfOperationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
796
|
+
#
|
797
|
+
# * {Types::CreateHoursOfOperationResponse#hours_of_operation_id #hours_of_operation_id} => String
|
798
|
+
# * {Types::CreateHoursOfOperationResponse#hours_of_operation_arn #hours_of_operation_arn} => String
|
799
|
+
#
|
800
|
+
# @example Request syntax with placeholder values
|
801
|
+
#
|
802
|
+
# resp = client.create_hours_of_operation({
|
803
|
+
# instance_id: "InstanceId", # required
|
804
|
+
# name: "CommonNameLength127", # required
|
805
|
+
# description: "HoursOfOperationDescription",
|
806
|
+
# time_zone: "TimeZone", # required
|
807
|
+
# config: [ # required
|
808
|
+
# {
|
809
|
+
# day: "SUNDAY", # required, accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
|
810
|
+
# start_time: { # required
|
811
|
+
# hours: 1, # required
|
812
|
+
# minutes: 1, # required
|
813
|
+
# },
|
814
|
+
# end_time: { # required
|
815
|
+
# hours: 1, # required
|
816
|
+
# minutes: 1, # required
|
817
|
+
# },
|
818
|
+
# },
|
819
|
+
# ],
|
820
|
+
# tags: {
|
821
|
+
# "TagKey" => "TagValue",
|
822
|
+
# },
|
823
|
+
# })
|
824
|
+
#
|
825
|
+
# @example Response structure
|
826
|
+
#
|
827
|
+
# resp.hours_of_operation_id #=> String
|
828
|
+
# resp.hours_of_operation_arn #=> String
|
829
|
+
#
|
830
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateHoursOfOperation AWS API Documentation
|
831
|
+
#
|
832
|
+
# @overload create_hours_of_operation(params = {})
|
833
|
+
# @param [Hash] params ({})
|
834
|
+
def create_hours_of_operation(params = {}, options = {})
|
835
|
+
req = build_request(:create_hours_of_operation, params)
|
836
|
+
req.send_request(options)
|
837
|
+
end
|
838
|
+
|
714
839
|
# This API is in preview release for Amazon Connect and is subject to
|
715
840
|
# change.
|
716
841
|
#
|
@@ -1225,6 +1350,36 @@ module Aws::Connect
|
|
1225
1350
|
req.send_request(options)
|
1226
1351
|
end
|
1227
1352
|
|
1353
|
+
# This API is in preview release for Amazon Connect and is subject to
|
1354
|
+
# change.
|
1355
|
+
#
|
1356
|
+
# Deletes an hours of operation.
|
1357
|
+
#
|
1358
|
+
# @option params [required, String] :instance_id
|
1359
|
+
# The identifier of the Amazon Connect instance. You can find the
|
1360
|
+
# instanceId in the ARN of the instance.
|
1361
|
+
#
|
1362
|
+
# @option params [required, String] :hours_of_operation_id
|
1363
|
+
# The identifier for the hours of operation.
|
1364
|
+
#
|
1365
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1366
|
+
#
|
1367
|
+
# @example Request syntax with placeholder values
|
1368
|
+
#
|
1369
|
+
# resp = client.delete_hours_of_operation({
|
1370
|
+
# instance_id: "InstanceId", # required
|
1371
|
+
# hours_of_operation_id: "HoursOfOperationId", # required
|
1372
|
+
# })
|
1373
|
+
#
|
1374
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteHoursOfOperation AWS API Documentation
|
1375
|
+
#
|
1376
|
+
# @overload delete_hours_of_operation(params = {})
|
1377
|
+
# @param [Hash] params ({})
|
1378
|
+
def delete_hours_of_operation(params = {}, options = {})
|
1379
|
+
req = build_request(:delete_hours_of_operation, params)
|
1380
|
+
req.send_request(options)
|
1381
|
+
end
|
1382
|
+
|
1228
1383
|
# This API is in preview release for Amazon Connect and is subject to
|
1229
1384
|
# change.
|
1230
1385
|
#
|
@@ -1407,6 +1562,50 @@ module Aws::Connect
|
|
1407
1562
|
req.send_request(options)
|
1408
1563
|
end
|
1409
1564
|
|
1565
|
+
# This API is in preview release for Amazon Connect and is subject to
|
1566
|
+
# change.
|
1567
|
+
#
|
1568
|
+
# Describes an agent status.
|
1569
|
+
#
|
1570
|
+
# @option params [required, String] :instance_id
|
1571
|
+
# The identifier of the Amazon Connect instance. You can find the
|
1572
|
+
# instanceId in the ARN of the instance.
|
1573
|
+
#
|
1574
|
+
# @option params [required, String] :agent_status_id
|
1575
|
+
# The identifier for the agent status.
|
1576
|
+
#
|
1577
|
+
# @return [Types::DescribeAgentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1578
|
+
#
|
1579
|
+
# * {Types::DescribeAgentStatusResponse#agent_status #agent_status} => Types::AgentStatus
|
1580
|
+
#
|
1581
|
+
# @example Request syntax with placeholder values
|
1582
|
+
#
|
1583
|
+
# resp = client.describe_agent_status({
|
1584
|
+
# instance_id: "InstanceId", # required
|
1585
|
+
# agent_status_id: "AgentStatusId", # required
|
1586
|
+
# })
|
1587
|
+
#
|
1588
|
+
# @example Response structure
|
1589
|
+
#
|
1590
|
+
# resp.agent_status.agent_status_arn #=> String
|
1591
|
+
# resp.agent_status.agent_status_id #=> String
|
1592
|
+
# resp.agent_status.name #=> String
|
1593
|
+
# resp.agent_status.description #=> String
|
1594
|
+
# resp.agent_status.type #=> String, one of "ROUTABLE", "CUSTOM", "OFFLINE"
|
1595
|
+
# resp.agent_status.display_order #=> Integer
|
1596
|
+
# resp.agent_status.state #=> String, one of "ENABLED", "DISABLED"
|
1597
|
+
# resp.agent_status.tags #=> Hash
|
1598
|
+
# resp.agent_status.tags["TagKey"] #=> String
|
1599
|
+
#
|
1600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeAgentStatus AWS API Documentation
|
1601
|
+
#
|
1602
|
+
# @overload describe_agent_status(params = {})
|
1603
|
+
# @param [Hash] params ({})
|
1604
|
+
def describe_agent_status(params = {}, options = {})
|
1605
|
+
req = build_request(:describe_agent_status, params)
|
1606
|
+
req.send_request(options)
|
1607
|
+
end
|
1608
|
+
|
1410
1609
|
# Describes the specified contact flow.
|
1411
1610
|
#
|
1412
1611
|
# You can also create and update contact flows using the [Amazon Connect
|
@@ -2757,6 +2956,60 @@ module Aws::Connect
|
|
2757
2956
|
req.send_request(options)
|
2758
2957
|
end
|
2759
2958
|
|
2959
|
+
# This API is in preview release for Amazon Connect and is subject to
|
2960
|
+
# change.
|
2961
|
+
#
|
2962
|
+
# Lists agent statuses.
|
2963
|
+
#
|
2964
|
+
# @option params [required, String] :instance_id
|
2965
|
+
# The identifier of the Amazon Connect instance. You can find the
|
2966
|
+
# instanceId in the ARN of the instance.
|
2967
|
+
#
|
2968
|
+
# @option params [String] :next_token
|
2969
|
+
# The token for the next set of results. Use the value returned in the
|
2970
|
+
# previous response in the next request to retrieve the next set of
|
2971
|
+
# results.
|
2972
|
+
#
|
2973
|
+
# @option params [Integer] :max_results
|
2974
|
+
# The maximum number of results to return per page.
|
2975
|
+
#
|
2976
|
+
# @option params [Array<String>] :agent_status_types
|
2977
|
+
# Available agent status types.
|
2978
|
+
#
|
2979
|
+
# @return [Types::ListAgentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2980
|
+
#
|
2981
|
+
# * {Types::ListAgentStatusResponse#next_token #next_token} => String
|
2982
|
+
# * {Types::ListAgentStatusResponse#agent_status_summary_list #agent_status_summary_list} => Array<Types::AgentStatusSummary>
|
2983
|
+
#
|
2984
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2985
|
+
#
|
2986
|
+
# @example Request syntax with placeholder values
|
2987
|
+
#
|
2988
|
+
# resp = client.list_agent_statuses({
|
2989
|
+
# instance_id: "InstanceId", # required
|
2990
|
+
# next_token: "NextToken",
|
2991
|
+
# max_results: 1,
|
2992
|
+
# agent_status_types: ["ROUTABLE"], # accepts ROUTABLE, CUSTOM, OFFLINE
|
2993
|
+
# })
|
2994
|
+
#
|
2995
|
+
# @example Response structure
|
2996
|
+
#
|
2997
|
+
# resp.next_token #=> String
|
2998
|
+
# resp.agent_status_summary_list #=> Array
|
2999
|
+
# resp.agent_status_summary_list[0].id #=> String
|
3000
|
+
# resp.agent_status_summary_list[0].arn #=> String
|
3001
|
+
# resp.agent_status_summary_list[0].name #=> String
|
3002
|
+
# resp.agent_status_summary_list[0].type #=> String, one of "ROUTABLE", "CUSTOM", "OFFLINE"
|
3003
|
+
#
|
3004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListAgentStatuses AWS API Documentation
|
3005
|
+
#
|
3006
|
+
# @overload list_agent_statuses(params = {})
|
3007
|
+
# @param [Hash] params ({})
|
3008
|
+
def list_agent_statuses(params = {}, options = {})
|
3009
|
+
req = build_request(:list_agent_statuses, params)
|
3010
|
+
req.send_request(options)
|
3011
|
+
end
|
3012
|
+
|
2760
3013
|
# This API is in preview release for Amazon Connect and is subject to
|
2761
3014
|
# change.
|
2762
3015
|
#
|
@@ -4458,7 +4711,7 @@ module Aws::Connect
|
|
4458
4711
|
# Adds the specified tags to the specified resource.
|
4459
4712
|
#
|
4460
4713
|
# The supported resource types are users, routing profiles, queues,
|
4461
|
-
# quick connects, and
|
4714
|
+
# quick connects, contact flows, agent status, and hours of operation.
|
4462
4715
|
#
|
4463
4716
|
# For sample policies that use tags, see [Amazon Connect Identity-Based
|
4464
4717
|
# Policy Examples][1] in the *Amazon Connect Administrator Guide*.
|
@@ -4520,6 +4773,56 @@ module Aws::Connect
|
|
4520
4773
|
req.send_request(options)
|
4521
4774
|
end
|
4522
4775
|
|
4776
|
+
# This API is in preview release for Amazon Connect and is subject to
|
4777
|
+
# change.
|
4778
|
+
#
|
4779
|
+
# Updates agent status.
|
4780
|
+
#
|
4781
|
+
# @option params [required, String] :instance_id
|
4782
|
+
# The identifier of the Amazon Connect instance. You can find the
|
4783
|
+
# instanceId in the ARN of the instance.
|
4784
|
+
#
|
4785
|
+
# @option params [required, String] :agent_status_id
|
4786
|
+
# The identifier of the agent status.
|
4787
|
+
#
|
4788
|
+
# @option params [String] :name
|
4789
|
+
# The name of the agent status.
|
4790
|
+
#
|
4791
|
+
# @option params [String] :description
|
4792
|
+
# The description of the agent status.
|
4793
|
+
#
|
4794
|
+
# @option params [String] :state
|
4795
|
+
# The state of the agent status.
|
4796
|
+
#
|
4797
|
+
# @option params [Integer] :display_order
|
4798
|
+
# The display order of the agent status.
|
4799
|
+
#
|
4800
|
+
# @option params [Boolean] :reset_order_number
|
4801
|
+
# A number indicating the reset order of the agent status.
|
4802
|
+
#
|
4803
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4804
|
+
#
|
4805
|
+
# @example Request syntax with placeholder values
|
4806
|
+
#
|
4807
|
+
# resp = client.update_agent_status({
|
4808
|
+
# instance_id: "InstanceId", # required
|
4809
|
+
# agent_status_id: "AgentStatusId", # required
|
4810
|
+
# name: "AgentStatusName",
|
4811
|
+
# description: "UpdateAgentStatusDescription",
|
4812
|
+
# state: "ENABLED", # accepts ENABLED, DISABLED
|
4813
|
+
# display_order: 1,
|
4814
|
+
# reset_order_number: false,
|
4815
|
+
# })
|
4816
|
+
#
|
4817
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateAgentStatus AWS API Documentation
|
4818
|
+
#
|
4819
|
+
# @overload update_agent_status(params = {})
|
4820
|
+
# @param [Hash] params ({})
|
4821
|
+
def update_agent_status(params = {}, options = {})
|
4822
|
+
req = build_request(:update_agent_status, params)
|
4823
|
+
req.send_request(options)
|
4824
|
+
end
|
4825
|
+
|
4523
4826
|
# Creates or updates user-defined contact attributes associated with the
|
4524
4827
|
# specified contact.
|
4525
4828
|
#
|
@@ -4672,6 +4975,64 @@ module Aws::Connect
|
|
4672
4975
|
req.send_request(options)
|
4673
4976
|
end
|
4674
4977
|
|
4978
|
+
# This API is in preview release for Amazon Connect and is subject to
|
4979
|
+
# change.
|
4980
|
+
#
|
4981
|
+
# Updates the hours of operation.
|
4982
|
+
#
|
4983
|
+
# @option params [required, String] :instance_id
|
4984
|
+
# The identifier of the Amazon Connect instance. You can find the
|
4985
|
+
# instanceId in the ARN of the instance.
|
4986
|
+
#
|
4987
|
+
# @option params [required, String] :hours_of_operation_id
|
4988
|
+
# The identifier of the hours of operation.
|
4989
|
+
#
|
4990
|
+
# @option params [String] :name
|
4991
|
+
# The name of the hours of operation.
|
4992
|
+
#
|
4993
|
+
# @option params [String] :description
|
4994
|
+
# The description of the hours of operation.
|
4995
|
+
#
|
4996
|
+
# @option params [String] :time_zone
|
4997
|
+
# The time zone of the hours of operation.
|
4998
|
+
#
|
4999
|
+
# @option params [Array<Types::HoursOfOperationConfig>] :config
|
5000
|
+
# Configuration information of the hours of operation.
|
5001
|
+
#
|
5002
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5003
|
+
#
|
5004
|
+
# @example Request syntax with placeholder values
|
5005
|
+
#
|
5006
|
+
# resp = client.update_hours_of_operation({
|
5007
|
+
# instance_id: "InstanceId", # required
|
5008
|
+
# hours_of_operation_id: "HoursOfOperationId", # required
|
5009
|
+
# name: "CommonNameLength127",
|
5010
|
+
# description: "UpdateHoursOfOperationDescription",
|
5011
|
+
# time_zone: "TimeZone",
|
5012
|
+
# config: [
|
5013
|
+
# {
|
5014
|
+
# day: "SUNDAY", # required, accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
|
5015
|
+
# start_time: { # required
|
5016
|
+
# hours: 1, # required
|
5017
|
+
# minutes: 1, # required
|
5018
|
+
# },
|
5019
|
+
# end_time: { # required
|
5020
|
+
# hours: 1, # required
|
5021
|
+
# minutes: 1, # required
|
5022
|
+
# },
|
5023
|
+
# },
|
5024
|
+
# ],
|
5025
|
+
# })
|
5026
|
+
#
|
5027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateHoursOfOperation AWS API Documentation
|
5028
|
+
#
|
5029
|
+
# @overload update_hours_of_operation(params = {})
|
5030
|
+
# @param [Hash] params ({})
|
5031
|
+
def update_hours_of_operation(params = {}, options = {})
|
5032
|
+
req = build_request(:update_hours_of_operation, params)
|
5033
|
+
req.send_request(options)
|
5034
|
+
end
|
5035
|
+
|
4675
5036
|
# This API is in preview release for Amazon Connect and is subject to
|
4676
5037
|
# change.
|
4677
5038
|
#
|
@@ -5448,7 +5809,7 @@ module Aws::Connect
|
|
5448
5809
|
params: params,
|
5449
5810
|
config: config)
|
5450
5811
|
context[:gem_name] = 'aws-sdk-connect'
|
5451
|
-
context[:gem_version] = '1.
|
5812
|
+
context[:gem_version] = '1.49.0'
|
5452
5813
|
Seahorse::Client::Request.new(handlers, context)
|
5453
5814
|
end
|
5454
5815
|
|