Class: Aws::AmplifyGen3::Types::GetFileResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content ⇒ String

The contents of the file.

Returns:

  • (String)


4001
4002
4003
4004
4005
4006
4007
4008
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 4001

class GetFileResponse < Struct.new(
  :file_path,
  :content,
  :sha,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#file_path ⇒ String

The path of the file that was returned.

Returns:

  • (String)


4001
4002
4003
4004
4005
4006
4007
4008
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 4001

class GetFileResponse < Struct.new(
  :file_path,
  :content,
  :sha,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#sha ⇒ String

The Git object ID (blob SHA) of the file's contents. It changes whenever the file's contents change.

Returns:

  • (String)


4001
4002
4003
4004
4005
4006
4007
4008
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 4001

class GetFileResponse < Struct.new(
  :file_path,
  :content,
  :sha,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#size ⇒ Integer

The size of the file, in bytes.

Returns:

  • (Integer)


4001
4002
4003
4004
4005
4006
4007
4008
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 4001

class GetFileResponse < Struct.new(
  :file_path,
  :content,
  :sha,
  :size)
  SENSITIVE = []
  include Aws::Structure
end