NAME
Paws::Prometheus::ListWorkspaces - Arguments for method ListWorkspaces on Paws::Prometheus
DESCRIPTION
This class represents the parameters used for calling the method ListWorkspaces on the Amazon Prometheus Service service. Use the attributes of this class as arguments to method ListWorkspaces.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListWorkspaces.
SYNOPSIS
my $aps = Paws->service('Prometheus');
my $ListWorkspacesResponse = $aps->ListWorkspaces(
Alias => 'MyWorkspaceAlias', # OPTIONAL
MaxResults => 1, # OPTIONAL
NextToken => 'MyPaginationToken', # OPTIONAL
);
# Results:
my $NextToken = $ListWorkspacesResponse->NextToken;
my $Workspaces = $ListWorkspacesResponse->Workspaces;
# Returns a L<Paws::Prometheus::ListWorkspacesResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/aps/ListWorkspaces
ATTRIBUTES
Alias => Str
Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be returned.
MaxResults => Int
Maximum results to return in response (default=100, maximum=1000).
NextToken => Str
Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.
SEE ALSO
This class forms part of Paws, documenting arguments for method ListWorkspaces in Paws::Prometheus
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues