Struct aws_sdk_rekognition::operation::describe_project_versions::DescribeProjectVersionsInput
source · #[non_exhaustive]pub struct DescribeProjectVersionsInput {
pub project_arn: Option<String>,
pub version_names: Option<Vec<String>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.project_arn: Option<String>The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
version_names: Option<Vec<String>>A list of model or project version names that you want to describe. You can add up to 10 model or project version names to the list. If you don't specify a value, all project version descriptions are returned. A version name is part of a project version ARN. For example, my-model.2020-01-21T09.10.15 is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123.
next_token: Option<String>If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
max_results: Option<i32>The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
Implementations§
source§impl DescribeProjectVersionsInput
impl DescribeProjectVersionsInput
sourcepub fn project_arn(&self) -> Option<&str>
pub fn project_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
sourcepub fn version_names(&self) -> &[String]
pub fn version_names(&self) -> &[String]
A list of model or project version names that you want to describe. You can add up to 10 model or project version names to the list. If you don't specify a value, all project version descriptions are returned. A version name is part of a project version ARN. For example, my-model.2020-01-21T09.10.15 is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .version_names.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
source§impl DescribeProjectVersionsInput
impl DescribeProjectVersionsInput
sourcepub fn builder() -> DescribeProjectVersionsInputBuilder
pub fn builder() -> DescribeProjectVersionsInputBuilder
Creates a new builder-style object to manufacture DescribeProjectVersionsInput.
Trait Implementations§
source§impl Clone for DescribeProjectVersionsInput
impl Clone for DescribeProjectVersionsInput
source§fn clone(&self) -> DescribeProjectVersionsInput
fn clone(&self) -> DescribeProjectVersionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeProjectVersionsInput
impl Debug for DescribeProjectVersionsInput
source§impl PartialEq for DescribeProjectVersionsInput
impl PartialEq for DescribeProjectVersionsInput
source§fn eq(&self, other: &DescribeProjectVersionsInput) -> bool
fn eq(&self, other: &DescribeProjectVersionsInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeProjectVersionsInput
Auto Trait Implementations§
impl Freeze for DescribeProjectVersionsInput
impl RefUnwindSafe for DescribeProjectVersionsInput
impl Send for DescribeProjectVersionsInput
impl Sync for DescribeProjectVersionsInput
impl Unpin for DescribeProjectVersionsInput
impl UnwindSafe for DescribeProjectVersionsInput
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> 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