libZSservicesZSamazonka-backupZSamazonka-backup
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.Backup.Types.ReportDeliveryChannel

Description

 
Synopsis

Documentation

data ReportDeliveryChannel Source #

Contains information from your report plan about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.

See: newReportDeliveryChannel smart constructor.

Constructors

ReportDeliveryChannel' 

Fields

  • s3KeyPrefix :: Maybe Text

    The prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.

  • formats :: Maybe [Text]

    A list of the format of your reports: CSV, JSON, or both. If not specified, the default format is CSV.

  • s3BucketName :: Text

    The unique name of the S3 bucket that receives your reports.

Instances

Instances details
Eq ReportDeliveryChannel Source # 
Instance details

Defined in Amazonka.Backup.Types.ReportDeliveryChannel

Read ReportDeliveryChannel Source # 
Instance details

Defined in Amazonka.Backup.Types.ReportDeliveryChannel

Show ReportDeliveryChannel Source # 
Instance details

Defined in Amazonka.Backup.Types.ReportDeliveryChannel

Generic ReportDeliveryChannel Source # 
Instance details

Defined in Amazonka.Backup.Types.ReportDeliveryChannel

Associated Types

type Rep ReportDeliveryChannel :: Type -> Type #

NFData ReportDeliveryChannel Source # 
Instance details

Defined in Amazonka.Backup.Types.ReportDeliveryChannel

Methods

rnf :: ReportDeliveryChannel -> () #

Hashable ReportDeliveryChannel Source # 
Instance details

Defined in Amazonka.Backup.Types.ReportDeliveryChannel

ToJSON ReportDeliveryChannel Source # 
Instance details

Defined in Amazonka.Backup.Types.ReportDeliveryChannel

FromJSON ReportDeliveryChannel Source # 
Instance details

Defined in Amazonka.Backup.Types.ReportDeliveryChannel

type Rep ReportDeliveryChannel Source # 
Instance details

Defined in Amazonka.Backup.Types.ReportDeliveryChannel

type Rep ReportDeliveryChannel = D1 ('MetaData "ReportDeliveryChannel" "Amazonka.Backup.Types.ReportDeliveryChannel" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "ReportDeliveryChannel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3KeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "formats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newReportDeliveryChannel Source #

Create a value of ReportDeliveryChannel 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:s3KeyPrefix:ReportDeliveryChannel', reportDeliveryChannel_s3KeyPrefix - The prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.

$sel:formats:ReportDeliveryChannel', reportDeliveryChannel_formats - A list of the format of your reports: CSV, JSON, or both. If not specified, the default format is CSV.

$sel:s3BucketName:ReportDeliveryChannel', reportDeliveryChannel_s3BucketName - The unique name of the S3 bucket that receives your reports.

reportDeliveryChannel_s3KeyPrefix :: Lens' ReportDeliveryChannel (Maybe Text) Source #

The prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.

reportDeliveryChannel_formats :: Lens' ReportDeliveryChannel (Maybe [Text]) Source #

A list of the format of your reports: CSV, JSON, or both. If not specified, the default format is CSV.

reportDeliveryChannel_s3BucketName :: Lens' ReportDeliveryChannel Text Source #

The unique name of the S3 bucket that receives your reports.