#[non_exhaustive]pub struct CreateObservabilityConfigurationInput { /* private fields */ }
Implementations§
source§impl CreateObservabilityConfigurationInput
impl CreateObservabilityConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateObservabilityConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateObservabilityConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateObservabilityConfiguration
>
Examples found in repository?
854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateObservabilityConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateObservabilityConfigurationError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::CreateObservabilityConfigurationOutput,
aws_smithy_http::result::SdkError<crate::error::CreateObservabilityConfigurationError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateObservabilityConfigurationInput
.
source§impl CreateObservabilityConfigurationInput
impl CreateObservabilityConfigurationInput
sourcepub fn observability_configuration_name(&self) -> Option<&str>
pub fn observability_configuration_name(&self) -> Option<&str>
A name for the observability configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1
of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.
The name DefaultConfiguration
is reserved. You can't use it to create a new observability configuration, and you can't create a revision of it.
When you want to use your own observability configuration for your App Runner service, create a configuration with a different name, and then provide it when you create or update your service.
sourcepub fn trace_configuration(&self) -> Option<&TraceConfiguration>
pub fn trace_configuration(&self) -> Option<&TraceConfiguration>
The configuration of the tracing feature within this observability configuration. If you don't specify it, App Runner doesn't enable tracing.
A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.
Trait Implementations§
source§impl Clone for CreateObservabilityConfigurationInput
impl Clone for CreateObservabilityConfigurationInput
source§fn clone(&self) -> CreateObservabilityConfigurationInput
fn clone(&self) -> CreateObservabilityConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more