Class: Aws::AmplifyGen3::Types::GetFileRequest

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

#branch ⇒ String

The name of the branch to read from.

Returns:

  • (String)


3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 3971

class GetFileRequest < Struct.new(
  :provider,
  :owner,
  :repository_name,
  :repository_path,
  :file_path,
  :branch)
  SENSITIVE = []
  include Aws::Structure
end

#file_path ⇒ String

The path of the file, relative to the root of the repository, for example package.json.

Returns:

  • (String)


3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 3971

class GetFileRequest < Struct.new(
  :provider,
  :owner,
  :repository_name,
  :repository_path,
  :file_path,
  :branch)
  SENSITIVE = []
  include Aws::Structure
end

#owner ⇒ String

The account that the Git connection is for. The value depends on the provider:

  • For GitHub, specify the user or organization name.

  • For GitLab, specify the user name.

To get this value, call ListGitConnections.

Returns:

  • (String)


3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 3971

class GetFileRequest < Struct.new(
  :provider,
  :owner,
  :repository_name,
  :repository_path,
  :file_path,
  :branch)
  SENSITIVE = []
  include Aws::Structure
end

#provider ⇒ String

The Git provider.

Returns:

  • (String)


3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 3971

class GetFileRequest < Struct.new(
  :provider,
  :owner,
  :repository_name,
  :repository_path,
  :file_path,
  :branch)
  SENSITIVE = []
  include Aws::Structure
end

#repository_name ⇒ String

The name of the repository, which is the last segment of RepositoryPath.

Returns:

  • (String)


3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 3971

class GetFileRequest < Struct.new(
  :provider,
  :owner,
  :repository_name,
  :repository_path,
  :file_path,
  :branch)
  SENSITIVE = []
  include Aws::Structure
end

#repository_path ⇒ String

The full path of the repository in the Git provider, for example my-org/my-app. GitLab paths can include subgroups, for example my-group/subgroup/my-app. To get this value, call ListRepositories.

Returns:

  • (String)


3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/types.rb', line 3971

class GetFileRequest < Struct.new(
  :provider,
  :owner,
  :repository_name,
  :repository_path,
  :file_path,
  :branch)
  SENSITIVE = []
  include Aws::Structure
end