NAME

Paws::CloudWatchEvents::RedshiftDataParameters

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CloudWatchEvents::RedshiftDataParameters object:

$service_obj->Method(Att1 => { Database => $value, ..., WithEvent => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchEvents::RedshiftDataParameters object:

$result = $service_obj->Method(...);
$result->Att1->Database

DESCRIPTION

These are custom parameters to be used when the target is a Redshift cluster to invoke the Redshift Data API ExecuteStatement based on EventBridge events.

ATTRIBUTES

REQUIRED Database => Str

The name of the database. Required when authenticating using temporary credentials.

DbUser => Str

The database user name. Required when authenticating using temporary credentials.

SecretManagerArn => Str

The name or ARN of the secret that enables access to the database. Required when authenticating using AWS Secrets Manager.

REQUIRED Sql => Str

The SQL statement text to run.

StatementName => Str

The name of the SQL statement. You can name the SQL statement when you create it to identify the query.

WithEvent => Bool

Indicates whether to send an event back to EventBridge after the SQL statement runs.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CloudWatchEvents

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