aws_sdk_datazone/client/
get_environment_action.rs

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