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.Types.CloudWatchDimensionConfiguration

Description

 
Synopsis

Documentation

data CloudWatchDimensionConfiguration Source #

An object that defines the dimension configuration to use when you send email events to Amazon CloudWatch.

See: newCloudWatchDimensionConfiguration smart constructor.

Constructors

CloudWatchDimensionConfiguration' 

Fields

  • dimensionName :: Text

    The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet the following criteria:

    • It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).
    • It can contain no more than 256 characters.
  • dimensionValueSource :: DimensionValueSource

    The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. To use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail or SendRawEmail API, choose messageTag. To use your own email headers, choose emailHeader. To use link tags, choose linkTags.

  • defaultDimensionValue :: Text

    The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. This value has to meet the following criteria:

    • It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).
    • It can contain no more than 256 characters.

Instances

Instances details
Eq CloudWatchDimensionConfiguration Source # 
Instance details

Defined in Amazonka.SESV2.Types.CloudWatchDimensionConfiguration

Read CloudWatchDimensionConfiguration Source # 
Instance details

Defined in Amazonka.SESV2.Types.CloudWatchDimensionConfiguration

Show CloudWatchDimensionConfiguration Source # 
Instance details

Defined in Amazonka.SESV2.Types.CloudWatchDimensionConfiguration

Generic CloudWatchDimensionConfiguration Source # 
Instance details

Defined in Amazonka.SESV2.Types.CloudWatchDimensionConfiguration

Associated Types

type Rep CloudWatchDimensionConfiguration :: Type -> Type #

NFData CloudWatchDimensionConfiguration Source # 
Instance details

Defined in Amazonka.SESV2.Types.CloudWatchDimensionConfiguration

Hashable CloudWatchDimensionConfiguration Source # 
Instance details

Defined in Amazonka.SESV2.Types.CloudWatchDimensionConfiguration

ToJSON CloudWatchDimensionConfiguration Source # 
Instance details

Defined in Amazonka.SESV2.Types.CloudWatchDimensionConfiguration

FromJSON CloudWatchDimensionConfiguration Source # 
Instance details

Defined in Amazonka.SESV2.Types.CloudWatchDimensionConfiguration

type Rep CloudWatchDimensionConfiguration Source # 
Instance details

Defined in Amazonka.SESV2.Types.CloudWatchDimensionConfiguration

type Rep CloudWatchDimensionConfiguration = D1 ('MetaData "CloudWatchDimensionConfiguration" "Amazonka.SESV2.Types.CloudWatchDimensionConfiguration" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "CloudWatchDimensionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "dimensionValueSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DimensionValueSource) :*: S1 ('MetaSel ('Just "defaultDimensionValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCloudWatchDimensionConfiguration Source #

Create a value of CloudWatchDimensionConfiguration 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:dimensionName:CloudWatchDimensionConfiguration', cloudWatchDimensionConfiguration_dimensionName - The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet the following criteria:

  • It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).
  • It can contain no more than 256 characters.

$sel:dimensionValueSource:CloudWatchDimensionConfiguration', cloudWatchDimensionConfiguration_dimensionValueSource - The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. To use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail or SendRawEmail API, choose messageTag. To use your own email headers, choose emailHeader. To use link tags, choose linkTags.

$sel:defaultDimensionValue:CloudWatchDimensionConfiguration', cloudWatchDimensionConfiguration_defaultDimensionValue - The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. This value has to meet the following criteria:

  • It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).
  • It can contain no more than 256 characters.

cloudWatchDimensionConfiguration_dimensionName :: Lens' CloudWatchDimensionConfiguration Text Source #

The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet the following criteria:

  • It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).
  • It can contain no more than 256 characters.

cloudWatchDimensionConfiguration_dimensionValueSource :: Lens' CloudWatchDimensionConfiguration DimensionValueSource Source #

The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. To use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail or SendRawEmail API, choose messageTag. To use your own email headers, choose emailHeader. To use link tags, choose linkTags.

cloudWatchDimensionConfiguration_defaultDimensionValue :: Lens' CloudWatchDimensionConfiguration Text Source #

The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. This value has to meet the following criteria:

  • It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).
  • It can contain no more than 256 characters.