Class: Aws::Connect::Types::GetAttachedFileRequest

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

Overview

Request to GetAttachedFile API.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associated_resource_arn ⇒ String

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

This value must be a valid ARN.

Returns:

  • (String)


16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 16620

class GetAttachedFileRequest < Struct.new(
  :instance_id,
  :file_id,
  :url_expiry_in_seconds,
  :associated_resource_arn,
  :url_content_disposition)
  SENSITIVE = []
  include Aws::Structure
end

#file_id ⇒ String

The unique identifier of the attached file resource.

Returns:

  • (String)


16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 16620

class GetAttachedFileRequest < Struct.new(
  :instance_id,
  :file_id,
  :url_expiry_in_seconds,
  :associated_resource_arn,
  :url_content_disposition)
  SENSITIVE = []
  include Aws::Structure
end

#instance_id ⇒ String

The unique identifier of the Connect Customer instance.

Returns:

  • (String)


16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 16620

class GetAttachedFileRequest < Struct.new(
  :instance_id,
  :file_id,
  :url_expiry_in_seconds,
  :associated_resource_arn,
  :url_content_disposition)
  SENSITIVE = []
  include Aws::Structure
end

#url_content_disposition ⇒ String

Specifies how a browser handles the file at the pre-signed URL. The valid values are the following:

INLINE

Displays the file in the browser.

ATTACHMENT

Downloads the file. This is the default.

Returns:

  • (String)


16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 16620

class GetAttachedFileRequest < Struct.new(
  :instance_id,
  :file_id,
  :url_expiry_in_seconds,
  :associated_resource_arn,
  :url_content_disposition)
  SENSITIVE = []
  include Aws::Structure
end

#url_expiry_in_seconds ⇒ Integer

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

Returns:

  • (Integer)


16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 16620

class GetAttachedFileRequest < Struct.new(
  :instance_id,
  :file_id,
  :url_expiry_in_seconds,
  :associated_resource_arn,
  :url_content_disposition)
  SENSITIVE = []
  include Aws::Structure
end