Class: Aws::RecycleBin::Types::ListRulesRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#lock_stateString

The lock state of the retention rules to list. Only retention rules with the specified lock state are returned.

Returns:

  • (String)


314
315
316
317
318
319
320
321
322
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 314

class ListRulesRequest < Struct.new(
  :max_results,
  :next_token,
  :resource_type,
  :resource_tags,
  :lock_state)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned NextToken value.

Returns:

  • (Integer)


314
315
316
317
318
319
320
321
322
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 314

class ListRulesRequest < Struct.new(
  :max_results,
  :next_token,
  :resource_type,
  :resource_tags,
  :lock_state)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token for the next page of results.

Returns:

  • (String)


314
315
316
317
318
319
320
321
322
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 314

class ListRulesRequest < Struct.new(
  :max_results,
  :next_token,
  :resource_type,
  :resource_tags,
  :lock_state)
  SENSITIVE = []
  include Aws::Structure
end

#resource_tagsArray<Types::ResourceTag>

Information about the resource tags used to identify resources that are retained by the retention rule.

Returns:



314
315
316
317
318
319
320
321
322
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 314

class ListRulesRequest < Struct.new(
  :max_results,
  :next_token,
  :resource_type,
  :resource_tags,
  :lock_state)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To list retention rules that retain snapshots, specify EBS_SNAPSHOT. To list retention rules that retain EBS-backed AMIs, specify EC2_IMAGE.

Returns:

  • (String)


314
315
316
317
318
319
320
321
322
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 314

class ListRulesRequest < Struct.new(
  :max_results,
  :next_token,
  :resource_type,
  :resource_tags,
  :lock_state)
  SENSITIVE = []
  include Aws::Structure
end