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 |
Retrieves the SMS sandbox status for the calling account in the target Region.
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 GetSMSSandboxAccountStatus = GetSMSSandboxAccountStatus' {
- newGetSMSSandboxAccountStatus :: GetSMSSandboxAccountStatus
- data GetSMSSandboxAccountStatusResponse = GetSMSSandboxAccountStatusResponse' {
- httpStatus :: Int
- isInSandbox :: Bool
- newGetSMSSandboxAccountStatusResponse :: Int -> Bool -> GetSMSSandboxAccountStatusResponse
- getSMSSandboxAccountStatusResponse_httpStatus :: Lens' GetSMSSandboxAccountStatusResponse Int
- getSMSSandboxAccountStatusResponse_isInSandbox :: Lens' GetSMSSandboxAccountStatusResponse Bool
Creating a Request
data GetSMSSandboxAccountStatus Source #
See: newGetSMSSandboxAccountStatus
smart constructor.
Instances
newGetSMSSandboxAccountStatus :: GetSMSSandboxAccountStatus Source #
Create a value of GetSMSSandboxAccountStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetSMSSandboxAccountStatusResponse Source #
See: newGetSMSSandboxAccountStatusResponse
smart constructor.
GetSMSSandboxAccountStatusResponse' | |
|
Instances
Eq GetSMSSandboxAccountStatusResponse Source # | |
Read GetSMSSandboxAccountStatusResponse Source # | |
Show GetSMSSandboxAccountStatusResponse Source # | |
Generic GetSMSSandboxAccountStatusResponse Source # | |
NFData GetSMSSandboxAccountStatusResponse Source # | |
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus rnf :: GetSMSSandboxAccountStatusResponse -> () # | |
type Rep GetSMSSandboxAccountStatusResponse Source # | |
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus type Rep GetSMSSandboxAccountStatusResponse = D1 ('MetaData "GetSMSSandboxAccountStatusResponse" "Amazonka.SNS.GetSMSSandboxAccountStatus" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "GetSMSSandboxAccountStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "isInSandbox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))) |
newGetSMSSandboxAccountStatusResponse Source #
Create a value of GetSMSSandboxAccountStatusResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:GetSMSSandboxAccountStatusResponse'
, getSMSSandboxAccountStatusResponse_httpStatus
- The response's http status code.
$sel:isInSandbox:GetSMSSandboxAccountStatusResponse'
, getSMSSandboxAccountStatusResponse_isInSandbox
- Indicates whether the calling account is in the SMS sandbox.
Response Lenses
getSMSSandboxAccountStatusResponse_httpStatus :: Lens' GetSMSSandboxAccountStatusResponse Int Source #
The response's http status code.
getSMSSandboxAccountStatusResponse_isInSandbox :: Lens' GetSMSSandboxAccountStatusResponse Bool Source #
Indicates whether the calling account is in the SMS sandbox.