aws-sdk-cloudwatchlogs 0.25.1

AWS SDK for Amazon CloudWatch Logs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetLogRecord`](crate::operation::get_log_record::builders::GetLogRecordFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`log_record_pointer(impl Into<String>)`](crate::operation::get_log_record::builders::GetLogRecordFluentBuilder::log_record_pointer) / [`set_log_record_pointer(Option<String>)`](crate::operation::get_log_record::builders::GetLogRecordFluentBuilder::set_log_record_pointer): <p>The pointer corresponding to the log event record you want to retrieve. You get this from the response of a <code>GetQueryResults</code> operation. In that response, the value of the <code>@ptr</code> field for a log event is the value to use as <code>logRecordPointer</code> to retrieve that complete log event record.</p>
    ///   - [`unmask(bool)`](crate::operation::get_log_record::builders::GetLogRecordFluentBuilder::unmask) / [`set_unmask(bool)`](crate::operation::get_log_record::builders::GetLogRecordFluentBuilder::set_unmask): <p>Specify <code>true</code> to display the log event fields with all sensitive data unmasked and visible. The default is <code>false</code>.</p>  <p>To use this operation with this parameter, you must be signed into an account with the <code>logs:Unmask</code> permission.</p>
    /// - On success, responds with [`GetLogRecordOutput`](crate::operation::get_log_record::GetLogRecordOutput) with field(s):
    ///   - [`log_record(Option<HashMap<String, String>>)`](crate::operation::get_log_record::GetLogRecordOutput::log_record): <p>The requested log event, as a JSON string.</p>
    /// - On failure, responds with [`SdkError<GetLogRecordError>`](crate::operation::get_log_record::GetLogRecordError)
    pub fn get_log_record(
        &self,
    ) -> crate::operation::get_log_record::builders::GetLogRecordFluentBuilder {
        crate::operation::get_log_record::builders::GetLogRecordFluentBuilder::new(
            self.handle.clone(),
        )
    }
}