Class: Aws::Connect::Types::StartAttachedFileUploadRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associated_resource_arnString

The resource to which the attached file is (being) uploaded to. The supported resources are Cases and Email.

This value must be a valid ARN.

Returns:

  • (String)


30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 30844

class StartAttachedFileUploadRequest < Struct.new(
  :client_token,
  :instance_id,
  :file_name,
  :file_size_in_bytes,
  :url_expiry_in_seconds,
  :file_use_case_type,
  :associated_resource_arn,
  :created_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 30844

class StartAttachedFileUploadRequest < Struct.new(
  :client_token,
  :instance_id,
  :file_name,
  :file_size_in_bytes,
  :url_expiry_in_seconds,
  :file_use_case_type,
  :associated_resource_arn,
  :created_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#created_byTypes::CreatedByInfo

Represents the identity that created the file.



30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 30844

class StartAttachedFileUploadRequest < Struct.new(
  :client_token,
  :instance_id,
  :file_name,
  :file_size_in_bytes,
  :url_expiry_in_seconds,
  :file_use_case_type,
  :associated_resource_arn,
  :created_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#file_nameString

A case-sensitive name of the attached file being uploaded.

Returns:

  • (String)


30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 30844

class StartAttachedFileUploadRequest < Struct.new(
  :client_token,
  :instance_id,
  :file_name,
  :file_size_in_bytes,
  :url_expiry_in_seconds,
  :file_use_case_type,
  :associated_resource_arn,
  :created_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#file_size_in_bytesInteger

The size of the attached file in bytes.

Returns:

  • (Integer)


30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 30844

class StartAttachedFileUploadRequest < Struct.new(
  :client_token,
  :instance_id,
  :file_name,
  :file_size_in_bytes,
  :url_expiry_in_seconds,
  :file_use_case_type,
  :associated_resource_arn,
  :created_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#file_use_case_typeString

The use case for the file.

Only ATTACHMENTS are supported.

Returns:

  • (String)


30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 30844

class StartAttachedFileUploadRequest < Struct.new(
  :client_token,
  :instance_id,
  :file_name,
  :file_size_in_bytes,
  :url_expiry_in_seconds,
  :file_use_case_type,
  :associated_resource_arn,
  :created_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The unique identifier of the Amazon Connect instance.

Returns:

  • (String)


30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 30844

class StartAttachedFileUploadRequest < Struct.new(
  :client_token,
  :instance_id,
  :file_name,
  :file_size_in_bytes,
  :url_expiry_in_seconds,
  :file_use_case_type,
  :associated_resource_arn,
  :created_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

Returns:

  • (Hash<String,String>)


30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 30844

class StartAttachedFileUploadRequest < Struct.new(
  :client_token,
  :instance_id,
  :file_name,
  :file_size_in_bytes,
  :url_expiry_in_seconds,
  :file_use_case_type,
  :associated_resource_arn,
  :created_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#url_expiry_in_secondsInteger

Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.

Returns:

  • (Integer)


30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 30844

class StartAttachedFileUploadRequest < Struct.new(
  :client_token,
  :instance_id,
  :file_name,
  :file_size_in_bytes,
  :url_expiry_in_seconds,
  :file_use_case_type,
  :associated_resource_arn,
  :created_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end