NAME

Paws::RDS::StartActivityStream - Arguments for method StartActivityStream on Paws::RDS

DESCRIPTION

This class represents the parameters used for calling the method StartActivityStream on the Amazon Relational Database Service service. Use the attributes of this class as arguments to method StartActivityStream.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartActivityStream.

SYNOPSIS

my $rds = Paws->service('RDS');
my $StartActivityStreamResponse = $rds->StartActivityStream(
  KmsKeyId         => 'MyString',
  Mode             => 'sync',
  ResourceArn      => 'MyString',
  ApplyImmediately => 1,            # OPTIONAL
);

# Results:
my $ApplyImmediately  = $StartActivityStreamResponse->ApplyImmediately;
my $KinesisStreamName = $StartActivityStreamResponse->KinesisStreamName;
my $KmsKeyId          = $StartActivityStreamResponse->KmsKeyId;
my $Mode              = $StartActivityStreamResponse->Mode;
my $Status            = $StartActivityStreamResponse->Status;

# Returns a L<Paws::RDS::StartActivityStreamResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/rds/StartActivityStream

ATTRIBUTES

ApplyImmediately => Bool

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

REQUIRED KmsKeyId => Str

The AWS KMS key identifier for encrypting messages in the database activity stream. The key identifier can be either a key ID, a key ARN, or a key alias.

REQUIRED Mode => Str

Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.

Valid values are: "sync", "async"

REQUIRED ResourceArn => Str

The Amazon Resource Name (ARN) of the DB cluster, for example arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.

SEE ALSO

This class forms part of Paws, documenting arguments for method StartActivityStream in Paws::RDS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues