libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice
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.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
Eq CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Read CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Show 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 #

NFData CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

Hashable CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

ToJSON CloudWatchLogsDestination Source # 
Instance details

Defined in Amazonka.PinpointSMSVoice.Types.CloudWatchLogsDestination

FromJSON 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" "libZSservicesZSamazonka-pinpoint-sms-voiceZSamazonka-pinpoint-sms-voice" '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.