Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes an account's verified or pending phone number from 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.
Synopsis
- data DeleteSMSSandboxPhoneNumber = DeleteSMSSandboxPhoneNumber' {
- phoneNumber :: Text
- newDeleteSMSSandboxPhoneNumber :: Text -> DeleteSMSSandboxPhoneNumber
- deleteSMSSandboxPhoneNumber_phoneNumber :: Lens' DeleteSMSSandboxPhoneNumber Text
- data DeleteSMSSandboxPhoneNumberResponse = DeleteSMSSandboxPhoneNumberResponse' {
- httpStatus :: Int
- newDeleteSMSSandboxPhoneNumberResponse :: Int -> DeleteSMSSandboxPhoneNumberResponse
- deleteSMSSandboxPhoneNumberResponse_httpStatus :: Lens' DeleteSMSSandboxPhoneNumberResponse Int
Creating a Request
data DeleteSMSSandboxPhoneNumber Source #
See: newDeleteSMSSandboxPhoneNumber
smart constructor.
DeleteSMSSandboxPhoneNumber' | |
|
Instances
newDeleteSMSSandboxPhoneNumber Source #
Create a value of DeleteSMSSandboxPhoneNumber
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:phoneNumber:DeleteSMSSandboxPhoneNumber'
, deleteSMSSandboxPhoneNumber_phoneNumber
- The destination phone number to delete.
Request Lenses
deleteSMSSandboxPhoneNumber_phoneNumber :: Lens' DeleteSMSSandboxPhoneNumber Text Source #
The destination phone number to delete.
Destructuring the Response
data DeleteSMSSandboxPhoneNumberResponse Source #
See: newDeleteSMSSandboxPhoneNumberResponse
smart constructor.
DeleteSMSSandboxPhoneNumberResponse' | |
|
Instances
Eq DeleteSMSSandboxPhoneNumberResponse Source # | |
Read DeleteSMSSandboxPhoneNumberResponse Source # | |
Show DeleteSMSSandboxPhoneNumberResponse Source # | |
Generic DeleteSMSSandboxPhoneNumberResponse Source # | |
NFData DeleteSMSSandboxPhoneNumberResponse Source # | |
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber rnf :: DeleteSMSSandboxPhoneNumberResponse -> () # | |
type Rep DeleteSMSSandboxPhoneNumberResponse Source # | |
Defined in Amazonka.SNS.DeleteSMSSandboxPhoneNumber type Rep DeleteSMSSandboxPhoneNumberResponse = D1 ('MetaData "DeleteSMSSandboxPhoneNumberResponse" "Amazonka.SNS.DeleteSMSSandboxPhoneNumber" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "DeleteSMSSandboxPhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteSMSSandboxPhoneNumberResponse Source #
Create a value of DeleteSMSSandboxPhoneNumberResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteSMSSandboxPhoneNumberResponse'
, deleteSMSSandboxPhoneNumberResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSMSSandboxPhoneNumberResponse_httpStatus :: Lens' DeleteSMSSandboxPhoneNumberResponse Int Source #
The response's http status code.