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

Class: Aws::CodeBuild::Types::ListBuildsForProjectInput

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

Overview

Note:

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

{
  project_name: "NonEmptyString", # required
  sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
  next_token: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#next_tokenString

During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

Returns:

  • (String)


761
762
763
764
765
766
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 761

class ListBuildsForProjectInput < Struct.new(
  :project_name,
  :sort_order,
  :next_token)
  include Aws::Structure
end

#project_nameString

The name of the build project.

Returns:

  • (String)


761
762
763
764
765
766
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 761

class ListBuildsForProjectInput < Struct.new(
  :project_name,
  :sort_order,
  :next_token)
  include Aws::Structure
end

#sort_orderString

The order to list build IDs. Valid values include:

  • ASCENDING: List the build IDs in ascending order by build ID.

  • DESCENDING: List the build IDs in descending order by build ID.

Returns:

  • (String)


761
762
763
764
765
766
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 761

class ListBuildsForProjectInput < Struct.new(
  :project_name,
  :sort_order,
  :next_token)
  include Aws::Structure
end