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.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connect/customizations'
52
52
  # @!group service
53
53
  module Aws::Connect
54
54
 
55
- GEM_VERSION = '1.155.0'
55
+ GEM_VERSION = '1.156.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -293,6 +293,19 @@ module Aws
293
293
  ) -> _BatchDisassociateAnalyticsDataSetResponseSuccess
294
294
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDisassociateAnalyticsDataSetResponseSuccess
295
295
 
296
+ interface _BatchGetAttachedFileMetadataResponseSuccess
297
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetAttachedFileMetadataResponse]
298
+ def files: () -> ::Array[Types::AttachedFile]
299
+ def errors: () -> ::Array[Types::AttachedFileError]
300
+ end
301
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#batch_get_attached_file_metadata-instance_method
302
+ def batch_get_attached_file_metadata: (
303
+ file_ids: Array[::String],
304
+ instance_id: ::String,
305
+ associated_resource_arn: ::String
306
+ ) -> _BatchGetAttachedFileMetadataResponseSuccess
307
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetAttachedFileMetadataResponseSuccess
308
+
296
309
  interface _BatchGetFlowAssociationResponseSuccess
297
310
  include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetFlowAssociationResponse]
298
311
  def flow_association_summary_list: () -> ::Array[Types::FlowAssociationSummary]
@@ -351,6 +364,17 @@ module Aws
351
364
  ) -> _ClaimPhoneNumberResponseSuccess
352
365
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ClaimPhoneNumberResponseSuccess
353
366
 
367
+ interface _CompleteAttachedFileUploadResponseSuccess
368
+ include ::Seahorse::Client::_ResponseSuccess[Types::CompleteAttachedFileUploadResponse]
369
+ end
370
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#complete_attached_file_upload-instance_method
371
+ def complete_attached_file_upload: (
372
+ instance_id: ::String,
373
+ file_id: ::String,
374
+ associated_resource_arn: ::String
375
+ ) -> _CompleteAttachedFileUploadResponseSuccess
376
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CompleteAttachedFileUploadResponseSuccess
377
+
354
378
  interface _CreateAgentStatusResponseSuccess
355
379
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateAgentStatusResponse]
356
380
  def agent_status_arn: () -> ::String
@@ -984,6 +1008,17 @@ module Aws
984
1008
  ) -> _DeactivateEvaluationFormResponseSuccess
985
1009
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeactivateEvaluationFormResponseSuccess
986
1010
 
1011
+ interface _DeleteAttachedFileResponseSuccess
1012
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAttachedFileResponse]
1013
+ end
1014
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#delete_attached_file-instance_method
1015
+ def delete_attached_file: (
1016
+ instance_id: ::String,
1017
+ file_id: ::String,
1018
+ associated_resource_arn: ::String
1019
+ ) -> _DeleteAttachedFileResponseSuccess
1020
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAttachedFileResponseSuccess
1021
+
987
1022
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#delete_contact_evaluation-instance_method
988
1023
  def delete_contact_evaluation: (
989
1024
  instance_id: ::String,
@@ -1558,6 +1593,29 @@ module Aws
1558
1593
  ) -> _DismissUserContactResponseSuccess
1559
1594
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DismissUserContactResponseSuccess
1560
1595
 
1596
+ interface _GetAttachedFileResponseSuccess
1597
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAttachedFileResponse]
1598
+ def file_arn: () -> ::String
1599
+ def file_id: () -> ::String
1600
+ def creation_time: () -> ::String
1601
+ def file_status: () -> ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
1602
+ def file_name: () -> ::String
1603
+ def file_size_in_bytes: () -> ::Integer
1604
+ def associated_resource_arn: () -> ::String
1605
+ def file_use_case_type: () -> ("ATTACHMENT")
1606
+ def created_by: () -> Types::CreatedByInfo
1607
+ def download_url_metadata: () -> Types::DownloadUrlMetadata
1608
+ def tags: () -> ::Hash[::String, ::String]
1609
+ end
1610
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#get_attached_file-instance_method
1611
+ def get_attached_file: (
1612
+ instance_id: ::String,
1613
+ file_id: ::String,
1614
+ ?url_expiry_in_seconds: ::Integer,
1615
+ associated_resource_arn: ::String
1616
+ ) -> _GetAttachedFileResponseSuccess
1617
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAttachedFileResponseSuccess
1618
+
1561
1619
  interface _GetContactAttributesResponseSuccess
1562
1620
  include ::Seahorse::Client::_ResponseSuccess[Types::GetContactAttributesResponse]
1563
1621
  def attributes: () -> ::Hash[::String, ::String]
@@ -3042,6 +3100,32 @@ module Aws
3042
3100
  ) -> _SendChatIntegrationEventResponseSuccess
3043
3101
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendChatIntegrationEventResponseSuccess
3044
3102
 
3103
+ interface _StartAttachedFileUploadResponseSuccess
3104
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartAttachedFileUploadResponse]
3105
+ def file_arn: () -> ::String
3106
+ def file_id: () -> ::String
3107
+ def creation_time: () -> ::String
3108
+ def file_status: () -> ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
3109
+ def created_by: () -> Types::CreatedByInfo
3110
+ def upload_url_metadata: () -> Types::UploadUrlMetadata
3111
+ end
3112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#start_attached_file_upload-instance_method
3113
+ def start_attached_file_upload: (
3114
+ ?client_token: ::String,
3115
+ instance_id: ::String,
3116
+ file_name: ::String,
3117
+ file_size_in_bytes: ::Integer,
3118
+ ?url_expiry_in_seconds: ::Integer,
3119
+ file_use_case_type: ("ATTACHMENT"),
3120
+ associated_resource_arn: ::String,
3121
+ ?created_by: {
3122
+ connect_user_arn: ::String?,
3123
+ aws_identity_arn: ::String?
3124
+ },
3125
+ ?tags: Hash[::String, ::String]
3126
+ ) -> _StartAttachedFileUploadResponseSuccess
3127
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAttachedFileUploadResponseSuccess
3128
+
3045
3129
  interface _StartChatContactResponseSuccess
3046
3130
  include ::Seahorse::Client::_ResponseSuccess[Types::StartChatContactResponse]
3047
3131
  def contact_id: () -> ::String
data/sig/errors.rbs CHANGED
@@ -46,6 +46,7 @@ module Aws
46
46
  end
47
47
  class InvalidRequestException < ::Aws::Errors::ServiceError
48
48
  def message: () -> ::String
49
+ def reason: () -> ::String
49
50
  end
50
51
  class LimitExceededException < ::Aws::Errors::ServiceError
51
52
  def message: () -> ::String
data/sig/types.rbs CHANGED
@@ -246,6 +246,27 @@ module Aws::Connect
246
246
  SENSITIVE: []
247
247
  end
248
248
 
249
+ class AttachedFile
250
+ attr_accessor creation_time: ::String
251
+ attr_accessor file_arn: ::String
252
+ attr_accessor file_id: ::String
253
+ attr_accessor file_name: ::String
254
+ attr_accessor file_size_in_bytes: ::Integer
255
+ attr_accessor file_status: ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
256
+ attr_accessor created_by: Types::CreatedByInfo
257
+ attr_accessor file_use_case_type: ("ATTACHMENT")
258
+ attr_accessor associated_resource_arn: ::String
259
+ attr_accessor tags: ::Hash[::String, ::String]
260
+ SENSITIVE: []
261
+ end
262
+
263
+ class AttachedFileError
264
+ attr_accessor error_code: ::String
265
+ attr_accessor error_message: ::String
266
+ attr_accessor file_id: ::String
267
+ SENSITIVE: []
268
+ end
269
+
249
270
  class AttachmentReference
250
271
  attr_accessor name: ::String
251
272
  attr_accessor value: ::String
@@ -309,6 +330,19 @@ module Aws::Connect
309
330
  SENSITIVE: []
310
331
  end
311
332
 
333
+ class BatchGetAttachedFileMetadataRequest
334
+ attr_accessor file_ids: ::Array[::String]
335
+ attr_accessor instance_id: ::String
336
+ attr_accessor associated_resource_arn: ::String
337
+ SENSITIVE: []
338
+ end
339
+
340
+ class BatchGetAttachedFileMetadataResponse
341
+ attr_accessor files: ::Array[Types::AttachedFile]
342
+ attr_accessor errors: ::Array[Types::AttachedFileError]
343
+ SENSITIVE: []
344
+ end
345
+
312
346
  class BatchGetFlowAssociationRequest
313
347
  attr_accessor instance_id: ::String
314
348
  attr_accessor resource_ids: ::Array[::String]
@@ -393,6 +427,16 @@ module Aws::Connect
393
427
  SENSITIVE: []
394
428
  end
395
429
 
430
+ class CompleteAttachedFileUploadRequest
431
+ attr_accessor instance_id: ::String
432
+ attr_accessor file_id: ::String
433
+ attr_accessor associated_resource_arn: ::String
434
+ SENSITIVE: []
435
+ end
436
+
437
+ class CompleteAttachedFileUploadResponse < Aws::EmptyStructure
438
+ end
439
+
396
440
  class ConflictException
397
441
  attr_accessor message: ::String
398
442
  SENSITIVE: []
@@ -930,6 +974,20 @@ module Aws::Connect
930
974
  SENSITIVE: []
931
975
  end
932
976
 
977
+ class CreatedByInfo
978
+ attr_accessor connect_user_arn: ::String
979
+ attr_accessor aws_identity_arn: ::String
980
+ attr_accessor unknown: untyped
981
+ SENSITIVE: []
982
+
983
+ class ConnectUserArn < CreatedByInfo
984
+ end
985
+ class AwsIdentityArn < CreatedByInfo
986
+ end
987
+ class Unknown < CreatedByInfo
988
+ end
989
+ end
990
+
933
991
  class Credentials
934
992
  attr_accessor access_token: ::String
935
993
  attr_accessor access_token_expiration: ::Time
@@ -995,6 +1053,16 @@ module Aws::Connect
995
1053
  SENSITIVE: []
996
1054
  end
997
1055
 
1056
+ class DeleteAttachedFileRequest
1057
+ attr_accessor instance_id: ::String
1058
+ attr_accessor file_id: ::String
1059
+ attr_accessor associated_resource_arn: ::String
1060
+ SENSITIVE: []
1061
+ end
1062
+
1063
+ class DeleteAttachedFileResponse < Aws::EmptyStructure
1064
+ end
1065
+
998
1066
  class DeleteContactEvaluationRequest
999
1067
  attr_accessor instance_id: ::String
1000
1068
  attr_accessor evaluation_id: ::String
@@ -1543,6 +1611,12 @@ module Aws::Connect
1543
1611
  SENSITIVE: []
1544
1612
  end
1545
1613
 
1614
+ class DownloadUrlMetadata
1615
+ attr_accessor url: ::String
1616
+ attr_accessor url_expiry: ::String
1617
+ SENSITIVE: []
1618
+ end
1619
+
1546
1620
  class DuplicateResourceException
1547
1621
  attr_accessor message: ::String
1548
1622
  SENSITIVE: []
@@ -1870,6 +1944,29 @@ module Aws::Connect
1870
1944
  SENSITIVE: []
1871
1945
  end
1872
1946
 
1947
+ class GetAttachedFileRequest
1948
+ attr_accessor instance_id: ::String
1949
+ attr_accessor file_id: ::String
1950
+ attr_accessor url_expiry_in_seconds: ::Integer
1951
+ attr_accessor associated_resource_arn: ::String
1952
+ SENSITIVE: []
1953
+ end
1954
+
1955
+ class GetAttachedFileResponse
1956
+ attr_accessor file_arn: ::String
1957
+ attr_accessor file_id: ::String
1958
+ attr_accessor creation_time: ::String
1959
+ attr_accessor file_status: ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
1960
+ attr_accessor file_name: ::String
1961
+ attr_accessor file_size_in_bytes: ::Integer
1962
+ attr_accessor associated_resource_arn: ::String
1963
+ attr_accessor file_use_case_type: ("ATTACHMENT")
1964
+ attr_accessor created_by: Types::CreatedByInfo
1965
+ attr_accessor download_url_metadata: Types::DownloadUrlMetadata
1966
+ attr_accessor tags: ::Hash[::String, ::String]
1967
+ SENSITIVE: []
1968
+ end
1969
+
1873
1970
  class GetContactAttributesRequest
1874
1971
  attr_accessor instance_id: ::String
1875
1972
  attr_accessor initial_contact_id: ::String
@@ -2285,9 +2382,21 @@ module Aws::Connect
2285
2382
 
2286
2383
  class InvalidRequestException
2287
2384
  attr_accessor message: ::String
2385
+ attr_accessor reason: Types::InvalidRequestExceptionReason
2288
2386
  SENSITIVE: []
2289
2387
  end
2290
2388
 
2389
+ class InvalidRequestExceptionReason
2390
+ attr_accessor attached_file_invalid_request_exception_reason: ("INVALID_FILE_SIZE" | "INVALID_FILE_TYPE" | "INVALID_FILE_NAME")
2391
+ attr_accessor unknown: untyped
2392
+ SENSITIVE: []
2393
+
2394
+ class AttachedFileInvalidRequestExceptionReason < InvalidRequestExceptionReason
2395
+ end
2396
+ class Unknown < InvalidRequestExceptionReason
2397
+ end
2398
+ end
2399
+
2291
2400
  class InvisibleFieldInfo
2292
2401
  attr_accessor id: Types::TaskTemplateFieldIdentifier
2293
2402
  SENSITIVE: []
@@ -4043,6 +4152,29 @@ module Aws::Connect
4043
4152
  SENSITIVE: []
4044
4153
  end
4045
4154
 
4155
+ class StartAttachedFileUploadRequest
4156
+ attr_accessor client_token: ::String
4157
+ attr_accessor instance_id: ::String
4158
+ attr_accessor file_name: ::String
4159
+ attr_accessor file_size_in_bytes: ::Integer
4160
+ attr_accessor url_expiry_in_seconds: ::Integer
4161
+ attr_accessor file_use_case_type: ("ATTACHMENT")
4162
+ attr_accessor associated_resource_arn: ::String
4163
+ attr_accessor created_by: Types::CreatedByInfo
4164
+ attr_accessor tags: ::Hash[::String, ::String]
4165
+ SENSITIVE: []
4166
+ end
4167
+
4168
+ class StartAttachedFileUploadResponse
4169
+ attr_accessor file_arn: ::String
4170
+ attr_accessor file_id: ::String
4171
+ attr_accessor creation_time: ::String
4172
+ attr_accessor file_status: ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
4173
+ attr_accessor created_by: Types::CreatedByInfo
4174
+ attr_accessor upload_url_metadata: Types::UploadUrlMetadata
4175
+ SENSITIVE: []
4176
+ end
4177
+
4046
4178
  class StartChatContactRequest
4047
4179
  attr_accessor instance_id: ::String
4048
4180
  attr_accessor contact_flow_id: ::String
@@ -4898,6 +5030,13 @@ module Aws::Connect
4898
5030
  class UpdateViewMetadataResponse < Aws::EmptyStructure
4899
5031
  end
4900
5032
 
5033
+ class UploadUrlMetadata
5034
+ attr_accessor url: ::String
5035
+ attr_accessor url_expiry: ::String
5036
+ attr_accessor headers_to_include: ::Hash[::String, ::String]
5037
+ SENSITIVE: []
5038
+ end
5039
+
4901
5040
  class UrlReference
4902
5041
  attr_accessor name: ::String
4903
5042
  attr_accessor value: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.155.0
4
+ version: 1.156.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-25 00:00:00.000000000 Z
11
+ date: 2024-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core