Struct aws_sdk_codeguruprofiler::client::fluent_builders::AddNotificationChannels [−][src]
pub struct AddNotificationChannels<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AddNotificationChannels
.
Add up to 2 anomaly notifications channels for a profiling group.
Implementations
impl<C, M, R> AddNotificationChannels<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AddNotificationChannels<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AddNotificationChannelsOutput, SdkError<AddNotificationChannelsError>> where
R::Policy: SmithyRetryPolicy<AddNotificationChannelsInputOperationOutputAlias, AddNotificationChannelsOutput, AddNotificationChannelsError, AddNotificationChannelsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AddNotificationChannelsOutput, SdkError<AddNotificationChannelsError>> where
R::Policy: SmithyRetryPolicy<AddNotificationChannelsInputOperationOutputAlias, AddNotificationChannelsOutput, AddNotificationChannelsError, AddNotificationChannelsInputOperationRetryAlias>,
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.
The name of the profiling group that we are setting up notifications for.
The name of the profiling group that we are setting up notifications for.
Appends an item to channels
.
To override the contents of this collection use set_channels
.
One or 2 channels to report to when anomalies are detected.
One or 2 channels to report to when anomalies are detected.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AddNotificationChannels<C, M, R>
impl<C, M, R> Send for AddNotificationChannels<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AddNotificationChannels<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AddNotificationChannels<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AddNotificationChannels<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