amazonka-cloudtrail-2.0: Amazon CloudTrail 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.CloudTrail.Types.Channel

Description

 
Synopsis

Documentation

data Channel Source #

Contains information about a returned CloudTrail channel.

See: newChannel smart constructor.

Constructors

Channel' 

Fields

  • channelArn :: Maybe Text

    The Amazon Resource Name (ARN) of a channel.

  • name :: Maybe Text

    The name of the CloudTrail channel. For service-linked channels, the name is aws-service-channel/service-name/custom-suffix where service-name represents the name of the Amazon Web Services service that created the channel and custom-suffix represents the suffix created by the Amazon Web Services service.

Instances

Instances details
FromJSON Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Generic Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Associated Types

type Rep Channel :: Type -> Type #

Methods

from :: Channel -> Rep Channel x #

to :: Rep Channel x -> Channel #

Read Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Show Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

NFData Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Methods

rnf :: Channel -> () #

Eq Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Methods

(==) :: Channel -> Channel -> Bool #

(/=) :: Channel -> Channel -> Bool #

Hashable Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

Methods

hashWithSalt :: Int -> Channel -> Int #

hash :: Channel -> Int #

type Rep Channel Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.Channel

type Rep Channel = D1 ('MetaData "Channel" "Amazonka.CloudTrail.Types.Channel" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "Channel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newChannel :: Channel Source #

Create a value of Channel 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:channelArn:Channel', channel_channelArn - The Amazon Resource Name (ARN) of a channel.

$sel:name:Channel', channel_name - The name of the CloudTrail channel. For service-linked channels, the name is aws-service-channel/service-name/custom-suffix where service-name represents the name of the Amazon Web Services service that created the channel and custom-suffix represents the suffix created by the Amazon Web Services service.

channel_channelArn :: Lens' Channel (Maybe Text) Source #

The Amazon Resource Name (ARN) of a channel.

channel_name :: Lens' Channel (Maybe Text) Source #

The name of the CloudTrail channel. For service-linked channels, the name is aws-service-channel/service-name/custom-suffix where service-name represents the name of the Amazon Web Services service that created the channel and custom-suffix represents the suffix created by the Amazon Web Services service.