Struct aws_sdk_iotwireless::client::fluent_builders::PutResourceLogLevel [−][src]
pub struct PutResourceLogLevel<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to PutResourceLogLevel
.
Sets the log-level override for a resource-ID and resource-type. This option can be specified for a wireless gateway or a wireless device. A limit of 200 log level override can be set per account.
Implementations
impl<C, M, R> PutResourceLogLevel<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutResourceLogLevel<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutResourceLogLevelOutput, SdkError<PutResourceLogLevelError>> where
R::Policy: SmithyRetryPolicy<PutResourceLogLevelInputOperationOutputAlias, PutResourceLogLevelOutput, PutResourceLogLevelError, PutResourceLogLevelInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutResourceLogLevelOutput, SdkError<PutResourceLogLevelError>> where
R::Policy: SmithyRetryPolicy<PutResourceLogLevelInputOperationOutputAlias, PutResourceLogLevelOutput, PutResourceLogLevelError, PutResourceLogLevelInputOperationRetryAlias>,
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 identifier of the resource. For a Wireless Device, it is the wireless device ID. For a wireless gateway, it is the wireless gateway ID.
The identifier of the resource. For a Wireless Device, it is the wireless device ID. For a wireless gateway, it is the wireless gateway ID.
The type of the resource, which can be WirelessDevice
or WirelessGateway
.
The type of the resource, which can be WirelessDevice
or WirelessGateway
.
The log level for a log message.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for PutResourceLogLevel<C, M, R>
impl<C, M, R> Send for PutResourceLogLevel<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutResourceLogLevel<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutResourceLogLevel<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for PutResourceLogLevel<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