aws-sdk-applicationsignals 1.89.0

AWS SDK for Amazon CloudWatch Application Signals
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetInstrumentationConfigurationStatus`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`instrumentation_type(InstrumentationType)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::instrumentation_type) / [`set_instrumentation_type(Option<InstrumentationType>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::set_instrumentation_type):<br>required: **true**<br>Type of instrumentation configuration (BREAKPOINT or PROBE). Required to identify the configuration to retrieve.<br>
    ///   - [`service(impl Into<String>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::service) / [`set_service(Option<String>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::set_service):<br>required: **true**<br>Service name for the instrumentation configuration.<br>
    ///   - [`environment(impl Into<String>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::environment) / [`set_environment(Option<String>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::set_environment):<br>required: **true**<br>Environment name for the instrumentation configuration.<br>
    ///   - [`signal_type(DynamicInstrumentationSignalType)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::signal_type) / [`set_signal_type(Option<DynamicInstrumentationSignalType>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::set_signal_type):<br>required: **true**<br>Signal type for the instrumentation configuration.<br>
    ///   - [`location_identifier(LocationIdentifier)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::location_identifier) / [`set_location_identifier(Option<LocationIdentifier>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::set_location_identifier):<br>required: **true**<br>Location identifier - either full code location or a pre-computed hash.<br>
    ///   - [`status(InstrumentationConfigurationStatus)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::status) / [`set_status(Option<InstrumentationConfigurationStatus>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::set_status):<br>required: **false**<br><p>The single status to query for. If omitted, only <code>ACTIVE</code> status events are returned.</p><br>
    ///   - [`start_time(DateTime)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::set_start_time):<br>required: **false**<br><p>The start of the time range to retrieve status events for. <code>StartTime</code> and <code>EndTime</code> must both be provided together or both be omitted. When both are omitted, the time range defaults to the last hour.</p><br>
    ///   - [`end_time(DateTime)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::set_end_time):<br>required: **false**<br><p>The end of the time range to retrieve status events for. <code>StartTime</code> and <code>EndTime</code> must both be provided together or both be omitted. When both are omitted, the time range defaults to the last hour.</p><br>
    ///   - [`max_results(i32)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of status events to return in one call. The default is 60.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::set_next_token):<br>required: **false**<br><p>Use the token returned by a previous call to retrieve the next page of status events.</p><br>
    /// - On success, responds with [`GetInstrumentationConfigurationStatusOutput`](crate::operation::get_instrumentation_configuration_status::GetInstrumentationConfigurationStatusOutput) with field(s):
    ///   - [`service(String)`](crate::operation::get_instrumentation_configuration_status::GetInstrumentationConfigurationStatusOutput::service): <p>The service name echoed from the request.</p>
    ///   - [`environment(String)`](crate::operation::get_instrumentation_configuration_status::GetInstrumentationConfigurationStatusOutput::environment): <p>The environment echoed from the request.</p>
    ///   - [`signal_type(DynamicInstrumentationSignalType)`](crate::operation::get_instrumentation_configuration_status::GetInstrumentationConfigurationStatusOutput::signal_type): <p>The telemetry signal type echoed from the request.</p>
    ///   - [`location(Option<Location>)`](crate::operation::get_instrumentation_configuration_status::GetInstrumentationConfigurationStatusOutput::location): <p>The code location echoed from the request.</p>
    ///   - [`status(InstrumentationConfigurationStatus)`](crate::operation::get_instrumentation_configuration_status::GetInstrumentationConfigurationStatusOutput::status): <p>The status that was queried. If not specified in the request, this is <code>ACTIVE</code>.</p>
    ///   - [`events(Vec::<InstrumentationStatusEvent>)`](crate::operation::get_instrumentation_configuration_status::GetInstrumentationConfigurationStatusOutput::events): <p>The list of status events within the requested time window, sorted with the most recent first. Error events include an error cause.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::get_instrumentation_configuration_status::GetInstrumentationConfigurationStatusOutput::next_token): <p>Pagination token to continue retrieving status events.</p>
    /// - On failure, responds with [`SdkError<GetInstrumentationConfigurationStatusError>`](crate::operation::get_instrumentation_configuration_status::GetInstrumentationConfigurationStatusError)
    pub fn get_instrumentation_configuration_status(
        &self,
    ) -> crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder {
        crate::operation::get_instrumentation_configuration_status::builders::GetInstrumentationConfigurationStatusFluentBuilder::new(
            self.handle.clone(),
        )
    }
}