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.PutConfigurationSetSendingOptions

Description

Enable or disable email sending for messages that use a particular configuration set in a specific Amazon Web Services Region.

Synopsis

Creating a Request

data PutConfigurationSetSendingOptions Source #

A request to enable or disable the ability of Amazon SES to send emails that use a specific configuration set.

See: newPutConfigurationSetSendingOptions smart constructor.

Constructors

PutConfigurationSetSendingOptions' 

Fields

  • sendingEnabled :: Maybe Bool

    If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set.

  • configurationSetName :: Text

    The name of the configuration set to enable or disable email sending for.

Instances

Instances details
Eq PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

Read PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

Show PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

Generic PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

Associated Types

type Rep PutConfigurationSetSendingOptions :: Type -> Type #

NFData PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

Hashable PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

ToJSON PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

AWSRequest PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

ToHeaders PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

ToPath PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

ToQuery PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

type Rep PutConfigurationSetSendingOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

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

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

newPutConfigurationSetSendingOptions Source #

Create a value of PutConfigurationSetSendingOptions 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:PutConfigurationSetSendingOptions', putConfigurationSetSendingOptions_sendingEnabled - If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set.

$sel:configurationSetName:PutConfigurationSetSendingOptions', putConfigurationSetSendingOptions_configurationSetName - The name of the configuration set to enable or disable email sending for.

Request Lenses

putConfigurationSetSendingOptions_sendingEnabled :: Lens' PutConfigurationSetSendingOptions (Maybe Bool) Source #

If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set.

putConfigurationSetSendingOptions_configurationSetName :: Lens' PutConfigurationSetSendingOptions Text Source #

The name of the configuration set to enable or disable email sending for.

Destructuring the Response

data PutConfigurationSetSendingOptionsResponse Source #

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

See: newPutConfigurationSetSendingOptionsResponse smart constructor.

Constructors

PutConfigurationSetSendingOptionsResponse' 

Fields

Instances

Instances details
Eq PutConfigurationSetSendingOptionsResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

Read PutConfigurationSetSendingOptionsResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

Show PutConfigurationSetSendingOptionsResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

Generic PutConfigurationSetSendingOptionsResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

NFData PutConfigurationSetSendingOptionsResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

type Rep PutConfigurationSetSendingOptionsResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions

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

newPutConfigurationSetSendingOptionsResponse Source #

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

Response Lenses