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 | Safe-Inferred |
Language | Haskell2010 |
Retrieves the SMS sandbox status for the calling Amazon Web Services account in the target Amazon Web Services Region.
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.
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
Generic GetSMSSandboxAccountStatusResponse Source # | |
Read GetSMSSandboxAccountStatusResponse Source # | |
Show GetSMSSandboxAccountStatusResponse Source # | |
NFData GetSMSSandboxAccountStatusResponse Source # | |
Defined in Amazonka.SNS.GetSMSSandboxAccountStatus rnf :: GetSMSSandboxAccountStatusResponse -> () # | |
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-4k7AiJI7DyqhOUy5o4qb9" '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 Amazon Web Services 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 Amazon Web Services account is in the SMS sandbox.