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

Class: Aws::CodeBuild::Types::ListProjectsInput

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 ListProjectsInput data as a hash:

{
  sort_by: "NAME", # accepts NAME, CREATED_TIME, LAST_MODIFIED_TIME
  sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
  next_token: "NonEmptyString",
}

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)


908
909
910
911
912
913
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 908

class ListProjectsInput < Struct.new(
  :sort_by,
  :sort_order,
  :next_token)
  include Aws::Structure
end

#sort_byString

The criterion to be used to list build project names. Valid values include:

  • CREATED_TIME: List the build project names based on when each build project was created.

  • LAST_MODIFIED_TIME: List the build project names based on when information about each build project was last changed.

  • NAME: List the build project names based on each build project's name.

Use sortOrder to specify in what order to list the build project names based on the preceding criteria.

Returns:

  • (String)


908
909
910
911
912
913
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 908

class ListProjectsInput < Struct.new(
  :sort_by,
  :sort_order,
  :next_token)
  include Aws::Structure
end

#sort_orderString

The order in which to list build projects. Valid values include:

  • ASCENDING: List the build project names in ascending order.

  • DESCENDING: List the build project names in descending order.

Use sortBy to specify the criterion to be used to list build project names.

Returns:

  • (String)


908
909
910
911
912
913
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 908

class ListProjectsInput < Struct.new(
  :sort_by,
  :sort_order,
  :next_token)
  include Aws::Structure
end