You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Amplify::Types::GetBranchRequest

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

Overview

Note:

When making an API call, you may pass GetBranchRequest data as a hash:

{
  app_id: "AppId", # required
  branch_name: "BranchName", # required
}

Request structure for get branch request.

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

Unique Id for an Amplify App.

Returns:

  • (String)


1244
1245
1246
1247
1248
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 1244

class GetBranchRequest < Struct.new(
  :app_id,
  :branch_name)
  include Aws::Structure
end

#branch_nameString

Name for the branch.

Returns:

  • (String)


1244
1245
1246
1247
1248
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 1244

class GetBranchRequest < Struct.new(
  :app_id,
  :branch_name)
  include Aws::Structure
end