[−][src]Struct rusoto_batch::RegisterJobDefinitionRequest
Fields
container_properties: Option<ContainerProperties>
An object with various properties specific to single-node container-based jobs. If the job definition's type
parameter is container
, then you must specify either containerProperties
or nodeProperties
.
job_definition_name: String
The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
node_properties: Option<NodeProperties>
An object with various properties specific to multi-node parallel jobs. If you specify node properties for a job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the AWS Batch User Guide. If the job definition's type
parameter is container
, then you must specify either containerProperties
or nodeProperties
.
parameters: Option<HashMap<String, String>>
Default parameter substitution placeholders to set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob
request override any corresponding parameter defaults from the job definition.
retry_strategy: Option<RetryStrategy>
The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that is specified during a SubmitJob operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it is not retried.
timeout: Option<JobTimeout>
The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it is not retried. The minimum value for the timeout is 60 seconds. Any timeout configuration that is specified during a SubmitJob operation overrides the timeout configuration defined here. For more information, see Job Timeouts in the Amazon Elastic Container Service Developer Guide.
type_: String
The type of job definition.
Trait Implementations
impl Clone for RegisterJobDefinitionRequest
[src]
pub fn clone(&self) -> RegisterJobDefinitionRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RegisterJobDefinitionRequest
[src]
impl Default for RegisterJobDefinitionRequest
[src]
pub fn default() -> RegisterJobDefinitionRequest
[src]
impl PartialEq<RegisterJobDefinitionRequest> for RegisterJobDefinitionRequest
[src]
pub fn eq(&self, other: &RegisterJobDefinitionRequest) -> bool
[src]
pub fn ne(&self, other: &RegisterJobDefinitionRequest) -> bool
[src]
impl Serialize for RegisterJobDefinitionRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for RegisterJobDefinitionRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for RegisterJobDefinitionRequest
[src]
impl Send for RegisterJobDefinitionRequest
[src]
impl Sync for RegisterJobDefinitionRequest
[src]
impl Unpin for RegisterJobDefinitionRequest
[src]
impl UnwindSafe for RegisterJobDefinitionRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,