aws-sdk-connect 1.155.0 → 1.156.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +354 -10
- data/lib/aws-sdk-connect/client_api.rb +210 -0
- data/lib/aws-sdk-connect/endpoints.rb +70 -0
- data/lib/aws-sdk-connect/errors.rb +5 -0
- data/lib/aws-sdk-connect/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-connect/types.rb +589 -10
- data/lib/aws-sdk-connect.rb +1 -1
- data/sig/client.rbs +84 -0
- data/sig/errors.rbs +1 -0
- data/sig/types.rbs +139 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75320558d9a289ed2c5aab965fe6f0205c3e443847b886777c508861feb18017
|
4
|
+
data.tar.gz: abe7ed35c501ab8af8b862b4bd9d2c48e8487ca98ff193893f29142e3dcc7779
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ca72ac9c903c4079b4c25a0c6d0d019f865d3d7cbf0649fa96445ac0a86f5a3ffda86f7f65becbb1ca68fe3643143047bc047d1d1ac5fc3e51f8eb280aa26d3
|
7
|
+
data.tar.gz: f78a7f380ff91a6e41003b3cb6a33e4cc2e22d58e228e39d4119d856d4553a79401e084e0c898c5932bfdcf48c3c5d2b42a77a733caccb301111a7413e567cb1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.156.0 (2024-05-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds 5 new APIs for managing attachments: StartAttachedFileUpload, CompleteAttachedFileUpload, GetAttachedFile, BatchGetAttachedFileMetadata, DeleteAttachedFile. These APIs can be used to programmatically upload and download attachments to Connect resources, like cases.
|
8
|
+
|
4
9
|
1.155.0 (2024-04-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.156.0
|
@@ -1205,6 +1205,70 @@ module Aws::Connect
|
|
1205
1205
|
req.send_request(options)
|
1206
1206
|
end
|
1207
1207
|
|
1208
|
+
# Allows you to retrieve metadata about multiple attached files on an
|
1209
|
+
# associated resource. Each attached file provided in the input list
|
1210
|
+
# must be associated with the input AssociatedResourceArn.
|
1211
|
+
#
|
1212
|
+
# @option params [required, Array<String>] :file_ids
|
1213
|
+
# The unique identifiers of the attached file resource.
|
1214
|
+
#
|
1215
|
+
# @option params [required, String] :instance_id
|
1216
|
+
# The unique identifier of the Connect instance.
|
1217
|
+
#
|
1218
|
+
# @option params [required, String] :associated_resource_arn
|
1219
|
+
# The resource to which the attached file is (being) uploaded to.
|
1220
|
+
# [Cases][1] are the only current supported resource.
|
1221
|
+
#
|
1222
|
+
# <note markdown="1"> This value must be a valid ARN.
|
1223
|
+
#
|
1224
|
+
# </note>
|
1225
|
+
#
|
1226
|
+
#
|
1227
|
+
#
|
1228
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
|
1229
|
+
#
|
1230
|
+
# @return [Types::BatchGetAttachedFileMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1231
|
+
#
|
1232
|
+
# * {Types::BatchGetAttachedFileMetadataResponse#files #files} => Array<Types::AttachedFile>
|
1233
|
+
# * {Types::BatchGetAttachedFileMetadataResponse#errors #errors} => Array<Types::AttachedFileError>
|
1234
|
+
#
|
1235
|
+
# @example Request syntax with placeholder values
|
1236
|
+
#
|
1237
|
+
# resp = client.batch_get_attached_file_metadata({
|
1238
|
+
# file_ids: ["FileId"], # required
|
1239
|
+
# instance_id: "InstanceId", # required
|
1240
|
+
# associated_resource_arn: "ARN", # required
|
1241
|
+
# })
|
1242
|
+
#
|
1243
|
+
# @example Response structure
|
1244
|
+
#
|
1245
|
+
# resp.files #=> Array
|
1246
|
+
# resp.files[0].creation_time #=> String
|
1247
|
+
# resp.files[0].file_arn #=> String
|
1248
|
+
# resp.files[0].file_id #=> String
|
1249
|
+
# resp.files[0].file_name #=> String
|
1250
|
+
# resp.files[0].file_size_in_bytes #=> Integer
|
1251
|
+
# resp.files[0].file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
|
1252
|
+
# resp.files[0].created_by.connect_user_arn #=> String
|
1253
|
+
# resp.files[0].created_by.aws_identity_arn #=> String
|
1254
|
+
# resp.files[0].file_use_case_type #=> String, one of "ATTACHMENT"
|
1255
|
+
# resp.files[0].associated_resource_arn #=> String
|
1256
|
+
# resp.files[0].tags #=> Hash
|
1257
|
+
# resp.files[0].tags["TagKey"] #=> String
|
1258
|
+
# resp.errors #=> Array
|
1259
|
+
# resp.errors[0].error_code #=> String
|
1260
|
+
# resp.errors[0].error_message #=> String
|
1261
|
+
# resp.errors[0].file_id #=> String
|
1262
|
+
#
|
1263
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/BatchGetAttachedFileMetadata AWS API Documentation
|
1264
|
+
#
|
1265
|
+
# @overload batch_get_attached_file_metadata(params = {})
|
1266
|
+
# @param [Hash] params ({})
|
1267
|
+
def batch_get_attached_file_metadata(params = {}, options = {})
|
1268
|
+
req = build_request(:batch_get_attached_file_metadata, params)
|
1269
|
+
req.send_request(options)
|
1270
|
+
end
|
1271
|
+
|
1208
1272
|
# Retrieve the flow associations for the given resources.
|
1209
1273
|
#
|
1210
1274
|
# @option params [required, String] :instance_id
|
@@ -1456,6 +1520,46 @@ module Aws::Connect
|
|
1456
1520
|
req.send_request(options)
|
1457
1521
|
end
|
1458
1522
|
|
1523
|
+
# Allows you to confirm that the attached file has been uploaded using
|
1524
|
+
# the pre-signed URL provided in the StartAttachedFileUpload API.
|
1525
|
+
#
|
1526
|
+
# @option params [required, String] :instance_id
|
1527
|
+
# The unique identifier of the Connect instance.
|
1528
|
+
#
|
1529
|
+
# @option params [required, String] :file_id
|
1530
|
+
# The unique identifier of the attached file resource.
|
1531
|
+
#
|
1532
|
+
# @option params [required, String] :associated_resource_arn
|
1533
|
+
# The resource to which the attached file is (being) uploaded to.
|
1534
|
+
# [Cases][1] are the only current supported resource.
|
1535
|
+
#
|
1536
|
+
# <note markdown="1"> This value must be a valid ARN.
|
1537
|
+
#
|
1538
|
+
# </note>
|
1539
|
+
#
|
1540
|
+
#
|
1541
|
+
#
|
1542
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
|
1543
|
+
#
|
1544
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1545
|
+
#
|
1546
|
+
# @example Request syntax with placeholder values
|
1547
|
+
#
|
1548
|
+
# resp = client.complete_attached_file_upload({
|
1549
|
+
# instance_id: "InstanceId", # required
|
1550
|
+
# file_id: "FileId", # required
|
1551
|
+
# associated_resource_arn: "ARN", # required
|
1552
|
+
# })
|
1553
|
+
#
|
1554
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CompleteAttachedFileUpload AWS API Documentation
|
1555
|
+
#
|
1556
|
+
# @overload complete_attached_file_upload(params = {})
|
1557
|
+
# @param [Hash] params ({})
|
1558
|
+
def complete_attached_file_upload(params = {}, options = {})
|
1559
|
+
req = build_request(:complete_attached_file_upload, params)
|
1560
|
+
req.send_request(options)
|
1561
|
+
end
|
1562
|
+
|
1459
1563
|
# This API is in preview release for Amazon Connect and is subject to
|
1460
1564
|
# change.
|
1461
1565
|
#
|
@@ -3546,6 +3650,48 @@ module Aws::Connect
|
|
3546
3650
|
req.send_request(options)
|
3547
3651
|
end
|
3548
3652
|
|
3653
|
+
# Deletes an attached file along with the underlying S3 Object.
|
3654
|
+
#
|
3655
|
+
# The attached file is **permanently deleted** if S3 bucket versioning
|
3656
|
+
# is not enabled.
|
3657
|
+
#
|
3658
|
+
# @option params [required, String] :instance_id
|
3659
|
+
# The unique identifier of the Connect instance.
|
3660
|
+
#
|
3661
|
+
# @option params [required, String] :file_id
|
3662
|
+
# The unique identifier of the attached file resource.
|
3663
|
+
#
|
3664
|
+
# @option params [required, String] :associated_resource_arn
|
3665
|
+
# The resource to which the attached file is (being) uploaded to.
|
3666
|
+
# [Cases][1] are the only current supported resource.
|
3667
|
+
#
|
3668
|
+
# <note markdown="1"> This value must be a valid ARN.
|
3669
|
+
#
|
3670
|
+
# </note>
|
3671
|
+
#
|
3672
|
+
#
|
3673
|
+
#
|
3674
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
|
3675
|
+
#
|
3676
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3677
|
+
#
|
3678
|
+
# @example Request syntax with placeholder values
|
3679
|
+
#
|
3680
|
+
# resp = client.delete_attached_file({
|
3681
|
+
# instance_id: "InstanceId", # required
|
3682
|
+
# file_id: "FileId", # required
|
3683
|
+
# associated_resource_arn: "ARN", # required
|
3684
|
+
# })
|
3685
|
+
#
|
3686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteAttachedFile AWS API Documentation
|
3687
|
+
#
|
3688
|
+
# @overload delete_attached_file(params = {})
|
3689
|
+
# @param [Hash] params ({})
|
3690
|
+
def delete_attached_file(params = {}, options = {})
|
3691
|
+
req = build_request(:delete_attached_file, params)
|
3692
|
+
req.send_request(options)
|
3693
|
+
end
|
3694
|
+
|
3549
3695
|
# Deletes a contact evaluation in the specified Amazon Connect instance.
|
3550
3696
|
#
|
3551
3697
|
# @option params [required, String] :instance_id
|
@@ -6208,6 +6354,80 @@ module Aws::Connect
|
|
6208
6354
|
req.send_request(options)
|
6209
6355
|
end
|
6210
6356
|
|
6357
|
+
# Provides a pre-signed URL for download of an approved attached file.
|
6358
|
+
# This API also returns metadata about the attached file. It will only
|
6359
|
+
# return a downloadURL if the status of the attached file is `APPROVED`.
|
6360
|
+
#
|
6361
|
+
# @option params [required, String] :instance_id
|
6362
|
+
# The unique identifier of the Connect instance.
|
6363
|
+
#
|
6364
|
+
# @option params [required, String] :file_id
|
6365
|
+
# The unique identifier of the attached file resource.
|
6366
|
+
#
|
6367
|
+
# @option params [Integer] :url_expiry_in_seconds
|
6368
|
+
# Optional override for the expiry of the pre-signed S3 URL in seconds.
|
6369
|
+
#
|
6370
|
+
# @option params [required, String] :associated_resource_arn
|
6371
|
+
# The resource to which the attached file is (being) uploaded to.
|
6372
|
+
# [Cases][1] are the only current supported resource.
|
6373
|
+
#
|
6374
|
+
# <note markdown="1"> This value must be a valid ARN.
|
6375
|
+
#
|
6376
|
+
# </note>
|
6377
|
+
#
|
6378
|
+
#
|
6379
|
+
#
|
6380
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
|
6381
|
+
#
|
6382
|
+
# @return [Types::GetAttachedFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6383
|
+
#
|
6384
|
+
# * {Types::GetAttachedFileResponse#file_arn #file_arn} => String
|
6385
|
+
# * {Types::GetAttachedFileResponse#file_id #file_id} => String
|
6386
|
+
# * {Types::GetAttachedFileResponse#creation_time #creation_time} => String
|
6387
|
+
# * {Types::GetAttachedFileResponse#file_status #file_status} => String
|
6388
|
+
# * {Types::GetAttachedFileResponse#file_name #file_name} => String
|
6389
|
+
# * {Types::GetAttachedFileResponse#file_size_in_bytes #file_size_in_bytes} => Integer
|
6390
|
+
# * {Types::GetAttachedFileResponse#associated_resource_arn #associated_resource_arn} => String
|
6391
|
+
# * {Types::GetAttachedFileResponse#file_use_case_type #file_use_case_type} => String
|
6392
|
+
# * {Types::GetAttachedFileResponse#created_by #created_by} => Types::CreatedByInfo
|
6393
|
+
# * {Types::GetAttachedFileResponse#download_url_metadata #download_url_metadata} => Types::DownloadUrlMetadata
|
6394
|
+
# * {Types::GetAttachedFileResponse#tags #tags} => Hash<String,String>
|
6395
|
+
#
|
6396
|
+
# @example Request syntax with placeholder values
|
6397
|
+
#
|
6398
|
+
# resp = client.get_attached_file({
|
6399
|
+
# instance_id: "InstanceId", # required
|
6400
|
+
# file_id: "FileId", # required
|
6401
|
+
# url_expiry_in_seconds: 1,
|
6402
|
+
# associated_resource_arn: "ARN", # required
|
6403
|
+
# })
|
6404
|
+
#
|
6405
|
+
# @example Response structure
|
6406
|
+
#
|
6407
|
+
# resp.file_arn #=> String
|
6408
|
+
# resp.file_id #=> String
|
6409
|
+
# resp.creation_time #=> String
|
6410
|
+
# resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
|
6411
|
+
# resp.file_name #=> String
|
6412
|
+
# resp.file_size_in_bytes #=> Integer
|
6413
|
+
# resp.associated_resource_arn #=> String
|
6414
|
+
# resp.file_use_case_type #=> String, one of "ATTACHMENT"
|
6415
|
+
# resp.created_by.connect_user_arn #=> String
|
6416
|
+
# resp.created_by.aws_identity_arn #=> String
|
6417
|
+
# resp.download_url_metadata.url #=> String
|
6418
|
+
# resp.download_url_metadata.url_expiry #=> String
|
6419
|
+
# resp.tags #=> Hash
|
6420
|
+
# resp.tags["TagKey"] #=> String
|
6421
|
+
#
|
6422
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetAttachedFile AWS API Documentation
|
6423
|
+
#
|
6424
|
+
# @overload get_attached_file(params = {})
|
6425
|
+
# @param [Hash] params ({})
|
6426
|
+
def get_attached_file(params = {}, options = {})
|
6427
|
+
req = build_request(:get_attached_file, params)
|
6428
|
+
req.send_request(options)
|
6429
|
+
end
|
6430
|
+
|
6211
6431
|
# Retrieves the contact attributes for the specified contact.
|
6212
6432
|
#
|
6213
6433
|
# @option params [required, String] :instance_id
|
@@ -7399,7 +7619,7 @@ module Aws::Connect
|
|
7399
7619
|
# Valid groupings and filters: Queue, Channel, Routing Profile, Agent,
|
7400
7620
|
# Agent Hierarchy, contact/segmentAttributes/connect:Subtype
|
7401
7621
|
#
|
7402
|
-
# UI name: [Average greeting time
|
7622
|
+
# UI name: [Average agent greeting time][21]
|
7403
7623
|
#
|
7404
7624
|
# AVG\_HANDLE\_TIME
|
7405
7625
|
#
|
@@ -7484,7 +7704,7 @@ module Aws::Connect
|
|
7484
7704
|
# Valid groupings and filters: Queue, Channel, Routing Profile, Agent,
|
7485
7705
|
# Agent Hierarchy, contact/segmentAttributes/connect:Subtype
|
7486
7706
|
#
|
7487
|
-
# UI name: [Average
|
7707
|
+
# UI name: [Average agent interruptions][28]
|
7488
7708
|
#
|
7489
7709
|
# AVG\_INTERRUPTION\_TIME\_AGENT
|
7490
7710
|
#
|
@@ -7496,7 +7716,7 @@ module Aws::Connect
|
|
7496
7716
|
# Valid groupings and filters: Queue, Channel, Routing Profile, Agent,
|
7497
7717
|
# Agent Hierarchy, contact/segmentAttributes/connect:Subtype
|
7498
7718
|
#
|
7499
|
-
# UI name: [Average interruption time
|
7719
|
+
# UI name: [Average agent interruption time][29]
|
7500
7720
|
#
|
7501
7721
|
# AVG\_NON\_TALK\_TIME
|
7502
7722
|
#
|
@@ -7554,7 +7774,7 @@ module Aws::Connect
|
|
7554
7774
|
# Valid groupings and filters: Queue, Channel, Routing Profile, Agent,
|
7555
7775
|
# Agent Hierarchy, contact/segmentAttributes/connect:Subtype
|
7556
7776
|
#
|
7557
|
-
# UI name: [Average talk time
|
7777
|
+
# UI name: [Average agent talk time][34]
|
7558
7778
|
#
|
7559
7779
|
# AVG\_TALK\_TIME\_CUSTOMER
|
7560
7780
|
#
|
@@ -7566,7 +7786,7 @@ module Aws::Connect
|
|
7566
7786
|
# Valid groupings and filters: Queue, Channel, Routing Profile, Agent,
|
7567
7787
|
# Agent Hierarchy, contact/segmentAttributes/connect:Subtype
|
7568
7788
|
#
|
7569
|
-
# UI name: [Average talk time
|
7789
|
+
# UI name: [Average customer talk time][35]
|
7570
7790
|
#
|
7571
7791
|
# CASES\_CREATED
|
7572
7792
|
#
|
@@ -7628,7 +7848,7 @@ module Aws::Connect
|
|
7628
7848
|
# Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy,
|
7629
7849
|
# contact/segmentAttributes/connect:Subtype
|
7630
7850
|
#
|
7631
|
-
# UI name: [Contacts handled
|
7851
|
+
# UI name: [Contacts handled (connected to agent timestamp)][40]
|
7632
7852
|
#
|
7633
7853
|
# CONTACTS\_HOLD\_ABANDONS
|
7634
7854
|
#
|
@@ -7700,7 +7920,7 @@ module Aws::Connect
|
|
7700
7920
|
# Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy,
|
7701
7921
|
# contact/segmentAttributes/connect:Subtype
|
7702
7922
|
#
|
7703
|
-
# UI name: [Contacts queued
|
7923
|
+
# UI name: [Contacts queued (enqueue timestamp)][46]
|
7704
7924
|
#
|
7705
7925
|
# CONTACTS\_RESOLVED\_IN\_X
|
7706
7926
|
#
|
@@ -7825,7 +8045,7 @@ module Aws::Connect
|
|
7825
8045
|
# Valid groupings and filters: Queue, Channel, Routing Profile, Agent,
|
7826
8046
|
# Agent Hierarchy, contact/segmentAttributes/connect:Subtype
|
7827
8047
|
#
|
7828
|
-
# UI name: [
|
8048
|
+
# UI name: [Agent talk time percent][55]
|
7829
8049
|
#
|
7830
8050
|
# PERCENT\_TALK\_TIME\_CUSTOMER
|
7831
8051
|
#
|
@@ -7837,7 +8057,7 @@ module Aws::Connect
|
|
7837
8057
|
# Valid groupings and filters: Queue, Channel, Routing Profile, Agent,
|
7838
8058
|
# Agent Hierarchy, contact/segmentAttributes/connect:Subtype
|
7839
8059
|
#
|
7840
|
-
# UI name: [
|
8060
|
+
# UI name: [Customer talk time percent][56]
|
7841
8061
|
#
|
7842
8062
|
# REOPENED\_CASE\_ACTIONS
|
7843
8063
|
#
|
@@ -12791,6 +13011,113 @@ module Aws::Connect
|
|
12791
13011
|
req.send_request(options)
|
12792
13012
|
end
|
12793
13013
|
|
13014
|
+
# Provides a pre-signed Amazon S3 URL in response for uploading your
|
13015
|
+
# content.
|
13016
|
+
#
|
13017
|
+
# You may only use this API to upload attachments to a [Connect
|
13018
|
+
# Case][1].
|
13019
|
+
#
|
13020
|
+
#
|
13021
|
+
#
|
13022
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
|
13023
|
+
#
|
13024
|
+
# @option params [String] :client_token
|
13025
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
13026
|
+
# idempotency of the request. If not provided, the Amazon Web Services
|
13027
|
+
# SDK populates this field. For more information about idempotency, see
|
13028
|
+
# [Making retries safe with idempotent APIs][1].
|
13029
|
+
#
|
13030
|
+
# **A suitable default value is auto-generated.** You should normally
|
13031
|
+
# not need to pass this option.**
|
13032
|
+
#
|
13033
|
+
#
|
13034
|
+
#
|
13035
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
13036
|
+
#
|
13037
|
+
# @option params [required, String] :instance_id
|
13038
|
+
# The unique identifier of the Connect instance.
|
13039
|
+
#
|
13040
|
+
# @option params [required, String] :file_name
|
13041
|
+
# A case-sensitive name of the attached file being uploaded.
|
13042
|
+
#
|
13043
|
+
# @option params [required, Integer] :file_size_in_bytes
|
13044
|
+
# The size of the attached file in bytes.
|
13045
|
+
#
|
13046
|
+
# @option params [Integer] :url_expiry_in_seconds
|
13047
|
+
# Optional override for the expiry of the pre-signed S3 URL in seconds.
|
13048
|
+
#
|
13049
|
+
# @option params [required, String] :file_use_case_type
|
13050
|
+
# The use case for the file.
|
13051
|
+
#
|
13052
|
+
# @option params [required, String] :associated_resource_arn
|
13053
|
+
# The resource to which the attached file is (being) uploaded to.
|
13054
|
+
# [Cases][1] are the only current supported resource.
|
13055
|
+
#
|
13056
|
+
# <note markdown="1"> This value must be a valid ARN.
|
13057
|
+
#
|
13058
|
+
# </note>
|
13059
|
+
#
|
13060
|
+
#
|
13061
|
+
#
|
13062
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html
|
13063
|
+
#
|
13064
|
+
# @option params [Types::CreatedByInfo] :created_by
|
13065
|
+
# Represents the identity that created the file.
|
13066
|
+
#
|
13067
|
+
# @option params [Hash<String,String>] :tags
|
13068
|
+
# The tags used to organize, track, or control access for this resource.
|
13069
|
+
# For example, `\{ "Tags": \{"key1":"value1", "key2":"value2"\} \}`.
|
13070
|
+
#
|
13071
|
+
# @return [Types::StartAttachedFileUploadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13072
|
+
#
|
13073
|
+
# * {Types::StartAttachedFileUploadResponse#file_arn #file_arn} => String
|
13074
|
+
# * {Types::StartAttachedFileUploadResponse#file_id #file_id} => String
|
13075
|
+
# * {Types::StartAttachedFileUploadResponse#creation_time #creation_time} => String
|
13076
|
+
# * {Types::StartAttachedFileUploadResponse#file_status #file_status} => String
|
13077
|
+
# * {Types::StartAttachedFileUploadResponse#created_by #created_by} => Types::CreatedByInfo
|
13078
|
+
# * {Types::StartAttachedFileUploadResponse#upload_url_metadata #upload_url_metadata} => Types::UploadUrlMetadata
|
13079
|
+
#
|
13080
|
+
# @example Request syntax with placeholder values
|
13081
|
+
#
|
13082
|
+
# resp = client.start_attached_file_upload({
|
13083
|
+
# client_token: "ClientToken",
|
13084
|
+
# instance_id: "InstanceId", # required
|
13085
|
+
# file_name: "FileName", # required
|
13086
|
+
# file_size_in_bytes: 1, # required
|
13087
|
+
# url_expiry_in_seconds: 1,
|
13088
|
+
# file_use_case_type: "ATTACHMENT", # required, accepts ATTACHMENT
|
13089
|
+
# associated_resource_arn: "ARN", # required
|
13090
|
+
# created_by: {
|
13091
|
+
# connect_user_arn: "ARN",
|
13092
|
+
# aws_identity_arn: "ARN",
|
13093
|
+
# },
|
13094
|
+
# tags: {
|
13095
|
+
# "TagKey" => "TagValue",
|
13096
|
+
# },
|
13097
|
+
# })
|
13098
|
+
#
|
13099
|
+
# @example Response structure
|
13100
|
+
#
|
13101
|
+
# resp.file_arn #=> String
|
13102
|
+
# resp.file_id #=> String
|
13103
|
+
# resp.creation_time #=> String
|
13104
|
+
# resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
|
13105
|
+
# resp.created_by.connect_user_arn #=> String
|
13106
|
+
# resp.created_by.aws_identity_arn #=> String
|
13107
|
+
# resp.upload_url_metadata.url #=> String
|
13108
|
+
# resp.upload_url_metadata.url_expiry #=> String
|
13109
|
+
# resp.upload_url_metadata.headers_to_include #=> Hash
|
13110
|
+
# resp.upload_url_metadata.headers_to_include["UrlMetadataSignedHeadersKey"] #=> String
|
13111
|
+
#
|
13112
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartAttachedFileUpload AWS API Documentation
|
13113
|
+
#
|
13114
|
+
# @overload start_attached_file_upload(params = {})
|
13115
|
+
# @param [Hash] params ({})
|
13116
|
+
def start_attached_file_upload(params = {}, options = {})
|
13117
|
+
req = build_request(:start_attached_file_upload, params)
|
13118
|
+
req.send_request(options)
|
13119
|
+
end
|
13120
|
+
|
12794
13121
|
# Initiates a flow to start a new chat for the customer. Response of
|
12795
13122
|
# this API provides a token required to obtain credentials from the
|
12796
13123
|
# [CreateParticipantConnection][1] API in the Amazon Connect Participant
|
@@ -14314,6 +14641,23 @@ module Aws::Connect
|
|
14314
14641
|
# contact. Attribute keys can include only alphanumeric, dash, and
|
14315
14642
|
# underscore characters.
|
14316
14643
|
#
|
14644
|
+
# When the attributes for a contact exceed 32 KB, the contact is routed
|
14645
|
+
# down the Error branch of the flow. As a mitigation, consider the
|
14646
|
+
# following options:
|
14647
|
+
#
|
14648
|
+
# * Remove unnecessary attributes by setting their values to empty.
|
14649
|
+
#
|
14650
|
+
# * If the attributes are only used in one flow and don't need to be
|
14651
|
+
# referred to outside of that flow (for example, by a Lambda or
|
14652
|
+
# another flow), then use flow attributes. This way you aren't
|
14653
|
+
# needlessly persisting the 32 KB of information from one flow to
|
14654
|
+
# another. For more information, see [Flow block: Set contact
|
14655
|
+
# attributes][1] in the *Amazon Connect Administrator Guide*.
|
14656
|
+
#
|
14657
|
+
#
|
14658
|
+
#
|
14659
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/set-contact-attributes.html
|
14660
|
+
#
|
14317
14661
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
14318
14662
|
#
|
14319
14663
|
# @example Request syntax with placeholder values
|
@@ -16706,7 +17050,7 @@ module Aws::Connect
|
|
16706
17050
|
params: params,
|
16707
17051
|
config: config)
|
16708
17052
|
context[:gem_name] = 'aws-sdk-connect'
|
16709
|
-
context[:gem_version] = '1.
|
17053
|
+
context[:gem_version] = '1.156.0'
|
16710
17054
|
Seahorse::Client::Request.new(handlers, context)
|
16711
17055
|
end
|
16712
17056
|
|