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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



4015
4016
4017
4018
4019
4020
4021
4022
4023
# File 'lib/aws-sdk-athena/types.rb', line 4015

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)


4015
4016
4017
4018
4019
4020
4021
4022
4023
# File 'lib/aws-sdk-athena/types.rb', line 4015

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)


4015
4016
4017
4018
4019
4020
4021
4022
4023
# File 'lib/aws-sdk-athena/types.rb', line 4015

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)


4015
4016
4017
4018
4019
4020
4021
4022
4023
# File 'lib/aws-sdk-athena/types.rb', line 4015

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)


4015
4016
4017
4018
4019
4020
4021
4022
4023
# File 'lib/aws-sdk-athena/types.rb', line 4015

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