aws_sdk_datazone/client/get_environment_credentials.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetEnvironmentCredentials`](crate::operation::get_environment_credentials::builders::GetEnvironmentCredentialsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::get_environment_credentials::builders::GetEnvironmentCredentialsFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_environment_credentials::builders::GetEnvironmentCredentialsFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which this environment and its credentials exist.</p><br>
/// - [`environment_identifier(impl Into<String>)`](crate::operation::get_environment_credentials::builders::GetEnvironmentCredentialsFluentBuilder::environment_identifier) / [`set_environment_identifier(Option<String>)`](crate::operation::get_environment_credentials::builders::GetEnvironmentCredentialsFluentBuilder::set_environment_identifier):<br>required: **true**<br><p>The ID of the environment whose credentials this operation gets.</p><br>
/// - On success, responds with [`GetEnvironmentCredentialsOutput`](crate::operation::get_environment_credentials::GetEnvironmentCredentialsOutput) with field(s):
/// - [`access_key_id(Option<String>)`](crate::operation::get_environment_credentials::GetEnvironmentCredentialsOutput::access_key_id): <p>The access key ID of the environment.</p>
/// - [`secret_access_key(Option<String>)`](crate::operation::get_environment_credentials::GetEnvironmentCredentialsOutput::secret_access_key): <p>The secret access key of the environment credentials.</p>
/// - [`session_token(Option<String>)`](crate::operation::get_environment_credentials::GetEnvironmentCredentialsOutput::session_token): <p>The session token of the environment credentials.</p>
/// - [`expiration(Option<DateTime>)`](crate::operation::get_environment_credentials::GetEnvironmentCredentialsOutput::expiration): <p>The expiration timestamp of the environment credentials.</p>
/// - On failure, responds with [`SdkError<GetEnvironmentCredentialsError>`](crate::operation::get_environment_credentials::GetEnvironmentCredentialsError)
pub fn get_environment_credentials(&self) -> crate::operation::get_environment_credentials::builders::GetEnvironmentCredentialsFluentBuilder {
crate::operation::get_environment_credentials::builders::GetEnvironmentCredentialsFluentBuilder::new(self.handle.clone())
}
}