Class: Aws::CodeStarNotifications::Types::ListEventTypesRequest

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

Overview

Note:

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

{
  filters: [
    {
      name: "RESOURCE_TYPE", # required, accepts RESOURCE_TYPE, SERVICE_NAME
      value: "ListEventTypesFilterValue", # required
    },
  ],
  next_token: "NextToken",
  max_results: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::ListEventTypesFilter>

The filters to use to return information by service or resource type.

Returns:



434
435
436
437
438
439
440
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 434

class ListEventTypesRequest < Struct.new(
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

A non-negative integer used to limit the number of returned results. The default number is 50. The maximum number of results that can be returned is 100.

Returns:

  • (Integer)


434
435
436
437
438
439
440
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 434

class ListEventTypesRequest < Struct.new(
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

An enumeration token that, when provided in a request, returns the next batch of the results.

Returns:

  • (String)


434
435
436
437
438
439
440
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 434

class ListEventTypesRequest < Struct.new(
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end