amazonka-maciev2-2.0: Amazon Macie 2 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.MacieV2.Types.S3Object

Description

 
Synopsis

Documentation

data S3Object Source #

Provides information about the S3 object that a finding applies to.

See: newS3Object smart constructor.

Constructors

S3Object' 

Fields

  • bucketArn :: Maybe Text

    The Amazon Resource Name (ARN) of the bucket that contains the object.

  • eTag :: Maybe Text

    The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.

  • extension :: Maybe Text

    The file name extension of the object. If the object doesn't have a file name extension, this value is "".

  • key :: Maybe Text

    The full key (name) that's assigned to the object.

  • lastModified :: Maybe ISO8601

    The date and time, in UTC and extended ISO 8601 format, when the object was last modified.

  • path :: Maybe Text

    The path to the object, including the full key (name).

  • publicAccess :: Maybe Bool

    Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.

  • serverSideEncryption :: Maybe ServerSideEncryption

    The type of server-side encryption that's used to encrypt the object.

  • size :: Maybe Integer

    The total storage size, in bytes, of the object.

  • storageClass :: Maybe StorageClass

    The storage class of the object.

  • tags :: Maybe [KeyValuePair]

    The tags that are associated with the object.

  • versionId :: Maybe Text

    The identifier for the affected version of the object.

Instances

Instances details
FromJSON S3Object Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Object

Generic S3Object Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Object

Associated Types

type Rep S3Object :: Type -> Type #

Methods

from :: S3Object -> Rep S3Object x #

to :: Rep S3Object x -> S3Object #

Read S3Object Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Object

Show S3Object Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Object

NFData S3Object Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Object

Methods

rnf :: S3Object -> () #

Eq S3Object Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Object

Hashable S3Object Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Object

Methods

hashWithSalt :: Int -> S3Object -> Int #

hash :: S3Object -> Int #

type Rep S3Object Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Object

type Rep S3Object = D1 ('MetaData "S3Object" "Amazonka.MacieV2.Types.S3Object" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "S3Object'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "bucketArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "extension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "publicAccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "serverSideEncryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerSideEncryption)) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "storageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StorageClass)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [KeyValuePair])) :*: S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newS3Object :: S3Object Source #

Create a value of S3Object 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:bucketArn:S3Object', s3Object_bucketArn - The Amazon Resource Name (ARN) of the bucket that contains the object.

$sel:eTag:S3Object', s3Object_eTag - The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.

$sel:extension:S3Object', s3Object_extension - The file name extension of the object. If the object doesn't have a file name extension, this value is "".

S3Object, s3Object_key - The full key (name) that's assigned to the object.

$sel:lastModified:S3Object', s3Object_lastModified - The date and time, in UTC and extended ISO 8601 format, when the object was last modified.

$sel:path:S3Object', s3Object_path - The path to the object, including the full key (name).

$sel:publicAccess:S3Object', s3Object_publicAccess - Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.

$sel:serverSideEncryption:S3Object', s3Object_serverSideEncryption - The type of server-side encryption that's used to encrypt the object.

$sel:size:S3Object', s3Object_size - The total storage size, in bytes, of the object.

$sel:storageClass:S3Object', s3Object_storageClass - The storage class of the object.

$sel:tags:S3Object', s3Object_tags - The tags that are associated with the object.

$sel:versionId:S3Object', s3Object_versionId - The identifier for the affected version of the object.

s3Object_bucketArn :: Lens' S3Object (Maybe Text) Source #

The Amazon Resource Name (ARN) of the bucket that contains the object.

s3Object_eTag :: Lens' S3Object (Maybe Text) Source #

The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.

s3Object_extension :: Lens' S3Object (Maybe Text) Source #

The file name extension of the object. If the object doesn't have a file name extension, this value is "".

s3Object_key :: Lens' S3Object (Maybe Text) Source #

The full key (name) that's assigned to the object.

s3Object_lastModified :: Lens' S3Object (Maybe UTCTime) Source #

The date and time, in UTC and extended ISO 8601 format, when the object was last modified.

s3Object_path :: Lens' S3Object (Maybe Text) Source #

The path to the object, including the full key (name).

s3Object_publicAccess :: Lens' S3Object (Maybe Bool) Source #

Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.

s3Object_serverSideEncryption :: Lens' S3Object (Maybe ServerSideEncryption) Source #

The type of server-side encryption that's used to encrypt the object.

s3Object_size :: Lens' S3Object (Maybe Integer) Source #

The total storage size, in bytes, of the object.

s3Object_storageClass :: Lens' S3Object (Maybe StorageClass) Source #

The storage class of the object.

s3Object_tags :: Lens' S3Object (Maybe [KeyValuePair]) Source #

The tags that are associated with the object.

s3Object_versionId :: Lens' S3Object (Maybe Text) Source #

The identifier for the affected version of the object.