| Package | Description |
|---|---|
| software.amazon.awssdk.services.sns |
|
| software.amazon.awssdk.services.sns.model |
| Modifier and Type | Method and Description |
|---|---|
default AddPermissionResponse |
SNSClient.addPermission(AddPermissionRequest addPermissionRequest)
Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the
specified actions.
|
default CheckIfPhoneNumberIsOptedOutResponse |
SNSClient.checkIfPhoneNumberIsOptedOut(CheckIfPhoneNumberIsOptedOutRequest checkIfPhoneNumberIsOptedOutRequest)
Accepts a phone number and indicates whether the phone holder has opted out of receiving SMS messages from your
account.
|
default ConfirmSubscriptionResponse |
SNSClient.confirmSubscription(ConfirmSubscriptionRequest confirmSubscriptionRequest)
Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an
earlier
Subscribe action. |
default CreatePlatformApplicationResponse |
SNSClient.createPlatformApplication(CreatePlatformApplicationRequest createPlatformApplicationRequest)
Creates a platform application object for one of the supported push notification services, such as APNS and GCM,
to which devices and mobile apps may register.
|
default CreatePlatformEndpointResponse |
SNSClient.createPlatformEndpoint(CreatePlatformEndpointRequest createPlatformEndpointRequest)
Creates an endpoint for a device and mobile app on one of the supported push notification services, such as GCM
and APNS.
|
default CreateTopicResponse |
SNSClient.createTopic(CreateTopicRequest createTopicRequest)
Creates a topic to which notifications can be published.
|
default DeleteEndpointResponse |
SNSClient.deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest)
Deletes the endpoint for a device and mobile app from Amazon SNS.
|
default DeletePlatformApplicationResponse |
SNSClient.deletePlatformApplication(DeletePlatformApplicationRequest deletePlatformApplicationRequest)
Deletes a platform application object for one of the supported push notification services, such as APNS and GCM.
|
default DeleteTopicResponse |
SNSClient.deleteTopic(DeleteTopicRequest deleteTopicRequest)
Deletes a topic and all its subscriptions.
|
default GetEndpointAttributesResponse |
SNSClient.getEndpointAttributes(GetEndpointAttributesRequest getEndpointAttributesRequest)
Retrieves the endpoint attributes for a device on one of the supported push notification services, such as GCM
and APNS.
|
default GetPlatformApplicationAttributesResponse |
SNSClient.getPlatformApplicationAttributes(GetPlatformApplicationAttributesRequest getPlatformApplicationAttributesRequest)
Retrieves the attributes of the platform application object for the supported push notification services, such as
APNS and GCM.
|
default GetSMSAttributesResponse |
SNSClient.getSMSAttributes()
Returns the settings for sending SMS messages from your account.
|
default GetSMSAttributesResponse |
SNSClient.getSMSAttributes(GetSMSAttributesRequest getSMSAttributesRequest)
Returns the settings for sending SMS messages from your account.
|
default GetSubscriptionAttributesResponse |
SNSClient.getSubscriptionAttributes(GetSubscriptionAttributesRequest getSubscriptionAttributesRequest)
Returns all of the properties of a subscription.
|
default GetTopicAttributesResponse |
SNSClient.getTopicAttributes(GetTopicAttributesRequest getTopicAttributesRequest)
Returns all of the properties of a topic.
|
default ListEndpointsByPlatformApplicationResponse |
SNSClient.listEndpointsByPlatformApplication(ListEndpointsByPlatformApplicationRequest listEndpointsByPlatformApplicationRequest)
Lists the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM and
APNS.
|
default ListPhoneNumbersOptedOutResponse |
SNSClient.listPhoneNumbersOptedOut()
Returns a list of phone numbers that are opted out, meaning you cannot send SMS messages to them.
|
default ListPhoneNumbersOptedOutResponse |
SNSClient.listPhoneNumbersOptedOut(ListPhoneNumbersOptedOutRequest listPhoneNumbersOptedOutRequest)
Returns a list of phone numbers that are opted out, meaning you cannot send SMS messages to them.
|
default ListPlatformApplicationsResponse |
SNSClient.listPlatformApplications()
Lists the platform application objects for the supported push notification services, such as APNS and GCM.
|
default ListPlatformApplicationsResponse |
SNSClient.listPlatformApplications(ListPlatformApplicationsRequest listPlatformApplicationsRequest)
Lists the platform application objects for the supported push notification services, such as APNS and GCM.
|
default ListSubscriptionsResponse |
SNSClient.listSubscriptions()
Returns a list of the requester's subscriptions.
|
default ListSubscriptionsResponse |
SNSClient.listSubscriptions(ListSubscriptionsRequest listSubscriptionsRequest)
Returns a list of the requester's subscriptions.
|
default ListSubscriptionsByTopicResponse |
SNSClient.listSubscriptionsByTopic(ListSubscriptionsByTopicRequest listSubscriptionsByTopicRequest)
Returns a list of the subscriptions to a specific topic.
|
default ListTopicsResponse |
SNSClient.listTopics()
Returns a list of the requester's topics.
|
default ListTopicsResponse |
SNSClient.listTopics(ListTopicsRequest listTopicsRequest)
Returns a list of the requester's topics.
|
default OptInPhoneNumberResponse |
SNSClient.optInPhoneNumber(OptInPhoneNumberRequest optInPhoneNumberRequest)
Use this request to opt in a phone number that is opted out, which enables you to resume sending SMS messages to
the number.
|
default PublishResponse |
SNSClient.publish(PublishRequest publishRequest)
Sends a message to all of a topic's subscribed endpoints.
|
default RemovePermissionResponse |
SNSClient.removePermission(RemovePermissionRequest removePermissionRequest)
Removes a statement from a topic's access control policy.
|
default SetEndpointAttributesResponse |
SNSClient.setEndpointAttributes(SetEndpointAttributesRequest setEndpointAttributesRequest)
Sets the attributes for an endpoint for a device on one of the supported push notification services, such as GCM
and APNS.
|
default SetPlatformApplicationAttributesResponse |
SNSClient.setPlatformApplicationAttributes(SetPlatformApplicationAttributesRequest setPlatformApplicationAttributesRequest)
Sets the attributes of the platform application object for the supported push notification services, such as APNS
and GCM.
|
default SetSMSAttributesResponse |
SNSClient.setSMSAttributes(SetSMSAttributesRequest setSMSAttributesRequest)
Use this request to set the default settings for sending SMS messages and receiving daily SMS usage reports.
|
default SetSubscriptionAttributesResponse |
SNSClient.setSubscriptionAttributes(SetSubscriptionAttributesRequest setSubscriptionAttributesRequest)
Allows a subscription owner to set an attribute of the topic to a new value.
|
default SetTopicAttributesResponse |
SNSClient.setTopicAttributes(SetTopicAttributesRequest setTopicAttributesRequest)
Allows a topic owner to set an attribute of the topic to a new value.
|
default SubscribeResponse |
SNSClient.subscribe(SubscribeRequest subscribeRequest)
Prepares to subscribe an endpoint by sending the endpoint a confirmation message.
|
default UnsubscribeResponse |
SNSClient.unsubscribe(UnsubscribeRequest unsubscribeRequest)
Deletes a subscription.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuthorizationErrorException
Indicates that the user has been denied access to the requested resource.
|
class |
EndpointDisabledException
Exception error indicating endpoint disabled.
|
class |
InternalErrorException
Indicates an internal service error.
|
class |
InvalidParameterException
Indicates that a request parameter does not comply with the associated constraints.
|
class |
InvalidParameterValueException
Indicates that a request parameter does not comply with the associated constraints.
|
class |
NotFoundException
Indicates that the requested resource does not exist.
|
class |
PlatformApplicationDisabledException
Exception error indicating platform application disabled.
|
class |
SubscriptionLimitExceededException
Indicates that the customer already owns the maximum allowed number of subscriptions.
|
class |
ThrottledException
Indicates that the rate at which requests have been submitted for this action exceeds the limit for your account.
|
class |
TopicLimitExceededException
Indicates that the customer already owns the maximum allowed number of topics.
|
Copyright © 2017. All rights reserved.