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

Description

 
Synopsis

Documentation

data GlobalSecondaryIndexUpdate Source #

Represents one of the following:

  • A new global secondary index to be added to an existing table.
  • New provisioned throughput parameters for an existing global secondary index.
  • An existing global secondary index to be removed from an existing table.

See: newGlobalSecondaryIndexUpdate smart constructor.

Constructors

GlobalSecondaryIndexUpdate' 

Fields

Instances

Instances details
Eq GlobalSecondaryIndexUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.GlobalSecondaryIndexUpdate

Read GlobalSecondaryIndexUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.GlobalSecondaryIndexUpdate

Show GlobalSecondaryIndexUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.GlobalSecondaryIndexUpdate

Generic GlobalSecondaryIndexUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.GlobalSecondaryIndexUpdate

Associated Types

type Rep GlobalSecondaryIndexUpdate :: Type -> Type #

NFData GlobalSecondaryIndexUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.GlobalSecondaryIndexUpdate

Hashable GlobalSecondaryIndexUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.GlobalSecondaryIndexUpdate

ToJSON GlobalSecondaryIndexUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.GlobalSecondaryIndexUpdate

type Rep GlobalSecondaryIndexUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.GlobalSecondaryIndexUpdate

type Rep GlobalSecondaryIndexUpdate = D1 ('MetaData "GlobalSecondaryIndexUpdate" "Amazonka.DynamoDB.Types.GlobalSecondaryIndexUpdate" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "GlobalSecondaryIndexUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "create") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CreateGlobalSecondaryIndexAction)) :*: (S1 ('MetaSel ('Just "delete'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeleteGlobalSecondaryIndexAction)) :*: S1 ('MetaSel ('Just "update") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateGlobalSecondaryIndexAction)))))

newGlobalSecondaryIndexUpdate :: GlobalSecondaryIndexUpdate Source #

Create a value of GlobalSecondaryIndexUpdate 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:create:GlobalSecondaryIndexUpdate', globalSecondaryIndexUpdate_create - The parameters required for creating a global secondary index on an existing table:

  • IndexName
  • KeySchema
  • AttributeDefinitions
  • Projection
  • ProvisionedThroughput

$sel:delete':GlobalSecondaryIndexUpdate', globalSecondaryIndexUpdate_delete - The name of an existing global secondary index to be removed.

$sel:update:GlobalSecondaryIndexUpdate', globalSecondaryIndexUpdate_update - The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.

globalSecondaryIndexUpdate_create :: Lens' GlobalSecondaryIndexUpdate (Maybe CreateGlobalSecondaryIndexAction) Source #

The parameters required for creating a global secondary index on an existing table:

  • IndexName
  • KeySchema
  • AttributeDefinitions
  • Projection
  • ProvisionedThroughput

globalSecondaryIndexUpdate_delete :: Lens' GlobalSecondaryIndexUpdate (Maybe DeleteGlobalSecondaryIndexAction) Source #

The name of an existing global secondary index to be removed.

globalSecondaryIndexUpdate_update :: Lens' GlobalSecondaryIndexUpdate (Maybe UpdateGlobalSecondaryIndexAction) Source #

The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.