aws_sdk_imagebuilder/client/
send_workflow_step_action.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`SendWorkflowStepAction`](crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`step_execution_id(impl Into<String>)`](crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder::step_execution_id) / [`set_step_execution_id(Option<String>)`](crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder::set_step_execution_id):<br>required: **true**<br><p>Uniquely identifies the workflow step that sent the step action.</p><br>
7    ///   - [`image_build_version_arn(impl Into<String>)`](crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder::image_build_version_arn) / [`set_image_build_version_arn(Option<String>)`](crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder::set_image_build_version_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the image build version to send action for.</p><br>
8    ///   - [`action(WorkflowStepActionType)`](crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder::action) / [`set_action(Option<WorkflowStepActionType>)`](crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder::set_action):<br>required: **true**<br><p>The action for the image creation process to take while a workflow <code>WaitForAction</code> step waits for an asynchronous action to complete.</p><br>
9    ///   - [`reason(impl Into<String>)`](crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder::reason) / [`set_reason(Option<String>)`](crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder::set_reason):<br>required: **false**<br><p>The reason why this action is sent.</p><br>
10    ///   - [`client_token(impl Into<String>)`](crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder::set_client_token):<br>required: **true**<br><p>Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a> in the <i>Amazon EC2 API Reference</i>.</p><br>
11    /// - On success, responds with [`SendWorkflowStepActionOutput`](crate::operation::send_workflow_step_action::SendWorkflowStepActionOutput) with field(s):
12    ///   - [`step_execution_id(Option<String>)`](crate::operation::send_workflow_step_action::SendWorkflowStepActionOutput::step_execution_id): <p>The workflow step that sent the step action.</p>
13    ///   - [`image_build_version_arn(Option<String>)`](crate::operation::send_workflow_step_action::SendWorkflowStepActionOutput::image_build_version_arn): <p>The Amazon Resource Name (ARN) of the image build version that received the action request.</p>
14    ///   - [`client_token(Option<String>)`](crate::operation::send_workflow_step_action::SendWorkflowStepActionOutput::client_token): <p>The client token that uniquely identifies the request.</p>
15    /// - On failure, responds with [`SdkError<SendWorkflowStepActionError>`](crate::operation::send_workflow_step_action::SendWorkflowStepActionError)
16    pub fn send_workflow_step_action(&self) -> crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder {
17        crate::operation::send_workflow_step_action::builders::SendWorkflowStepActionFluentBuilder::new(self.handle.clone())
18    }
19}