PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::Prometheus; use Moose; sub service { 'aps' } sub signing_name { 'aps' } sub version { '2020-08-01' } sub flattened_arrays { 0 } has max_attempts => (is => 'ro', isa => 'Int', default => 5); has retry => (is => 'ro', isa => 'HashRef', default => sub { { base => 'rand', type => 'exponential', growth_factor => 2 } }); has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ ] }); with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; sub CreateWorkspace { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Prometheus::CreateWorkspace', @_); return $self->caller->do_call($self, $call_object); } sub DeleteWorkspace { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Prometheus::DeleteWorkspace', @_); return $self->caller->do_call($self, $call_object); } sub DescribeWorkspace { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Prometheus::DescribeWorkspace', @_); return $self->caller->do_call($self, $call_object); } sub ListWorkspaces { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Prometheus::ListWorkspaces', @_); return $self->caller->do_call($self, $call_object); } sub UpdateWorkspaceAlias { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Prometheus::UpdateWorkspaceAlias', @_); return $self->caller->do_call($self, $call_object); } sub ListAllWorkspaces { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->ListWorkspaces(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->ListWorkspaces(@_, nextToken => $next_result->nextToken); push @{ $result->workspaces }, @{ $next_result->workspaces }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'workspaces') foreach (@{ $result->workspaces }); $result = $self->ListWorkspaces(@_, nextToken => $result->nextToken); } $callback->($_ => 'workspaces') foreach (@{ $result->workspaces }); } return undef } sub operations { qw/CreateWorkspace DeleteWorkspace DescribeWorkspace ListWorkspaces UpdateWorkspaceAlias / } 1; ### main pod documentation begin ### =head1 NAME Paws::Prometheus - Perl Interface to AWS Amazon Prometheus Service =head1 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' } ], ); =head1 DESCRIPTION Amazon Managed Service for Prometheus For the AWS API documentation, see L =head1 METHODS =head2 CreateWorkspace =over =item [Alias => Str] =item [ClientToken => Str] =back Each argument is described in detail in: L Returns: a L instance Creates a new AMP workspace. =head2 DeleteWorkspace =over =item WorkspaceId => Str =item [ClientToken => Str] =back Each argument is described in detail in: L Returns: nothing Deletes an AMP workspace. =head2 DescribeWorkspace =over =item WorkspaceId => Str =back Each argument is described in detail in: L Returns: a L instance Describes an existing AMP workspace. =head2 ListWorkspaces =over =item [Alias => Str] =item [MaxResults => Int] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Lists all AMP workspaces, including workspaces being created or deleted. =head2 UpdateWorkspaceAlias =over =item WorkspaceId => Str =item [Alias => Str] =item [ClientToken => Str] =back Each argument is described in detail in: L Returns: nothing Updates an AMP workspace alias. =head1 PAGINATORS Paginator methods are helpers that repetively call methods that return partial results =head2 ListAllWorkspaces(sub { },[Alias => Str, MaxResults => Int, NextToken => Str]) =head2 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 L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head1 SEE ALSO This service class forms part of L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut