class Aws::RecycleBin::Types::ListRulesRequest

@note When making an API call, you may pass ListRulesRequest

data as a hash:

    {
      max_results: 1,
      next_token: "NextToken",
      resource_type: "EBS_SNAPSHOT", # required, accepts EBS_SNAPSHOT, EC2_IMAGE
      resource_tags: [
        {
          resource_tag_key: "ResourceTagKey", # required
          resource_tag_value: "ResourceTagValue",
        },
      ],
    }

@!attribute [rw] max_results

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

@!attribute [rw] next_token

The token for the next page of results.
@return [String]

@!attribute [rw] resource_type

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`.
@return [String]

@!attribute [rw] resource_tags

Information about the resource tags used to identify resources that
are retained by the retention rule.
@return [Array<Types::ResourceTag>]

@see docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/ListRulesRequest AWS API Documentation

Constants

SENSITIVE