Module: Aws::Health

Defined in:
lib/aws-sdk-health/endpoint_parameters.rb,
lib/aws-sdk-health/plugins/endpoints.rb,
lib/aws-sdk-health/endpoint_provider.rb,
lib/aws-sdk-health/client_api.rb,
lib/aws-sdk-health/endpoints.rb,
lib/aws-sdk-health/resource.rb,
lib/aws-sdk-health/errors.rb,
lib/aws-sdk-health/client.rb,
lib/aws-sdk-health/types.rb,
lib/aws-sdk-health.rb

Overview

This module provides support for AWS Health APIs and Notifications. This module is available in the ‘aws-sdk-health` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

health = Aws::Health::Client.new
resp = health.describe_affected_accounts_for_organization(params)

See Client for more information.

# Errors

Errors returned from AWS Health APIs and Notifications are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Health::Errors::ServiceError
  # rescues all AWS Health APIs and Notifications API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.74.0'