#[non_exhaustive]pub struct CreateBatchSegmentJobInput {
pub job_name: Option<String>,
pub solution_version_arn: Option<String>,
pub filter_arn: Option<String>,
pub num_results: Option<i32>,
pub job_input: Option<BatchSegmentJobInput>,
pub job_output: Option<BatchSegmentJobOutput>,
pub role_arn: Option<String>,
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>
The name of the batch segment job to create.
solution_version_arn: Option<String>
The Amazon Resource Name (ARN) of the solution version you want the batch segment job to use to generate batch segments.
filter_arn: Option<String>
The ARN of the filter to apply to the batch segment job. For more information on using filters, see Filtering batch recommendations.
num_results: Option<i32>
The number of predicted users generated by the batch segment job for each line of input data.
job_input: Option<BatchSegmentJobInput>
The Amazon S3 path for the input data used to generate the batch segment job.
job_output: Option<BatchSegmentJobOutput>
The Amazon S3 path for the bucket where the job's output will be stored.
role_arn: Option<String>
The ARN of the Amazon Identity and Access Management role that has permissions to read and write to your input and output Amazon S3 buckets respectively.
A list of tags to apply to the batch segment job.
Implementations
sourceimpl CreateBatchSegmentJobInput
impl CreateBatchSegmentJobInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateBatchSegmentJob, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateBatchSegmentJob, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateBatchSegmentJob
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateBatchSegmentJobInput
sourceimpl CreateBatchSegmentJobInput
impl CreateBatchSegmentJobInput
sourcepub fn solution_version_arn(&self) -> Option<&str>
pub fn solution_version_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the solution version you want the batch segment job to use to generate batch segments.
sourcepub fn filter_arn(&self) -> Option<&str>
pub fn filter_arn(&self) -> Option<&str>
The ARN of the filter to apply to the batch segment job. For more information on using filters, see Filtering batch recommendations.
sourcepub fn num_results(&self) -> Option<i32>
pub fn num_results(&self) -> Option<i32>
The number of predicted users generated by the batch segment job for each line of input data.
sourcepub fn job_input(&self) -> Option<&BatchSegmentJobInput>
pub fn job_input(&self) -> Option<&BatchSegmentJobInput>
The Amazon S3 path for the input data used to generate the batch segment job.
sourcepub fn job_output(&self) -> Option<&BatchSegmentJobOutput>
pub fn job_output(&self) -> Option<&BatchSegmentJobOutput>
The Amazon S3 path for the bucket where the job's output will be stored.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of the Amazon Identity and Access Management role that has permissions to read and write to your input and output Amazon S3 buckets respectively.
A list of tags to apply to the batch segment job.
Trait Implementations
sourceimpl Clone for CreateBatchSegmentJobInput
impl Clone for CreateBatchSegmentJobInput
sourcefn clone(&self) -> CreateBatchSegmentJobInput
fn clone(&self) -> CreateBatchSegmentJobInput
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 Debug for CreateBatchSegmentJobInput
impl Debug for CreateBatchSegmentJobInput
sourceimpl PartialEq<CreateBatchSegmentJobInput> for CreateBatchSegmentJobInput
impl PartialEq<CreateBatchSegmentJobInput> for CreateBatchSegmentJobInput
sourcefn eq(&self, other: &CreateBatchSegmentJobInput) -> bool
fn eq(&self, other: &CreateBatchSegmentJobInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateBatchSegmentJobInput) -> bool
fn ne(&self, other: &CreateBatchSegmentJobInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateBatchSegmentJobInput
Auto Trait Implementations
impl RefUnwindSafe for CreateBatchSegmentJobInput
impl Send for CreateBatchSegmentJobInput
impl Sync for CreateBatchSegmentJobInput
impl Unpin for CreateBatchSegmentJobInput
impl UnwindSafe for CreateBatchSegmentJobInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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