Class: Aws::Athena::Types::StartCalculationExecutionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#calculation_configurationTypes::CalculationConfiguration

Contains configuration information for the calculation.



4496
4497
4498
4499
4500
4501
4502
4503
4504
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 4496

class StartCalculationExecutionRequest < Struct.new(
  :session_id,
  :description,
  :calculation_configuration,
  :code_block,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#client_request_tokenString

A unique case-sensitive string used to ensure the request to create the calculation is idempotent (executes only once). If another StartCalculationExecutionRequest is received, the same response is returned and another calculation is not created. If a parameter has changed, an error is returned.

This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.

Returns:

  • (String)


4496
4497
4498
4499
4500
4501
4502
4503
4504
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 4496

class StartCalculationExecutionRequest < Struct.new(
  :session_id,
  :description,
  :calculation_configuration,
  :code_block,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#code_blockString

A string that contains the code of the calculation. Use this parameter instead of CalculationConfiguration$CodeBlock, which is deprecated.

Returns:

  • (String)


4496
4497
4498
4499
4500
4501
4502
4503
4504
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 4496

class StartCalculationExecutionRequest < Struct.new(
  :session_id,
  :description,
  :calculation_configuration,
  :code_block,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the calculation.

Returns:

  • (String)


4496
4497
4498
4499
4500
4501
4502
4503
4504
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 4496

class StartCalculationExecutionRequest < Struct.new(
  :session_id,
  :description,
  :calculation_configuration,
  :code_block,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#session_idString

The session ID.

Returns:

  • (String)


4496
4497
4498
4499
4500
4501
4502
4503
4504
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 4496

class StartCalculationExecutionRequest < Struct.new(
  :session_id,
  :description,
  :calculation_configuration,
  :code_block,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end