AWSSESCloudWatchDimensionConfiguration

@interface AWSSESCloudWatchDimensionConfiguration

Contains the dimension configuration to use when you publish email sending events to Amazon CloudWatch.

For information about publishing email sending events to Amazon CloudWatch, see the Amazon SES Developer Guide.

Required parameters: [DimensionName, DimensionValueSource, DefaultDimensionValue]

  • The default value of the dimension that is published to Amazon CloudWatch if you do not provide the value of the dimension when you send an email. The default value must:

    • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).

    • Contain less than 256 characters.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable defaultDimensionValue;

    Swift

    var defaultDimensionValue: String? { get set }
  • The name of an Amazon CloudWatch dimension associated with an email sending metric. The name must:

    • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).

    • Contain less than 256 characters.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable dimensionName;

    Swift

    var dimensionName: String? { get set }
  • The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. If you want Amazon SES to use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail/SendRawEmail API, choose messageTag. If you want Amazon SES to use your own email headers, choose emailHeader.

    Declaration

    Objective-C

    @property (nonatomic) AWSSESDimensionValueSource dimensionValueSource;

    Swift

    var dimensionValueSource: AWSSESDimensionValueSource { get set }