| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudTrail.Types.Channel
Description
Synopsis
- data Channel = Channel' {}
- newChannel :: Channel
- channel_channelArn :: Lens' Channel (Maybe Text)
- channel_name :: Lens' Channel (Maybe Text)
Documentation
Contains information about a returned CloudTrail channel.
See: newChannel smart constructor.
Constructors
| Channel' | |
Fields
| |
Instances
| FromJSON Channel Source # | |
| Generic Channel Source # | |
| Read Channel Source # | |
| Show Channel Source # | |
| NFData Channel Source # | |
Defined in Amazonka.CloudTrail.Types.Channel | |
| Eq Channel Source # | |
| Hashable Channel Source # | |
Defined in Amazonka.CloudTrail.Types.Channel | |
| type Rep Channel Source # | |
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.