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 |
Cancels a resize operation for a cluster.
Synopsis
- data CancelResize = CancelResize' {}
- newCancelResize :: Text -> CancelResize
- cancelResize_clusterIdentifier :: Lens' CancelResize Text
- data ResizeProgressMessage = ResizeProgressMessage' {
- importTablesNotStarted :: Maybe [Text]
- status :: Maybe Text
- estimatedTimeToCompletionInSeconds :: Maybe Integer
- avgResizeRateInMegaBytesPerSecond :: Maybe Double
- targetNumberOfNodes :: Maybe Int
- targetEncryptionType :: Maybe Text
- targetNodeType :: Maybe Text
- importTablesInProgress :: Maybe [Text]
- resizeType :: Maybe Text
- importTablesCompleted :: Maybe [Text]
- progressInMegaBytes :: Maybe Integer
- dataTransferProgressPercent :: Maybe Double
- totalResizeDataInMegaBytes :: Maybe Integer
- targetClusterType :: Maybe Text
- message :: Maybe Text
- elapsedTimeInSeconds :: Maybe Integer
- newResizeProgressMessage :: ResizeProgressMessage
- resizeProgressMessage_importTablesNotStarted :: Lens' ResizeProgressMessage (Maybe [Text])
- resizeProgressMessage_status :: Lens' ResizeProgressMessage (Maybe Text)
- resizeProgressMessage_estimatedTimeToCompletionInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
- resizeProgressMessage_avgResizeRateInMegaBytesPerSecond :: Lens' ResizeProgressMessage (Maybe Double)
- resizeProgressMessage_targetNumberOfNodes :: Lens' ResizeProgressMessage (Maybe Int)
- resizeProgressMessage_targetEncryptionType :: Lens' ResizeProgressMessage (Maybe Text)
- resizeProgressMessage_targetNodeType :: Lens' ResizeProgressMessage (Maybe Text)
- resizeProgressMessage_importTablesInProgress :: Lens' ResizeProgressMessage (Maybe [Text])
- resizeProgressMessage_resizeType :: Lens' ResizeProgressMessage (Maybe Text)
- resizeProgressMessage_importTablesCompleted :: Lens' ResizeProgressMessage (Maybe [Text])
- resizeProgressMessage_progressInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
- resizeProgressMessage_dataTransferProgressPercent :: Lens' ResizeProgressMessage (Maybe Double)
- resizeProgressMessage_totalResizeDataInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
- resizeProgressMessage_targetClusterType :: Lens' ResizeProgressMessage (Maybe Text)
- resizeProgressMessage_message :: Lens' ResizeProgressMessage (Maybe Text)
- resizeProgressMessage_elapsedTimeInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
Creating a Request
data CancelResize Source #
See: newCancelResize
smart constructor.
CancelResize' | |
|
Instances
Create a value of CancelResize
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:clusterIdentifier:CancelResize'
, cancelResize_clusterIdentifier
- The unique identifier for the cluster that you want to cancel a resize
operation for.
Request Lenses
cancelResize_clusterIdentifier :: Lens' CancelResize Text Source #
The unique identifier for the cluster that you want to cancel a resize operation for.
Destructuring the Response
data ResizeProgressMessage Source #
Describes the result of a cluster resize operation.
See: newResizeProgressMessage
smart constructor.
ResizeProgressMessage' | |
|
Instances
newResizeProgressMessage :: ResizeProgressMessage Source #
Create a value of ResizeProgressMessage
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:importTablesNotStarted:ResizeProgressMessage'
, resizeProgressMessage_importTablesNotStarted
- The names of tables that have not been yet imported.
Valid Values: List of table names
$sel:status:ResizeProgressMessage'
, resizeProgressMessage_status
- The status of the resize operation.
Valid Values: NONE
| IN_PROGRESS
| FAILED
| SUCCEEDED
|
CANCELLING
$sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage'
, resizeProgressMessage_estimatedTimeToCompletionInSeconds
- The estimated time remaining, in seconds, until the resize operation is
complete. This value is calculated based on the average resize rate and
the estimated amount of data remaining to be processed. Once the resize
operation is complete, this value will be 0.
$sel:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage'
, resizeProgressMessage_avgResizeRateInMegaBytesPerSecond
- The average rate of the resize operation over the last few minutes,
measured in megabytes per second. After the resize operation completes,
this value shows the average rate of the entire resize operation.
$sel:targetNumberOfNodes:ResizeProgressMessage'
, resizeProgressMessage_targetNumberOfNodes
- The number of nodes that the cluster will have after the resize
operation is complete.
$sel:targetEncryptionType:ResizeProgressMessage'
, resizeProgressMessage_targetEncryptionType
- The type of encryption for the cluster after the resize is complete.
Possible values are KMS
and None
.
$sel:targetNodeType:ResizeProgressMessage'
, resizeProgressMessage_targetNodeType
- The node type that the cluster will have after the resize operation is
complete.
$sel:importTablesInProgress:ResizeProgressMessage'
, resizeProgressMessage_importTablesInProgress
- The names of tables that are being currently imported.
Valid Values: List of table names.
$sel:resizeType:ResizeProgressMessage'
, resizeProgressMessage_resizeType
- An enum with possible values of ClassicResize
and ElasticResize
.
These values describe the type of resize operation being performed.
$sel:importTablesCompleted:ResizeProgressMessage'
, resizeProgressMessage_importTablesCompleted
- The names of tables that have been completely imported .
Valid Values: List of table names.
$sel:progressInMegaBytes:ResizeProgressMessage'
, resizeProgressMessage_progressInMegaBytes
- While the resize operation is in progress, this value shows the current
amount of data, in megabytes, that has been processed so far. When the
resize operation is complete, this value shows the total amount of data,
in megabytes, on the cluster, which may be more or less than
TotalResizeDataInMegaBytes (the estimated total amount of data before
resize).
$sel:dataTransferProgressPercent:ResizeProgressMessage'
, resizeProgressMessage_dataTransferProgressPercent
- The percent of data transferred from source cluster to target cluster.
$sel:totalResizeDataInMegaBytes:ResizeProgressMessage'
, resizeProgressMessage_totalResizeDataInMegaBytes
- The estimated total amount of data, in megabytes, on the cluster before
the resize operation began.
$sel:targetClusterType:ResizeProgressMessage'
, resizeProgressMessage_targetClusterType
- The cluster type after the resize operation is complete.
Valid Values: multi-node
| single-node
$sel:message:ResizeProgressMessage'
, resizeProgressMessage_message
- An optional string to provide additional details about the resize
action.
$sel:elapsedTimeInSeconds:ResizeProgressMessage'
, resizeProgressMessage_elapsedTimeInSeconds
- The amount of seconds that have elapsed since the resize operation
began. After the resize operation completes, this value shows the total
actual time, in seconds, for the resize operation.
Response Lenses
resizeProgressMessage_importTablesNotStarted :: Lens' ResizeProgressMessage (Maybe [Text]) Source #
The names of tables that have not been yet imported.
Valid Values: List of table names
resizeProgressMessage_status :: Lens' ResizeProgressMessage (Maybe Text) Source #
The status of the resize operation.
Valid Values: NONE
| IN_PROGRESS
| FAILED
| SUCCEEDED
|
CANCELLING
resizeProgressMessage_estimatedTimeToCompletionInSeconds :: Lens' ResizeProgressMessage (Maybe Integer) Source #
The estimated time remaining, in seconds, until the resize operation is complete. This value is calculated based on the average resize rate and the estimated amount of data remaining to be processed. Once the resize operation is complete, this value will be 0.
resizeProgressMessage_avgResizeRateInMegaBytesPerSecond :: Lens' ResizeProgressMessage (Maybe Double) Source #
The average rate of the resize operation over the last few minutes, measured in megabytes per second. After the resize operation completes, this value shows the average rate of the entire resize operation.
resizeProgressMessage_targetNumberOfNodes :: Lens' ResizeProgressMessage (Maybe Int) Source #
The number of nodes that the cluster will have after the resize operation is complete.
resizeProgressMessage_targetEncryptionType :: Lens' ResizeProgressMessage (Maybe Text) Source #
The type of encryption for the cluster after the resize is complete.
Possible values are KMS
and None
.
resizeProgressMessage_targetNodeType :: Lens' ResizeProgressMessage (Maybe Text) Source #
The node type that the cluster will have after the resize operation is complete.
resizeProgressMessage_importTablesInProgress :: Lens' ResizeProgressMessage (Maybe [Text]) Source #
The names of tables that are being currently imported.
Valid Values: List of table names.
resizeProgressMessage_resizeType :: Lens' ResizeProgressMessage (Maybe Text) Source #
An enum with possible values of ClassicResize
and ElasticResize
.
These values describe the type of resize operation being performed.
resizeProgressMessage_importTablesCompleted :: Lens' ResizeProgressMessage (Maybe [Text]) Source #
The names of tables that have been completely imported .
Valid Values: List of table names.
resizeProgressMessage_progressInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer) Source #
While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far. When the resize operation is complete, this value shows the total amount of data, in megabytes, on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the estimated total amount of data before resize).
resizeProgressMessage_dataTransferProgressPercent :: Lens' ResizeProgressMessage (Maybe Double) Source #
The percent of data transferred from source cluster to target cluster.
resizeProgressMessage_totalResizeDataInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer) Source #
The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
resizeProgressMessage_targetClusterType :: Lens' ResizeProgressMessage (Maybe Text) Source #
The cluster type after the resize operation is complete.
Valid Values: multi-node
| single-node
resizeProgressMessage_message :: Lens' ResizeProgressMessage (Maybe Text) Source #
An optional string to provide additional details about the resize action.
resizeProgressMessage_elapsedTimeInSeconds :: Lens' ResizeProgressMessage (Maybe Integer) Source #
The amount of seconds that have elapsed since the resize operation began. After the resize operation completes, this value shows the total actual time, in seconds, for the resize operation.