View source: R/sns_operations.R
sns_subscribe | R Documentation |
Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same Amazon Web Services account, the endpoint owner must run the confirm_subscription
action to confirm the subscription.
See https://www.paws-r-sdk.com/docs/sns_subscribe/ for full documentation.
sns_subscribe(
TopicArn,
Protocol,
Endpoint = NULL,
Attributes = NULL,
ReturnSubscriptionArn = NULL
)
TopicArn |
[required] The ARN of the topic you want to subscribe to. |
Protocol |
[required] The protocol that you want to use. Supported protocols include:
|
Endpoint |
The endpoint that you want to receive notifications. Endpoints vary by protocol:
|
Attributes |
A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special
request parameters that the
The following attribute applies only to Amazon Data Firehose delivery stream subscriptions:
The following attributes apply only to FIFO topics:
|
ReturnSubscriptionArn |
Sets whether the response from the If you set this parameter to The default value is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.