libZSservicesZSamazonka-sesv2ZSamazonka-sesv2
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.SESV2.PutAccountSendingAttributes

Description

Enable or disable the ability of your account to send email.

Synopsis

Creating a Request

data PutAccountSendingAttributes Source #

A request to change the ability of your account to send email.

See: newPutAccountSendingAttributes smart constructor.

Constructors

PutAccountSendingAttributes' 

Fields

  • sendingEnabled :: Maybe Bool

    Enables or disables your account's ability to send email. Set to true to enable email sending, or set to false to disable email sending.

    If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.

Instances

Instances details
Eq PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

Read PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

Show PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

Generic PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

Associated Types

type Rep PutAccountSendingAttributes :: Type -> Type #

NFData PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

Hashable PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

ToJSON PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

AWSRequest PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

ToHeaders PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

ToPath PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

ToQuery PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

type Rep PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

type Rep PutAccountSendingAttributes = D1 ('MetaData "PutAccountSendingAttributes" "Amazonka.SESV2.PutAccountSendingAttributes" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "PutAccountSendingAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sendingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))
type AWSResponse PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

newPutAccountSendingAttributes :: PutAccountSendingAttributes Source #

Create a value of PutAccountSendingAttributes 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:sendingEnabled:PutAccountSendingAttributes', putAccountSendingAttributes_sendingEnabled - Enables or disables your account's ability to send email. Set to true to enable email sending, or set to false to disable email sending.

If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.

Request Lenses

putAccountSendingAttributes_sendingEnabled :: Lens' PutAccountSendingAttributes (Maybe Bool) Source #

Enables or disables your account's ability to send email. Set to true to enable email sending, or set to false to disable email sending.

If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.

Destructuring the Response

data PutAccountSendingAttributesResponse Source #

An HTTP 200 response if the request succeeds, or an error message if the request fails.

See: newPutAccountSendingAttributesResponse smart constructor.

Constructors

PutAccountSendingAttributesResponse' 

Fields

Instances

Instances details
Eq PutAccountSendingAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

Read PutAccountSendingAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

Show PutAccountSendingAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

Generic PutAccountSendingAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

NFData PutAccountSendingAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

type Rep PutAccountSendingAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSendingAttributes

type Rep PutAccountSendingAttributesResponse = D1 ('MetaData "PutAccountSendingAttributesResponse" "Amazonka.SESV2.PutAccountSendingAttributes" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "PutAccountSendingAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutAccountSendingAttributesResponse Source #

Create a value of PutAccountSendingAttributesResponse 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:PutAccountSendingAttributesResponse', putAccountSendingAttributesResponse_httpStatus - The response's http status code.

Response Lenses