AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::RAM::Types::ListResourcesRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ListResourcesRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_owner: "SELF", # required, accepts SELF, OTHER-ACCOUNTS
  principal: "String",
  resource_type: "String",
  resource_arns: ["String"],
  resource_share_arns: ["String"],
  next_token: "String",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#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)

    The maximum number of results to return with a single call.

#next_tokenString

The token for the next page of results.

Returns:

  • (String)

    The token for the next page of results.

#principalString

The principal.

Returns:

  • (String)

    The principal.

#resource_arnsArray<String>

The Amazon Resource Names (ARN) of the resources.

Returns:

  • (Array<String>)

    The Amazon Resource Names (ARN) of the resources.

#resource_ownerString

The type of owner.

Possible values:

  • SELF
  • OTHER-ACCOUNTS

Returns:

  • (String)

    The type of owner.

#resource_share_arnsArray<String>

The Amazon Resource Names (ARN) of the resource shares.

Returns:

  • (Array<String>)

    The Amazon Resource Names (ARN) of the resource shares.

#resource_typeString

The resource type.

Valid values: codebuild:Project | codebuild:ReportGroup | ec2:CapacityReservation | ec2:DedicatedHost | ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway | imagebuilder:Component | imagebuilder:Image | imagebuilder:ImageRecipe | license-manager:LicenseConfiguration I resource-groups:Group | rds:Cluster | route53resolver:ResolverRule

Returns:

  • (String)

    The resource type.