amazonka-pinpoint-sms-voice-v2-2.0: Amazon Pinpoint SMS Voice V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination

Description

 
Synopsis

Documentation

data CloudWatchLogsDestination Source #

Contains the destination configuration to use when publishing message sending events.

See: newCloudWatchLogsDestination smart constructor.

Constructors

CloudWatchLogsDestination' 

Fields

  • iamRoleArn :: Text

    The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.

  • logGroupArn :: Text

    The name of the Amazon CloudWatch log group that you want to record events in.

Instances

Instances details
FromJSON CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination

ToJSON CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination

Generic CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination

Associated Types

type Rep CloudWatchLogsDestination :: Type -> Type #

Read CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination

Show CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination

NFData CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination

Eq CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination

Hashable CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination

type Rep CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination

type Rep CloudWatchLogsDestination = D1 ('MetaData "CloudWatchLogsDestination" "Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination" "amazonka-pinpoint-sms-voice-v2-2.0-HnPsQLyg04lAXcjcfRtbC7" 'False) (C1 ('MetaCons "CloudWatchLogsDestination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "logGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCloudWatchLogsDestination Source #

Create a value of CloudWatchLogsDestination 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:iamRoleArn:CloudWatchLogsDestination', cloudWatchLogsDestination_iamRoleArn - The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.

$sel:logGroupArn:CloudWatchLogsDestination', cloudWatchLogsDestination_logGroupArn - The name of the Amazon CloudWatch log group that you want to record events in.

cloudWatchLogsDestination_iamRoleArn :: Lens' CloudWatchLogsDestination Text Source #

The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.

cloudWatchLogsDestination_logGroupArn :: Lens' CloudWatchLogsDestination Text Source #

The name of the Amazon CloudWatch log group that you want to record events in.