| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Amazonka.SNS
Contents
- Service Configuration
- Errors
- AuthorizationErrorException
- BatchEntryIdsNotDistinctException
- BatchRequestTooLongException
- ConcurrentAccessException
- EmptyBatchRequestException
- EndpointDisabledException
- FilterPolicyLimitExceededException
- InternalErrorException
- InvalidBatchEntryIdException
- InvalidParameterException
- InvalidParameterValueException
- InvalidSecurityException
- KMSAccessDeniedException
- KMSDisabledException
- KMSInvalidStateException
- KMSNotFoundException
- KMSOptInRequired
- KMSThrottlingException
- NotFoundException
- OptedOutException
- PlatformApplicationDisabledException
- ResourceNotFoundException
- StaleTagException
- SubscriptionLimitExceededException
- TagLimitExceededException
- TagPolicyException
- ThrottledException
- TooManyEntriesInBatchRequestException
- TopicLimitExceededException
- UserErrorException
- ValidationException
- VerificationException
- Waiters
- Operations
- AddPermission
- CheckIfPhoneNumberIsOptedOut
- ConfirmSubscription
- CreatePlatformApplication
- CreatePlatformEndpoint
- CreateSMSSandboxPhoneNumber
- CreateTopic
- DeleteEndpoint
- DeletePlatformApplication
- DeleteSMSSandboxPhoneNumber
- DeleteTopic
- GetDataProtectionPolicy
- GetEndpointAttributes
- GetPlatformApplicationAttributes
- GetSMSAttributes
- GetSMSSandboxAccountStatus
- GetSubscriptionAttributes
- GetTopicAttributes
- ListEndpointsByPlatformApplication (Paginated)
- ListOriginationNumbers (Paginated)
- ListPhoneNumbersOptedOut (Paginated)
- ListPlatformApplications (Paginated)
- ListSMSSandboxPhoneNumbers (Paginated)
- ListSubscriptions (Paginated)
- ListSubscriptionsByTopic (Paginated)
- ListTagsForResource
- ListTopics (Paginated)
- OptInPhoneNumber
- Publish
- PublishBatch
- PutDataProtectionPolicy
- RemovePermission
- SetEndpointAttributes
- SetPlatformApplicationAttributes
- SetSMSAttributes
- SetSubscriptionAttributes
- SetTopicAttributes
- Subscribe
- TagResource
- Unsubscribe
- UntagResource
- VerifySMSSandboxPhoneNumber
- Types
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
- defaultService :: Service
- _AuthorizationErrorException :: AsError a => Fold a ServiceError
- _BatchEntryIdsNotDistinctException :: AsError a => Fold a ServiceError
- _BatchRequestTooLongException :: AsError a => Fold a ServiceError
- _ConcurrentAccessException :: AsError a => Fold a ServiceError
- _EmptyBatchRequestException :: AsError a => Fold a ServiceError
- _EndpointDisabledException :: AsError a => Fold a ServiceError
- _FilterPolicyLimitExceededException :: AsError a => Fold a ServiceError
- _InternalErrorException :: AsError a => Fold a ServiceError
- _InvalidBatchEntryIdException :: AsError a => Fold a ServiceError
- _InvalidParameterException :: AsError a => Fold a ServiceError
- _InvalidParameterValueException :: AsError a => Fold a ServiceError
- _InvalidSecurityException :: AsError a => Fold a ServiceError
- _KMSAccessDeniedException :: AsError a => Fold a ServiceError
- _KMSDisabledException :: AsError a => Fold a ServiceError
- _KMSInvalidStateException :: AsError a => Fold a ServiceError
- _KMSNotFoundException :: AsError a => Fold a ServiceError
- _KMSOptInRequired :: AsError a => Fold a ServiceError
- _KMSThrottlingException :: AsError a => Fold a ServiceError
- _NotFoundException :: AsError a => Fold a ServiceError
- _OptedOutException :: AsError a => Fold a ServiceError
- _PlatformApplicationDisabledException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _StaleTagException :: AsError a => Fold a ServiceError
- _SubscriptionLimitExceededException :: AsError a => Fold a ServiceError
- _TagLimitExceededException :: AsError a => Fold a ServiceError
- _TagPolicyException :: AsError a => Fold a ServiceError
- _ThrottledException :: AsError a => Fold a ServiceError
- _TooManyEntriesInBatchRequestException :: AsError a => Fold a ServiceError
- _TopicLimitExceededException :: AsError a => Fold a ServiceError
- _UserErrorException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- _VerificationException :: AsError a => Fold a ServiceError
- data AddPermission = AddPermission' Text Text [Text] [Text]
- newAddPermission :: Text -> Text -> AddPermission
- data AddPermissionResponse = AddPermissionResponse'
- newAddPermissionResponse :: AddPermissionResponse
- data CheckIfPhoneNumberIsOptedOut = CheckIfPhoneNumberIsOptedOut' Text
- newCheckIfPhoneNumberIsOptedOut :: Text -> CheckIfPhoneNumberIsOptedOut
- data CheckIfPhoneNumberIsOptedOutResponse = CheckIfPhoneNumberIsOptedOutResponse' (Maybe Bool) Int
- newCheckIfPhoneNumberIsOptedOutResponse :: Int -> CheckIfPhoneNumberIsOptedOutResponse
- data ConfirmSubscription = ConfirmSubscription' (Maybe Text) Text Text
- newConfirmSubscription :: Text -> Text -> ConfirmSubscription
- data ConfirmSubscriptionResponse = ConfirmSubscriptionResponse' (Maybe Text) Int
- newConfirmSubscriptionResponse :: Int -> ConfirmSubscriptionResponse
- data CreatePlatformApplication = CreatePlatformApplication' Text Text (HashMap Text Text)
- newCreatePlatformApplication :: Text -> Text -> CreatePlatformApplication
- data CreatePlatformApplicationResponse = CreatePlatformApplicationResponse' (Maybe Text) Int
- newCreatePlatformApplicationResponse :: Int -> CreatePlatformApplicationResponse
- data CreatePlatformEndpoint = CreatePlatformEndpoint' (Maybe (HashMap Text Text)) (Maybe Text) Text Text
- newCreatePlatformEndpoint :: Text -> Text -> CreatePlatformEndpoint
- data CreatePlatformEndpointResponse = CreatePlatformEndpointResponse' (Maybe Text) Int
- newCreatePlatformEndpointResponse :: Int -> CreatePlatformEndpointResponse
- data CreateSMSSandboxPhoneNumber = CreateSMSSandboxPhoneNumber' (Maybe LanguageCodeString) Text
- newCreateSMSSandboxPhoneNumber :: Text -> CreateSMSSandboxPhoneNumber
- data CreateSMSSandboxPhoneNumberResponse = CreateSMSSandboxPhoneNumberResponse' Int
- newCreateSMSSandboxPhoneNumberResponse :: Int -> CreateSMSSandboxPhoneNumberResponse
- data CreateTopic = CreateTopic' (Maybe (HashMap Text Text)) (Maybe Text) (Maybe [Tag]) Text
- newCreateTopic :: Text -> CreateTopic
- data CreateTopicResponse = CreateTopicResponse' (Maybe Text) Int
- newCreateTopicResponse :: Int -> CreateTopicResponse
- data DeleteEndpoint = DeleteEndpoint' Text
- newDeleteEndpoint :: Text -> DeleteEndpoint
- data DeleteEndpointResponse = DeleteEndpointResponse'
- newDeleteEndpointResponse :: DeleteEndpointResponse
- data DeletePlatformApplication = DeletePlatformApplication' Text
- newDeletePlatformApplication :: Text -> DeletePlatformApplication
- data DeletePlatformApplicationResponse = DeletePlatformApplicationResponse'
- newDeletePlatformApplicationResponse :: DeletePlatformApplicationResponse
- data DeleteSMSSandboxPhoneNumber = DeleteSMSSandboxPhoneNumber' Text
- newDeleteSMSSandboxPhoneNumber :: Text -> DeleteSMSSandboxPhoneNumber
- data DeleteSMSSandboxPhoneNumberResponse = DeleteSMSSandboxPhoneNumberResponse' Int
- newDeleteSMSSandboxPhoneNumberResponse :: Int -> DeleteSMSSandboxPhoneNumberResponse
- data DeleteTopic = DeleteTopic' Text
- newDeleteTopic :: Text -> DeleteTopic
- data DeleteTopicResponse = DeleteTopicResponse'
- newDeleteTopicResponse :: DeleteTopicResponse
- data GetDataProtectionPolicy = GetDataProtectionPolicy' Text
- newGetDataProtectionPolicy :: Text -> GetDataProtectionPolicy
- data GetDataProtectionPolicyResponse = GetDataProtectionPolicyResponse' (Maybe Text) Int
- newGetDataProtectionPolicyResponse :: Int -> GetDataProtectionPolicyResponse
- data GetEndpointAttributes = GetEndpointAttributes' Text
- newGetEndpointAttributes :: Text -> GetEndpointAttributes
- data GetEndpointAttributesResponse = GetEndpointAttributesResponse' (Maybe (HashMap Text Text)) Int
- newGetEndpointAttributesResponse :: Int -> GetEndpointAttributesResponse
- data GetPlatformApplicationAttributes = GetPlatformApplicationAttributes' Text
- newGetPlatformApplicationAttributes :: Text -> GetPlatformApplicationAttributes
- data GetPlatformApplicationAttributesResponse = GetPlatformApplicationAttributesResponse' (Maybe (HashMap Text Text)) Int
- newGetPlatformApplicationAttributesResponse :: Int -> GetPlatformApplicationAttributesResponse
- data GetSMSAttributes = GetSMSAttributes' (Maybe [Text])
- newGetSMSAttributes :: GetSMSAttributes
- data GetSMSAttributesResponse = GetSMSAttributesResponse' (Maybe (HashMap Text Text)) Int
- newGetSMSAttributesResponse :: Int -> GetSMSAttributesResponse
- data GetSMSSandboxAccountStatus = GetSMSSandboxAccountStatus'
- newGetSMSSandboxAccountStatus :: GetSMSSandboxAccountStatus
- data GetSMSSandboxAccountStatusResponse = GetSMSSandboxAccountStatusResponse' Int Bool
- newGetSMSSandboxAccountStatusResponse :: Int -> Bool -> GetSMSSandboxAccountStatusResponse
- data GetSubscriptionAttributes = GetSubscriptionAttributes' Text
- newGetSubscriptionAttributes :: Text -> GetSubscriptionAttributes
- data GetSubscriptionAttributesResponse = GetSubscriptionAttributesResponse' (Maybe (HashMap Text Text)) Int
- newGetSubscriptionAttributesResponse :: Int -> GetSubscriptionAttributesResponse
- data GetTopicAttributes = GetTopicAttributes' Text
- newGetTopicAttributes :: Text -> GetTopicAttributes
- data GetTopicAttributesResponse = GetTopicAttributesResponse' (Maybe (HashMap Text Text)) Int
- newGetTopicAttributesResponse :: Int -> GetTopicAttributesResponse
- data ListEndpointsByPlatformApplication = ListEndpointsByPlatformApplication' (Maybe Text) Text
- newListEndpointsByPlatformApplication :: Text -> ListEndpointsByPlatformApplication
- data ListEndpointsByPlatformApplicationResponse = ListEndpointsByPlatformApplicationResponse' (Maybe [Endpoint]) (Maybe Text) Int
- newListEndpointsByPlatformApplicationResponse :: Int -> ListEndpointsByPlatformApplicationResponse
- data ListOriginationNumbers = ListOriginationNumbers' (Maybe Natural) (Maybe Text)
- newListOriginationNumbers :: ListOriginationNumbers
- data ListOriginationNumbersResponse = ListOriginationNumbersResponse' (Maybe Text) (Maybe [PhoneNumberInformation]) Int
- newListOriginationNumbersResponse :: Int -> ListOriginationNumbersResponse
- data ListPhoneNumbersOptedOut = ListPhoneNumbersOptedOut' (Maybe Text)
- newListPhoneNumbersOptedOut :: ListPhoneNumbersOptedOut
- data ListPhoneNumbersOptedOutResponse = ListPhoneNumbersOptedOutResponse' (Maybe Text) (Maybe [Text]) Int
- newListPhoneNumbersOptedOutResponse :: Int -> ListPhoneNumbersOptedOutResponse
- data ListPlatformApplications = ListPlatformApplications' (Maybe Text)
- newListPlatformApplications :: ListPlatformApplications
- data ListPlatformApplicationsResponse = ListPlatformApplicationsResponse' (Maybe Text) (Maybe [PlatformApplication]) Int
- newListPlatformApplicationsResponse :: Int -> ListPlatformApplicationsResponse
- data ListSMSSandboxPhoneNumbers = ListSMSSandboxPhoneNumbers' (Maybe Natural) (Maybe Text)
- newListSMSSandboxPhoneNumbers :: ListSMSSandboxPhoneNumbers
- data ListSMSSandboxPhoneNumbersResponse = ListSMSSandboxPhoneNumbersResponse' (Maybe Text) Int [SMSSandboxPhoneNumber]
- newListSMSSandboxPhoneNumbersResponse :: Int -> ListSMSSandboxPhoneNumbersResponse
- data ListSubscriptions = ListSubscriptions' (Maybe Text)
- newListSubscriptions :: ListSubscriptions
- data ListSubscriptionsResponse = ListSubscriptionsResponse' (Maybe Text) (Maybe [Subscription]) Int
- newListSubscriptionsResponse :: Int -> ListSubscriptionsResponse
- data ListSubscriptionsByTopic = ListSubscriptionsByTopic' (Maybe Text) Text
- newListSubscriptionsByTopic :: Text -> ListSubscriptionsByTopic
- data ListSubscriptionsByTopicResponse = ListSubscriptionsByTopicResponse' (Maybe Text) (Maybe [Subscription]) Int
- newListSubscriptionsByTopicResponse :: Int -> ListSubscriptionsByTopicResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe [Tag]) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data ListTopics = ListTopics' (Maybe Text)
- newListTopics :: ListTopics
- data ListTopicsResponse = ListTopicsResponse' (Maybe Text) (Maybe [Topic]) Int
- newListTopicsResponse :: Int -> ListTopicsResponse
- data OptInPhoneNumber = OptInPhoneNumber' Text
- newOptInPhoneNumber :: Text -> OptInPhoneNumber
- data OptInPhoneNumberResponse = OptInPhoneNumberResponse' Int
- newOptInPhoneNumberResponse :: Int -> OptInPhoneNumberResponse
- data Publish = Publish' (Maybe (HashMap Text MessageAttributeValue)) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text
- newPublish :: Text -> Publish
- data PublishResponse = PublishResponse' (Maybe Text) (Maybe Text) Int
- newPublishResponse :: Int -> PublishResponse
- data PublishBatch = PublishBatch' Text [PublishBatchRequestEntry]
- newPublishBatch :: Text -> PublishBatch
- data PublishBatchResponse = PublishBatchResponse' (Maybe [BatchResultErrorEntry]) (Maybe [PublishBatchResultEntry]) Int
- newPublishBatchResponse :: Int -> PublishBatchResponse
- data PutDataProtectionPolicy = PutDataProtectionPolicy' Text Text
- newPutDataProtectionPolicy :: Text -> Text -> PutDataProtectionPolicy
- data PutDataProtectionPolicyResponse = PutDataProtectionPolicyResponse'
- newPutDataProtectionPolicyResponse :: PutDataProtectionPolicyResponse
- data RemovePermission = RemovePermission' Text Text
- newRemovePermission :: Text -> Text -> RemovePermission
- data RemovePermissionResponse = RemovePermissionResponse'
- newRemovePermissionResponse :: RemovePermissionResponse
- data SetEndpointAttributes = SetEndpointAttributes' Text (HashMap Text Text)
- newSetEndpointAttributes :: Text -> SetEndpointAttributes
- data SetEndpointAttributesResponse = SetEndpointAttributesResponse'
- newSetEndpointAttributesResponse :: SetEndpointAttributesResponse
- data SetPlatformApplicationAttributes = SetPlatformApplicationAttributes' Text (HashMap Text Text)
- newSetPlatformApplicationAttributes :: Text -> SetPlatformApplicationAttributes
- data SetPlatformApplicationAttributesResponse = SetPlatformApplicationAttributesResponse'
- newSetPlatformApplicationAttributesResponse :: SetPlatformApplicationAttributesResponse
- data SetSMSAttributes = SetSMSAttributes' (HashMap Text Text)
- newSetSMSAttributes :: SetSMSAttributes
- data SetSMSAttributesResponse = SetSMSAttributesResponse' Int
- newSetSMSAttributesResponse :: Int -> SetSMSAttributesResponse
- data SetSubscriptionAttributes = SetSubscriptionAttributes' (Maybe Text) Text Text
- newSetSubscriptionAttributes :: Text -> Text -> SetSubscriptionAttributes
- data SetSubscriptionAttributesResponse = SetSubscriptionAttributesResponse'
- newSetSubscriptionAttributesResponse :: SetSubscriptionAttributesResponse
- data SetTopicAttributes = SetTopicAttributes' (Maybe Text) Text Text
- newSetTopicAttributes :: Text -> Text -> SetTopicAttributes
- data SetTopicAttributesResponse = SetTopicAttributesResponse'
- newSetTopicAttributesResponse :: SetTopicAttributesResponse
- data Subscribe = Subscribe' (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Bool) Text Text
- newSubscribe :: Text -> Text -> Subscribe
- data SubscribeResponse = SubscribeResponse' (Maybe Text) Int
- newSubscribeResponse :: Int -> SubscribeResponse
- data TagResource = TagResource' Text [Tag]
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data Unsubscribe = Unsubscribe' Text
- newUnsubscribe :: Text -> Unsubscribe
- data UnsubscribeResponse = UnsubscribeResponse'
- newUnsubscribeResponse :: UnsubscribeResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data VerifySMSSandboxPhoneNumber = VerifySMSSandboxPhoneNumber' Text Text
- newVerifySMSSandboxPhoneNumber :: Text -> Text -> VerifySMSSandboxPhoneNumber
- data VerifySMSSandboxPhoneNumberResponse = VerifySMSSandboxPhoneNumberResponse' Int
- newVerifySMSSandboxPhoneNumberResponse :: Int -> VerifySMSSandboxPhoneNumberResponse
- newtype LanguageCodeString where
- LanguageCodeString' { }
- pattern LanguageCodeString_De_DE :: LanguageCodeString
- pattern LanguageCodeString_En_GB :: LanguageCodeString
- pattern LanguageCodeString_En_US :: LanguageCodeString
- pattern LanguageCodeString_Es_419 :: LanguageCodeString
- pattern LanguageCodeString_Es_ES :: LanguageCodeString
- pattern LanguageCodeString_Fr_CA :: LanguageCodeString
- pattern LanguageCodeString_Fr_FR :: LanguageCodeString
- pattern LanguageCodeString_It_IT :: LanguageCodeString
- pattern LanguageCodeString_Ja_JP :: LanguageCodeString
- pattern LanguageCodeString_Kr_KR :: LanguageCodeString
- pattern LanguageCodeString_Pt_BR :: LanguageCodeString
- pattern LanguageCodeString_Zh_CN :: LanguageCodeString
- pattern LanguageCodeString_Zh_TW :: LanguageCodeString
- newtype NumberCapability where
- NumberCapability' { }
- pattern NumberCapability_MMS :: NumberCapability
- pattern NumberCapability_SMS :: NumberCapability
- pattern NumberCapability_VOICE :: NumberCapability
- newtype RouteType where
- RouteType' { }
- pattern RouteType_Premium :: RouteType
- pattern RouteType_Promotional :: RouteType
- pattern RouteType_Transactional :: RouteType
- newtype SMSSandboxPhoneNumberVerificationStatus where
- data BatchResultErrorEntry = BatchResultErrorEntry' (Maybe Text) Text Text Bool
- newBatchResultErrorEntry :: Text -> Text -> Bool -> BatchResultErrorEntry
- data Endpoint = Endpoint' (Maybe (HashMap Text Text)) (Maybe Text)
- newEndpoint :: Endpoint
- data MessageAttributeValue = MessageAttributeValue' (Maybe Base64) (Maybe Text) Text
- newMessageAttributeValue :: Text -> MessageAttributeValue
- data PhoneNumberInformation = PhoneNumberInformation' (Maybe ISO8601) (Maybe Text) (Maybe [NumberCapability]) (Maybe Text) (Maybe RouteType) (Maybe Text)
- newPhoneNumberInformation :: PhoneNumberInformation
- data PlatformApplication = PlatformApplication' (Maybe (HashMap Text Text)) (Maybe Text)
- newPlatformApplication :: PlatformApplication
- data PublishBatchRequestEntry = PublishBatchRequestEntry' (Maybe (HashMap Text MessageAttributeValue)) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text
- newPublishBatchRequestEntry :: Text -> Text -> PublishBatchRequestEntry
- data PublishBatchResultEntry = PublishBatchResultEntry' (Maybe Text) (Maybe Text) (Maybe Text)
- newPublishBatchResultEntry :: PublishBatchResultEntry
- data SMSSandboxPhoneNumber = SMSSandboxPhoneNumber' (Maybe Text) (Maybe SMSSandboxPhoneNumberVerificationStatus)
- newSMSSandboxPhoneNumber :: SMSSandboxPhoneNumber
- data Subscription = Subscription' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newSubscription :: Subscription
- data Tag = Tag' Text Text
- newTag :: Text -> Text -> Tag
- data Topic = Topic' (Maybe Text)
- newTopic :: Topic
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.
AuthorizationErrorException
_AuthorizationErrorException :: AsError a => Fold a ServiceError Source #
Indicates that the user has been denied access to the requested resource.
BatchEntryIdsNotDistinctException
_BatchEntryIdsNotDistinctException :: AsError a => Fold a ServiceError Source #
Two or more batch entries in the request have the same Id.
BatchRequestTooLongException
_BatchRequestTooLongException :: AsError a => Fold a ServiceError Source #
The length of all the batch messages put together is more than the limit.
ConcurrentAccessException
_ConcurrentAccessException :: AsError a => Fold a ServiceError Source #
Can't perform multiple operations on a tag simultaneously. Perform the operations sequentially.
EmptyBatchRequestException
_EmptyBatchRequestException :: AsError a => Fold a ServiceError Source #
The batch request doesn't contain any entries.
EndpointDisabledException
_EndpointDisabledException :: AsError a => Fold a ServiceError Source #
Exception error indicating endpoint disabled.
FilterPolicyLimitExceededException
_FilterPolicyLimitExceededException :: AsError a => Fold a ServiceError Source #
Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web Services Support Center.
InternalErrorException
_InternalErrorException :: AsError a => Fold a ServiceError Source #
Indicates an internal service error.
InvalidBatchEntryIdException
_InvalidBatchEntryIdException :: AsError a => Fold a ServiceError Source #
The Id of a batch entry in a batch request doesn't abide by the
specification.
InvalidParameterException
_InvalidParameterException :: AsError a => Fold a ServiceError Source #
Indicates that a request parameter does not comply with the associated constraints.
InvalidParameterValueException
_InvalidParameterValueException :: AsError a => Fold a ServiceError Source #
Indicates that a request parameter does not comply with the associated constraints.
InvalidSecurityException
_InvalidSecurityException :: AsError a => Fold a ServiceError Source #
The credential signature isn't valid. You must use an HTTPS endpoint and sign your request using Signature Version 4.
KMSAccessDeniedException
_KMSAccessDeniedException :: AsError a => Fold a ServiceError Source #
The ciphertext references a key that doesn't exist or that you don't have access to.
KMSDisabledException
_KMSDisabledException :: AsError a => Fold a ServiceError Source #
The request was rejected because the specified customer master key (CMK) isn't enabled.
KMSInvalidStateException
_KMSInvalidStateException :: AsError a => Fold 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.
KMSNotFoundException
_KMSNotFoundException :: AsError a => Fold a ServiceError Source #
The request was rejected because the specified entity or resource can't be found.
KMSOptInRequired
_KMSOptInRequired :: AsError a => Fold a ServiceError Source #
The Amazon Web Services access key ID needs a subscription for the service.
KMSThrottlingException
_KMSThrottlingException :: AsError a => Fold 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.
NotFoundException
_NotFoundException :: AsError a => Fold a ServiceError Source #
Indicates that the requested resource does not exist.
OptedOutException
_OptedOutException :: AsError a => Fold a ServiceError Source #
Indicates that the specified phone number opted out of receiving SMS messages from your Amazon Web Services account. You can't send SMS messages to phone numbers that opt out.
PlatformApplicationDisabledException
_PlatformApplicationDisabledException :: AsError a => Fold a ServiceError Source #
Exception error indicating platform application disabled.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
Can’t perform the action on the specified resource. Make sure that the resource exists.
StaleTagException
_StaleTagException :: AsError a => Fold 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.
SubscriptionLimitExceededException
_SubscriptionLimitExceededException :: AsError a => Fold a ServiceError Source #
Indicates that the customer already owns the maximum allowed number of subscriptions.
TagLimitExceededException
_TagLimitExceededException :: AsError a => Fold a ServiceError Source #
Can't add more than 50 tags to a topic.
TagPolicyException
_TagPolicyException :: AsError a => Fold a ServiceError Source #
The request doesn't comply with the IAM tag policy. Correct your request and then retry it.
ThrottledException
_ThrottledException :: AsError a => Fold a ServiceError Source #
Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.
TooManyEntriesInBatchRequestException
_TooManyEntriesInBatchRequestException :: AsError a => Fold a ServiceError Source #
The batch request contains more entries than permissible.
TopicLimitExceededException
_TopicLimitExceededException :: AsError a => Fold a ServiceError Source #
Indicates that the customer already owns the maximum allowed number of topics.
UserErrorException
_UserErrorException :: AsError a => Fold a ServiceError Source #
Indicates that a request parameter does not comply with the associated constraints.
ValidationException
_ValidationException :: AsError a => Fold a ServiceError Source #
Indicates that a parameter in the request is invalid.
VerificationException
_VerificationException :: AsError a => Fold a ServiceError Source #
Indicates that the one-time password (OTP) used for verification is invalid.
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.
AddPermission
data AddPermission Source #
See: newAddPermission smart constructor.
Constructors
| AddPermission' Text Text [Text] [Text] |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> AddPermission |
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:
topicArn, addPermission_topicArn - The ARN of the topic whose access control policy you wish to modify.
label, addPermission_label - A unique identifier for the new policy statement.
aWSAccountId, addPermission_aWSAccountId - The Amazon Web Services account IDs of the users (principals) who will
be given access to the specified actions. The users must have Amazon Web
Services account, but do not need to be signed up for this service.
actionName, 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.
Constructors
| AddPermissionResponse' |
Instances
| NFData AddPermissionResponse Source # | |||||
Defined in Amazonka.SNS.AddPermission Methods rnf :: AddPermissionResponse -> () # | |||||
| Generic AddPermissionResponse Source # | |||||
Defined in Amazonka.SNS.AddPermission Associated Types
Methods from :: AddPermissionResponse -> Rep AddPermissionResponse x # to :: Rep AddPermissionResponse x -> AddPermissionResponse # | |||||
| Read AddPermissionResponse Source # | |||||
Defined in Amazonka.SNS.AddPermission Methods readsPrec :: Int -> ReadS AddPermissionResponse # readList :: ReadS [AddPermissionResponse] # | |||||
| Show AddPermissionResponse Source # | |||||
Defined in Amazonka.SNS.AddPermission Methods showsPrec :: Int -> AddPermissionResponse -> ShowS # show :: AddPermissionResponse -> String # showList :: [AddPermissionResponse] -> ShowS # | |||||
| Eq AddPermissionResponse Source # | |||||
Defined in Amazonka.SNS.AddPermission Methods (==) :: AddPermissionResponse -> AddPermissionResponse -> Bool # (/=) :: AddPermissionResponse -> AddPermissionResponse -> Bool # | |||||
| type Rep AddPermissionResponse Source # | |||||
newAddPermissionResponse :: AddPermissionResponse Source #
Create a value of AddPermissionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
CheckIfPhoneNumberIsOptedOut
data CheckIfPhoneNumberIsOptedOut Source #
The input for the CheckIfPhoneNumberIsOptedOut action.
See: newCheckIfPhoneNumberIsOptedOut smart constructor.
Constructors
| CheckIfPhoneNumberIsOptedOut' Text |
Instances
| ToHeaders CheckIfPhoneNumberIsOptedOut Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Methods toHeaders :: CheckIfPhoneNumberIsOptedOut -> [Header] Source # | |||||
| ToPath CheckIfPhoneNumberIsOptedOut Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Methods toPath :: CheckIfPhoneNumberIsOptedOut -> ByteString Source # | |||||
| ToQuery CheckIfPhoneNumberIsOptedOut Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Methods toQuery :: CheckIfPhoneNumberIsOptedOut -> QueryString Source # | |||||
| AWSRequest CheckIfPhoneNumberIsOptedOut Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Associated Types
Methods request :: (Service -> Service) -> CheckIfPhoneNumberIsOptedOut -> Request CheckIfPhoneNumberIsOptedOut Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy CheckIfPhoneNumberIsOptedOut -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse CheckIfPhoneNumberIsOptedOut))) Source # | |||||
| NFData CheckIfPhoneNumberIsOptedOut Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Methods rnf :: CheckIfPhoneNumberIsOptedOut -> () # | |||||
| Generic CheckIfPhoneNumberIsOptedOut Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Associated Types
| |||||
| Read CheckIfPhoneNumberIsOptedOut Source # | |||||
| Show CheckIfPhoneNumberIsOptedOut Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Methods showsPrec :: Int -> CheckIfPhoneNumberIsOptedOut -> ShowS # show :: CheckIfPhoneNumberIsOptedOut -> String # showList :: [CheckIfPhoneNumberIsOptedOut] -> ShowS # | |||||
| Eq CheckIfPhoneNumberIsOptedOut Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Methods (==) :: CheckIfPhoneNumberIsOptedOut -> CheckIfPhoneNumberIsOptedOut -> Bool # (/=) :: CheckIfPhoneNumberIsOptedOut -> CheckIfPhoneNumberIsOptedOut -> Bool # | |||||
| Hashable CheckIfPhoneNumberIsOptedOut Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Methods hashWithSalt :: Int -> CheckIfPhoneNumberIsOptedOut -> Int Source # | |||||
| type AWSResponse CheckIfPhoneNumberIsOptedOut Source # | |||||
| type Rep CheckIfPhoneNumberIsOptedOut Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut type Rep CheckIfPhoneNumberIsOptedOut = D1 ('MetaData "CheckIfPhoneNumberIsOptedOut" "Amazonka.SNS.CheckIfPhoneNumberIsOptedOut" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "CheckIfPhoneNumberIsOptedOut'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
newCheckIfPhoneNumberIsOptedOut Source #
Arguments
| :: Text | |
| -> CheckIfPhoneNumberIsOptedOut |
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:
phoneNumber, 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.
Constructors
| CheckIfPhoneNumberIsOptedOutResponse' (Maybe Bool) Int |
Instances
| NFData CheckIfPhoneNumberIsOptedOutResponse Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Methods rnf :: CheckIfPhoneNumberIsOptedOutResponse -> () # | |||||
| Generic CheckIfPhoneNumberIsOptedOutResponse Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Associated Types
| |||||
| Read CheckIfPhoneNumberIsOptedOutResponse Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut | |||||
| Show CheckIfPhoneNumberIsOptedOutResponse Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut Methods showsPrec :: Int -> CheckIfPhoneNumberIsOptedOutResponse -> ShowS # show :: CheckIfPhoneNumberIsOptedOutResponse -> String # showList :: [CheckIfPhoneNumberIsOptedOutResponse] -> ShowS # | |||||
| Eq CheckIfPhoneNumberIsOptedOutResponse Source # | |||||
| type Rep CheckIfPhoneNumberIsOptedOutResponse Source # | |||||
Defined in Amazonka.SNS.CheckIfPhoneNumberIsOptedOut type Rep CheckIfPhoneNumberIsOptedOutResponse = D1 ('MetaData "CheckIfPhoneNumberIsOptedOutResponse" "Amazonka.SNS.CheckIfPhoneNumberIsOptedOut" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> CheckIfPhoneNumberIsOptedOutResponse |
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:
isOptedOut, 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.
httpStatus, checkIfPhoneNumberIsOptedOutResponse_httpStatus - The response's http status code.
ConfirmSubscription
data ConfirmSubscription Source #
Input for ConfirmSubscription action.
See: newConfirmSubscription smart constructor.
Constructors
| ConfirmSubscription' (Maybe Text) Text Text |
Instances
| ToHeaders ConfirmSubscription Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Methods toHeaders :: ConfirmSubscription -> [Header] Source # | |||||
| ToPath ConfirmSubscription Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Methods | |||||
| ToQuery ConfirmSubscription Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Methods | |||||
| AWSRequest ConfirmSubscription Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Associated Types
Methods request :: (Service -> Service) -> ConfirmSubscription -> Request ConfirmSubscription Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ConfirmSubscription -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ConfirmSubscription))) Source # | |||||
| NFData ConfirmSubscription Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Methods rnf :: ConfirmSubscription -> () # | |||||
| Generic ConfirmSubscription Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Associated Types
Methods from :: ConfirmSubscription -> Rep ConfirmSubscription x # to :: Rep ConfirmSubscription x -> ConfirmSubscription # | |||||
| Read ConfirmSubscription Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Methods readsPrec :: Int -> ReadS ConfirmSubscription # readList :: ReadS [ConfirmSubscription] # | |||||
| Show ConfirmSubscription Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Methods showsPrec :: Int -> ConfirmSubscription -> ShowS # show :: ConfirmSubscription -> String # showList :: [ConfirmSubscription] -> ShowS # | |||||
| Eq ConfirmSubscription Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Methods (==) :: ConfirmSubscription -> ConfirmSubscription -> Bool # (/=) :: ConfirmSubscription -> ConfirmSubscription -> Bool # | |||||
| Hashable ConfirmSubscription Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Methods hashWithSalt :: Int -> ConfirmSubscription -> Int Source # hash :: ConfirmSubscription -> Int Source # | |||||
| type AWSResponse ConfirmSubscription Source # | |||||
| type Rep ConfirmSubscription Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription type Rep ConfirmSubscription = D1 ('MetaData "ConfirmSubscription" "Amazonka.SNS.ConfirmSubscription" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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)))) | |||||
newConfirmSubscription Source #
Arguments
| :: Text | |
| -> Text | |
| -> ConfirmSubscription |
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:
authenticateOnUnsubscribe, 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.
topicArn, confirmSubscription_topicArn - The ARN of the topic for which you wish to confirm a subscription.
token, confirmSubscription_token - Short-lived token sent to an endpoint during the Subscribe action.
data ConfirmSubscriptionResponse Source #
Response for ConfirmSubscriptions action.
See: newConfirmSubscriptionResponse smart constructor.
Constructors
| ConfirmSubscriptionResponse' (Maybe Text) Int |
Instances
| NFData ConfirmSubscriptionResponse Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Methods rnf :: ConfirmSubscriptionResponse -> () # | |||||
| Generic ConfirmSubscriptionResponse Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Associated Types
Methods from :: ConfirmSubscriptionResponse -> Rep ConfirmSubscriptionResponse x # to :: Rep ConfirmSubscriptionResponse x -> ConfirmSubscriptionResponse # | |||||
| Read ConfirmSubscriptionResponse Source # | |||||
| Show ConfirmSubscriptionResponse Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Methods showsPrec :: Int -> ConfirmSubscriptionResponse -> ShowS # show :: ConfirmSubscriptionResponse -> String # showList :: [ConfirmSubscriptionResponse] -> ShowS # | |||||
| Eq ConfirmSubscriptionResponse Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription Methods (==) :: ConfirmSubscriptionResponse -> ConfirmSubscriptionResponse -> Bool # (/=) :: ConfirmSubscriptionResponse -> ConfirmSubscriptionResponse -> Bool # | |||||
| type Rep ConfirmSubscriptionResponse Source # | |||||
Defined in Amazonka.SNS.ConfirmSubscription type Rep ConfirmSubscriptionResponse = D1 ('MetaData "ConfirmSubscriptionResponse" "Amazonka.SNS.ConfirmSubscription" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> ConfirmSubscriptionResponse |
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:
subscriptionArn, confirmSubscriptionResponse_subscriptionArn - The ARN of the created subscription.
httpStatus, confirmSubscriptionResponse_httpStatus - The response's http status code.
CreatePlatformApplication
data CreatePlatformApplication Source #
Input for CreatePlatformApplication action.
See: newCreatePlatformApplication smart constructor.
Instances
| ToHeaders CreatePlatformApplication Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Methods toHeaders :: CreatePlatformApplication -> [Header] Source # | |||||
| ToPath CreatePlatformApplication Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Methods | |||||
| ToQuery CreatePlatformApplication Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Methods toQuery :: CreatePlatformApplication -> QueryString Source # | |||||
| AWSRequest CreatePlatformApplication Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Associated Types
Methods request :: (Service -> Service) -> CreatePlatformApplication -> Request CreatePlatformApplication Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy CreatePlatformApplication -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse CreatePlatformApplication))) Source # | |||||
| NFData CreatePlatformApplication Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Methods rnf :: CreatePlatformApplication -> () # | |||||
| Generic CreatePlatformApplication Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Associated Types
Methods from :: CreatePlatformApplication -> Rep CreatePlatformApplication x # to :: Rep CreatePlatformApplication x -> CreatePlatformApplication # | |||||
| Read CreatePlatformApplication Source # | |||||
| Show CreatePlatformApplication Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Methods showsPrec :: Int -> CreatePlatformApplication -> ShowS # show :: CreatePlatformApplication -> String # showList :: [CreatePlatformApplication] -> ShowS # | |||||
| Eq CreatePlatformApplication Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Methods (==) :: CreatePlatformApplication -> CreatePlatformApplication -> Bool # (/=) :: CreatePlatformApplication -> CreatePlatformApplication -> Bool # | |||||
| Hashable CreatePlatformApplication Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Methods hashWithSalt :: Int -> CreatePlatformApplication -> Int Source # hash :: CreatePlatformApplication -> Int Source # | |||||
| type AWSResponse CreatePlatformApplication Source # | |||||
| type Rep CreatePlatformApplication Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication type Rep CreatePlatformApplication = D1 ('MetaData "CreatePlatformApplication" "Amazonka.SNS.CreatePlatformApplication" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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))))) | |||||
newCreatePlatformApplication Source #
Arguments
| :: Text | |
| -> Text | |
| -> CreatePlatformApplication |
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:
name, 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.
platform, createPlatformApplication_platform - The following platforms are supported: ADM (Amazon Device Messaging),
APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase
Cloud Messaging).
attributes, createPlatformApplication_attributes - For a list of attributes, see
SetPlatformApplicationAttributes.
data CreatePlatformApplicationResponse Source #
Response from CreatePlatformApplication action.
See: newCreatePlatformApplicationResponse smart constructor.
Constructors
| CreatePlatformApplicationResponse' (Maybe Text) Int |
Instances
| NFData CreatePlatformApplicationResponse Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Methods rnf :: CreatePlatformApplicationResponse -> () # | |||||
| Generic CreatePlatformApplicationResponse Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Associated Types
| |||||
| Read CreatePlatformApplicationResponse Source # | |||||
| Show CreatePlatformApplicationResponse Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication Methods showsPrec :: Int -> CreatePlatformApplicationResponse -> ShowS # | |||||
| Eq CreatePlatformApplicationResponse Source # | |||||
| type Rep CreatePlatformApplicationResponse Source # | |||||
Defined in Amazonka.SNS.CreatePlatformApplication type Rep CreatePlatformApplicationResponse = D1 ('MetaData "CreatePlatformApplicationResponse" "Amazonka.SNS.CreatePlatformApplication" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> CreatePlatformApplicationResponse |
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:
platformApplicationArn, createPlatformApplicationResponse_platformApplicationArn - PlatformApplicationArn is returned.
httpStatus, createPlatformApplicationResponse_httpStatus - The response's http status code.
CreatePlatformEndpoint
data CreatePlatformEndpoint Source #
Input for CreatePlatformEndpoint action.
See: newCreatePlatformEndpoint smart constructor.
Instances
| ToHeaders CreatePlatformEndpoint Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Methods toHeaders :: CreatePlatformEndpoint -> [Header] Source # | |||||
| ToPath CreatePlatformEndpoint Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Methods | |||||
| ToQuery CreatePlatformEndpoint Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Methods | |||||
| AWSRequest CreatePlatformEndpoint Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Associated Types
Methods request :: (Service -> Service) -> CreatePlatformEndpoint -> Request CreatePlatformEndpoint Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy CreatePlatformEndpoint -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse CreatePlatformEndpoint))) Source # | |||||
| NFData CreatePlatformEndpoint Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Methods rnf :: CreatePlatformEndpoint -> () # | |||||
| Generic CreatePlatformEndpoint Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Associated Types
Methods from :: CreatePlatformEndpoint -> Rep CreatePlatformEndpoint x # to :: Rep CreatePlatformEndpoint x -> CreatePlatformEndpoint # | |||||
| Read CreatePlatformEndpoint Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint | |||||
| Show CreatePlatformEndpoint Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Methods showsPrec :: Int -> CreatePlatformEndpoint -> ShowS # show :: CreatePlatformEndpoint -> String # showList :: [CreatePlatformEndpoint] -> ShowS # | |||||
| Eq CreatePlatformEndpoint Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Methods (==) :: CreatePlatformEndpoint -> CreatePlatformEndpoint -> Bool # (/=) :: CreatePlatformEndpoint -> CreatePlatformEndpoint -> Bool # | |||||
| Hashable CreatePlatformEndpoint Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Methods hashWithSalt :: Int -> CreatePlatformEndpoint -> Int Source # hash :: CreatePlatformEndpoint -> Int Source # | |||||
| type AWSResponse CreatePlatformEndpoint Source # | |||||
| type Rep CreatePlatformEndpoint Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint type Rep CreatePlatformEndpoint = D1 ('MetaData "CreatePlatformEndpoint" "Amazonka.SNS.CreatePlatformEndpoint" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "CreatePlatformEndpoint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "customUserData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "platformApplicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |||||
newCreatePlatformEndpoint Source #
Arguments
| :: Text | |
| -> Text | |
| -> CreatePlatformEndpoint |
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:
attributes, createPlatformEndpoint_attributes - For a list of attributes, see
SetEndpointAttributes.
customUserData, 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.
platformApplicationArn, createPlatformEndpoint_platformApplicationArn - PlatformApplicationArn returned from CreatePlatformApplication is used
to create a an endpoint.
token, 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.
Constructors
| CreatePlatformEndpointResponse' (Maybe Text) Int |
Instances
| NFData CreatePlatformEndpointResponse Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Methods rnf :: CreatePlatformEndpointResponse -> () # | |||||
| Generic CreatePlatformEndpointResponse Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Associated Types
| |||||
| Read CreatePlatformEndpointResponse Source # | |||||
| Show CreatePlatformEndpointResponse Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint Methods showsPrec :: Int -> CreatePlatformEndpointResponse -> ShowS # show :: CreatePlatformEndpointResponse -> String # showList :: [CreatePlatformEndpointResponse] -> ShowS # | |||||
| Eq CreatePlatformEndpointResponse Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint | |||||
| type Rep CreatePlatformEndpointResponse Source # | |||||
Defined in Amazonka.SNS.CreatePlatformEndpoint type Rep CreatePlatformEndpointResponse = D1 ('MetaData "CreatePlatformEndpointResponse" "Amazonka.SNS.CreatePlatformEndpoint" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> CreatePlatformEndpointResponse |
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:
endpointArn, createPlatformEndpointResponse_endpointArn - EndpointArn returned from CreateEndpoint action.
httpStatus, createPlatformEndpointResponse_httpStatus - The response's http status code.
CreateSMSSandboxPhoneNumber
data CreateSMSSandboxPhoneNumber Source #
See: newCreateSMSSandboxPhoneNumber smart constructor.
Constructors
| CreateSMSSandboxPhoneNumber' (Maybe LanguageCodeString) Text |
Instances
| ToHeaders CreateSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Methods toHeaders :: CreateSMSSandboxPhoneNumber -> [Header] Source # | |||||
| ToPath CreateSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Methods toPath :: CreateSMSSandboxPhoneNumber -> ByteString Source # | |||||
| ToQuery CreateSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Methods toQuery :: CreateSMSSandboxPhoneNumber -> QueryString Source # | |||||
| AWSRequest CreateSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Associated Types
Methods request :: (Service -> Service) -> CreateSMSSandboxPhoneNumber -> Request CreateSMSSandboxPhoneNumber Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy CreateSMSSandboxPhoneNumber -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse CreateSMSSandboxPhoneNumber))) Source # | |||||
| NFData CreateSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Methods rnf :: CreateSMSSandboxPhoneNumber -> () # | |||||
| Generic CreateSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Associated Types
Methods from :: CreateSMSSandboxPhoneNumber -> Rep CreateSMSSandboxPhoneNumber x # to :: Rep CreateSMSSandboxPhoneNumber x -> CreateSMSSandboxPhoneNumber # | |||||
| Read CreateSMSSandboxPhoneNumber Source # | |||||
| Show CreateSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Methods showsPrec :: Int -> CreateSMSSandboxPhoneNumber -> ShowS # show :: CreateSMSSandboxPhoneNumber -> String # showList :: [CreateSMSSandboxPhoneNumber] -> ShowS # | |||||
| Eq CreateSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Methods (==) :: CreateSMSSandboxPhoneNumber -> CreateSMSSandboxPhoneNumber -> Bool # (/=) :: CreateSMSSandboxPhoneNumber -> CreateSMSSandboxPhoneNumber -> Bool # | |||||
| Hashable CreateSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Methods hashWithSalt :: Int -> CreateSMSSandboxPhoneNumber -> Int Source # | |||||
| type AWSResponse CreateSMSSandboxPhoneNumber Source # | |||||
| type Rep CreateSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber type Rep CreateSMSSandboxPhoneNumber = D1 ('MetaData "CreateSMSSandboxPhoneNumber" "Amazonka.SNS.CreateSMSSandboxPhoneNumber" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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))) | |||||
newCreateSMSSandboxPhoneNumber Source #
Arguments
| :: Text | |
| -> CreateSMSSandboxPhoneNumber |
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:
languageCode, createSMSSandboxPhoneNumber_languageCode - The language to use for sending the OTP. The default value is en-US.
phoneNumber, 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 #
See: newCreateSMSSandboxPhoneNumberResponse smart constructor.
Constructors
| CreateSMSSandboxPhoneNumberResponse' Int |
Instances
| NFData CreateSMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Methods rnf :: CreateSMSSandboxPhoneNumberResponse -> () # | |||||
| Generic CreateSMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Associated Types
| |||||
| Read CreateSMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber | |||||
| Show CreateSMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber Methods showsPrec :: Int -> CreateSMSSandboxPhoneNumberResponse -> ShowS # show :: CreateSMSSandboxPhoneNumberResponse -> String # showList :: [CreateSMSSandboxPhoneNumberResponse] -> ShowS # | |||||
| Eq CreateSMSSandboxPhoneNumberResponse Source # | |||||
| type Rep CreateSMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.CreateSMSSandboxPhoneNumber type Rep CreateSMSSandboxPhoneNumberResponse = D1 ('MetaData "CreateSMSSandboxPhoneNumberResponse" "Amazonka.SNS.CreateSMSSandboxPhoneNumber" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "CreateSMSSandboxPhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) | |||||
newCreateSMSSandboxPhoneNumberResponse Source #
Arguments
| :: Int | |
| -> CreateSMSSandboxPhoneNumberResponse |
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:
httpStatus, createSMSSandboxPhoneNumberResponse_httpStatus - The response's http status code.
CreateTopic
data CreateTopic Source #
Input for CreateTopic action.
See: newCreateTopic smart constructor.
Instances
| ToHeaders CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic Methods toHeaders :: CreateTopic -> [Header] Source # | |||||
| ToPath CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic Methods toPath :: CreateTopic -> ByteString Source # | |||||
| ToQuery CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic Methods toQuery :: CreateTopic -> QueryString Source # | |||||
| AWSRequest CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic Associated Types
Methods request :: (Service -> Service) -> CreateTopic -> Request CreateTopic Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy CreateTopic -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse CreateTopic))) Source # | |||||
| NFData CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic Methods rnf :: CreateTopic -> () # | |||||
| Generic CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic Associated Types
| |||||
| Read CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic Methods readsPrec :: Int -> ReadS CreateTopic # readList :: ReadS [CreateTopic] # readPrec :: ReadPrec CreateTopic # readListPrec :: ReadPrec [CreateTopic] # | |||||
| Show CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic Methods showsPrec :: Int -> CreateTopic -> ShowS # show :: CreateTopic -> String # showList :: [CreateTopic] -> ShowS # | |||||
| Eq CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic | |||||
| Hashable CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic | |||||
| type AWSResponse CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic | |||||
| type Rep CreateTopic Source # | |||||
Defined in Amazonka.SNS.CreateTopic type Rep CreateTopic = D1 ('MetaData "CreateTopic" "Amazonka.SNS.CreateTopic" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "CreateTopic'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "dataProtectionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |||||
Arguments
| :: Text | |
| -> CreateTopic |
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:
attributes, 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.SignatureVersion– The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS. By default,SignatureVersionis set to 1.TracingConfig– Tracing mode of an Amazon SNS topic. By defaultTracingConfigis set toPassThrough, and the topic passes through the tracing header it receives from an Amazon SNS publisher to its subscriptions. If set to Active, Amazon SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. This is only supported on standard topics.
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 totrue, a FIFO topic is created.ContentBasedDeduplication– Enables content-based deduplication for FIFO topics.- By default,
ContentBasedDeduplicationis set tofalse. If you create a FIFO topic and this attribute isfalse, you must specify a value for theMessageDeduplicationIdparameter for the Publish action. When you set
ContentBasedDeduplicationtotrue, Amazon SNS uses a SHA-256 hash to generate theMessageDeduplicationIdusing 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
MessageDeduplicationIdparameter for thePublishaction.
- By default,
dataProtectionPolicy, createTopic_dataProtectionPolicy - The body of the policy document you want to use for this topic.
You can only add one policy per topic.
The policy must be in JSON string format.
Length Constraints: Maximum length of 30,720.
tags, 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.
name, 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.
Constructors
| CreateTopicResponse' (Maybe Text) Int |
Instances
| NFData CreateTopicResponse Source # | |||||
Defined in Amazonka.SNS.CreateTopic Methods rnf :: CreateTopicResponse -> () # | |||||
| Generic CreateTopicResponse Source # | |||||
Defined in Amazonka.SNS.CreateTopic Associated Types
Methods from :: CreateTopicResponse -> Rep CreateTopicResponse x # to :: Rep CreateTopicResponse x -> CreateTopicResponse # | |||||
| Read CreateTopicResponse Source # | |||||
Defined in Amazonka.SNS.CreateTopic Methods readsPrec :: Int -> ReadS CreateTopicResponse # readList :: ReadS [CreateTopicResponse] # | |||||
| Show CreateTopicResponse Source # | |||||
Defined in Amazonka.SNS.CreateTopic Methods showsPrec :: Int -> CreateTopicResponse -> ShowS # show :: CreateTopicResponse -> String # showList :: [CreateTopicResponse] -> ShowS # | |||||
| Eq CreateTopicResponse Source # | |||||
Defined in Amazonka.SNS.CreateTopic Methods (==) :: CreateTopicResponse -> CreateTopicResponse -> Bool # (/=) :: CreateTopicResponse -> CreateTopicResponse -> Bool # | |||||
| type Rep CreateTopicResponse Source # | |||||
Defined in Amazonka.SNS.CreateTopic type Rep CreateTopicResponse = D1 ('MetaData "CreateTopicResponse" "Amazonka.SNS.CreateTopic" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> CreateTopicResponse |
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:
topicArn, createTopicResponse_topicArn - The Amazon Resource Name (ARN) assigned to the created topic.
httpStatus, createTopicResponse_httpStatus - The response's http status code.
DeleteEndpoint
data DeleteEndpoint Source #
Input for DeleteEndpoint action.
See: newDeleteEndpoint smart constructor.
Constructors
| DeleteEndpoint' Text |
Instances
| ToHeaders DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Methods toHeaders :: DeleteEndpoint -> [Header] Source # | |||||
| ToPath DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Methods toPath :: DeleteEndpoint -> ByteString Source # | |||||
| ToQuery DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Methods toQuery :: DeleteEndpoint -> QueryString Source # | |||||
| AWSRequest DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Associated Types
Methods request :: (Service -> Service) -> DeleteEndpoint -> Request DeleteEndpoint Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy DeleteEndpoint -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse DeleteEndpoint))) Source # | |||||
| NFData DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Methods rnf :: DeleteEndpoint -> () # | |||||
| Generic DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Associated Types
Methods from :: DeleteEndpoint -> Rep DeleteEndpoint x # to :: Rep DeleteEndpoint x -> DeleteEndpoint # | |||||
| Read DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Methods readsPrec :: Int -> ReadS DeleteEndpoint # readList :: ReadS [DeleteEndpoint] # | |||||
| Show DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Methods showsPrec :: Int -> DeleteEndpoint -> ShowS # show :: DeleteEndpoint -> String # showList :: [DeleteEndpoint] -> ShowS # | |||||
| Eq DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Methods (==) :: DeleteEndpoint -> DeleteEndpoint -> Bool # (/=) :: DeleteEndpoint -> DeleteEndpoint -> Bool # | |||||
| Hashable DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint | |||||
| type AWSResponse DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint | |||||
| type Rep DeleteEndpoint Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint type Rep DeleteEndpoint = D1 ('MetaData "DeleteEndpoint" "Amazonka.SNS.DeleteEndpoint" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "DeleteEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
Arguments
| :: Text | |
| -> DeleteEndpoint |
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:
endpointArn, deleteEndpoint_endpointArn - EndpointArn of endpoint to delete.
data DeleteEndpointResponse Source #
See: newDeleteEndpointResponse smart constructor.
Constructors
| DeleteEndpointResponse' |
Instances
| NFData DeleteEndpointResponse Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Methods rnf :: DeleteEndpointResponse -> () # | |||||
| Generic DeleteEndpointResponse Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Associated Types
Methods from :: DeleteEndpointResponse -> Rep DeleteEndpointResponse x # to :: Rep DeleteEndpointResponse x -> DeleteEndpointResponse # | |||||
| Read DeleteEndpointResponse Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint | |||||
| Show DeleteEndpointResponse Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Methods showsPrec :: Int -> DeleteEndpointResponse -> ShowS # show :: DeleteEndpointResponse -> String # showList :: [DeleteEndpointResponse] -> ShowS # | |||||
| Eq DeleteEndpointResponse Source # | |||||
Defined in Amazonka.SNS.DeleteEndpoint Methods (==) :: DeleteEndpointResponse -> DeleteEndpointResponse -> Bool # (/=) :: DeleteEndpointResponse -> DeleteEndpointResponse -> Bool # | |||||
| type Rep DeleteEndpointResponse Source # | |||||
newDeleteEndpointResponse :: DeleteEndpointResponse Source #
Create a value of DeleteEndpointResponse 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.
Constructors
| DeletePlatformApplication' Text |
Instances
| ToHeaders DeletePlatformApplication Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Methods toHeaders :: DeletePlatformApplication -> [Header] Source # | |||||
| ToPath DeletePlatformApplication Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Methods | |||||
| ToQuery DeletePlatformApplication Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Methods toQuery :: DeletePlatformApplication -> QueryString Source # | |||||
| AWSRequest DeletePlatformApplication Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Associated Types
Methods request :: (Service -> Service) -> DeletePlatformApplication -> Request DeletePlatformApplication Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy DeletePlatformApplication -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse DeletePlatformApplication))) Source # | |||||
| NFData DeletePlatformApplication Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Methods rnf :: DeletePlatformApplication -> () # | |||||
| Generic DeletePlatformApplication Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Associated Types
Methods from :: DeletePlatformApplication -> Rep DeletePlatformApplication x # to :: Rep DeletePlatformApplication x -> DeletePlatformApplication # | |||||
| Read DeletePlatformApplication Source # | |||||
| Show DeletePlatformApplication Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Methods showsPrec :: Int -> DeletePlatformApplication -> ShowS # show :: DeletePlatformApplication -> String # showList :: [DeletePlatformApplication] -> ShowS # | |||||
| Eq DeletePlatformApplication Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Methods (==) :: DeletePlatformApplication -> DeletePlatformApplication -> Bool # (/=) :: DeletePlatformApplication -> DeletePlatformApplication -> Bool # | |||||
| Hashable DeletePlatformApplication Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Methods hashWithSalt :: Int -> DeletePlatformApplication -> Int Source # hash :: DeletePlatformApplication -> Int Source # | |||||
| type AWSResponse DeletePlatformApplication Source # | |||||
| type Rep DeletePlatformApplication Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication type Rep DeletePlatformApplication = D1 ('MetaData "DeletePlatformApplication" "Amazonka.SNS.DeletePlatformApplication" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "DeletePlatformApplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "platformApplicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
newDeletePlatformApplication Source #
Arguments
| :: Text | |
| -> DeletePlatformApplication |
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:
platformApplicationArn, deletePlatformApplication_platformApplicationArn - PlatformApplicationArn of platform application object to delete.
data DeletePlatformApplicationResponse Source #
See: newDeletePlatformApplicationResponse smart constructor.
Constructors
| DeletePlatformApplicationResponse' |
Instances
| NFData DeletePlatformApplicationResponse Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Methods rnf :: DeletePlatformApplicationResponse -> () # | |||||
| Generic DeletePlatformApplicationResponse Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Associated Types
| |||||
| Read DeletePlatformApplicationResponse Source # | |||||
| Show DeletePlatformApplicationResponse Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication Methods showsPrec :: Int -> DeletePlatformApplicationResponse -> ShowS # | |||||
| Eq DeletePlatformApplicationResponse Source # | |||||
| type Rep DeletePlatformApplicationResponse Source # | |||||
Defined in Amazonka.SNS.DeletePlatformApplication | |||||
newDeletePlatformApplicationResponse :: DeletePlatformApplicationResponse Source #
Create a value of DeletePlatformApplicationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteSMSSandboxPhoneNumber
data DeleteSMSSandboxPhoneNumber Source #
See: newDeleteSMSSandboxPhoneNumber smart constructor.
Constructors
| DeleteSMSSandboxPhoneNumber' Text |
Instances
| ToHeaders DeleteSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Methods toHeaders :: DeleteSMSSandboxPhoneNumber -> [Header] Source # | |||||
| ToPath DeleteSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Methods toPath :: DeleteSMSSandboxPhoneNumber -> ByteString Source # | |||||
| ToQuery DeleteSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Methods toQuery :: DeleteSMSSandboxPhoneNumber -> QueryString Source # | |||||
| AWSRequest DeleteSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Associated Types
Methods request :: (Service -> Service) -> DeleteSMSSandboxPhoneNumber -> Request DeleteSMSSandboxPhoneNumber Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy DeleteSMSSandboxPhoneNumber -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse DeleteSMSSandboxPhoneNumber))) Source # | |||||
| NFData DeleteSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Methods rnf :: DeleteSMSSandboxPhoneNumber -> () # | |||||
| Generic DeleteSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Associated Types
Methods from :: DeleteSMSSandboxPhoneNumber -> Rep DeleteSMSSandboxPhoneNumber x # to :: Rep DeleteSMSSandboxPhoneNumber x -> DeleteSMSSandboxPhoneNumber # | |||||
| Read DeleteSMSSandboxPhoneNumber Source # | |||||
| Show DeleteSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Methods showsPrec :: Int -> DeleteSMSSandboxPhoneNumber -> ShowS # show :: DeleteSMSSandboxPhoneNumber -> String # showList :: [DeleteSMSSandboxPhoneNumber] -> ShowS # | |||||
| Eq DeleteSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Methods (==) :: DeleteSMSSandboxPhoneNumber -> DeleteSMSSandboxPhoneNumber -> Bool # (/=) :: DeleteSMSSandboxPhoneNumber -> DeleteSMSSandboxPhoneNumber -> Bool # | |||||
| Hashable DeleteSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Methods hashWithSalt :: Int -> DeleteSMSSandboxPhoneNumber -> Int Source # | |||||
| type AWSResponse DeleteSMSSandboxPhoneNumber Source # | |||||
| type Rep DeleteSMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber type Rep DeleteSMSSandboxPhoneNumber = D1 ('MetaData "DeleteSMSSandboxPhoneNumber" "Amazonka.SNS.DeleteSMSSandboxPhoneNumber" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "DeleteSMSSandboxPhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
newDeleteSMSSandboxPhoneNumber Source #
Arguments
| :: Text | |
| -> DeleteSMSSandboxPhoneNumber |
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:
phoneNumber, deleteSMSSandboxPhoneNumber_phoneNumber - The destination phone number to delete.
data DeleteSMSSandboxPhoneNumberResponse Source #
See: newDeleteSMSSandboxPhoneNumberResponse smart constructor.
Constructors
| DeleteSMSSandboxPhoneNumberResponse' Int |
Instances
| NFData DeleteSMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Methods rnf :: DeleteSMSSandboxPhoneNumberResponse -> () # | |||||
| Generic DeleteSMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Associated Types
| |||||
| Read DeleteSMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber | |||||
| Show DeleteSMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber Methods showsPrec :: Int -> DeleteSMSSandboxPhoneNumberResponse -> ShowS # show :: DeleteSMSSandboxPhoneNumberResponse -> String # showList :: [DeleteSMSSandboxPhoneNumberResponse] -> ShowS # | |||||
| Eq DeleteSMSSandboxPhoneNumberResponse Source # | |||||
| type Rep DeleteSMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber type Rep DeleteSMSSandboxPhoneNumberResponse = D1 ('MetaData "DeleteSMSSandboxPhoneNumberResponse" "Amazonka.SNS.DeleteSMSSandboxPhoneNumber" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "DeleteSMSSandboxPhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) | |||||
newDeleteSMSSandboxPhoneNumberResponse Source #
Arguments
| :: Int | |
| -> DeleteSMSSandboxPhoneNumberResponse |
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:
httpStatus, deleteSMSSandboxPhoneNumberResponse_httpStatus - The response's http status code.
DeleteTopic
data DeleteTopic Source #
See: newDeleteTopic smart constructor.
Constructors
| DeleteTopic' Text |
Instances
| ToHeaders DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Methods toHeaders :: DeleteTopic -> [Header] Source # | |||||
| ToPath DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Methods toPath :: DeleteTopic -> ByteString Source # | |||||
| ToQuery DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Methods toQuery :: DeleteTopic -> QueryString Source # | |||||
| AWSRequest DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Associated Types
Methods request :: (Service -> Service) -> DeleteTopic -> Request DeleteTopic Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy DeleteTopic -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse DeleteTopic))) Source # | |||||
| NFData DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Methods rnf :: DeleteTopic -> () # | |||||
| Generic DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Associated Types
| |||||
| Read DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Methods readsPrec :: Int -> ReadS DeleteTopic # readList :: ReadS [DeleteTopic] # readPrec :: ReadPrec DeleteTopic # readListPrec :: ReadPrec [DeleteTopic] # | |||||
| Show DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Methods showsPrec :: Int -> DeleteTopic -> ShowS # show :: DeleteTopic -> String # showList :: [DeleteTopic] -> ShowS # | |||||
| Eq DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic | |||||
| Hashable DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic | |||||
| type AWSResponse DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic | |||||
| type Rep DeleteTopic Source # | |||||
Defined in Amazonka.SNS.DeleteTopic type Rep DeleteTopic = D1 ('MetaData "DeleteTopic" "Amazonka.SNS.DeleteTopic" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "DeleteTopic'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
Arguments
| :: Text | |
| -> DeleteTopic |
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:
topicArn, deleteTopic_topicArn - The ARN of the topic you want to delete.
data DeleteTopicResponse Source #
See: newDeleteTopicResponse smart constructor.
Constructors
| DeleteTopicResponse' |
Instances
| NFData DeleteTopicResponse Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Methods rnf :: DeleteTopicResponse -> () # | |||||
| Generic DeleteTopicResponse Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Associated Types
Methods from :: DeleteTopicResponse -> Rep DeleteTopicResponse x # to :: Rep DeleteTopicResponse x -> DeleteTopicResponse # | |||||
| Read DeleteTopicResponse Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Methods readsPrec :: Int -> ReadS DeleteTopicResponse # readList :: ReadS [DeleteTopicResponse] # | |||||
| Show DeleteTopicResponse Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Methods showsPrec :: Int -> DeleteTopicResponse -> ShowS # show :: DeleteTopicResponse -> String # showList :: [DeleteTopicResponse] -> ShowS # | |||||
| Eq DeleteTopicResponse Source # | |||||
Defined in Amazonka.SNS.DeleteTopic Methods (==) :: DeleteTopicResponse -> DeleteTopicResponse -> Bool # (/=) :: DeleteTopicResponse -> DeleteTopicResponse -> Bool # | |||||
| type Rep DeleteTopicResponse Source # | |||||
newDeleteTopicResponse :: DeleteTopicResponse Source #
Create a value of DeleteTopicResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
GetDataProtectionPolicy
data GetDataProtectionPolicy Source #
See: newGetDataProtectionPolicy smart constructor.
Constructors
| GetDataProtectionPolicy' Text |
Instances
| ToHeaders GetDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Methods toHeaders :: GetDataProtectionPolicy -> [Header] Source # | |||||
| ToPath GetDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Methods | |||||
| ToQuery GetDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Methods | |||||
| AWSRequest GetDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Associated Types
Methods request :: (Service -> Service) -> GetDataProtectionPolicy -> Request GetDataProtectionPolicy Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetDataProtectionPolicy -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetDataProtectionPolicy))) Source # | |||||
| NFData GetDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Methods rnf :: GetDataProtectionPolicy -> () # | |||||
| Generic GetDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Associated Types
Methods from :: GetDataProtectionPolicy -> Rep GetDataProtectionPolicy x # to :: Rep GetDataProtectionPolicy x -> GetDataProtectionPolicy # | |||||
| Read GetDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy | |||||
| Show GetDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Methods showsPrec :: Int -> GetDataProtectionPolicy -> ShowS # show :: GetDataProtectionPolicy -> String # showList :: [GetDataProtectionPolicy] -> ShowS # | |||||
| Eq GetDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Methods (==) :: GetDataProtectionPolicy -> GetDataProtectionPolicy -> Bool # (/=) :: GetDataProtectionPolicy -> GetDataProtectionPolicy -> Bool # | |||||
| Hashable GetDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Methods hashWithSalt :: Int -> GetDataProtectionPolicy -> Int Source # hash :: GetDataProtectionPolicy -> Int Source # | |||||
| type AWSResponse GetDataProtectionPolicy Source # | |||||
| type Rep GetDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy type Rep GetDataProtectionPolicy = D1 ('MetaData "GetDataProtectionPolicy" "Amazonka.SNS.GetDataProtectionPolicy" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "GetDataProtectionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
newGetDataProtectionPolicy Source #
Arguments
| :: Text | |
| -> GetDataProtectionPolicy |
Create a value of GetDataProtectionPolicy 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:
resourceArn, getDataProtectionPolicy_resourceArn - The ARN of the topic whose DataProtectionPolicy you want to get.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
data GetDataProtectionPolicyResponse Source #
See: newGetDataProtectionPolicyResponse smart constructor.
Constructors
| GetDataProtectionPolicyResponse' (Maybe Text) Int |
Instances
| NFData GetDataProtectionPolicyResponse Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Methods rnf :: GetDataProtectionPolicyResponse -> () # | |||||
| Generic GetDataProtectionPolicyResponse Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Associated Types
| |||||
| Read GetDataProtectionPolicyResponse Source # | |||||
| Show GetDataProtectionPolicyResponse Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy Methods showsPrec :: Int -> GetDataProtectionPolicyResponse -> ShowS # | |||||
| Eq GetDataProtectionPolicyResponse Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy | |||||
| type Rep GetDataProtectionPolicyResponse Source # | |||||
Defined in Amazonka.SNS.GetDataProtectionPolicy type Rep GetDataProtectionPolicyResponse = D1 ('MetaData "GetDataProtectionPolicyResponse" "Amazonka.SNS.GetDataProtectionPolicy" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "GetDataProtectionPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataProtectionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) | |||||
newGetDataProtectionPolicyResponse Source #
Arguments
| :: Int | |
| -> GetDataProtectionPolicyResponse |
Create a value of GetDataProtectionPolicyResponse 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:
dataProtectionPolicy, getDataProtectionPolicyResponse_dataProtectionPolicy - Retrieves the DataProtectionPolicy in JSON string format.
httpStatus, getDataProtectionPolicyResponse_httpStatus - The response's http status code.
GetEndpointAttributes
data GetEndpointAttributes Source #
Input for GetEndpointAttributes action.
See: newGetEndpointAttributes smart constructor.
Constructors
| GetEndpointAttributes' Text |
Instances
| ToHeaders GetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Methods toHeaders :: GetEndpointAttributes -> [Header] Source # | |||||
| ToPath GetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Methods | |||||
| ToQuery GetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Methods | |||||
| AWSRequest GetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Associated Types
Methods request :: (Service -> Service) -> GetEndpointAttributes -> Request GetEndpointAttributes Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetEndpointAttributes -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetEndpointAttributes))) Source # | |||||
| NFData GetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Methods rnf :: GetEndpointAttributes -> () # | |||||
| Generic GetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Associated Types
Methods from :: GetEndpointAttributes -> Rep GetEndpointAttributes x # to :: Rep GetEndpointAttributes x -> GetEndpointAttributes # | |||||
| Read GetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Methods readsPrec :: Int -> ReadS GetEndpointAttributes # readList :: ReadS [GetEndpointAttributes] # | |||||
| Show GetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Methods showsPrec :: Int -> GetEndpointAttributes -> ShowS # show :: GetEndpointAttributes -> String # showList :: [GetEndpointAttributes] -> ShowS # | |||||
| Eq GetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Methods (==) :: GetEndpointAttributes -> GetEndpointAttributes -> Bool # (/=) :: GetEndpointAttributes -> GetEndpointAttributes -> Bool # | |||||
| Hashable GetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Methods hashWithSalt :: Int -> GetEndpointAttributes -> Int Source # hash :: GetEndpointAttributes -> Int Source # | |||||
| type AWSResponse GetEndpointAttributes Source # | |||||
| type Rep GetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes type Rep GetEndpointAttributes = D1 ('MetaData "GetEndpointAttributes" "Amazonka.SNS.GetEndpointAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "GetEndpointAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
newGetEndpointAttributes Source #
Arguments
| :: Text | |
| -> GetEndpointAttributes |
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:
endpointArn, getEndpointAttributes_endpointArn - EndpointArn for GetEndpointAttributes input.
data GetEndpointAttributesResponse Source #
Response from GetEndpointAttributes of the EndpointArn.
See: newGetEndpointAttributesResponse smart constructor.
Instances
| NFData GetEndpointAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Methods rnf :: GetEndpointAttributesResponse -> () # | |||||
| Generic GetEndpointAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Associated Types
| |||||
| Read GetEndpointAttributesResponse Source # | |||||
| Show GetEndpointAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes Methods showsPrec :: Int -> GetEndpointAttributesResponse -> ShowS # show :: GetEndpointAttributesResponse -> String # showList :: [GetEndpointAttributesResponse] -> ShowS # | |||||
| Eq GetEndpointAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes | |||||
| type Rep GetEndpointAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetEndpointAttributes type Rep GetEndpointAttributesResponse = D1 ('MetaData "GetEndpointAttributesResponse" "Amazonka.SNS.GetEndpointAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> GetEndpointAttributesResponse |
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:
attributes, 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.
httpStatus, getEndpointAttributesResponse_httpStatus - The response's http status code.
GetPlatformApplicationAttributes
data GetPlatformApplicationAttributes Source #
Input for GetPlatformApplicationAttributes action.
See: newGetPlatformApplicationAttributes smart constructor.
Constructors
| GetPlatformApplicationAttributes' Text |
Instances
| ToHeaders GetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes Methods toHeaders :: GetPlatformApplicationAttributes -> [Header] Source # | |||||
| ToPath GetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes Methods toPath :: GetPlatformApplicationAttributes -> ByteString Source # | |||||
| ToQuery GetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes Methods toQuery :: GetPlatformApplicationAttributes -> QueryString Source # | |||||
| AWSRequest GetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes Associated Types
Methods request :: (Service -> Service) -> GetPlatformApplicationAttributes -> Request GetPlatformApplicationAttributes Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetPlatformApplicationAttributes -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetPlatformApplicationAttributes))) Source # | |||||
| NFData GetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes Methods rnf :: GetPlatformApplicationAttributes -> () # | |||||
| Generic GetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes Associated Types
| |||||
| Read GetPlatformApplicationAttributes Source # | |||||
| Show GetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes Methods showsPrec :: Int -> GetPlatformApplicationAttributes -> ShowS # | |||||
| Eq GetPlatformApplicationAttributes Source # | |||||
| Hashable GetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes Methods hashWithSalt :: Int -> GetPlatformApplicationAttributes -> Int Source # | |||||
| type AWSResponse GetPlatformApplicationAttributes Source # | |||||
| type Rep GetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes type Rep GetPlatformApplicationAttributes = D1 ('MetaData "GetPlatformApplicationAttributes" "Amazonka.SNS.GetPlatformApplicationAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "GetPlatformApplicationAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "platformApplicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
newGetPlatformApplicationAttributes Source #
Arguments
| :: Text | |
| -> GetPlatformApplicationAttributes |
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:
platformApplicationArn, getPlatformApplicationAttributes_platformApplicationArn - PlatformApplicationArn for GetPlatformApplicationAttributesInput.
data GetPlatformApplicationAttributesResponse Source #
Response for GetPlatformApplicationAttributes action.
See: newGetPlatformApplicationAttributesResponse smart constructor.
Instances
| NFData GetPlatformApplicationAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes Methods rnf :: GetPlatformApplicationAttributesResponse -> () # | |||||
| Generic GetPlatformApplicationAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes Associated Types
| |||||
| Read GetPlatformApplicationAttributesResponse Source # | |||||
| Show GetPlatformApplicationAttributesResponse Source # | |||||
| Eq GetPlatformApplicationAttributesResponse Source # | |||||
| type Rep GetPlatformApplicationAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetPlatformApplicationAttributes type Rep GetPlatformApplicationAttributesResponse = D1 ('MetaData "GetPlatformApplicationAttributesResponse" "Amazonka.SNS.GetPlatformApplicationAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> GetPlatformApplicationAttributesResponse |
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:
attributes, getPlatformApplicationAttributesResponse_attributes - Attributes include the following:
AppleCertificateExpiryDate– The expiry date of the SSL certificate used to configure certificate-based authentication.ApplePlatformTeamID– The Apple developer account ID used to configure token-based authentication.ApplePlatformBundleID– The app identifier used to configure token-based authentication.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.
httpStatus, getPlatformApplicationAttributesResponse_httpStatus - The response's http status code.
GetSMSAttributes
data GetSMSAttributes Source #
The input for the GetSMSAttributes request.
See: newGetSMSAttributes smart constructor.
Constructors
| GetSMSAttributes' (Maybe [Text]) |
Instances
| ToHeaders GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Methods toHeaders :: GetSMSAttributes -> [Header] Source # | |||||
| ToPath GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Methods toPath :: GetSMSAttributes -> ByteString Source # | |||||
| ToQuery GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Methods | |||||
| AWSRequest GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Associated Types
Methods request :: (Service -> Service) -> GetSMSAttributes -> Request GetSMSAttributes Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetSMSAttributes -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetSMSAttributes))) Source # | |||||
| NFData GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Methods rnf :: GetSMSAttributes -> () # | |||||
| Generic GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Associated Types
Methods from :: GetSMSAttributes -> Rep GetSMSAttributes x # to :: Rep GetSMSAttributes x -> GetSMSAttributes # | |||||
| Read GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Methods readsPrec :: Int -> ReadS GetSMSAttributes # readList :: ReadS [GetSMSAttributes] # | |||||
| Show GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Methods showsPrec :: Int -> GetSMSAttributes -> ShowS # show :: GetSMSAttributes -> String # showList :: [GetSMSAttributes] -> ShowS # | |||||
| Eq GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Methods (==) :: GetSMSAttributes -> GetSMSAttributes -> Bool # (/=) :: GetSMSAttributes -> GetSMSAttributes -> Bool # | |||||
| Hashable GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Methods hashWithSalt :: Int -> GetSMSAttributes -> Int Source # hash :: GetSMSAttributes -> Int Source # | |||||
| type AWSResponse GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes | |||||
| type Rep GetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes type Rep GetSMSAttributes = D1 ('MetaData "GetSMSAttributes" "Amazonka.SNS.GetSMSAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "GetSMSAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) | |||||
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:
attributes, 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
| NFData GetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Methods rnf :: GetSMSAttributesResponse -> () # | |||||
| Generic GetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Associated Types
Methods from :: GetSMSAttributesResponse -> Rep GetSMSAttributesResponse x # to :: Rep GetSMSAttributesResponse x -> GetSMSAttributesResponse # | |||||
| Read GetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes | |||||
| Show GetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Methods showsPrec :: Int -> GetSMSAttributesResponse -> ShowS # show :: GetSMSAttributesResponse -> String # showList :: [GetSMSAttributesResponse] -> ShowS # | |||||
| Eq GetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes Methods (==) :: GetSMSAttributesResponse -> GetSMSAttributesResponse -> Bool # (/=) :: GetSMSAttributesResponse -> GetSMSAttributesResponse -> Bool # | |||||
| type Rep GetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetSMSAttributes type Rep GetSMSAttributesResponse = D1 ('MetaData "GetSMSAttributesResponse" "Amazonka.SNS.GetSMSAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> GetSMSAttributesResponse |
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:
attributes, getSMSAttributesResponse_attributes - The SMS attribute names and their values.
httpStatus, getSMSAttributesResponse_httpStatus - The response's http status code.
GetSMSSandboxAccountStatus
data GetSMSSandboxAccountStatus Source #
See: newGetSMSSandboxAccountStatus smart constructor.
Constructors
| GetSMSSandboxAccountStatus' |
Instances
| ToHeaders GetSMSSandboxAccountStatus Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Methods toHeaders :: GetSMSSandboxAccountStatus -> [Header] Source # | |||||
| ToPath GetSMSSandboxAccountStatus Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Methods | |||||
| ToQuery GetSMSSandboxAccountStatus Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Methods toQuery :: GetSMSSandboxAccountStatus -> QueryString Source # | |||||
| AWSRequest GetSMSSandboxAccountStatus Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Associated Types
Methods request :: (Service -> Service) -> GetSMSSandboxAccountStatus -> Request GetSMSSandboxAccountStatus Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetSMSSandboxAccountStatus -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetSMSSandboxAccountStatus))) Source # | |||||
| NFData GetSMSSandboxAccountStatus Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Methods rnf :: GetSMSSandboxAccountStatus -> () # | |||||
| Generic GetSMSSandboxAccountStatus Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Associated Types
Methods from :: GetSMSSandboxAccountStatus -> Rep GetSMSSandboxAccountStatus x # to :: Rep GetSMSSandboxAccountStatus x -> GetSMSSandboxAccountStatus # | |||||
| Read GetSMSSandboxAccountStatus Source # | |||||
| Show GetSMSSandboxAccountStatus Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Methods showsPrec :: Int -> GetSMSSandboxAccountStatus -> ShowS # show :: GetSMSSandboxAccountStatus -> String # showList :: [GetSMSSandboxAccountStatus] -> ShowS # | |||||
| Eq GetSMSSandboxAccountStatus Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Methods (==) :: GetSMSSandboxAccountStatus -> GetSMSSandboxAccountStatus -> Bool # (/=) :: GetSMSSandboxAccountStatus -> GetSMSSandboxAccountStatus -> Bool # | |||||
| Hashable GetSMSSandboxAccountStatus Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Methods hashWithSalt :: Int -> GetSMSSandboxAccountStatus -> Int Source # hash :: GetSMSSandboxAccountStatus -> Int Source # | |||||
| type AWSResponse GetSMSSandboxAccountStatus Source # | |||||
| type Rep GetSMSSandboxAccountStatus Source # | |||||
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 #
See: newGetSMSSandboxAccountStatusResponse smart constructor.
Constructors
| GetSMSSandboxAccountStatusResponse' Int Bool |
Instances
| NFData GetSMSSandboxAccountStatusResponse Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Methods rnf :: GetSMSSandboxAccountStatusResponse -> () # | |||||
| Generic GetSMSSandboxAccountStatusResponse Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Associated Types
| |||||
| Read GetSMSSandboxAccountStatusResponse Source # | |||||
| Show GetSMSSandboxAccountStatusResponse Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus Methods showsPrec :: Int -> GetSMSSandboxAccountStatusResponse -> ShowS # | |||||
| Eq GetSMSSandboxAccountStatusResponse Source # | |||||
| type Rep GetSMSSandboxAccountStatusResponse Source # | |||||
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus type Rep GetSMSSandboxAccountStatusResponse = D1 ('MetaData "GetSMSSandboxAccountStatusResponse" "Amazonka.SNS.GetSMSSandboxAccountStatus" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> Bool | |
| -> GetSMSSandboxAccountStatusResponse |
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:
httpStatus, getSMSSandboxAccountStatusResponse_httpStatus - The response's http status code.
isInSandbox, getSMSSandboxAccountStatusResponse_isInSandbox - Indicates whether the calling Amazon Web Services account is in the SMS
sandbox.
GetSubscriptionAttributes
data GetSubscriptionAttributes Source #
Input for GetSubscriptionAttributes.
See: newGetSubscriptionAttributes smart constructor.
Constructors
| GetSubscriptionAttributes' Text |
Instances
| ToHeaders GetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Methods toHeaders :: GetSubscriptionAttributes -> [Header] Source # | |||||
| ToPath GetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Methods | |||||
| ToQuery GetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Methods toQuery :: GetSubscriptionAttributes -> QueryString Source # | |||||
| AWSRequest GetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Associated Types
Methods request :: (Service -> Service) -> GetSubscriptionAttributes -> Request GetSubscriptionAttributes Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetSubscriptionAttributes -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetSubscriptionAttributes))) Source # | |||||
| NFData GetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Methods rnf :: GetSubscriptionAttributes -> () # | |||||
| Generic GetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Associated Types
Methods from :: GetSubscriptionAttributes -> Rep GetSubscriptionAttributes x # to :: Rep GetSubscriptionAttributes x -> GetSubscriptionAttributes # | |||||
| Read GetSubscriptionAttributes Source # | |||||
| Show GetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Methods showsPrec :: Int -> GetSubscriptionAttributes -> ShowS # show :: GetSubscriptionAttributes -> String # showList :: [GetSubscriptionAttributes] -> ShowS # | |||||
| Eq GetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Methods (==) :: GetSubscriptionAttributes -> GetSubscriptionAttributes -> Bool # (/=) :: GetSubscriptionAttributes -> GetSubscriptionAttributes -> Bool # | |||||
| Hashable GetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Methods hashWithSalt :: Int -> GetSubscriptionAttributes -> Int Source # hash :: GetSubscriptionAttributes -> Int Source # | |||||
| type AWSResponse GetSubscriptionAttributes Source # | |||||
| type Rep GetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes type Rep GetSubscriptionAttributes = D1 ('MetaData "GetSubscriptionAttributes" "Amazonka.SNS.GetSubscriptionAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "GetSubscriptionAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
newGetSubscriptionAttributes Source #
Arguments
| :: Text | |
| -> GetSubscriptionAttributes |
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:
subscriptionArn, 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
| NFData GetSubscriptionAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Methods rnf :: GetSubscriptionAttributesResponse -> () # | |||||
| Generic GetSubscriptionAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Associated Types
| |||||
| Read GetSubscriptionAttributesResponse Source # | |||||
| Show GetSubscriptionAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes Methods showsPrec :: Int -> GetSubscriptionAttributesResponse -> ShowS # | |||||
| Eq GetSubscriptionAttributesResponse Source # | |||||
| type Rep GetSubscriptionAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetSubscriptionAttributes type Rep GetSubscriptionAttributesResponse = D1 ('MetaData "GetSubscriptionAttributesResponse" "Amazonka.SNS.GetSubscriptionAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> GetSubscriptionAttributesResponse |
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:
attributes, getSubscriptionAttributesResponse_attributes - A map of the subscription's attributes. Attributes in this map include
the following:
ConfirmationWasAuthenticated–trueif 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.FilterPolicyScope– This attribute lets you choose the filtering scope by using one of the following string value types:MessageAttributes(default) – The filter is applied on the message attributes.MessageBody– The filter is applied on the message body.
Owner– The Amazon Web Services account ID of the subscription's owner.PendingConfirmation–trueif the subscription hasn't been confirmed. To confirm a pending subscription, call theConfirmSubscriptionaction with a confirmation token.RawMessageDelivery–trueif 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.
httpStatus, getSubscriptionAttributesResponse_httpStatus - The response's http status code.
GetTopicAttributes
data GetTopicAttributes Source #
Input for GetTopicAttributes action.
See: newGetTopicAttributes smart constructor.
Constructors
| GetTopicAttributes' Text |
Instances
| ToHeaders GetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Methods toHeaders :: GetTopicAttributes -> [Header] Source # | |||||
| ToPath GetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Methods | |||||
| ToQuery GetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Methods | |||||
| AWSRequest GetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Associated Types
Methods request :: (Service -> Service) -> GetTopicAttributes -> Request GetTopicAttributes Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetTopicAttributes -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetTopicAttributes))) Source # | |||||
| NFData GetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Methods rnf :: GetTopicAttributes -> () # | |||||
| Generic GetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Associated Types
Methods from :: GetTopicAttributes -> Rep GetTopicAttributes x # to :: Rep GetTopicAttributes x -> GetTopicAttributes # | |||||
| Read GetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Methods readsPrec :: Int -> ReadS GetTopicAttributes # readList :: ReadS [GetTopicAttributes] # | |||||
| Show GetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Methods showsPrec :: Int -> GetTopicAttributes -> ShowS # show :: GetTopicAttributes -> String # showList :: [GetTopicAttributes] -> ShowS # | |||||
| Eq GetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Methods (==) :: GetTopicAttributes -> GetTopicAttributes -> Bool # (/=) :: GetTopicAttributes -> GetTopicAttributes -> Bool # | |||||
| Hashable GetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Methods hashWithSalt :: Int -> GetTopicAttributes -> Int Source # hash :: GetTopicAttributes -> Int Source # | |||||
| type AWSResponse GetTopicAttributes Source # | |||||
| type Rep GetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes type Rep GetTopicAttributes = D1 ('MetaData "GetTopicAttributes" "Amazonka.SNS.GetTopicAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "GetTopicAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
newGetTopicAttributes Source #
Arguments
| :: Text | |
| -> GetTopicAttributes |
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:
topicArn, 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
| NFData GetTopicAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Methods rnf :: GetTopicAttributesResponse -> () # | |||||
| Generic GetTopicAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Associated Types
Methods from :: GetTopicAttributesResponse -> Rep GetTopicAttributesResponse x # to :: Rep GetTopicAttributesResponse x -> GetTopicAttributesResponse # | |||||
| Read GetTopicAttributesResponse Source # | |||||
| Show GetTopicAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Methods showsPrec :: Int -> GetTopicAttributesResponse -> ShowS # show :: GetTopicAttributesResponse -> String # showList :: [GetTopicAttributesResponse] -> ShowS # | |||||
| Eq GetTopicAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes Methods (==) :: GetTopicAttributesResponse -> GetTopicAttributesResponse -> Bool # (/=) :: GetTopicAttributesResponse -> GetTopicAttributesResponse -> Bool # | |||||
| type Rep GetTopicAttributesResponse Source # | |||||
Defined in Amazonka.SNS.GetTopicAttributes type Rep GetTopicAttributesResponse = D1 ('MetaData "GetTopicAttributesResponse" "Amazonka.SNS.GetTopicAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> GetTopicAttributesResponse |
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:
attributes, 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 theFromfield for notifications toemailandemail-jsonendpoints.EffectiveDeliveryPolicy– The JSON serialization of the effective delivery policy, taking system defaults into account.Owner– The Amazon Web Services account ID of the topic's owner.Policy– The JSON serialization of the topic's access control policy.SignatureVersion– The version of the Amazon SNS signature used for the topic.- By default,
SignatureVersionis set to 1. The signature is a Base64-encoded SHA1withRSA signature. When you set
SignatureVersionto 2. Amazon SNS uses a Base64-encoded SHA256withRSA signature.If the API response does not include the
SignatureVersionattribute, it means that theSignatureVersionfor the topic has value 1.
- By default,
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.TracingConfig– Tracing mode of an Amazon SNS topic. By defaultTracingConfigis set toPassThrough, and the topic passes through the tracing header it receives from an Amazon SNS publisher to its subscriptions. If set to Active, Amazon SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. This is only supported on standard topics.
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 totrue, a FIFO topic is created.ContentBasedDeduplication– Enables content-based deduplication for FIFO topics.- By default,
ContentBasedDeduplicationis set tofalse. If you create a FIFO topic and this attribute isfalse, you must specify a value for theMessageDeduplicationIdparameter for the Publish action. When you set
ContentBasedDeduplicationtotrue, Amazon SNS uses a SHA-256 hash to generate theMessageDeduplicationIdusing 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
MessageDeduplicationIdparameter for thePublishaction.
- By default,
httpStatus, getTopicAttributesResponse_httpStatus - The response's http status code.
ListEndpointsByPlatformApplication (Paginated)
data ListEndpointsByPlatformApplication Source #
Input for ListEndpointsByPlatformApplication action.
See: newListEndpointsByPlatformApplication smart constructor.
Constructors
| ListEndpointsByPlatformApplication' (Maybe Text) Text |
Instances
| ToHeaders ListEndpointsByPlatformApplication Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication Methods toHeaders :: ListEndpointsByPlatformApplication -> [Header] Source # | |||||
| ToPath ListEndpointsByPlatformApplication Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication Methods toPath :: ListEndpointsByPlatformApplication -> ByteString Source # | |||||
| ToQuery ListEndpointsByPlatformApplication Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication Methods toQuery :: ListEndpointsByPlatformApplication -> QueryString Source # | |||||
| AWSPager ListEndpointsByPlatformApplication Source # | |||||
| AWSRequest ListEndpointsByPlatformApplication Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication Associated Types
Methods request :: (Service -> Service) -> ListEndpointsByPlatformApplication -> Request ListEndpointsByPlatformApplication Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListEndpointsByPlatformApplication -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListEndpointsByPlatformApplication))) Source # | |||||
| NFData ListEndpointsByPlatformApplication Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication Methods rnf :: ListEndpointsByPlatformApplication -> () # | |||||
| Generic ListEndpointsByPlatformApplication Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication Associated Types
| |||||
| Read ListEndpointsByPlatformApplication Source # | |||||
| Show ListEndpointsByPlatformApplication Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication Methods showsPrec :: Int -> ListEndpointsByPlatformApplication -> ShowS # | |||||
| Eq ListEndpointsByPlatformApplication Source # | |||||
| Hashable ListEndpointsByPlatformApplication Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication Methods hashWithSalt :: Int -> ListEndpointsByPlatformApplication -> Int Source # | |||||
| type AWSResponse ListEndpointsByPlatformApplication Source # | |||||
| type Rep ListEndpointsByPlatformApplication Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication type Rep ListEndpointsByPlatformApplication = D1 ('MetaData "ListEndpointsByPlatformApplication" "Amazonka.SNS.ListEndpointsByPlatformApplication" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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))) | |||||
newListEndpointsByPlatformApplication Source #
Arguments
| :: Text | |
| -> ListEndpointsByPlatformApplication |
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:
nextToken, listEndpointsByPlatformApplication_nextToken - NextToken string is used when calling ListEndpointsByPlatformApplication
action to retrieve additional records that are available after the first
page results.
platformApplicationArn, listEndpointsByPlatformApplication_platformApplicationArn - PlatformApplicationArn for ListEndpointsByPlatformApplicationInput
action.
data ListEndpointsByPlatformApplicationResponse Source #
Response for ListEndpointsByPlatformApplication action.
See: newListEndpointsByPlatformApplicationResponse smart constructor.
Instances
| NFData ListEndpointsByPlatformApplicationResponse Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication Methods | |||||
| Generic ListEndpointsByPlatformApplicationResponse Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication Associated Types
| |||||
| Read ListEndpointsByPlatformApplicationResponse Source # | |||||
| Show ListEndpointsByPlatformApplicationResponse Source # | |||||
| Eq ListEndpointsByPlatformApplicationResponse Source # | |||||
| type Rep ListEndpointsByPlatformApplicationResponse Source # | |||||
Defined in Amazonka.SNS.ListEndpointsByPlatformApplication type Rep ListEndpointsByPlatformApplicationResponse = D1 ('MetaData "ListEndpointsByPlatformApplicationResponse" "Amazonka.SNS.ListEndpointsByPlatformApplication" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "ListEndpointsByPlatformApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Endpoint])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) | |||||
newListEndpointsByPlatformApplicationResponse Source #
Arguments
| :: Int | |
| -> ListEndpointsByPlatformApplicationResponse |
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:
endpoints, listEndpointsByPlatformApplicationResponse_endpoints - Endpoints returned for ListEndpointsByPlatformApplication action.
nextToken, listEndpointsByPlatformApplicationResponse_nextToken - NextToken string is returned when calling
ListEndpointsByPlatformApplication action if additional records are
available after the first page results.
httpStatus, listEndpointsByPlatformApplicationResponse_httpStatus - The response's http status code.
ListOriginationNumbers (Paginated)
data ListOriginationNumbers Source #
See: newListOriginationNumbers smart constructor.
Constructors
| ListOriginationNumbers' (Maybe Natural) (Maybe Text) |
Instances
| ToHeaders ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Methods toHeaders :: ListOriginationNumbers -> [Header] Source # | |||||
| ToPath ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Methods | |||||
| ToQuery ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Methods | |||||
| AWSPager ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers | |||||
| AWSRequest ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Associated Types
Methods request :: (Service -> Service) -> ListOriginationNumbers -> Request ListOriginationNumbers Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListOriginationNumbers -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListOriginationNumbers))) Source # | |||||
| NFData ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Methods rnf :: ListOriginationNumbers -> () # | |||||
| Generic ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Associated Types
Methods from :: ListOriginationNumbers -> Rep ListOriginationNumbers x # to :: Rep ListOriginationNumbers x -> ListOriginationNumbers # | |||||
| Read ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers | |||||
| Show ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Methods showsPrec :: Int -> ListOriginationNumbers -> ShowS # show :: ListOriginationNumbers -> String # showList :: [ListOriginationNumbers] -> ShowS # | |||||
| Eq ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Methods (==) :: ListOriginationNumbers -> ListOriginationNumbers -> Bool # (/=) :: ListOriginationNumbers -> ListOriginationNumbers -> Bool # | |||||
| Hashable ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Methods hashWithSalt :: Int -> ListOriginationNumbers -> Int Source # hash :: ListOriginationNumbers -> Int Source # | |||||
| type AWSResponse ListOriginationNumbers Source # | |||||
| type Rep ListOriginationNumbers Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers type Rep ListOriginationNumbers = D1 ('MetaData "ListOriginationNumbers" "Amazonka.SNS.ListOriginationNumbers" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "ListOriginationNumbers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |||||
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:
maxResults, listOriginationNumbers_maxResults - The maximum number of origination numbers to return.
nextToken, listOriginationNumbers_nextToken - Token that the previous ListOriginationNumbers request returns.
data ListOriginationNumbersResponse Source #
See: newListOriginationNumbersResponse smart constructor.
Constructors
| ListOriginationNumbersResponse' (Maybe Text) (Maybe [PhoneNumberInformation]) Int |
Instances
| NFData ListOriginationNumbersResponse Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Methods rnf :: ListOriginationNumbersResponse -> () # | |||||
| Generic ListOriginationNumbersResponse Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Associated Types
| |||||
| Read ListOriginationNumbersResponse Source # | |||||
| Show ListOriginationNumbersResponse Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers Methods showsPrec :: Int -> ListOriginationNumbersResponse -> ShowS # show :: ListOriginationNumbersResponse -> String # showList :: [ListOriginationNumbersResponse] -> ShowS # | |||||
| Eq ListOriginationNumbersResponse Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers | |||||
| type Rep ListOriginationNumbersResponse Source # | |||||
Defined in Amazonka.SNS.ListOriginationNumbers type Rep ListOriginationNumbersResponse = D1 ('MetaData "ListOriginationNumbersResponse" "Amazonka.SNS.ListOriginationNumbers" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> ListOriginationNumbersResponse |
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:
nextToken, listOriginationNumbersResponse_nextToken - A NextToken string is returned when you call the
ListOriginationNumbers operation if additional pages of records are
available.
phoneNumbers, listOriginationNumbersResponse_phoneNumbers - A list of the calling account's verified and pending origination
numbers.
httpStatus, listOriginationNumbersResponse_httpStatus - The response's http status code.
ListPhoneNumbersOptedOut (Paginated)
data ListPhoneNumbersOptedOut Source #
The input for the ListPhoneNumbersOptedOut action.
See: newListPhoneNumbersOptedOut smart constructor.
Constructors
| ListPhoneNumbersOptedOut' (Maybe Text) |
Instances
| ToHeaders ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Methods toHeaders :: ListPhoneNumbersOptedOut -> [Header] Source # | |||||
| ToPath ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Methods | |||||
| ToQuery ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Methods | |||||
| AWSPager ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut | |||||
| AWSRequest ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Associated Types
Methods request :: (Service -> Service) -> ListPhoneNumbersOptedOut -> Request ListPhoneNumbersOptedOut Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListPhoneNumbersOptedOut -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListPhoneNumbersOptedOut))) Source # | |||||
| NFData ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Methods rnf :: ListPhoneNumbersOptedOut -> () # | |||||
| Generic ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Associated Types
Methods from :: ListPhoneNumbersOptedOut -> Rep ListPhoneNumbersOptedOut x # to :: Rep ListPhoneNumbersOptedOut x -> ListPhoneNumbersOptedOut # | |||||
| Read ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut | |||||
| Show ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Methods showsPrec :: Int -> ListPhoneNumbersOptedOut -> ShowS # show :: ListPhoneNumbersOptedOut -> String # showList :: [ListPhoneNumbersOptedOut] -> ShowS # | |||||
| Eq ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Methods (==) :: ListPhoneNumbersOptedOut -> ListPhoneNumbersOptedOut -> Bool # (/=) :: ListPhoneNumbersOptedOut -> ListPhoneNumbersOptedOut -> Bool # | |||||
| Hashable ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Methods hashWithSalt :: Int -> ListPhoneNumbersOptedOut -> Int Source # hash :: ListPhoneNumbersOptedOut -> Int Source # | |||||
| type AWSResponse ListPhoneNumbersOptedOut Source # | |||||
| type Rep ListPhoneNumbersOptedOut Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut type Rep ListPhoneNumbersOptedOut = D1 ('MetaData "ListPhoneNumbersOptedOut" "Amazonka.SNS.ListPhoneNumbersOptedOut" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "ListPhoneNumbersOptedOut'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |||||
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:
nextToken, 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
| NFData ListPhoneNumbersOptedOutResponse Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Methods rnf :: ListPhoneNumbersOptedOutResponse -> () # | |||||
| Generic ListPhoneNumbersOptedOutResponse Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Associated Types
| |||||
| Read ListPhoneNumbersOptedOutResponse Source # | |||||
| Show ListPhoneNumbersOptedOutResponse Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut Methods showsPrec :: Int -> ListPhoneNumbersOptedOutResponse -> ShowS # | |||||
| Eq ListPhoneNumbersOptedOutResponse Source # | |||||
| type Rep ListPhoneNumbersOptedOutResponse Source # | |||||
Defined in Amazonka.SNS.ListPhoneNumbersOptedOut type Rep ListPhoneNumbersOptedOutResponse = D1 ('MetaData "ListPhoneNumbersOptedOutResponse" "Amazonka.SNS.ListPhoneNumbersOptedOut" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "ListPhoneNumbersOptedOutResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "phoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) | |||||
newListPhoneNumbersOptedOutResponse Source #
Arguments
| :: Int | |
| -> ListPhoneNumbersOptedOutResponse |
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:
nextToken, listPhoneNumbersOptedOutResponse_nextToken - A NextToken string is returned when you call the
ListPhoneNumbersOptedOut action if additional records are available
after the first page of results.
phoneNumbers, 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.
httpStatus, listPhoneNumbersOptedOutResponse_httpStatus - The response's http status code.
ListPlatformApplications (Paginated)
data ListPlatformApplications Source #
Input for ListPlatformApplications action.
See: newListPlatformApplications smart constructor.
Constructors
| ListPlatformApplications' (Maybe Text) |
Instances
| ToHeaders ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Methods toHeaders :: ListPlatformApplications -> [Header] Source # | |||||
| ToPath ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Methods | |||||
| ToQuery ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Methods | |||||
| AWSPager ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications | |||||
| AWSRequest ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Associated Types
Methods request :: (Service -> Service) -> ListPlatformApplications -> Request ListPlatformApplications Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListPlatformApplications -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListPlatformApplications))) Source # | |||||
| NFData ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Methods rnf :: ListPlatformApplications -> () # | |||||
| Generic ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Associated Types
Methods from :: ListPlatformApplications -> Rep ListPlatformApplications x # to :: Rep ListPlatformApplications x -> ListPlatformApplications # | |||||
| Read ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications | |||||
| Show ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Methods showsPrec :: Int -> ListPlatformApplications -> ShowS # show :: ListPlatformApplications -> String # showList :: [ListPlatformApplications] -> ShowS # | |||||
| Eq ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Methods (==) :: ListPlatformApplications -> ListPlatformApplications -> Bool # (/=) :: ListPlatformApplications -> ListPlatformApplications -> Bool # | |||||
| Hashable ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Methods hashWithSalt :: Int -> ListPlatformApplications -> Int Source # hash :: ListPlatformApplications -> Int Source # | |||||
| type AWSResponse ListPlatformApplications Source # | |||||
| type Rep ListPlatformApplications Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications type Rep ListPlatformApplications = D1 ('MetaData "ListPlatformApplications" "Amazonka.SNS.ListPlatformApplications" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "ListPlatformApplications'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |||||
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:
nextToken, 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.
Constructors
| ListPlatformApplicationsResponse' (Maybe Text) (Maybe [PlatformApplication]) Int |
Instances
| NFData ListPlatformApplicationsResponse Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Methods rnf :: ListPlatformApplicationsResponse -> () # | |||||
| Generic ListPlatformApplicationsResponse Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Associated Types
| |||||
| Read ListPlatformApplicationsResponse Source # | |||||
| Show ListPlatformApplicationsResponse Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications Methods showsPrec :: Int -> ListPlatformApplicationsResponse -> ShowS # | |||||
| Eq ListPlatformApplicationsResponse Source # | |||||
| type Rep ListPlatformApplicationsResponse Source # | |||||
Defined in Amazonka.SNS.ListPlatformApplications type Rep ListPlatformApplicationsResponse = D1 ('MetaData "ListPlatformApplicationsResponse" "Amazonka.SNS.ListPlatformApplications" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "ListPlatformApplicationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "platformApplications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PlatformApplication])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) | |||||
newListPlatformApplicationsResponse Source #
Arguments
| :: Int | |
| -> ListPlatformApplicationsResponse |
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:
nextToken, listPlatformApplicationsResponse_nextToken - NextToken string is returned when calling ListPlatformApplications
action if additional records are available after the first page results.
platformApplications, listPlatformApplicationsResponse_platformApplications - Platform applications returned when calling ListPlatformApplications
action.
httpStatus, listPlatformApplicationsResponse_httpStatus - The response's http status code.
ListSMSSandboxPhoneNumbers (Paginated)
data ListSMSSandboxPhoneNumbers Source #
See: newListSMSSandboxPhoneNumbers smart constructor.
Constructors
| ListSMSSandboxPhoneNumbers' (Maybe Natural) (Maybe Text) |
Instances
| ToHeaders ListSMSSandboxPhoneNumbers Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Methods toHeaders :: ListSMSSandboxPhoneNumbers -> [Header] Source # | |||||
| ToPath ListSMSSandboxPhoneNumbers Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Methods | |||||
| ToQuery ListSMSSandboxPhoneNumbers Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Methods toQuery :: ListSMSSandboxPhoneNumbers -> QueryString Source # | |||||
| AWSPager ListSMSSandboxPhoneNumbers Source # | |||||
| AWSRequest ListSMSSandboxPhoneNumbers Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Associated Types
Methods request :: (Service -> Service) -> ListSMSSandboxPhoneNumbers -> Request ListSMSSandboxPhoneNumbers Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListSMSSandboxPhoneNumbers -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListSMSSandboxPhoneNumbers))) Source # | |||||
| NFData ListSMSSandboxPhoneNumbers Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Methods rnf :: ListSMSSandboxPhoneNumbers -> () # | |||||
| Generic ListSMSSandboxPhoneNumbers Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Associated Types
Methods from :: ListSMSSandboxPhoneNumbers -> Rep ListSMSSandboxPhoneNumbers x # to :: Rep ListSMSSandboxPhoneNumbers x -> ListSMSSandboxPhoneNumbers # | |||||
| Read ListSMSSandboxPhoneNumbers Source # | |||||
| Show ListSMSSandboxPhoneNumbers Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Methods showsPrec :: Int -> ListSMSSandboxPhoneNumbers -> ShowS # show :: ListSMSSandboxPhoneNumbers -> String # showList :: [ListSMSSandboxPhoneNumbers] -> ShowS # | |||||
| Eq ListSMSSandboxPhoneNumbers Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Methods (==) :: ListSMSSandboxPhoneNumbers -> ListSMSSandboxPhoneNumbers -> Bool # (/=) :: ListSMSSandboxPhoneNumbers -> ListSMSSandboxPhoneNumbers -> Bool # | |||||
| Hashable ListSMSSandboxPhoneNumbers Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Methods hashWithSalt :: Int -> ListSMSSandboxPhoneNumbers -> Int Source # hash :: ListSMSSandboxPhoneNumbers -> Int Source # | |||||
| type AWSResponse ListSMSSandboxPhoneNumbers Source # | |||||
| type Rep ListSMSSandboxPhoneNumbers Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers type Rep ListSMSSandboxPhoneNumbers = D1 ('MetaData "ListSMSSandboxPhoneNumbers" "Amazonka.SNS.ListSMSSandboxPhoneNumbers" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "ListSMSSandboxPhoneNumbers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |||||
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:
maxResults, listSMSSandboxPhoneNumbers_maxResults - The maximum number of phone numbers to return.
nextToken, listSMSSandboxPhoneNumbers_nextToken - Token that the previous ListSMSSandboxPhoneNumbersInput request
returns.
data ListSMSSandboxPhoneNumbersResponse Source #
See: newListSMSSandboxPhoneNumbersResponse smart constructor.
Constructors
| ListSMSSandboxPhoneNumbersResponse' (Maybe Text) Int [SMSSandboxPhoneNumber] |
Instances
| NFData ListSMSSandboxPhoneNumbersResponse Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Methods rnf :: ListSMSSandboxPhoneNumbersResponse -> () # | |||||
| Generic ListSMSSandboxPhoneNumbersResponse Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Associated Types
| |||||
| Read ListSMSSandboxPhoneNumbersResponse Source # | |||||
| Show ListSMSSandboxPhoneNumbersResponse Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers Methods showsPrec :: Int -> ListSMSSandboxPhoneNumbersResponse -> ShowS # | |||||
| Eq ListSMSSandboxPhoneNumbersResponse Source # | |||||
| type Rep ListSMSSandboxPhoneNumbersResponse Source # | |||||
Defined in Amazonka.SNS.ListSMSSandboxPhoneNumbers type Rep ListSMSSandboxPhoneNumbersResponse = D1 ('MetaData "ListSMSSandboxPhoneNumbersResponse" "Amazonka.SNS.ListSMSSandboxPhoneNumbers" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> ListSMSSandboxPhoneNumbersResponse |
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:
nextToken, listSMSSandboxPhoneNumbersResponse_nextToken - A NextToken string is returned when you call the
ListSMSSandboxPhoneNumbersInput operation if additional pages of
records are available.
httpStatus, listSMSSandboxPhoneNumbersResponse_httpStatus - The response's http status code.
phoneNumbers, listSMSSandboxPhoneNumbersResponse_phoneNumbers - A list of the calling account's pending and verified phone numbers.
ListSubscriptions (Paginated)
data ListSubscriptions Source #
Input for ListSubscriptions action.
See: newListSubscriptions smart constructor.
Constructors
| ListSubscriptions' (Maybe Text) |
Instances
| ToHeaders ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods toHeaders :: ListSubscriptions -> [Header] Source # | |||||
| ToPath ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods toPath :: ListSubscriptions -> ByteString Source # | |||||
| ToQuery ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods | |||||
| AWSPager ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods page :: ListSubscriptions -> AWSResponse ListSubscriptions -> Maybe ListSubscriptions Source # | |||||
| AWSRequest ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Associated Types
Methods request :: (Service -> Service) -> ListSubscriptions -> Request ListSubscriptions Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListSubscriptions -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListSubscriptions))) Source # | |||||
| NFData ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods rnf :: ListSubscriptions -> () # | |||||
| Generic ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Associated Types
Methods from :: ListSubscriptions -> Rep ListSubscriptions x # to :: Rep ListSubscriptions x -> ListSubscriptions # | |||||
| Read ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods readsPrec :: Int -> ReadS ListSubscriptions # readList :: ReadS [ListSubscriptions] # | |||||
| Show ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods showsPrec :: Int -> ListSubscriptions -> ShowS # show :: ListSubscriptions -> String # showList :: [ListSubscriptions] -> ShowS # | |||||
| Eq ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods (==) :: ListSubscriptions -> ListSubscriptions -> Bool # (/=) :: ListSubscriptions -> ListSubscriptions -> Bool # | |||||
| Hashable ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods hashWithSalt :: Int -> ListSubscriptions -> Int Source # hash :: ListSubscriptions -> Int Source # | |||||
| type AWSResponse ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions | |||||
| type Rep ListSubscriptions Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions type Rep ListSubscriptions = D1 ('MetaData "ListSubscriptions" "Amazonka.SNS.ListSubscriptions" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "ListSubscriptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |||||
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:
nextToken, listSubscriptions_nextToken - Token returned by the previous ListSubscriptions request.
data ListSubscriptionsResponse Source #
Response for ListSubscriptions action
See: newListSubscriptionsResponse smart constructor.
Constructors
| ListSubscriptionsResponse' (Maybe Text) (Maybe [Subscription]) Int |
Instances
| NFData ListSubscriptionsResponse Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods rnf :: ListSubscriptionsResponse -> () # | |||||
| Generic ListSubscriptionsResponse Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Associated Types
Methods from :: ListSubscriptionsResponse -> Rep ListSubscriptionsResponse x # to :: Rep ListSubscriptionsResponse x -> ListSubscriptionsResponse # | |||||
| Read ListSubscriptionsResponse Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions | |||||
| Show ListSubscriptionsResponse Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods showsPrec :: Int -> ListSubscriptionsResponse -> ShowS # show :: ListSubscriptionsResponse -> String # showList :: [ListSubscriptionsResponse] -> ShowS # | |||||
| Eq ListSubscriptionsResponse Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions Methods (==) :: ListSubscriptionsResponse -> ListSubscriptionsResponse -> Bool # (/=) :: ListSubscriptionsResponse -> ListSubscriptionsResponse -> Bool # | |||||
| type Rep ListSubscriptionsResponse Source # | |||||
Defined in Amazonka.SNS.ListSubscriptions type Rep ListSubscriptionsResponse = D1 ('MetaData "ListSubscriptionsResponse" "Amazonka.SNS.ListSubscriptions" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> ListSubscriptionsResponse |
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:
nextToken, listSubscriptionsResponse_nextToken - Token to pass along to the next ListSubscriptions request. This
element is returned if there are more subscriptions to retrieve.
subscriptions, listSubscriptionsResponse_subscriptions - A list of subscriptions.
httpStatus, listSubscriptionsResponse_httpStatus - The response's http status code.
ListSubscriptionsByTopic (Paginated)
data ListSubscriptionsByTopic Source #
Input for ListSubscriptionsByTopic action.
See: newListSubscriptionsByTopic smart constructor.
Constructors
| ListSubscriptionsByTopic' (Maybe Text) Text |
Instances
| ToHeaders ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Methods toHeaders :: ListSubscriptionsByTopic -> [Header] Source # | |||||
| ToPath ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Methods | |||||
| ToQuery ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Methods | |||||
| AWSPager ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic | |||||
| AWSRequest ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Associated Types
Methods request :: (Service -> Service) -> ListSubscriptionsByTopic -> Request ListSubscriptionsByTopic Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListSubscriptionsByTopic -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListSubscriptionsByTopic))) Source # | |||||
| NFData ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Methods rnf :: ListSubscriptionsByTopic -> () # | |||||
| Generic ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Associated Types
Methods from :: ListSubscriptionsByTopic -> Rep ListSubscriptionsByTopic x # to :: Rep ListSubscriptionsByTopic x -> ListSubscriptionsByTopic # | |||||
| Read ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic | |||||
| Show ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Methods showsPrec :: Int -> ListSubscriptionsByTopic -> ShowS # show :: ListSubscriptionsByTopic -> String # showList :: [ListSubscriptionsByTopic] -> ShowS # | |||||
| Eq ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Methods (==) :: ListSubscriptionsByTopic -> ListSubscriptionsByTopic -> Bool # (/=) :: ListSubscriptionsByTopic -> ListSubscriptionsByTopic -> Bool # | |||||
| Hashable ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Methods hashWithSalt :: Int -> ListSubscriptionsByTopic -> Int Source # hash :: ListSubscriptionsByTopic -> Int Source # | |||||
| type AWSResponse ListSubscriptionsByTopic Source # | |||||
| type Rep ListSubscriptionsByTopic Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic type Rep ListSubscriptionsByTopic = D1 ('MetaData "ListSubscriptionsByTopic" "Amazonka.SNS.ListSubscriptionsByTopic" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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))) | |||||
newListSubscriptionsByTopic Source #
Arguments
| :: Text | |
| -> ListSubscriptionsByTopic |
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:
nextToken, listSubscriptionsByTopic_nextToken - Token returned by the previous ListSubscriptionsByTopic request.
topicArn, 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.
Constructors
| ListSubscriptionsByTopicResponse' (Maybe Text) (Maybe [Subscription]) Int |
Instances
| NFData ListSubscriptionsByTopicResponse Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Methods rnf :: ListSubscriptionsByTopicResponse -> () # | |||||
| Generic ListSubscriptionsByTopicResponse Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Associated Types
| |||||
| Read ListSubscriptionsByTopicResponse Source # | |||||
| Show ListSubscriptionsByTopicResponse Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic Methods showsPrec :: Int -> ListSubscriptionsByTopicResponse -> ShowS # | |||||
| Eq ListSubscriptionsByTopicResponse Source # | |||||
| type Rep ListSubscriptionsByTopicResponse Source # | |||||
Defined in Amazonka.SNS.ListSubscriptionsByTopic type Rep ListSubscriptionsByTopicResponse = D1 ('MetaData "ListSubscriptionsByTopicResponse" "Amazonka.SNS.ListSubscriptionsByTopic" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> ListSubscriptionsByTopicResponse |
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:
nextToken, listSubscriptionsByTopicResponse_nextToken - Token to pass along to the next ListSubscriptionsByTopic request. This
element is returned if there are more subscriptions to retrieve.
subscriptions, listSubscriptionsByTopicResponse_subscriptions - A list of subscriptions.
httpStatus, listSubscriptionsByTopicResponse_httpStatus - The response's http status code.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource smart constructor.
Constructors
| ListTagsForResource' Text |
Instances
| ToHeaders ListTagsForResource Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Methods toHeaders :: ListTagsForResource -> [Header] Source # | |||||
| ToPath ListTagsForResource Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Methods | |||||
| ToQuery ListTagsForResource Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Methods | |||||
| AWSRequest ListTagsForResource Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Associated Types
Methods request :: (Service -> Service) -> ListTagsForResource -> Request ListTagsForResource Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListTagsForResource -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListTagsForResource))) Source # | |||||
| NFData ListTagsForResource Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Methods rnf :: ListTagsForResource -> () # | |||||
| Generic ListTagsForResource Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Associated Types
Methods from :: ListTagsForResource -> Rep ListTagsForResource x # to :: Rep ListTagsForResource x -> ListTagsForResource # | |||||
| Read ListTagsForResource Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Methods readsPrec :: Int -> ReadS ListTagsForResource # readList :: ReadS [ListTagsForResource] # | |||||
| Show ListTagsForResource Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Methods showsPrec :: Int -> ListTagsForResource -> ShowS # show :: ListTagsForResource -> String # showList :: [ListTagsForResource] -> ShowS # | |||||
| Eq ListTagsForResource Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Methods (==) :: ListTagsForResource -> ListTagsForResource -> Bool # (/=) :: ListTagsForResource -> ListTagsForResource -> Bool # | |||||
| Hashable ListTagsForResource Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Methods hashWithSalt :: Int -> ListTagsForResource -> Int Source # hash :: ListTagsForResource -> Int Source # | |||||
| type AWSResponse ListTagsForResource Source # | |||||
| type Rep ListTagsForResource Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.SNS.ListTagsForResource" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
newListTagsForResource Source #
Arguments
| :: Text | |
| -> ListTagsForResource |
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:
resourceArn, listTagsForResource_resourceArn - The ARN of the topic for which to list tags.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse smart constructor.
Constructors
| ListTagsForResourceResponse' (Maybe [Tag]) Int |
Instances
| NFData ListTagsForResourceResponse Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Methods rnf :: ListTagsForResourceResponse -> () # | |||||
| Generic ListTagsForResourceResponse Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Associated Types
Methods from :: ListTagsForResourceResponse -> Rep ListTagsForResourceResponse x # to :: Rep ListTagsForResourceResponse x -> ListTagsForResourceResponse # | |||||
| Read ListTagsForResourceResponse Source # | |||||
| Show ListTagsForResourceResponse Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Methods showsPrec :: Int -> ListTagsForResourceResponse -> ShowS # show :: ListTagsForResourceResponse -> String # showList :: [ListTagsForResourceResponse] -> ShowS # | |||||
| Eq ListTagsForResourceResponse Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource Methods (==) :: ListTagsForResourceResponse -> ListTagsForResourceResponse -> Bool # (/=) :: ListTagsForResourceResponse -> ListTagsForResourceResponse -> Bool # | |||||
| type Rep ListTagsForResourceResponse Source # | |||||
Defined in Amazonka.SNS.ListTagsForResource type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.SNS.ListTagsForResource" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Int | |
| -> ListTagsForResourceResponse |
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:
tags, listTagsForResourceResponse_tags - The tags associated with the specified topic.
httpStatus, listTagsForResourceResponse_httpStatus - The response's http status code.
ListTopics (Paginated)
data ListTopics Source #
See: newListTopics smart constructor.
Constructors
| ListTopics' (Maybe Text) |
Instances
| ToHeaders ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics Methods toHeaders :: ListTopics -> [Header] Source # | |||||
| ToPath ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics Methods toPath :: ListTopics -> ByteString Source # | |||||
| ToQuery ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics Methods toQuery :: ListTopics -> QueryString Source # | |||||
| AWSPager ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics Methods page :: ListTopics -> AWSResponse ListTopics -> Maybe ListTopics Source # | |||||
| AWSRequest ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics Associated Types
Methods request :: (Service -> Service) -> ListTopics -> Request ListTopics Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListTopics -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListTopics))) Source # | |||||
| NFData ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics Methods rnf :: ListTopics -> () # | |||||
| Generic ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics Associated Types
| |||||
| Read ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics Methods readsPrec :: Int -> ReadS ListTopics # readList :: ReadS [ListTopics] # readPrec :: ReadPrec ListTopics # readListPrec :: ReadPrec [ListTopics] # | |||||
| Show ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics Methods showsPrec :: Int -> ListTopics -> ShowS # show :: ListTopics -> String # showList :: [ListTopics] -> ShowS # | |||||
| Eq ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics | |||||
| Hashable ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics | |||||
| type AWSResponse ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics | |||||
| type Rep ListTopics Source # | |||||
Defined in Amazonka.SNS.ListTopics type Rep ListTopics = D1 ('MetaData "ListTopics" "Amazonka.SNS.ListTopics" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "ListTopics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |||||
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:
nextToken, listTopics_nextToken - Token returned by the previous ListTopics request.
data ListTopicsResponse Source #
Response for ListTopics action.
See: newListTopicsResponse smart constructor.
Instances
| NFData ListTopicsResponse Source # | |||||
Defined in Amazonka.SNS.ListTopics Methods rnf :: ListTopicsResponse -> () # | |||||
| Generic ListTopicsResponse Source # | |||||
Defined in Amazonka.SNS.ListTopics Associated Types
Methods from :: ListTopicsResponse -> Rep ListTopicsResponse x # to :: Rep ListTopicsResponse x -> ListTopicsResponse # | |||||
| Read ListTopicsResponse Source # | |||||
Defined in Amazonka.SNS.ListTopics Methods readsPrec :: Int -> ReadS ListTopicsResponse # readList :: ReadS [ListTopicsResponse] # | |||||
| Show ListTopicsResponse Source # | |||||
Defined in Amazonka.SNS.ListTopics Methods showsPrec :: Int -> ListTopicsResponse -> ShowS # show :: ListTopicsResponse -> String # showList :: [ListTopicsResponse] -> ShowS # | |||||
| Eq ListTopicsResponse Source # | |||||
Defined in Amazonka.SNS.ListTopics Methods (==) :: ListTopicsResponse -> ListTopicsResponse -> Bool # (/=) :: ListTopicsResponse -> ListTopicsResponse -> Bool # | |||||
| type Rep ListTopicsResponse Source # | |||||
Defined in Amazonka.SNS.ListTopics type Rep ListTopicsResponse = D1 ('MetaData "ListTopicsResponse" "Amazonka.SNS.ListTopics" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "ListTopicsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "topics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Topic])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) | |||||
newListTopicsResponse Source #
Arguments
| :: Int | |
| -> ListTopicsResponse |
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:
nextToken, listTopicsResponse_nextToken - Token to pass along to the next ListTopics request. This element is
returned if there are additional topics to retrieve.
topics, listTopicsResponse_topics - A list of topic ARNs.
httpStatus, listTopicsResponse_httpStatus - The response's http status code.
OptInPhoneNumber
data OptInPhoneNumber Source #
Input for the OptInPhoneNumber action.
See: newOptInPhoneNumber smart constructor.
Constructors
| OptInPhoneNumber' Text |
Instances
| ToHeaders OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Methods toHeaders :: OptInPhoneNumber -> [Header] Source # | |||||
| ToPath OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Methods toPath :: OptInPhoneNumber -> ByteString Source # | |||||
| ToQuery OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Methods | |||||
| AWSRequest OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Associated Types
Methods request :: (Service -> Service) -> OptInPhoneNumber -> Request OptInPhoneNumber Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy OptInPhoneNumber -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse OptInPhoneNumber))) Source # | |||||
| NFData OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Methods rnf :: OptInPhoneNumber -> () # | |||||
| Generic OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Associated Types
Methods from :: OptInPhoneNumber -> Rep OptInPhoneNumber x # to :: Rep OptInPhoneNumber x -> OptInPhoneNumber # | |||||
| Read OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Methods readsPrec :: Int -> ReadS OptInPhoneNumber # readList :: ReadS [OptInPhoneNumber] # | |||||
| Show OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Methods showsPrec :: Int -> OptInPhoneNumber -> ShowS # show :: OptInPhoneNumber -> String # showList :: [OptInPhoneNumber] -> ShowS # | |||||
| Eq OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Methods (==) :: OptInPhoneNumber -> OptInPhoneNumber -> Bool # (/=) :: OptInPhoneNumber -> OptInPhoneNumber -> Bool # | |||||
| Hashable OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Methods hashWithSalt :: Int -> OptInPhoneNumber -> Int Source # hash :: OptInPhoneNumber -> Int Source # | |||||
| type AWSResponse OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber | |||||
| type Rep OptInPhoneNumber Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber type Rep OptInPhoneNumber = D1 ('MetaData "OptInPhoneNumber" "Amazonka.SNS.OptInPhoneNumber" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "OptInPhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
Arguments
| :: Text | |
| -> OptInPhoneNumber |
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:
phoneNumber, 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.
Constructors
| OptInPhoneNumberResponse' Int |
Instances
| NFData OptInPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Methods rnf :: OptInPhoneNumberResponse -> () # | |||||
| Generic OptInPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Associated Types
Methods from :: OptInPhoneNumberResponse -> Rep OptInPhoneNumberResponse x # to :: Rep OptInPhoneNumberResponse x -> OptInPhoneNumberResponse # | |||||
| Read OptInPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber | |||||
| Show OptInPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Methods showsPrec :: Int -> OptInPhoneNumberResponse -> ShowS # show :: OptInPhoneNumberResponse -> String # showList :: [OptInPhoneNumberResponse] -> ShowS # | |||||
| Eq OptInPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber Methods (==) :: OptInPhoneNumberResponse -> OptInPhoneNumberResponse -> Bool # (/=) :: OptInPhoneNumberResponse -> OptInPhoneNumberResponse -> Bool # | |||||
| type Rep OptInPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.OptInPhoneNumber type Rep OptInPhoneNumberResponse = D1 ('MetaData "OptInPhoneNumberResponse" "Amazonka.SNS.OptInPhoneNumber" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "OptInPhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) | |||||
newOptInPhoneNumberResponse Source #
Arguments
| :: Int | |
| -> OptInPhoneNumberResponse |
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:
httpStatus, optInPhoneNumberResponse_httpStatus - The response's http status code.
Publish
Input for Publish action.
See: newPublish smart constructor.
Constructors
| Publish' (Maybe (HashMap Text MessageAttributeValue)) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text |
Instances
| ToHeaders Publish Source # | |||||
| ToPath Publish Source # | |||||
Defined in Amazonka.SNS.Publish Methods toPath :: Publish -> ByteString Source # | |||||
| ToQuery Publish Source # | |||||
Defined in Amazonka.SNS.Publish Methods toQuery :: Publish -> QueryString Source # | |||||
| AWSRequest Publish Source # | |||||
Defined in Amazonka.SNS.Publish Associated Types
Methods request :: (Service -> Service) -> Publish -> Request Publish Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy Publish -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse Publish))) Source # | |||||
| NFData Publish Source # | |||||
Defined in Amazonka.SNS.Publish | |||||
| Generic Publish Source # | |||||
Defined in Amazonka.SNS.Publish Associated Types
| |||||
| Read Publish Source # | |||||
| Show Publish Source # | |||||
| Eq Publish Source # | |||||
| Hashable Publish Source # | |||||
| type AWSResponse Publish Source # | |||||
Defined in Amazonka.SNS.Publish | |||||
| type Rep Publish Source # | |||||
Defined in Amazonka.SNS.Publish type Rep Publish = D1 ('MetaData "Publish" "Amazonka.SNS.Publish" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "Publish'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "messageAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MessageAttributeValue))) :*: S1 ('MetaSel ('Just "messageDeduplicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "messageGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messageStructure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "targetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))) | |||||
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:
messageAttributes, publish_messageAttributes - Message attributes for Publish action.
messageDeduplicationId, 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.
messageGroupId, 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.
messageStructure, 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
phoneNumber, 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.
subject, 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.
targetArn, publish_targetArn - If you don't specify a value for the TargetArn parameter, you must
specify a value for the PhoneNumber or TopicArn parameters.
topicArn, 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.
message, 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
Publishaction 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
Publishcall to return an error (no partial delivery).
data PublishResponse Source #
Response for Publish action.
See: newPublishResponse smart constructor.
Instances
| NFData PublishResponse Source # | |||||
Defined in Amazonka.SNS.Publish Methods rnf :: PublishResponse -> () # | |||||
| Generic PublishResponse Source # | |||||
Defined in Amazonka.SNS.Publish Associated Types
Methods from :: PublishResponse -> Rep PublishResponse x # to :: Rep PublishResponse x -> PublishResponse # | |||||
| Read PublishResponse Source # | |||||
Defined in Amazonka.SNS.Publish Methods readsPrec :: Int -> ReadS PublishResponse # readList :: ReadS [PublishResponse] # | |||||
| Show PublishResponse Source # | |||||
Defined in Amazonka.SNS.Publish Methods showsPrec :: Int -> PublishResponse -> ShowS # show :: PublishResponse -> String # showList :: [PublishResponse] -> ShowS # | |||||
| Eq PublishResponse Source # | |||||
Defined in Amazonka.SNS.Publish Methods (==) :: PublishResponse -> PublishResponse -> Bool # (/=) :: PublishResponse -> PublishResponse -> Bool # | |||||
| type Rep PublishResponse Source # | |||||
Defined in Amazonka.SNS.Publish type Rep PublishResponse = D1 ('MetaData "PublishResponse" "Amazonka.SNS.Publish" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "PublishResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) | |||||
Arguments
| :: Int | |
| -> PublishResponse |
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:
messageId, publishResponse_messageId - Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
sequenceNumber, 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.
httpStatus, publishResponse_httpStatus - The response's http status code.
PublishBatch
data PublishBatch Source #
See: newPublishBatch smart constructor.
Constructors
| PublishBatch' Text [PublishBatchRequestEntry] |
Instances
| ToHeaders PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch Methods toHeaders :: PublishBatch -> [Header] Source # | |||||
| ToPath PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch Methods toPath :: PublishBatch -> ByteString Source # | |||||
| ToQuery PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch Methods toQuery :: PublishBatch -> QueryString Source # | |||||
| AWSRequest PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch Associated Types
Methods request :: (Service -> Service) -> PublishBatch -> Request PublishBatch Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy PublishBatch -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse PublishBatch))) Source # | |||||
| NFData PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch Methods rnf :: PublishBatch -> () # | |||||
| Generic PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch Associated Types
| |||||
| Read PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch Methods readsPrec :: Int -> ReadS PublishBatch # readList :: ReadS [PublishBatch] # | |||||
| Show PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch Methods showsPrec :: Int -> PublishBatch -> ShowS # show :: PublishBatch -> String # showList :: [PublishBatch] -> ShowS # | |||||
| Eq PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch | |||||
| Hashable PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch | |||||
| type AWSResponse PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch | |||||
| type Rep PublishBatch Source # | |||||
Defined in Amazonka.SNS.PublishBatch type Rep PublishBatch = D1 ('MetaData "PublishBatch" "Amazonka.SNS.PublishBatch" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "PublishBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "publishBatchRequestEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PublishBatchRequestEntry]))) | |||||
Arguments
| :: Text | |
| -> PublishBatch |
Create a value of PublishBatch 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:
topicArn, publishBatch_topicArn - The Amazon resource name (ARN) of the topic you want to batch publish
to.
publishBatchRequestEntries, publishBatch_publishBatchRequestEntries - A list of PublishBatch request entries to be sent to the SNS topic.
data PublishBatchResponse Source #
See: newPublishBatchResponse smart constructor.
Constructors
| PublishBatchResponse' (Maybe [BatchResultErrorEntry]) (Maybe [PublishBatchResultEntry]) Int |
Instances
| NFData PublishBatchResponse Source # | |||||
Defined in Amazonka.SNS.PublishBatch Methods rnf :: PublishBatchResponse -> () # | |||||
| Generic PublishBatchResponse Source # | |||||
Defined in Amazonka.SNS.PublishBatch Associated Types
Methods from :: PublishBatchResponse -> Rep PublishBatchResponse x # to :: Rep PublishBatchResponse x -> PublishBatchResponse # | |||||
| Read PublishBatchResponse Source # | |||||
Defined in Amazonka.SNS.PublishBatch Methods readsPrec :: Int -> ReadS PublishBatchResponse # readList :: ReadS [PublishBatchResponse] # | |||||
| Show PublishBatchResponse Source # | |||||
Defined in Amazonka.SNS.PublishBatch Methods showsPrec :: Int -> PublishBatchResponse -> ShowS # show :: PublishBatchResponse -> String # showList :: [PublishBatchResponse] -> ShowS # | |||||
| Eq PublishBatchResponse Source # | |||||
Defined in Amazonka.SNS.PublishBatch Methods (==) :: PublishBatchResponse -> PublishBatchResponse -> Bool # (/=) :: PublishBatchResponse -> PublishBatchResponse -> Bool # | |||||
| type Rep PublishBatchResponse Source # | |||||
Defined in Amazonka.SNS.PublishBatch type Rep PublishBatchResponse = D1 ('MetaData "PublishBatchResponse" "Amazonka.SNS.PublishBatch" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "PublishBatchResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BatchResultErrorEntry])) :*: (S1 ('MetaSel ('Just "successful") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PublishBatchResultEntry])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) | |||||
newPublishBatchResponse Source #
Arguments
| :: Int | |
| -> PublishBatchResponse |
Create a value of PublishBatchResponse 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:
failed, publishBatchResponse_failed - A list of failed PublishBatch responses.
successful, publishBatchResponse_successful - A list of successful PublishBatch responses.
httpStatus, publishBatchResponse_httpStatus - The response's http status code.
PutDataProtectionPolicy
data PutDataProtectionPolicy Source #
See: newPutDataProtectionPolicy smart constructor.
Constructors
| PutDataProtectionPolicy' Text Text |
Instances
| ToHeaders PutDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Methods toHeaders :: PutDataProtectionPolicy -> [Header] Source # | |||||
| ToPath PutDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Methods | |||||
| ToQuery PutDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Methods | |||||
| AWSRequest PutDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Associated Types
Methods request :: (Service -> Service) -> PutDataProtectionPolicy -> Request PutDataProtectionPolicy Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy PutDataProtectionPolicy -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse PutDataProtectionPolicy))) Source # | |||||
| NFData PutDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Methods rnf :: PutDataProtectionPolicy -> () # | |||||
| Generic PutDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Associated Types
Methods from :: PutDataProtectionPolicy -> Rep PutDataProtectionPolicy x # to :: Rep PutDataProtectionPolicy x -> PutDataProtectionPolicy # | |||||
| Read PutDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy | |||||
| Show PutDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Methods showsPrec :: Int -> PutDataProtectionPolicy -> ShowS # show :: PutDataProtectionPolicy -> String # showList :: [PutDataProtectionPolicy] -> ShowS # | |||||
| Eq PutDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Methods (==) :: PutDataProtectionPolicy -> PutDataProtectionPolicy -> Bool # (/=) :: PutDataProtectionPolicy -> PutDataProtectionPolicy -> Bool # | |||||
| Hashable PutDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Methods hashWithSalt :: Int -> PutDataProtectionPolicy -> Int Source # hash :: PutDataProtectionPolicy -> Int Source # | |||||
| type AWSResponse PutDataProtectionPolicy Source # | |||||
| type Rep PutDataProtectionPolicy Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy type Rep PutDataProtectionPolicy = D1 ('MetaData "PutDataProtectionPolicy" "Amazonka.SNS.PutDataProtectionPolicy" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "PutDataProtectionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dataProtectionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
newPutDataProtectionPolicy Source #
Arguments
| :: Text | |
| -> Text | |
| -> PutDataProtectionPolicy |
Create a value of PutDataProtectionPolicy 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:
resourceArn, putDataProtectionPolicy_resourceArn - The ARN of the topic whose DataProtectionPolicy you want to add or
update.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
dataProtectionPolicy, putDataProtectionPolicy_dataProtectionPolicy - The JSON serialization of the topic's DataProtectionPolicy.
The DataProtectionPolicy must be in JSON string format.
Length Constraints: Maximum length of 30,720.
data PutDataProtectionPolicyResponse Source #
See: newPutDataProtectionPolicyResponse smart constructor.
Constructors
| PutDataProtectionPolicyResponse' |
Instances
| NFData PutDataProtectionPolicyResponse Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Methods rnf :: PutDataProtectionPolicyResponse -> () # | |||||
| Generic PutDataProtectionPolicyResponse Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Associated Types
| |||||
| Read PutDataProtectionPolicyResponse Source # | |||||
| Show PutDataProtectionPolicyResponse Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy Methods showsPrec :: Int -> PutDataProtectionPolicyResponse -> ShowS # | |||||
| Eq PutDataProtectionPolicyResponse Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy | |||||
| type Rep PutDataProtectionPolicyResponse Source # | |||||
Defined in Amazonka.SNS.PutDataProtectionPolicy | |||||
newPutDataProtectionPolicyResponse :: PutDataProtectionPolicyResponse Source #
Create a value of PutDataProtectionPolicyResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
RemovePermission
data RemovePermission Source #
Input for RemovePermission action.
See: newRemovePermission smart constructor.
Constructors
| RemovePermission' Text Text |
Instances
| ToHeaders RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission Methods toHeaders :: RemovePermission -> [Header] Source # | |||||
| ToPath RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission Methods toPath :: RemovePermission -> ByteString Source # | |||||
| ToQuery RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission Methods | |||||
| AWSRequest RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission Associated Types
Methods request :: (Service -> Service) -> RemovePermission -> Request RemovePermission Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy RemovePermission -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse RemovePermission))) Source # | |||||
| NFData RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission Methods rnf :: RemovePermission -> () # | |||||
| Generic RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission Associated Types
Methods from :: RemovePermission -> Rep RemovePermission x # to :: Rep RemovePermission x -> RemovePermission # | |||||
| Read RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission Methods readsPrec :: Int -> ReadS RemovePermission # readList :: ReadS [RemovePermission] # | |||||
| Show RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission Methods showsPrec :: Int -> RemovePermission -> ShowS # show :: RemovePermission -> String # showList :: [RemovePermission] -> ShowS # | |||||
| Eq RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission Methods (==) :: RemovePermission -> RemovePermission -> Bool # (/=) :: RemovePermission -> RemovePermission -> Bool # | |||||
| Hashable RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission Methods hashWithSalt :: Int -> RemovePermission -> Int Source # hash :: RemovePermission -> Int Source # | |||||
| type AWSResponse RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission | |||||
| type Rep RemovePermission Source # | |||||
Defined in Amazonka.SNS.RemovePermission type Rep RemovePermission = D1 ('MetaData "RemovePermission" "Amazonka.SNS.RemovePermission" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "RemovePermission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
Arguments
| :: Text | |
| -> Text | |
| -> RemovePermission |
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:
topicArn, removePermission_topicArn - The ARN of the topic whose access control policy you wish to modify.
label, removePermission_label - The unique label of the statement you want to remove.
data RemovePermissionResponse Source #
See: newRemovePermissionResponse smart constructor.
Constructors
| RemovePermissionResponse' |
Instances
| NFData RemovePermissionResponse Source # | |||||
Defined in Amazonka.SNS.RemovePermission Methods rnf :: RemovePermissionResponse -> () # | |||||
| Generic RemovePermissionResponse Source # | |||||
Defined in Amazonka.SNS.RemovePermission Associated Types
Methods from :: RemovePermissionResponse -> Rep RemovePermissionResponse x # to :: Rep RemovePermissionResponse x -> RemovePermissionResponse # | |||||
| Read RemovePermissionResponse Source # | |||||
Defined in Amazonka.SNS.RemovePermission | |||||
| Show RemovePermissionResponse Source # | |||||
Defined in Amazonka.SNS.RemovePermission Methods showsPrec :: Int -> RemovePermissionResponse -> ShowS # show :: RemovePermissionResponse -> String # showList :: [RemovePermissionResponse] -> ShowS # | |||||
| Eq RemovePermissionResponse Source # | |||||
Defined in Amazonka.SNS.RemovePermission Methods (==) :: RemovePermissionResponse -> RemovePermissionResponse -> Bool # (/=) :: RemovePermissionResponse -> RemovePermissionResponse -> Bool # | |||||
| type Rep RemovePermissionResponse Source # | |||||
newRemovePermissionResponse :: RemovePermissionResponse Source #
Create a value of RemovePermissionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
SetEndpointAttributes
data SetEndpointAttributes Source #
Input for SetEndpointAttributes action.
See: newSetEndpointAttributes smart constructor.
Constructors
| SetEndpointAttributes' Text (HashMap Text Text) |
Instances
| ToHeaders SetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Methods toHeaders :: SetEndpointAttributes -> [Header] Source # | |||||
| ToPath SetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Methods | |||||
| ToQuery SetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Methods | |||||
| AWSRequest SetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Associated Types
Methods request :: (Service -> Service) -> SetEndpointAttributes -> Request SetEndpointAttributes Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy SetEndpointAttributes -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse SetEndpointAttributes))) Source # | |||||
| NFData SetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Methods rnf :: SetEndpointAttributes -> () # | |||||
| Generic SetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Associated Types
Methods from :: SetEndpointAttributes -> Rep SetEndpointAttributes x # to :: Rep SetEndpointAttributes x -> SetEndpointAttributes # | |||||
| Read SetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Methods readsPrec :: Int -> ReadS SetEndpointAttributes # readList :: ReadS [SetEndpointAttributes] # | |||||
| Show SetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Methods showsPrec :: Int -> SetEndpointAttributes -> ShowS # show :: SetEndpointAttributes -> String # showList :: [SetEndpointAttributes] -> ShowS # | |||||
| Eq SetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Methods (==) :: SetEndpointAttributes -> SetEndpointAttributes -> Bool # (/=) :: SetEndpointAttributes -> SetEndpointAttributes -> Bool # | |||||
| Hashable SetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Methods hashWithSalt :: Int -> SetEndpointAttributes -> Int Source # hash :: SetEndpointAttributes -> Int Source # | |||||
| type AWSResponse SetEndpointAttributes Source # | |||||
| type Rep SetEndpointAttributes Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes type Rep SetEndpointAttributes = D1 ('MetaData "SetEndpointAttributes" "Amazonka.SNS.SetEndpointAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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)))) | |||||
newSetEndpointAttributes Source #
Arguments
| :: Text | |
| -> SetEndpointAttributes |
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:
endpointArn, setEndpointAttributes_endpointArn - EndpointArn used for SetEndpointAttributes action.
attributes, 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.
Constructors
| SetEndpointAttributesResponse' |
Instances
| NFData SetEndpointAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Methods rnf :: SetEndpointAttributesResponse -> () # | |||||
| Generic SetEndpointAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Associated Types
| |||||
| Read SetEndpointAttributesResponse Source # | |||||
| Show SetEndpointAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes Methods showsPrec :: Int -> SetEndpointAttributesResponse -> ShowS # show :: SetEndpointAttributesResponse -> String # showList :: [SetEndpointAttributesResponse] -> ShowS # | |||||
| Eq SetEndpointAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes | |||||
| type Rep SetEndpointAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetEndpointAttributes | |||||
newSetEndpointAttributesResponse :: SetEndpointAttributesResponse Source #
Create a value of SetEndpointAttributesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
SetPlatformApplicationAttributes
data SetPlatformApplicationAttributes Source #
Input for SetPlatformApplicationAttributes action.
See: newSetPlatformApplicationAttributes smart constructor.
Constructors
| SetPlatformApplicationAttributes' Text (HashMap Text Text) |
Instances
| ToHeaders SetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes Methods toHeaders :: SetPlatformApplicationAttributes -> [Header] Source # | |||||
| ToPath SetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes Methods toPath :: SetPlatformApplicationAttributes -> ByteString Source # | |||||
| ToQuery SetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes Methods toQuery :: SetPlatformApplicationAttributes -> QueryString Source # | |||||
| AWSRequest SetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes Associated Types
Methods request :: (Service -> Service) -> SetPlatformApplicationAttributes -> Request SetPlatformApplicationAttributes Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy SetPlatformApplicationAttributes -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse SetPlatformApplicationAttributes))) Source # | |||||
| NFData SetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes Methods rnf :: SetPlatformApplicationAttributes -> () # | |||||
| Generic SetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes Associated Types
| |||||
| Read SetPlatformApplicationAttributes Source # | |||||
| Show SetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes Methods showsPrec :: Int -> SetPlatformApplicationAttributes -> ShowS # | |||||
| Eq SetPlatformApplicationAttributes Source # | |||||
| Hashable SetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes Methods hashWithSalt :: Int -> SetPlatformApplicationAttributes -> Int Source # | |||||
| type AWSResponse SetPlatformApplicationAttributes Source # | |||||
| type Rep SetPlatformApplicationAttributes Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes type Rep SetPlatformApplicationAttributes = D1 ('MetaData "SetPlatformApplicationAttributes" "Amazonka.SNS.SetPlatformApplicationAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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)))) | |||||
newSetPlatformApplicationAttributes Source #
Arguments
| :: Text | |
| -> SetPlatformApplicationAttributes |
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:
platformApplicationArn, setPlatformApplicationAttributes_platformApplicationArn - PlatformApplicationArn for SetPlatformApplicationAttributes action.
attributes, 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 ADM,
PlatformCredentialis client secret. - For Apple Services using certificate credentials,
PlatformCredentialis private key. - For Apple Services using token credentials,
PlatformCredentialis signing key. - For GCM (Firebase Cloud Messaging),
PlatformCredentialis API key.
- For ADM,
PlatformPrincipal– The principal received from the notification service.- For ADM,
PlatformPrincipalis client id. - For Apple Services using certificate credentials,
PlatformPrincipalis SSL certificate. - For Apple Services using token credentials,
PlatformPrincipalis signing key ID. - For GCM (Firebase Cloud Messaging), there is no
PlatformPrincipal.
- For ADM,
EventEndpointCreated– Topic ARN to whichEndpointCreatedevent notifications are sent.EventEndpointDeleted– Topic ARN to whichEndpointDeletedevent notifications are sent.EventEndpointUpdated– Topic ARN to whichEndpointUpdateevent notifications are sent.EventDeliveryFailure– Topic ARN to whichDeliveryFailureevent 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.
The following attributes only apply to APNs token-based
authentication:
ApplePlatformTeamID– The identifier that's assigned to your Apple developer account team.ApplePlatformBundleID– The bundle identifier that's assigned to your iOS app.
data SetPlatformApplicationAttributesResponse Source #
See: newSetPlatformApplicationAttributesResponse smart constructor.
Constructors
| SetPlatformApplicationAttributesResponse' |
Instances
| NFData SetPlatformApplicationAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes Methods rnf :: SetPlatformApplicationAttributesResponse -> () # | |||||
| Generic SetPlatformApplicationAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes Associated Types
| |||||
| Read SetPlatformApplicationAttributesResponse Source # | |||||
| Show SetPlatformApplicationAttributesResponse Source # | |||||
| Eq SetPlatformApplicationAttributesResponse Source # | |||||
| type Rep SetPlatformApplicationAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetPlatformApplicationAttributes type Rep SetPlatformApplicationAttributesResponse = D1 ('MetaData "SetPlatformApplicationAttributesResponse" "Amazonka.SNS.SetPlatformApplicationAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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.
SetSMSAttributes
data SetSMSAttributes Source #
The input for the SetSMSAttributes action.
See: newSetSMSAttributes smart constructor.
Constructors
| SetSMSAttributes' (HashMap Text Text) |
Instances
| ToHeaders SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Methods toHeaders :: SetSMSAttributes -> [Header] Source # | |||||
| ToPath SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Methods toPath :: SetSMSAttributes -> ByteString Source # | |||||
| ToQuery SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Methods | |||||
| AWSRequest SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Associated Types
Methods request :: (Service -> Service) -> SetSMSAttributes -> Request SetSMSAttributes Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy SetSMSAttributes -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse SetSMSAttributes))) Source # | |||||
| NFData SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Methods rnf :: SetSMSAttributes -> () # | |||||
| Generic SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Associated Types
Methods from :: SetSMSAttributes -> Rep SetSMSAttributes x # to :: Rep SetSMSAttributes x -> SetSMSAttributes # | |||||
| Read SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Methods readsPrec :: Int -> ReadS SetSMSAttributes # readList :: ReadS [SetSMSAttributes] # | |||||
| Show SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Methods showsPrec :: Int -> SetSMSAttributes -> ShowS # show :: SetSMSAttributes -> String # showList :: [SetSMSAttributes] -> ShowS # | |||||
| Eq SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Methods (==) :: SetSMSAttributes -> SetSMSAttributes -> Bool # (/=) :: SetSMSAttributes -> SetSMSAttributes -> Bool # | |||||
| Hashable SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Methods hashWithSalt :: Int -> SetSMSAttributes -> Int Source # hash :: SetSMSAttributes -> Int Source # | |||||
| type AWSResponse SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes | |||||
| type Rep SetSMSAttributes Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes type Rep SetSMSAttributes = D1 ('MetaData "SetSMSAttributes" "Amazonka.SNS.SetSMSAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "SetSMSAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)))) | |||||
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:
attributes, setSMSAttributes_attributes - The default settings for sending SMS messages from your Amazon Web
Services 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 Amazon Web Services 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.
Constructors
| SetSMSAttributesResponse' Int |
Instances
| NFData SetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Methods rnf :: SetSMSAttributesResponse -> () # | |||||
| Generic SetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Associated Types
Methods from :: SetSMSAttributesResponse -> Rep SetSMSAttributesResponse x # to :: Rep SetSMSAttributesResponse x -> SetSMSAttributesResponse # | |||||
| Read SetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes | |||||
| Show SetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Methods showsPrec :: Int -> SetSMSAttributesResponse -> ShowS # show :: SetSMSAttributesResponse -> String # showList :: [SetSMSAttributesResponse] -> ShowS # | |||||
| Eq SetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes Methods (==) :: SetSMSAttributesResponse -> SetSMSAttributesResponse -> Bool # (/=) :: SetSMSAttributesResponse -> SetSMSAttributesResponse -> Bool # | |||||
| type Rep SetSMSAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetSMSAttributes type Rep SetSMSAttributesResponse = D1 ('MetaData "SetSMSAttributesResponse" "Amazonka.SNS.SetSMSAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "SetSMSAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) | |||||
newSetSMSAttributesResponse Source #
Arguments
| :: Int | |
| -> SetSMSAttributesResponse |
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:
httpStatus, setSMSAttributesResponse_httpStatus - The response's http status code.
SetSubscriptionAttributes
data SetSubscriptionAttributes Source #
Input for SetSubscriptionAttributes action.
See: newSetSubscriptionAttributes smart constructor.
Constructors
| SetSubscriptionAttributes' (Maybe Text) Text Text |
Instances
| ToHeaders SetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Methods toHeaders :: SetSubscriptionAttributes -> [Header] Source # | |||||
| ToPath SetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Methods | |||||
| ToQuery SetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Methods toQuery :: SetSubscriptionAttributes -> QueryString Source # | |||||
| AWSRequest SetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Associated Types
Methods request :: (Service -> Service) -> SetSubscriptionAttributes -> Request SetSubscriptionAttributes Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy SetSubscriptionAttributes -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse SetSubscriptionAttributes))) Source # | |||||
| NFData SetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Methods rnf :: SetSubscriptionAttributes -> () # | |||||
| Generic SetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Associated Types
Methods from :: SetSubscriptionAttributes -> Rep SetSubscriptionAttributes x # to :: Rep SetSubscriptionAttributes x -> SetSubscriptionAttributes # | |||||
| Read SetSubscriptionAttributes Source # | |||||
| Show SetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Methods showsPrec :: Int -> SetSubscriptionAttributes -> ShowS # show :: SetSubscriptionAttributes -> String # showList :: [SetSubscriptionAttributes] -> ShowS # | |||||
| Eq SetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Methods (==) :: SetSubscriptionAttributes -> SetSubscriptionAttributes -> Bool # (/=) :: SetSubscriptionAttributes -> SetSubscriptionAttributes -> Bool # | |||||
| Hashable SetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Methods hashWithSalt :: Int -> SetSubscriptionAttributes -> Int Source # hash :: SetSubscriptionAttributes -> Int Source # | |||||
| type AWSResponse SetSubscriptionAttributes Source # | |||||
| type Rep SetSubscriptionAttributes Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes type Rep SetSubscriptionAttributes = D1 ('MetaData "SetSubscriptionAttributes" "Amazonka.SNS.SetSubscriptionAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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)))) | |||||
newSetSubscriptionAttributes Source #
Arguments
| :: Text | |
| -> Text | |
| -> SetSubscriptionAttributes |
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:
attributeValue, setSubscriptionAttributes_attributeValue - The new value for the attribute in JSON format.
subscriptionArn, setSubscriptionAttributes_subscriptionArn - The ARN of the subscription to modify.
attributeName, 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.FilterPolicyScope– This attribute lets you choose the filtering scope by using one of the following string value types:MessageAttributes(default) – The filter is applied on the message attributes.MessageBody– The filter is applied on the message body.
RawMessageDelivery– When set totrue, 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.
Constructors
| SetSubscriptionAttributesResponse' |
Instances
| NFData SetSubscriptionAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Methods rnf :: SetSubscriptionAttributesResponse -> () # | |||||
| Generic SetSubscriptionAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Associated Types
| |||||
| Read SetSubscriptionAttributesResponse Source # | |||||
| Show SetSubscriptionAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes Methods showsPrec :: Int -> SetSubscriptionAttributesResponse -> ShowS # | |||||
| Eq SetSubscriptionAttributesResponse Source # | |||||
| type Rep SetSubscriptionAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetSubscriptionAttributes | |||||
newSetSubscriptionAttributesResponse :: SetSubscriptionAttributesResponse Source #
Create a value of SetSubscriptionAttributesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
SetTopicAttributes
data SetTopicAttributes Source #
Input for SetTopicAttributes action.
See: newSetTopicAttributes smart constructor.
Constructors
| SetTopicAttributes' (Maybe Text) Text Text |
Instances
| ToHeaders SetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Methods toHeaders :: SetTopicAttributes -> [Header] Source # | |||||
| ToPath SetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Methods | |||||
| ToQuery SetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Methods | |||||
| AWSRequest SetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Associated Types
Methods request :: (Service -> Service) -> SetTopicAttributes -> Request SetTopicAttributes Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy SetTopicAttributes -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse SetTopicAttributes))) Source # | |||||
| NFData SetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Methods rnf :: SetTopicAttributes -> () # | |||||
| Generic SetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Associated Types
Methods from :: SetTopicAttributes -> Rep SetTopicAttributes x # to :: Rep SetTopicAttributes x -> SetTopicAttributes # | |||||
| Read SetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Methods readsPrec :: Int -> ReadS SetTopicAttributes # readList :: ReadS [SetTopicAttributes] # | |||||
| Show SetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Methods showsPrec :: Int -> SetTopicAttributes -> ShowS # show :: SetTopicAttributes -> String # showList :: [SetTopicAttributes] -> ShowS # | |||||
| Eq SetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Methods (==) :: SetTopicAttributes -> SetTopicAttributes -> Bool # (/=) :: SetTopicAttributes -> SetTopicAttributes -> Bool # | |||||
| Hashable SetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Methods hashWithSalt :: Int -> SetTopicAttributes -> Int Source # hash :: SetTopicAttributes -> Int Source # | |||||
| type AWSResponse SetTopicAttributes Source # | |||||
| type Rep SetTopicAttributes Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes type Rep SetTopicAttributes = D1 ('MetaData "SetTopicAttributes" "Amazonka.SNS.SetTopicAttributes" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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)))) | |||||
newSetTopicAttributes Source #
Arguments
| :: Text | |
| -> Text | |
| -> SetTopicAttributes |
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:
attributeValue, setTopicAttributes_attributeValue - The new value for the attribute.
topicArn, setTopicAttributes_topicArn - The ARN of the topic to modify.
attributeName, 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.TracingConfig– Tracing mode of an Amazon SNS topic. By defaultTracingConfigis set toPassThrough, and the topic passes through the tracing header it receives from an Amazon SNS publisher to its subscriptions. If set to Active, Amazon SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. This is only supported on standard topics.
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.SignatureVersion– The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS.
The following attribute applies only to FIFO topics:
ContentBasedDeduplication– Enables content-based deduplication for FIFO topics.- By default,
ContentBasedDeduplicationis set tofalse. If you create a FIFO topic and this attribute isfalse, you must specify a value for theMessageDeduplicationIdparameter for the Publish action. When you set
ContentBasedDeduplicationtotrue, Amazon SNS uses a SHA-256 hash to generate theMessageDeduplicationIdusing 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
MessageDeduplicationIdparameter for thePublishaction.
- By default,
data SetTopicAttributesResponse Source #
See: newSetTopicAttributesResponse smart constructor.
Constructors
| SetTopicAttributesResponse' |
Instances
| NFData SetTopicAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Methods rnf :: SetTopicAttributesResponse -> () # | |||||
| Generic SetTopicAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Associated Types
Methods from :: SetTopicAttributesResponse -> Rep SetTopicAttributesResponse x # to :: Rep SetTopicAttributesResponse x -> SetTopicAttributesResponse # | |||||
| Read SetTopicAttributesResponse Source # | |||||
| Show SetTopicAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Methods showsPrec :: Int -> SetTopicAttributesResponse -> ShowS # show :: SetTopicAttributesResponse -> String # showList :: [SetTopicAttributesResponse] -> ShowS # | |||||
| Eq SetTopicAttributesResponse Source # | |||||
Defined in Amazonka.SNS.SetTopicAttributes Methods (==) :: SetTopicAttributesResponse -> SetTopicAttributesResponse -> Bool # (/=) :: SetTopicAttributesResponse -> SetTopicAttributesResponse -> Bool # | |||||
| type Rep SetTopicAttributesResponse Source # | |||||
newSetTopicAttributesResponse :: SetTopicAttributesResponse Source #
Create a value of SetTopicAttributesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Subscribe
Input for Subscribe action.
See: newSubscribe smart constructor.
Instances
| ToHeaders Subscribe Source # | |||||
| ToPath Subscribe Source # | |||||
Defined in Amazonka.SNS.Subscribe Methods toPath :: Subscribe -> ByteString Source # | |||||
| ToQuery Subscribe Source # | |||||
Defined in Amazonka.SNS.Subscribe Methods toQuery :: Subscribe -> QueryString Source # | |||||
| AWSRequest Subscribe Source # | |||||
Defined in Amazonka.SNS.Subscribe Associated Types
Methods request :: (Service -> Service) -> Subscribe -> Request Subscribe Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy Subscribe -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse Subscribe))) Source # | |||||
| NFData Subscribe Source # | |||||
Defined in Amazonka.SNS.Subscribe | |||||
| Generic Subscribe Source # | |||||
Defined in Amazonka.SNS.Subscribe Associated Types
| |||||
| Read Subscribe Source # | |||||
| Show Subscribe Source # | |||||
| Eq Subscribe Source # | |||||
| Hashable Subscribe Source # | |||||
| type AWSResponse Subscribe Source # | |||||
Defined in Amazonka.SNS.Subscribe | |||||
| type Rep Subscribe Source # | |||||
Defined in Amazonka.SNS.Subscribe type Rep Subscribe = D1 ('MetaData "Subscribe" "Amazonka.SNS.Subscribe" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "Subscribe'" 'PrefixI 'True) ((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 "returnSubscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) | |||||
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:
attributes, 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.FilterPolicyScope– This attribute lets you choose the filtering scope by using one of the following string value types:MessageAttributes(default) – The filter is applied on the message attributes.MessageBody– The filter is applied on the message body.
RawMessageDelivery– When set totrue, 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.
endpoint, subscribe_endpoint - The endpoint that you want to receive notifications. Endpoints vary by
protocol:
- For the
httpprotocol, the (public) endpoint is a URL beginning withhttp://. - For the
httpsprotocol, the (public) endpoint is a URL beginning withhttps://. - For the
emailprotocol, the endpoint is an email address. - For the
email-jsonprotocol, the endpoint is an email address. - For the
smsprotocol, the endpoint is a phone number of an SMS-enabled device. - For the
sqsprotocol, the endpoint is the ARN of an Amazon SQS queue. - For the
applicationprotocol, the endpoint is the EndpointArn of a mobile app and device. - For the
lambdaprotocol, the endpoint is the ARN of an Lambda function. - For the
firehoseprotocol, the endpoint is the ARN of an Amazon Kinesis Data Firehose delivery stream.
returnSubscriptionArn, 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.
topicArn, subscribe_topicArn - The ARN of the topic you want to subscribe to.
protocol, subscribe_protocol - The protocol that you want to use. Supported protocols include:
http– delivery of JSON-encoded message via HTTP POSThttps– delivery of JSON-encoded message via HTTPS POSTemail– delivery of message via SMTPemail-json– delivery of JSON-encoded message via SMTPsms– delivery of message via SMSsqs– delivery of JSON-encoded message to an Amazon SQS queueapplication– delivery of JSON-encoded message to an EndpointArn for a mobile app and devicelambda– delivery of JSON-encoded message to an Lambda functionfirehose– delivery of JSON-encoded message to an Amazon Kinesis Data Firehose delivery stream.
data SubscribeResponse Source #
Response for Subscribe action.
See: newSubscribeResponse smart constructor.
Constructors
| SubscribeResponse' (Maybe Text) Int |
Instances
| NFData SubscribeResponse Source # | |||||
Defined in Amazonka.SNS.Subscribe Methods rnf :: SubscribeResponse -> () # | |||||
| Generic SubscribeResponse Source # | |||||
Defined in Amazonka.SNS.Subscribe Associated Types
Methods from :: SubscribeResponse -> Rep SubscribeResponse x # to :: Rep SubscribeResponse x -> SubscribeResponse # | |||||
| Read SubscribeResponse Source # | |||||
Defined in Amazonka.SNS.Subscribe Methods readsPrec :: Int -> ReadS SubscribeResponse # readList :: ReadS [SubscribeResponse] # | |||||
| Show SubscribeResponse Source # | |||||
Defined in Amazonka.SNS.Subscribe Methods showsPrec :: Int -> SubscribeResponse -> ShowS # show :: SubscribeResponse -> String # showList :: [SubscribeResponse] -> ShowS # | |||||
| Eq SubscribeResponse Source # | |||||
Defined in Amazonka.SNS.Subscribe Methods (==) :: SubscribeResponse -> SubscribeResponse -> Bool # (/=) :: SubscribeResponse -> SubscribeResponse -> Bool # | |||||
| type Rep SubscribeResponse Source # | |||||
Defined in Amazonka.SNS.Subscribe type Rep SubscribeResponse = D1 ('MetaData "SubscribeResponse" "Amazonka.SNS.Subscribe" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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))) | |||||
Arguments
| :: Int | |
| -> SubscribeResponse |
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:
subscriptionArn, 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.
httpStatus, subscribeResponse_httpStatus - The response's http status code.
TagResource
data TagResource Source #
See: newTagResource smart constructor.
Constructors
| TagResource' Text [Tag] |
Instances
| ToHeaders TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource Methods toHeaders :: TagResource -> [Header] Source # | |||||
| ToPath TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource Methods toPath :: TagResource -> ByteString Source # | |||||
| ToQuery TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource Methods toQuery :: TagResource -> QueryString Source # | |||||
| AWSRequest TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource Associated Types
Methods request :: (Service -> Service) -> TagResource -> Request TagResource Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy TagResource -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse TagResource))) Source # | |||||
| NFData TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource Methods rnf :: TagResource -> () # | |||||
| Generic TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource Associated Types
| |||||
| Read TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource Methods readsPrec :: Int -> ReadS TagResource # readList :: ReadS [TagResource] # readPrec :: ReadPrec TagResource # readListPrec :: ReadPrec [TagResource] # | |||||
| Show TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource Methods showsPrec :: Int -> TagResource -> ShowS # show :: TagResource -> String # showList :: [TagResource] -> ShowS # | |||||
| Eq TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource | |||||
| Hashable TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource | |||||
| type AWSResponse TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource | |||||
| type Rep TagResource Source # | |||||
Defined in Amazonka.SNS.TagResource type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.SNS.TagResource" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag]))) | |||||
Arguments
| :: Text | |
| -> TagResource |
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:
resourceArn, tagResource_resourceArn - The ARN of the topic to which to add tags.
tags, 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.
Constructors
| TagResourceResponse' Int |
Instances
| NFData TagResourceResponse Source # | |||||
Defined in Amazonka.SNS.TagResource Methods rnf :: TagResourceResponse -> () # | |||||
| Generic TagResourceResponse Source # | |||||
Defined in Amazonka.SNS.TagResource Associated Types
Methods from :: TagResourceResponse -> Rep TagResourceResponse x # to :: Rep TagResourceResponse x -> TagResourceResponse # | |||||
| Read TagResourceResponse Source # | |||||
Defined in Amazonka.SNS.TagResource Methods readsPrec :: Int -> ReadS TagResourceResponse # readList :: ReadS [TagResourceResponse] # | |||||
| Show TagResourceResponse Source # | |||||
Defined in Amazonka.SNS.TagResource Methods showsPrec :: Int -> TagResourceResponse -> ShowS # show :: TagResourceResponse -> String # showList :: [TagResourceResponse] -> ShowS # | |||||
| Eq TagResourceResponse Source # | |||||
Defined in Amazonka.SNS.TagResource Methods (==) :: TagResourceResponse -> TagResourceResponse -> Bool # (/=) :: TagResourceResponse -> TagResourceResponse -> Bool # | |||||
| type Rep TagResourceResponse Source # | |||||
Defined in Amazonka.SNS.TagResource type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.SNS.TagResource" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) | |||||
newTagResourceResponse Source #
Arguments
| :: Int | |
| -> TagResourceResponse |
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:
httpStatus, tagResourceResponse_httpStatus - The response's http status code.
Unsubscribe
data Unsubscribe Source #
Input for Unsubscribe action.
See: newUnsubscribe smart constructor.
Constructors
| Unsubscribe' Text |
Instances
| ToHeaders Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Methods toHeaders :: Unsubscribe -> [Header] Source # | |||||
| ToPath Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Methods toPath :: Unsubscribe -> ByteString Source # | |||||
| ToQuery Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Methods toQuery :: Unsubscribe -> QueryString Source # | |||||
| AWSRequest Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Associated Types
Methods request :: (Service -> Service) -> Unsubscribe -> Request Unsubscribe Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy Unsubscribe -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse Unsubscribe))) Source # | |||||
| NFData Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Methods rnf :: Unsubscribe -> () # | |||||
| Generic Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Associated Types
| |||||
| Read Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Methods readsPrec :: Int -> ReadS Unsubscribe # readList :: ReadS [Unsubscribe] # readPrec :: ReadPrec Unsubscribe # readListPrec :: ReadPrec [Unsubscribe] # | |||||
| Show Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Methods showsPrec :: Int -> Unsubscribe -> ShowS # show :: Unsubscribe -> String # showList :: [Unsubscribe] -> ShowS # | |||||
| Eq Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe | |||||
| Hashable Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe | |||||
| type AWSResponse Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe | |||||
| type Rep Unsubscribe Source # | |||||
Defined in Amazonka.SNS.Unsubscribe type Rep Unsubscribe = D1 ('MetaData "Unsubscribe" "Amazonka.SNS.Unsubscribe" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "Unsubscribe'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
Arguments
| :: Text | |
| -> Unsubscribe |
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:
subscriptionArn, unsubscribe_subscriptionArn - The ARN of the subscription to be deleted.
data UnsubscribeResponse Source #
See: newUnsubscribeResponse smart constructor.
Constructors
| UnsubscribeResponse' |
Instances
| NFData UnsubscribeResponse Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Methods rnf :: UnsubscribeResponse -> () # | |||||
| Generic UnsubscribeResponse Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Associated Types
Methods from :: UnsubscribeResponse -> Rep UnsubscribeResponse x # to :: Rep UnsubscribeResponse x -> UnsubscribeResponse # | |||||
| Read UnsubscribeResponse Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Methods readsPrec :: Int -> ReadS UnsubscribeResponse # readList :: ReadS [UnsubscribeResponse] # | |||||
| Show UnsubscribeResponse Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Methods showsPrec :: Int -> UnsubscribeResponse -> ShowS # show :: UnsubscribeResponse -> String # showList :: [UnsubscribeResponse] -> ShowS # | |||||
| Eq UnsubscribeResponse Source # | |||||
Defined in Amazonka.SNS.Unsubscribe Methods (==) :: UnsubscribeResponse -> UnsubscribeResponse -> Bool # (/=) :: UnsubscribeResponse -> UnsubscribeResponse -> Bool # | |||||
| type Rep UnsubscribeResponse Source # | |||||
newUnsubscribeResponse :: UnsubscribeResponse Source #
Create a value of UnsubscribeResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UntagResource
data UntagResource Source #
See: newUntagResource smart constructor.
Constructors
| UntagResource' Text [Text] |
Instances
| ToHeaders UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource Methods toHeaders :: UntagResource -> [Header] Source # | |||||
| ToPath UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource Methods toPath :: UntagResource -> ByteString Source # | |||||
| ToQuery UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource Methods toQuery :: UntagResource -> QueryString Source # | |||||
| AWSRequest UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource Associated Types
Methods request :: (Service -> Service) -> UntagResource -> Request UntagResource Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy UntagResource -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse UntagResource))) Source # | |||||
| NFData UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource Methods rnf :: UntagResource -> () # | |||||
| Generic UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource Associated Types
| |||||
| Read UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource Methods readsPrec :: Int -> ReadS UntagResource # readList :: ReadS [UntagResource] # | |||||
| Show UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource Methods showsPrec :: Int -> UntagResource -> ShowS # show :: UntagResource -> String # showList :: [UntagResource] -> ShowS # | |||||
| Eq UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource Methods (==) :: UntagResource -> UntagResource -> Bool # (/=) :: UntagResource -> UntagResource -> Bool # | |||||
| Hashable UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource | |||||
| type AWSResponse UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource | |||||
| type Rep UntagResource Source # | |||||
Defined in Amazonka.SNS.UntagResource type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.SNS.UntagResource" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))) | |||||
Arguments
| :: Text | |
| -> UntagResource |
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:
resourceArn, untagResource_resourceArn - The ARN of the topic from which to remove tags.
tagKeys, untagResource_tagKeys - The list of tag keys to remove from the specified topic.
data UntagResourceResponse Source #
See: newUntagResourceResponse smart constructor.
Constructors
| UntagResourceResponse' Int |
Instances
| NFData UntagResourceResponse Source # | |||||
Defined in Amazonka.SNS.UntagResource Methods rnf :: UntagResourceResponse -> () # | |||||
| Generic UntagResourceResponse Source # | |||||
Defined in Amazonka.SNS.UntagResource Associated Types
Methods from :: UntagResourceResponse -> Rep UntagResourceResponse x # to :: Rep UntagResourceResponse x -> UntagResourceResponse # | |||||
| Read UntagResourceResponse Source # | |||||
Defined in Amazonka.SNS.UntagResource Methods readsPrec :: Int -> ReadS UntagResourceResponse # readList :: ReadS [UntagResourceResponse] # | |||||
| Show UntagResourceResponse Source # | |||||
Defined in Amazonka.SNS.UntagResource Methods showsPrec :: Int -> UntagResourceResponse -> ShowS # show :: UntagResourceResponse -> String # showList :: [UntagResourceResponse] -> ShowS # | |||||
| Eq UntagResourceResponse Source # | |||||
Defined in Amazonka.SNS.UntagResource Methods (==) :: UntagResourceResponse -> UntagResourceResponse -> Bool # (/=) :: UntagResourceResponse -> UntagResourceResponse -> Bool # | |||||
| type Rep UntagResourceResponse Source # | |||||
Defined in Amazonka.SNS.UntagResource type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.SNS.UntagResource" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) | |||||
newUntagResourceResponse Source #
Arguments
| :: Int | |
| -> UntagResourceResponse |
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:
httpStatus, untagResourceResponse_httpStatus - The response's http status code.
VerifySMSSandboxPhoneNumber
data VerifySMSSandboxPhoneNumber Source #
See: newVerifySMSSandboxPhoneNumber smart constructor.
Constructors
| VerifySMSSandboxPhoneNumber' Text Text |
Instances
| ToHeaders VerifySMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Methods toHeaders :: VerifySMSSandboxPhoneNumber -> [Header] Source # | |||||
| ToPath VerifySMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Methods toPath :: VerifySMSSandboxPhoneNumber -> ByteString Source # | |||||
| ToQuery VerifySMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Methods toQuery :: VerifySMSSandboxPhoneNumber -> QueryString Source # | |||||
| AWSRequest VerifySMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Associated Types
Methods request :: (Service -> Service) -> VerifySMSSandboxPhoneNumber -> Request VerifySMSSandboxPhoneNumber Source # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy VerifySMSSandboxPhoneNumber -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse VerifySMSSandboxPhoneNumber))) Source # | |||||
| NFData VerifySMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Methods rnf :: VerifySMSSandboxPhoneNumber -> () # | |||||
| Generic VerifySMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Associated Types
Methods from :: VerifySMSSandboxPhoneNumber -> Rep VerifySMSSandboxPhoneNumber x # to :: Rep VerifySMSSandboxPhoneNumber x -> VerifySMSSandboxPhoneNumber # | |||||
| Read VerifySMSSandboxPhoneNumber Source # | |||||
| Show VerifySMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Methods showsPrec :: Int -> VerifySMSSandboxPhoneNumber -> ShowS # show :: VerifySMSSandboxPhoneNumber -> String # showList :: [VerifySMSSandboxPhoneNumber] -> ShowS # | |||||
| Eq VerifySMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Methods (==) :: VerifySMSSandboxPhoneNumber -> VerifySMSSandboxPhoneNumber -> Bool # (/=) :: VerifySMSSandboxPhoneNumber -> VerifySMSSandboxPhoneNumber -> Bool # | |||||
| Hashable VerifySMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Methods hashWithSalt :: Int -> VerifySMSSandboxPhoneNumber -> Int Source # | |||||
| type AWSResponse VerifySMSSandboxPhoneNumber Source # | |||||
| type Rep VerifySMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber type Rep VerifySMSSandboxPhoneNumber = D1 ('MetaData "VerifySMSSandboxPhoneNumber" "Amazonka.SNS.VerifySMSSandboxPhoneNumber" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "VerifySMSSandboxPhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "oneTimePassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
newVerifySMSSandboxPhoneNumber Source #
Arguments
| :: Text | |
| -> Text | |
| -> VerifySMSSandboxPhoneNumber |
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:
phoneNumber, verifySMSSandboxPhoneNumber_phoneNumber - The destination phone number to verify.
oneTimePassword, 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.
Constructors
| VerifySMSSandboxPhoneNumberResponse' Int |
Instances
| NFData VerifySMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Methods rnf :: VerifySMSSandboxPhoneNumberResponse -> () # | |||||
| Generic VerifySMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Associated Types
| |||||
| Read VerifySMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber | |||||
| Show VerifySMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber Methods showsPrec :: Int -> VerifySMSSandboxPhoneNumberResponse -> ShowS # show :: VerifySMSSandboxPhoneNumberResponse -> String # showList :: [VerifySMSSandboxPhoneNumberResponse] -> ShowS # | |||||
| Eq VerifySMSSandboxPhoneNumberResponse Source # | |||||
| type Rep VerifySMSSandboxPhoneNumberResponse Source # | |||||
Defined in Amazonka.SNS.VerifySMSSandboxPhoneNumber type Rep VerifySMSSandboxPhoneNumberResponse = D1 ('MetaData "VerifySMSSandboxPhoneNumberResponse" "Amazonka.SNS.VerifySMSSandboxPhoneNumber" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "VerifySMSSandboxPhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) | |||||
newVerifySMSSandboxPhoneNumberResponse Source #
Arguments
| :: Int | |
| -> VerifySMSSandboxPhoneNumberResponse |
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:
httpStatus, verifySMSSandboxPhoneNumberResponse_httpStatus - The response's http status code.
Types
LanguageCodeString
newtype LanguageCodeString Source #
Supported language code for sending OTP message
Constructors
| LanguageCodeString' | |
Fields | |
Bundled Patterns
| pattern LanguageCodeString_De_DE :: LanguageCodeString | |
| pattern LanguageCodeString_En_GB :: LanguageCodeString | |
| pattern LanguageCodeString_En_US :: LanguageCodeString | |
| pattern LanguageCodeString_Es_419 :: LanguageCodeString | |
| pattern LanguageCodeString_Es_ES :: LanguageCodeString | |
| pattern LanguageCodeString_Fr_CA :: LanguageCodeString | |
| pattern LanguageCodeString_Fr_FR :: LanguageCodeString | |
| pattern LanguageCodeString_It_IT :: LanguageCodeString | |
| pattern LanguageCodeString_Ja_JP :: LanguageCodeString | |
| pattern LanguageCodeString_Kr_KR :: LanguageCodeString | |
| pattern LanguageCodeString_Pt_BR :: LanguageCodeString | |
| pattern LanguageCodeString_Zh_CN :: LanguageCodeString | |
| pattern LanguageCodeString_Zh_TW :: LanguageCodeString |
Instances
| FromJSON LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods parseJSON :: Value -> Parser LanguageCodeString Source # parseJSONList :: Value -> Parser [LanguageCodeString] Source # | |||||
| FromJSONKey LanguageCodeString Source # | |||||
| ToJSON LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods toJSON :: LanguageCodeString -> Value Source # toEncoding :: LanguageCodeString -> Encoding Source # toJSONList :: [LanguageCodeString] -> Value Source # toEncodingList :: [LanguageCodeString] -> Encoding Source # omitField :: LanguageCodeString -> Bool Source # | |||||
| ToJSONKey LanguageCodeString Source # | |||||
| ToByteString LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods toBS :: LanguageCodeString -> ByteString Source # | |||||
| ToHeader LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods toHeader :: HeaderName -> LanguageCodeString -> [Header] Source # | |||||
| ToLog LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods | |||||
| ToQuery LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods | |||||
| FromText LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString | |||||
| ToText LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods toText :: LanguageCodeString -> Text Source # | |||||
| FromXML LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString | |||||
| ToXML LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods toXML :: LanguageCodeString -> XML Source # | |||||
| NFData LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods rnf :: LanguageCodeString -> () # | |||||
| Generic LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Associated Types
Methods from :: LanguageCodeString -> Rep LanguageCodeString x # to :: Rep LanguageCodeString x -> LanguageCodeString # | |||||
| Read LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods readsPrec :: Int -> ReadS LanguageCodeString # readList :: ReadS [LanguageCodeString] # | |||||
| Show LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods showsPrec :: Int -> LanguageCodeString -> ShowS # show :: LanguageCodeString -> String # showList :: [LanguageCodeString] -> ShowS # | |||||
| Eq LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods (==) :: LanguageCodeString -> LanguageCodeString -> Bool # (/=) :: LanguageCodeString -> LanguageCodeString -> Bool # | |||||
| Ord LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods compare :: LanguageCodeString -> LanguageCodeString -> Ordering # (<) :: LanguageCodeString -> LanguageCodeString -> Bool # (<=) :: LanguageCodeString -> LanguageCodeString -> Bool # (>) :: LanguageCodeString -> LanguageCodeString -> Bool # (>=) :: LanguageCodeString -> LanguageCodeString -> Bool # max :: LanguageCodeString -> LanguageCodeString -> LanguageCodeString # min :: LanguageCodeString -> LanguageCodeString -> LanguageCodeString # | |||||
| Hashable LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString Methods hashWithSalt :: Int -> LanguageCodeString -> Int Source # hash :: LanguageCodeString -> Int Source # | |||||
| type Rep LanguageCodeString Source # | |||||
Defined in Amazonka.SNS.Types.LanguageCodeString type Rep LanguageCodeString = D1 ('MetaData "LanguageCodeString" "Amazonka.SNS.Types.LanguageCodeString" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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.
Constructors
| NumberCapability' | |
Fields | |
Bundled Patterns
| pattern NumberCapability_MMS :: NumberCapability | |
| pattern NumberCapability_SMS :: NumberCapability | |
| pattern NumberCapability_VOICE :: NumberCapability |
Instances
| FromJSON NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods parseJSON :: Value -> Parser NumberCapability Source # parseJSONList :: Value -> Parser [NumberCapability] Source # | |||||
| FromJSONKey NumberCapability Source # | |||||
| ToJSON NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods toJSON :: NumberCapability -> Value Source # toEncoding :: NumberCapability -> Encoding Source # toJSONList :: [NumberCapability] -> Value Source # toEncodingList :: [NumberCapability] -> Encoding Source # omitField :: NumberCapability -> Bool Source # | |||||
| ToJSONKey NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability | |||||
| ToByteString NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods toBS :: NumberCapability -> ByteString Source # | |||||
| ToHeader NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods toHeader :: HeaderName -> NumberCapability -> [Header] Source # | |||||
| ToLog NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods | |||||
| ToQuery NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods | |||||
| FromText NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability | |||||
| ToText NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods toText :: NumberCapability -> Text Source # | |||||
| FromXML NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability | |||||
| ToXML NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods toXML :: NumberCapability -> XML Source # | |||||
| NFData NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods rnf :: NumberCapability -> () # | |||||
| Generic NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Associated Types
Methods from :: NumberCapability -> Rep NumberCapability x # to :: Rep NumberCapability x -> NumberCapability # | |||||
| Read NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods readsPrec :: Int -> ReadS NumberCapability # readList :: ReadS [NumberCapability] # | |||||
| Show NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods showsPrec :: Int -> NumberCapability -> ShowS # show :: NumberCapability -> String # showList :: [NumberCapability] -> ShowS # | |||||
| Eq NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods (==) :: NumberCapability -> NumberCapability -> Bool # (/=) :: NumberCapability -> NumberCapability -> Bool # | |||||
| Ord NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods compare :: NumberCapability -> NumberCapability -> Ordering # (<) :: NumberCapability -> NumberCapability -> Bool # (<=) :: NumberCapability -> NumberCapability -> Bool # (>) :: NumberCapability -> NumberCapability -> Bool # (>=) :: NumberCapability -> NumberCapability -> Bool # max :: NumberCapability -> NumberCapability -> NumberCapability # min :: NumberCapability -> NumberCapability -> NumberCapability # | |||||
| Hashable NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability Methods hashWithSalt :: Int -> NumberCapability -> Int Source # hash :: NumberCapability -> Int Source # | |||||
| type Rep NumberCapability Source # | |||||
Defined in Amazonka.SNS.Types.NumberCapability type Rep NumberCapability = D1 ('MetaData "NumberCapability" "Amazonka.SNS.Types.NumberCapability" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'True) (C1 ('MetaCons "NumberCapability'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromNumberCapability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
RouteType
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 | |
Bundled Patterns
| pattern RouteType_Premium :: RouteType | |
| pattern RouteType_Promotional :: RouteType | |
| pattern RouteType_Transactional :: RouteType |
Instances
| FromJSON RouteType Source # | |||||
| FromJSONKey RouteType Source # | |||||
Defined in Amazonka.SNS.Types.RouteType | |||||
| ToJSON RouteType Source # | |||||
| ToJSONKey RouteType Source # | |||||
Defined in Amazonka.SNS.Types.RouteType Methods | |||||
| ToByteString RouteType Source # | |||||
Defined in Amazonka.SNS.Types.RouteType Methods toBS :: RouteType -> ByteString Source # | |||||
| ToHeader RouteType Source # | |||||
Defined in Amazonka.SNS.Types.RouteType | |||||
| ToLog RouteType Source # | |||||
Defined in Amazonka.SNS.Types.RouteType Methods build :: RouteType -> ByteStringBuilder Source # | |||||
| ToQuery RouteType Source # | |||||
Defined in Amazonka.SNS.Types.RouteType Methods toQuery :: RouteType -> QueryString Source # | |||||
| FromText RouteType Source # | |||||
| ToText RouteType Source # | |||||
| FromXML RouteType Source # | |||||
| ToXML RouteType Source # | |||||
| NFData RouteType Source # | |||||
Defined in Amazonka.SNS.Types.RouteType | |||||
| Generic RouteType Source # | |||||
Defined in Amazonka.SNS.Types.RouteType Associated Types
| |||||
| Read RouteType Source # | |||||
| Show RouteType Source # | |||||
| Eq RouteType Source # | |||||
| Ord RouteType Source # | |||||
| Hashable RouteType Source # | |||||
| type Rep RouteType Source # | |||||
Defined in Amazonka.SNS.Types.RouteType | |||||
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.
Constructors
| SMSSandboxPhoneNumberVerificationStatus' | |
Bundled Patterns
| pattern SMSSandboxPhoneNumberVerificationStatus_Pending :: SMSSandboxPhoneNumberVerificationStatus | |
| pattern SMSSandboxPhoneNumberVerificationStatus_Verified :: SMSSandboxPhoneNumberVerificationStatus |
Instances
| FromJSON SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| FromJSONKey SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| ToJSON SMSSandboxPhoneNumberVerificationStatus Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus Methods toJSON :: SMSSandboxPhoneNumberVerificationStatus -> Value Source # toEncoding :: SMSSandboxPhoneNumberVerificationStatus -> Encoding Source # toJSONList :: [SMSSandboxPhoneNumberVerificationStatus] -> Value Source # toEncodingList :: [SMSSandboxPhoneNumberVerificationStatus] -> Encoding Source # omitField :: SMSSandboxPhoneNumberVerificationStatus -> Bool Source # | |||||
| ToJSONKey SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| ToByteString SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| ToHeader SMSSandboxPhoneNumberVerificationStatus Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus Methods toHeader :: HeaderName -> SMSSandboxPhoneNumberVerificationStatus -> [Header] Source # | |||||
| ToLog SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| ToQuery SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| FromText SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| ToText SMSSandboxPhoneNumberVerificationStatus Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus Methods toText :: SMSSandboxPhoneNumberVerificationStatus -> Text Source # | |||||
| FromXML SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| ToXML SMSSandboxPhoneNumberVerificationStatus Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus Methods toXML :: SMSSandboxPhoneNumberVerificationStatus -> XML Source # | |||||
| NFData SMSSandboxPhoneNumberVerificationStatus Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus Methods rnf :: SMSSandboxPhoneNumberVerificationStatus -> () # | |||||
| Generic SMSSandboxPhoneNumberVerificationStatus Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus Associated Types
| |||||
| Read SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| Show SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| Eq SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| Ord SMSSandboxPhoneNumberVerificationStatus Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus Methods compare :: SMSSandboxPhoneNumberVerificationStatus -> SMSSandboxPhoneNumberVerificationStatus -> Ordering # (<) :: SMSSandboxPhoneNumberVerificationStatus -> SMSSandboxPhoneNumberVerificationStatus -> Bool # (<=) :: SMSSandboxPhoneNumberVerificationStatus -> SMSSandboxPhoneNumberVerificationStatus -> Bool # (>) :: SMSSandboxPhoneNumberVerificationStatus -> SMSSandboxPhoneNumberVerificationStatus -> Bool # (>=) :: SMSSandboxPhoneNumberVerificationStatus -> SMSSandboxPhoneNumberVerificationStatus -> Bool # max :: SMSSandboxPhoneNumberVerificationStatus -> SMSSandboxPhoneNumberVerificationStatus -> SMSSandboxPhoneNumberVerificationStatus # min :: SMSSandboxPhoneNumberVerificationStatus -> SMSSandboxPhoneNumberVerificationStatus -> SMSSandboxPhoneNumberVerificationStatus # | |||||
| Hashable SMSSandboxPhoneNumberVerificationStatus Source # | |||||
| type Rep SMSSandboxPhoneNumberVerificationStatus Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus type Rep SMSSandboxPhoneNumberVerificationStatus = D1 ('MetaData "SMSSandboxPhoneNumberVerificationStatus" "Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'True) (C1 ('MetaCons "SMSSandboxPhoneNumberVerificationStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSMSSandboxPhoneNumberVerificationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
BatchResultErrorEntry
data BatchResultErrorEntry Source #
Gives a detailed description of failed messages in the batch.
See: newBatchResultErrorEntry smart constructor.
Instances
| FromXML BatchResultErrorEntry Source # | |||||
Defined in Amazonka.SNS.Types.BatchResultErrorEntry | |||||
| NFData BatchResultErrorEntry Source # | |||||
Defined in Amazonka.SNS.Types.BatchResultErrorEntry Methods rnf :: BatchResultErrorEntry -> () # | |||||
| Generic BatchResultErrorEntry Source # | |||||
Defined in Amazonka.SNS.Types.BatchResultErrorEntry Associated Types
Methods from :: BatchResultErrorEntry -> Rep BatchResultErrorEntry x # to :: Rep BatchResultErrorEntry x -> BatchResultErrorEntry # | |||||
| Read BatchResultErrorEntry Source # | |||||
Defined in Amazonka.SNS.Types.BatchResultErrorEntry Methods readsPrec :: Int -> ReadS BatchResultErrorEntry # readList :: ReadS [BatchResultErrorEntry] # | |||||
| Show BatchResultErrorEntry Source # | |||||
Defined in Amazonka.SNS.Types.BatchResultErrorEntry Methods showsPrec :: Int -> BatchResultErrorEntry -> ShowS # show :: BatchResultErrorEntry -> String # showList :: [BatchResultErrorEntry] -> ShowS # | |||||
| Eq BatchResultErrorEntry Source # | |||||
Defined in Amazonka.SNS.Types.BatchResultErrorEntry Methods (==) :: BatchResultErrorEntry -> BatchResultErrorEntry -> Bool # (/=) :: BatchResultErrorEntry -> BatchResultErrorEntry -> Bool # | |||||
| Hashable BatchResultErrorEntry Source # | |||||
Defined in Amazonka.SNS.Types.BatchResultErrorEntry Methods hashWithSalt :: Int -> BatchResultErrorEntry -> Int Source # hash :: BatchResultErrorEntry -> Int Source # | |||||
| type Rep BatchResultErrorEntry Source # | |||||
Defined in Amazonka.SNS.Types.BatchResultErrorEntry type Rep BatchResultErrorEntry = D1 ('MetaData "BatchResultErrorEntry" "Amazonka.SNS.Types.BatchResultErrorEntry" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "BatchResultErrorEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "senderFault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))) | |||||
newBatchResultErrorEntry Source #
Arguments
| :: Text | |
| -> Text | |
| -> Bool | |
| -> BatchResultErrorEntry |
Create a value of BatchResultErrorEntry 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:
message, batchResultErrorEntry_message - A message explaining why the action failed on this entry.
id, batchResultErrorEntry_id - The Id of an entry in a batch request
code, batchResultErrorEntry_code - An error code representing why the action failed on this entry.
senderFault, batchResultErrorEntry_senderFault - Specifies whether the error happened due to the caller of the batch API
action.
Endpoint
The endpoint for mobile app and device.
See: newEndpoint smart constructor.
Instances
| FromXML Endpoint Source # | |||||
| NFData Endpoint Source # | |||||
Defined in Amazonka.SNS.Types.Endpoint | |||||
| Generic Endpoint Source # | |||||
Defined in Amazonka.SNS.Types.Endpoint Associated Types
| |||||
| Read Endpoint Source # | |||||
| Show Endpoint Source # | |||||
| Eq Endpoint Source # | |||||
| Hashable Endpoint Source # | |||||
| type Rep Endpoint Source # | |||||
Defined in Amazonka.SNS.Types.Endpoint type Rep Endpoint = D1 ('MetaData "Endpoint" "Amazonka.SNS.Types.Endpoint" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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:
attributes, endpoint_attributes - Attributes for endpoint.
endpointArn, endpoint_endpointArn - The 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
| ToQuery MessageAttributeValue Source # | |||||
Defined in Amazonka.SNS.Types.MessageAttributeValue Methods | |||||
| NFData MessageAttributeValue Source # | |||||
Defined in Amazonka.SNS.Types.MessageAttributeValue Methods rnf :: MessageAttributeValue -> () # | |||||
| Generic MessageAttributeValue Source # | |||||
Defined in Amazonka.SNS.Types.MessageAttributeValue Associated Types
Methods from :: MessageAttributeValue -> Rep MessageAttributeValue x # to :: Rep MessageAttributeValue x -> MessageAttributeValue # | |||||
| Read MessageAttributeValue Source # | |||||
Defined in Amazonka.SNS.Types.MessageAttributeValue Methods readsPrec :: Int -> ReadS MessageAttributeValue # readList :: ReadS [MessageAttributeValue] # | |||||
| Show MessageAttributeValue Source # | |||||
Defined in Amazonka.SNS.Types.MessageAttributeValue Methods showsPrec :: Int -> MessageAttributeValue -> ShowS # show :: MessageAttributeValue -> String # showList :: [MessageAttributeValue] -> ShowS # | |||||
| Eq MessageAttributeValue Source # | |||||
Defined in Amazonka.SNS.Types.MessageAttributeValue Methods (==) :: MessageAttributeValue -> MessageAttributeValue -> Bool # (/=) :: MessageAttributeValue -> MessageAttributeValue -> Bool # | |||||
| Hashable MessageAttributeValue Source # | |||||
Defined in Amazonka.SNS.Types.MessageAttributeValue Methods hashWithSalt :: Int -> MessageAttributeValue -> Int Source # hash :: MessageAttributeValue -> Int Source # | |||||
| type Rep MessageAttributeValue Source # | |||||
Defined in Amazonka.SNS.Types.MessageAttributeValue type Rep MessageAttributeValue = D1 ('MetaData "MessageAttributeValue" "Amazonka.SNS.Types.MessageAttributeValue" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" '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 #
Arguments
| :: Text | |
| -> MessageAttributeValue |
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:
binaryValue, 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.
stringValue, messageAttributeValue_stringValue - Strings are Unicode with UTF8 binary encoding. For a list of code
values, see
ASCII Printable Characters.
dataType, 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.
Constructors
| PhoneNumberInformation' (Maybe ISO8601) (Maybe Text) (Maybe [NumberCapability]) (Maybe Text) (Maybe RouteType) (Maybe Text) |
Instances
| FromXML PhoneNumberInformation Source # | |||||
Defined in Amazonka.SNS.Types.PhoneNumberInformation | |||||
| NFData PhoneNumberInformation Source # | |||||
Defined in Amazonka.SNS.Types.PhoneNumberInformation Methods rnf :: PhoneNumberInformation -> () # | |||||
| Generic PhoneNumberInformation Source # | |||||
Defined in Amazonka.SNS.Types.PhoneNumberInformation Associated Types
Methods from :: PhoneNumberInformation -> Rep PhoneNumberInformation x # to :: Rep PhoneNumberInformation x -> PhoneNumberInformation # | |||||
| Read PhoneNumberInformation Source # | |||||
Defined in Amazonka.SNS.Types.PhoneNumberInformation | |||||
| Show PhoneNumberInformation Source # | |||||
Defined in Amazonka.SNS.Types.PhoneNumberInformation Methods showsPrec :: Int -> PhoneNumberInformation -> ShowS # show :: PhoneNumberInformation -> String # showList :: [PhoneNumberInformation] -> ShowS # | |||||
| Eq PhoneNumberInformation Source # | |||||
Defined in Amazonka.SNS.Types.PhoneNumberInformation Methods (==) :: PhoneNumberInformation -> PhoneNumberInformation -> Bool # (/=) :: PhoneNumberInformation -> PhoneNumberInformation -> Bool # | |||||
| Hashable PhoneNumberInformation Source # | |||||
Defined in Amazonka.SNS.Types.PhoneNumberInformation Methods hashWithSalt :: Int -> PhoneNumberInformation -> Int Source # hash :: PhoneNumberInformation -> Int Source # | |||||
| type Rep PhoneNumberInformation Source # | |||||
Defined in Amazonka.SNS.Types.PhoneNumberInformation type Rep PhoneNumberInformation = D1 ('MetaData "PhoneNumberInformation" "Amazonka.SNS.Types.PhoneNumberInformation" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "PhoneNumberInformation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "iso2CountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "numberCapabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NumberCapability])))) :*: (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "routeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteType)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) | |||||
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:
createdAt, phoneNumberInformation_createdAt - The date and time when the phone number was created.
iso2CountryCode, phoneNumberInformation_iso2CountryCode - The two-character code for the country or region, in ISO 3166-1 alpha-2
format.
numberCapabilities, phoneNumberInformation_numberCapabilities - The capabilities of each phone number.
phoneNumber, phoneNumberInformation_phoneNumber - The phone number.
routeType, phoneNumberInformation_routeType - The list of supported routes.
status, phoneNumberInformation_status - The status of the phone number.
PlatformApplication
data PlatformApplication Source #
Platform application object.
See: newPlatformApplication smart constructor.
Instances
| FromXML PlatformApplication Source # | |||||
Defined in Amazonka.SNS.Types.PlatformApplication | |||||
| NFData PlatformApplication Source # | |||||
Defined in Amazonka.SNS.Types.PlatformApplication Methods rnf :: PlatformApplication -> () # | |||||
| Generic PlatformApplication Source # | |||||
Defined in Amazonka.SNS.Types.PlatformApplication Associated Types
Methods from :: PlatformApplication -> Rep PlatformApplication x # to :: Rep PlatformApplication x -> PlatformApplication # | |||||
| Read PlatformApplication Source # | |||||
Defined in Amazonka.SNS.Types.PlatformApplication Methods readsPrec :: Int -> ReadS PlatformApplication # readList :: ReadS [PlatformApplication] # | |||||
| Show PlatformApplication Source # | |||||
Defined in Amazonka.SNS.Types.PlatformApplication Methods showsPrec :: Int -> PlatformApplication -> ShowS # show :: PlatformApplication -> String # showList :: [PlatformApplication] -> ShowS # | |||||
| Eq PlatformApplication Source # | |||||
Defined in Amazonka.SNS.Types.PlatformApplication Methods (==) :: PlatformApplication -> PlatformApplication -> Bool # (/=) :: PlatformApplication -> PlatformApplication -> Bool # | |||||
| Hashable PlatformApplication Source # | |||||
Defined in Amazonka.SNS.Types.PlatformApplication Methods hashWithSalt :: Int -> PlatformApplication -> Int Source # hash :: PlatformApplication -> Int Source # | |||||
| type Rep PlatformApplication Source # | |||||
Defined in Amazonka.SNS.Types.PlatformApplication type Rep PlatformApplication = D1 ('MetaData "PlatformApplication" "Amazonka.SNS.Types.PlatformApplication" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "PlatformApplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "platformApplicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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:
attributes, platformApplication_attributes - Attributes for platform application object.
platformApplicationArn, platformApplication_platformApplicationArn - PlatformApplicationArn for platform application object.
PublishBatchRequestEntry
data PublishBatchRequestEntry Source #
Contains the details of a single Amazon SNS message along with an Id
that identifies a message within the batch.
See: newPublishBatchRequestEntry smart constructor.
Constructors
| PublishBatchRequestEntry' (Maybe (HashMap Text MessageAttributeValue)) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text |
Instances
| ToQuery PublishBatchRequestEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchRequestEntry Methods | |||||
| NFData PublishBatchRequestEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchRequestEntry Methods rnf :: PublishBatchRequestEntry -> () # | |||||
| Generic PublishBatchRequestEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchRequestEntry Associated Types
Methods from :: PublishBatchRequestEntry -> Rep PublishBatchRequestEntry x # to :: Rep PublishBatchRequestEntry x -> PublishBatchRequestEntry # | |||||
| Read PublishBatchRequestEntry Source # | |||||
| Show PublishBatchRequestEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchRequestEntry Methods showsPrec :: Int -> PublishBatchRequestEntry -> ShowS # show :: PublishBatchRequestEntry -> String # showList :: [PublishBatchRequestEntry] -> ShowS # | |||||
| Eq PublishBatchRequestEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchRequestEntry Methods (==) :: PublishBatchRequestEntry -> PublishBatchRequestEntry -> Bool # (/=) :: PublishBatchRequestEntry -> PublishBatchRequestEntry -> Bool # | |||||
| Hashable PublishBatchRequestEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchRequestEntry Methods hashWithSalt :: Int -> PublishBatchRequestEntry -> Int Source # hash :: PublishBatchRequestEntry -> Int Source # | |||||
| type Rep PublishBatchRequestEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchRequestEntry type Rep PublishBatchRequestEntry = D1 ('MetaData "PublishBatchRequestEntry" "Amazonka.SNS.Types.PublishBatchRequestEntry" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "PublishBatchRequestEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "messageAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MessageAttributeValue))) :*: (S1 ('MetaSel ('Just "messageDeduplicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messageGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "messageStructure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) | |||||
newPublishBatchRequestEntry Source #
Arguments
| :: Text | |
| -> Text | |
| -> PublishBatchRequestEntry |
Create a value of PublishBatchRequestEntry 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:
messageAttributes, publishBatchRequestEntry_messageAttributes - Each message attribute consists of a Name, Type, and Value. For
more information, see
Amazon SNS message attributes
in the Amazon SNS Developer Guide.
messageDeduplicationId, publishBatchRequestEntry_messageDeduplicationId - This parameter applies only to FIFO (first-in-first-out) topics.
The token used for deduplication of messages within a 5-minute minimum
deduplication interval. If a message with a particular
MessageDeduplicationId is sent successfully, subsequent messages with
the same MessageDeduplicationId are accepted successfully but aren't
delivered.
Every message must have a unique
MessageDeduplicationId.- You may provide a
MessageDeduplicationIdexplicitly. - If you aren't able to provide a
MessageDeduplicationIdand you enableContentBasedDeduplicationfor your topic, Amazon SNS uses a SHA-256 hash to generate theMessageDeduplicationIdusing the body of the message (but not the attributes of the message). - If you don't provide a
MessageDeduplicationIdand the topic doesn't haveContentBasedDeduplicationset, the action fails with an error. - If the topic has a
ContentBasedDeduplicationset, yourMessageDeduplicationIdoverrides the generated one.
- You may provide a
- When
ContentBasedDeduplicationis in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered. - If you send one message with
ContentBasedDeduplicationenabled, and then another message with aMessageDeduplicationIdthat is the same as the one generated for the firstMessageDeduplicationId, the two messages are treated as duplicates and only one copy of the message is delivered.
The MessageDeduplicationId is available to the consumer of the message
(this can be useful for troubleshooting delivery issues).
If a message is sent successfully but the acknowledgement is lost and
the message is resent with the same MessageDeduplicationId after the
deduplication interval, Amazon SNS can't detect duplicate messages.
Amazon SNS continues to keep track of the message deduplication ID even after the message is received and deleted.
The length of MessageDeduplicationId is 128 characters.
MessageDeduplicationId can contain alphanumeric characters
(a-z, A-Z, 0-9) and punctuation
(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~).
messageGroupId, publishBatchRequestEntry_messageGroupId - This parameter applies only to FIFO (first-in-first-out) topics.
The 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). To interleave multiple ordered streams within a
single topic, use MessageGroupId values (for example, session data for
multiple users). In this scenario, multiple consumers can process the
topic, but the session data of each user is processed in a FIFO fashion.
You must associate a non-empty MessageGroupId with a message. If you
don't provide a MessageGroupId, the action fails.
The length of MessageGroupId is 128 characters.
MessageGroupId can contain alphanumeric characters (a-z, A-Z, 0-9)
and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~).
MessageGroupId is required for FIFO topics. You can't use it for
standard topics.
messageStructure, publishBatchRequestEntry_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).
subject, publishBatchRequestEntry_subject - The subject of the batch message.
id, publishBatchRequestEntry_id - An identifier for the message in this batch.
The Ids of a batch request must be unique within a request.
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
message, publishBatchRequestEntry_message - The body of the message.
PublishBatchResultEntry
data PublishBatchResultEntry Source #
Encloses data related to a successful message in a batch request for topic.
See: newPublishBatchResultEntry smart constructor.
Instances
| FromXML PublishBatchResultEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchResultEntry | |||||
| NFData PublishBatchResultEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchResultEntry Methods rnf :: PublishBatchResultEntry -> () # | |||||
| Generic PublishBatchResultEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchResultEntry Associated Types
Methods from :: PublishBatchResultEntry -> Rep PublishBatchResultEntry x # to :: Rep PublishBatchResultEntry x -> PublishBatchResultEntry # | |||||
| Read PublishBatchResultEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchResultEntry | |||||
| Show PublishBatchResultEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchResultEntry Methods showsPrec :: Int -> PublishBatchResultEntry -> ShowS # show :: PublishBatchResultEntry -> String # showList :: [PublishBatchResultEntry] -> ShowS # | |||||
| Eq PublishBatchResultEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchResultEntry Methods (==) :: PublishBatchResultEntry -> PublishBatchResultEntry -> Bool # (/=) :: PublishBatchResultEntry -> PublishBatchResultEntry -> Bool # | |||||
| Hashable PublishBatchResultEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchResultEntry Methods hashWithSalt :: Int -> PublishBatchResultEntry -> Int Source # hash :: PublishBatchResultEntry -> Int Source # | |||||
| type Rep PublishBatchResultEntry Source # | |||||
Defined in Amazonka.SNS.Types.PublishBatchResultEntry type Rep PublishBatchResultEntry = D1 ('MetaData "PublishBatchResultEntry" "Amazonka.SNS.Types.PublishBatchResultEntry" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "PublishBatchResultEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sequenceNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) | |||||
newPublishBatchResultEntry :: PublishBatchResultEntry Source #
Create a value of PublishBatchResultEntry 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:
id, publishBatchResultEntry_id - The Id of an entry in a batch request.
messageId, publishBatchResultEntry_messageId - An identifier for the message.
sequenceNumber, publishBatchResultEntry_sequenceNumber - This parameter applies only to FIFO (first-in-first-out) topics.
The large, non-consecutive number that Amazon SNS assigns to each message.
The length of SequenceNumber is 128 bits. SequenceNumber continues
to increase for a particular MessageGroupId.
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 Amazon Web Services 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 Amazon Web Services 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.
Constructors
| SMSSandboxPhoneNumber' (Maybe Text) (Maybe SMSSandboxPhoneNumberVerificationStatus) |
Instances
| FromXML SMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber | |||||
| NFData SMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber Methods rnf :: SMSSandboxPhoneNumber -> () # | |||||
| Generic SMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber Associated Types
Methods from :: SMSSandboxPhoneNumber -> Rep SMSSandboxPhoneNumber x # to :: Rep SMSSandboxPhoneNumber x -> SMSSandboxPhoneNumber # | |||||
| Read SMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber Methods readsPrec :: Int -> ReadS SMSSandboxPhoneNumber # readList :: ReadS [SMSSandboxPhoneNumber] # | |||||
| Show SMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber Methods showsPrec :: Int -> SMSSandboxPhoneNumber -> ShowS # show :: SMSSandboxPhoneNumber -> String # showList :: [SMSSandboxPhoneNumber] -> ShowS # | |||||
| Eq SMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber Methods (==) :: SMSSandboxPhoneNumber -> SMSSandboxPhoneNumber -> Bool # (/=) :: SMSSandboxPhoneNumber -> SMSSandboxPhoneNumber -> Bool # | |||||
| Hashable SMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber Methods hashWithSalt :: Int -> SMSSandboxPhoneNumber -> Int Source # hash :: SMSSandboxPhoneNumber -> Int Source # | |||||
| type Rep SMSSandboxPhoneNumber Source # | |||||
Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber type Rep SMSSandboxPhoneNumber = D1 ('MetaData "SMSSandboxPhoneNumber" "Amazonka.SNS.Types.SMSSandboxPhoneNumber" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "SMSSandboxPhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SMSSandboxPhoneNumberVerificationStatus)))) | |||||
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:
phoneNumber, sMSSandboxPhoneNumber_phoneNumber - The destination phone number.
status, sMSSandboxPhoneNumber_status - The destination phone number's verification status.
Subscription
data Subscription Source #
A wrapper type for the attributes of an Amazon SNS subscription.
See: newSubscription smart constructor.
Instances
| FromXML Subscription Source # | |||||
Defined in Amazonka.SNS.Types.Subscription | |||||
| NFData Subscription Source # | |||||
Defined in Amazonka.SNS.Types.Subscription Methods rnf :: Subscription -> () # | |||||
| Generic Subscription Source # | |||||
Defined in Amazonka.SNS.Types.Subscription Associated Types
| |||||
| Read Subscription Source # | |||||
Defined in Amazonka.SNS.Types.Subscription Methods readsPrec :: Int -> ReadS Subscription # readList :: ReadS [Subscription] # | |||||
| Show Subscription Source # | |||||
Defined in Amazonka.SNS.Types.Subscription Methods showsPrec :: Int -> Subscription -> ShowS # show :: Subscription -> String # showList :: [Subscription] -> ShowS # | |||||
| Eq Subscription Source # | |||||
Defined in Amazonka.SNS.Types.Subscription | |||||
| Hashable Subscription Source # | |||||
Defined in Amazonka.SNS.Types.Subscription | |||||
| type Rep Subscription Source # | |||||
Defined in Amazonka.SNS.Types.Subscription type Rep Subscription = D1 ('MetaData "Subscription" "Amazonka.SNS.Types.Subscription" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "Subscription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "topicArn") '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:
endpoint, subscription_endpoint - The subscription's endpoint (format depends on the protocol).
owner, subscription_owner - The subscription's owner.
protocol, subscription_protocol - The subscription's protocol.
subscriptionArn, subscription_subscriptionArn - The subscription's ARN.
topicArn, subscription_topicArn - The ARN of the subscription's topic.
Tag
The list of tags to be added to the specified topic.
See: newTag smart constructor.
Instances
| ToQuery Tag Source # | |||||
Defined in Amazonka.SNS.Types.Tag Methods toQuery :: Tag -> QueryString Source # | |||||
| FromXML Tag Source # | |||||
| NFData Tag Source # | |||||
Defined in Amazonka.SNS.Types.Tag | |||||
| Generic Tag Source # | |||||
Defined in Amazonka.SNS.Types.Tag Associated Types
| |||||
| Read Tag Source # | |||||
| Show Tag Source # | |||||
| Eq Tag Source # | |||||
| Hashable Tag Source # | |||||
| type Rep Tag Source # | |||||
Defined in Amazonka.SNS.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.SNS.Types.Tag" "amazonka-sns-2.0-J7ZGMxWRfoIM3EHlLXQGU" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
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:
Topic
A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve
a topic's attributes, use GetTopicAttributes.
See: newTopic smart constructor.
Instances
| FromXML Topic Source # | |||||
| NFData Topic Source # | |||||
Defined in Amazonka.SNS.Types.Topic | |||||
| Generic Topic Source # | |||||
Defined in Amazonka.SNS.Types.Topic Associated Types
| |||||
| Read Topic Source # | |||||
| Show Topic Source # | |||||
| Eq Topic Source # | |||||
| Hashable Topic Source # | |||||
| type Rep Topic Source # | |||||
Defined in Amazonka.SNS.Types.Topic | |||||
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:
topicArn, topic_topicArn - The topic's ARN.