Struct aws_sdk_internetmonitor::operation::get_query_status::builders::GetQueryStatusFluentBuilder
source · pub struct GetQueryStatusFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetQueryStatus
.
Returns the current status of a query for the Amazon CloudWatch Internet Monitor query interface, for a specified query ID and monitor. When you run a query, check the status to make sure that the query has SUCCEEDED
before you review the results.
-
QUEUED
: The query is scheduled to run. -
RUNNING
: The query is in progress but not complete. -
SUCCEEDED
: The query completed sucessfully. -
FAILED
: The query failed due to an error. -
CANCELED
: The query was canceled.
Implementations§
source§impl GetQueryStatusFluentBuilder
impl GetQueryStatusFluentBuilder
sourcepub fn as_input(&self) -> &GetQueryStatusInputBuilder
pub fn as_input(&self) -> &GetQueryStatusInputBuilder
Access the GetQueryStatus as a reference.
sourcepub async fn send(
self,
) -> Result<GetQueryStatusOutput, SdkError<GetQueryStatusError, HttpResponse>>
pub async fn send( self, ) -> Result<GetQueryStatusOutput, SdkError<GetQueryStatusError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<GetQueryStatusOutput, GetQueryStatusError, Self>
pub fn customize( self, ) -> CustomizableOperation<GetQueryStatusOutput, GetQueryStatusError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn monitor_name(self, input: impl Into<String>) -> Self
pub fn monitor_name(self, input: impl Into<String>) -> Self
The name of the monitor.
sourcepub fn set_monitor_name(self, input: Option<String>) -> Self
pub fn set_monitor_name(self, input: Option<String>) -> Self
The name of the monitor.
sourcepub fn get_monitor_name(&self) -> &Option<String>
pub fn get_monitor_name(&self) -> &Option<String>
The name of the monitor.
sourcepub fn query_id(self, input: impl Into<String>) -> Self
pub fn query_id(self, input: impl Into<String>) -> Self
The ID of the query that you want to return the status for. A QueryId
is an internally-generated dentifier for a specific query.
sourcepub fn set_query_id(self, input: Option<String>) -> Self
pub fn set_query_id(self, input: Option<String>) -> Self
The ID of the query that you want to return the status for. A QueryId
is an internally-generated dentifier for a specific query.
sourcepub fn get_query_id(&self) -> &Option<String>
pub fn get_query_id(&self) -> &Option<String>
The ID of the query that you want to return the status for. A QueryId
is an internally-generated dentifier for a specific query.
Trait Implementations§
source§impl Clone for GetQueryStatusFluentBuilder
impl Clone for GetQueryStatusFluentBuilder
source§fn clone(&self) -> GetQueryStatusFluentBuilder
fn clone(&self) -> GetQueryStatusFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for GetQueryStatusFluentBuilder
impl !RefUnwindSafe for GetQueryStatusFluentBuilder
impl Send for GetQueryStatusFluentBuilder
impl Sync for GetQueryStatusFluentBuilder
impl Unpin for GetQueryStatusFluentBuilder
impl !UnwindSafe for GetQueryStatusFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more