Copyright | (c) 2013-2021 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 |
Updates auto scaling settings on your global tables at once.
This operation only applies to Version 2019.11.21 of global tables.
Synopsis
- data UpdateTableReplicaAutoScaling = UpdateTableReplicaAutoScaling' {}
- newUpdateTableReplicaAutoScaling :: Text -> UpdateTableReplicaAutoScaling
- updateTableReplicaAutoScaling_replicaUpdates :: Lens' UpdateTableReplicaAutoScaling (Maybe (NonEmpty ReplicaAutoScalingUpdate))
- updateTableReplicaAutoScaling_provisionedWriteCapacityAutoScalingUpdate :: Lens' UpdateTableReplicaAutoScaling (Maybe AutoScalingSettingsUpdate)
- updateTableReplicaAutoScaling_globalSecondaryIndexUpdates :: Lens' UpdateTableReplicaAutoScaling (Maybe (NonEmpty GlobalSecondaryIndexAutoScalingUpdate))
- updateTableReplicaAutoScaling_tableName :: Lens' UpdateTableReplicaAutoScaling Text
- data UpdateTableReplicaAutoScalingResponse = UpdateTableReplicaAutoScalingResponse' {}
- newUpdateTableReplicaAutoScalingResponse :: Int -> UpdateTableReplicaAutoScalingResponse
- updateTableReplicaAutoScalingResponse_tableAutoScalingDescription :: Lens' UpdateTableReplicaAutoScalingResponse (Maybe TableAutoScalingDescription)
- updateTableReplicaAutoScalingResponse_httpStatus :: Lens' UpdateTableReplicaAutoScalingResponse Int
Creating a Request
data UpdateTableReplicaAutoScaling Source #
See: newUpdateTableReplicaAutoScaling
smart constructor.
UpdateTableReplicaAutoScaling' | |
|
Instances
newUpdateTableReplicaAutoScaling Source #
Create a value of UpdateTableReplicaAutoScaling
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:replicaUpdates:UpdateTableReplicaAutoScaling'
, updateTableReplicaAutoScaling_replicaUpdates
- Represents the auto scaling settings of replicas of the table that will
be modified.
$sel:provisionedWriteCapacityAutoScalingUpdate:UpdateTableReplicaAutoScaling'
, updateTableReplicaAutoScaling_provisionedWriteCapacityAutoScalingUpdate
- Undocumented member.
$sel:globalSecondaryIndexUpdates:UpdateTableReplicaAutoScaling'
, updateTableReplicaAutoScaling_globalSecondaryIndexUpdates
- Represents the auto scaling settings of the global secondary indexes of
the replica to be updated.
$sel:tableName:UpdateTableReplicaAutoScaling'
, updateTableReplicaAutoScaling_tableName
- The name of the global table to be updated.
Request Lenses
updateTableReplicaAutoScaling_replicaUpdates :: Lens' UpdateTableReplicaAutoScaling (Maybe (NonEmpty ReplicaAutoScalingUpdate)) Source #
Represents the auto scaling settings of replicas of the table that will be modified.
updateTableReplicaAutoScaling_provisionedWriteCapacityAutoScalingUpdate :: Lens' UpdateTableReplicaAutoScaling (Maybe AutoScalingSettingsUpdate) Source #
Undocumented member.
updateTableReplicaAutoScaling_globalSecondaryIndexUpdates :: Lens' UpdateTableReplicaAutoScaling (Maybe (NonEmpty GlobalSecondaryIndexAutoScalingUpdate)) Source #
Represents the auto scaling settings of the global secondary indexes of the replica to be updated.
updateTableReplicaAutoScaling_tableName :: Lens' UpdateTableReplicaAutoScaling Text Source #
The name of the global table to be updated.
Destructuring the Response
data UpdateTableReplicaAutoScalingResponse Source #
See: newUpdateTableReplicaAutoScalingResponse
smart constructor.
UpdateTableReplicaAutoScalingResponse' | |
|
Instances
newUpdateTableReplicaAutoScalingResponse Source #
Create a value of UpdateTableReplicaAutoScalingResponse
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:tableAutoScalingDescription:UpdateTableReplicaAutoScalingResponse'
, updateTableReplicaAutoScalingResponse_tableAutoScalingDescription
- Returns information about the auto scaling settings of a table with
replicas.
$sel:httpStatus:UpdateTableReplicaAutoScalingResponse'
, updateTableReplicaAutoScalingResponse_httpStatus
- The response's http status code.
Response Lenses
updateTableReplicaAutoScalingResponse_tableAutoScalingDescription :: Lens' UpdateTableReplicaAutoScalingResponse (Maybe TableAutoScalingDescription) Source #
Returns information about the auto scaling settings of a table with replicas.
updateTableReplicaAutoScalingResponse_httpStatus :: Lens' UpdateTableReplicaAutoScalingResponse Int Source #
The response's http status code.