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 |
Update your Amazon SES account details.
Synopsis
- data PutAccountDetails = PutAccountDetails' {}
- newPutAccountDetails :: MailType -> Text -> Text -> PutAccountDetails
- putAccountDetails_contactLanguage :: Lens' PutAccountDetails (Maybe ContactLanguage)
- putAccountDetails_productionAccessEnabled :: Lens' PutAccountDetails (Maybe Bool)
- putAccountDetails_additionalContactEmailAddresses :: Lens' PutAccountDetails (Maybe (NonEmpty Text))
- putAccountDetails_mailType :: Lens' PutAccountDetails MailType
- putAccountDetails_websiteURL :: Lens' PutAccountDetails Text
- putAccountDetails_useCaseDescription :: Lens' PutAccountDetails Text
- data PutAccountDetailsResponse = PutAccountDetailsResponse' {
- httpStatus :: Int
- newPutAccountDetailsResponse :: Int -> PutAccountDetailsResponse
- putAccountDetailsResponse_httpStatus :: Lens' PutAccountDetailsResponse Int
Creating a Request
data PutAccountDetails Source #
A request to submit new account details.
See: newPutAccountDetails
smart constructor.
PutAccountDetails' | |
|
Instances
:: MailType | |
-> Text | |
-> Text | |
-> PutAccountDetails |
Create a value of PutAccountDetails
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:contactLanguage:PutAccountDetails'
, putAccountDetails_contactLanguage
- The language you would prefer to be contacted with.
$sel:productionAccessEnabled:PutAccountDetails'
, putAccountDetails_productionAccessEnabled
- Indicates whether or not your account should have production access in
the current Amazon Web Services Region.
If the value is false
, then your account is in the sandbox. When
your account is in the sandbox, you can only send email to verified
identities. Additionally, the maximum number of emails you can send in a
24-hour period (your sending quota) is 200, and the maximum number of
emails you can send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When
your account has production access, you can send email to any address.
The sending quota and maximum sending rate for your account vary based
on your specific use case.
$sel:additionalContactEmailAddresses:PutAccountDetails'
, putAccountDetails_additionalContactEmailAddresses
- Additional email addresses that you would like to be notified regarding
Amazon SES matters.
$sel:mailType:PutAccountDetails'
, putAccountDetails_mailType
- The type of email your account will send.
$sel:websiteURL:PutAccountDetails'
, putAccountDetails_websiteURL
- The URL of your website. This information helps us better understand the
type of content that you plan to send.
$sel:useCaseDescription:PutAccountDetails'
, putAccountDetails_useCaseDescription
- A description of the types of email that you plan to send.
Request Lenses
putAccountDetails_contactLanguage :: Lens' PutAccountDetails (Maybe ContactLanguage) Source #
The language you would prefer to be contacted with.
putAccountDetails_productionAccessEnabled :: Lens' PutAccountDetails (Maybe Bool) Source #
Indicates whether or not your account should have production access in the current Amazon Web Services Region.
If the value is false
, then your account is in the sandbox. When
your account is in the sandbox, you can only send email to verified
identities. Additionally, the maximum number of emails you can send in a
24-hour period (your sending quota) is 200, and the maximum number of
emails you can send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When
your account has production access, you can send email to any address.
The sending quota and maximum sending rate for your account vary based
on your specific use case.
putAccountDetails_additionalContactEmailAddresses :: Lens' PutAccountDetails (Maybe (NonEmpty Text)) Source #
Additional email addresses that you would like to be notified regarding Amazon SES matters.
putAccountDetails_mailType :: Lens' PutAccountDetails MailType Source #
The type of email your account will send.
putAccountDetails_websiteURL :: Lens' PutAccountDetails Text Source #
The URL of your website. This information helps us better understand the type of content that you plan to send.
putAccountDetails_useCaseDescription :: Lens' PutAccountDetails Text Source #
A description of the types of email that you plan to send.
Destructuring the Response
data PutAccountDetailsResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutAccountDetailsResponse
smart constructor.
PutAccountDetailsResponse' | |
|
Instances
newPutAccountDetailsResponse Source #
Create a value of PutAccountDetailsResponse
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:PutAccountDetailsResponse'
, putAccountDetailsResponse_httpStatus
- The response's http status code.
Response Lenses
putAccountDetailsResponse_httpStatus :: Lens' PutAccountDetailsResponse Int Source #
The response's http status code.