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 |
Stops a database activity stream that was started using the Amazon Web
Services console, the start-activity-stream
CLI command, or the
StartActivityStream
action.
For more information, see Database Activity Streams in the Amazon Aurora User Guide.
Synopsis
- data StopActivityStream = StopActivityStream' {}
- newStopActivityStream :: Text -> StopActivityStream
- stopActivityStream_applyImmediately :: Lens' StopActivityStream (Maybe Bool)
- stopActivityStream_resourceArn :: Lens' StopActivityStream Text
- data StopActivityStreamResponse = StopActivityStreamResponse' {}
- newStopActivityStreamResponse :: Int -> StopActivityStreamResponse
- stopActivityStreamResponse_status :: Lens' StopActivityStreamResponse (Maybe ActivityStreamStatus)
- stopActivityStreamResponse_kinesisStreamName :: Lens' StopActivityStreamResponse (Maybe Text)
- stopActivityStreamResponse_kmsKeyId :: Lens' StopActivityStreamResponse (Maybe Text)
- stopActivityStreamResponse_httpStatus :: Lens' StopActivityStreamResponse Int
Creating a Request
data StopActivityStream Source #
See: newStopActivityStream
smart constructor.
StopActivityStream' | |
|
Instances
newStopActivityStream Source #
Create a value of StopActivityStream
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:applyImmediately:StopActivityStream'
, stopActivityStream_applyImmediately
- Specifies whether or not the database activity stream is to stop as soon
as possible, regardless of the maintenance window for the database.
$sel:resourceArn:StopActivityStream'
, stopActivityStream_resourceArn
- The Amazon Resource Name (ARN) of the DB cluster for the database
activity stream. For example,
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster
.
Request Lenses
stopActivityStream_applyImmediately :: Lens' StopActivityStream (Maybe Bool) Source #
Specifies whether or not the database activity stream is to stop as soon as possible, regardless of the maintenance window for the database.
stopActivityStream_resourceArn :: Lens' StopActivityStream Text Source #
The Amazon Resource Name (ARN) of the DB cluster for the database
activity stream. For example,
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster
.
Destructuring the Response
data StopActivityStreamResponse Source #
See: newStopActivityStreamResponse
smart constructor.
StopActivityStreamResponse' | |
|
Instances
newStopActivityStreamResponse Source #
Create a value of StopActivityStreamResponse
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:status:StopActivityStreamResponse'
, stopActivityStreamResponse_status
- The status of the database activity stream.
$sel:kinesisStreamName:StopActivityStreamResponse'
, stopActivityStreamResponse_kinesisStreamName
- The name of the Amazon Kinesis data stream used for the database
activity stream.
$sel:kmsKeyId:StopActivityStreamResponse'
, stopActivityStreamResponse_kmsKeyId
- The Amazon Web Services KMS key identifier used for encrypting messages
in the database activity stream.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the Amazon Web Services KMS customer master key (CMK).
$sel:httpStatus:StopActivityStreamResponse'
, stopActivityStreamResponse_httpStatus
- The response's http status code.
Response Lenses
stopActivityStreamResponse_status :: Lens' StopActivityStreamResponse (Maybe ActivityStreamStatus) Source #
The status of the database activity stream.
stopActivityStreamResponse_kinesisStreamName :: Lens' StopActivityStreamResponse (Maybe Text) Source #
The name of the Amazon Kinesis data stream used for the database activity stream.
stopActivityStreamResponse_kmsKeyId :: Lens' StopActivityStreamResponse (Maybe Text) Source #
The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the Amazon Web Services KMS customer master key (CMK).
stopActivityStreamResponse_httpStatus :: Lens' StopActivityStreamResponse Int Source #
The response's http status code.