aws_sdk_apprunner/client/pause_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 [`PauseService`](crate::operation::pause_service::builders::PauseServiceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`service_arn(impl Into<String>)`](crate::operation::pause_service::builders::PauseServiceFluentBuilder::service_arn) / [`set_service_arn(Option<String>)`](crate::operation::pause_service::builders::PauseServiceFluentBuilder::set_service_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the App Runner service that you want to pause.</p><br>
7 /// - On success, responds with [`PauseServiceOutput`](crate::operation::pause_service::PauseServiceOutput) with field(s):
8 /// - [`service(Option<Service>)`](crate::operation::pause_service::PauseServiceOutput::service): <p>A description of the App Runner service that this request just paused.</p>
9 /// - [`operation_id(Option<String>)`](crate::operation::pause_service::PauseServiceOutput::operation_id): <p>The unique ID of the asynchronous operation that this request started. You can use it combined with the <code>ListOperations</code> call to track the operation's progress.</p>
10 /// - On failure, responds with [`SdkError<PauseServiceError>`](crate::operation::pause_service::PauseServiceError)
11 pub fn pause_service(&self) -> crate::operation::pause_service::builders::PauseServiceFluentBuilder {
12 crate::operation::pause_service::builders::PauseServiceFluentBuilder::new(self.handle.clone())
13 }
14}