NAME
Paws::Lightsail::GetAlarms - Arguments for method GetAlarms on Paws::Lightsail
DESCRIPTION
This class represents the parameters used for calling the method GetAlarms on the Amazon Lightsail service. Use the attributes of this class as arguments to method GetAlarms.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetAlarms.
SYNOPSIS
my $lightsail = Paws->service('Lightsail');
my $GetAlarmsResult = $lightsail->GetAlarms(
AlarmName => 'MyResourceName', # OPTIONAL
MonitoredResourceName => 'MyResourceName', # OPTIONAL
PageToken => 'Mystring', # OPTIONAL
);
# Results:
my $Alarms = $GetAlarmsResult->Alarms;
my $NextPageToken = $GetAlarmsResult->NextPageToken;
# Returns a L<Paws::Lightsail::GetAlarmsResult> 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/lightsail/GetAlarms
ATTRIBUTES
AlarmName => Str
The name of the alarm.
Specify an alarm name to return information about a specific alarm.
MonitoredResourceName => Str
The name of the Lightsail resource being monitored by the alarm.
Specify a monitored resource name to return information about all alarms for a specific resource.
PageToken => Str
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetAlarms
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
SEE ALSO
This class forms part of Paws, documenting arguments for method GetAlarms in Paws::Lightsail
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