libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Read StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Show StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Generic StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Associated Types

type Rep StopActivityStream :: Type -> Type #

NFData StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Methods

rnf :: StopActivityStream -> () #

Hashable StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

AWSRequest StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Associated Types

type AWSResponse StopActivityStream #

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

type Rep StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

type Rep StopActivityStream = D1 ('MetaData "StopActivityStream" "Amazonka.RDS.StopActivityStream" "libZSservicesZSamazonka-rdsZSamazonka-rds" '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)))
type AWSResponse StopActivityStream Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

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

  • status :: Maybe ActivityStreamStatus

    The status of the database activity stream.

  • 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 Amazon Web Services KMS customer master key (CMK).

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq StopActivityStreamResponse Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Read StopActivityStreamResponse Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Show StopActivityStreamResponse Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Generic StopActivityStreamResponse Source # 
Instance details

Defined in Amazonka.RDS.StopActivityStream

Associated Types

type Rep StopActivityStreamResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "StopActivityStreamResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ActivityStreamStatus)) :*: S1 ('MetaSel ('Just "kinesisStreamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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: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_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).