amazonka-pinpoint-sms-voice-2.0: Amazon Pinpoint SMS and Voice Service 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.PinpointSMSVoice.Types.CloudWatchLogsDestination

Description

 
Synopsis

Documentation

data CloudWatchLogsDestination Source #

An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.

See: newCloudWatchLogsDestination smart constructor.

Constructors

CloudWatchLogsDestination' 

Fields

  • iamRoleArn :: Maybe 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 :: Maybe 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.PinpointSMSVoice.Types.CloudWatchLogsDestination

ToJSON CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Generic CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Associated Types

type Rep CloudWatchLogsDestination :: Type -> Type #

Read CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Show CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

NFData CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Eq CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Hashable CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

type Rep CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

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

newCloudWatchLogsDestination :: CloudWatchLogsDestination 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 (Maybe 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 (Maybe Text) Source #

The name of the Amazon CloudWatch Log Group that you want to record events in.