aws-sdk-connect 1.45.0 → 1.49.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 189cbd7348a77b9954141bac70a97da521eeab8eb2885e897e091ef2631c368f
4
- data.tar.gz: 93053d9dea09f28d2b14996004fc01611217a18b307ba795f739290cf177372f
3
+ metadata.gz: 9172c95dd369d7f5826298b11729f8e0911b45517d2141803b2b39a8bf7bbdff
4
+ data.tar.gz: 58bf9681eaef91a0eb39c703b9c018ac94f494d4c24489aaf270ddb6dd299db7
5
5
  SHA512:
6
- metadata.gz: 62c5767bd9f4ca66aa43de9e29e338f0382fe0e3948bde25911f8478731856955ff324815ece63ef79a53c4ca02f93cc878b9406a37a05cc97323c6d42e224a3
7
- data.tar.gz: 8307c3f1e4e336e0a2b980d1ec2d74d44a0d97e253cb24ac71f42610674cb96f5c8152565a1908e7ef9a33c94ce0f583d7a512b8874f49adfb57ea907664414d
6
+ metadata.gz: c1b32bd65ed31118297fa4fbddb6c0f10da22f9084fbdac5be8895fb81f219bb1c2701bd28d327f3226fcac2405594615f7a8d4a965d8dfc140166ef528bfcab
7
+ data.tar.gz: a29a50f862c8875886ba45cd60b24498248a5e0bdb26b8704e8fe98a88d115e23059b355526553e6a52a759e042199c2b7fe86b661eb026301ecabb7c9142d74
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
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
+
9
+ 1.48.0 (2021-07-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.47.0 (2021-07-28)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.46.0 (2021-06-24)
20
+ ------------------
21
+
22
+ * Feature - Released Amazon Connect quick connects management API for general availability (GA). For more information, see https://docs.aws.amazon.com/connect/latest/APIReference/Welcome.html
23
+
4
24
  1.45.0 (2021-06-15)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.49.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-connect/customizations'
48
48
  # @!group service
49
49
  module Aws::Connect
50
50
 
51
- GEM_VERSION = '1.45.0'
51
+ GEM_VERSION = '1.49.0'
52
52
 
53
53
  end
@@ -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
  #
@@ -900,9 +1025,6 @@ module Aws::Connect
900
1025
  req.send_request(options)
901
1026
  end
902
1027
 
903
- # This API is in preview release for Amazon Connect and is subject to
904
- # change.
905
- #
906
1028
  # Creates a quick connect for the specified Amazon Connect instance.
907
1029
  #
908
1030
  # @option params [required, String] :instance_id
@@ -1228,6 +1350,36 @@ module Aws::Connect
1228
1350
  req.send_request(options)
1229
1351
  end
1230
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
+
1231
1383
  # This API is in preview release for Amazon Connect and is subject to
1232
1384
  # change.
1233
1385
  #
@@ -1289,9 +1441,6 @@ module Aws::Connect
1289
1441
  req.send_request(options)
1290
1442
  end
1291
1443
 
1292
- # This API is in preview release for Amazon Connect and is subject to
1293
- # change.
1294
- #
1295
1444
  # Deletes a quick connect.
1296
1445
  #
1297
1446
  # @option params [required, String] :instance_id
@@ -1413,6 +1562,50 @@ module Aws::Connect
1413
1562
  req.send_request(options)
1414
1563
  end
1415
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
+
1416
1609
  # Describes the specified contact flow.
1417
1610
  #
1418
1611
  # You can also create and update contact flows using the [Amazon Connect
@@ -1692,9 +1885,6 @@ module Aws::Connect
1692
1885
  req.send_request(options)
1693
1886
  end
1694
1887
 
1695
- # This API is in preview release for Amazon Connect and is subject to
1696
- # change.
1697
- #
1698
1888
  # Describes the quick connect.
1699
1889
  #
1700
1890
  # @option params [required, String] :instance_id
@@ -2766,6 +2956,60 @@ module Aws::Connect
2766
2956
  req.send_request(options)
2767
2957
  end
2768
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&lt;Types::AgentStatusSummary&gt;
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
+
2769
3013
  # This API is in preview release for Amazon Connect and is subject to
2770
3014
  # change.
2771
3015
  #
@@ -3528,9 +3772,6 @@ module Aws::Connect
3528
3772
  req.send_request(options)
3529
3773
  end
3530
3774
 
3531
- # This API is in preview release for Amazon Connect and is subject to
3532
- # change.
3533
- #
3534
3775
  # Provides information about the quick connects for the specified Amazon
3535
3776
  # Connect instance.
3536
3777
  #
@@ -4470,7 +4711,7 @@ module Aws::Connect
4470
4711
  # Adds the specified tags to the specified resource.
4471
4712
  #
4472
4713
  # The supported resource types are users, routing profiles, queues,
4473
- # quick connects, and contact flows.
4714
+ # quick connects, contact flows, agent status, and hours of operation.
4474
4715
  #
4475
4716
  # For sample policies that use tags, see [Amazon Connect Identity-Based
4476
4717
  # Policy Examples][1] in the *Amazon Connect Administrator Guide*.
@@ -4532,6 +4773,56 @@ module Aws::Connect
4532
4773
  req.send_request(options)
4533
4774
  end
4534
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
+
4535
4826
  # Creates or updates user-defined contact attributes associated with the
4536
4827
  # specified contact.
4537
4828
  #
@@ -4684,6 +4975,64 @@ module Aws::Connect
4684
4975
  req.send_request(options)
4685
4976
  end
4686
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
+
4687
5036
  # This API is in preview release for Amazon Connect and is subject to
4688
5037
  # change.
4689
5038
  #
@@ -4965,9 +5314,6 @@ module Aws::Connect
4965
5314
  req.send_request(options)
4966
5315
  end
4967
5316
 
4968
- # This API is in preview release for Amazon Connect and is subject to
4969
- # change.
4970
- #
4971
5317
  # Updates the configuration settings for the specified quick connect.
4972
5318
  #
4973
5319
  # @option params [required, String] :instance_id
@@ -5012,9 +5358,6 @@ module Aws::Connect
5012
5358
  req.send_request(options)
5013
5359
  end
5014
5360
 
5015
- # This API is in preview release for Amazon Connect and is subject to
5016
- # change.
5017
- #
5018
5361
  # Updates the name and description of a quick connect. The request
5019
5362
  # accepts the following data in JSON format. At least `Name` or
5020
5363
  # `Description` must be provided.
@@ -5040,7 +5383,7 @@ module Aws::Connect
5040
5383
  # instance_id: "InstanceId", # required
5041
5384
  # quick_connect_id: "QuickConnectId", # required
5042
5385
  # name: "QuickConnectName",
5043
- # description: "QuickConnectDescription",
5386
+ # description: "UpdateQuickConnectDescription",
5044
5387
  # })
5045
5388
  #
5046
5389
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectName AWS API Documentation
@@ -5466,7 +5809,7 @@ module Aws::Connect
5466
5809
  params: params,
5467
5810
  config: config)
5468
5811
  context[:gem_name] = 'aws-sdk-connect'
5469
- context[:gem_version] = '1.45.0'
5812
+ context[:gem_version] = '1.49.0'
5470
5813
  Seahorse::Client::Request.new(handlers, context)
5471
5814
  end
5472
5815