libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.Types.PartitionInput

Description

 
Synopsis

Documentation

data PartitionInput Source #

The structure used to create and update a partition.

See: newPartitionInput smart constructor.

Constructors

PartitionInput' 

Fields

  • values :: Maybe [Text]

    The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.

    The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.

  • lastAnalyzedTime :: Maybe POSIX

    The last time at which column statistics were computed for this partition.

  • storageDescriptor :: Maybe StorageDescriptor

    Provides information about the physical location where the partition is stored.

  • parameters :: Maybe (HashMap Text Text)

    These key-value pairs define partition parameters.

  • lastAccessTime :: Maybe POSIX

    The last time at which the partition was accessed.

Instances

Instances details
Eq PartitionInput Source # 
Instance details

Defined in Amazonka.Glue.Types.PartitionInput

Read PartitionInput Source # 
Instance details

Defined in Amazonka.Glue.Types.PartitionInput

Show PartitionInput Source # 
Instance details

Defined in Amazonka.Glue.Types.PartitionInput

Generic PartitionInput Source # 
Instance details

Defined in Amazonka.Glue.Types.PartitionInput

Associated Types

type Rep PartitionInput :: Type -> Type #

NFData PartitionInput Source # 
Instance details

Defined in Amazonka.Glue.Types.PartitionInput

Methods

rnf :: PartitionInput -> () #

Hashable PartitionInput Source # 
Instance details

Defined in Amazonka.Glue.Types.PartitionInput

ToJSON PartitionInput Source # 
Instance details

Defined in Amazonka.Glue.Types.PartitionInput

type Rep PartitionInput Source # 
Instance details

Defined in Amazonka.Glue.Types.PartitionInput

type Rep PartitionInput = D1 ('MetaData "PartitionInput" "Amazonka.Glue.Types.PartitionInput" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "PartitionInput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "lastAnalyzedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "storageDescriptor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StorageDescriptor)) :*: (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "lastAccessTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newPartitionInput :: PartitionInput Source #

Create a value of PartitionInput 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:values:PartitionInput', partitionInput_values - The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.

The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.

$sel:lastAnalyzedTime:PartitionInput', partitionInput_lastAnalyzedTime - The last time at which column statistics were computed for this partition.

$sel:storageDescriptor:PartitionInput', partitionInput_storageDescriptor - Provides information about the physical location where the partition is stored.

$sel:parameters:PartitionInput', partitionInput_parameters - These key-value pairs define partition parameters.

$sel:lastAccessTime:PartitionInput', partitionInput_lastAccessTime - The last time at which the partition was accessed.

partitionInput_values :: Lens' PartitionInput (Maybe [Text]) Source #

The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.

The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.

partitionInput_lastAnalyzedTime :: Lens' PartitionInput (Maybe UTCTime) Source #

The last time at which column statistics were computed for this partition.

partitionInput_storageDescriptor :: Lens' PartitionInput (Maybe StorageDescriptor) Source #

Provides information about the physical location where the partition is stored.

partitionInput_parameters :: Lens' PartitionInput (Maybe (HashMap Text Text)) Source #

These key-value pairs define partition parameters.

partitionInput_lastAccessTime :: Lens' PartitionInput (Maybe UTCTime) Source #

The last time at which the partition was accessed.