aws_sdk_migrationhubrefactorspaces/client/
get_service.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 [`GetService`](crate::operation::get_service::builders::GetServiceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`environment_identifier(impl Into<String>)`](crate::operation::get_service::builders::GetServiceFluentBuilder::environment_identifier) / [`set_environment_identifier(Option<String>)`](crate::operation::get_service::builders::GetServiceFluentBuilder::set_environment_identifier):<br>required: **true**<br><p>The ID of the environment.</p><br>
7    ///   - [`application_identifier(impl Into<String>)`](crate::operation::get_service::builders::GetServiceFluentBuilder::application_identifier) / [`set_application_identifier(Option<String>)`](crate::operation::get_service::builders::GetServiceFluentBuilder::set_application_identifier):<br>required: **true**<br><p>The ID of the application.</p><br>
8    ///   - [`service_identifier(impl Into<String>)`](crate::operation::get_service::builders::GetServiceFluentBuilder::service_identifier) / [`set_service_identifier(Option<String>)`](crate::operation::get_service::builders::GetServiceFluentBuilder::set_service_identifier):<br>required: **true**<br><p>The ID of the service.</p><br>
9    /// - On success, responds with [`GetServiceOutput`](crate::operation::get_service::GetServiceOutput) with field(s):
10    ///   - [`service_id(Option<String>)`](crate::operation::get_service::GetServiceOutput::service_id): <p>The unique identifier of the service.</p>
11    ///   - [`name(Option<String>)`](crate::operation::get_service::GetServiceOutput::name): <p>The name of the service.</p>
12    ///   - [`arn(Option<String>)`](crate::operation::get_service::GetServiceOutput::arn): <p>The Amazon Resource Name (ARN) of the service.</p>
13    ///   - [`owner_account_id(Option<String>)`](crate::operation::get_service::GetServiceOutput::owner_account_id): <p>The Amazon Web Services account ID of the service owner.</p>
14    ///   - [`created_by_account_id(Option<String>)`](crate::operation::get_service::GetServiceOutput::created_by_account_id): <p>The Amazon Web Services account ID of the service creator.</p>
15    ///   - [`description(Option<String>)`](crate::operation::get_service::GetServiceOutput::description): <p>The description of the service.</p>
16    ///   - [`environment_id(Option<String>)`](crate::operation::get_service::GetServiceOutput::environment_id): <p>The unique identifier of the environment.</p>
17    ///   - [`application_id(Option<String>)`](crate::operation::get_service::GetServiceOutput::application_id): <p>The ID of the application.</p>
18    ///   - [`vpc_id(Option<String>)`](crate::operation::get_service::GetServiceOutput::vpc_id): <p>The ID of the virtual private cloud (VPC).</p>
19    ///   - [`endpoint_type(Option<ServiceEndpointType>)`](crate::operation::get_service::GetServiceOutput::endpoint_type): <p>The endpoint type of the service.</p>
20    ///   - [`url_endpoint(Option<UrlEndpointConfig>)`](crate::operation::get_service::GetServiceOutput::url_endpoint): <p>The configuration for the URL endpoint type.</p> <p>The <b>Url</b> isthe URL of the endpoint type.</p> <p>The <b>HealthUrl</b> is the health check URL of the endpoint type.</p>
21    ///   - [`lambda_endpoint(Option<LambdaEndpointConfig>)`](crate::operation::get_service::GetServiceOutput::lambda_endpoint): <p>The configuration for the Lambda endpoint type.</p> <p>The <b>Arn</b> is the Amazon Resource Name (ARN) of the Lambda function associated with this service.</p>
22    ///   - [`state(Option<ServiceState>)`](crate::operation::get_service::GetServiceOutput::state): <p>The current state of the service.</p>
23    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_service::GetServiceOutput::tags): <p>The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.</p>
24    ///   - [`error(Option<ErrorResponse>)`](crate::operation::get_service::GetServiceOutput::error): <p>Any error associated with the service resource.</p>
25    ///   - [`last_updated_time(Option<DateTime>)`](crate::operation::get_service::GetServiceOutput::last_updated_time): <p>A timestamp that indicates when the service was last updated.</p>
26    ///   - [`created_time(Option<DateTime>)`](crate::operation::get_service::GetServiceOutput::created_time): <p>The timestamp of when the service is created.</p>
27    /// - On failure, responds with [`SdkError<GetServiceError>`](crate::operation::get_service::GetServiceError)
28    pub fn get_service(&self) -> crate::operation::get_service::builders::GetServiceFluentBuilder {
29        crate::operation::get_service::builders::GetServiceFluentBuilder::new(self.handle.clone())
30    }
31}