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.DynamoDBTarget

Description

 
Synopsis

Documentation

data DynamoDBTarget Source #

Specifies an Amazon DynamoDB table to crawl.

See: newDynamoDBTarget smart constructor.

Constructors

DynamoDBTarget' 

Fields

  • path :: Maybe Text

    The name of the DynamoDB table to crawl.

  • scanRate :: Maybe Double

    The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.

    The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).

  • scanAll :: Maybe Bool

    Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.

    A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.

Instances

Instances details
Eq DynamoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.DynamoDBTarget

Read DynamoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.DynamoDBTarget

Show DynamoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.DynamoDBTarget

Generic DynamoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.DynamoDBTarget

Associated Types

type Rep DynamoDBTarget :: Type -> Type #

NFData DynamoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.DynamoDBTarget

Methods

rnf :: DynamoDBTarget -> () #

Hashable DynamoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.DynamoDBTarget

ToJSON DynamoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.DynamoDBTarget

FromJSON DynamoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.DynamoDBTarget

type Rep DynamoDBTarget Source # 
Instance details

Defined in Amazonka.Glue.Types.DynamoDBTarget

type Rep DynamoDBTarget = D1 ('MetaData "DynamoDBTarget" "Amazonka.Glue.Types.DynamoDBTarget" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "DynamoDBTarget'" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "scanRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "scanAll") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newDynamoDBTarget :: DynamoDBTarget Source #

Create a value of DynamoDBTarget 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:path:DynamoDBTarget', dynamoDBTarget_path - The name of the DynamoDB table to crawl.

$sel:scanRate:DynamoDBTarget', dynamoDBTarget_scanRate - The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.

The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).

$sel:scanAll:DynamoDBTarget', dynamoDBTarget_scanAll - Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.

A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.

dynamoDBTarget_path :: Lens' DynamoDBTarget (Maybe Text) Source #

The name of the DynamoDB table to crawl.

dynamoDBTarget_scanRate :: Lens' DynamoDBTarget (Maybe Double) Source #

The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.

The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).

dynamoDBTarget_scanAll :: Lens' DynamoDBTarget (Maybe Bool) Source #

Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.

A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.