libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email
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.PinpointEmail.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 AWS 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.PinpointEmail.PutAccountSendingAttributes

Read PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

Show PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

Generic PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

Associated Types

type Rep PutAccountSendingAttributes :: Type -> Type #

NFData PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

Hashable PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

ToJSON PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

AWSRequest PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

ToHeaders PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

ToPath PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

ToQuery PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

type Rep PutAccountSendingAttributes Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

type Rep PutAccountSendingAttributes = D1 ('MetaData "PutAccountSendingAttributes" "Amazonka.PinpointEmail.PutAccountSendingAttributes" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" '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.PinpointEmail.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 AWS 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 AWS 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.PinpointEmail.PutAccountSendingAttributes

Read PutAccountSendingAttributesResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

Show PutAccountSendingAttributesResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

Generic PutAccountSendingAttributesResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

NFData PutAccountSendingAttributesResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

type Rep PutAccountSendingAttributesResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.PutAccountSendingAttributes

type Rep PutAccountSendingAttributesResponse = D1 ('MetaData "PutAccountSendingAttributesResponse" "Amazonka.PinpointEmail.PutAccountSendingAttributes" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" '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