NAME

Paws::Prometheus - Perl Interface to AWS Amazon Prometheus Service

SYNOPSIS

use Paws;

my $obj = Paws->service('Prometheus');
my $res = $obj->Method(
  Arg1 => $val1,
  Arg2 => [ 'V1', 'V2' ],
  # if Arg3 is an object, the HashRef will be used as arguments to the constructor
  # of the arguments type
  Arg3 => { Att1 => 'Val1' },
  # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
  # the constructor of the arguments type
  Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
);

DESCRIPTION

Amazon Managed Service for Prometheus

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/aps-2020-08-01

METHODS

CreateWorkspace

[Alias => Str]
[ClientToken => Str]

Each argument is described in detail in: Paws::Prometheus::CreateWorkspace

Returns: a Paws::Prometheus::CreateWorkspaceResponse instance

Creates a new AMP workspace.

DeleteWorkspace

WorkspaceId => Str
[ClientToken => Str]

Each argument is described in detail in: Paws::Prometheus::DeleteWorkspace

Returns: nothing

Deletes an AMP workspace.

DescribeWorkspace

WorkspaceId => Str

Each argument is described in detail in: Paws::Prometheus::DescribeWorkspace

Returns: a Paws::Prometheus::DescribeWorkspaceResponse instance

Describes an existing AMP workspace.

ListWorkspaces

[Alias => Str]
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::Prometheus::ListWorkspaces

Returns: a Paws::Prometheus::ListWorkspacesResponse instance

Lists all AMP workspaces, including workspaces being created or deleted.

UpdateWorkspaceAlias

WorkspaceId => Str
[Alias => Str]
[ClientToken => Str]

Each argument is described in detail in: Paws::Prometheus::UpdateWorkspaceAlias

Returns: nothing

Updates an AMP workspace alias.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

ListAllWorkspaces(sub { },[Alias => Str, MaxResults => Int, NextToken => Str])

ListAllWorkspaces([Alias => Str, MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- workspaces, passing the object as the first parameter, and the string 'workspaces' as the second parameter 

If not, it will return a a Paws::Prometheus::ListWorkspacesResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

SEE ALSO

This service class forms part of Paws

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