pub struct CreateProcessingJobFluentBuilder { /* private fields */ }
Expand description

Fluent builder constructing a request to CreateProcessingJob.

Creates a processing job.

Implementations§

source§

impl CreateProcessingJobFluentBuilder

source

pub fn as_input(&self) -> &CreateProcessingJobInputBuilder

Access the CreateProcessingJob as a reference.

source

pub async fn send( self ) -> Result<CreateProcessingJobOutput, SdkError<CreateProcessingJobError, 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.

source

pub async fn customize( self ) -> Result<CustomizableOperation<CreateProcessingJobOutput, CreateProcessingJobError>, SdkError<CreateProcessingJobError>>

Consumes this builder, creating a customizable operation that can be modified before being sent.

source

pub fn processing_inputs(self, input: ProcessingInput) -> Self

Appends an item to ProcessingInputs.

To override the contents of this collection use set_processing_inputs.

An array of inputs configuring the data to download into the processing container.

source

pub fn set_processing_inputs(self, input: Option<Vec<ProcessingInput>>) -> Self

An array of inputs configuring the data to download into the processing container.

source

pub fn get_processing_inputs(&self) -> &Option<Vec<ProcessingInput>>

An array of inputs configuring the data to download into the processing container.

source

pub fn processing_output_config(self, input: ProcessingOutputConfig) -> Self

Output configuration for the processing job.

source

pub fn set_processing_output_config( self, input: Option<ProcessingOutputConfig> ) -> Self

Output configuration for the processing job.

source

pub fn get_processing_output_config(&self) -> &Option<ProcessingOutputConfig>

Output configuration for the processing job.

source

pub fn processing_job_name(self, input: impl Into<String>) -> Self

The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

source

pub fn set_processing_job_name(self, input: Option<String>) -> Self

The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

source

pub fn get_processing_job_name(&self) -> &Option<String>

The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

source

pub fn processing_resources(self, input: ProcessingResources) -> Self

Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.

source

pub fn set_processing_resources( self, input: Option<ProcessingResources> ) -> Self

Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.

source

pub fn get_processing_resources(&self) -> &Option<ProcessingResources>

Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.

source

pub fn stopping_condition(self, input: ProcessingStoppingCondition) -> Self

The time limit for how long the processing job is allowed to run.

source

pub fn set_stopping_condition( self, input: Option<ProcessingStoppingCondition> ) -> Self

The time limit for how long the processing job is allowed to run.

source

pub fn get_stopping_condition(&self) -> &Option<ProcessingStoppingCondition>

The time limit for how long the processing job is allowed to run.

source

pub fn app_specification(self, input: AppSpecification) -> Self

Configures the processing job to run a specified Docker container image.

source

pub fn set_app_specification(self, input: Option<AppSpecification>) -> Self

Configures the processing job to run a specified Docker container image.

source

pub fn get_app_specification(&self) -> &Option<AppSpecification>

Configures the processing job to run a specified Docker container image.

source

pub fn environment(self, k: impl Into<String>, v: impl Into<String>) -> Self

Adds a key-value pair to Environment.

To override the contents of this collection use set_environment.

The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported.

source

pub fn set_environment(self, input: Option<HashMap<String, String>>) -> Self

The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported.

source

pub fn get_environment(&self) -> &Option<HashMap<String, String>>

The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported.

source

pub fn network_config(self, input: NetworkConfig) -> Self

Networking options for a processing job, such as whether to allow inbound and outbound network calls to and from processing containers, and the VPC subnets and security groups to use for VPC-enabled processing jobs.

source

pub fn set_network_config(self, input: Option<NetworkConfig>) -> Self

Networking options for a processing job, such as whether to allow inbound and outbound network calls to and from processing containers, and the VPC subnets and security groups to use for VPC-enabled processing jobs.

source

pub fn get_network_config(&self) -> &Option<NetworkConfig>

Networking options for a processing job, such as whether to allow inbound and outbound network calls to and from processing containers, and the VPC subnets and security groups to use for VPC-enabled processing jobs.

source

pub fn role_arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.

source

pub fn set_role_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.

source

pub fn get_role_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.

source

pub fn tags(self, input: Tag) -> Self

Appends an item to Tags.

To override the contents of this collection use set_tags.

(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.

source

pub fn set_tags(self, input: Option<Vec<Tag>>) -> Self

(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.

source

pub fn get_tags(&self) -> &Option<Vec<Tag>>

(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.

source

pub fn experiment_config(self, input: ExperimentConfig) -> Self

Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the following APIs:

source

pub fn set_experiment_config(self, input: Option<ExperimentConfig>) -> Self

Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the following APIs:

source

pub fn get_experiment_config(&self) -> &Option<ExperimentConfig>

Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the following APIs:

Trait Implementations§

source§

impl Clone for CreateProcessingJobFluentBuilder

source§

fn clone(&self) -> CreateProcessingJobFluentBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreateProcessingJobFluentBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more