#[non_exhaustive]pub struct CreateInferenceRecommendationsJobInput {
pub job_name: Option<String>,
pub job_type: Option<RecommendationJobType>,
pub role_arn: Option<String>,
pub input_config: Option<RecommendationJobInputConfig>,
pub job_description: Option<String>,
pub stopping_conditions: Option<RecommendationJobStoppingConditions>,
pub tags: Option<Vec<Tag>>,
}
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.job_name: Option<String>
A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.
job_type: Option<RecommendationJobType>
Defines the type of recommendation job. Specify Default
to initiate an instance recommendation and Advanced
to initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT
) job.
role_arn: Option<String>
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
input_config: Option<RecommendationJobInputConfig>
Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.
job_description: Option<String>
Description of the recommendation job.
stopping_conditions: Option<RecommendationJobStoppingConditions>
A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
Implementations
sourceimpl CreateInferenceRecommendationsJobInput
impl CreateInferenceRecommendationsJobInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateInferenceRecommendationsJob, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateInferenceRecommendationsJob, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateInferenceRecommendationsJob
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateInferenceRecommendationsJobInput
sourceimpl CreateInferenceRecommendationsJobInput
impl CreateInferenceRecommendationsJobInput
sourcepub fn job_name(&self) -> Option<&str>
pub fn job_name(&self) -> Option<&str>
A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.
sourcepub fn job_type(&self) -> Option<&RecommendationJobType>
pub fn job_type(&self) -> Option<&RecommendationJobType>
Defines the type of recommendation job. Specify Default
to initiate an instance recommendation and Advanced
to initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT
) job.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
sourcepub fn input_config(&self) -> Option<&RecommendationJobInputConfig>
pub fn input_config(&self) -> Option<&RecommendationJobInputConfig>
Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.
sourcepub fn job_description(&self) -> Option<&str>
pub fn job_description(&self) -> Option<&str>
Description of the recommendation job.
sourcepub fn stopping_conditions(
&self
) -> Option<&RecommendationJobStoppingConditions>
pub fn stopping_conditions(
&self
) -> Option<&RecommendationJobStoppingConditions>
A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
Trait Implementations
sourceimpl Clone for CreateInferenceRecommendationsJobInput
impl Clone for CreateInferenceRecommendationsJobInput
sourcefn clone(&self) -> CreateInferenceRecommendationsJobInput
fn clone(&self) -> CreateInferenceRecommendationsJobInput
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
sourceimpl PartialEq<CreateInferenceRecommendationsJobInput> for CreateInferenceRecommendationsJobInput
impl PartialEq<CreateInferenceRecommendationsJobInput> for CreateInferenceRecommendationsJobInput
sourcefn eq(&self, other: &CreateInferenceRecommendationsJobInput) -> bool
fn eq(&self, other: &CreateInferenceRecommendationsJobInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateInferenceRecommendationsJobInput) -> bool
fn ne(&self, other: &CreateInferenceRecommendationsJobInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateInferenceRecommendationsJobInput
Auto Trait Implementations
impl RefUnwindSafe for CreateInferenceRecommendationsJobInput
impl Send for CreateInferenceRecommendationsJobInput
impl Sync for CreateInferenceRecommendationsJobInput
impl Unpin for CreateInferenceRecommendationsJobInput
impl UnwindSafe for CreateInferenceRecommendationsJobInput
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