aws-sdk-connect 1.55.0 → 1.59.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.
@@ -119,7 +119,9 @@ module Aws::Connect
119
119
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
120
  # are very aggressive. Construct and pass an instance of
121
121
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
122
+ # enable retries and extended timeouts. Instance profile credential
123
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
124
+ # to true.
123
125
  #
124
126
  # @option options [required, String] :region
125
127
  # The AWS region to connect to. The configured `:region` is
@@ -275,6 +277,15 @@ module Aws::Connect
275
277
  # ** Please note ** When response stubbing is enabled, no HTTP
276
278
  # requests are made, and retries are disabled.
277
279
  #
280
+ # @option options [Boolean] :use_dualstack_endpoint
281
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
282
+ # will be used if available.
283
+ #
284
+ # @option options [Boolean] :use_fips_endpoint
285
+ # When set to `true`, fips compatible endpoints will be used if available.
286
+ # When a `fips` region is used, the region is normalized and this config
287
+ # is set to `true`.
288
+ #
278
289
  # @option options [Boolean] :validate_params (true)
279
290
  # When `true`, request parameters are validated before
280
291
  # sending the request.
@@ -668,7 +679,7 @@ module Aws::Connect
668
679
  # The display order of the status.
669
680
  #
670
681
  # @option params [Hash<String,String>] :tags
671
- # One or more tags.
682
+ # The tags used to organize, track, or control access for this resource.
672
683
  #
673
684
  # @return [Types::CreateAgentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
674
685
  #
@@ -767,6 +778,67 @@ module Aws::Connect
767
778
  req.send_request(options)
768
779
  end
769
780
 
781
+ # Creates a contact flow module for the specified Amazon Connect
782
+ # instance.
783
+ #
784
+ # @option params [required, String] :instance_id
785
+ # The identifier of the Amazon Connect instance. You can find the
786
+ # instanceId in the ARN of the instance.
787
+ #
788
+ # @option params [required, String] :name
789
+ # The name of the contact flow module.
790
+ #
791
+ # @option params [String] :description
792
+ # The description of the contact flow module.
793
+ #
794
+ # @option params [required, String] :content
795
+ # The content of the contact flow module.
796
+ #
797
+ # @option params [Hash<String,String>] :tags
798
+ # The tags used to organize, track, or control access for this resource.
799
+ #
800
+ # @option params [String] :client_token
801
+ # A unique, case-sensitive identifier that you provide to ensure the
802
+ # idempotency of the request.
803
+ #
804
+ # **A suitable default value is auto-generated.** You should normally
805
+ # not need to pass this option.**
806
+ #
807
+ # @return [Types::CreateContactFlowModuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
808
+ #
809
+ # * {Types::CreateContactFlowModuleResponse#id #id} => String
810
+ # * {Types::CreateContactFlowModuleResponse#arn #arn} => String
811
+ #
812
+ # @example Request syntax with placeholder values
813
+ #
814
+ # resp = client.create_contact_flow_module({
815
+ # instance_id: "InstanceId", # required
816
+ # name: "ContactFlowModuleName", # required
817
+ # description: "ContactFlowModuleDescription",
818
+ # content: "ContactFlowModuleContent", # required
819
+ # tags: {
820
+ # "TagKey" => "TagValue",
821
+ # },
822
+ # client_token: "ClientToken",
823
+ # })
824
+ #
825
+ # @example Response structure
826
+ #
827
+ # resp.id #=> String
828
+ # resp.arn #=> String
829
+ #
830
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContactFlowModule AWS API Documentation
831
+ #
832
+ # @overload create_contact_flow_module(params = {})
833
+ # @param [Hash] params ({})
834
+ def create_contact_flow_module(params = {}, options = {})
835
+ req = build_request(:create_contact_flow_module, params)
836
+ req.send_request(options)
837
+ end
838
+
839
+ # This API is in preview release for Amazon Connect and is subject to
840
+ # change.
841
+ #
770
842
  # Creates hours of operation.
771
843
  #
772
844
  # @option params [required, String] :instance_id
@@ -787,7 +859,7 @@ module Aws::Connect
787
859
  # and end time.
788
860
  #
789
861
  # @option params [Hash<String,String>] :tags
790
- # One or more tags.
862
+ # The tags used to organize, track, or control access for this resource.
791
863
  #
792
864
  # @return [Types::CreateHoursOfOperationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
793
865
  #
@@ -921,7 +993,7 @@ module Aws::Connect
921
993
  # integration type.
922
994
  #
923
995
  # @option params [Hash<String,String>] :tags
924
- # One or more tags.
996
+ # The tags used to organize, track, or control access for this resource.
925
997
  #
926
998
  # @return [Types::CreateIntegrationAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
927
999
  #
@@ -985,7 +1057,7 @@ module Aws::Connect
985
1057
  # The quick connects available to agents who are working the queue.
986
1058
  #
987
1059
  # @option params [Hash<String,String>] :tags
988
- # One or more tags.
1060
+ # The tags used to organize, track, or control access for this resource.
989
1061
  #
990
1062
  # @return [Types::CreateQueueResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
991
1063
  #
@@ -1041,7 +1113,7 @@ module Aws::Connect
1041
1113
  # Configuration settings for the quick connect.
1042
1114
  #
1043
1115
  # @option params [Hash<String,String>] :tags
1044
- # One or more tags.
1116
+ # The tags used to organize, track, or control access for this resource.
1045
1117
  #
1046
1118
  # @return [Types::CreateQuickConnectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1047
1119
  #
@@ -1161,6 +1233,58 @@ module Aws::Connect
1161
1233
  req.send_request(options)
1162
1234
  end
1163
1235
 
1236
+ # This API is in preview release for Amazon Connect and is subject to
1237
+ # change.
1238
+ #
1239
+ # Creates a security profile.
1240
+ #
1241
+ # @option params [required, String] :security_profile_name
1242
+ # The name of the security profile.
1243
+ #
1244
+ # @option params [String] :description
1245
+ # The description of the security profile.
1246
+ #
1247
+ # @option params [Array<String>] :permissions
1248
+ # Permissions assigned to the security profile.
1249
+ #
1250
+ # @option params [required, String] :instance_id
1251
+ # The identifier of the Amazon Connect instance. You can find the
1252
+ # instanceId in the ARN of the instance.
1253
+ #
1254
+ # @option params [Hash<String,String>] :tags
1255
+ # The tags used to organize, track, or control access for this resource.
1256
+ #
1257
+ # @return [Types::CreateSecurityProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1258
+ #
1259
+ # * {Types::CreateSecurityProfileResponse#security_profile_id #security_profile_id} => String
1260
+ # * {Types::CreateSecurityProfileResponse#security_profile_arn #security_profile_arn} => String
1261
+ #
1262
+ # @example Request syntax with placeholder values
1263
+ #
1264
+ # resp = client.create_security_profile({
1265
+ # security_profile_name: "SecurityProfileName", # required
1266
+ # description: "SecurityProfileDescription",
1267
+ # permissions: ["SecurityProfilePermission"],
1268
+ # instance_id: "InstanceId", # required
1269
+ # tags: {
1270
+ # "TagKey" => "TagValue",
1271
+ # },
1272
+ # })
1273
+ #
1274
+ # @example Response structure
1275
+ #
1276
+ # resp.security_profile_id #=> String
1277
+ # resp.security_profile_arn #=> String
1278
+ #
1279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateSecurityProfile AWS API Documentation
1280
+ #
1281
+ # @overload create_security_profile(params = {})
1282
+ # @param [Hash] params ({})
1283
+ def create_security_profile(params = {}, options = {})
1284
+ req = build_request(:create_security_profile, params)
1285
+ req.send_request(options)
1286
+ end
1287
+
1164
1288
  # Creates a use case for an integration association.
1165
1289
  #
1166
1290
  # @option params [required, String] :instance_id
@@ -1175,7 +1299,7 @@ module Aws::Connect
1175
1299
  # integration association can have only one of each use case type.
1176
1300
  #
1177
1301
  # @option params [Hash<String,String>] :tags
1178
- # One or more tags.
1302
+ # The tags used to organize, track, or control access for this resource.
1179
1303
  #
1180
1304
  # @return [Types::CreateUseCaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1181
1305
  #
@@ -1349,6 +1473,63 @@ module Aws::Connect
1349
1473
  req.send_request(options)
1350
1474
  end
1351
1475
 
1476
+ # Deletes a contact flow 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] :contact_flow_id
1483
+ # The identifier of the contact flow.
1484
+ #
1485
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1486
+ #
1487
+ # @example Request syntax with placeholder values
1488
+ #
1489
+ # resp = client.delete_contact_flow({
1490
+ # instance_id: "InstanceId", # required
1491
+ # contact_flow_id: "ContactFlowId", # required
1492
+ # })
1493
+ #
1494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlow AWS API Documentation
1495
+ #
1496
+ # @overload delete_contact_flow(params = {})
1497
+ # @param [Hash] params ({})
1498
+ def delete_contact_flow(params = {}, options = {})
1499
+ req = build_request(:delete_contact_flow, params)
1500
+ req.send_request(options)
1501
+ end
1502
+
1503
+ # Deletes the specified contact flow module.
1504
+ #
1505
+ # @option params [required, String] :instance_id
1506
+ # The identifier of the Amazon Connect instance. You can find the
1507
+ # instanceId in the ARN of the instance.
1508
+ #
1509
+ # @option params [required, String] :contact_flow_module_id
1510
+ # The identifier of the contact flow module.
1511
+ #
1512
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1513
+ #
1514
+ # @example Request syntax with placeholder values
1515
+ #
1516
+ # resp = client.delete_contact_flow_module({
1517
+ # instance_id: "InstanceId", # required
1518
+ # contact_flow_module_id: "ContactFlowModuleId", # required
1519
+ # })
1520
+ #
1521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlowModule AWS API Documentation
1522
+ #
1523
+ # @overload delete_contact_flow_module(params = {})
1524
+ # @param [Hash] params ({})
1525
+ def delete_contact_flow_module(params = {}, options = {})
1526
+ req = build_request(:delete_contact_flow_module, params)
1527
+ req.send_request(options)
1528
+ end
1529
+
1530
+ # This API is in preview release for Amazon Connect and is subject to
1531
+ # change.
1532
+ #
1352
1533
  # Deletes an hours of operation.
1353
1534
  #
1354
1535
  # @option params [required, String] :instance_id
@@ -1464,6 +1645,36 @@ module Aws::Connect
1464
1645
  req.send_request(options)
1465
1646
  end
1466
1647
 
1648
+ # This API is in preview release for Amazon Connect and is subject to
1649
+ # change.
1650
+ #
1651
+ # Deletes a security profile.
1652
+ #
1653
+ # @option params [required, String] :instance_id
1654
+ # The identifier of the Amazon Connect instance. You can find the
1655
+ # instanceId in the ARN of the instance.
1656
+ #
1657
+ # @option params [required, String] :security_profile_id
1658
+ # The identifier for the security profle.
1659
+ #
1660
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1661
+ #
1662
+ # @example Request syntax with placeholder values
1663
+ #
1664
+ # resp = client.delete_security_profile({
1665
+ # instance_id: "InstanceId", # required
1666
+ # security_profile_id: "SecurityProfileId", # required
1667
+ # })
1668
+ #
1669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteSecurityProfile AWS API Documentation
1670
+ #
1671
+ # @overload delete_security_profile(params = {})
1672
+ # @param [Hash] params ({})
1673
+ def delete_security_profile(params = {}, options = {})
1674
+ req = build_request(:delete_security_profile, params)
1675
+ req.send_request(options)
1676
+ end
1677
+
1467
1678
  # Deletes a use case from an integration association.
1468
1679
  #
1469
1680
  # @option params [required, String] :instance_id
@@ -1602,6 +1813,60 @@ module Aws::Connect
1602
1813
  req.send_request(options)
1603
1814
  end
1604
1815
 
1816
+ # This API is in preview release for Amazon Connect and is subject to
1817
+ # change.
1818
+ #
1819
+ # Describes the specified contact.
1820
+ #
1821
+ # Contact information remains available in Amazon Connect for 24 months,
1822
+ # and then it is deleted.
1823
+ #
1824
+ # @option params [required, String] :instance_id
1825
+ # The identifier of the Amazon Connect instance. You can find the
1826
+ # instanceId in the ARN of the instance.
1827
+ #
1828
+ # @option params [required, String] :contact_id
1829
+ # The identifier of the contact.
1830
+ #
1831
+ # @return [Types::DescribeContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1832
+ #
1833
+ # * {Types::DescribeContactResponse#contact #contact} => Types::Contact
1834
+ #
1835
+ # @example Request syntax with placeholder values
1836
+ #
1837
+ # resp = client.describe_contact({
1838
+ # instance_id: "InstanceId", # required
1839
+ # contact_id: "ContactId", # required
1840
+ # })
1841
+ #
1842
+ # @example Response structure
1843
+ #
1844
+ # resp.contact.arn #=> String
1845
+ # resp.contact.id #=> String
1846
+ # resp.contact.initial_contact_id #=> String
1847
+ # resp.contact.previous_contact_id #=> String
1848
+ # resp.contact.initiation_method #=> String, one of "INBOUND", "OUTBOUND", "TRANSFER", "QUEUE_TRANSFER", "CALLBACK", "API"
1849
+ # resp.contact.name #=> String
1850
+ # resp.contact.description #=> String
1851
+ # resp.contact.channel #=> String, one of "VOICE", "CHAT", "TASK"
1852
+ # resp.contact.queue_info.id #=> String
1853
+ # resp.contact.queue_info.enqueue_timestamp #=> Time
1854
+ # resp.contact.agent_info.id #=> String
1855
+ # resp.contact.agent_info.connected_to_agent_timestamp #=> Time
1856
+ # resp.contact.initiation_timestamp #=> Time
1857
+ # resp.contact.disconnect_timestamp #=> Time
1858
+ # resp.contact.last_update_timestamp #=> Time
1859
+ # resp.contact.scheduled_timestamp #=> Time
1860
+ #
1861
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContact AWS API Documentation
1862
+ #
1863
+ # @overload describe_contact(params = {})
1864
+ # @param [Hash] params ({})
1865
+ def describe_contact(params = {}, options = {})
1866
+ req = build_request(:describe_contact, params)
1867
+ req.send_request(options)
1868
+ end
1869
+
1605
1870
  # Describes the specified contact flow.
1606
1871
  #
1607
1872
  # You can also create and update contact flows using the [Amazon Connect
@@ -1634,6 +1899,7 @@ module Aws::Connect
1634
1899
  # resp.contact_flow.id #=> String
1635
1900
  # resp.contact_flow.name #=> String
1636
1901
  # resp.contact_flow.type #=> String, one of "CONTACT_FLOW", "CUSTOMER_QUEUE", "CUSTOMER_HOLD", "CUSTOMER_WHISPER", "AGENT_HOLD", "AGENT_WHISPER", "OUTBOUND_WHISPER", "AGENT_TRANSFER", "QUEUE_TRANSFER"
1902
+ # resp.contact_flow.state #=> String, one of "ACTIVE", "ARCHIVED"
1637
1903
  # resp.contact_flow.description #=> String
1638
1904
  # resp.contact_flow.content #=> String
1639
1905
  # resp.contact_flow.tags #=> Hash
@@ -1648,6 +1914,50 @@ module Aws::Connect
1648
1914
  req.send_request(options)
1649
1915
  end
1650
1916
 
1917
+ # Describes the specified contact flow module.
1918
+ #
1919
+ # @option params [required, String] :instance_id
1920
+ # The identifier of the Amazon Connect instance. You can find the
1921
+ # instanceId in the ARN of the instance.
1922
+ #
1923
+ # @option params [required, String] :contact_flow_module_id
1924
+ # The identifier of the contact flow module.
1925
+ #
1926
+ # @return [Types::DescribeContactFlowModuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1927
+ #
1928
+ # * {Types::DescribeContactFlowModuleResponse#contact_flow_module #contact_flow_module} => Types::ContactFlowModule
1929
+ #
1930
+ # @example Request syntax with placeholder values
1931
+ #
1932
+ # resp = client.describe_contact_flow_module({
1933
+ # instance_id: "InstanceId", # required
1934
+ # contact_flow_module_id: "ContactFlowModuleId", # required
1935
+ # })
1936
+ #
1937
+ # @example Response structure
1938
+ #
1939
+ # resp.contact_flow_module.arn #=> String
1940
+ # resp.contact_flow_module.id #=> String
1941
+ # resp.contact_flow_module.name #=> String
1942
+ # resp.contact_flow_module.content #=> String
1943
+ # resp.contact_flow_module.description #=> String
1944
+ # resp.contact_flow_module.state #=> String, one of "ACTIVE", "ARCHIVED"
1945
+ # resp.contact_flow_module.status #=> String, one of "PUBLISHED", "SAVED"
1946
+ # resp.contact_flow_module.tags #=> Hash
1947
+ # resp.contact_flow_module.tags["TagKey"] #=> String
1948
+ #
1949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactFlowModule AWS API Documentation
1950
+ #
1951
+ # @overload describe_contact_flow_module(params = {})
1952
+ # @param [Hash] params ({})
1953
+ def describe_contact_flow_module(params = {}, options = {})
1954
+ req = build_request(:describe_contact_flow_module, params)
1955
+ req.send_request(options)
1956
+ end
1957
+
1958
+ # This API is in preview release for Amazon Connect and is subject to
1959
+ # change.
1960
+ #
1651
1961
  # Describes the hours of operation.
1652
1962
  #
1653
1963
  # @option params [required, String] :instance_id
@@ -1965,6 +2275,48 @@ module Aws::Connect
1965
2275
  req.send_request(options)
1966
2276
  end
1967
2277
 
2278
+ # This API is in preview release for Amazon Connect and is subject to
2279
+ # change.
2280
+ #
2281
+ # Gets basic information about the security profle.
2282
+ #
2283
+ # @option params [required, String] :security_profile_id
2284
+ # The identifier for the security profle.
2285
+ #
2286
+ # @option params [required, String] :instance_id
2287
+ # The identifier of the Amazon Connect instance. You can find the
2288
+ # instanceId in the ARN of the instance.
2289
+ #
2290
+ # @return [Types::DescribeSecurityProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2291
+ #
2292
+ # * {Types::DescribeSecurityProfileResponse#security_profile #security_profile} => Types::SecurityProfile
2293
+ #
2294
+ # @example Request syntax with placeholder values
2295
+ #
2296
+ # resp = client.describe_security_profile({
2297
+ # security_profile_id: "SecurityProfileId", # required
2298
+ # instance_id: "InstanceId", # required
2299
+ # })
2300
+ #
2301
+ # @example Response structure
2302
+ #
2303
+ # resp.security_profile.id #=> String
2304
+ # resp.security_profile.organization_resource_id #=> String
2305
+ # resp.security_profile.arn #=> String
2306
+ # resp.security_profile.security_profile_name #=> String
2307
+ # resp.security_profile.description #=> String
2308
+ # resp.security_profile.tags #=> Hash
2309
+ # resp.security_profile.tags["TagKey"] #=> String
2310
+ #
2311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeSecurityProfile AWS API Documentation
2312
+ #
2313
+ # @overload describe_security_profile(params = {})
2314
+ # @param [Hash] params ({})
2315
+ def describe_security_profile(params = {}, options = {})
2316
+ req = build_request(:describe_security_profile, params)
2317
+ req.send_request(options)
2318
+ end
2319
+
1968
2320
  # Describes the specified user account. You can find the instance ID in
1969
2321
  # the console (it’s the final part of the ARN). The console does not
1970
2322
  # display the user IDs. Instead, list the users and note the IDs
@@ -3109,6 +3461,58 @@ module Aws::Connect
3109
3461
  req.send_request(options)
3110
3462
  end
3111
3463
 
3464
+ # Provides information about the contact flow modules for the specified
3465
+ # Amazon Connect instance.
3466
+ #
3467
+ # @option params [required, String] :instance_id
3468
+ # The identifier of the Amazon Connect instance. You can find the
3469
+ # instanceId in the ARN of the instance.
3470
+ #
3471
+ # @option params [String] :next_token
3472
+ # The token for the next set of results. Use the value returned in the
3473
+ # previous response in the next request to retrieve the next set of
3474
+ # results.
3475
+ #
3476
+ # @option params [Integer] :max_results
3477
+ # The maximum number of results to return per page.
3478
+ #
3479
+ # @option params [String] :contact_flow_module_state
3480
+ # The state of the contact flow module.
3481
+ #
3482
+ # @return [Types::ListContactFlowModulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3483
+ #
3484
+ # * {Types::ListContactFlowModulesResponse#contact_flow_modules_summary_list #contact_flow_modules_summary_list} => Array&lt;Types::ContactFlowModuleSummary&gt;
3485
+ # * {Types::ListContactFlowModulesResponse#next_token #next_token} => String
3486
+ #
3487
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3488
+ #
3489
+ # @example Request syntax with placeholder values
3490
+ #
3491
+ # resp = client.list_contact_flow_modules({
3492
+ # instance_id: "InstanceId", # required
3493
+ # next_token: "NextToken",
3494
+ # max_results: 1,
3495
+ # contact_flow_module_state: "ACTIVE", # accepts ACTIVE, ARCHIVED
3496
+ # })
3497
+ #
3498
+ # @example Response structure
3499
+ #
3500
+ # resp.contact_flow_modules_summary_list #=> Array
3501
+ # resp.contact_flow_modules_summary_list[0].id #=> String
3502
+ # resp.contact_flow_modules_summary_list[0].arn #=> String
3503
+ # resp.contact_flow_modules_summary_list[0].name #=> String
3504
+ # resp.contact_flow_modules_summary_list[0].state #=> String, one of "ACTIVE", "ARCHIVED"
3505
+ # resp.next_token #=> String
3506
+ #
3507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlowModules AWS API Documentation
3508
+ #
3509
+ # @overload list_contact_flow_modules(params = {})
3510
+ # @param [Hash] params ({})
3511
+ def list_contact_flow_modules(params = {}, options = {})
3512
+ req = build_request(:list_contact_flow_modules, params)
3513
+ req.send_request(options)
3514
+ end
3515
+
3112
3516
  # Provides information about the contact flows for the specified Amazon
3113
3517
  # Connect instance.
3114
3518
  #
@@ -3161,6 +3565,7 @@ module Aws::Connect
3161
3565
  # resp.contact_flow_summary_list[0].arn #=> String
3162
3566
  # resp.contact_flow_summary_list[0].name #=> String
3163
3567
  # resp.contact_flow_summary_list[0].contact_flow_type #=> String, one of "CONTACT_FLOW", "CUSTOMER_QUEUE", "CUSTOMER_HOLD", "CUSTOMER_WHISPER", "AGENT_HOLD", "AGENT_WHISPER", "OUTBOUND_WHISPER", "AGENT_TRANSFER", "QUEUE_TRANSFER"
3568
+ # resp.contact_flow_summary_list[0].contact_flow_state #=> String, one of "ACTIVE", "ARCHIVED"
3164
3569
  # resp.next_token #=> String
3165
3570
  #
3166
3571
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlows AWS API Documentation
@@ -3172,6 +3577,65 @@ module Aws::Connect
3172
3577
  req.send_request(options)
3173
3578
  end
3174
3579
 
3580
+ # This API is in preview release for Amazon Connect and is subject to
3581
+ # change.
3582
+ #
3583
+ # For the specified `referenceTypes`, returns a list of references
3584
+ # associated with the contact.
3585
+ #
3586
+ # @option params [required, String] :instance_id
3587
+ # The identifier of the Amazon Connect instance. You can find the
3588
+ # instanceId in the ARN of the instance.
3589
+ #
3590
+ # @option params [required, String] :contact_id
3591
+ # The identifier of the initial contact.
3592
+ #
3593
+ # @option params [required, Array<String>] :reference_types
3594
+ # The type of reference.
3595
+ #
3596
+ # @option params [String] :next_token
3597
+ # The token for the next set of results. Use the value returned in the
3598
+ # previous response in the next request to retrieve the next set of
3599
+ # results.
3600
+ #
3601
+ # This is not expected to be set, because the value returned in the
3602
+ # previous response is always null.
3603
+ #
3604
+ # @return [Types::ListContactReferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3605
+ #
3606
+ # * {Types::ListContactReferencesResponse#reference_summary_list #reference_summary_list} => Array&lt;Types::ReferenceSummary&gt;
3607
+ # * {Types::ListContactReferencesResponse#next_token #next_token} => String
3608
+ #
3609
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3610
+ #
3611
+ # @example Request syntax with placeholder values
3612
+ #
3613
+ # resp = client.list_contact_references({
3614
+ # instance_id: "InstanceId", # required
3615
+ # contact_id: "ContactId", # required
3616
+ # reference_types: ["URL"], # required, accepts URL, ATTACHMENT
3617
+ # next_token: "NextToken",
3618
+ # })
3619
+ #
3620
+ # @example Response structure
3621
+ #
3622
+ # resp.reference_summary_list #=> Array
3623
+ # resp.reference_summary_list[0].url.name #=> String
3624
+ # resp.reference_summary_list[0].url.value #=> String
3625
+ # resp.reference_summary_list[0].attachment.name #=> String
3626
+ # resp.reference_summary_list[0].attachment.value #=> String
3627
+ # resp.reference_summary_list[0].attachment.status #=> String, one of "APPROVED", "REJECTED"
3628
+ # resp.next_token #=> String
3629
+ #
3630
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactReferences AWS API Documentation
3631
+ #
3632
+ # @overload list_contact_references(params = {})
3633
+ # @param [Hash] params ({})
3634
+ def list_contact_references(params = {}, options = {})
3635
+ req = build_request(:list_contact_references, params)
3636
+ req.send_request(options)
3637
+ end
3638
+
3175
3639
  # Provides information about the hours of operation for the specified
3176
3640
  # Amazon Connect instance.
3177
3641
  #
@@ -3399,6 +3863,7 @@ module Aws::Connect
3399
3863
  # instanceId in the ARN of the instance.
3400
3864
  #
3401
3865
  # @option params [String] :integration_type
3866
+ # The integration type.
3402
3867
  #
3403
3868
  # @option params [String] :next_token
3404
3869
  # The token for the next set of results. Use the value returned in the
@@ -3987,6 +4452,57 @@ module Aws::Connect
3987
4452
  req.send_request(options)
3988
4453
  end
3989
4454
 
4455
+ # This API is in preview release for Amazon Connect and is subject to
4456
+ # change.
4457
+ #
4458
+ # Lists the permissions granted to a security profile.
4459
+ #
4460
+ # @option params [required, String] :security_profile_id
4461
+ # The identifier for the security profle.
4462
+ #
4463
+ # @option params [required, String] :instance_id
4464
+ # The identifier of the Amazon Connect instance. You can find the
4465
+ # instanceId in the ARN of the instance.
4466
+ #
4467
+ # @option params [String] :next_token
4468
+ # The token for the next set of results. Use the value returned in the
4469
+ # previous response in the next request to retrieve the next set of
4470
+ # results.
4471
+ #
4472
+ # @option params [Integer] :max_results
4473
+ # The maximum number of results to return per page.
4474
+ #
4475
+ # @return [Types::ListSecurityProfilePermissionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4476
+ #
4477
+ # * {Types::ListSecurityProfilePermissionsResponse#permissions #permissions} => Array&lt;String&gt;
4478
+ # * {Types::ListSecurityProfilePermissionsResponse#next_token #next_token} => String
4479
+ #
4480
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4481
+ #
4482
+ # @example Request syntax with placeholder values
4483
+ #
4484
+ # resp = client.list_security_profile_permissions({
4485
+ # security_profile_id: "SecurityProfileId", # required
4486
+ # instance_id: "InstanceId", # required
4487
+ # next_token: "NextToken",
4488
+ # max_results: 1,
4489
+ # })
4490
+ #
4491
+ # @example Response structure
4492
+ #
4493
+ # resp.permissions #=> Array
4494
+ # resp.permissions[0] #=> String
4495
+ # resp.next_token #=> String
4496
+ #
4497
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityProfilePermissions AWS API Documentation
4498
+ #
4499
+ # @overload list_security_profile_permissions(params = {})
4500
+ # @param [Hash] params ({})
4501
+ def list_security_profile_permissions(params = {}, options = {})
4502
+ req = build_request(:list_security_profile_permissions, params)
4503
+ req.send_request(options)
4504
+ end
4505
+
3990
4506
  # Provides summary information about the security profiles for the
3991
4507
  # specified Amazon Connect instance.
3992
4508
  #
@@ -4648,6 +5164,11 @@ module Aws::Connect
4648
5164
  # **A suitable default value is auto-generated.** You should normally
4649
5165
  # not need to pass this option.**
4650
5166
  #
5167
+ # @option params [Time,DateTime,Date,Integer,String] :scheduled_time
5168
+ # The timestamp, in Unix Epoch seconds format, at which to start running
5169
+ # the inbound contact flow. The scheduled time cannot be in the past. It
5170
+ # must be within up to 6 days in future.
5171
+ #
4651
5172
  # @return [Types::StartTaskContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4652
5173
  #
4653
5174
  # * {Types::StartTaskContactResponse#contact_id #contact_id} => String
@@ -4665,11 +5186,12 @@ module Aws::Connect
4665
5186
  # references: {
4666
5187
  # "ReferenceKey" => {
4667
5188
  # value: "ReferenceValue", # required
4668
- # type: "URL", # required, accepts URL
5189
+ # type: "URL", # required, accepts URL, ATTACHMENT
4669
5190
  # },
4670
5191
  # },
4671
5192
  # description: "Description",
4672
5193
  # client_token: "ClientToken",
5194
+ # scheduled_time: Time.now,
4673
5195
  # })
4674
5196
  #
4675
5197
  # @example Response structure
@@ -4944,6 +5466,60 @@ module Aws::Connect
4944
5466
  req.send_request(options)
4945
5467
  end
4946
5468
 
5469
+ # This API is in preview release for Amazon Connect and is subject to
5470
+ # change.
5471
+ #
5472
+ # Adds or updates user-defined contact information associated with the
5473
+ # specified contact. At least one field to be updated must be present in
5474
+ # the request.
5475
+ #
5476
+ # You can add or update user-defined contact information for both
5477
+ # ongoing and completed contacts.
5478
+ #
5479
+ # @option params [required, String] :instance_id
5480
+ # The identifier of the Amazon Connect instance. You can find the
5481
+ # instanceId in the ARN of the instance.
5482
+ #
5483
+ # @option params [required, String] :contact_id
5484
+ # The identifier of the contact. This is the identifier of the contact
5485
+ # associated with the first interaction with your contact center.
5486
+ #
5487
+ # @option params [String] :name
5488
+ # The name of the contact.
5489
+ #
5490
+ # @option params [String] :description
5491
+ # The description of the contact.
5492
+ #
5493
+ # @option params [Hash<String,Types::Reference>] :references
5494
+ # A formatted URL that is shown to an agent in the Contact Control Panel
5495
+ # (CCP).
5496
+ #
5497
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5498
+ #
5499
+ # @example Request syntax with placeholder values
5500
+ #
5501
+ # resp = client.update_contact({
5502
+ # instance_id: "InstanceId", # required
5503
+ # contact_id: "ContactId", # required
5504
+ # name: "Name",
5505
+ # description: "Description",
5506
+ # references: {
5507
+ # "ReferenceKey" => {
5508
+ # value: "ReferenceValue", # required
5509
+ # type: "URL", # required, accepts URL, ATTACHMENT
5510
+ # },
5511
+ # },
5512
+ # })
5513
+ #
5514
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContact AWS API Documentation
5515
+ #
5516
+ # @overload update_contact(params = {})
5517
+ # @param [Hash] params ({})
5518
+ def update_contact(params = {}, options = {})
5519
+ req = build_request(:update_contact, params)
5520
+ req.send_request(options)
5521
+ end
5522
+
4947
5523
  # Creates or updates user-defined contact attributes associated with the
4948
5524
  # specified contact.
4949
5525
  #
@@ -5055,6 +5631,116 @@ module Aws::Connect
5055
5631
  req.send_request(options)
5056
5632
  end
5057
5633
 
5634
+ # Updates metadata about specified contact flow.
5635
+ #
5636
+ # @option params [required, String] :instance_id
5637
+ # The identifier of the Amazon Connect instance. You can find the
5638
+ # instanceId in the ARN of the instance.
5639
+ #
5640
+ # @option params [required, String] :contact_flow_id
5641
+ # The identifier of the contact flow.
5642
+ #
5643
+ # @option params [String] :name
5644
+ # TThe name of the contact flow.
5645
+ #
5646
+ # @option params [String] :description
5647
+ # The description of the contact flow.
5648
+ #
5649
+ # @option params [String] :contact_flow_state
5650
+ # The state of contact flow.
5651
+ #
5652
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5653
+ #
5654
+ # @example Request syntax with placeholder values
5655
+ #
5656
+ # resp = client.update_contact_flow_metadata({
5657
+ # instance_id: "InstanceId", # required
5658
+ # contact_flow_id: "ContactFlowId", # required
5659
+ # name: "ContactFlowName",
5660
+ # description: "ContactFlowDescription",
5661
+ # contact_flow_state: "ACTIVE", # accepts ACTIVE, ARCHIVED
5662
+ # })
5663
+ #
5664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowMetadata AWS API Documentation
5665
+ #
5666
+ # @overload update_contact_flow_metadata(params = {})
5667
+ # @param [Hash] params ({})
5668
+ def update_contact_flow_metadata(params = {}, options = {})
5669
+ req = build_request(:update_contact_flow_metadata, params)
5670
+ req.send_request(options)
5671
+ end
5672
+
5673
+ # Updates specified contact flow module for the specified Amazon Connect
5674
+ # instance.
5675
+ #
5676
+ # @option params [required, String] :instance_id
5677
+ # The identifier of the Amazon Connect instance. You can find the
5678
+ # instanceId in the ARN of the instance.
5679
+ #
5680
+ # @option params [required, String] :contact_flow_module_id
5681
+ # The identifier of the contact flow module.
5682
+ #
5683
+ # @option params [required, String] :content
5684
+ # The content of the contact flow module.
5685
+ #
5686
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5687
+ #
5688
+ # @example Request syntax with placeholder values
5689
+ #
5690
+ # resp = client.update_contact_flow_module_content({
5691
+ # instance_id: "InstanceId", # required
5692
+ # contact_flow_module_id: "ContactFlowModuleId", # required
5693
+ # content: "ContactFlowModuleContent", # required
5694
+ # })
5695
+ #
5696
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowModuleContent AWS API Documentation
5697
+ #
5698
+ # @overload update_contact_flow_module_content(params = {})
5699
+ # @param [Hash] params ({})
5700
+ def update_contact_flow_module_content(params = {}, options = {})
5701
+ req = build_request(:update_contact_flow_module_content, params)
5702
+ req.send_request(options)
5703
+ end
5704
+
5705
+ # Updates metadata about specified contact flow module.
5706
+ #
5707
+ # @option params [required, String] :instance_id
5708
+ # The identifier of the Amazon Connect instance. You can find the
5709
+ # instanceId in the ARN of the instance.
5710
+ #
5711
+ # @option params [required, String] :contact_flow_module_id
5712
+ # The identifier of the contact flow module.
5713
+ #
5714
+ # @option params [String] :name
5715
+ # The name of the contact flow module.
5716
+ #
5717
+ # @option params [String] :description
5718
+ # The description of the contact flow module.
5719
+ #
5720
+ # @option params [String] :state
5721
+ # The state of contact flow module.
5722
+ #
5723
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5724
+ #
5725
+ # @example Request syntax with placeholder values
5726
+ #
5727
+ # resp = client.update_contact_flow_module_metadata({
5728
+ # instance_id: "InstanceId", # required
5729
+ # contact_flow_module_id: "ContactFlowModuleId", # required
5730
+ # name: "ContactFlowModuleName",
5731
+ # description: "ContactFlowModuleDescription",
5732
+ # state: "ACTIVE", # accepts ACTIVE, ARCHIVED
5733
+ # })
5734
+ #
5735
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowModuleMetadata AWS API Documentation
5736
+ #
5737
+ # @overload update_contact_flow_module_metadata(params = {})
5738
+ # @param [Hash] params ({})
5739
+ def update_contact_flow_module_metadata(params = {}, options = {})
5740
+ req = build_request(:update_contact_flow_module_metadata, params)
5741
+ req.send_request(options)
5742
+ end
5743
+
5058
5744
  # The name of the contact flow.
5059
5745
  #
5060
5746
  # You can also create and update contact flows using the [Amazon Connect
@@ -5096,6 +5782,43 @@ module Aws::Connect
5096
5782
  req.send_request(options)
5097
5783
  end
5098
5784
 
5785
+ # Updates the scheduled time of a task contact that is already
5786
+ # scheduled.
5787
+ #
5788
+ # @option params [required, String] :instance_id
5789
+ # The identifier of the Amazon Connect instance. You can find the
5790
+ # instanceId in the ARN of the instance.
5791
+ #
5792
+ # @option params [required, String] :contact_id
5793
+ # The identifier of the contact.
5794
+ #
5795
+ # @option params [required, Time,DateTime,Date,Integer,String] :scheduled_time
5796
+ # The timestamp, in Unix Epoch seconds format, at which to start running
5797
+ # the inbound contact flow. The scheduled time cannot be in the past. It
5798
+ # must be within up to 6 days in future.
5799
+ #
5800
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5801
+ #
5802
+ # @example Request syntax with placeholder values
5803
+ #
5804
+ # resp = client.update_contact_schedule({
5805
+ # instance_id: "InstanceId", # required
5806
+ # contact_id: "ContactId", # required
5807
+ # scheduled_time: Time.now, # required
5808
+ # })
5809
+ #
5810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactSchedule AWS API Documentation
5811
+ #
5812
+ # @overload update_contact_schedule(params = {})
5813
+ # @param [Hash] params ({})
5814
+ def update_contact_schedule(params = {}, options = {})
5815
+ req = build_request(:update_contact_schedule, params)
5816
+ req.send_request(options)
5817
+ end
5818
+
5819
+ # This API is in preview release for Amazon Connect and is subject to
5820
+ # change.
5821
+ #
5099
5822
  # Updates the hours of operation.
5100
5823
  #
5101
5824
  # @option params [required, String] :instance_id
@@ -5668,6 +6391,44 @@ module Aws::Connect
5668
6391
  req.send_request(options)
5669
6392
  end
5670
6393
 
6394
+ # This API is in preview release for Amazon Connect and is subject to
6395
+ # change.
6396
+ #
6397
+ # Updates a security profile.
6398
+ #
6399
+ # @option params [String] :description
6400
+ # The description of the security profile.
6401
+ #
6402
+ # @option params [Array<String>] :permissions
6403
+ # The permissions granted to a security profile.
6404
+ #
6405
+ # @option params [required, String] :security_profile_id
6406
+ # The identifier for the security profle.
6407
+ #
6408
+ # @option params [required, String] :instance_id
6409
+ # The identifier of the Amazon Connect instance. You can find the
6410
+ # instanceId in the ARN of the instance.
6411
+ #
6412
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6413
+ #
6414
+ # @example Request syntax with placeholder values
6415
+ #
6416
+ # resp = client.update_security_profile({
6417
+ # description: "SecurityProfileDescription",
6418
+ # permissions: ["SecurityProfilePermission"],
6419
+ # security_profile_id: "SecurityProfileId", # required
6420
+ # instance_id: "InstanceId", # required
6421
+ # })
6422
+ #
6423
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateSecurityProfile AWS API Documentation
6424
+ #
6425
+ # @overload update_security_profile(params = {})
6426
+ # @param [Hash] params ({})
6427
+ def update_security_profile(params = {}, options = {})
6428
+ req = build_request(:update_security_profile, params)
6429
+ req.send_request(options)
6430
+ end
6431
+
5671
6432
  # Assigns the specified hierarchy group to the specified user.
5672
6433
  #
5673
6434
  # @option params [String] :hierarchy_group_id
@@ -5932,7 +6693,7 @@ module Aws::Connect
5932
6693
  params: params,
5933
6694
  config: config)
5934
6695
  context[:gem_name] = 'aws-sdk-connect'
5935
- context[:gem_version] = '1.55.0'
6696
+ context[:gem_version] = '1.59.0'
5936
6697
  Seahorse::Client::Request.new(handlers, context)
5937
6698
  end
5938
6699