Module: Aws::SNS
- Defined in:
- lib/aws-sdk-sns/endpoint_provider.rb,
lib/aws-sdk-sns/customizations.rb,
lib/aws-sdk-sns/message_verifier.rb,
lib/aws-sdk-sns/platform_endpoint.rb,
lib/aws-sdk-sns/plugins/endpoints.rb,
lib/aws-sdk-sns/endpoint_parameters.rb,
lib/aws-sdk-sns/platform_application.rb,
lib/aws-sdk-sns/subscription.rb,
lib/aws-sdk-sns/client_api.rb,
lib/aws-sdk-sns/endpoints.rb,
lib/aws-sdk-sns/resource.rb,
lib/aws-sdk-sns/errors.rb,
lib/aws-sdk-sns/client.rb,
lib/aws-sdk-sns/types.rb,
lib/aws-sdk-sns/topic.rb,
lib/aws-sdk-sns.rb
Overview
This module provides support for Amazon Simple Notification Service. This module is available in the ‘aws-sdk-sns` 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.
sns = Aws::SNS::Client.new
resp = sns.(params)
See Client for more information.
# Errors
Errors returned from Amazon Simple Notification Service are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::SNS::Errors::ServiceError
# rescues all Amazon Simple Notification Service API errors
end
See Errors for more information.
Defined Under Namespace
Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, MessageVerifier, PlatformApplication, PlatformEndpoint, Resource, Subscription, Topic
service collapse
- GEM_VERSION =
'1.91.0'