Module: Aws::SQS

Defined in:
lib/aws-sdk-sqs/endpoint_provider.rb,
lib/aws-sdk-sqs/plugins/md5s.rb,
lib/aws-sdk-sqs/queue_poller.rb,
lib/aws-sdk-sqs/customizations.rb,
lib/aws-sdk-sqs/plugins/endpoints.rb,
lib/aws-sdk-sqs/plugins/queue_urls.rb,
lib/aws-sdk-sqs/endpoint_parameters.rb,
lib/aws-sdk-sqs/client_api.rb,
lib/aws-sdk-sqs/endpoints.rb,
lib/aws-sdk-sqs/resource.rb,
lib/aws-sdk-sqs/message.rb,
lib/aws-sdk-sqs/errors.rb,
lib/aws-sdk-sqs/client.rb,
lib/aws-sdk-sqs/types.rb,
lib/aws-sdk-sqs/queue.rb,
lib/aws-sdk-sqs.rb

Overview

This module provides support for Amazon Simple Queue Service. This module is available in the ‘aws-sdk-sqs` 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.

sqs = Aws::SQS::Client.new
resp = sqs.add_permission(params)

See Client for more information.

# Errors

Errors returned from Amazon Simple Queue Service are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::SQS::Errors::ServiceError
  # rescues all Amazon Simple Queue Service API errors
end

See Errors for more information.

Defined Under Namespace

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

service collapse

GEM_VERSION =
'1.86.0'