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

Amazonka.SNS.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

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

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

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

Exception error indicating endpoint disabled.

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

Indicates that a parameter in the request is invalid.

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

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

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

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

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

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

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

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

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

Exception error indicating platform application disabled.

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

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

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

Indicates an internal service error.

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

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

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

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

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

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

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

Indicates that the requested resource does not exist.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

LanguageCodeString

newtype LanguageCodeString Source #

Supported language code for sending OTP message

Instances

Instances details
Eq LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Ord LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Read LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Show LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Generic LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Associated Types

type Rep LanguageCodeString :: Type -> Type #

NFData LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

Methods

rnf :: LanguageCodeString -> () #

Hashable LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToJSON LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToJSONKey LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

FromJSON LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

FromJSONKey LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToLog LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToHeader LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToQuery LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

FromXML LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToXML LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToByteString LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

FromText LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

ToText LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

type Rep LanguageCodeString Source # 
Instance details

Defined in Amazonka.SNS.Types.LanguageCodeString

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

NumberCapability

newtype NumberCapability Source #

Enum listing out all supported number capabilities.

Instances

Instances details
Eq NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Ord NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Read NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Show NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Generic NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Associated Types

type Rep NumberCapability :: Type -> Type #

NFData NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

Methods

rnf :: NumberCapability -> () #

Hashable NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToJSON NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToJSONKey NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

FromJSON NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

FromJSONKey NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToLog NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToHeader NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToQuery NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

FromXML NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToXML NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToByteString NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

FromText NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

ToText NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

type Rep NumberCapability Source # 
Instance details

Defined in Amazonka.SNS.Types.NumberCapability

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

RouteType

newtype RouteType Source #

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

Constructors

RouteType' 

Fields

Instances

Instances details
Eq RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Ord RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Read RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Show RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Generic RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Associated Types

type Rep RouteType :: Type -> Type #

NFData RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Methods

rnf :: RouteType -> () #

Hashable RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToJSON RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToJSONKey RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

FromJSON RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

FromJSONKey RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToLog RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToHeader RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToQuery RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

FromXML RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToXML RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Methods

toXML :: RouteType -> XML #

ToByteString RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Methods

toBS :: RouteType -> ByteString #

FromText RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

ToText RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

Methods

toText :: RouteType -> Text #

type Rep RouteType Source # 
Instance details

Defined in Amazonka.SNS.Types.RouteType

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

SMSSandboxPhoneNumberVerificationStatus

newtype SMSSandboxPhoneNumberVerificationStatus Source #

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

Instances

Instances details
Eq SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

Ord SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

Read SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

Show SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

Generic SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

NFData SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

Hashable SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToJSON SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToJSONKey SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

FromJSON SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

FromJSONKey SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToLog SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToHeader SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToQuery SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

FromXML SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToXML SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToByteString SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

FromText SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

ToText SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

type Rep SMSSandboxPhoneNumberVerificationStatus Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumberVerificationStatus

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

Endpoint

data Endpoint Source #

Endpoint for mobile app and device.

See: newEndpoint smart constructor.

Constructors

Endpoint' 

Fields

Instances

Instances details
Eq Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Read Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Show Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Generic Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Associated Types

type Rep Endpoint :: Type -> Type #

Methods

from :: Endpoint -> Rep Endpoint x #

to :: Rep Endpoint x -> Endpoint #

NFData Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Methods

rnf :: Endpoint -> () #

Hashable Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

Methods

hashWithSalt :: Int -> Endpoint -> Int #

hash :: Endpoint -> Int #

FromXML Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

type Rep Endpoint Source # 
Instance details

Defined in Amazonka.SNS.Types.Endpoint

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

newEndpoint :: Endpoint Source #

Create a value of Endpoint with all optional fields omitted.

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

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

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

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

endpoint_endpointArn :: Lens' Endpoint (Maybe Text) Source #

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.

Constructors

MessageAttributeValue' 

Fields

Instances

Instances details
Eq MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

Read MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

Show MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

Generic MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

Associated Types

type Rep MessageAttributeValue :: Type -> Type #

NFData MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

Methods

rnf :: MessageAttributeValue -> () #

Hashable MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

ToQuery MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

type Rep MessageAttributeValue Source # 
Instance details

Defined in Amazonka.SNS.Types.MessageAttributeValue

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

newMessageAttributeValue Source #

Create a value of MessageAttributeValue with all optional fields omitted.

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

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

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

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

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

messageAttributeValue_binaryValue :: Lens' MessageAttributeValue (Maybe ByteString) Source #

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.

messageAttributeValue_stringValue :: Lens' MessageAttributeValue (Maybe Text) Source #

Strings are Unicode with UTF8 binary encoding. For a list of code values, see ASCII Printable Characters.

messageAttributeValue_dataType :: Lens' MessageAttributeValue Text Source #

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' 

Fields

Instances

Instances details
Eq PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Read PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Show PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Generic PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Associated Types

type Rep PhoneNumberInformation :: Type -> Type #

NFData PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Methods

rnf :: PhoneNumberInformation -> () #

Hashable PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

FromXML PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

type Rep PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

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

newPhoneNumberInformation :: PhoneNumberInformation Source #

Create a value of PhoneNumberInformation with all optional fields omitted.

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

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

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

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

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

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

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

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

phoneNumberInformation_iso2CountryCode :: Lens' PhoneNumberInformation (Maybe Text) Source #

The two-character code for the country or region, in ISO 3166-1 alpha-2 format.

phoneNumberInformation_createdAt :: Lens' PhoneNumberInformation (Maybe UTCTime) Source #

The date and time when the phone number was created.

PlatformApplication

data PlatformApplication Source #

Platform application object.

See: newPlatformApplication smart constructor.

Constructors

PlatformApplication' 

Fields

Instances

Instances details
Eq PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

Read PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

Show PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

Generic PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

Associated Types

type Rep PlatformApplication :: Type -> Type #

NFData PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

Methods

rnf :: PlatformApplication -> () #

Hashable PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

FromXML PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

type Rep PlatformApplication Source # 
Instance details

Defined in Amazonka.SNS.Types.PlatformApplication

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

newPlatformApplication :: PlatformApplication Source #

Create a value of PlatformApplication with all optional fields omitted.

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

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

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

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

platformApplication_platformApplicationArn :: Lens' PlatformApplication (Maybe Text) Source #

PlatformApplicationArn for platform application object.

platformApplication_attributes :: Lens' PlatformApplication (Maybe (HashMap Text Text)) Source #

Attributes for platform application object.

SMSSandboxPhoneNumber

data SMSSandboxPhoneNumber Source #

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

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

See: newSMSSandboxPhoneNumber smart constructor.

Constructors

SMSSandboxPhoneNumber' 

Fields

Instances

Instances details
Eq SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

Read SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

Show SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

Generic SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

Associated Types

type Rep SMSSandboxPhoneNumber :: Type -> Type #

NFData SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

Methods

rnf :: SMSSandboxPhoneNumber -> () #

Hashable SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

FromXML SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

type Rep SMSSandboxPhoneNumber Source # 
Instance details

Defined in Amazonka.SNS.Types.SMSSandboxPhoneNumber

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

newSMSSandboxPhoneNumber :: SMSSandboxPhoneNumber Source #

Create a value of SMSSandboxPhoneNumber with all optional fields omitted.

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

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

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

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

Subscription

data Subscription Source #

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

See: newSubscription smart constructor.

Constructors

Subscription' 

Fields

Instances

Instances details
Eq Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

Read Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

Show Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

Generic Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

Associated Types

type Rep Subscription :: Type -> Type #

NFData Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

Methods

rnf :: Subscription -> () #

Hashable Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

FromXML Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

type Rep Subscription Source # 
Instance details

Defined in Amazonka.SNS.Types.Subscription

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

newSubscription :: Subscription Source #

Create a value of Subscription with all optional fields omitted.

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

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

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

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

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

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

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

subscription_protocol :: Lens' Subscription (Maybe Text) Source #

The subscription's protocol.

subscription_owner :: Lens' Subscription (Maybe Text) Source #

The subscription's owner.

subscription_topicArn :: Lens' Subscription (Maybe Text) Source #

The ARN of the subscription's topic.

subscription_endpoint :: Lens' Subscription (Maybe Text) Source #

The subscription's endpoint (format depends on the protocol).

Tag

data Tag Source #

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

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • key :: Text

    The required key portion of the tag.

  • value :: Text

    The optional value portion of the tag.

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

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

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

Read Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToQuery Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

toQuery :: Tag -> QueryString #

FromXML Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

Methods

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

type Rep Tag Source # 
Instance details

Defined in Amazonka.SNS.Types.Tag

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

newTag Source #

Create a value of Tag with all optional fields omitted.

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

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

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

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

tag_key :: Lens' Tag Text Source #

The required key portion of the tag.

tag_value :: Lens' Tag Text Source #

The optional value portion of the tag.

Topic

data Topic Source #

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

See: newTopic smart constructor.

Constructors

Topic' 

Fields

Instances

Instances details
Eq Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

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

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

Read Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Show Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

showsPrec :: Int -> Topic -> ShowS #

show :: Topic -> String #

showList :: [Topic] -> ShowS #

Generic Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Associated Types

type Rep Topic :: Type -> Type #

Methods

from :: Topic -> Rep Topic x #

to :: Rep Topic x -> Topic #

NFData Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

rnf :: Topic -> () #

Hashable Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

hashWithSalt :: Int -> Topic -> Int #

hash :: Topic -> Int #

FromXML Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

Methods

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

type Rep Topic Source # 
Instance details

Defined in Amazonka.SNS.Types.Topic

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

newTopic :: Topic Source #

Create a value of Topic with all optional fields omitted.

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

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

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

topic_topicArn :: Lens' Topic (Maybe Text) Source #

The topic's ARN.