// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetManagedEndpointSessionCredentials`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`endpoint_identifier(impl Into<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::endpoint_identifier) / [`set_endpoint_identifier(Option<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::set_endpoint_identifier): <p>The ARN of the managed endpoint for which the request is submitted. </p>
/// - [`virtual_cluster_identifier(impl Into<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::virtual_cluster_identifier) / [`set_virtual_cluster_identifier(Option<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::set_virtual_cluster_identifier): <p>The ARN of the Virtual Cluster which the Managed Endpoint belongs to. </p>
/// - [`execution_role_arn(impl Into<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::execution_role_arn) / [`set_execution_role_arn(Option<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::set_execution_role_arn): <p>The IAM Execution Role ARN that will be used by the job run. </p>
/// - [`credential_type(impl Into<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::credential_type) / [`set_credential_type(Option<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::set_credential_type): <p>Type of the token requested. Currently supported and default value of this field is “TOKEN.”</p>
/// - [`duration_in_seconds(i32)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::duration_in_seconds) / [`set_duration_in_seconds(Option<i32>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::set_duration_in_seconds): <p>Duration in seconds for which the session token is valid. The default duration is 15 minutes and the maximum is 12 hours.</p>
/// - [`log_context(impl Into<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::log_context) / [`set_log_context(Option<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::set_log_context): <p>String identifier used to separate sections of the execution logs uploaded to S3.</p>
/// - [`client_token(impl Into<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::set_client_token): <p>The client idempotency token of the job run request.</p>
/// - On success, responds with [`GetManagedEndpointSessionCredentialsOutput`](crate::operation::get_managed_endpoint_session_credentials::GetManagedEndpointSessionCredentialsOutput) with field(s):
/// - [`id(Option<String>)`](crate::operation::get_managed_endpoint_session_credentials::GetManagedEndpointSessionCredentialsOutput::id): <p>The identifier of the session token returned.</p>
/// - [`credentials(Option<Credentials>)`](crate::operation::get_managed_endpoint_session_credentials::GetManagedEndpointSessionCredentialsOutput::credentials): <p>The structure containing the session credentials.</p>
/// - [`expires_at(Option<DateTime>)`](crate::operation::get_managed_endpoint_session_credentials::GetManagedEndpointSessionCredentialsOutput::expires_at): <p>The date and time when the session token will expire.</p>
/// - On failure, responds with [`SdkError<GetManagedEndpointSessionCredentialsError>`](crate::operation::get_managed_endpoint_session_credentials::GetManagedEndpointSessionCredentialsError)
pub fn get_managed_endpoint_session_credentials(
&self,
) -> crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder {
crate::operation::get_managed_endpoint_session_credentials::builders::GetManagedEndpointSessionCredentialsFluentBuilder::new(
self.handle.clone(),
)
}
}