aws-sdk-cloudwatchomni 1.2.0

AWS SDK for CloudWatch Omni
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetContextGraph`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`node_filters(NodeFilters)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::node_filters) / [`set_node_filters(Option<NodeFilters>)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::set_node_filters):<br>required: **false**<br>Criteria restricting which nodes are returned.<br>
    ///   - [`edge_filters(EdgeFilters)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::edge_filters) / [`set_edge_filters(Option<EdgeFilters>)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::set_edge_filters):<br>required: **false**<br>Criteria restricting which edges are returned.<br>
    ///   - [`start_time(DateTime)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::set_start_time):<br>required: **true**<br>Start of the time range (UTC), inclusive.<br>
    ///   - [`end_time(DateTime)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::set_end_time):<br>required: **true**<br>End of the time range (UTC), inclusive.<br>
    ///   - [`depth(i32)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::depth) / [`set_depth(Option<i32>)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::set_depth):<br>required: **false**<br>How many hops to traverse out from the nodes matched by nodeFilters. 0 returns only the matched nodes themselves.<br>
    ///   - [`max_results(i32)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::set_max_results):<br>required: **false**<br>The maximum number of nodes to return in a single page.<br>
    ///   - [`max_edges_per_node(i32)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::max_edges_per_node) / [`set_max_edges_per_node(Option<i32>)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::set_max_edges_per_node):<br>required: **false**<br>The maximum number of edges to return per node, bounding the fan-out of a densely connected node.<br>
    ///   - [`include_metadata(bool)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::include_metadata) / [`set_include_metadata(Option<bool>)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::set_include_metadata):<br>required: **false**<br>Whether to return the metadata block, semantics included, on each node and edge. Off by default because it costs an extra lookup per returned node.<br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::set_next_token):<br>required: **false**<br>Pagination token from a previous response, to retrieve the next page.<br>
    /// - On success, responds with [`GetContextGraphOutput`](crate::operation::get_context_graph::GetContextGraphOutput) with field(s):
    ///   - [`nodes(Vec::<Node>)`](crate::operation::get_context_graph::GetContextGraphOutput::nodes): The page of nodes matching the request. This is the paginated collection.
    ///   - [`next_token(Option<String>)`](crate::operation::get_context_graph::GetContextGraphOutput::next_token): Pagination token for the next page; absent when there are no more results.
    /// - On failure, responds with [`SdkError<GetContextGraphError>`](crate::operation::get_context_graph::GetContextGraphError)
    pub fn get_context_graph(&self) -> crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder {
        crate::operation::get_context_graph::builders::GetContextGraphFluentBuilder::new(self.handle.clone())
    }
}