The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::RDSData::ExecuteSql - Arguments for method ExecuteSql on Paws::RDSData

DESCRIPTION

This class represents the parameters used for calling the method ExecuteSql on the AWS RDS DataService service. Use the attributes of this class as arguments to method ExecuteSql.

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

SYNOPSIS

    my $rds-data = Paws->service('RDSData');
    my $ExecuteSqlResponse = $rds -data->ExecuteSql(
      AwsSecretStoreArn      => 'MyArn',
      DbClusterOrInstanceArn => 'MyArn',
      SqlStatements          => 'MySqlStatement',
      Database               => 'MyDbName',         # OPTIONAL
      Schema                 => 'MyDbName',         # OPTIONAL
    );

    # Results:
    my $SqlStatementResults = $ExecuteSqlResponse->SqlStatementResults;

    # Returns a L<Paws::RDSData::ExecuteSqlResponse> 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-data/ExecuteSql

ATTRIBUTES

REQUIRED AwsSecretStoreArn => Str

The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster.

Database => Str

The name of the database.

REQUIRED DbClusterOrInstanceArn => Str

The ARN of the Aurora Serverless DB cluster.

Schema => Str

The name of the database schema.

REQUIRED SqlStatements => Str

One or more SQL statements to run on the DB cluster.

You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.

SEE ALSO

This class forms part of Paws, documenting arguments for method ExecuteSql in Paws::RDSData

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