amazonka-lakeformation-2.0: Amazon Lake Formation 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.LakeFormation.Types.AddObjectInput

Description

 
Synopsis

Documentation

data AddObjectInput Source #

A new object to add to the governed table.

See: newAddObjectInput smart constructor.

Constructors

AddObjectInput' 

Fields

  • partitionValues :: Maybe (NonEmpty Text)

    A list of partition values for the object. A value must be specified for each partition key associated with the table.

    The supported data types are integer, long, date(yyyy-MM-dd), timestamp(yyyy-MM-dd HH:mm:ssXXX or yyyy-MM-dd HH:mm:ss"), string and decimal.

  • uri :: Text

    The Amazon S3 location of the object.

  • eTag :: Text

    The Amazon S3 ETag of the object. Returned by GetTableObjects for validation and used to identify changes to the underlying data.

  • size :: Integer

    The size of the Amazon S3 object in bytes.

Instances

Instances details
ToJSON AddObjectInput Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.AddObjectInput

Generic AddObjectInput Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.AddObjectInput

Associated Types

type Rep AddObjectInput :: Type -> Type #

Read AddObjectInput Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.AddObjectInput

Show AddObjectInput Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.AddObjectInput

NFData AddObjectInput Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.AddObjectInput

Methods

rnf :: AddObjectInput -> () #

Eq AddObjectInput Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.AddObjectInput

Hashable AddObjectInput Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.AddObjectInput

type Rep AddObjectInput Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.AddObjectInput

type Rep AddObjectInput = D1 ('MetaData "AddObjectInput" "Amazonka.LakeFormation.Types.AddObjectInput" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "AddObjectInput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "partitionValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer))))

newAddObjectInput Source #

Create a value of AddObjectInput 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:partitionValues:AddObjectInput', addObjectInput_partitionValues - A list of partition values for the object. A value must be specified for each partition key associated with the table.

The supported data types are integer, long, date(yyyy-MM-dd), timestamp(yyyy-MM-dd HH:mm:ssXXX or yyyy-MM-dd HH:mm:ss"), string and decimal.

$sel:uri:AddObjectInput', addObjectInput_uri - The Amazon S3 location of the object.

$sel:eTag:AddObjectInput', addObjectInput_eTag - The Amazon S3 ETag of the object. Returned by GetTableObjects for validation and used to identify changes to the underlying data.

$sel:size:AddObjectInput', addObjectInput_size - The size of the Amazon S3 object in bytes.

addObjectInput_partitionValues :: Lens' AddObjectInput (Maybe (NonEmpty Text)) Source #

A list of partition values for the object. A value must be specified for each partition key associated with the table.

The supported data types are integer, long, date(yyyy-MM-dd), timestamp(yyyy-MM-dd HH:mm:ssXXX or yyyy-MM-dd HH:mm:ss"), string and decimal.

addObjectInput_uri :: Lens' AddObjectInput Text Source #

The Amazon S3 location of the object.

addObjectInput_eTag :: Lens' AddObjectInput Text Source #

The Amazon S3 ETag of the object. Returned by GetTableObjects for validation and used to identify changes to the underlying data.

addObjectInput_size :: Lens' AddObjectInput Integer Source #

The size of the Amazon S3 object in bytes.