amazonka-rds-2.0: Amazon Relational Database Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RDS.StopActivityStream

Description

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

Creating a Request

data StopActivityStream Source #

See: newStopActivityStream smart constructor.

Constructors

StopActivityStream' 

Fields

  • applyImmediately :: Maybe Bool

    Specifies whether or not the database activity stream is to stop as soon as possible, regardless of the maintenance window for the database.

  • resourceArn :: Text

    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.

Instances

Instances details
ToHeaders StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

ToPath StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

ToQuery StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

AWSRequest StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Associated Types

type AWSResponse StopActivityStream #

Generic StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Associated Types

type Rep StopActivityStream :: Type -> Type #

Read StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Show StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

NFData StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Methods

rnf :: StopActivityStream -> () #

Eq StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Hashable StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

type AWSResponse StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

type Rep StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

type Rep StopActivityStream = D1 ('MetaData "StopActivityStream" "Amazonka.RDS.StopActivityStream" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "StopActivityStream'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applyImmediately") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

Constructors

StopActivityStreamResponse' 

Fields

  • kinesisStreamName :: Maybe Text

    The name of the Amazon Kinesis data stream used for the database activity stream.

  • kmsKeyId :: Maybe Text

    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 KMS key.

  • status :: Maybe ActivityStreamStatus

    The status of the database activity stream.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic StopActivityStreamResponse Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Associated Types

type Rep StopActivityStreamResponse :: Type -> Type #

Read StopActivityStreamResponse Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Show StopActivityStreamResponse Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

NFData StopActivityStreamResponse Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Eq StopActivityStreamResponse Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

type Rep StopActivityStreamResponse Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

type Rep StopActivityStreamResponse = D1 ('MetaData "StopActivityStreamResponse" "Amazonka.RDS.StopActivityStream" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "StopActivityStreamResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "kinesisStreamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ActivityStreamStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:kinesisStreamName:StopActivityStreamResponse', stopActivityStreamResponse_kinesisStreamName - The name of the Amazon Kinesis data stream used for the database activity stream.

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 KMS key.

StopActivityStreamResponse, stopActivityStreamResponse_status - The status of the database activity stream.

$sel:httpStatus:StopActivityStreamResponse', stopActivityStreamResponse_httpStatus - The response's http status code.

Response Lenses

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 KMS key.