libZSservicesZSamazonka-s3ZSamazonka-s3
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.S3.Types.InventoryS3BucketDestination

Description

 
Synopsis

Documentation

data InventoryS3BucketDestination Source #

Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.

See: newInventoryS3BucketDestination smart constructor.

Constructors

InventoryS3BucketDestination' 

Fields

  • prefix :: Maybe Text

    The prefix that is prepended to all inventory results.

  • accountId :: Maybe Text

    The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.

    Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.

  • encryption :: Maybe InventoryEncryption

    Contains the type of server-side encryption used to encrypt the inventory results.

  • bucket :: BucketName

    The Amazon Resource Name (ARN) of the bucket where inventory results will be published.

  • format :: InventoryFormat

    Specifies the output format of the inventory results.

Instances

Instances details
Eq InventoryS3BucketDestination Source # 
Instance details

Defined in Amazonka.S3.Types.InventoryS3BucketDestination

Show InventoryS3BucketDestination Source # 
Instance details

Defined in Amazonka.S3.Types.InventoryS3BucketDestination

Generic InventoryS3BucketDestination Source # 
Instance details

Defined in Amazonka.S3.Types.InventoryS3BucketDestination

Associated Types

type Rep InventoryS3BucketDestination :: Type -> Type #

NFData InventoryS3BucketDestination Source # 
Instance details

Defined in Amazonka.S3.Types.InventoryS3BucketDestination

Hashable InventoryS3BucketDestination Source # 
Instance details

Defined in Amazonka.S3.Types.InventoryS3BucketDestination

FromXML InventoryS3BucketDestination Source # 
Instance details

Defined in Amazonka.S3.Types.InventoryS3BucketDestination

ToXML InventoryS3BucketDestination Source # 
Instance details

Defined in Amazonka.S3.Types.InventoryS3BucketDestination

type Rep InventoryS3BucketDestination Source # 
Instance details

Defined in Amazonka.S3.Types.InventoryS3BucketDestination

type Rep InventoryS3BucketDestination = D1 ('MetaData "InventoryS3BucketDestination" "Amazonka.S3.Types.InventoryS3BucketDestination" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "InventoryS3BucketDestination'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InventoryEncryption)) :*: (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BucketName) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InventoryFormat)))))

newInventoryS3BucketDestination Source #

Create a value of InventoryS3BucketDestination 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:prefix:InventoryS3BucketDestination', inventoryS3BucketDestination_prefix - The prefix that is prepended to all inventory results.

$sel:accountId:InventoryS3BucketDestination', inventoryS3BucketDestination_accountId - The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.

Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.

$sel:encryption:InventoryS3BucketDestination', inventoryS3BucketDestination_encryption - Contains the type of server-side encryption used to encrypt the inventory results.

$sel:bucket:InventoryS3BucketDestination', inventoryS3BucketDestination_bucket - The Amazon Resource Name (ARN) of the bucket where inventory results will be published.

$sel:format:InventoryS3BucketDestination', inventoryS3BucketDestination_format - Specifies the output format of the inventory results.

inventoryS3BucketDestination_prefix :: Lens' InventoryS3BucketDestination (Maybe Text) Source #

The prefix that is prepended to all inventory results.

inventoryS3BucketDestination_accountId :: Lens' InventoryS3BucketDestination (Maybe Text) Source #

The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.

Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.

inventoryS3BucketDestination_encryption :: Lens' InventoryS3BucketDestination (Maybe InventoryEncryption) Source #

Contains the type of server-side encryption used to encrypt the inventory results.

inventoryS3BucketDestination_bucket :: Lens' InventoryS3BucketDestination BucketName Source #

The Amazon Resource Name (ARN) of the bucket where inventory results will be published.

inventoryS3BucketDestination_format :: Lens' InventoryS3BucketDestination InventoryFormat Source #

Specifies the output format of the inventory results.