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)


31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 31096

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)


31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 31096

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.



31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 31096

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)


31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 31096

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)


31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 31096

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)


31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 31096

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 Connect Customer instance.

Returns:

  • (String)


31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 31096

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>)


31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 31096

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)


31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 31096

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