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

Class: Aws::CodeCommit::Types::DeleteBranchInput

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

Overview

Note:

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

{
  repository_name: "RepositoryName", # required
  branch_name: "BranchName", # required
}

Represents the input of a delete branch operation.

Instance Attribute Summary collapse

Instance Attribute Details

#branch_nameString

The name of the branch to delete.

Returns:

  • (String)


504
505
506
507
508
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 504

class DeleteBranchInput < Struct.new(
  :repository_name,
  :branch_name)
  include Aws::Structure
end

#repository_nameString

The name of the repository that contains the branch to be deleted.

Returns:

  • (String)


504
505
506
507
508
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 504

class DeleteBranchInput < Struct.new(
  :repository_name,
  :branch_name)
  include Aws::Structure
end