aws-sdk-connect 1.56.0 → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3bcf3e184dc1a019a6a1dea87257dd1a125d53541ec8afdf34d5718fb8e019fa
4
- data.tar.gz: 6ab5be4f6f7d5a89abafc2eabdecd0e0ec949674e73c06fac027be6f521400a8
3
+ metadata.gz: dbb7cfb7c8be2ab91bd78574df4edc85633695a0da3480b4c565c68a6dea01ee
4
+ data.tar.gz: d7daa280947667b88700faff7ca806519c3fb90e91b7f05c8ce5c6eeb770fbd3
5
5
  SHA512:
6
- metadata.gz: 80903657153664f8947368a184be6d9c57c0e283ecfa1f2d92339a339c7dbb0037b9cef4e592921ff8f79d17617b24868f9af244edb10815e839e5bc2ab2b91f
7
- data.tar.gz: 80005542307e4144376f850390a35891f1f93b10731f51c491a384b5d7f4ead477ba780043a51c8cc43cd01fbf830e07ec7c4dd1d02fdeb26fab70a152727068
6
+ metadata.gz: c7a8c34bb4771466d48548dacf0796e950f288011981906eead049058655e921dbaa96a7558e4ecc4348913d4652438c0148fe9b99306d043e83c274ebf81940
7
+ data.tar.gz: fe64edf7d6f5dc711127ce41feb8fa9ae3c30e23acee5124c99d48507ca4a87be739033481dc0db986498c99d849b2ca77358b1959b101ad99bdb06c215c9702
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.57.0 (2021-11-12)
5
+ ------------------
6
+
7
+ * Feature - This release adds APIs for creating and managing scheduled tasks. Additionally, adds APIs to describe and update a contact and list associated references.
8
+
4
9
  1.56.0 (2021-11-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.0
1
+ 1.57.0
@@ -677,7 +677,7 @@ module Aws::Connect
677
677
  # The display order of the status.
678
678
  #
679
679
  # @option params [Hash<String,String>] :tags
680
- # The tags used to organize, track, or control access for this resource.
680
+ # One or more tags.
681
681
  #
682
682
  # @return [Types::CreateAgentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
683
683
  #
@@ -796,7 +796,7 @@ module Aws::Connect
796
796
  # and end time.
797
797
  #
798
798
  # @option params [Hash<String,String>] :tags
799
- # The tags used to organize, track, or control access for this resource.
799
+ # One or more tags.
800
800
  #
801
801
  # @return [Types::CreateHoursOfOperationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
802
802
  #
@@ -905,8 +905,7 @@ module Aws::Connect
905
905
  req.send_request(options)
906
906
  end
907
907
 
908
- # Creates an Amazon Web Services resource association with an Amazon
909
- # Connect instance.
908
+ # Creates an AWS resource association with an Amazon Connect instance.
910
909
  #
911
910
  # @option params [required, String] :instance_id
912
911
  # The identifier of the Amazon Connect instance. You can find the
@@ -931,7 +930,7 @@ module Aws::Connect
931
930
  # integration type.
932
931
  #
933
932
  # @option params [Hash<String,String>] :tags
934
- # The tags used to organize, track, or control access for this resource.
933
+ # One or more tags.
935
934
  #
936
935
  # @return [Types::CreateIntegrationAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
937
936
  #
@@ -995,7 +994,7 @@ module Aws::Connect
995
994
  # The quick connects available to agents who are working the queue.
996
995
  #
997
996
  # @option params [Hash<String,String>] :tags
998
- # The tags used to organize, track, or control access for this resource.
997
+ # One or more tags.
999
998
  #
1000
999
  # @return [Types::CreateQueueResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1001
1000
  #
@@ -1051,7 +1050,7 @@ module Aws::Connect
1051
1050
  # Configuration settings for the quick connect.
1052
1051
  #
1053
1052
  # @option params [Hash<String,String>] :tags
1054
- # The tags used to organize, track, or control access for this resource.
1053
+ # One or more tags.
1055
1054
  #
1056
1055
  # @return [Types::CreateQuickConnectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1057
1056
  #
@@ -1190,7 +1189,7 @@ module Aws::Connect
1190
1189
  # instanceId in the ARN of the instance.
1191
1190
  #
1192
1191
  # @option params [Hash<String,String>] :tags
1193
- # The tags used to organize, track, or control access for this resource.
1192
+ # One or more tags.
1194
1193
  #
1195
1194
  # @return [Types::CreateSecurityProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1196
1195
  #
@@ -1237,7 +1236,7 @@ module Aws::Connect
1237
1236
  # integration association can have only one of each use case type.
1238
1237
  #
1239
1238
  # @option params [Hash<String,String>] :tags
1240
- # The tags used to organize, track, or control access for this resource.
1239
+ # One or more tags.
1241
1240
  #
1242
1241
  # @return [Types::CreateUseCaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1243
1242
  #
@@ -1471,9 +1470,8 @@ module Aws::Connect
1471
1470
  req.send_request(options)
1472
1471
  end
1473
1472
 
1474
- # Deletes an Amazon Web Services resource association from an Amazon
1475
- # Connect instance. The association must not have any use cases
1476
- # associated with it.
1473
+ # Deletes an AWS resource association from an Amazon Connect instance.
1474
+ # The association must not have any use cases associated with it.
1477
1475
  #
1478
1476
  # @option params [required, String] :instance_id
1479
1477
  # The identifier of the Amazon Connect instance. You can find the
@@ -1695,6 +1693,60 @@ module Aws::Connect
1695
1693
  req.send_request(options)
1696
1694
  end
1697
1695
 
1696
+ # This API is in preview release for Amazon Connect and is subject to
1697
+ # change.
1698
+ #
1699
+ # Describes the specified contact.
1700
+ #
1701
+ # Contact information is available in Amazon Connect for 24 months, and
1702
+ # then it is deleted.
1703
+ #
1704
+ # @option params [required, String] :instance_id
1705
+ # The identifier of the Amazon Connect instance. You can find the
1706
+ # instanceId in the ARN of the instance.
1707
+ #
1708
+ # @option params [required, String] :contact_id
1709
+ # The identifier of the initial contact.
1710
+ #
1711
+ # @return [Types::DescribeContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1712
+ #
1713
+ # * {Types::DescribeContactResponse#contact #contact} => Types::Contact
1714
+ #
1715
+ # @example Request syntax with placeholder values
1716
+ #
1717
+ # resp = client.describe_contact({
1718
+ # instance_id: "InstanceId", # required
1719
+ # contact_id: "ContactId", # required
1720
+ # })
1721
+ #
1722
+ # @example Response structure
1723
+ #
1724
+ # resp.contact.arn #=> String
1725
+ # resp.contact.id #=> String
1726
+ # resp.contact.initial_contact_id #=> String
1727
+ # resp.contact.previous_contact_id #=> String
1728
+ # resp.contact.initiation_method #=> String, one of "INBOUND", "OUTBOUND", "TRANSFER", "QUEUE_TRANSFER", "CALLBACK", "API"
1729
+ # resp.contact.name #=> String
1730
+ # resp.contact.description #=> String
1731
+ # resp.contact.channel #=> String, one of "VOICE", "CHAT", "TASK"
1732
+ # resp.contact.queue_info.id #=> String
1733
+ # resp.contact.queue_info.enqueue_timestamp #=> Time
1734
+ # resp.contact.agent_info.id #=> String
1735
+ # resp.contact.agent_info.connected_to_agent_timestamp #=> Time
1736
+ # resp.contact.initiation_timestamp #=> Time
1737
+ # resp.contact.disconnect_timestamp #=> Time
1738
+ # resp.contact.last_update_timestamp #=> Time
1739
+ # resp.contact.scheduled_timestamp #=> Time
1740
+ #
1741
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContact AWS API Documentation
1742
+ #
1743
+ # @overload describe_contact(params = {})
1744
+ # @param [Hash] params ({})
1745
+ def describe_contact(params = {}, options = {})
1746
+ req = build_request(:describe_contact, params)
1747
+ req.send_request(options)
1748
+ end
1749
+
1698
1750
  # Describes the specified contact flow.
1699
1751
  #
1700
1752
  # You can also create and update contact flows using the [Amazon Connect
@@ -3307,6 +3359,65 @@ module Aws::Connect
3307
3359
  req.send_request(options)
3308
3360
  end
3309
3361
 
3362
+ # This API is in preview release for Amazon Connect and is subject to
3363
+ # change.
3364
+ #
3365
+ # For the specified `referenceTypes`, returns a list of references
3366
+ # associated with the contact.
3367
+ #
3368
+ # @option params [required, String] :instance_id
3369
+ # The identifier of the Amazon Connect instance. You can find the
3370
+ # instanceId in the ARN of the instance.
3371
+ #
3372
+ # @option params [required, String] :contact_id
3373
+ # The identifier of the initial contact.
3374
+ #
3375
+ # @option params [required, Array<String>] :reference_types
3376
+ # The type of reference.
3377
+ #
3378
+ # @option params [String] :next_token
3379
+ # The token for the next set of results. Use the value returned in the
3380
+ # previous response in the next request to retrieve the next set of
3381
+ # results.
3382
+ #
3383
+ # This is not expected to be set since the value returned in the
3384
+ # previous response is always null.
3385
+ #
3386
+ # @return [Types::ListContactReferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3387
+ #
3388
+ # * {Types::ListContactReferencesResponse#reference_summary_list #reference_summary_list} => Array&lt;Types::ReferenceSummary&gt;
3389
+ # * {Types::ListContactReferencesResponse#next_token #next_token} => String
3390
+ #
3391
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3392
+ #
3393
+ # @example Request syntax with placeholder values
3394
+ #
3395
+ # resp = client.list_contact_references({
3396
+ # instance_id: "InstanceId", # required
3397
+ # contact_id: "ContactId", # required
3398
+ # reference_types: ["URL"], # required, accepts URL, ATTACHMENT
3399
+ # next_token: "NextToken",
3400
+ # })
3401
+ #
3402
+ # @example Response structure
3403
+ #
3404
+ # resp.reference_summary_list #=> Array
3405
+ # resp.reference_summary_list[0].url.name #=> String
3406
+ # resp.reference_summary_list[0].url.value #=> String
3407
+ # resp.reference_summary_list[0].attachment.name #=> String
3408
+ # resp.reference_summary_list[0].attachment.value #=> String
3409
+ # resp.reference_summary_list[0].attachment.status #=> String, one of "APPROVED", "REJECTED"
3410
+ # resp.next_token #=> String
3411
+ #
3412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactReferences AWS API Documentation
3413
+ #
3414
+ # @overload list_contact_references(params = {})
3415
+ # @param [Hash] params ({})
3416
+ def list_contact_references(params = {}, options = {})
3417
+ req = build_request(:list_contact_references, params)
3418
+ req.send_request(options)
3419
+ end
3420
+
3310
3421
  # Provides information about the hours of operation for the specified
3311
3422
  # Amazon Connect instance.
3312
3423
  #
@@ -3526,15 +3637,14 @@ module Aws::Connect
3526
3637
  req.send_request(options)
3527
3638
  end
3528
3639
 
3529
- # Provides summary information about the Amazon Web Services resource
3530
- # associations for the specified Amazon Connect instance.
3640
+ # Provides summary information about the AWS resource associations for
3641
+ # the specified Amazon Connect instance.
3531
3642
  #
3532
3643
  # @option params [required, String] :instance_id
3533
3644
  # The identifier of the Amazon Connect instance. You can find the
3534
3645
  # instanceId in the ARN of the instance.
3535
3646
  #
3536
3647
  # @option params [String] :integration_type
3537
- # The type of integration.
3538
3648
  #
3539
3649
  # @option params [String] :next_token
3540
3650
  # The token for the next set of results. Use the value returned in the
@@ -4174,9 +4284,6 @@ module Aws::Connect
4174
4284
  req.send_request(options)
4175
4285
  end
4176
4286
 
4177
- # This API is in preview release for Amazon Connect and is subject to
4178
- # change.
4179
- #
4180
4287
  # Provides summary information about the security profiles for the
4181
4288
  # specified Amazon Connect instance.
4182
4289
  #
@@ -4791,7 +4898,8 @@ module Aws::Connect
4791
4898
  req.send_request(options)
4792
4899
  end
4793
4900
 
4794
- # Initiates a contact flow to start a new task.
4901
+ # Initiates a contact flow to start a new task immediately or at a
4902
+ # future date and time.
4795
4903
  #
4796
4904
  # @option params [required, String] :instance_id
4797
4905
  # The identifier of the Amazon Connect instance. You can find the
@@ -4838,6 +4946,11 @@ module Aws::Connect
4838
4946
  # **A suitable default value is auto-generated.** You should normally
4839
4947
  # not need to pass this option.**
4840
4948
  #
4949
+ # @option params [Time,DateTime,Date,Integer,String] :scheduled_time
4950
+ # The timestamp, in Unix Epoch seconds format, at which to start running
4951
+ # the inbound contact flow. The scheduled time cannot be in the past. It
4952
+ # must be within up to 6 days in future.
4953
+ #
4841
4954
  # @return [Types::StartTaskContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4842
4955
  #
4843
4956
  # * {Types::StartTaskContactResponse#contact_id #contact_id} => String
@@ -4855,11 +4968,12 @@ module Aws::Connect
4855
4968
  # references: {
4856
4969
  # "ReferenceKey" => {
4857
4970
  # value: "ReferenceValue", # required
4858
- # type: "URL", # required, accepts URL
4971
+ # type: "URL", # required, accepts URL, ATTACHMENT
4859
4972
  # },
4860
4973
  # },
4861
4974
  # description: "Description",
4862
4975
  # client_token: "ClientToken",
4976
+ # scheduled_time: Time.now,
4863
4977
  # })
4864
4978
  #
4865
4979
  # @example Response structure
@@ -5134,6 +5248,60 @@ module Aws::Connect
5134
5248
  req.send_request(options)
5135
5249
  end
5136
5250
 
5251
+ # This API is in preview release for Amazon Connect and is subject to
5252
+ # change.
5253
+ #
5254
+ # Adds or updates user defined contact information associated with the
5255
+ # specified contact. At least one field to be updated must be present in
5256
+ # the request.
5257
+ #
5258
+ # You can add or update user-defined contact information for both
5259
+ # ongoing and completed contacts.
5260
+ #
5261
+ # @option params [required, String] :instance_id
5262
+ # The identifier of the Amazon Connect instance. You can find the
5263
+ # instanceId in the ARN of the instance.
5264
+ #
5265
+ # @option params [required, String] :contact_id
5266
+ # The identifier of the contact. This is the identifier of the contact
5267
+ # associated with the first interaction with your contact center.
5268
+ #
5269
+ # @option params [String] :name
5270
+ # The name of the contact.
5271
+ #
5272
+ # @option params [String] :description
5273
+ # The description of the contact.
5274
+ #
5275
+ # @option params [Hash<String,Types::Reference>] :references
5276
+ # A formatted URL that is shown to an agent in the Contact Control Panel
5277
+ # (CCP).
5278
+ #
5279
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5280
+ #
5281
+ # @example Request syntax with placeholder values
5282
+ #
5283
+ # resp = client.update_contact({
5284
+ # instance_id: "InstanceId", # required
5285
+ # contact_id: "ContactId", # required
5286
+ # name: "Name",
5287
+ # description: "Description",
5288
+ # references: {
5289
+ # "ReferenceKey" => {
5290
+ # value: "ReferenceValue", # required
5291
+ # type: "URL", # required, accepts URL, ATTACHMENT
5292
+ # },
5293
+ # },
5294
+ # })
5295
+ #
5296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContact AWS API Documentation
5297
+ #
5298
+ # @overload update_contact(params = {})
5299
+ # @param [Hash] params ({})
5300
+ def update_contact(params = {}, options = {})
5301
+ req = build_request(:update_contact, params)
5302
+ req.send_request(options)
5303
+ end
5304
+
5137
5305
  # Creates or updates user-defined contact attributes associated with the
5138
5306
  # specified contact.
5139
5307
  #
@@ -5286,6 +5454,40 @@ module Aws::Connect
5286
5454
  req.send_request(options)
5287
5455
  end
5288
5456
 
5457
+ # Updates the scheduled time of a task contact that is already
5458
+ # scheduled.
5459
+ #
5460
+ # @option params [required, String] :instance_id
5461
+ # The identifier of the Amazon Connect instance. You can find the
5462
+ # instanceId in the ARN of the instance.
5463
+ #
5464
+ # @option params [required, String] :contact_id
5465
+ # The identifier of the contact.
5466
+ #
5467
+ # @option params [required, Time,DateTime,Date,Integer,String] :scheduled_time
5468
+ # The timestamp, in Unix Epoch seconds format, at which to start running
5469
+ # the inbound contact flow. The scheduled time cannot be in the past. It
5470
+ # must be within up to 6 days in future.
5471
+ #
5472
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5473
+ #
5474
+ # @example Request syntax with placeholder values
5475
+ #
5476
+ # resp = client.update_contact_schedule({
5477
+ # instance_id: "InstanceId", # required
5478
+ # contact_id: "ContactId", # required
5479
+ # scheduled_time: Time.now, # required
5480
+ # })
5481
+ #
5482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactSchedule AWS API Documentation
5483
+ #
5484
+ # @overload update_contact_schedule(params = {})
5485
+ # @param [Hash] params ({})
5486
+ def update_contact_schedule(params = {}, options = {})
5487
+ req = build_request(:update_contact_schedule, params)
5488
+ req.send_request(options)
5489
+ end
5490
+
5289
5491
  # Updates the hours of operation.
5290
5492
  #
5291
5493
  # @option params [required, String] :instance_id
@@ -5354,8 +5556,7 @@ module Aws::Connect
5354
5556
  # The type of attribute.
5355
5557
  #
5356
5558
  # <note markdown="1"> Only allowlisted customers can consume USE\_CUSTOM\_TTS\_VOICES. To
5357
- # access this feature, contact Amazon Web Services Support for
5358
- # allowlisting.
5559
+ # access this feature, contact AWS Support for allowlisting.
5359
5560
  #
5360
5561
  # </note>
5361
5562
  #
@@ -6161,7 +6362,7 @@ module Aws::Connect
6161
6362
  params: params,
6162
6363
  config: config)
6163
6364
  context[:gem_name] = 'aws-sdk-connect'
6164
- context[:gem_version] = '1.56.0'
6365
+ context[:gem_version] = '1.57.0'
6165
6366
  Seahorse::Client::Request.new(handlers, context)
6166
6367
  end
6167
6368