libZSservicesZSamazonka-snsZSamazonka-sns
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SNS

Contents

Description

Derived from API version 2010-03-31 of the AWS service descriptions, licensed under Apache 2.0.

Amazon Simple Notification Service

Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. Applications can use Amazon SNS to easily push real-time notification messages to interested subscribers over multiple delivery protocols. For more information about this product see the Amazon SNS product page. For detailed information about Amazon SNS features and their associated API calls, see the Amazon SNS Developer Guide.

For information on the permissions you need to use this API, see Identity and access management in Amazon SNS in the Amazon SNS Developer Guide.

We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, retrying requests, and handling error responses. For a list of available SDKs, go to Tools for Amazon Web Services.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2010-03-31 of the Amazon Simple Notification Service SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by SNS.

KMSInvalidStateException

_KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the state of the specified resource isn't valid for this request. For more information, see How Key State Affects Use of a Customer Master Key in the Key Management Service Developer Guide.

EndpointDisabledException

_EndpointDisabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Exception error indicating endpoint disabled.

ValidationException

_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that a parameter in the request is invalid.

AuthorizationErrorException

_AuthorizationErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the user has been denied access to the requested resource.

KMSThrottlingException

_KMSThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was denied due to request throttling. For more information about throttling, see Limits in the Key Management Service Developer Guide.

InvalidParameterException

_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that a request parameter does not comply with the associated constraints.

SubscriptionLimitExceededException

_SubscriptionLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the customer already owns the maximum allowed number of subscriptions.

PlatformApplicationDisabledException

_PlatformApplicationDisabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Exception error indicating platform application disabled.

KMSOptInRequired

_KMSOptInRequired :: AsError a => Getting (First ServiceError) a ServiceError Source #

The Amazon Web Services access key ID needs a subscription for the service.

InternalErrorException

_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates an internal service error.

ThrottledException

_ThrottledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the rate at which requests have been submitted for this action exceeds the limit for your account.

KMSNotFoundException

_KMSNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the specified entity or resource can't be found.

InvalidParameterValueException

_InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that a request parameter does not comply with the associated constraints.

NotFoundException

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the requested resource does not exist.

StaleTagException

_StaleTagException :: AsError a => Getting (First ServiceError) a ServiceError Source #

A tag has been added to a resource with the same ARN as a deleted resource. Wait a short while and then retry the operation.

KMSDisabledException

_KMSDisabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the specified customer master key (CMK) isn't enabled.

TagPolicyException

_TagPolicyException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request doesn't comply with the IAM tag policy. Correct your request and then retry it.

InvalidSecurityException

_InvalidSecurityException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The credential signature isn't valid. You must use an HTTPS endpoint and sign your request using Signature Version 4.

TopicLimitExceededException

_TopicLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the customer already owns the maximum allowed number of topics.

ConcurrentAccessException

_ConcurrentAccessException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Can't perform multiple operations on a tag simultaneously. Perform the operations sequentially.

OptedOutException

_OptedOutException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the specified phone number opted out of receiving SMS messages from your account. You can't send SMS messages to phone numbers that opt out.

TagLimitExceededException

_TagLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Can't add more than 50 tags to a topic.

UserErrorException

_UserErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that a request parameter does not comply with the associated constraints.

VerificationException

_VerificationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the one-time password (OTP) used for verification is invalid.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Can’t perform the action on the specified resource. Make sure that the resource exists.

FilterPolicyLimitExceededException

_FilterPolicyLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the number of filter polices in your account exceeds the limit. To add more filter polices, submit an SNS Limit Increase case in the Amazon Web Services Support Center.

KMSAccessDeniedException

_KMSAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The ciphertext references a key that doesn't exist or that you don't have access to.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

ListPhoneNumbersOptedOut (Paginated)

data ListPhoneNumbersOptedOut Source #

The input for the ListPhoneNumbersOptedOut action.

See: newListPhoneNumbersOptedOut smart constructor.

Instances

Instances details
Eq ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

Read ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

Show ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

Generic ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

Associated Types

type Rep ListPhoneNumbersOptedOut :: Type -> Type #

NFData ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

Hashable ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

AWSPager ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

AWSRequest ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

ToHeaders ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

ToPath ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

ToQuery ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

type Rep ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

type Rep ListPhoneNumbersOptedOut = D1 ('MetaData "ListPhoneNumbersOptedOut" "Amazonka.SNS.ListPhoneNumbersOptedOut" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListPhoneNumbersOptedOut'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListPhoneNumbersOptedOut Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

newListPhoneNumbersOptedOut :: ListPhoneNumbersOptedOut Source #

Create a value of ListPhoneNumbersOptedOut with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListPhoneNumbersOptedOut', listPhoneNumbersOptedOut_nextToken - A NextToken string is used when you call the ListPhoneNumbersOptedOut action to retrieve additional records that are available after the first page of results.

data ListPhoneNumbersOptedOutResponse Source #

The response from the ListPhoneNumbersOptedOut action.

See: newListPhoneNumbersOptedOutResponse smart constructor.

Instances

Instances details
Eq ListPhoneNumbersOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

Read ListPhoneNumbersOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

Show ListPhoneNumbersOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

Generic ListPhoneNumbersOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

Associated Types

type Rep ListPhoneNumbersOptedOutResponse :: Type -> Type #

NFData ListPhoneNumbersOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

type Rep ListPhoneNumbersOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPhoneNumbersOptedOut

type Rep ListPhoneNumbersOptedOutResponse = D1 ('MetaData "ListPhoneNumbersOptedOutResponse" "Amazonka.SNS.ListPhoneNumbersOptedOut" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListPhoneNumbersOptedOutResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPhoneNumbersOptedOutResponse Source #

Create a value of ListPhoneNumbersOptedOutResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:phoneNumbers:ListPhoneNumbersOptedOutResponse', listPhoneNumbersOptedOutResponse_phoneNumbers - A list of phone numbers that are opted out of receiving SMS messages. The list is paginated, and each page can contain up to 100 phone numbers.

$sel:nextToken:ListPhoneNumbersOptedOut', listPhoneNumbersOptedOutResponse_nextToken - A NextToken string is returned when you call the ListPhoneNumbersOptedOut action if additional records are available after the first page of results.

$sel:httpStatus:ListPhoneNumbersOptedOutResponse', listPhoneNumbersOptedOutResponse_httpStatus - The response's http status code.

DeleteEndpoint

data DeleteEndpoint Source #

Input for DeleteEndpoint action.

See: newDeleteEndpoint smart constructor.

Constructors

DeleteEndpoint' Text 

Instances

Instances details
Eq DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Read DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Show DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Generic DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Associated Types

type Rep DeleteEndpoint :: Type -> Type #

NFData DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Methods

rnf :: DeleteEndpoint -> () #

Hashable DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

AWSRequest DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Associated Types

type AWSResponse DeleteEndpoint #

ToHeaders DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

ToPath DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

ToQuery DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

type Rep DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

type Rep DeleteEndpoint = D1 ('MetaData "DeleteEndpoint" "Amazonka.SNS.DeleteEndpoint" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "DeleteEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

newDeleteEndpoint Source #

Create a value of DeleteEndpoint with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:endpointArn:DeleteEndpoint', deleteEndpoint_endpointArn - EndpointArn of endpoint to delete.

data DeleteEndpointResponse Source #

See: newDeleteEndpointResponse smart constructor.

Instances

Instances details
Eq DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Read DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Show DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Generic DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Associated Types

type Rep DeleteEndpointResponse :: Type -> Type #

NFData DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Methods

rnf :: DeleteEndpointResponse -> () #

type Rep DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

type Rep DeleteEndpointResponse = D1 ('MetaData "DeleteEndpointResponse" "Amazonka.SNS.DeleteEndpoint" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "DeleteEndpointResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteEndpointResponse :: DeleteEndpointResponse Source #

Create a value of DeleteEndpointResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

ListTagsForResource

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Instances

Instances details
Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.SNS.ListTagsForResource" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

newListTagsForResource Source #

Create a value of ListTagsForResource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceArn:ListTagsForResource', listTagsForResource_resourceArn - The ARN of the topic for which to list tags.

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Instances

Instances details
Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.SNS.ListTagsForResource" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newListTagsForResourceResponse Source #

Create a value of ListTagsForResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - The tags associated with the specified topic.

$sel:httpStatus:ListTagsForResourceResponse', listTagsForResourceResponse_httpStatus - The response's http status code.

RemovePermission

data RemovePermission Source #

Input for RemovePermission action.

See: newRemovePermission smart constructor.

Instances

Instances details
Eq RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Read RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Show RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Generic RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Associated Types

type Rep RemovePermission :: Type -> Type #

NFData RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Methods

rnf :: RemovePermission -> () #

Hashable RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

AWSRequest RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Associated Types

type AWSResponse RemovePermission #

ToHeaders RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

ToPath RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

ToQuery RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

type Rep RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

type Rep RemovePermission = D1 ('MetaData "RemovePermission" "Amazonka.SNS.RemovePermission" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "RemovePermission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

newRemovePermission Source #

Create a value of RemovePermission with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:topicArn:RemovePermission', removePermission_topicArn - The ARN of the topic whose access control policy you wish to modify.

$sel:label:RemovePermission', removePermission_label - The unique label of the statement you want to remove.

data RemovePermissionResponse Source #

See: newRemovePermissionResponse smart constructor.

Instances

Instances details
Eq RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Read RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Show RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Generic RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Associated Types

type Rep RemovePermissionResponse :: Type -> Type #

NFData RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

type Rep RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

type Rep RemovePermissionResponse = D1 ('MetaData "RemovePermissionResponse" "Amazonka.SNS.RemovePermission" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "RemovePermissionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRemovePermissionResponse :: RemovePermissionResponse Source #

Create a value of RemovePermissionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

DeleteTopic

data DeleteTopic Source #

See: newDeleteTopic smart constructor.

Constructors

DeleteTopic' Text 

Instances

Instances details
Eq DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Read DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Show DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Generic DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Associated Types

type Rep DeleteTopic :: Type -> Type #

NFData DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Methods

rnf :: DeleteTopic -> () #

Hashable DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

AWSRequest DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Associated Types

type AWSResponse DeleteTopic #

ToHeaders DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

Methods

toHeaders :: DeleteTopic -> [Header] #

ToPath DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

ToQuery DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

type Rep DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

type Rep DeleteTopic = D1 ('MetaData "DeleteTopic" "Amazonka.SNS.DeleteTopic" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "DeleteTopic'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteTopic Source # 
Instance details

Defined in Amazonka.SNS.DeleteTopic

newDeleteTopic Source #

Create a value of DeleteTopic with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:topicArn:DeleteTopic', deleteTopic_topicArn - The ARN of the topic you want to delete.

data DeleteTopicResponse Source #

See: newDeleteTopicResponse smart constructor.

Constructors

DeleteTopicResponse' 

newDeleteTopicResponse :: DeleteTopicResponse Source #

Create a value of DeleteTopicResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

SetSMSAttributes

data SetSMSAttributes Source #

The input for the SetSMSAttributes action.

See: newSetSMSAttributes smart constructor.

Instances

Instances details
Eq SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

Read SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

Show SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

Generic SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

Associated Types

type Rep SetSMSAttributes :: Type -> Type #

NFData SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

Methods

rnf :: SetSMSAttributes -> () #

Hashable SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

AWSRequest SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

Associated Types

type AWSResponse SetSMSAttributes #

ToHeaders SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

ToPath SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

ToQuery SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

type Rep SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

type Rep SetSMSAttributes = D1 ('MetaData "SetSMSAttributes" "Amazonka.SNS.SetSMSAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SetSMSAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))
type AWSResponse SetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

newSetSMSAttributes :: SetSMSAttributes Source #

Create a value of SetSMSAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:SetSMSAttributes', setSMSAttributes_attributes - The default settings for sending SMS messages from your account. You can set values for the following attribute names:

MonthlySpendLimit – The maximum amount in USD that you are willing to spend each month to send SMS messages. When Amazon SNS determines that sending an SMS message would incur a cost that exceeds this limit, it stops sending SMS messages within minutes.

Amazon SNS stops sending SMS messages within minutes of the limit being crossed. During that interval, if you continue to send SMS messages, you will incur costs that exceed your limit.

By default, the spend limit is set to the maximum allowed by Amazon SNS. If you want to raise the limit, submit an SNS Limit Increase case. For New limit value, enter your desired monthly spend limit. In the Use Case Description field, explain that you are requesting an SMS monthly spend limit increase.

DeliveryStatusIAMRole – The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in CloudWatch Logs. For each SMS message that you send, Amazon SNS writes a log that includes the message price, the success or failure status, the reason for failure (if the message failed), the message dwell time, and other information.

DeliveryStatusSuccessSamplingRate – The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value can be an integer from 0 - 100. For example, to write logs only for failed deliveries, set this value to 0. To write logs for 10% of your successful deliveries, set it to 10.

DefaultSenderID – A string, such as your business brand, that is displayed as the sender on the receiving device. Support for sender IDs varies by country. The sender ID can be 1 - 11 alphanumeric characters, and it must contain at least one letter.

DefaultSMSType – The type of SMS message that you will send by default. You can assign the following values:

  • Promotional – (Default) Noncritical messages, such as marketing messages. Amazon SNS optimizes the message delivery to incur the lowest cost.
  • Transactional – Critical messages that support customer transactions, such as one-time passcodes for multi-factor authentication. Amazon SNS optimizes the message delivery to achieve the highest reliability.

UsageReportS3Bucket – The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS. Each day, Amazon SNS will deliver a usage report as a CSV file to the bucket. The report includes the following information for each SMS message that was successfully delivered by your account:

  • Time that the message was published (in UTC)
  • Message ID
  • Destination phone number
  • Message type
  • Delivery status
  • Message price (in USD)
  • Part number (a message is split into multiple parts if it is too long for a single message)
  • Total number of parts

To receive the report, the bucket must have a policy that allows the Amazon SNS service principal to perform the s3:PutObject and s3:GetBucketLocation actions.

For an example bucket policy and usage report, see Monitoring SMS Activity in the Amazon SNS Developer Guide.

data SetSMSAttributesResponse Source #

The response for the SetSMSAttributes action.

See: newSetSMSAttributesResponse smart constructor.

Instances

Instances details
Eq SetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

Read SetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

Show SetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

Generic SetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

Associated Types

type Rep SetSMSAttributesResponse :: Type -> Type #

NFData SetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

type Rep SetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSMSAttributes

type Rep SetSMSAttributesResponse = D1 ('MetaData "SetSMSAttributesResponse" "Amazonka.SNS.SetSMSAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SetSMSAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSetSMSAttributesResponse Source #

Create a value of SetSMSAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:SetSMSAttributesResponse', setSMSAttributesResponse_httpStatus - The response's http status code.

ListTopics (Paginated)

data ListTopics Source #

See: newListTopics smart constructor.

Constructors

ListTopics' (Maybe Text) 

Instances

Instances details
Eq ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Read ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Show ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Generic ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Associated Types

type Rep ListTopics :: Type -> Type #

NFData ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Methods

rnf :: ListTopics -> () #

Hashable ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

AWSPager ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

AWSRequest ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Associated Types

type AWSResponse ListTopics #

ToHeaders ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Methods

toHeaders :: ListTopics -> [Header] #

ToPath ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

ToQuery ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

type Rep ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

type Rep ListTopics = D1 ('MetaData "ListTopics" "Amazonka.SNS.ListTopics" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListTopics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListTopics Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

newListTopics :: ListTopics Source #

Create a value of ListTopics with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListTopics', listTopics_nextToken - Token returned by the previous ListTopics request.

data ListTopicsResponse Source #

Response for ListTopics action.

See: newListTopicsResponse smart constructor.

Instances

Instances details
Eq ListTopicsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Read ListTopicsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Show ListTopicsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Generic ListTopicsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Associated Types

type Rep ListTopicsResponse :: Type -> Type #

NFData ListTopicsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

Methods

rnf :: ListTopicsResponse -> () #

type Rep ListTopicsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListTopics

type Rep ListTopicsResponse = D1 ('MetaData "ListTopicsResponse" "Amazonka.SNS.ListTopics" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListTopicsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Topic])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTopicsResponse Source #

Create a value of ListTopicsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:topics:ListTopicsResponse', listTopicsResponse_topics - A list of topic ARNs.

$sel:nextToken:ListTopics', listTopicsResponse_nextToken - Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.

$sel:httpStatus:ListTopicsResponse', listTopicsResponse_httpStatus - The response's http status code.

VerifySMSSandboxPhoneNumber

data VerifySMSSandboxPhoneNumber Source #

See: newVerifySMSSandboxPhoneNumber smart constructor.

Instances

Instances details
Eq VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Read VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Show VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Generic VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Associated Types

type Rep VerifySMSSandboxPhoneNumber :: Type -> Type #

NFData VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Hashable VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

AWSRequest VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

ToHeaders VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

ToPath VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

ToQuery VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

type Rep VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

type Rep VerifySMSSandboxPhoneNumber = D1 ('MetaData "VerifySMSSandboxPhoneNumber" "Amazonka.SNS.VerifySMSSandboxPhoneNumber" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "VerifySMSSandboxPhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "oneTimePassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse VerifySMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

newVerifySMSSandboxPhoneNumber Source #

Create a value of VerifySMSSandboxPhoneNumber with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:phoneNumber:VerifySMSSandboxPhoneNumber', verifySMSSandboxPhoneNumber_phoneNumber - The destination phone number to verify.

$sel:oneTimePassword:VerifySMSSandboxPhoneNumber', verifySMSSandboxPhoneNumber_oneTimePassword - The OTP sent to the destination number from the CreateSMSSandBoxPhoneNumber call.

data VerifySMSSandboxPhoneNumberResponse Source #

The destination phone number's verification status.

See: newVerifySMSSandboxPhoneNumberResponse smart constructor.

Instances

Instances details
Eq VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Read VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Show VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

Generic VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

NFData VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

type Rep VerifySMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber

type Rep VerifySMSSandboxPhoneNumberResponse = D1 ('MetaData "VerifySMSSandboxPhoneNumberResponse" "Amazonka.SNS.VerifySMSSandboxPhoneNumber" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "VerifySMSSandboxPhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newVerifySMSSandboxPhoneNumberResponse Source #

Create a value of VerifySMSSandboxPhoneNumberResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:VerifySMSSandboxPhoneNumberResponse', verifySMSSandboxPhoneNumberResponse_httpStatus - The response's http status code.

CreatePlatformEndpoint

data CreatePlatformEndpoint Source #

Input for CreatePlatformEndpoint action.

See: newCreatePlatformEndpoint smart constructor.

Instances

Instances details
Eq CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

Read CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

Show CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

Generic CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

Associated Types

type Rep CreatePlatformEndpoint :: Type -> Type #

NFData CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

Methods

rnf :: CreatePlatformEndpoint -> () #

Hashable CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

AWSRequest CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

Associated Types

type AWSResponse CreatePlatformEndpoint #

ToHeaders CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

ToPath CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

ToQuery CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

type Rep CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

type Rep CreatePlatformEndpoint = D1 ('MetaData "CreatePlatformEndpoint" "Amazonka.SNS.CreatePlatformEndpoint" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "CreatePlatformEndpoint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "customUserData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "platformApplicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreatePlatformEndpoint Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

newCreatePlatformEndpoint Source #

Create a value of CreatePlatformEndpoint with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:customUserData:CreatePlatformEndpoint', createPlatformEndpoint_customUserData - Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.

$sel:attributes:CreatePlatformEndpoint', createPlatformEndpoint_attributes - For a list of attributes, see SetEndpointAttributes.

$sel:platformApplicationArn:CreatePlatformEndpoint', createPlatformEndpoint_platformApplicationArn - PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.

$sel:token:CreatePlatformEndpoint', createPlatformEndpoint_token - Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) or ADM, the device token equivalent is called the registration ID.

data CreatePlatformEndpointResponse Source #

Response from CreateEndpoint action.

See: newCreatePlatformEndpointResponse smart constructor.

Instances

Instances details
Eq CreatePlatformEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

Read CreatePlatformEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

Show CreatePlatformEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

Generic CreatePlatformEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

Associated Types

type Rep CreatePlatformEndpointResponse :: Type -> Type #

NFData CreatePlatformEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

type Rep CreatePlatformEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformEndpoint

type Rep CreatePlatformEndpointResponse = D1 ('MetaData "CreatePlatformEndpointResponse" "Amazonka.SNS.CreatePlatformEndpoint" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "CreatePlatformEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreatePlatformEndpointResponse Source #

Create a value of CreatePlatformEndpointResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:endpointArn:CreatePlatformEndpointResponse', createPlatformEndpointResponse_endpointArn - EndpointArn returned from CreateEndpoint action.

$sel:httpStatus:CreatePlatformEndpointResponse', createPlatformEndpointResponse_httpStatus - The response's http status code.

SetPlatformApplicationAttributes

data SetPlatformApplicationAttributes Source #

Input for SetPlatformApplicationAttributes action.

See: newSetPlatformApplicationAttributes smart constructor.

Instances

Instances details
Eq SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

Read SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

Show SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

Generic SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

Associated Types

type Rep SetPlatformApplicationAttributes :: Type -> Type #

NFData SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

Hashable SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

AWSRequest SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

ToHeaders SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

ToPath SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

ToQuery SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

type Rep SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

type Rep SetPlatformApplicationAttributes = D1 ('MetaData "SetPlatformApplicationAttributes" "Amazonka.SNS.SetPlatformApplicationAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SetPlatformApplicationAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "platformApplicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))
type AWSResponse SetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

newSetPlatformApplicationAttributes Source #

Create a value of SetPlatformApplicationAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:platformApplicationArn:SetPlatformApplicationAttributes', setPlatformApplicationAttributes_platformApplicationArn - PlatformApplicationArn for SetPlatformApplicationAttributes action.

$sel:attributes:SetPlatformApplicationAttributes', setPlatformApplicationAttributes_attributes - A map of the platform application attributes. Attributes in this map include the following:

  • PlatformCredential – The credential received from the notification service. For APNS and APNS_SANDBOX, PlatformCredential is private key. For GCM (Firebase Cloud Messaging), PlatformCredential is API key. For ADM, PlatformCredential is client secret.
  • PlatformPrincipal – The principal received from the notification service. For APNS and APNS_SANDBOX, PlatformPrincipal is SSL certificate. For GCM (Firebase Cloud Messaging), there is no PlatformPrincipal. For ADM, PlatformPrincipal is client id.
  • EventEndpointCreated – Topic ARN to which EndpointCreated event notifications are sent.
  • EventEndpointDeleted – Topic ARN to which EndpointDeleted event notifications are sent.
  • EventEndpointUpdated – Topic ARN to which EndpointUpdate event notifications are sent.
  • EventDeliveryFailure – Topic ARN to which DeliveryFailure event notifications are sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.
  • SuccessFeedbackRoleArn – IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf.
  • FailureFeedbackRoleArn – IAM role ARN used to give Amazon SNS write access to use CloudWatch Logs on your behalf.
  • SuccessFeedbackSampleRate – Sample rate percentage (0-100) of successfully delivered messages.

data SetPlatformApplicationAttributesResponse Source #

Instances

Instances details
Eq SetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

Read SetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

Show SetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

Generic SetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

NFData SetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

type Rep SetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetPlatformApplicationAttributes

type Rep SetPlatformApplicationAttributesResponse = D1 ('MetaData "SetPlatformApplicationAttributesResponse" "Amazonka.SNS.SetPlatformApplicationAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SetPlatformApplicationAttributesResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSetPlatformApplicationAttributesResponse :: SetPlatformApplicationAttributesResponse Source #

Create a value of SetPlatformApplicationAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

ListSubscriptionsByTopic (Paginated)

data ListSubscriptionsByTopic Source #

Input for ListSubscriptionsByTopic action.

See: newListSubscriptionsByTopic smart constructor.

Instances

Instances details
Eq ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

Read ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

Show ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

Generic ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

Associated Types

type Rep ListSubscriptionsByTopic :: Type -> Type #

NFData ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

Hashable ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

AWSPager ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

AWSRequest ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

ToHeaders ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

ToPath ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

ToQuery ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

type Rep ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

type Rep ListSubscriptionsByTopic = D1 ('MetaData "ListSubscriptionsByTopic" "Amazonka.SNS.ListSubscriptionsByTopic" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListSubscriptionsByTopic'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListSubscriptionsByTopic Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

newListSubscriptionsByTopic Source #

Create a value of ListSubscriptionsByTopic with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListSubscriptionsByTopic', listSubscriptionsByTopic_nextToken - Token returned by the previous ListSubscriptionsByTopic request.

$sel:topicArn:ListSubscriptionsByTopic', listSubscriptionsByTopic_topicArn - The ARN of the topic for which you wish to find subscriptions.

data ListSubscriptionsByTopicResponse Source #

Response for ListSubscriptionsByTopic action.

See: newListSubscriptionsByTopicResponse smart constructor.

Instances

Instances details
Eq ListSubscriptionsByTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

Read ListSubscriptionsByTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

Show ListSubscriptionsByTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

Generic ListSubscriptionsByTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

Associated Types

type Rep ListSubscriptionsByTopicResponse :: Type -> Type #

NFData ListSubscriptionsByTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

type Rep ListSubscriptionsByTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptionsByTopic

type Rep ListSubscriptionsByTopicResponse = D1 ('MetaData "ListSubscriptionsByTopicResponse" "Amazonka.SNS.ListSubscriptionsByTopic" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListSubscriptionsByTopicResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subscriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Subscription])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSubscriptionsByTopicResponse Source #

Create a value of ListSubscriptionsByTopicResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListSubscriptionsByTopic', listSubscriptionsByTopicResponse_nextToken - Token to pass along to the next ListSubscriptionsByTopic request. This element is returned if there are more subscriptions to retrieve.

$sel:subscriptions:ListSubscriptionsByTopicResponse', listSubscriptionsByTopicResponse_subscriptions - A list of subscriptions.

$sel:httpStatus:ListSubscriptionsByTopicResponse', listSubscriptionsByTopicResponse_httpStatus - The response's http status code.

GetTopicAttributes

data GetTopicAttributes Source #

Input for GetTopicAttributes action.

See: newGetTopicAttributes smart constructor.

Instances

Instances details
Eq GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

Read GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

Show GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

Generic GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

Associated Types

type Rep GetTopicAttributes :: Type -> Type #

NFData GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

Methods

rnf :: GetTopicAttributes -> () #

Hashable GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

AWSRequest GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

Associated Types

type AWSResponse GetTopicAttributes #

ToHeaders GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

ToPath GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

ToQuery GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

type Rep GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

type Rep GetTopicAttributes = D1 ('MetaData "GetTopicAttributes" "Amazonka.SNS.GetTopicAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetTopicAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

newGetTopicAttributes Source #

Create a value of GetTopicAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:topicArn:GetTopicAttributes', getTopicAttributes_topicArn - The ARN of the topic whose properties you want to get.

data GetTopicAttributesResponse Source #

Response for GetTopicAttributes action.

See: newGetTopicAttributesResponse smart constructor.

Instances

Instances details
Eq GetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

Read GetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

Show GetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

Generic GetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

Associated Types

type Rep GetTopicAttributesResponse :: Type -> Type #

NFData GetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

type Rep GetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetTopicAttributes

type Rep GetTopicAttributesResponse = D1 ('MetaData "GetTopicAttributesResponse" "Amazonka.SNS.GetTopicAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetTopicAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetTopicAttributesResponse Source #

Create a value of GetTopicAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:GetTopicAttributesResponse', getTopicAttributesResponse_attributes - A map of the topic's attributes. Attributes in this map include the following:

  • DeliveryPolicy – The JSON serialization of the topic's delivery policy.
  • DisplayName – The human-readable name used in the From field for notifications to email and email-json endpoints.
  • Owner – The account ID of the topic's owner.
  • Policy – The JSON serialization of the topic's access control policy.
  • SubscriptionsConfirmed – The number of confirmed subscriptions for the topic.
  • SubscriptionsDeleted – The number of deleted subscriptions for the topic.
  • SubscriptionsPending – The number of subscriptions pending confirmation for the topic.
  • TopicArn – The topic's ARN.
  • EffectiveDeliveryPolicy – The JSON serialization of the effective delivery policy, taking system defaults into account.

The following attribute applies only to server-side-encryption:

  • KmsMasterKeyId - The ID of an Amazon Web Services managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the Key Management Service API Reference.

The following attributes apply only to FIFO topics:

  • FifoTopic – When this is set to true, a FIFO topic is created.
  • ContentBasedDeduplication – Enables content-based deduplication for FIFO topics.

    • By default, ContentBasedDeduplication is set to false. If you create a FIFO topic and this attribute is false, you must specify a value for the MessageDeduplicationId parameter for the Publish action.
    • When you set ContentBasedDeduplication to true, Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message).

      (Optional) To override the generated value, you can specify a value for the MessageDeduplicationId parameter for the Publish action.

$sel:httpStatus:GetTopicAttributesResponse', getTopicAttributesResponse_httpStatus - The response's http status code.

CreateSMSSandboxPhoneNumber

data CreateSMSSandboxPhoneNumber Source #

See: newCreateSMSSandboxPhoneNumber smart constructor.

Instances

Instances details
Eq CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

Read CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

Show CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

Generic CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

Associated Types

type Rep CreateSMSSandboxPhoneNumber :: Type -> Type #

NFData CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

Hashable CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

AWSRequest CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

ToHeaders CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

ToPath CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

ToQuery CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

type Rep CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

type Rep CreateSMSSandboxPhoneNumber = D1 ('MetaData "CreateSMSSandboxPhoneNumber" "Amazonka.SNS.CreateSMSSandboxPhoneNumber" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "CreateSMSSandboxPhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCodeString)) :*: S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

newCreateSMSSandboxPhoneNumber Source #

Create a value of CreateSMSSandboxPhoneNumber with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:languageCode:CreateSMSSandboxPhoneNumber', createSMSSandboxPhoneNumber_languageCode - The language to use for sending the OTP. The default value is en-US.

$sel:phoneNumber:CreateSMSSandboxPhoneNumber', createSMSSandboxPhoneNumber_phoneNumber - The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of verified phone numbers that you can send SMS messages to.

data CreateSMSSandboxPhoneNumberResponse Source #

Instances

Instances details
Eq CreateSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

Read CreateSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

Show CreateSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

Generic CreateSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

NFData CreateSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

type Rep CreateSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber

type Rep CreateSMSSandboxPhoneNumberResponse = D1 ('MetaData "CreateSMSSandboxPhoneNumberResponse" "Amazonka.SNS.CreateSMSSandboxPhoneNumber" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "CreateSMSSandboxPhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateSMSSandboxPhoneNumberResponse Source #

Create a value of CreateSMSSandboxPhoneNumberResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:CreateSMSSandboxPhoneNumberResponse', createSMSSandboxPhoneNumberResponse_httpStatus - The response's http status code.

OptInPhoneNumber

data OptInPhoneNumber Source #

Input for the OptInPhoneNumber action.

See: newOptInPhoneNumber smart constructor.

Constructors

OptInPhoneNumber' Text 

Instances

Instances details
Eq OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Read OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Show OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Generic OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Associated Types

type Rep OptInPhoneNumber :: Type -> Type #

NFData OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Methods

rnf :: OptInPhoneNumber -> () #

Hashable OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

AWSRequest OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Associated Types

type AWSResponse OptInPhoneNumber #

ToHeaders OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

ToPath OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

ToQuery OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

type Rep OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

type Rep OptInPhoneNumber = D1 ('MetaData "OptInPhoneNumber" "Amazonka.SNS.OptInPhoneNumber" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "OptInPhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse OptInPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

newOptInPhoneNumber Source #

Create a value of OptInPhoneNumber with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:phoneNumber:OptInPhoneNumber', optInPhoneNumber_phoneNumber - The phone number to opt in. Use E.164 format.

data OptInPhoneNumberResponse Source #

The response for the OptInPhoneNumber action.

See: newOptInPhoneNumberResponse smart constructor.

Instances

Instances details
Eq OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Read OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Show OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Generic OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

Associated Types

type Rep OptInPhoneNumberResponse :: Type -> Type #

NFData OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

type Rep OptInPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.OptInPhoneNumber

type Rep OptInPhoneNumberResponse = D1 ('MetaData "OptInPhoneNumberResponse" "Amazonka.SNS.OptInPhoneNumber" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "OptInPhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newOptInPhoneNumberResponse Source #

Create a value of OptInPhoneNumberResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:OptInPhoneNumberResponse', optInPhoneNumberResponse_httpStatus - The response's http status code.

DeleteSMSSandboxPhoneNumber

data DeleteSMSSandboxPhoneNumber Source #

See: newDeleteSMSSandboxPhoneNumber smart constructor.

Instances

Instances details
Eq DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

Read DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

Show DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

Generic DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

Associated Types

type Rep DeleteSMSSandboxPhoneNumber :: Type -> Type #

NFData DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

Hashable DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

AWSRequest DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

ToHeaders DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

ToPath DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

ToQuery DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

type Rep DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

type Rep DeleteSMSSandboxPhoneNumber = D1 ('MetaData "DeleteSMSSandboxPhoneNumber" "Amazonka.SNS.DeleteSMSSandboxPhoneNumber" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "DeleteSMSSandboxPhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteSMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

newDeleteSMSSandboxPhoneNumber Source #

Create a value of DeleteSMSSandboxPhoneNumber with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:phoneNumber:DeleteSMSSandboxPhoneNumber', deleteSMSSandboxPhoneNumber_phoneNumber - The destination phone number to delete.

data DeleteSMSSandboxPhoneNumberResponse Source #

Instances

Instances details
Eq DeleteSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

Read DeleteSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

Show DeleteSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

Generic DeleteSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

NFData DeleteSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

type Rep DeleteSMSSandboxPhoneNumberResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber

type Rep DeleteSMSSandboxPhoneNumberResponse = D1 ('MetaData "DeleteSMSSandboxPhoneNumberResponse" "Amazonka.SNS.DeleteSMSSandboxPhoneNumber" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "DeleteSMSSandboxPhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteSMSSandboxPhoneNumberResponse Source #

Create a value of DeleteSMSSandboxPhoneNumberResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteSMSSandboxPhoneNumberResponse', deleteSMSSandboxPhoneNumberResponse_httpStatus - The response's http status code.

ListSMSSandboxPhoneNumbers (Paginated)

data ListSMSSandboxPhoneNumbers Source #

See: newListSMSSandboxPhoneNumbers smart constructor.

Instances

Instances details
Eq ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Read ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Show ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Generic ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Associated Types

type Rep ListSMSSandboxPhoneNumbers :: Type -> Type #

NFData ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Hashable ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

AWSPager ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

AWSRequest ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

ToHeaders ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

ToPath ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

ToQuery ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

type Rep ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

type Rep ListSMSSandboxPhoneNumbers = D1 ('MetaData "ListSMSSandboxPhoneNumbers" "Amazonka.SNS.ListSMSSandboxPhoneNumbers" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListSMSSandboxPhoneNumbers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListSMSSandboxPhoneNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

newListSMSSandboxPhoneNumbers :: ListSMSSandboxPhoneNumbers Source #

Create a value of ListSMSSandboxPhoneNumbers with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListSMSSandboxPhoneNumbers', listSMSSandboxPhoneNumbers_nextToken - Token that the previous ListSMSSandboxPhoneNumbersInput request returns.

$sel:maxResults:ListSMSSandboxPhoneNumbers', listSMSSandboxPhoneNumbers_maxResults - The maximum number of phone numbers to return.

data ListSMSSandboxPhoneNumbersResponse Source #

Instances

Instances details
Eq ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Read ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Show ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Generic ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

Associated Types

type Rep ListSMSSandboxPhoneNumbersResponse :: Type -> Type #

NFData ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

type Rep ListSMSSandboxPhoneNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers

type Rep ListSMSSandboxPhoneNumbersResponse = D1 ('MetaData "ListSMSSandboxPhoneNumbersResponse" "Amazonka.SNS.ListSMSSandboxPhoneNumbers" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListSMSSandboxPhoneNumbersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "phoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SMSSandboxPhoneNumber]))))

newListSMSSandboxPhoneNumbersResponse Source #

Create a value of ListSMSSandboxPhoneNumbersResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListSMSSandboxPhoneNumbers', listSMSSandboxPhoneNumbersResponse_nextToken - A NextToken string is returned when you call the ListSMSSandboxPhoneNumbersInput operation if additional pages of records are available.

$sel:httpStatus:ListSMSSandboxPhoneNumbersResponse', listSMSSandboxPhoneNumbersResponse_httpStatus - The response's http status code.

$sel:phoneNumbers:ListSMSSandboxPhoneNumbersResponse', listSMSSandboxPhoneNumbersResponse_phoneNumbers - A list of the calling account's pending and verified phone numbers.

CreatePlatformApplication

data CreatePlatformApplication Source #

Input for CreatePlatformApplication action.

See: newCreatePlatformApplication smart constructor.

Instances

Instances details
Eq CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

Read CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

Show CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

Generic CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

Associated Types

type Rep CreatePlatformApplication :: Type -> Type #

NFData CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

Hashable CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

AWSRequest CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

ToHeaders CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

ToPath CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

ToQuery CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

type Rep CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

type Rep CreatePlatformApplication = D1 ('MetaData "CreatePlatformApplication" "Amazonka.SNS.CreatePlatformApplication" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "CreatePlatformApplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)))))
type AWSResponse CreatePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

newCreatePlatformApplication Source #

Create a value of CreatePlatformApplication with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:CreatePlatformApplication', createPlatformApplication_name - Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.

$sel:platform:CreatePlatformApplication', createPlatformApplication_platform - The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).

$sel:attributes:CreatePlatformApplication', createPlatformApplication_attributes - For a list of attributes, see SetPlatformApplicationAttributes.

data CreatePlatformApplicationResponse Source #

Response from CreatePlatformApplication action.

See: newCreatePlatformApplicationResponse smart constructor.

Instances

Instances details
Eq CreatePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

Read CreatePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

Show CreatePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

Generic CreatePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

Associated Types

type Rep CreatePlatformApplicationResponse :: Type -> Type #

NFData CreatePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

type Rep CreatePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.CreatePlatformApplication

type Rep CreatePlatformApplicationResponse = D1 ('MetaData "CreatePlatformApplicationResponse" "Amazonka.SNS.CreatePlatformApplication" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "CreatePlatformApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "platformApplicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreatePlatformApplicationResponse Source #

Create a value of CreatePlatformApplicationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:platformApplicationArn:CreatePlatformApplicationResponse', createPlatformApplicationResponse_platformApplicationArn - PlatformApplicationArn is returned.

$sel:httpStatus:CreatePlatformApplicationResponse', createPlatformApplicationResponse_httpStatus - The response's http status code.

GetPlatformApplicationAttributes

data GetPlatformApplicationAttributes Source #

Input for GetPlatformApplicationAttributes action.

See: newGetPlatformApplicationAttributes smart constructor.

Instances

Instances details
Eq GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

Read GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

Show GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

Generic GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

Associated Types

type Rep GetPlatformApplicationAttributes :: Type -> Type #

NFData GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

Hashable GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

AWSRequest GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

ToHeaders GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

ToPath GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

ToQuery GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

type Rep GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

type Rep GetPlatformApplicationAttributes = D1 ('MetaData "GetPlatformApplicationAttributes" "Amazonka.SNS.GetPlatformApplicationAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetPlatformApplicationAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "platformApplicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetPlatformApplicationAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

newGetPlatformApplicationAttributes Source #

Create a value of GetPlatformApplicationAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:platformApplicationArn:GetPlatformApplicationAttributes', getPlatformApplicationAttributes_platformApplicationArn - PlatformApplicationArn for GetPlatformApplicationAttributesInput.

data GetPlatformApplicationAttributesResponse Source #

Response for GetPlatformApplicationAttributes action.

See: newGetPlatformApplicationAttributesResponse smart constructor.

Instances

Instances details
Eq GetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

Read GetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

Show GetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

Generic GetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

NFData GetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

type Rep GetPlatformApplicationAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetPlatformApplicationAttributes

type Rep GetPlatformApplicationAttributesResponse = D1 ('MetaData "GetPlatformApplicationAttributesResponse" "Amazonka.SNS.GetPlatformApplicationAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetPlatformApplicationAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetPlatformApplicationAttributesResponse Source #

Create a value of GetPlatformApplicationAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:GetPlatformApplicationAttributesResponse', getPlatformApplicationAttributesResponse_attributes - Attributes include the following:

  • EventEndpointCreated – Topic ARN to which EndpointCreated event notifications should be sent.
  • EventEndpointDeleted – Topic ARN to which EndpointDeleted event notifications should be sent.
  • EventEndpointUpdated – Topic ARN to which EndpointUpdate event notifications should be sent.
  • EventDeliveryFailure – Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.

$sel:httpStatus:GetPlatformApplicationAttributesResponse', getPlatformApplicationAttributesResponse_httpStatus - The response's http status code.

ListEndpointsByPlatformApplication (Paginated)

data ListEndpointsByPlatformApplication Source #

Input for ListEndpointsByPlatformApplication action.

See: newListEndpointsByPlatformApplication smart constructor.

Instances

Instances details
Eq ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

Read ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

Show ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

Generic ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

Associated Types

type Rep ListEndpointsByPlatformApplication :: Type -> Type #

NFData ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

Hashable ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

AWSPager ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

AWSRequest ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

ToHeaders ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

ToPath ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

ToQuery ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

type Rep ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

type Rep ListEndpointsByPlatformApplication = D1 ('MetaData "ListEndpointsByPlatformApplication" "Amazonka.SNS.ListEndpointsByPlatformApplication" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListEndpointsByPlatformApplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "platformApplicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListEndpointsByPlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

newListEndpointsByPlatformApplication Source #

Create a value of ListEndpointsByPlatformApplication with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListEndpointsByPlatformApplication', listEndpointsByPlatformApplication_nextToken - NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.

$sel:platformApplicationArn:ListEndpointsByPlatformApplication', listEndpointsByPlatformApplication_platformApplicationArn - PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.

data ListEndpointsByPlatformApplicationResponse Source #

Response for ListEndpointsByPlatformApplication action.

See: newListEndpointsByPlatformApplicationResponse smart constructor.

Instances

Instances details
Eq ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

Read ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

Show ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

Generic ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

NFData ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

type Rep ListEndpointsByPlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.ListEndpointsByPlatformApplication

type Rep ListEndpointsByPlatformApplicationResponse = D1 ('MetaData "ListEndpointsByPlatformApplicationResponse" "Amazonka.SNS.ListEndpointsByPlatformApplication" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListEndpointsByPlatformApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endpoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Endpoint])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListEndpointsByPlatformApplicationResponse Source #

Create a value of ListEndpointsByPlatformApplicationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListEndpointsByPlatformApplication', listEndpointsByPlatformApplicationResponse_nextToken - NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.

$sel:endpoints:ListEndpointsByPlatformApplicationResponse', listEndpointsByPlatformApplicationResponse_endpoints - Endpoints returned for ListEndpointsByPlatformApplication action.

$sel:httpStatus:ListEndpointsByPlatformApplicationResponse', listEndpointsByPlatformApplicationResponse_httpStatus - The response's http status code.

SetTopicAttributes

data SetTopicAttributes Source #

Input for SetTopicAttributes action.

See: newSetTopicAttributes smart constructor.

Instances

Instances details
Eq SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

Read SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

Show SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

Generic SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

Associated Types

type Rep SetTopicAttributes :: Type -> Type #

NFData SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

Methods

rnf :: SetTopicAttributes -> () #

Hashable SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

AWSRequest SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

Associated Types

type AWSResponse SetTopicAttributes #

ToHeaders SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

ToPath SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

ToQuery SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

type Rep SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

type Rep SetTopicAttributes = D1 ('MetaData "SetTopicAttributes" "Amazonka.SNS.SetTopicAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SetTopicAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse SetTopicAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

newSetTopicAttributes Source #

Create a value of SetTopicAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributeValue:SetTopicAttributes', setTopicAttributes_attributeValue - The new value for the attribute.

$sel:topicArn:SetTopicAttributes', setTopicAttributes_topicArn - The ARN of the topic to modify.

$sel:attributeName:SetTopicAttributes', setTopicAttributes_attributeName - A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses:

  • DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.
  • DisplayName – The display name to use for a topic with SMS subscriptions.
  • Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic.

The following attribute applies only to server-side-encryption:

  • KmsMasterKeyId – The ID of an Amazon Web Services managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the Key Management Service API Reference.

The following attribute applies only to FIFO topics:

  • ContentBasedDeduplication – Enables content-based deduplication for FIFO topics.

    • By default, ContentBasedDeduplication is set to false. If you create a FIFO topic and this attribute is false, you must specify a value for the MessageDeduplicationId parameter for the Publish action.
    • When you set ContentBasedDeduplication to true, Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message).

      (Optional) To override the generated value, you can specify a value for the MessageDeduplicationId parameter for the Publish action.

data SetTopicAttributesResponse Source #

See: newSetTopicAttributesResponse smart constructor.

Instances

Instances details
Eq SetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

Read SetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

Show SetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

Generic SetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

Associated Types

type Rep SetTopicAttributesResponse :: Type -> Type #

NFData SetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

type Rep SetTopicAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetTopicAttributes

type Rep SetTopicAttributesResponse = D1 ('MetaData "SetTopicAttributesResponse" "Amazonka.SNS.SetTopicAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SetTopicAttributesResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSetTopicAttributesResponse :: SetTopicAttributesResponse Source #

Create a value of SetTopicAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

DeletePlatformApplication

data DeletePlatformApplication Source #

Input for DeletePlatformApplication action.

See: newDeletePlatformApplication smart constructor.

Instances

Instances details
Eq DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

Read DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

Show DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

Generic DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

Associated Types

type Rep DeletePlatformApplication :: Type -> Type #

NFData DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

Hashable DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

AWSRequest DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

ToHeaders DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

ToPath DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

ToQuery DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

type Rep DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

type Rep DeletePlatformApplication = D1 ('MetaData "DeletePlatformApplication" "Amazonka.SNS.DeletePlatformApplication" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "DeletePlatformApplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "platformApplicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeletePlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

newDeletePlatformApplication Source #

Create a value of DeletePlatformApplication with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:platformApplicationArn:DeletePlatformApplication', deletePlatformApplication_platformApplicationArn - PlatformApplicationArn of platform application object to delete.

data DeletePlatformApplicationResponse Source #

See: newDeletePlatformApplicationResponse smart constructor.

Instances

Instances details
Eq DeletePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

Read DeletePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

Show DeletePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

Generic DeletePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

Associated Types

type Rep DeletePlatformApplicationResponse :: Type -> Type #

NFData DeletePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

type Rep DeletePlatformApplicationResponse Source # 
Instance details

Defined in Amazonka.SNS.DeletePlatformApplication

type Rep DeletePlatformApplicationResponse = D1 ('MetaData "DeletePlatformApplicationResponse" "Amazonka.SNS.DeletePlatformApplication" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "DeletePlatformApplicationResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeletePlatformApplicationResponse :: DeletePlatformApplicationResponse Source #

Create a value of DeletePlatformApplicationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

GetSMSAttributes

data GetSMSAttributes Source #

The input for the GetSMSAttributes request.

See: newGetSMSAttributes smart constructor.

Constructors

GetSMSAttributes' (Maybe [Text]) 

Instances

Instances details
Eq GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

Read GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

Show GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

Generic GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

Associated Types

type Rep GetSMSAttributes :: Type -> Type #

NFData GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

Methods

rnf :: GetSMSAttributes -> () #

Hashable GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

AWSRequest GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

Associated Types

type AWSResponse GetSMSAttributes #

ToHeaders GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

ToPath GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

ToQuery GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

type Rep GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

type Rep GetSMSAttributes = D1 ('MetaData "GetSMSAttributes" "Amazonka.SNS.GetSMSAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetSMSAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))
type AWSResponse GetSMSAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

newGetSMSAttributes :: GetSMSAttributes Source #

Create a value of GetSMSAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:GetSMSAttributes', getSMSAttributes_attributes - A list of the individual attribute names, such as MonthlySpendLimit, for which you want values.

For all attribute names, see SetSMSAttributes.

If you don't use this parameter, Amazon SNS returns all SMS attributes.

data GetSMSAttributesResponse Source #

The response from the GetSMSAttributes request.

See: newGetSMSAttributesResponse smart constructor.

Instances

Instances details
Eq GetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

Read GetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

Show GetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

Generic GetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

Associated Types

type Rep GetSMSAttributesResponse :: Type -> Type #

NFData GetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

type Rep GetSMSAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSAttributes

type Rep GetSMSAttributesResponse = D1 ('MetaData "GetSMSAttributesResponse" "Amazonka.SNS.GetSMSAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetSMSAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetSMSAttributesResponse Source #

Create a value of GetSMSAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:GetSMSAttributes', getSMSAttributesResponse_attributes - The SMS attribute names and their values.

$sel:httpStatus:GetSMSAttributesResponse', getSMSAttributesResponse_httpStatus - The response's http status code.

ListPlatformApplications (Paginated)

data ListPlatformApplications Source #

Input for ListPlatformApplications action.

See: newListPlatformApplications smart constructor.

Instances

Instances details
Eq ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Read ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Show ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Generic ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Associated Types

type Rep ListPlatformApplications :: Type -> Type #

NFData ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Hashable ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

AWSPager ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

AWSRequest ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

ToHeaders ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

ToPath ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

ToQuery ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

type Rep ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

type Rep ListPlatformApplications = D1 ('MetaData "ListPlatformApplications" "Amazonka.SNS.ListPlatformApplications" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListPlatformApplications'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListPlatformApplications Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

newListPlatformApplications :: ListPlatformApplications Source #

Create a value of ListPlatformApplications with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListPlatformApplications', listPlatformApplications_nextToken - NextToken string is used when calling ListPlatformApplications action to retrieve additional records that are available after the first page results.

data ListPlatformApplicationsResponse Source #

Response for ListPlatformApplications action.

See: newListPlatformApplicationsResponse smart constructor.

Instances

Instances details
Eq ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Read ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Show ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Generic ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

Associated Types

type Rep ListPlatformApplicationsResponse :: Type -> Type #

NFData ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

type Rep ListPlatformApplicationsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListPlatformApplications

type Rep ListPlatformApplicationsResponse = D1 ('MetaData "ListPlatformApplicationsResponse" "Amazonka.SNS.ListPlatformApplications" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListPlatformApplicationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "platformApplications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PlatformApplication])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPlatformApplicationsResponse Source #

Create a value of ListPlatformApplicationsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:platformApplications:ListPlatformApplicationsResponse', listPlatformApplicationsResponse_platformApplications - Platform applications returned when calling ListPlatformApplications action.

$sel:nextToken:ListPlatformApplications', listPlatformApplicationsResponse_nextToken - NextToken string is returned when calling ListPlatformApplications action if additional records are available after the first page results.

$sel:httpStatus:ListPlatformApplicationsResponse', listPlatformApplicationsResponse_httpStatus - The response's http status code.

AddPermission

data AddPermission Source #

See: newAddPermission smart constructor.

Constructors

AddPermission' Text Text [Text] [Text] 

Instances

Instances details
Eq AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

Read AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

Show AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

Generic AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

Associated Types

type Rep AddPermission :: Type -> Type #

NFData AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

Methods

rnf :: AddPermission -> () #

Hashable AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

AWSRequest AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

Associated Types

type AWSResponse AddPermission #

ToHeaders AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

ToPath AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

ToQuery AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

type Rep AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

type Rep AddPermission = D1 ('MetaData "AddPermission" "Amazonka.SNS.AddPermission" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "AddPermission'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "aWSAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "actionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse AddPermission Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

newAddPermission Source #

Create a value of AddPermission with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:topicArn:AddPermission', addPermission_topicArn - The ARN of the topic whose access control policy you wish to modify.

$sel:label:AddPermission', addPermission_label - A unique identifier for the new policy statement.

$sel:aWSAccountId:AddPermission', addPermission_aWSAccountId - The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service.

$sel:actionName:AddPermission', addPermission_actionName - The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.

data AddPermissionResponse Source #

See: newAddPermissionResponse smart constructor.

Instances

Instances details
Eq AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

Read AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

Show AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

Generic AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

Associated Types

type Rep AddPermissionResponse :: Type -> Type #

NFData AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

Methods

rnf :: AddPermissionResponse -> () #

type Rep AddPermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.AddPermission

type Rep AddPermissionResponse = D1 ('MetaData "AddPermissionResponse" "Amazonka.SNS.AddPermission" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "AddPermissionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAddPermissionResponse :: AddPermissionResponse Source #

Create a value of AddPermissionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

GetEndpointAttributes

data GetEndpointAttributes Source #

Input for GetEndpointAttributes action.

See: newGetEndpointAttributes smart constructor.

Instances

Instances details
Eq GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

Read GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

Show GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

Generic GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

Associated Types

type Rep GetEndpointAttributes :: Type -> Type #

NFData GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

Methods

rnf :: GetEndpointAttributes -> () #

Hashable GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

AWSRequest GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

Associated Types

type AWSResponse GetEndpointAttributes #

ToHeaders GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

ToPath GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

ToQuery GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

type Rep GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

type Rep GetEndpointAttributes = D1 ('MetaData "GetEndpointAttributes" "Amazonka.SNS.GetEndpointAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetEndpointAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

newGetEndpointAttributes Source #

Create a value of GetEndpointAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:endpointArn:GetEndpointAttributes', getEndpointAttributes_endpointArn - EndpointArn for GetEndpointAttributes input.

data GetEndpointAttributesResponse Source #

Response from GetEndpointAttributes of the EndpointArn.

See: newGetEndpointAttributesResponse smart constructor.

Instances

Instances details
Eq GetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

Read GetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

Show GetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

Generic GetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

Associated Types

type Rep GetEndpointAttributesResponse :: Type -> Type #

NFData GetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

type Rep GetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetEndpointAttributes

type Rep GetEndpointAttributesResponse = D1 ('MetaData "GetEndpointAttributesResponse" "Amazonka.SNS.GetEndpointAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetEndpointAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetEndpointAttributesResponse Source #

Create a value of GetEndpointAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:GetEndpointAttributesResponse', getEndpointAttributesResponse_attributes - Attributes include the following:

  • CustomUserData – arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.
  • Enabled – flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token.
  • Token – device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service.

    The device token for the iOS platform is returned in lowercase.

$sel:httpStatus:GetEndpointAttributesResponse', getEndpointAttributesResponse_httpStatus - The response's http status code.

ListSubscriptions (Paginated)

data ListSubscriptions Source #

Input for ListSubscriptions action.

See: newListSubscriptions smart constructor.

Constructors

ListSubscriptions' (Maybe Text) 

Instances

Instances details
Eq ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

Read ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

Show ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

Generic ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

Associated Types

type Rep ListSubscriptions :: Type -> Type #

NFData ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

Methods

rnf :: ListSubscriptions -> () #

Hashable ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

AWSPager ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

AWSRequest ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

Associated Types

type AWSResponse ListSubscriptions #

ToHeaders ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

ToPath ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

ToQuery ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

type Rep ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

type Rep ListSubscriptions = D1 ('MetaData "ListSubscriptions" "Amazonka.SNS.ListSubscriptions" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListSubscriptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListSubscriptions Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

newListSubscriptions :: ListSubscriptions Source #

Create a value of ListSubscriptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListSubscriptions', listSubscriptions_nextToken - Token returned by the previous ListSubscriptions request.

data ListSubscriptionsResponse Source #

Response for ListSubscriptions action

See: newListSubscriptionsResponse smart constructor.

Instances

Instances details
Eq ListSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

Read ListSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

Show ListSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

Generic ListSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

Associated Types

type Rep ListSubscriptionsResponse :: Type -> Type #

NFData ListSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

type Rep ListSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.SNS.ListSubscriptions

type Rep ListSubscriptionsResponse = D1 ('MetaData "ListSubscriptionsResponse" "Amazonka.SNS.ListSubscriptions" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListSubscriptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subscriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Subscription])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSubscriptionsResponse Source #

Create a value of ListSubscriptionsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListSubscriptions', listSubscriptionsResponse_nextToken - Token to pass along to the next ListSubscriptions request. This element is returned if there are more subscriptions to retrieve.

$sel:subscriptions:ListSubscriptionsResponse', listSubscriptionsResponse_subscriptions - A list of subscriptions.

$sel:httpStatus:ListSubscriptionsResponse', listSubscriptionsResponse_httpStatus - The response's http status code.

GetSubscriptionAttributes

data GetSubscriptionAttributes Source #

Input for GetSubscriptionAttributes.

See: newGetSubscriptionAttributes smart constructor.

Instances

Instances details
Eq GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

Read GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

Show GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

Generic GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

Associated Types

type Rep GetSubscriptionAttributes :: Type -> Type #

NFData GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

Hashable GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

AWSRequest GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

ToHeaders GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

ToPath GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

ToQuery GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

type Rep GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

type Rep GetSubscriptionAttributes = D1 ('MetaData "GetSubscriptionAttributes" "Amazonka.SNS.GetSubscriptionAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetSubscriptionAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

newGetSubscriptionAttributes Source #

Create a value of GetSubscriptionAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:subscriptionArn:GetSubscriptionAttributes', getSubscriptionAttributes_subscriptionArn - The ARN of the subscription whose properties you want to get.

data GetSubscriptionAttributesResponse Source #

Response for GetSubscriptionAttributes action.

See: newGetSubscriptionAttributesResponse smart constructor.

Instances

Instances details
Eq GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

Read GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

Show GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

Generic GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

Associated Types

type Rep GetSubscriptionAttributesResponse :: Type -> Type #

NFData GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

type Rep GetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSubscriptionAttributes

type Rep GetSubscriptionAttributesResponse = D1 ('MetaData "GetSubscriptionAttributesResponse" "Amazonka.SNS.GetSubscriptionAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetSubscriptionAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetSubscriptionAttributesResponse Source #

Create a value of GetSubscriptionAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:GetSubscriptionAttributesResponse', getSubscriptionAttributesResponse_attributes - A map of the subscription's attributes. Attributes in this map include the following:

  • ConfirmationWasAuthenticatedtrue if the subscription confirmation request was authenticated.
  • DeliveryPolicy – The JSON serialization of the subscription's delivery policy.
  • EffectiveDeliveryPolicy – The JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaults.
  • FilterPolicy – The filter policy JSON that is assigned to the subscription. For more information, see Amazon SNS Message Filtering in the Amazon SNS Developer Guide.
  • Owner – The account ID of the subscription's owner.
  • PendingConfirmationtrue if the subscription hasn't been confirmed. To confirm a pending subscription, call the ConfirmSubscription action with a confirmation token.
  • RawMessageDeliverytrue if raw message delivery is enabled for the subscription. Raw messages are free of JSON formatting and can be sent to HTTP/S and Amazon SQS endpoints.
  • RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.
  • SubscriptionArn – The subscription's ARN.
  • TopicArn – The topic ARN that the subscription is associated with.

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

  • SubscriptionRoleArn – The ARN of the IAM role that has the following:

    • Permission to write to the Kinesis Data Firehose delivery stream
    • Amazon SNS listed as a trusted entity

    Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide.

$sel:httpStatus:GetSubscriptionAttributesResponse', getSubscriptionAttributesResponse_httpStatus - The response's http status code.

CreateTopic

data CreateTopic Source #

Input for CreateTopic action.

See: newCreateTopic smart constructor.

Instances

Instances details
Eq CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Read CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Show CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Generic CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Associated Types

type Rep CreateTopic :: Type -> Type #

NFData CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Methods

rnf :: CreateTopic -> () #

Hashable CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

AWSRequest CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Associated Types

type AWSResponse CreateTopic #

ToHeaders CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Methods

toHeaders :: CreateTopic -> [Header] #

ToPath CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

ToQuery CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

type Rep CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

type Rep CreateTopic = D1 ('MetaData "CreateTopic" "Amazonka.SNS.CreateTopic" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "CreateTopic'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateTopic Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

newCreateTopic Source #

Create a value of CreateTopic with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:CreateTopic', createTopic_attributes - A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses:

  • DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.
  • DisplayName – The display name to use for a topic with SMS subscriptions.
  • FifoTopic – Set to true to create a FIFO topic.
  • Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic.

The following attribute applies only to server-side encryption:

  • KmsMasterKeyId – The ID of an Amazon Web Services managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the Key Management Service API Reference.

The following attributes apply only to FIFO topics:

  • FifoTopic – When this is set to true, a FIFO topic is created.
  • ContentBasedDeduplication – Enables content-based deduplication for FIFO topics.

    • By default, ContentBasedDeduplication is set to false. If you create a FIFO topic and this attribute is false, you must specify a value for the MessageDeduplicationId parameter for the Publish action.
    • When you set ContentBasedDeduplication to true, Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message).

      (Optional) To override the generated value, you can specify a value for the MessageDeduplicationId parameter for the Publish action.

$sel:tags:CreateTopic', createTopic_tags - The list of tags to add to a new topic.

To be able to tag a topic on creation, you must have the sns:CreateTopic and sns:TagResource permissions.

$sel:name:CreateTopic', createTopic_name - The name of the topic you want to create.

Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.

For a FIFO (first-in-first-out) topic, the name must end with the .fifo suffix.

data CreateTopicResponse Source #

Response from CreateTopic action.

See: newCreateTopicResponse smart constructor.

Instances

Instances details
Eq CreateTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Read CreateTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Show CreateTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Generic CreateTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Associated Types

type Rep CreateTopicResponse :: Type -> Type #

NFData CreateTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

Methods

rnf :: CreateTopicResponse -> () #

type Rep CreateTopicResponse Source # 
Instance details

Defined in Amazonka.SNS.CreateTopic

type Rep CreateTopicResponse = D1 ('MetaData "CreateTopicResponse" "Amazonka.SNS.CreateTopic" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "CreateTopicResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateTopicResponse Source #

Create a value of CreateTopicResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:topicArn:CreateTopicResponse', createTopicResponse_topicArn - The Amazon Resource Name (ARN) assigned to the created topic.

$sel:httpStatus:CreateTopicResponse', createTopicResponse_httpStatus - The response's http status code.

CheckIfPhoneNumberIsOptedOut

data CheckIfPhoneNumberIsOptedOut Source #

The input for the CheckIfPhoneNumberIsOptedOut action.

See: newCheckIfPhoneNumberIsOptedOut smart constructor.

Instances

Instances details
Eq CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

Read CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

Show CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

Generic CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

Associated Types

type Rep CheckIfPhoneNumberIsOptedOut :: Type -> Type #

NFData CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

Hashable CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

AWSRequest CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

ToHeaders CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

ToPath CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

ToQuery CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

type Rep CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

type Rep CheckIfPhoneNumberIsOptedOut = D1 ('MetaData "CheckIfPhoneNumberIsOptedOut" "Amazonka.SNS.CheckIfPhoneNumberIsOptedOut" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "CheckIfPhoneNumberIsOptedOut'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CheckIfPhoneNumberIsOptedOut Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

newCheckIfPhoneNumberIsOptedOut Source #

Create a value of CheckIfPhoneNumberIsOptedOut with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:phoneNumber:CheckIfPhoneNumberIsOptedOut', checkIfPhoneNumberIsOptedOut_phoneNumber - The phone number for which you want to check the opt out status.

data CheckIfPhoneNumberIsOptedOutResponse Source #

The response from the CheckIfPhoneNumberIsOptedOut action.

See: newCheckIfPhoneNumberIsOptedOutResponse smart constructor.

Instances

Instances details
Eq CheckIfPhoneNumberIsOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

Read CheckIfPhoneNumberIsOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

Show CheckIfPhoneNumberIsOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

Generic CheckIfPhoneNumberIsOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

NFData CheckIfPhoneNumberIsOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

type Rep CheckIfPhoneNumberIsOptedOutResponse Source # 
Instance details

Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut

type Rep CheckIfPhoneNumberIsOptedOutResponse = D1 ('MetaData "CheckIfPhoneNumberIsOptedOutResponse" "Amazonka.SNS.CheckIfPhoneNumberIsOptedOut" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "CheckIfPhoneNumberIsOptedOutResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isOptedOut") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCheckIfPhoneNumberIsOptedOutResponse Source #

Create a value of CheckIfPhoneNumberIsOptedOutResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:isOptedOut:CheckIfPhoneNumberIsOptedOutResponse', checkIfPhoneNumberIsOptedOutResponse_isOptedOut - Indicates whether the phone number is opted out:

  • true – The phone number is opted out, meaning you cannot publish SMS messages to it.
  • false – The phone number is opted in, meaning you can publish SMS messages to it.

$sel:httpStatus:CheckIfPhoneNumberIsOptedOutResponse', checkIfPhoneNumberIsOptedOutResponse_httpStatus - The response's http status code.

TagResource

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' Text [Tag] 

Instances

Instances details
Eq TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Read TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Generic TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

NFData TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Methods

rnf :: TagResource -> () #

Hashable TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Associated Types

type AWSResponse TagResource #

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.SNS.TagResource" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))
type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.SNS.TagResource

newTagResource Source #

Create a value of TagResource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceArn:TagResource', tagResource_resourceArn - The ARN of the topic to which to add tags.

$sel:tags:TagResource', tagResource_tags - The tags to be added to the specified topic. A tag consists of a required key and an optional value.

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Instances

Instances details
Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.TagResource

Methods

rnf :: TagResourceResponse -> () #

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.SNS.TagResource" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newTagResourceResponse Source #

Create a value of TagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:TagResourceResponse', tagResourceResponse_httpStatus - The response's http status code.

Subscribe

data Subscribe Source #

Input for Subscribe action.

See: newSubscribe smart constructor.

Instances

Instances details
Eq Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Read Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Show Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Generic Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Associated Types

type Rep Subscribe :: Type -> Type #

NFData Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Methods

rnf :: Subscribe -> () #

Hashable Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

AWSRequest Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Associated Types

type AWSResponse Subscribe #

ToHeaders Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Methods

toHeaders :: Subscribe -> [Header] #

ToPath Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

ToQuery Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

type Rep Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

type Rep Subscribe = D1 ('MetaData "Subscribe" "Amazonka.SNS.Subscribe" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "Subscribe'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "returnSubscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse Subscribe Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

newSubscribe Source #

Create a value of Subscribe with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:returnSubscriptionArn:Subscribe', subscribe_returnSubscriptionArn - Sets whether the response from the Subscribe request includes the subscription ARN, even if the subscription is not yet confirmed.

If you set this parameter to true, the response includes the ARN in all cases, even if the subscription is not yet confirmed. In addition to the ARN for confirmed subscriptions, the response also includes the pending subscription ARN value for subscriptions that aren't yet confirmed. A subscription becomes confirmed when the subscriber calls the ConfirmSubscription action with a confirmation token.

The default value is false.

$sel:attributes:Subscribe', subscribe_attributes - A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the Subscribe action uses:

  • DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.
  • FilterPolicy – The simple JSON object that lets your subscriber receive only a subset of messages, rather than receiving every message published to the topic.
  • RawMessageDelivery – When set to true, enables raw message delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is otherwise created for Amazon SNS metadata.
  • RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

  • SubscriptionRoleArn – The ARN of the IAM role that has the following:

    • Permission to write to the Kinesis Data Firehose delivery stream
    • Amazon SNS listed as a trusted entity

    Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide.

$sel:endpoint:Subscribe', subscribe_endpoint - The endpoint that you want to receive notifications. Endpoints vary by protocol:

  • For the http protocol, the (public) endpoint is a URL beginning with http://.
  • For the https protocol, the (public) endpoint is a URL beginning with https://.
  • For the email protocol, the endpoint is an email address.
  • For the email-json protocol, the endpoint is an email address.
  • For the sms protocol, the endpoint is a phone number of an SMS-enabled device.
  • For the sqs protocol, the endpoint is the ARN of an Amazon SQS queue.
  • For the application protocol, the endpoint is the EndpointArn of a mobile app and device.
  • For the lambda protocol, the endpoint is the ARN of an Lambda function.
  • For the firehose protocol, the endpoint is the ARN of an Amazon Kinesis Data Firehose delivery stream.

$sel:topicArn:Subscribe', subscribe_topicArn - The ARN of the topic you want to subscribe to.

$sel:protocol:Subscribe', subscribe_protocol - The protocol that you want to use. Supported protocols include:

  • http – delivery of JSON-encoded message via HTTP POST
  • https – delivery of JSON-encoded message via HTTPS POST
  • email – delivery of message via SMTP
  • email-json – delivery of JSON-encoded message via SMTP
  • sms – delivery of message via SMS
  • sqs – delivery of JSON-encoded message to an Amazon SQS queue
  • application – delivery of JSON-encoded message to an EndpointArn for a mobile app and device
  • lambda – delivery of JSON-encoded message to an Lambda function
  • firehose – delivery of JSON-encoded message to an Amazon Kinesis Data Firehose delivery stream.

data SubscribeResponse Source #

Response for Subscribe action.

See: newSubscribeResponse smart constructor.

Instances

Instances details
Eq SubscribeResponse Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Read SubscribeResponse Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Show SubscribeResponse Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Generic SubscribeResponse Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Associated Types

type Rep SubscribeResponse :: Type -> Type #

NFData SubscribeResponse Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

Methods

rnf :: SubscribeResponse -> () #

type Rep SubscribeResponse Source # 
Instance details

Defined in Amazonka.SNS.Subscribe

type Rep SubscribeResponse = D1 ('MetaData "SubscribeResponse" "Amazonka.SNS.Subscribe" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SubscribeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSubscribeResponse Source #

Create a value of SubscribeResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:subscriptionArn:SubscribeResponse', subscribeResponse_subscriptionArn - The ARN of the subscription if it is confirmed, or the string "pending confirmation" if the subscription requires confirmation. However, if the API request parameter ReturnSubscriptionArn is true, then the value is always the subscription ARN, even if the subscription requires confirmation.

$sel:httpStatus:SubscribeResponse', subscribeResponse_httpStatus - The response's http status code.

ListOriginationNumbers (Paginated)

data ListOriginationNumbers Source #

See: newListOriginationNumbers smart constructor.

Instances

Instances details
Eq ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Read ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Show ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Generic ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Associated Types

type Rep ListOriginationNumbers :: Type -> Type #

NFData ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Methods

rnf :: ListOriginationNumbers -> () #

Hashable ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

AWSPager ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

AWSRequest ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Associated Types

type AWSResponse ListOriginationNumbers #

ToHeaders ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

ToPath ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

ToQuery ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

type Rep ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

type Rep ListOriginationNumbers = D1 ('MetaData "ListOriginationNumbers" "Amazonka.SNS.ListOriginationNumbers" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListOriginationNumbers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListOriginationNumbers Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

newListOriginationNumbers :: ListOriginationNumbers Source #

Create a value of ListOriginationNumbers with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListOriginationNumbers', listOriginationNumbers_nextToken - Token that the previous ListOriginationNumbers request returns.

$sel:maxResults:ListOriginationNumbers', listOriginationNumbers_maxResults - The maximum number of origination numbers to return.

data ListOriginationNumbersResponse Source #

See: newListOriginationNumbersResponse smart constructor.

Instances

Instances details
Eq ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Read ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Show ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Generic ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

Associated Types

type Rep ListOriginationNumbersResponse :: Type -> Type #

NFData ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

type Rep ListOriginationNumbersResponse Source # 
Instance details

Defined in Amazonka.SNS.ListOriginationNumbers

type Rep ListOriginationNumbersResponse = D1 ('MetaData "ListOriginationNumbersResponse" "Amazonka.SNS.ListOriginationNumbers" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ListOriginationNumbersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "phoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumberInformation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListOriginationNumbersResponse Source #

Create a value of ListOriginationNumbersResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListOriginationNumbers', listOriginationNumbersResponse_nextToken - A NextToken string is returned when you call the ListOriginationNumbers operation if additional pages of records are available.

$sel:phoneNumbers:ListOriginationNumbersResponse', listOriginationNumbersResponse_phoneNumbers - A list of the calling account's verified and pending origination numbers.

$sel:httpStatus:ListOriginationNumbersResponse', listOriginationNumbersResponse_httpStatus - The response's http status code.

UntagResource

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' Text [Text] 

Instances

Instances details
Eq UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

Read UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

Generic UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

NFData UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

Methods

rnf :: UntagResource -> () #

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

Associated Types

type AWSResponse UntagResource #

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.SNS.UntagResource" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

newUntagResource Source #

Create a value of UntagResource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceArn:UntagResource', untagResource_resourceArn - The ARN of the topic from which to remove tags.

$sel:tagKeys:UntagResource', untagResource_tagKeys - The list of tag keys to remove from the specified topic.

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Instances

Instances details
Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SNS.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.SNS.UntagResource" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUntagResourceResponse Source #

Create a value of UntagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UntagResourceResponse', untagResourceResponse_httpStatus - The response's http status code.

Unsubscribe

data Unsubscribe Source #

Input for Unsubscribe action.

See: newUnsubscribe smart constructor.

Constructors

Unsubscribe' Text 

Instances

Instances details
Eq Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

Read Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

Show Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

Generic Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

Associated Types

type Rep Unsubscribe :: Type -> Type #

NFData Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

Methods

rnf :: Unsubscribe -> () #

Hashable Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

AWSRequest Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

Associated Types

type AWSResponse Unsubscribe #

ToHeaders Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

Methods

toHeaders :: Unsubscribe -> [Header] #

ToPath Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

ToQuery Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

type Rep Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

type Rep Unsubscribe = D1 ('MetaData "Unsubscribe" "Amazonka.SNS.Unsubscribe" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "Unsubscribe'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse Unsubscribe Source # 
Instance details

Defined in Amazonka.SNS.Unsubscribe

newUnsubscribe Source #

Create a value of Unsubscribe with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:subscriptionArn:Unsubscribe', unsubscribe_subscriptionArn - The ARN of the subscription to be deleted.

data UnsubscribeResponse Source #

See: newUnsubscribeResponse smart constructor.

Constructors

UnsubscribeResponse' 

newUnsubscribeResponse :: UnsubscribeResponse Source #

Create a value of UnsubscribeResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

GetSMSSandboxAccountStatus

data GetSMSSandboxAccountStatus Source #

See: newGetSMSSandboxAccountStatus smart constructor.

Instances

Instances details
Eq GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

Read GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

Show GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

Generic GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

Associated Types

type Rep GetSMSSandboxAccountStatus :: Type -> Type #

NFData GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

Hashable GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

AWSRequest GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

ToHeaders GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

ToPath GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

ToQuery GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

type Rep GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

type Rep GetSMSSandboxAccountStatus = D1 ('MetaData "GetSMSSandboxAccountStatus" "Amazonka.SNS.GetSMSSandboxAccountStatus" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetSMSSandboxAccountStatus'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetSMSSandboxAccountStatus Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

newGetSMSSandboxAccountStatus :: GetSMSSandboxAccountStatus Source #

Create a value of GetSMSSandboxAccountStatus with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

data GetSMSSandboxAccountStatusResponse Source #

Instances

Instances details
Eq GetSMSSandboxAccountStatusResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

Read GetSMSSandboxAccountStatusResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

Show GetSMSSandboxAccountStatusResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

Generic GetSMSSandboxAccountStatusResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

Associated Types

type Rep GetSMSSandboxAccountStatusResponse :: Type -> Type #

NFData GetSMSSandboxAccountStatusResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

type Rep GetSMSSandboxAccountStatusResponse Source # 
Instance details

Defined in Amazonka.SNS.GetSMSSandboxAccountStatus

type Rep GetSMSSandboxAccountStatusResponse = D1 ('MetaData "GetSMSSandboxAccountStatusResponse" "Amazonka.SNS.GetSMSSandboxAccountStatus" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetSMSSandboxAccountStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "isInSandbox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newGetSMSSandboxAccountStatusResponse Source #

Create a value of GetSMSSandboxAccountStatusResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:GetSMSSandboxAccountStatusResponse', getSMSSandboxAccountStatusResponse_httpStatus - The response's http status code.

$sel:isInSandbox:GetSMSSandboxAccountStatusResponse', getSMSSandboxAccountStatusResponse_isInSandbox - Indicates whether the calling account is in the SMS sandbox.

SetEndpointAttributes

data SetEndpointAttributes Source #

Input for SetEndpointAttributes action.

See: newSetEndpointAttributes smart constructor.

Instances

Instances details
Eq SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

Read SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

Show SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

Generic SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

Associated Types

type Rep SetEndpointAttributes :: Type -> Type #

NFData SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

Methods

rnf :: SetEndpointAttributes -> () #

Hashable SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

AWSRequest SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

Associated Types

type AWSResponse SetEndpointAttributes #

ToHeaders SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

ToPath SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

ToQuery SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

type Rep SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

type Rep SetEndpointAttributes = D1 ('MetaData "SetEndpointAttributes" "Amazonka.SNS.SetEndpointAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SetEndpointAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))
type AWSResponse SetEndpointAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

newSetEndpointAttributes Source #

Create a value of SetEndpointAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:endpointArn:SetEndpointAttributes', setEndpointAttributes_endpointArn - EndpointArn used for SetEndpointAttributes action.

$sel:attributes:SetEndpointAttributes', setEndpointAttributes_attributes - A map of the endpoint attributes. Attributes in this map include the following:

  • CustomUserData – arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.
  • Enabled – flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token.
  • Token – device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service.

data SetEndpointAttributesResponse Source #

See: newSetEndpointAttributesResponse smart constructor.

Instances

Instances details
Eq SetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

Read SetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

Show SetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

Generic SetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

Associated Types

type Rep SetEndpointAttributesResponse :: Type -> Type #

NFData SetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

type Rep SetEndpointAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetEndpointAttributes

type Rep SetEndpointAttributesResponse = D1 ('MetaData "SetEndpointAttributesResponse" "Amazonka.SNS.SetEndpointAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SetEndpointAttributesResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSetEndpointAttributesResponse :: SetEndpointAttributesResponse Source #

Create a value of SetEndpointAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

SetSubscriptionAttributes

data SetSubscriptionAttributes Source #

Input for SetSubscriptionAttributes action.

See: newSetSubscriptionAttributes smart constructor.

Instances

Instances details
Eq SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

Read SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

Show SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

Generic SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

Associated Types

type Rep SetSubscriptionAttributes :: Type -> Type #

NFData SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

Hashable SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

AWSRequest SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

ToHeaders SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

ToPath SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

ToQuery SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

type Rep SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

type Rep SetSubscriptionAttributes = D1 ('MetaData "SetSubscriptionAttributes" "Amazonka.SNS.SetSubscriptionAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SetSubscriptionAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse SetSubscriptionAttributes Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

newSetSubscriptionAttributes Source #

Create a value of SetSubscriptionAttributes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributeValue:SetSubscriptionAttributes', setSubscriptionAttributes_attributeValue - The new value for the attribute in JSON format.

$sel:subscriptionArn:SetSubscriptionAttributes', setSubscriptionAttributes_subscriptionArn - The ARN of the subscription to modify.

$sel:attributeName:SetSubscriptionAttributes', setSubscriptionAttributes_attributeName - A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that this action uses:

  • DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.
  • FilterPolicy – The simple JSON object that lets your subscriber receive only a subset of messages, rather than receiving every message published to the topic.
  • RawMessageDelivery – When set to true, enables raw message delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is otherwise created for Amazon SNS metadata.
  • RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

  • SubscriptionRoleArn – The ARN of the IAM role that has the following:

    • Permission to write to the Kinesis Data Firehose delivery stream
    • Amazon SNS listed as a trusted entity

    Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide.

data SetSubscriptionAttributesResponse Source #

See: newSetSubscriptionAttributesResponse smart constructor.

Instances

Instances details
Eq SetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

Read SetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

Show SetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

Generic SetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

Associated Types

type Rep SetSubscriptionAttributesResponse :: Type -> Type #

NFData SetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

type Rep SetSubscriptionAttributesResponse Source # 
Instance details

Defined in Amazonka.SNS.SetSubscriptionAttributes

type Rep SetSubscriptionAttributesResponse = D1 ('MetaData "SetSubscriptionAttributesResponse" "Amazonka.SNS.SetSubscriptionAttributes" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SetSubscriptionAttributesResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSetSubscriptionAttributesResponse :: SetSubscriptionAttributesResponse Source #

Create a value of SetSubscriptionAttributesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

ConfirmSubscription

data ConfirmSubscription Source #

Input for ConfirmSubscription action.

See: newConfirmSubscription smart constructor.

Instances

Instances details
Eq ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

Read ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

Show ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

Generic ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

Associated Types

type Rep ConfirmSubscription :: Type -> Type #

NFData ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

Methods

rnf :: ConfirmSubscription -> () #

Hashable ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

AWSRequest ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

Associated Types

type AWSResponse ConfirmSubscription #

ToHeaders ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

ToPath ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

ToQuery ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

type Rep ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

type Rep ConfirmSubscription = D1 ('MetaData "ConfirmSubscription" "Amazonka.SNS.ConfirmSubscription" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ConfirmSubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authenticateOnUnsubscribe") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ConfirmSubscription Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

newConfirmSubscription Source #

Create a value of ConfirmSubscription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:authenticateOnUnsubscribe:ConfirmSubscription', confirmSubscription_authenticateOnUnsubscribe - Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication.

$sel:topicArn:ConfirmSubscription', confirmSubscription_topicArn - The ARN of the topic for which you wish to confirm a subscription.

$sel:token:ConfirmSubscription', confirmSubscription_token - Short-lived token sent to an endpoint during the Subscribe action.

data ConfirmSubscriptionResponse Source #

Response for ConfirmSubscriptions action.

See: newConfirmSubscriptionResponse smart constructor.

Instances

Instances details
Eq ConfirmSubscriptionResponse Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

Read ConfirmSubscriptionResponse Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

Show ConfirmSubscriptionResponse Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

Generic ConfirmSubscriptionResponse Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

Associated Types

type Rep ConfirmSubscriptionResponse :: Type -> Type #

NFData ConfirmSubscriptionResponse Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

type Rep ConfirmSubscriptionResponse Source # 
Instance details

Defined in Amazonka.SNS.ConfirmSubscription

type Rep ConfirmSubscriptionResponse = D1 ('MetaData "ConfirmSubscriptionResponse" "Amazonka.SNS.ConfirmSubscription" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "ConfirmSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newConfirmSubscriptionResponse Source #

Create a value of ConfirmSubscriptionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:subscriptionArn:ConfirmSubscriptionResponse', confirmSubscriptionResponse_subscriptionArn - The ARN of the created subscription.

$sel:httpStatus:ConfirmSubscriptionResponse', confirmSubscriptionResponse_httpStatus - The response's http status code.

Publish

data Publish Source #

Input for Publish action.

See: newPublish smart constructor.

Instances

Instances details
Eq Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

Methods

(==) :: Publish -> Publish -> Bool #

(/=) :: Publish -> Publish -> Bool #

Read Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

Show Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

Generic Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

Associated Types

type Rep Publish :: Type -> Type #

Methods

from :: Publish -> Rep Publish x #

to :: Rep Publish x -> Publish #

NFData Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

Methods

rnf :: Publish -> () #

Hashable Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

Methods

hashWithSalt :: Int -> Publish -> Int #

hash :: Publish -> Int #

AWSRequest Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

Associated Types

type AWSResponse Publish #

ToHeaders Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

Methods

toHeaders :: Publish -> [Header] #

ToPath Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

Methods

toPath :: Publish -> ByteString #

ToQuery Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

type Rep Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

type AWSResponse Publish Source # 
Instance details

Defined in Amazonka.SNS.Publish

newPublish Source #

Create a value of Publish with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:subject:Publish', publish_subject - Optional parameter to be used as the "Subject" line when the message is delivered to email endpoints. This field will also be included, if present, in the standard JSON messages delivered to other endpoints.

Constraints: Subjects must be ASCII text that begins with a letter, number, or punctuation mark; must not include line breaks or control characters; and must be less than 100 characters long.

$sel:targetArn:Publish', publish_targetArn - If you don't specify a value for the TargetArn parameter, you must specify a value for the PhoneNumber or TopicArn parameters.

$sel:messageAttributes:Publish', publish_messageAttributes - Message attributes for Publish action.

$sel:topicArn:Publish', publish_topicArn - The topic you want to publish to.

If you don't specify a value for the TopicArn parameter, you must specify a value for the PhoneNumber or TargetArn parameters.

$sel:phoneNumber:Publish', publish_phoneNumber - The phone number to which you want to deliver an SMS message. Use E.164 format.

If you don't specify a value for the PhoneNumber parameter, you must specify a value for the TargetArn or TopicArn parameters.

$sel:messageDeduplicationId:Publish', publish_messageDeduplicationId - This parameter applies only to FIFO (first-in-first-out) topics. The MessageDeduplicationId can contain up to 128 alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~).

Every message must have a unique MessageDeduplicationId, which is a token used for deduplication of sent messages. If a message with a particular MessageDeduplicationId is sent successfully, any message sent with the same MessageDeduplicationId during the 5-minute deduplication interval is treated as a duplicate.

If the topic has ContentBasedDeduplication set, the system generates a MessageDeduplicationId based on the contents of the message. Your MessageDeduplicationId overrides the generated one.

$sel:messageStructure:Publish', publish_messageStructure - Set MessageStructure to json if you want to send a different message for each protocol. For example, using one publish action, you can send a short message to your SMS subscribers and a longer message to your email subscribers. If you set MessageStructure to json, the value of the Message parameter must:

  • be a syntactically valid JSON object; and
  • contain at least a top-level JSON key of "default" with a value that is a string.

You can define other top-level keys that define the message you want to send to a specific transport protocol (e.g., "http").

Valid value: json

$sel:messageGroupId:Publish', publish_messageGroupId - This parameter applies only to FIFO (first-in-first-out) topics. The MessageGroupId can contain up to 128 alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~).

The MessageGroupId is a tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). Every message must include a MessageGroupId.

$sel:message:Publish', publish_message - The message you want to send.

If you are publishing to a topic and you want to send the same message to all transport protocols, include the text of the message as a String value. If you want to send different messages for each transport protocol, set the value of the MessageStructure parameter to json and use a JSON object for the Message parameter.

Constraints:

  • With the exception of SMS, messages must be UTF-8 encoded strings and at most 256 KB in size (262,144 bytes, not 262,144 characters).
  • For SMS, each message can contain up to 140 characters. This character limit depends on the encoding schema. For example, an SMS message can contain 160 GSM characters, 140 ASCII characters, or 70 UCS-2 characters.

    If you publish a message that exceeds this size limit, Amazon SNS sends the message as multiple messages, each fitting within the size limit. Messages aren't truncated mid-word but are cut off at whole-word boundaries.

    The total size limit for a single SMS Publish action is 1,600 characters.

JSON-specific constraints:

  • Keys in the JSON object that correspond to supported transport protocols must have simple JSON string values.
  • The values will be parsed (unescaped) before they are used in outgoing messages.
  • Outbound notifications are JSON encoded (meaning that the characters will be reescaped for sending).
  • Values have a minimum length of 0 (the empty string, "", is allowed).
  • Values have a maximum length bounded by the overall message size (so, including multiple protocols may limit message sizes).
  • Non-string values will cause the key to be ignored.
  • Keys that do not correspond to supported transport protocols are ignored.
  • Duplicate keys are not allowed.
  • Failure to parse or validate any key or value in the message will cause the Publish call to return an error (no partial delivery).

data PublishResponse Source #

Response for Publish action.

See: newPublishResponse smart constructor.

Instances

Instances details
Eq PublishResponse Source # 
Instance details

Defined in Amazonka.SNS.Publish

Read PublishResponse Source # 
Instance details

Defined in Amazonka.SNS.Publish

Show PublishResponse Source # 
Instance details

Defined in Amazonka.SNS.Publish

Generic PublishResponse Source # 
Instance details

Defined in Amazonka.SNS.Publish

Associated Types

type Rep PublishResponse :: Type -> Type #

NFData PublishResponse Source # 
Instance details

Defined in Amazonka.SNS.Publish

Methods

rnf :: PublishResponse -> () #

type Rep PublishResponse Source # 
Instance details

Defined in Amazonka.SNS.Publish

type Rep PublishResponse = D1 ('MetaData "PublishResponse" "Amazonka.SNS.Publish" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "PublishResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPublishResponse Source #

Create a value of PublishResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sequenceNumber:PublishResponse', publishResponse_sequenceNumber - This response element applies only to FIFO (first-in-first-out) topics.

The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of SequenceNumber is 128 bits. SequenceNumber continues to increase for each MessageGroupId.

$sel:messageId:PublishResponse', publishResponse_messageId - Unique identifier assigned to the published message.

Length Constraint: Maximum 100 characters

$sel:httpStatus:PublishResponse', publishResponse_httpStatus - The response's http status code.

Types

LanguageCodeString

newtype LanguageCodeString Source #

Supported language code for sending OTP message

Instances

Instances details
Eq LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Ord LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Read LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Show LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Generic LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Associated Types

type Rep LanguageCodeString :: Type -> Type #

NFData LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Methods

rnf :: LanguageCodeString -> () #

Hashable LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToJSON LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToJSONKey LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

FromJSON LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

FromJSONKey LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToLog LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToHeader LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToQuery LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

FromXML LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToXML LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToByteString LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

FromText LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToText LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

type Rep LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

type Rep LanguageCodeString = D1 ('MetaData "LanguageCodeString" "Amazonka.SNS.Types.LanguageCodeString" "libZSservicesZSamazonka-snsZSamazonka-sns" 'True) (C1 ('MetaCons "LanguageCodeString'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLanguageCodeString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

NumberCapability

newtype NumberCapability Source #

Enum listing out all supported number capabilities.

Instances

Instances details
Eq NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Ord NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Read NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Show NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Generic NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Associated Types

type Rep NumberCapability :: Type -> Type #

NFData NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Methods

rnf :: NumberCapability -> () #

Hashable NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToJSON NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToJSONKey NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

FromJSON NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

FromJSONKey NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToLog NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToHeader NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToQuery NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

FromXML NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToXML NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToByteString NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

FromText NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToText NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

type Rep NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

type Rep NumberCapability = D1 ('MetaData "NumberCapability" "Amazonka.SNS.Types.NumberCapability" "libZSservicesZSamazonka-snsZSamazonka-sns" 'True) (C1 ('MetaCons "NumberCapability'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromNumberCapability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RouteType

newtype RouteType Source #

Enum listing out all supported route types. The following enum values are supported. 1. Transactional : Non-marketing traffic 2. Promotional : Marketing 3. Premium : Premium routes for OTP delivery to the carriers

Constructors

RouteType' 

Fields

Instances

Instances details
Eq RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Ord RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Read RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Show RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Generic RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Associated Types

type Rep RouteType :: Type -> Type #

NFData RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Methods

rnf :: RouteType -> () #

Hashable RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToJSON RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToJSONKey RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

FromJSON RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

FromJSONKey RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToLog RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToHeader RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToQuery RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

FromXML RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToXML RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Methods

toXML :: RouteType -> XML #

ToByteString RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Methods

toBS :: RouteType -> ByteString #

FromText RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToText RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Methods

toText :: RouteType -> Text #

type Rep RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

type Rep RouteType = D1 ('MetaData "RouteType" "Amazonka.SNS.Types.RouteType" "libZSservicesZSamazonka-snsZSamazonka-sns" 'True) (C1 ('MetaCons "RouteType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRouteType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SMSSandboxPhoneNumberVerificationStatus

newtype SMSSandboxPhoneNumberVerificationStatus Source #

Enum listing out all supported destination phone number verification statuses. The following enum values are supported. 1. PENDING : The destination phone number is pending verification. 2. VERIFIED : The destination phone number is verified.

Instances

Instances details
Eq SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

Ord SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

Read SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

Show SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

Generic SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

NFData SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

Hashable SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToJSON SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToJSONKey SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

FromJSON SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

FromJSONKey SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToLog SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToHeader SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToQuery SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

FromXML SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToXML SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToByteString SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

FromText SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToText SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

type Rep SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

type Rep SMSSandboxPhoneNumberVerificationStatus = D1 ('MetaData "SMSSandboxPhoneNumberVerificationStatus" "Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus" "libZSservicesZSamazonka-snsZSamazonka-sns" 'True) (C1 ('MetaCons "SMSSandboxPhoneNumberVerificationStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSMSSandboxPhoneNumberVerificationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Endpoint

data Endpoint Source #

Endpoint for mobile app and device.

See: newEndpoint smart constructor.

Constructors

Endpoint' (Maybe (HashMap Text Text)) (Maybe Text) 

Instances

Instances details
Eq Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Read Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Show Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Generic Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Associated Types

type Rep Endpoint :: Type -> Type #

Methods

from :: Endpoint -> Rep Endpoint x #

to :: Rep Endpoint x -> Endpoint #

NFData Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Methods

rnf :: Endpoint -> () #

Hashable Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Methods

hashWithSalt :: Int -> Endpoint -> Int #

hash :: Endpoint -> Int #

FromXML Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

type Rep Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

type Rep Endpoint = D1 ('MetaData "Endpoint" "Amazonka.SNS.Types.Endpoint" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "Endpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newEndpoint :: Endpoint Source #

Create a value of Endpoint with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:Endpoint', endpoint_attributes - Attributes for endpoint.

$sel:endpointArn:Endpoint', endpoint_endpointArn - EndpointArn for mobile app and device.

MessageAttributeValue

data MessageAttributeValue Source #

The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see Publish.

Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes). For more information, see Amazon SNS message attributes and Publishing to a mobile phone in the Amazon SNS Developer Guide.

See: newMessageAttributeValue smart constructor.

Instances

Instances details
Eq MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

Read MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

Show MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

Generic MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

Associated Types

type Rep MessageAttributeValue :: Type -> Type #

NFData MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

Methods

rnf :: MessageAttributeValue -> () #

Hashable MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

ToQuery MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

type Rep MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

type Rep MessageAttributeValue = D1 ('MetaData "MessageAttributeValue" "Amazonka.SNS.Types.MessageAttributeValue" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "MessageAttributeValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "binaryValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: (S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newMessageAttributeValue Source #

Create a value of MessageAttributeValue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:binaryValue:MessageAttributeValue', messageAttributeValue_binaryValue - Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:stringValue:MessageAttributeValue', messageAttributeValue_stringValue - Strings are Unicode with UTF8 binary encoding. For a list of code values, see ASCII Printable Characters.

$sel:dataType:MessageAttributeValue', messageAttributeValue_dataType - Amazon SNS supports the following logical data types: String, String.Array, Number, and Binary. For more information, see Message Attribute Data Types.

PhoneNumberInformation

data PhoneNumberInformation Source #

A list of phone numbers and their metadata.

See: newPhoneNumberInformation smart constructor.

Instances

Instances details
Eq PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Read PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Show PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Generic PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Associated Types

type Rep PhoneNumberInformation :: Type -> Type #

NFData PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Methods

rnf :: PhoneNumberInformation -> () #

Hashable PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

FromXML PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

type Rep PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

type Rep PhoneNumberInformation = D1 ('MetaData "PhoneNumberInformation" "Amazonka.SNS.Types.PhoneNumberInformation" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "PhoneNumberInformation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "iso2CountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "numberCapabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NumberCapability])) :*: S1 ('MetaSel ('Just "routeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteType))))))

newPhoneNumberInformation :: PhoneNumberInformation Source #

Create a value of PhoneNumberInformation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:PhoneNumberInformation', phoneNumberInformation_status - The status of the phone number.

$sel:iso2CountryCode:PhoneNumberInformation', phoneNumberInformation_iso2CountryCode - The two-character code for the country or region, in ISO 3166-1 alpha-2 format.

$sel:createdAt:PhoneNumberInformation', phoneNumberInformation_createdAt - The date and time when the phone number was created.

$sel:phoneNumber:PhoneNumberInformation', phoneNumberInformation_phoneNumber - The phone number.

$sel:numberCapabilities:PhoneNumberInformation', phoneNumberInformation_numberCapabilities - The capabilities of each phone number.

$sel:routeType:PhoneNumberInformation', phoneNumberInformation_routeType - The list of supported routes.

PlatformApplication

data PlatformApplication Source #

Platform application object.

See: newPlatformApplication smart constructor.

Instances

Instances details
Eq PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

Read PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

Show PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

Generic PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

Associated Types

type Rep PlatformApplication :: Type -> Type #

NFData PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

Methods

rnf :: PlatformApplication -> () #

Hashable PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

FromXML PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

type Rep PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

type Rep PlatformApplication = D1 ('MetaData "PlatformApplication" "Amazonka.SNS.Types.PlatformApplication" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "PlatformApplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "platformApplicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))

newPlatformApplication :: PlatformApplication Source #

Create a value of PlatformApplication with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:platformApplicationArn:PlatformApplication', platformApplication_platformApplicationArn - PlatformApplicationArn for platform application object.

$sel:attributes:PlatformApplication', platformApplication_attributes - Attributes for platform application object.

SMSSandboxPhoneNumber

data SMSSandboxPhoneNumber Source #

A verified or pending destination phone number in the SMS sandbox.

When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

See: newSMSSandboxPhoneNumber smart constructor.

Instances

Instances details
Eq SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

Read SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

Show SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

Generic SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

Associated Types

type Rep SMSSandboxPhoneNumber :: Type -> Type #

NFData SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

Methods

rnf :: SMSSandboxPhoneNumber -> () #

Hashable SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

FromXML SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

type Rep SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

type Rep SMSSandboxPhoneNumber = D1 ('MetaData "SMSSandboxPhoneNumber" "Amazonka.SNS.Types.SMSSandboxPhoneNumber" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "SMSSandboxPhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SMSSandboxPhoneNumberVerificationStatus)) :*: S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSMSSandboxPhoneNumber :: SMSSandboxPhoneNumber Source #

Create a value of SMSSandboxPhoneNumber with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:SMSSandboxPhoneNumber', sMSSandboxPhoneNumber_status - The destination phone number's verification status.

$sel:phoneNumber:SMSSandboxPhoneNumber', sMSSandboxPhoneNumber_phoneNumber - The destination phone number.

Subscription

data Subscription Source #

A wrapper type for the attributes of an Amazon SNS subscription.

See: newSubscription smart constructor.

Instances

Instances details
Eq Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

Read Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

Show Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

Generic Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

Associated Types

type Rep Subscription :: Type -> Type #

NFData Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

Methods

rnf :: Subscription -> () #

Hashable Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

FromXML Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

type Rep Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

type Rep Subscription = D1 ('MetaData "Subscription" "Amazonka.SNS.Types.Subscription" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "Subscription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newSubscription :: Subscription Source #

Create a value of Subscription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:protocol:Subscription', subscription_protocol - The subscription's protocol.

$sel:owner:Subscription', subscription_owner - The subscription's owner.

$sel:topicArn:Subscription', subscription_topicArn - The ARN of the subscription's topic.

$sel:endpoint:Subscription', subscription_endpoint - The subscription's endpoint (format depends on the protocol).

$sel:subscriptionArn:Subscription', subscription_subscriptionArn - The subscription's ARN.

Tag

data Tag Source #

The list of tags to be added to the specified topic.

See: newTag smart constructor.

Constructors

Tag' Text Text 

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Read Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToQuery Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

toQuery :: Tag -> QueryString #

FromXML Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

parseXML :: [Node] -> Either String Tag #

type Rep Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.SNS.Types.Tag" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:key:Tag', tag_key - The required key portion of the tag.

$sel:value:Tag', tag_value - The optional value portion of the tag.

Topic

data Topic Source #

A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use GetTopicAttributes.

See: newTopic smart constructor.

Constructors

Topic' (Maybe Text) 

Instances

Instances details
Eq Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

(==) :: Topic -> Topic -> Bool #

(/=) :: Topic -> Topic -> Bool #

Read Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Show Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

showsPrec :: Int -> Topic -> ShowS #

show :: Topic -> String #

showList :: [Topic] -> ShowS #

Generic Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Associated Types

type Rep Topic :: Type -> Type #

Methods

from :: Topic -> Rep Topic x #

to :: Rep Topic x -> Topic #

NFData Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

rnf :: Topic -> () #

Hashable Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

hashWithSalt :: Int -> Topic -> Int #

hash :: Topic -> Int #

FromXML Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

parseXML :: [Node] -> Either String Topic #

type Rep Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

type Rep Topic = D1 ('MetaData "Topic" "Amazonka.SNS.Types.Topic" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "Topic'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTopic :: Topic Source #

Create a value of Topic with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:topicArn:Topic', topic_topicArn - The topic's ARN.