Struct aws_sdk_synthetics::client::fluent_builders::DescribeCanaries
source · [−]pub struct DescribeCanaries<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeCanaries.
This operation returns a list of the canaries in your account, along with full details about each canary.
This operation does not have resource-level authorization, so if a user is able to use DescribeCanaries, the user can see all of the canaries in the account. A deny policy can only be used to restrict access to all canaries. It cannot be used on specific resources.
Implementations
impl<C, M, R> DescribeCanaries<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeCanaries<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeCanariesOutput, SdkError<DescribeCanariesError>> where
R::Policy: SmithyRetryPolicy<DescribeCanariesInputOperationOutputAlias, DescribeCanariesOutput, DescribeCanariesError, DescribeCanariesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeCanariesOutput, SdkError<DescribeCanariesError>> where
R::Policy: SmithyRetryPolicy<DescribeCanariesInputOperationOutputAlias, DescribeCanariesOutput, DescribeCanariesError, DescribeCanariesInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
A token that indicates that there is more data available. You can use this token in a subsequent operation to retrieve the next set of results.
A token that indicates that there is more data available. You can use this token in a subsequent operation to retrieve the next set of results.
Specify this parameter to limit how many canaries are returned each time you use the DescribeCanaries operation. If you omit this parameter, the default of 100 is used.
Specify this parameter to limit how many canaries are returned each time you use the DescribeCanaries operation. If you omit this parameter, the default of 100 is used.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeCanaries<C, M, R>
impl<C, M, R> Send for DescribeCanaries<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeCanaries<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeCanaries<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeCanaries<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more