Class: Aws::DynamoDB::Types::ExecuteStatementInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#consistent_readBoolean

The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used.

Returns:

  • (Boolean)


3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 3138

class ExecuteStatementInput < Struct.new(
  :statement,
  :parameters,
  :consistent_read,
  :next_token,
  :return_consumed_capacity,
  :limit,
  :return_values_on_condition_check_failure)
  SENSITIVE = []
  include Aws::Structure
end

#limitInteger

The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, along with a key in LastEvaluatedKey to apply in a subsequent operation so you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in LastEvaluatedKey to apply in a subsequent operation to continue the operation.

Returns:

  • (Integer)


3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 3138

class ExecuteStatementInput < Struct.new(
  :statement,
  :parameters,
  :consistent_read,
  :next_token,
  :return_consumed_capacity,
  :limit,
  :return_values_on_condition_check_failure)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

Set this value to get remaining results, if NextToken was returned in the statement response.

Returns:

  • (String)


3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 3138

class ExecuteStatementInput < Struct.new(
  :statement,
  :parameters,
  :consistent_read,
  :next_token,
  :return_consumed_capacity,
  :limit,
  :return_values_on_condition_check_failure)
  SENSITIVE = []
  include Aws::Structure
end

#parametersArray<Types::AttributeValue>

The parameters for the PartiQL statement, if any.

Returns:



3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 3138

class ExecuteStatementInput < Struct.new(
  :statement,
  :parameters,
  :consistent_read,
  :next_token,
  :return_consumed_capacity,
  :limit,
  :return_values_on_condition_check_failure)
  SENSITIVE = []
  include Aws::Structure
end

#return_consumed_capacityString

Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response:

  • INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.

    Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

  • TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.

  • NONE - No ConsumedCapacity details are included in the response.

Returns:

  • (String)


3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 3138

class ExecuteStatementInput < Struct.new(
  :statement,
  :parameters,
  :consistent_read,
  :next_token,
  :return_consumed_capacity,
  :limit,
  :return_values_on_condition_check_failure)
  SENSITIVE = []
  include Aws::Structure
end

#return_values_on_condition_check_failureString

An optional parameter that returns the item attributes for an ExecuteStatement operation that failed a condition check.

There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.

Returns:

  • (String)


3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 3138

class ExecuteStatementInput < Struct.new(
  :statement,
  :parameters,
  :consistent_read,
  :next_token,
  :return_consumed_capacity,
  :limit,
  :return_values_on_condition_check_failure)
  SENSITIVE = []
  include Aws::Structure
end

#statementString

The PartiQL statement representing the operation to run.

Returns:

  • (String)


3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 3138

class ExecuteStatementInput < Struct.new(
  :statement,
  :parameters,
  :consistent_read,
  :next_token,
  :return_consumed_capacity,
  :limit,
  :return_values_on_condition_check_failure)
  SENSITIVE = []
  include Aws::Structure
end