pinpointsmsvoicev2 function

Amazon Pinpoint SMS Voice V2

Amazon Pinpoint SMS Voice V2

Welcome to the AWS End User Messaging SMS and Voice, version 2 API Reference. This guide provides information about AWS End User Messaging SMS and Voice, version 2 API resources, including supported HTTP methods, parameters, and schemas.

Amazon Pinpoint is an Amazon Web Services service that you can use to engage with your recipients across multiple messaging channels. The AWS End User Messaging SMS and Voice, version 2 API provides programmatic access to options that are unique to the SMS and voice channels. AWS End User Messaging SMS and Voice, version 2 resources such as phone numbers, sender IDs, and opt-out lists can be used by the Amazon Pinpoint API.

If you're new to AWS End User Messaging SMS and Voice, it's also helpful to review the AWS End User Messaging SMS User Guide. The AWS End User Messaging SMS User Guide provides tutorials, code samples, and procedures that demonstrate how to use AWS End User Messaging SMS and Voice features programmatically and how to integrate functionality into mobile apps and other types of applications. The guide also provides key information, such as AWS End User Messaging SMS and Voice integration with other Amazon Web Services services, and the quotas that apply to use of the service.

Regional availability

The AWS End User Messaging SMS and Voice version 2 API Reference is available in several Amazon Web Services Regions and it provides an endpoint for each of these Regions. For a list of all the Regions and endpoints where the API is currently available, see Amazon Web Services Service Endpoints

and Amazon Pinpoint endpoints and quotas in the Amazon Web Services General Reference. To learn more about Amazon Web Services Regions, see Managing Amazon Web Services Regions

in the Amazon Web Services General Reference.

In each Region, Amazon Web Services maintains multiple Availability Zones. These Availability Zones are physically isolated from each other, but are united by private, low-latency, high-throughput, and highly redundant network connections. These Availability Zones enable us to provide very high levels of availability and redundancy, while also minimizing latency. To learn more about the number of Availability Zones that are available in each Region, see Amazon Web Services Global Infrastructure.

pinpointsmsvoicev2( config = list(), credentials = list(), endpoint = NULL, region = NULL )

Arguments

  • config: Optional configuration of credentials, endpoint, and/or region.

    • credentials :

      • creds :

        • access_key_id : AWS access key ID
        • secret_access_key : AWS secret access key
        • session_token : AWS temporary session token
      • profile : The name of a profile to use. If not given, then the default profile is used.

      • anonymous : Set anonymous credentials.

    • endpoint : The complete URL to use for the constructed client.

    • region : The AWS Region used in instantiating the client.

    • close_connection : Immediately close all HTTP connections.

    • timeout : The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

    • s3_force_path_style : Set this to true to force the request to use path-style addressing, i.e. http://s3.amazonaws.com/BUCKET/KEY.

    • sts_regional_endpoint : Set sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html

  • credentials: Optional credentials shorthand for the config parameter

    • creds :

      • access_key_id : AWS access key ID
      • secret_access_key : AWS secret access key
      • session_token : AWS temporary session token
    • profile : The name of a profile to use. If not given, then the default profile is used.

    • anonymous : Set anonymous credentials.

  • endpoint: Optional shorthand for complete URL to use for the constructed client.

  • region: Optional shorthand for AWS Region used in instantiating the client.

Returns

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Service syntax

svc <- pinpointsmsvoicev2(
  config = list(
    credentials = list(
 creds = list(
   access_key_id = "string",
   secret_access_key = "string",
   session_token = "string"
 ),
 profile = "string",
 anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical",
    sts_regional_endpoint = "string"
  ),
  credentials = list(
    creds = list(
 access_key_id = "string",
 secret_access_key = "string",
 session_token = "string"
    ),
    profile = "string",
    anonymous = "logical"
  ),
  endpoint = "string",
  region = "string"
)

Operations

associate_origination_identityAssociates the specified origination identity with a pool
associate_protect_configurationAssociate a protect configuration with a configuration set
create_configuration_setCreates a new configuration set
create_event_destinationCreates a new event destination in a configuration set
create_opt_out_listCreates a new opt-out list
create_poolCreates a new pool and associates the specified origination identity to the pool
create_protect_configurationCreate a new protect configuration
create_registrationCreates a new registration based on the RegistrationType field
create_registration_associationAssociate the registration with an origination identity such as a phone number or sender ID
create_registration_attachmentCreate a new registration attachment to use for uploading a file or a URL to a file
create_registration_versionCreate a new version of the registration and increase the VersionNumber
create_verified_destination_numberYou can only send messages to verified destination numbers when your account is in the sandbox
delete_account_default_protect_configurationRemoves the current account default protect configuration
delete_configuration_setDeletes an existing configuration set
delete_default_message_typeDeletes an existing default message type on a configuration set
delete_default_sender_idDeletes an existing default sender ID on a configuration set
delete_event_destinationDeletes an existing event destination
delete_keywordDeletes an existing keyword from an origination phone number or pool
delete_media_message_spend_limit_overrideDeletes an account-level monthly spending limit override for sending multimedia messages (MMS)
delete_opted_out_numberDeletes an existing opted out destination phone number from the specified opt-out list
delete_opt_out_listDeletes an existing opt-out list
delete_poolDeletes an existing pool
delete_protect_configurationPermanently delete the protect configuration
delete_protect_configuration_rule_set_number_overridePermanently delete the protect configuration rule set number override
delete_registrationPermanently delete an existing registration from your account
delete_registration_attachmentPermanently delete the specified registration attachment
delete_registration_field_valueDelete the value in a registration form field
delete_resource_policyDeletes the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource
delete_text_message_spend_limit_overrideDeletes an account-level monthly spending limit override for sending text messages
delete_verified_destination_numberDelete a verified destination phone number
delete_voice_message_spend_limit_overrideDeletes an account level monthly spend limit override for sending voice messages
describe_account_attributesDescribes attributes of your Amazon Web Services account
describe_account_limitsDescribes the current AWS End User Messaging SMS and Voice SMS Voice V2 resource quotas for your account
describe_configuration_setsDescribes the specified configuration sets or all in your account
describe_keywordsDescribes the specified keywords or all keywords on your origination phone number or pool
describe_opted_out_numbersDescribes the specified opted out destination numbers or all opted out destination numbers in an opt-out list
describe_opt_out_listsDescribes the specified opt-out list or all opt-out lists in your account
describe_phone_numbersDescribes the specified origination phone number, or all the phone numbers in your account
describe_poolsRetrieves the specified pools or all pools associated with your Amazon Web Services account
describe_protect_configurationsRetrieves the protect configurations that match any of filters
describe_registration_attachmentsRetrieves the specified registration attachments or all registration attachments associated with your Amazon Web Services account
describe_registration_field_definitionsRetrieves the specified registration type field definitions
describe_registration_field_valuesRetrieves the specified registration field values
describe_registrationsRetrieves the specified registrations
describe_registration_section_definitionsRetrieves the specified registration section definitions
describe_registration_type_definitionsRetrieves the specified registration type definitions
describe_registration_versionsRetrieves the specified registration version
describe_sender_idsDescribes the specified SenderIds or all SenderIds associated with your Amazon Web Services account
describe_spend_limitsDescribes the current monthly spend limits for sending voice and text messages
describe_verified_destination_numbersRetrieves the specified verified destination numbers
disassociate_origination_identityRemoves the specified origination identity from an existing pool
disassociate_protect_configurationDisassociate a protect configuration from a configuration set
discard_registration_versionDiscard the current version of the registration
get_protect_configuration_country_rule_setRetrieve the CountryRuleSet for the specified NumberCapability from a protect configuration
get_resource_policyRetrieves the JSON text of the resource-based policy document attached to the AWS End User Messaging SMS and Voice resource
list_pool_origination_identitiesLists all associated origination identities in your pool
list_protect_configuration_rule_set_number_overridesRetrieve all of the protect configuration rule set number overrides that match the filters
list_registration_associationsRetrieve all of the origination identities that are associated with a registration
list_tags_for_resourceList all tags associated with a resource
put_keywordCreates or updates a keyword configuration on an origination phone number or pool
put_message_feedbackSet the MessageFeedbackStatus as RECEIVED or FAILED for the passed in MessageId
put_opted_out_numberCreates an opted out destination phone number in the opt-out list
put_protect_configuration_rule_set_number_overrideCreate or update a RuleSetNumberOverride and associate it with a protect configuration
put_registration_field_valueCreates or updates a field value for a registration
put_resource_policyAttaches a resource-based policy to a AWS End User Messaging SMS and Voice resource(phone number, sender Id, phone poll, or opt-out list) that is used for sharing the resource
release_phone_numberReleases an existing origination phone number in your account
release_sender_idReleases an existing sender ID in your account
request_phone_numberRequest an origination phone number for use in your account
request_sender_idRequest a new sender ID that doesn't require registration
send_destination_number_verification_codeBefore you can send test messages to a verified destination phone number you need to opt-in the verified destination phone number
send_media_messageCreates a new multimedia message (MMS) and sends it to a recipient's phone number
send_text_messageCreates a new text message and sends it to a recipient's phone number
send_voice_messageAllows you to send a request that sends a voice message
set_account_default_protect_configurationSet a protect configuration as your account default
set_default_message_feedback_enabledSets a configuration set's default for message feedback
set_default_message_typeSets the default message type on a configuration set
set_default_sender_idSets default sender ID on a configuration set
set_media_message_spend_limit_overrideSets an account level monthly spend limit override for sending MMS messages
set_text_message_spend_limit_overrideSets an account level monthly spend limit override for sending text messages
set_voice_message_spend_limit_overrideSets an account level monthly spend limit override for sending voice messages
submit_registration_versionSubmit the specified registration for review and approval
tag_resourceAdds or overwrites only the specified tags for the specified resource
untag_resourceRemoves the association of the specified tags from a resource
update_event_destinationUpdates an existing event destination in a configuration set
update_phone_numberUpdates the configuration of an existing origination phone number
update_poolUpdates the configuration of an existing pool
update_protect_configurationUpdate the setting for an existing protect configuration
update_protect_configuration_country_rule_setUpdate a country rule set to ALLOW or BLOCK messages to be sent to the specified destination counties
update_sender_idUpdates the configuration of an existing sender ID
verify_destination_numberUse the verification code that was received by the verified destination phone number to opt-in the verified destination phone number to receive more messages

Examples

## Not run: svc <- pinpointsmsvoicev2() svc$associate_origination_identity( Foo = 123 ) ## End(Not run)
  • Maintainer: Dyfan Jones
  • License: Apache License (>= 2.0)
  • Last published: 2025-03-17