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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Cases][1

are the only current supported resource.

<note markdown=“1”> This value must be a valid ARN.

</note>

[1]: docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html

Returns:

  • (String)


19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
# File 'lib/aws-sdk-connect/types.rb', line 19427

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.

[1]: aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/

Returns:

  • (String)


19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
# File 'lib/aws-sdk-connect/types.rb', line 19427

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.



19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
# File 'lib/aws-sdk-connect/types.rb', line 19427

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)


19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
# File 'lib/aws-sdk-connect/types.rb', line 19427

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)


19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
# File 'lib/aws-sdk-connect/types.rb', line 19427

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.

Returns:

  • (String)


19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
# File 'lib/aws-sdk-connect/types.rb', line 19427

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)


19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
# File 'lib/aws-sdk-connect/types.rb', line 19427

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”: “key2”:“value2” }`.

Returns:

  • (Hash<String,String>)


19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
# File 'lib/aws-sdk-connect/types.rb', line 19427

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)


19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
# File 'lib/aws-sdk-connect/types.rb', line 19427

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