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

Class: Aws::RAM::Types::GetResourceShareAssociationsRequest

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

Overview

Note:

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

{
  association_type: "PRINCIPAL", # required, accepts PRINCIPAL, RESOURCE
  resource_share_arns: ["String"],
  resource_arn: "String",
  principal: "String",
  association_status: "ASSOCIATING", # accepts ASSOCIATING, ASSOCIATED, FAILED, DISASSOCIATING, DISASSOCIATED
  next_token: "String",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#association_statusString

The association status.

Possible values:

  • ASSOCIATING
  • ASSOCIATED
  • FAILED
  • DISASSOCIATING
  • DISASSOCIATED

Returns:

  • (String)

    The association status.

#association_typeString

The association type. Specify PRINCIPAL to list the principals that are associated with the specified resource share. Specify RESOURCE to list the resources that are associated with the specified resource share.

Possible values:

  • PRINCIPAL
  • RESOURCE

Returns:

  • (String)

    The association type.

#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. You cannot specify this parameter if the association type is RESOURCE.

Returns:

  • (String)

    The principal.

#resource_arnString

The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if the association type is PRINCIPAL.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the resource.

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