Struct aws_sdk_sagemaker::client::fluent_builders::QueryLineage
source · [−]pub struct QueryLineage { /* private fields */ }
Expand description
Fluent builder constructing a request to QueryLineage
.
Use this action to inspect your lineage and discover relationships between entities. For more information, see Querying Lineage Entities in the Amazon SageMaker Developer Guide.
Implementations
sourceimpl QueryLineage
impl QueryLineage
sourcepub async fn send(
self
) -> Result<QueryLineageOutput, SdkError<QueryLineageError>>
pub async fn send(
self
) -> Result<QueryLineageOutput, SdkError<QueryLineageError>>
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.
sourcepub fn into_paginator(self) -> QueryLineagePaginator
pub fn into_paginator(self) -> QueryLineagePaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn start_arns(self, input: impl Into<String>) -> Self
pub fn start_arns(self, input: impl Into<String>) -> Self
Appends an item to StartArns
.
To override the contents of this collection use set_start_arns
.
A list of resource Amazon Resource Name (ARN) that represent the starting point for your lineage query.
sourcepub fn set_start_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_start_arns(self, input: Option<Vec<String>>) -> Self
A list of resource Amazon Resource Name (ARN) that represent the starting point for your lineage query.
sourcepub fn direction(self, input: Direction) -> Self
pub fn direction(self, input: Direction) -> Self
Associations between lineage entities are directed. This parameter determines the direction from the StartArn(s) the query will look.
sourcepub fn set_direction(self, input: Option<Direction>) -> Self
pub fn set_direction(self, input: Option<Direction>) -> Self
Associations between lineage entities are directed. This parameter determines the direction from the StartArn(s) the query will look.
sourcepub fn include_edges(self, input: bool) -> Self
pub fn include_edges(self, input: bool) -> Self
Setting this value to True
will retrieve not only the entities of interest but also the Associations and lineage entities on the path. Set to False
to only return lineage entities that match your query.
sourcepub fn set_include_edges(self, input: Option<bool>) -> Self
pub fn set_include_edges(self, input: Option<bool>) -> Self
Setting this value to True
will retrieve not only the entities of interest but also the Associations and lineage entities on the path. Set to False
to only return lineage entities that match your query.
sourcepub fn filters(self, input: QueryFilters) -> Self
pub fn filters(self, input: QueryFilters) -> Self
A set of filtering parameters that allow you to specify which entities should be returned.
-
Properties - Key-value pairs to match on the lineage entities' properties.
-
LineageTypes - A set of lineage entity types to match on. For example:
TrialComponent
,Artifact
, orContext
. -
CreatedBefore - Filter entities created before this date.
-
ModifiedBefore - Filter entities modified before this date.
-
ModifiedAfter - Filter entities modified after this date.
sourcepub fn set_filters(self, input: Option<QueryFilters>) -> Self
pub fn set_filters(self, input: Option<QueryFilters>) -> Self
A set of filtering parameters that allow you to specify which entities should be returned.
-
Properties - Key-value pairs to match on the lineage entities' properties.
-
LineageTypes - A set of lineage entity types to match on. For example:
TrialComponent
,Artifact
, orContext
. -
CreatedBefore - Filter entities created before this date.
-
ModifiedBefore - Filter entities modified before this date.
-
ModifiedAfter - Filter entities modified after this date.
sourcepub fn max_depth(self, input: i32) -> Self
pub fn max_depth(self, input: i32) -> Self
The maximum depth in lineage relationships from the StartArns
that will be traversed. Depth is a measure of the number of Associations
from the StartArn
entity to the matched results.
sourcepub fn set_max_depth(self, input: Option<i32>) -> Self
pub fn set_max_depth(self, input: Option<i32>) -> Self
The maximum depth in lineage relationships from the StartArns
that will be traversed. Depth is a measure of the number of Associations
from the StartArn
entity to the matched results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Limits the number of vertices in the results. Use the NextToken
in a response to to retrieve the next page of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Limits the number of vertices in the results. Use the NextToken
in a response to to retrieve the next page of results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Limits the number of vertices in the request. Use the NextToken
in a response to to retrieve the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Limits the number of vertices in the request. Use the NextToken
in a response to to retrieve the next page of results.
Trait Implementations
sourceimpl Clone for QueryLineage
impl Clone for QueryLineage
sourcefn clone(&self) -> QueryLineage
fn clone(&self) -> QueryLineage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for QueryLineage
impl Send for QueryLineage
impl Sync for QueryLineage
impl Unpin for QueryLineage
impl !UnwindSafe for QueryLineage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more