NAME

Paws::QLDBSession::SendCommand - Arguments for method SendCommand on Paws::QLDBSession

DESCRIPTION

This class represents the parameters used for calling the method SendCommand on the Amazon QLDB Session service. Use the attributes of this class as arguments to method SendCommand.

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

SYNOPSIS

my $session.qldb = Paws->service('QLDBSession');
my $SendCommandResult = $session . qldb->SendCommand(
  AbortTransaction => {

  },    # OPTIONAL
  CommitTransaction => {
    CommitDigest  => 'BlobCommitDigest',
    TransactionId => 'MyTransactionId',    # min: 22, max: 22

  },    # OPTIONAL
  EndSession => {

  },    # OPTIONAL
  ExecuteStatement => {
    Statement     => 'MyStatement',        # min: 1, max: 100000
    TransactionId => 'MyTransactionId',    # min: 22, max: 22
    Parameters    => [
      {
        IonBinary => 'BlobIonBinary',    # min: 1, max: 131072; OPTIONAL
        IonText   => 'MyIonText',        # min: 1, max: 1048576; OPTIONAL
      },
      ...
    ],    # OPTIONAL
  },    # OPTIONAL
  FetchPage => {
    NextPageToken => 'MyPageToken',        # min: 4, max: 1024
    TransactionId => 'MyTransactionId',    # min: 22, max: 22

  },    # OPTIONAL
  SessionToken => 'MySessionToken',    # OPTIONAL
  StartSession => {
    LedgerName => 'MyLedgerName',      # min: 1, max: 32

  },    # OPTIONAL
  StartTransaction => {

  },    # OPTIONAL
);

# Results:
my $AbortTransaction  = $SendCommandResult->AbortTransaction;
my $CommitTransaction = $SendCommandResult->CommitTransaction;
my $EndSession        = $SendCommandResult->EndSession;
my $ExecuteStatement  = $SendCommandResult->ExecuteStatement;
my $FetchPage         = $SendCommandResult->FetchPage;
my $StartSession      = $SendCommandResult->StartSession;
my $StartTransaction  = $SendCommandResult->StartTransaction;

# Returns a L<Paws::QLDBSession::SendCommandResult> 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/session.qldb/SendCommand

ATTRIBUTES

AbortTransaction => Paws::QLDBSession::AbortTransactionRequest

Command to abort the current transaction.

CommitTransaction => Paws::QLDBSession::CommitTransactionRequest

Command to commit the specified transaction.

EndSession => Paws::QLDBSession::EndSessionRequest

Command to end the current session.

ExecuteStatement => Paws::QLDBSession::ExecuteStatementRequest

Command to execute a statement in the specified transaction.

FetchPage => Paws::QLDBSession::FetchPageRequest

Command to fetch a page.

SessionToken => Str

Specifies the session token for the current command. A session token is constant throughout the life of the session.

To obtain a session token, run the StartSession command. This SessionToken is required for every subsequent command that is issued during the current session.

StartSession => Paws::QLDBSession::StartSessionRequest

Command to start a new session. A session token is obtained as part of the response.

StartTransaction => Paws::QLDBSession::StartTransactionRequest

Command to start a new transaction.

SEE ALSO

This class forms part of Paws, documenting arguments for method SendCommand in Paws::QLDBSession

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