1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetService`](crate::operation::get_service::builders::GetServiceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetServiceOutput`](crate::operation::get_service::GetServiceOutput) with field(s):
    ///   - [`service_id(Option<String>)`](crate::operation::get_service::GetServiceOutput::service_id): <p>The unique identifier of the service.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_service::GetServiceOutput::name): <p>The name of the service.</p>
    ///   - [`arn(Option<String>)`](crate::operation::get_service::GetServiceOutput::arn): <p>The Amazon Resource Name (ARN) of the service.</p>
    ///   - [`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>
    ///   - [`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>
    ///   - [`description(Option<String>)`](crate::operation::get_service::GetServiceOutput::description): <p>The description of the service. </p>
    ///   - [`environment_id(Option<String>)`](crate::operation::get_service::GetServiceOutput::environment_id): <p>The unique identifier of the environment.</p>
    ///   - [`application_id(Option<String>)`](crate::operation::get_service::GetServiceOutput::application_id): <p>The ID of the application.</p>
    ///   - [`vpc_id(Option<String>)`](crate::operation::get_service::GetServiceOutput::vpc_id): <p>The ID of the virtual private cloud (VPC). </p>
    ///   - [`endpoint_type(Option<ServiceEndpointType>)`](crate::operation::get_service::GetServiceOutput::endpoint_type): <p>The endpoint type of the service.</p>
    ///   - [`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>
    ///   - [`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>
    ///   - [`state(Option<ServiceState>)`](crate::operation::get_service::GetServiceOutput::state): <p>The current state of the service. </p>
    ///   - [`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>
    ///   - [`error(Option<ErrorResponse>)`](crate::operation::get_service::GetServiceOutput::error): <p>Any error associated with the service resource. </p>
    ///   - [`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>
    ///   - [`created_time(Option<DateTime>)`](crate::operation::get_service::GetServiceOutput::created_time): <p>The timestamp of when the service is created.</p>
    /// - On failure, responds with [`SdkError<GetServiceError>`](crate::operation::get_service::GetServiceError)
    pub fn get_service(&self) -> crate::operation::get_service::builders::GetServiceFluentBuilder {
        crate::operation::get_service::builders::GetServiceFluentBuilder::new(self.handle.clone())
    }
}