| 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 |
Amazonka.Kinesis.UpdateStreamMode
Description
Updates the capacity mode of the data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data stream.
Synopsis
- data UpdateStreamMode = UpdateStreamMode' {}
- newUpdateStreamMode :: Text -> StreamModeDetails -> UpdateStreamMode
- updateStreamMode_streamARN :: Lens' UpdateStreamMode Text
- updateStreamMode_streamModeDetails :: Lens' UpdateStreamMode StreamModeDetails
- data UpdateStreamModeResponse = UpdateStreamModeResponse' {
- newUpdateStreamModeResponse :: UpdateStreamModeResponse
Creating a Request
data UpdateStreamMode Source #
See: newUpdateStreamMode smart constructor.
Constructors
| UpdateStreamMode' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StreamModeDetails | |
| -> UpdateStreamMode |
Create a value of UpdateStreamMode 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:
UpdateStreamMode, updateStreamMode_streamARN - Specifies the ARN of the data stream whose capacity mode you want to
update.
UpdateStreamMode, updateStreamMode_streamModeDetails - Specifies the capacity mode to which you want to set your data stream.
Currently, in Kinesis Data Streams, you can choose between an
on-demand capacity mode and a provisioned capacity mode for your
data streams.
Request Lenses
updateStreamMode_streamARN :: Lens' UpdateStreamMode Text Source #
Specifies the ARN of the data stream whose capacity mode you want to update.
updateStreamMode_streamModeDetails :: Lens' UpdateStreamMode StreamModeDetails Source #
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
Destructuring the Response
data UpdateStreamModeResponse Source #
See: newUpdateStreamModeResponse smart constructor.
Constructors
| UpdateStreamModeResponse' | |
Instances
newUpdateStreamModeResponse :: UpdateStreamModeResponse Source #
Create a value of UpdateStreamModeResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.