Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_globalSecondaryIndexUpdates :: Lens' UpdateTableReplicaAutoScaling (Maybe (NonEmpty GlobalSecondaryIndexAutoScalingUpdate))
- updateTableReplicaAutoScaling_provisionedWriteCapacityAutoScalingUpdate :: Lens' UpdateTableReplicaAutoScaling (Maybe AutoScalingSettingsUpdate)
- updateTableReplicaAutoScaling_replicaUpdates :: Lens' UpdateTableReplicaAutoScaling (Maybe (NonEmpty ReplicaAutoScalingUpdate))
- 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:globalSecondaryIndexUpdates:UpdateTableReplicaAutoScaling'
, updateTableReplicaAutoScaling_globalSecondaryIndexUpdates
- Represents the auto scaling settings of the global secondary indexes of
the replica to be updated.
UpdateTableReplicaAutoScaling
, updateTableReplicaAutoScaling_provisionedWriteCapacityAutoScalingUpdate
- Undocumented member.
$sel:replicaUpdates:UpdateTableReplicaAutoScaling'
, updateTableReplicaAutoScaling_replicaUpdates
- Represents the auto scaling settings of replicas of the table that will
be modified.
UpdateTableReplicaAutoScaling
, updateTableReplicaAutoScaling_tableName
- The name of the global table to be updated.
Request Lenses
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_provisionedWriteCapacityAutoScalingUpdate :: Lens' UpdateTableReplicaAutoScaling (Maybe AutoScalingSettingsUpdate) Source #
Undocumented member.
updateTableReplicaAutoScaling_replicaUpdates :: Lens' UpdateTableReplicaAutoScaling (Maybe (NonEmpty ReplicaAutoScalingUpdate)) Source #
Represents the auto scaling settings of replicas of the table that will be modified.
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.