pub struct ValidateConfigurationSettings<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to ValidateConfigurationSettings
.
Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.
This action returns a list of messages indicating any errors or warnings associated with the selection of option values.
Implementations
impl<C, M, R> ValidateConfigurationSettings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ValidateConfigurationSettings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ValidateConfigurationSettingsOutput, SdkError<ValidateConfigurationSettingsError>> where
R::Policy: SmithyRetryPolicy<ValidateConfigurationSettingsInputOperationOutputAlias, ValidateConfigurationSettingsOutput, ValidateConfigurationSettingsError, ValidateConfigurationSettingsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ValidateConfigurationSettingsOutput, SdkError<ValidateConfigurationSettingsError>> where
R::Policy: SmithyRetryPolicy<ValidateConfigurationSettingsInputOperationOutputAlias, ValidateConfigurationSettingsOutput, ValidateConfigurationSettingsError, ValidateConfigurationSettingsInputOperationRetryAlias>,
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 application that the configuration template or environment belongs to.
The name of the application that the configuration template or environment belongs to.
The name of the configuration template to validate the settings against.
Condition: You cannot specify both this and an environment name.
The name of the configuration template to validate the settings against.
Condition: You cannot specify both this and an environment name.
The name of the environment to validate the settings against.
Condition: You cannot specify both this and a configuration template name.
The name of the environment to validate the settings against.
Condition: You cannot specify both this and a configuration template name.
Appends an item to OptionSettings
.
To override the contents of this collection use set_option_settings
.
A list of the options and desired values to evaluate.
A list of the options and desired values to evaluate.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ValidateConfigurationSettings<C, M, R>
impl<C, M, R> Send for ValidateConfigurationSettings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ValidateConfigurationSettings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ValidateConfigurationSettings<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ValidateConfigurationSettings<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