You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::PinpointSMSVoice

Defined in:
(unknown)

Overview

This module provides a client for making API requests to Amazon Pinpoint SMS and Voice Service.

Aws::PinpointSMSVoice::Client

The Client class provides one-to-one mapping for each API operation.

pinpointsmsvoice = Aws::PinpointSMSVoice::Client.new(region: 'us-east-1')
pinpointsmsvoice.operation_names
#=> [:create_configuration_set, :create_configuration_set_event_destination, :delete_configuration_set, :delete_configuration_set_event_destination, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = pinpointsmsvoice.create_configuration_set(params)

See Client for more information.

Aws::PinpointSMSVoice::Errors

Errors returned from Amazon Pinpoint SMS and Voice Service are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::PinpointSMSVoice::Errors::ServiceError
  # rescues all errors returned by Amazon Pinpoint SMS and Voice Service
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client