aws-sdk-connect 1.48.0 → 1.52.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  #
@@ -774,7 +899,7 @@ module Aws::Connect
774
899
  req.send_request(options)
775
900
  end
776
901
 
777
- # Create an AppIntegration association with an Amazon Connect instance.
902
+ # Creates an AWS resource association with an Amazon Connect instance.
778
903
  #
779
904
  # @option params [required, String] :instance_id
780
905
  # The identifier of the Amazon Connect instance. You can find the
@@ -786,14 +911,17 @@ module Aws::Connect
786
911
  # @option params [required, String] :integration_arn
787
912
  # The Amazon Resource Name (ARN) of the integration.
788
913
  #
789
- # @option params [required, String] :source_application_url
790
- # The URL for the external application.
914
+ # @option params [String] :source_application_url
915
+ # The URL for the external application. This field is only required for
916
+ # the EVENT integration type.
791
917
  #
792
- # @option params [required, String] :source_application_name
793
- # The name of the external application.
918
+ # @option params [String] :source_application_name
919
+ # The name of the external application. This field is only required for
920
+ # the EVENT integration type.
794
921
  #
795
- # @option params [required, String] :source_type
796
- # The type of the data source.
922
+ # @option params [String] :source_type
923
+ # The type of the data source. This field is only required for the EVENT
924
+ # integration type.
797
925
  #
798
926
  # @option params [Hash<String,String>] :tags
799
927
  # One or more tags.
@@ -807,11 +935,11 @@ module Aws::Connect
807
935
  #
808
936
  # resp = client.create_integration_association({
809
937
  # instance_id: "InstanceId", # required
810
- # integration_type: "EVENT", # required, accepts EVENT
938
+ # integration_type: "EVENT", # required, accepts EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT, WISDOM_KNOWLEDGE_BASE
811
939
  # integration_arn: "ARN", # required
812
- # source_application_url: "URI", # required
813
- # source_application_name: "SourceApplicationName", # required
814
- # source_type: "SALESFORCE", # required, accepts SALESFORCE, ZENDESK
940
+ # source_application_url: "URI",
941
+ # source_application_name: "SourceApplicationName",
942
+ # source_type: "SALESFORCE", # accepts SALESFORCE, ZENDESK
815
943
  # tags: {
816
944
  # "TagKey" => "TagValue",
817
945
  # },
@@ -1036,19 +1164,18 @@ module Aws::Connect
1036
1164
  req.send_request(options)
1037
1165
  end
1038
1166
 
1039
- # Creates a use case for an AppIntegration association.
1167
+ # Creates a use case for an integration association.
1040
1168
  #
1041
1169
  # @option params [required, String] :instance_id
1042
1170
  # The identifier of the Amazon Connect instance. You can find the
1043
1171
  # instanceId in the ARN of the instance.
1044
1172
  #
1045
1173
  # @option params [required, String] :integration_association_id
1046
- # The identifier for the AppIntegration association.
1174
+ # The identifier for the integration association.
1047
1175
  #
1048
1176
  # @option params [required, String] :use_case_type
1049
- # The type of use case to associate to the AppIntegration association.
1050
- # Each AppIntegration association can have only one of each use case
1051
- # type.
1177
+ # The type of use case to associate to the integration association. Each
1178
+ # integration association can have only one of each use case type.
1052
1179
  #
1053
1180
  # @option params [Hash<String,String>] :tags
1054
1181
  # One or more tags.
@@ -1063,7 +1190,7 @@ module Aws::Connect
1063
1190
  # resp = client.create_use_case({
1064
1191
  # instance_id: "InstanceId", # required
1065
1192
  # integration_association_id: "IntegrationAssociationId", # required
1066
- # use_case_type: "RULES_EVALUATION", # required, accepts RULES_EVALUATION
1193
+ # use_case_type: "RULES_EVALUATION", # required, accepts RULES_EVALUATION, CONNECT_CAMPAIGNS
1067
1194
  # tags: {
1068
1195
  # "TagKey" => "TagValue",
1069
1196
  # },
@@ -1225,6 +1352,36 @@ module Aws::Connect
1225
1352
  req.send_request(options)
1226
1353
  end
1227
1354
 
1355
+ # This API is in preview release for Amazon Connect and is subject to
1356
+ # change.
1357
+ #
1358
+ # Deletes an hours of operation.
1359
+ #
1360
+ # @option params [required, String] :instance_id
1361
+ # The identifier of the Amazon Connect instance. You can find the
1362
+ # instanceId in the ARN of the instance.
1363
+ #
1364
+ # @option params [required, String] :hours_of_operation_id
1365
+ # The identifier for the hours of operation.
1366
+ #
1367
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1368
+ #
1369
+ # @example Request syntax with placeholder values
1370
+ #
1371
+ # resp = client.delete_hours_of_operation({
1372
+ # instance_id: "InstanceId", # required
1373
+ # hours_of_operation_id: "HoursOfOperationId", # required
1374
+ # })
1375
+ #
1376
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteHoursOfOperation AWS API Documentation
1377
+ #
1378
+ # @overload delete_hours_of_operation(params = {})
1379
+ # @param [Hash] params ({})
1380
+ def delete_hours_of_operation(params = {}, options = {})
1381
+ req = build_request(:delete_hours_of_operation, params)
1382
+ req.send_request(options)
1383
+ end
1384
+
1228
1385
  # This API is in preview release for Amazon Connect and is subject to
1229
1386
  # change.
1230
1387
  #
@@ -1258,7 +1415,7 @@ module Aws::Connect
1258
1415
  req.send_request(options)
1259
1416
  end
1260
1417
 
1261
- # Deletes an AppIntegration association from an Amazon Connect instance.
1418
+ # Deletes an AWS resource association from an Amazon Connect instance.
1262
1419
  # The association must not have any use cases associated with it.
1263
1420
  #
1264
1421
  # @option params [required, String] :instance_id
@@ -1266,7 +1423,7 @@ module Aws::Connect
1266
1423
  # instanceId in the ARN of the instance.
1267
1424
  #
1268
1425
  # @option params [required, String] :integration_association_id
1269
- # The identifier for the AppIntegration association.
1426
+ # The identifier for the integration association.
1270
1427
  #
1271
1428
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1272
1429
  #
@@ -1313,14 +1470,14 @@ module Aws::Connect
1313
1470
  req.send_request(options)
1314
1471
  end
1315
1472
 
1316
- # Deletes a use case from an AppIntegration association.
1473
+ # Deletes a use case from an integration association.
1317
1474
  #
1318
1475
  # @option params [required, String] :instance_id
1319
1476
  # The identifier of the Amazon Connect instance. You can find the
1320
1477
  # instanceId in the ARN of the instance.
1321
1478
  #
1322
1479
  # @option params [required, String] :integration_association_id
1323
- # The identifier for the AppIntegration association.
1480
+ # The identifier for the integration association.
1324
1481
  #
1325
1482
  # @option params [required, String] :use_case_id
1326
1483
  # The identifier for the use case.
@@ -1407,6 +1564,50 @@ module Aws::Connect
1407
1564
  req.send_request(options)
1408
1565
  end
1409
1566
 
1567
+ # This API is in preview release for Amazon Connect and is subject to
1568
+ # change.
1569
+ #
1570
+ # Describes an agent status.
1571
+ #
1572
+ # @option params [required, String] :instance_id
1573
+ # The identifier of the Amazon Connect instance. You can find the
1574
+ # instanceId in the ARN of the instance.
1575
+ #
1576
+ # @option params [required, String] :agent_status_id
1577
+ # The identifier for the agent status.
1578
+ #
1579
+ # @return [Types::DescribeAgentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1580
+ #
1581
+ # * {Types::DescribeAgentStatusResponse#agent_status #agent_status} => Types::AgentStatus
1582
+ #
1583
+ # @example Request syntax with placeholder values
1584
+ #
1585
+ # resp = client.describe_agent_status({
1586
+ # instance_id: "InstanceId", # required
1587
+ # agent_status_id: "AgentStatusId", # required
1588
+ # })
1589
+ #
1590
+ # @example Response structure
1591
+ #
1592
+ # resp.agent_status.agent_status_arn #=> String
1593
+ # resp.agent_status.agent_status_id #=> String
1594
+ # resp.agent_status.name #=> String
1595
+ # resp.agent_status.description #=> String
1596
+ # resp.agent_status.type #=> String, one of "ROUTABLE", "CUSTOM", "OFFLINE"
1597
+ # resp.agent_status.display_order #=> Integer
1598
+ # resp.agent_status.state #=> String, one of "ENABLED", "DISABLED"
1599
+ # resp.agent_status.tags #=> Hash
1600
+ # resp.agent_status.tags["TagKey"] #=> String
1601
+ #
1602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeAgentStatus AWS API Documentation
1603
+ #
1604
+ # @overload describe_agent_status(params = {})
1605
+ # @param [Hash] params ({})
1606
+ def describe_agent_status(params = {}, options = {})
1607
+ req = build_request(:describe_agent_status, params)
1608
+ req.send_request(options)
1609
+ end
1610
+
1410
1611
  # Describes the specified contact flow.
1411
1612
  #
1412
1613
  # You can also create and update contact flows using the [Amazon Connect
@@ -2328,8 +2529,12 @@ module Aws::Connect
2328
2529
  #
2329
2530
  # : Unit: SECONDS
2330
2531
  #
2331
- # When you use groupings, Unit says SECONDS but the Value is returned
2332
- # in MILLISECONDS. For example, if you get a response like this:
2532
+ # When you use groupings, Unit says SECONDS and the Value is returned
2533
+ # in SECONDS.
2534
+ #
2535
+ # When you do not use groupings, Unit says SECONDS but the Value is
2536
+ # returned in MILLISECONDS. For example, if you get a response like
2537
+ # this:
2333
2538
  #
2334
2539
  # `\{ "Metric": \{ "Name": "OLDEST_CONTACT_AGE", "Unit": "SECONDS" \},
2335
2540
  # "Value": 24113.0 `\\}
@@ -2757,6 +2962,60 @@ module Aws::Connect
2757
2962
  req.send_request(options)
2758
2963
  end
2759
2964
 
2965
+ # This API is in preview release for Amazon Connect and is subject to
2966
+ # change.
2967
+ #
2968
+ # Lists agent statuses.
2969
+ #
2970
+ # @option params [required, String] :instance_id
2971
+ # The identifier of the Amazon Connect instance. You can find the
2972
+ # instanceId in the ARN of the instance.
2973
+ #
2974
+ # @option params [String] :next_token
2975
+ # The token for the next set of results. Use the value returned in the
2976
+ # previous response in the next request to retrieve the next set of
2977
+ # results.
2978
+ #
2979
+ # @option params [Integer] :max_results
2980
+ # The maximum number of results to return per page.
2981
+ #
2982
+ # @option params [Array<String>] :agent_status_types
2983
+ # Available agent status types.
2984
+ #
2985
+ # @return [Types::ListAgentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2986
+ #
2987
+ # * {Types::ListAgentStatusResponse#next_token #next_token} => String
2988
+ # * {Types::ListAgentStatusResponse#agent_status_summary_list #agent_status_summary_list} => Array&lt;Types::AgentStatusSummary&gt;
2989
+ #
2990
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2991
+ #
2992
+ # @example Request syntax with placeholder values
2993
+ #
2994
+ # resp = client.list_agent_statuses({
2995
+ # instance_id: "InstanceId", # required
2996
+ # next_token: "NextToken",
2997
+ # max_results: 1,
2998
+ # agent_status_types: ["ROUTABLE"], # accepts ROUTABLE, CUSTOM, OFFLINE
2999
+ # })
3000
+ #
3001
+ # @example Response structure
3002
+ #
3003
+ # resp.next_token #=> String
3004
+ # resp.agent_status_summary_list #=> Array
3005
+ # resp.agent_status_summary_list[0].id #=> String
3006
+ # resp.agent_status_summary_list[0].arn #=> String
3007
+ # resp.agent_status_summary_list[0].name #=> String
3008
+ # resp.agent_status_summary_list[0].type #=> String, one of "ROUTABLE", "CUSTOM", "OFFLINE"
3009
+ #
3010
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListAgentStatuses AWS API Documentation
3011
+ #
3012
+ # @overload list_agent_statuses(params = {})
3013
+ # @param [Hash] params ({})
3014
+ def list_agent_statuses(params = {}, options = {})
3015
+ req = build_request(:list_agent_statuses, params)
3016
+ req.send_request(options)
3017
+ end
3018
+
2760
3019
  # This API is in preview release for Amazon Connect and is subject to
2761
3020
  # change.
2762
3021
  #
@@ -3141,13 +3400,15 @@ module Aws::Connect
3141
3400
  req.send_request(options)
3142
3401
  end
3143
3402
 
3144
- # Provides summary information about the AppIntegration associations for
3403
+ # Provides summary information about the AWS resource associations for
3145
3404
  # the specified Amazon Connect instance.
3146
3405
  #
3147
3406
  # @option params [required, String] :instance_id
3148
3407
  # The identifier of the Amazon Connect instance. You can find the
3149
3408
  # instanceId in the ARN of the instance.
3150
3409
  #
3410
+ # @option params [String] :integration_type
3411
+ #
3151
3412
  # @option params [String] :next_token
3152
3413
  # The token for the next set of results. Use the value returned in the
3153
3414
  # previous response in the next request to retrieve the next set of
@@ -3167,6 +3428,7 @@ module Aws::Connect
3167
3428
  #
3168
3429
  # resp = client.list_integration_associations({
3169
3430
  # instance_id: "InstanceId", # required
3431
+ # integration_type: "EVENT", # accepts EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT, WISDOM_KNOWLEDGE_BASE
3170
3432
  # next_token: "NextToken",
3171
3433
  # max_results: 1,
3172
3434
  # })
@@ -3177,7 +3439,7 @@ module Aws::Connect
3177
3439
  # resp.integration_association_summary_list[0].integration_association_id #=> String
3178
3440
  # resp.integration_association_summary_list[0].integration_association_arn #=> String
3179
3441
  # resp.integration_association_summary_list[0].instance_id #=> String
3180
- # resp.integration_association_summary_list[0].integration_type #=> String, one of "EVENT"
3442
+ # resp.integration_association_summary_list[0].integration_type #=> String, one of "EVENT", "VOICE_ID", "PINPOINT_APP", "WISDOM_ASSISTANT", "WISDOM_KNOWLEDGE_BASE"
3181
3443
  # resp.integration_association_summary_list[0].integration_arn #=> String
3182
3444
  # resp.integration_association_summary_list[0].source_application_url #=> String
3183
3445
  # resp.integration_association_summary_list[0].source_application_name #=> String
@@ -3823,7 +4085,7 @@ module Aws::Connect
3823
4085
  req.send_request(options)
3824
4086
  end
3825
4087
 
3826
- # Lists the use cases.
4088
+ # Lists the use cases for the integration association.
3827
4089
  #
3828
4090
  # @option params [required, String] :instance_id
3829
4091
  # The identifier of the Amazon Connect instance. You can find the
@@ -3861,7 +4123,7 @@ module Aws::Connect
3861
4123
  # resp.use_case_summary_list #=> Array
3862
4124
  # resp.use_case_summary_list[0].use_case_id #=> String
3863
4125
  # resp.use_case_summary_list[0].use_case_arn #=> String
3864
- # resp.use_case_summary_list[0].use_case_type #=> String, one of "RULES_EVALUATION"
4126
+ # resp.use_case_summary_list[0].use_case_type #=> String, one of "RULES_EVALUATION", "CONNECT_CAMPAIGNS"
3865
4127
  # resp.next_token #=> String
3866
4128
  #
3867
4129
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUseCases AWS API Documentation
@@ -4184,6 +4446,13 @@ module Aws::Connect
4184
4446
  #
4185
4447
  # </note>
4186
4448
  #
4449
+ # <note markdown="1"> Campaign calls are not allowed by default. Before you can make a call
4450
+ # with `TrafficType` = `CAMPAIGN`, you must submit a service quota
4451
+ # increase request. For more information, see [Amazon Connect Service
4452
+ # Quotas][1] in the *Amazon Connect Administrator Guide*.
4453
+ #
4454
+ # </note>
4455
+ #
4187
4456
  #
4188
4457
  #
4189
4458
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html
@@ -4233,6 +4502,19 @@ module Aws::Connect
4233
4502
  # contact. Attribute keys can include only alphanumeric, dash, and
4234
4503
  # underscore characters.
4235
4504
  #
4505
+ # @option params [Types::AnswerMachineDetectionConfig] :answer_machine_detection_config
4506
+ # Configuration of the answering machine detection for this outbound
4507
+ # call.
4508
+ #
4509
+ # @option params [String] :campaign_id
4510
+ # The campaign identifier of the outbound communication.
4511
+ #
4512
+ # @option params [String] :traffic_type
4513
+ # Denotes the class of traffic. Calls with different traffic types are
4514
+ # handled differently by Amazon Connect. The default value is `GENERAL`.
4515
+ # Use `CAMPAIGN` if `EnableAnswerMachineDetection` is set to `true`. For
4516
+ # all other cases, use `GENERAL`.
4517
+ #
4236
4518
  # @return [Types::StartOutboundVoiceContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4237
4519
  #
4238
4520
  # * {Types::StartOutboundVoiceContactResponse#contact_id #contact_id} => String
@@ -4249,6 +4531,12 @@ module Aws::Connect
4249
4531
  # attributes: {
4250
4532
  # "AttributeName" => "AttributeValue",
4251
4533
  # },
4534
+ # answer_machine_detection_config: {
4535
+ # enable_answer_machine_detection: false,
4536
+ # await_answer_machine_prompt: false,
4537
+ # },
4538
+ # campaign_id: "CampaignId",
4539
+ # traffic_type: "GENERAL", # accepts GENERAL, CAMPAIGN
4252
4540
  # })
4253
4541
  #
4254
4542
  # @example Response structure
@@ -4458,7 +4746,7 @@ module Aws::Connect
4458
4746
  # Adds the specified tags to the specified resource.
4459
4747
  #
4460
4748
  # The supported resource types are users, routing profiles, queues,
4461
- # quick connects, and contact flows.
4749
+ # quick connects, contact flows, agent status, and hours of operation.
4462
4750
  #
4463
4751
  # For sample policies that use tags, see [Amazon Connect Identity-Based
4464
4752
  # Policy Examples][1] in the *Amazon Connect Administrator Guide*.
@@ -4520,6 +4808,56 @@ module Aws::Connect
4520
4808
  req.send_request(options)
4521
4809
  end
4522
4810
 
4811
+ # This API is in preview release for Amazon Connect and is subject to
4812
+ # change.
4813
+ #
4814
+ # Updates agent status.
4815
+ #
4816
+ # @option params [required, String] :instance_id
4817
+ # The identifier of the Amazon Connect instance. You can find the
4818
+ # instanceId in the ARN of the instance.
4819
+ #
4820
+ # @option params [required, String] :agent_status_id
4821
+ # The identifier of the agent status.
4822
+ #
4823
+ # @option params [String] :name
4824
+ # The name of the agent status.
4825
+ #
4826
+ # @option params [String] :description
4827
+ # The description of the agent status.
4828
+ #
4829
+ # @option params [String] :state
4830
+ # The state of the agent status.
4831
+ #
4832
+ # @option params [Integer] :display_order
4833
+ # The display order of the agent status.
4834
+ #
4835
+ # @option params [Boolean] :reset_order_number
4836
+ # A number indicating the reset order of the agent status.
4837
+ #
4838
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4839
+ #
4840
+ # @example Request syntax with placeholder values
4841
+ #
4842
+ # resp = client.update_agent_status({
4843
+ # instance_id: "InstanceId", # required
4844
+ # agent_status_id: "AgentStatusId", # required
4845
+ # name: "AgentStatusName",
4846
+ # description: "UpdateAgentStatusDescription",
4847
+ # state: "ENABLED", # accepts ENABLED, DISABLED
4848
+ # display_order: 1,
4849
+ # reset_order_number: false,
4850
+ # })
4851
+ #
4852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateAgentStatus AWS API Documentation
4853
+ #
4854
+ # @overload update_agent_status(params = {})
4855
+ # @param [Hash] params ({})
4856
+ def update_agent_status(params = {}, options = {})
4857
+ req = build_request(:update_agent_status, params)
4858
+ req.send_request(options)
4859
+ end
4860
+
4523
4861
  # Creates or updates user-defined contact attributes associated with the
4524
4862
  # specified contact.
4525
4863
  #
@@ -4672,6 +5010,64 @@ module Aws::Connect
4672
5010
  req.send_request(options)
4673
5011
  end
4674
5012
 
5013
+ # This API is in preview release for Amazon Connect and is subject to
5014
+ # change.
5015
+ #
5016
+ # Updates the hours of operation.
5017
+ #
5018
+ # @option params [required, String] :instance_id
5019
+ # The identifier of the Amazon Connect instance. You can find the
5020
+ # instanceId in the ARN of the instance.
5021
+ #
5022
+ # @option params [required, String] :hours_of_operation_id
5023
+ # The identifier of the hours of operation.
5024
+ #
5025
+ # @option params [String] :name
5026
+ # The name of the hours of operation.
5027
+ #
5028
+ # @option params [String] :description
5029
+ # The description of the hours of operation.
5030
+ #
5031
+ # @option params [String] :time_zone
5032
+ # The time zone of the hours of operation.
5033
+ #
5034
+ # @option params [Array<Types::HoursOfOperationConfig>] :config
5035
+ # Configuration information of the hours of operation.
5036
+ #
5037
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5038
+ #
5039
+ # @example Request syntax with placeholder values
5040
+ #
5041
+ # resp = client.update_hours_of_operation({
5042
+ # instance_id: "InstanceId", # required
5043
+ # hours_of_operation_id: "HoursOfOperationId", # required
5044
+ # name: "CommonNameLength127",
5045
+ # description: "UpdateHoursOfOperationDescription",
5046
+ # time_zone: "TimeZone",
5047
+ # config: [
5048
+ # {
5049
+ # day: "SUNDAY", # required, accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
5050
+ # start_time: { # required
5051
+ # hours: 1, # required
5052
+ # minutes: 1, # required
5053
+ # },
5054
+ # end_time: { # required
5055
+ # hours: 1, # required
5056
+ # minutes: 1, # required
5057
+ # },
5058
+ # },
5059
+ # ],
5060
+ # })
5061
+ #
5062
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateHoursOfOperation AWS API Documentation
5063
+ #
5064
+ # @overload update_hours_of_operation(params = {})
5065
+ # @param [Hash] params ({})
5066
+ def update_hours_of_operation(params = {}, options = {})
5067
+ req = build_request(:update_hours_of_operation, params)
5068
+ req.send_request(options)
5069
+ end
5070
+
4675
5071
  # This API is in preview release for Amazon Connect and is subject to
4676
5072
  # change.
4677
5073
  #
@@ -4684,6 +5080,11 @@ module Aws::Connect
4684
5080
  # @option params [required, String] :attribute_type
4685
5081
  # The type of attribute.
4686
5082
  #
5083
+ # <note markdown="1"> Only allowlisted customers can consume USE\_CUSTOM\_TTS\_VOICES. To
5084
+ # access this feature, contact AWS Support for allowlisting.
5085
+ #
5086
+ # </note>
5087
+ #
4687
5088
  # @option params [required, String] :value
4688
5089
  # The value for the attribute. Maximum character limit is 100.
4689
5090
  #
@@ -5448,7 +5849,7 @@ module Aws::Connect
5448
5849
  params: params,
5449
5850
  config: config)
5450
5851
  context[:gem_name] = 'aws-sdk-connect'
5451
- context[:gem_version] = '1.48.0'
5852
+ context[:gem_version] = '1.52.0'
5452
5853
  Seahorse::Client::Request.new(handlers, context)
5453
5854
  end
5454
5855