libZSservicesZSamazonka-macieZSamazonka-macie
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.Macie.Types.S3Resource

Description

 
Synopsis

Documentation

data S3Resource Source #

Contains information about the S3 resource. This data type is used as a request parameter in the DisassociateS3Resources action and can be used as a response parameter in the AssociateS3Resources and UpdateS3Resources actions.

See: newS3Resource smart constructor.

Constructors

S3Resource' 

Fields

Instances

Instances details
Eq S3Resource Source # 
Instance details

Defined in Amazonka.Macie.Types.S3Resource

Read S3Resource Source # 
Instance details

Defined in Amazonka.Macie.Types.S3Resource

Show S3Resource Source # 
Instance details

Defined in Amazonka.Macie.Types.S3Resource

Generic S3Resource Source # 
Instance details

Defined in Amazonka.Macie.Types.S3Resource

Associated Types

type Rep S3Resource :: Type -> Type #

NFData S3Resource Source # 
Instance details

Defined in Amazonka.Macie.Types.S3Resource

Methods

rnf :: S3Resource -> () #

Hashable S3Resource Source # 
Instance details

Defined in Amazonka.Macie.Types.S3Resource

ToJSON S3Resource Source # 
Instance details

Defined in Amazonka.Macie.Types.S3Resource

FromJSON S3Resource Source # 
Instance details

Defined in Amazonka.Macie.Types.S3Resource

type Rep S3Resource Source # 
Instance details

Defined in Amazonka.Macie.Types.S3Resource

type Rep S3Resource = D1 ('MetaData "S3Resource" "Amazonka.Macie.Types.S3Resource" "libZSservicesZSamazonka-macieZSamazonka-macie" 'False) (C1 ('MetaCons "S3Resource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newS3Resource Source #

Create a value of S3Resource 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:S3Resource', s3Resource_prefix - The prefix of the S3 bucket.

$sel:bucketName:S3Resource', s3Resource_bucketName - The name of the S3 bucket.

s3Resource_prefix :: Lens' S3Resource (Maybe Text) Source #

The prefix of the S3 bucket.

s3Resource_bucketName :: Lens' S3Resource Text Source #

The name of the S3 bucket.