Struct aws_sdk_snowball::types::JobResource
source · #[non_exhaustive]pub struct JobResource {
pub s3_resources: Option<Vec<S3Resource>>,
pub lambda_resources: Option<Vec<LambdaResource>>,
pub ec2_ami_resources: Option<Vec<Ec2AmiResource>>,
}
Expand description
Contains an array of Amazon Web Services resource objects. Each object represents an Amazon S3 bucket, an Lambda function, or an Amazon Machine Image (AMI) based on Amazon EC2 that is associated with a particular job.
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.s3_resources: Option<Vec<S3Resource>>
An array of S3Resource
objects.
lambda_resources: Option<Vec<LambdaResource>>
The Python-language Lambda functions for this job.
ec2_ami_resources: Option<Vec<Ec2AmiResource>>
The Amazon Machine Images (AMIs) associated with this job.
Implementations§
source§impl JobResource
impl JobResource
sourcepub fn s3_resources(&self) -> &[S3Resource]
pub fn s3_resources(&self) -> &[S3Resource]
An array of S3Resource
objects.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .s3_resources.is_none()
.
sourcepub fn lambda_resources(&self) -> &[LambdaResource]
pub fn lambda_resources(&self) -> &[LambdaResource]
The Python-language Lambda functions for this job.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .lambda_resources.is_none()
.
sourcepub fn ec2_ami_resources(&self) -> &[Ec2AmiResource]
pub fn ec2_ami_resources(&self) -> &[Ec2AmiResource]
The Amazon Machine Images (AMIs) associated with this job.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ec2_ami_resources.is_none()
.
source§impl JobResource
impl JobResource
sourcepub fn builder() -> JobResourceBuilder
pub fn builder() -> JobResourceBuilder
Creates a new builder-style object to manufacture JobResource
.
Trait Implementations§
source§impl Clone for JobResource
impl Clone for JobResource
source§fn clone(&self) -> JobResource
fn clone(&self) -> JobResource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobResource
impl Debug for JobResource
source§impl PartialEq for JobResource
impl PartialEq for JobResource
source§fn eq(&self, other: &JobResource) -> bool
fn eq(&self, other: &JobResource) -> bool
self
and other
values to be equal, and is used
by ==
.