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",
}

Constant Summary collapse

SENSITIVE =
[]

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 nextToken. 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)


2909
2910
2911
2912
2913
2914
2915
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2909

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

#project_nameString

The name of the CodeBuild project.

Returns:

  • (String)


2909
2910
2911
2912
2913
2914
2915
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2909

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

#sort_orderString

The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.

Valid values include:

  • ASCENDING: List the build identifiers in ascending order, by build number.

  • DESCENDING: List the build identifiers in descending order, by build number.

If the project has more than 100 builds, setting the sort order will result in an error.

Returns:

  • (String)


2909
2910
2911
2912
2913
2914
2915
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2909

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