Smaws_Client_ResourceGroupsTaggingAPI.GetResourcesReturns all the tagged or previously tagged resources that are located in the specified Amazon Web Services Region for the account.
Depending on what information you want returned, you can also specify the following:
This operation supports pagination, where the response can be sent in multiple pages. You should check the PaginationToken response parameter to determine if there are additional results available to return. Repeat the query, passing the PaginationToken response parameter value as an input to the next request until you recieve a null value. A null value for PaginationToken indicates that there are no more results waiting to be returned.
GetResources does not return untagged resources.
To find untagged resources in your account, use Amazon Web Services Resource Explorer with a query that uses tag:none. For more information, see Search query syntax reference for Resource Explorer.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `PaginationTokenExpiredException of
Types.pagination_token_expired_exception
| `ThrottledException of Types.throttled_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_resources_input ->
(Types.get_resources_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `PaginationTokenExpiredException of
Types.pagination_token_expired_exception
| `ThrottledException of Types.throttled_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_resources_input ->
(Types.get_resources_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `PaginationTokenExpiredException of
Types.pagination_token_expired_exception
| `ThrottledException of Types.throttled_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result