Struct rusoto_sagemaker::LabelingJobOutputConfig
source · [−]pub struct LabelingJobOutputConfig {
pub kms_key_id: Option<String>,
pub s3_output_path: String,
pub sns_topic_arn: Option<String>,
}
Expand description
Output configuration information for a labeling job.
Fields
kms_key_id: Option<String>
The AWS Key Management Service ID of the key used to encrypt the output data, if any.
If you provide your own KMS key ID, you must add the required permissions to your KMS key described in Encrypt Output Data and Storage Volume with AWS KMS.
If you don't provide a KMS key ID, Amazon SageMaker uses the default AWS KMS key for Amazon S3 for your role's account to encrypt your output data.
If you use a bucket policy with an s3:PutObject
permission that only allows objects with server-side encryption, set the condition key of s3:x-amz-server-side-encryption
to "aws:kms"
. For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.
s3_output_path: String
The Amazon S3 location to write output data.
sns_topic_arn: Option<String>
An Amazon Simple Notification Service (Amazon SNS) output topic ARN. Provide a SnsTopicArn
if you want to do real time chaining to another streaming job and receive an Amazon SNS notifications each time a data object is submitted by a worker.
If you provide an SnsTopicArn
in OutputConfig
, when workers complete labeling tasks, Ground Truth will send labeling task output data to the SNS output topic you specify here.
To learn more, see Receive Output Data from a Streaming Labeling Job.
Trait Implementations
sourceimpl Clone for LabelingJobOutputConfig
impl Clone for LabelingJobOutputConfig
sourcefn clone(&self) -> LabelingJobOutputConfig
fn clone(&self) -> LabelingJobOutputConfig
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 LabelingJobOutputConfig
impl Debug for LabelingJobOutputConfig
sourceimpl Default for LabelingJobOutputConfig
impl Default for LabelingJobOutputConfig
sourcefn default() -> LabelingJobOutputConfig
fn default() -> LabelingJobOutputConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LabelingJobOutputConfig
impl<'de> Deserialize<'de> for LabelingJobOutputConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<LabelingJobOutputConfig> for LabelingJobOutputConfig
impl PartialEq<LabelingJobOutputConfig> for LabelingJobOutputConfig
sourcefn eq(&self, other: &LabelingJobOutputConfig) -> bool
fn eq(&self, other: &LabelingJobOutputConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LabelingJobOutputConfig) -> bool
fn ne(&self, other: &LabelingJobOutputConfig) -> bool
This method tests for !=
.
sourceimpl Serialize for LabelingJobOutputConfig
impl Serialize for LabelingJobOutputConfig
impl StructuralPartialEq for LabelingJobOutputConfig
Auto Trait Implementations
impl RefUnwindSafe for LabelingJobOutputConfig
impl Send for LabelingJobOutputConfig
impl Sync for LabelingJobOutputConfig
impl Unpin for LabelingJobOutputConfig
impl UnwindSafe for LabelingJobOutputConfig
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> 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.
sourcefn clone_into(&self, target: &mut T)
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