Struct aws_sdk_elastictranscoder::operation::update_pipeline_notifications::builders::UpdatePipelineNotificationsInputBuilder
source · #[non_exhaustive]pub struct UpdatePipelineNotificationsInputBuilder { /* private fields */ }
Expand description
A builder for UpdatePipelineNotificationsInput
.
Implementations§
source§impl UpdatePipelineNotificationsInputBuilder
impl UpdatePipelineNotificationsInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the pipeline for which you want to change notification settings.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the pipeline for which you want to change notification settings.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier of the pipeline for which you want to change notification settings.
sourcepub fn notifications(self, input: Notifications) -> Self
pub fn notifications(self, input: Notifications) -> Self
The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
-
Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
-
Complete: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.
-
Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.
-
Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.
sourcepub fn set_notifications(self, input: Option<Notifications>) -> Self
pub fn set_notifications(self, input: Option<Notifications>) -> Self
The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
-
Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
-
Complete: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.
-
Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.
-
Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.
sourcepub fn get_notifications(&self) -> &Option<Notifications>
pub fn get_notifications(&self) -> &Option<Notifications>
The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
-
Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
-
Complete: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.
-
Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.
-
Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.
sourcepub fn build(self) -> Result<UpdatePipelineNotificationsInput, BuildError>
pub fn build(self) -> Result<UpdatePipelineNotificationsInput, BuildError>
Consumes the builder and constructs a UpdatePipelineNotificationsInput
.
source§impl UpdatePipelineNotificationsInputBuilder
impl UpdatePipelineNotificationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdatePipelineNotificationsOutput, SdkError<UpdatePipelineNotificationsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdatePipelineNotificationsOutput, SdkError<UpdatePipelineNotificationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePipelineNotificationsInputBuilder
impl Clone for UpdatePipelineNotificationsInputBuilder
source§fn clone(&self) -> UpdatePipelineNotificationsInputBuilder
fn clone(&self) -> UpdatePipelineNotificationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdatePipelineNotificationsInputBuilder
impl Default for UpdatePipelineNotificationsInputBuilder
source§fn default() -> UpdatePipelineNotificationsInputBuilder
fn default() -> UpdatePipelineNotificationsInputBuilder
source§impl PartialEq<UpdatePipelineNotificationsInputBuilder> for UpdatePipelineNotificationsInputBuilder
impl PartialEq<UpdatePipelineNotificationsInputBuilder> for UpdatePipelineNotificationsInputBuilder
source§fn eq(&self, other: &UpdatePipelineNotificationsInputBuilder) -> bool
fn eq(&self, other: &UpdatePipelineNotificationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.