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

Class: Aws::RAM::Types::GetResourceSharesRequest

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

Overview

Note:

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

{
  resource_share_arns: ["String"],
  resource_share_status: "PENDING", # accepts PENDING, ACTIVE, FAILED, DELETING, DELETED
  resource_owner: "SELF", # required, accepts SELF, OTHER-ACCOUNTS
  name: "String",
  tag_filters: [
    {
      tag_key: "TagKey",
      tag_values: ["TagValue"],
    },
  ],
  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.

#nameString

The name of the resource share.

Returns:

  • (String)

    The name of the resource share.

#next_tokenString

The token for the next page of results.

Returns:

  • (String)

    The token for the next page of results.

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

The status of the resource share.

Possible values:

  • PENDING
  • ACTIVE
  • FAILED
  • DELETING
  • DELETED

Returns:

  • (String)

    The status of the resource share.

#tag_filtersArray<Types::TagFilter>

One or more tag filters.

Returns: