// Returns all the tagged or previously tagged resources that are located in the
// specified Region for the AWS account. Depending on what information you want
// returned, you can also specify the following:
//
// * Filters that specify what tags
// and resource types you want returned. The response includes all tags that are
// associated with the requested resources.
//
// * Information about compliance with
// the account's effective tag policy. For more information on tag policies, see
// Tag Policies
// (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html)
// in the AWS Organizations User Guide.
//
// You can check the PaginationToken response
// parameter to determine if a query is complete. Queries occasionally return fewer
// results on a page than allowed. The PaginationToken response parameter value is
// null only when there are no more results to display.
Returns all the tagged or previously tagged resources that are located in the
specified Region for the AWS account. Depending on what information you want
returned, you can also specify the following.

Filters that specify what tags
and resource types you want returned. The response includes all tags that are
associated with the requested resources.

Information about compliance with
the account's effective tag policy. For more information on tag policies, see
Tag Policies

in the AWS Organizations User Guide.

You can check the PaginationToken response
parameter to determine if a query is complete. Queries occasionally return fewer
results on a page than allowed. The PaginationToken response parameter value is
null only when there are no more results to display.
// Returns all the tagged or previously tagged resources that are located in the // specified Region for the AWS account . Depending on what information you want // returned you can also specify the following : // // * Filters that specify what tags // and resource types you want returned . The response includes all tags that are // associated with the requested resources . // // * Information about compliance with // the account ' s effective tag policy . For more information on tag policies see // Tag Policies // ( http : // docs . aws . amazon . com / organizations / latest / userguide / orgs_manage_policies_tag - policies . html ) // in the AWS Organizations User Guide . // // You can check the PaginationToken response // parameter to determine if a query is complete . Queries occasionally return fewer // results on a page than allowed . The PaginationToken response parameter value is // null only when there are no more results to display .
func (c *Client) GetResources(ctx context.Context, params *GetResourcesInput, optFns ...func(*Options)) (*GetResourcesOutput, error) {
	if params == nil {
		params = &GetResourcesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetResources", params, optFns, addOperationGetResourcesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetResourcesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetResources ( ctx context . Context , params * GetResourcesInput , optFns ... func ( * Options ) ) ( * GetResourcesOutput , error ) { if params == nil { params = & GetResourcesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetResourcesMiddlewares ) if err != nil { return nil , err } out := result . ( * GetResourcesOutput ) out . ResultMetadata = metadata return out , nil }
Returns all the tagged or previously tagged resources that are located in the
specified Region for the AWS account.
Returns all the tagged or previously tagged resources that are located in the specified Region for the AWS account .