Module Values.SearchResourcesOutputSource

Returns a list of Amazon Web Services resource identifiers that matches the specified query. The query uses the same format as a resource query in a CreateGroup or UpdateGroupQuery operation. Minimum permissions To run this command, you must have the following permissions: resource-groups:SearchResources cloudformation:DescribeStacks cloudformation:ListStackResources tag:GetResources

Sourcetype nonrec t = {
  1. resourceIdentifiers : ResourceIdentifierList.t option;
    (*

    The ARNs and resource types of resources that are members of the group that you specified.

    *)
  2. nextToken : NextToken.t option;
    (*

    If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

    *)
  3. queryErrors : QueryErrorList.t option;
    (*

    A list of QueryError objects. Each error contains an ErrorCode and Message. Possible values for ErrorCode: CLOUDFORMATION_STACK_INACTIVE CLOUDFORMATION_STACK_NOT_EXISTING CLOUDFORMATION_STACK_UNASSUMABLE_ROLE

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `ForbiddenException of ForbiddenException.t
  3. | `InternalServerErrorException of InternalServerErrorException.t
  4. | `MethodNotAllowedException of MethodNotAllowedException.t
  5. | `TooManyRequestsException of TooManyRequestsException.t
  6. | `UnauthorizedException of UnauthorizedException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?resourceIdentifiers:??? -> ?nextToken:??? -> ?queryErrors:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `ForbiddenException of ForbiddenException.t | `InternalServerErrorException of InternalServerErrorException.t | `MethodNotAllowedException of MethodNotAllowedException.t | `TooManyRequestsException of TooManyRequestsException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `ForbiddenException of ForbiddenException.t | `InternalServerErrorException of InternalServerErrorException.t | `MethodNotAllowedException of MethodNotAllowedException.t | `TooManyRequestsException of TooManyRequestsException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of ResourceArn.t ]) list ] list | `String of NextToken.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