aws_sdk_vpclattice/client/
delete_service.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteService`](crate::operation::delete_service::builders::DeleteServiceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_identifier(impl Into<String>)`](crate::operation::delete_service::builders::DeleteServiceFluentBuilder::service_identifier) / [`set_service_identifier(Option<String>)`](crate::operation::delete_service::builders::DeleteServiceFluentBuilder::set_service_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the service.</p><br>
    /// - On success, responds with [`DeleteServiceOutput`](crate::operation::delete_service::DeleteServiceOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::delete_service::DeleteServiceOutput::id): <p>The ID of the service.</p>
    ///   - [`arn(Option<String>)`](crate::operation::delete_service::DeleteServiceOutput::arn): <p>The Amazon Resource Name (ARN) of the service.</p>
    ///   - [`name(Option<String>)`](crate::operation::delete_service::DeleteServiceOutput::name): <p>The name of the service.</p>
    ///   - [`status(Option<ServiceStatus>)`](crate::operation::delete_service::DeleteServiceOutput::status): <p>The status. You can retry the operation if the status is <code>DELETE_FAILED</code>. However, if you retry it while the status is <code>DELETE_IN_PROGRESS</code>, the status doesn't change.</p>
    /// - On failure, responds with [`SdkError<DeleteServiceError>`](crate::operation::delete_service::DeleteServiceError)
    pub fn delete_service(&self) -> crate::operation::delete_service::builders::DeleteServiceFluentBuilder {
        crate::operation::delete_service::builders::DeleteServiceFluentBuilder::new(self.handle.clone())
    }
}