libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb
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.DynamoDB.Types.CreateGlobalSecondaryIndexAction

Description

 
Synopsis

Documentation

data CreateGlobalSecondaryIndexAction Source #

Represents a new global secondary index to be added to an existing table.

See: newCreateGlobalSecondaryIndexAction smart constructor.

Constructors

CreateGlobalSecondaryIndexAction' 

Fields

Instances

Instances details
Eq CreateGlobalSecondaryIndexAction Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CreateGlobalSecondaryIndexAction

Read CreateGlobalSecondaryIndexAction Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CreateGlobalSecondaryIndexAction

Show CreateGlobalSecondaryIndexAction Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CreateGlobalSecondaryIndexAction

Generic CreateGlobalSecondaryIndexAction Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CreateGlobalSecondaryIndexAction

Associated Types

type Rep CreateGlobalSecondaryIndexAction :: Type -> Type #

NFData CreateGlobalSecondaryIndexAction Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CreateGlobalSecondaryIndexAction

Hashable CreateGlobalSecondaryIndexAction Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CreateGlobalSecondaryIndexAction

ToJSON CreateGlobalSecondaryIndexAction Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CreateGlobalSecondaryIndexAction

type Rep CreateGlobalSecondaryIndexAction Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CreateGlobalSecondaryIndexAction

type Rep CreateGlobalSecondaryIndexAction = D1 ('MetaData "CreateGlobalSecondaryIndexAction" "Amazonka.DynamoDB.Types.CreateGlobalSecondaryIndexAction" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "CreateGlobalSecondaryIndexAction'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "provisionedThroughput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProvisionedThroughput)) :*: S1 ('MetaSel ('Just "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "keySchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty KeySchemaElement)) :*: S1 ('MetaSel ('Just "projection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Projection))))

newCreateGlobalSecondaryIndexAction Source #

Create a value of CreateGlobalSecondaryIndexAction 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:provisionedThroughput:CreateGlobalSecondaryIndexAction', createGlobalSecondaryIndexAction_provisionedThroughput - Represents the provisioned throughput settings for the specified global secondary index.

For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

$sel:indexName:CreateGlobalSecondaryIndexAction', createGlobalSecondaryIndexAction_indexName - The name of the global secondary index to be created.

$sel:keySchema:CreateGlobalSecondaryIndexAction', createGlobalSecondaryIndexAction_keySchema - The key schema for the global secondary index.

$sel:projection:CreateGlobalSecondaryIndexAction', createGlobalSecondaryIndexAction_projection - Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

createGlobalSecondaryIndexAction_provisionedThroughput :: Lens' CreateGlobalSecondaryIndexAction (Maybe ProvisionedThroughput) Source #

Represents the provisioned throughput settings for the specified global secondary index.

For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

createGlobalSecondaryIndexAction_indexName :: Lens' CreateGlobalSecondaryIndexAction Text Source #

The name of the global secondary index to be created.

createGlobalSecondaryIndexAction_projection :: Lens' CreateGlobalSecondaryIndexAction Projection Source #

Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.