Struct aws_sdk_codestarnotifications::client::fluent_builders::ListTargets [−][src]
pub struct ListTargets<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListTargets
.
Returns a list of the notification rule targets for an AWS account.
Implementations
impl<C, M, R> ListTargets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListTargets<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<ListTargetsOutput, SdkError<ListTargetsError>> where
R::Policy: SmithyRetryPolicy<ListTargetsInputOperationOutputAlias, ListTargetsOutput, ListTargetsError, ListTargetsInputOperationRetryAlias>,
pub async fn send(self) -> Result<ListTargetsOutput, SdkError<ListTargetsError>> where
R::Policy: SmithyRetryPolicy<ListTargetsInputOperationOutputAlias, ListTargetsOutput, ListTargetsError, ListTargetsInputOperationRetryAlias>,
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.
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
An enumeration token that, when provided in a request, returns the next batch of the results.
An enumeration token that, when provided in a request, returns the next batch of the results.
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListTargets<C, M, R>
impl<C, M, R> Unpin for ListTargets<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListTargets<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