Struct aws_sdk_athena::input::CreateNamedQueryInput
source · #[non_exhaustive]pub struct CreateNamedQueryInput { /* private fields */ }
Implementations§
source§impl CreateNamedQueryInput
impl CreateNamedQueryInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateNamedQuery, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( self, _config: &Config ) -> Result<Operation<CreateNamedQuery, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateNamedQuery
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateNamedQueryInput
.
source§impl CreateNamedQueryInput
impl CreateNamedQueryInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The query description.
sourcepub fn query_string(&self) -> Option<&str>
pub fn query_string(&self) -> Option<&str>
The contents of the query with all query statements.
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 query is idempotent (executes only once). If another CreateNamedQuery
request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the QueryString
, 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.
sourcepub fn work_group(&self) -> Option<&str>
pub fn work_group(&self) -> Option<&str>
The name of the workgroup in which the named query is being created.
Trait Implementations§
source§impl Clone for CreateNamedQueryInput
impl Clone for CreateNamedQueryInput
source§fn clone(&self) -> CreateNamedQueryInput
fn clone(&self) -> CreateNamedQueryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateNamedQueryInput
impl Debug for CreateNamedQueryInput
source§impl PartialEq<CreateNamedQueryInput> for CreateNamedQueryInput
impl PartialEq<CreateNamedQueryInput> for CreateNamedQueryInput
source§fn eq(&self, other: &CreateNamedQueryInput) -> bool
fn eq(&self, other: &CreateNamedQueryInput) -> bool
self
and other
values to be equal, and is used
by ==
.