Class: Aws::Lightsail::Types::GetAlarmsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lightsail/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_nameString

The name of the alarm.

Specify an alarm name to return information about a specific alarm.

Returns:

  • (String)


6433
6434
6435
6436
6437
6438
6439
# File 'lib/aws-sdk-lightsail/types.rb', line 6433

class GetAlarmsRequest < Struct.new(
  :alarm_name,
  :page_token,
  :monitored_resource_name)
  SENSITIVE = []
  include Aws::Structure
end

#monitored_resource_nameString

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.

Returns:

  • (String)


6433
6434
6435
6436
6437
6438
6439
# File 'lib/aws-sdk-lightsail/types.rb', line 6433

class GetAlarmsRequest < Struct.new(
  :alarm_name,
  :page_token,
  :monitored_resource_name)
  SENSITIVE = []
  include Aws::Structure
end

#page_tokenString

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.

Returns:

  • (String)


6433
6434
6435
6436
6437
6438
6439
# File 'lib/aws-sdk-lightsail/types.rb', line 6433

class GetAlarmsRequest < Struct.new(
  :alarm_name,
  :page_token,
  :monitored_resource_name)
  SENSITIVE = []
  include Aws::Structure
end