aws_sdk_datazone/client/
create_environment_action.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateEnvironmentAction`](crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which the environment action is created.</p><br>
    ///   - [`environment_identifier(impl Into<String>)`](crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder::environment_identifier) / [`set_environment_identifier(Option<String>)`](crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder::set_environment_identifier):<br>required: **true**<br><p>The ID of the environment in which the environment action is created.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the environment action.</p><br>
    ///   - [`parameters(ActionParameters)`](crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder::parameters) / [`set_parameters(Option<ActionParameters>)`](crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder::set_parameters):<br>required: **true**<br><p>The parameters of the environment action.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder::set_description):<br>required: **false**<br><p>The description of the environment action that is being created in the environment.</p><br>
    /// - On success, responds with [`CreateEnvironmentActionOutput`](crate::operation::create_environment_action::CreateEnvironmentActionOutput) with field(s):
    ///   - [`domain_id(String)`](crate::operation::create_environment_action::CreateEnvironmentActionOutput::domain_id): <p>The ID of the domain in which the environment action is created.</p>
    ///   - [`environment_id(String)`](crate::operation::create_environment_action::CreateEnvironmentActionOutput::environment_id): <p>The ID of the environment in which the environment is created.</p>
    ///   - [`id(String)`](crate::operation::create_environment_action::CreateEnvironmentActionOutput::id): <p>The ID of the environment action.</p>
    ///   - [`name(String)`](crate::operation::create_environment_action::CreateEnvironmentActionOutput::name): <p>The name of the environment action.</p>
    ///   - [`parameters(Option<ActionParameters>)`](crate::operation::create_environment_action::CreateEnvironmentActionOutput::parameters): <p>The parameters of the environment action.</p>
    ///   - [`description(Option<String>)`](crate::operation::create_environment_action::CreateEnvironmentActionOutput::description): <p>The description of the environment action.</p>
    /// - On failure, responds with [`SdkError<CreateEnvironmentActionError>`](crate::operation::create_environment_action::CreateEnvironmentActionError)
    pub fn create_environment_action(&self) -> crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder {
        crate::operation::create_environment_action::builders::CreateEnvironmentActionFluentBuilder::new(self.handle.clone())
    }
}