Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates settings for a global table.
Synopsis
- updateGlobalTableSettings :: Text -> UpdateGlobalTableSettings
- data UpdateGlobalTableSettings
- ugtsGlobalTableProvisionedWriteCapacityUnits :: Lens' UpdateGlobalTableSettings (Maybe Natural)
- ugtsReplicaSettingsUpdate :: Lens' UpdateGlobalTableSettings (Maybe (NonEmpty ReplicaSettingsUpdate))
- ugtsGlobalTableGlobalSecondaryIndexSettingsUpdate :: Lens' UpdateGlobalTableSettings (Maybe (NonEmpty GlobalTableGlobalSecondaryIndexSettingsUpdate))
- ugtsGlobalTableName :: Lens' UpdateGlobalTableSettings Text
- updateGlobalTableSettingsResponse :: Int -> UpdateGlobalTableSettingsResponse
- data UpdateGlobalTableSettingsResponse
- ugtsrsReplicaSettings :: Lens' UpdateGlobalTableSettingsResponse [ReplicaSettingsDescription]
- ugtsrsGlobalTableName :: Lens' UpdateGlobalTableSettingsResponse (Maybe Text)
- ugtsrsResponseStatus :: Lens' UpdateGlobalTableSettingsResponse Int
Creating a Request
updateGlobalTableSettings Source #
Creates a value of UpdateGlobalTableSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ugtsGlobalTableProvisionedWriteCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns aThrottlingException.
ugtsReplicaSettingsUpdate
- Represents the settings for a global table in a region that will be modified.ugtsGlobalTableGlobalSecondaryIndexSettingsUpdate
- Represents the settings of a global secondary index for a global table that will be modified.ugtsGlobalTableName
- The name of the global table
data UpdateGlobalTableSettings Source #
See: updateGlobalTableSettings
smart constructor.
Instances
Request Lenses
ugtsGlobalTableProvisionedWriteCapacityUnits :: Lens' UpdateGlobalTableSettings (Maybe Natural) Source #
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
ugtsReplicaSettingsUpdate :: Lens' UpdateGlobalTableSettings (Maybe (NonEmpty ReplicaSettingsUpdate)) Source #
Represents the settings for a global table in a region that will be modified.
ugtsGlobalTableGlobalSecondaryIndexSettingsUpdate :: Lens' UpdateGlobalTableSettings (Maybe (NonEmpty GlobalTableGlobalSecondaryIndexSettingsUpdate)) Source #
Represents the settings of a global secondary index for a global table that will be modified.
ugtsGlobalTableName :: Lens' UpdateGlobalTableSettings Text Source #
The name of the global table
Destructuring the Response
updateGlobalTableSettingsResponse Source #
Creates a value of UpdateGlobalTableSettingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ugtsrsReplicaSettings
- The region specific settings for the global table.ugtsrsGlobalTableName
- The name of the global table.ugtsrsResponseStatus
- -- | The response status code.
data UpdateGlobalTableSettingsResponse Source #
See: updateGlobalTableSettingsResponse
smart constructor.
Instances
Response Lenses
ugtsrsReplicaSettings :: Lens' UpdateGlobalTableSettingsResponse [ReplicaSettingsDescription] Source #
The region specific settings for the global table.
ugtsrsGlobalTableName :: Lens' UpdateGlobalTableSettingsResponse (Maybe Text) Source #
The name of the global table.
ugtsrsResponseStatus :: Lens' UpdateGlobalTableSettingsResponse Int Source #
- - | The response status code.