pub struct QueryLineageFluentBuilder { /* 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§
source§impl QueryLineageFluentBuilder
impl QueryLineageFluentBuilder
sourcepub fn as_input(&self) -> &QueryLineageInputBuilder
pub fn as_input(&self) -> &QueryLineageInputBuilder
Access the QueryLineage as a reference.
sourcepub async fn send(
self,
) -> Result<QueryLineageOutput, SdkError<QueryLineageError, HttpResponse>>
pub async fn send( self, ) -> Result<QueryLineageOutput, SdkError<QueryLineageError, HttpResponse>>
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 customize(
self,
) -> CustomizableOperation<QueryLineageOutput, QueryLineageError, Self>
pub fn customize( self, ) -> CustomizableOperation<QueryLineageOutput, QueryLineageError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 PaginationStream
.
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 get_start_arns(&self) -> &Option<Vec<String>>
pub fn get_start_arns(&self) -> &Option<Vec<String>>
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 have a direction. This parameter determines the direction from the StartArn(s) that the query traverses.
sourcepub fn set_direction(self, input: Option<Direction>) -> Self
pub fn set_direction(self, input: Option<Direction>) -> Self
Associations between lineage entities have a direction. This parameter determines the direction from the StartArn(s) that the query traverses.
sourcepub fn get_direction(&self) -> &Option<Direction>
pub fn get_direction(&self) -> &Option<Direction>
Associations between lineage entities have a direction. This parameter determines the direction from the StartArn(s) that the query traverses.
sourcepub fn include_edges(self, input: bool) -> Self
pub fn include_edges(self, input: bool) -> Self
Setting this value to True
retrieves 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
retrieves 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 get_include_edges(&self) -> &Option<bool>
pub fn get_include_edges(&self) -> &Option<bool>
Setting this value to True
retrieves 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 get_filters(&self) -> &Option<QueryFilters>
pub fn get_filters(&self) -> &Option<QueryFilters>
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 are 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 are traversed. Depth is a measure of the number of Associations
from the StartArn
entity to the matched results.
sourcepub fn get_max_depth(&self) -> &Option<i32>
pub fn get_max_depth(&self) -> &Option<i32>
The maximum depth in lineage relationships from the StartArns
that are 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 get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
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.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Limits the number of vertices in the request. Use the NextToken
in a response to to retrieve the next page of results.
Trait Implementations§
source§impl Clone for QueryLineageFluentBuilder
impl Clone for QueryLineageFluentBuilder
source§fn clone(&self) -> QueryLineageFluentBuilder
fn clone(&self) -> QueryLineageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for QueryLineageFluentBuilder
impl !RefUnwindSafe for QueryLineageFluentBuilder
impl Send for QueryLineageFluentBuilder
impl Sync for QueryLineageFluentBuilder
impl Unpin for QueryLineageFluentBuilder
impl !UnwindSafe for QueryLineageFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more