Struct aws_sdk_athena::operation::start_calculation_execution::StartCalculationExecutionInput
source · #[non_exhaustive]pub struct StartCalculationExecutionInput {
pub session_id: Option<String>,
pub description: Option<String>,
pub calculation_configuration: Option<CalculationConfiguration>,
pub code_block: Option<String>,
pub client_request_token: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: Option<String>The session ID.
description: Option<String>A description of the calculation.
calculation_configuration: Option<CalculationConfiguration>Contains configuration information for the calculation.
code_block: Option<String>A string that contains the code of the calculation. Use this parameter instead of CalculationConfiguration$CodeBlock, which is deprecated.
client_request_token: Option<String>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.
Implementations§
source§impl StartCalculationExecutionInput
impl StartCalculationExecutionInput
sourcepub fn session_id(&self) -> Option<&str>
pub fn session_id(&self) -> Option<&str>
The session ID.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the calculation.
sourcepub fn calculation_configuration(&self) -> Option<&CalculationConfiguration>
👎Deprecated: Kepler Post GA Tasks : https://sim.amazon.com/issues/ATHENA-39828
pub fn calculation_configuration(&self) -> Option<&CalculationConfiguration>
Contains configuration information for the calculation.
sourcepub fn code_block(&self) -> Option<&str>
pub fn code_block(&self) -> Option<&str>
A string that contains the code of the calculation. Use this parameter instead of CalculationConfiguration$CodeBlock, which is deprecated.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
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.
source§impl StartCalculationExecutionInput
impl StartCalculationExecutionInput
sourcepub fn builder() -> StartCalculationExecutionInputBuilder
pub fn builder() -> StartCalculationExecutionInputBuilder
Creates a new builder-style object to manufacture StartCalculationExecutionInput.
Trait Implementations§
source§impl Clone for StartCalculationExecutionInput
impl Clone for StartCalculationExecutionInput
source§fn clone(&self) -> StartCalculationExecutionInput
fn clone(&self) -> StartCalculationExecutionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for StartCalculationExecutionInput
impl PartialEq for StartCalculationExecutionInput
source§fn eq(&self, other: &StartCalculationExecutionInput) -> bool
fn eq(&self, other: &StartCalculationExecutionInput) -> bool
self and other values to be equal, and is used
by ==.