Module Values.GetResourceSharesRequestSource

Retrieves details about the resource shares that you own or that are shared with you. Always check the NextToken response parameter for a null value when calling a paginated operation. These operations can occasionally return an empty set of results even when there are more results available. The NextToken response parameter value is null only when there are no more results to display.

Sourcetype nonrec t = {
  1. resourceShareArns : ResourceShareArnList.t option;
    (*

    Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.

    *)
  2. resourceShareStatus : ResourceShareStatus.t option;
    (*

    Specifies that you want to retrieve details of only those resource shares that have this status.

    *)
  3. resourceOwner : ResourceOwner.t;
    (*

    Specifies that you want to retrieve details of only those resource shares that match the following: SELF – resource shares that your account shares with other accounts OTHER-ACCOUNTS – resource shares that other accounts share with your account

    *)
  4. name : String_.t option;
    (*

    Specifies the name of an individual resource share that you want to retrieve details about.

    *)
  5. tagFilters : TagFilters.t option;
    (*

    Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.

    *)
  6. nextToken : String_.t option;
    (*

    Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

    *)
  7. maxResults : MaxResults.t option;
    (*

    Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

    *)
  8. permissionArn : String_.t option;
    (*

    Specifies that you want to retrieve details of only those resource shares that use the managed permission with this Amazon Resource Name (ARN).

    *)
  9. permissionVersion : Integer.t option;
    (*

    Specifies that you want to retrieve details for only those resource shares that use the specified version of the managed permission.

    *)
}
Sourceval context_ : string
Sourceval make : ?resourceShareArns:??? -> ?resourceShareStatus:??? -> ?name:??? -> ?tagFilters:??? -> ?nextToken:??? -> ?maxResults:??? -> ?permissionArn:??? -> ?permissionVersion:??? -> resourceOwner:ResourceOwner.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of MaxResults.t | `List of [> `String of String_.t | `Structure of (string * [> `List of [> `String of TagValue.t ] list | `String of TagKey.t ]) list ] list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t