Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Resume an active App Runner service. App Runner provisions compute capacity for the service.
This is an asynchronous operation. On a successful call, you can use the
returned OperationId
and the ListOperations call to track the
operation's progress.
Synopsis
- data ResumeService = ResumeService' {
- serviceArn :: Text
- newResumeService :: Text -> ResumeService
- resumeService_serviceArn :: Lens' ResumeService Text
- data ResumeServiceResponse = ResumeServiceResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- service :: Service
- newResumeServiceResponse :: Int -> Service -> ResumeServiceResponse
- resumeServiceResponse_operationId :: Lens' ResumeServiceResponse (Maybe Text)
- resumeServiceResponse_httpStatus :: Lens' ResumeServiceResponse Int
- resumeServiceResponse_service :: Lens' ResumeServiceResponse Service
Creating a Request
data ResumeService Source #
See: newResumeService
smart constructor.
ResumeService' | |
|
Instances
Create a value of ResumeService
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:serviceArn:ResumeService'
, resumeService_serviceArn
- The Amazon Resource Name (ARN) of the App Runner service that you want
to resume.
Request Lenses
resumeService_serviceArn :: Lens' ResumeService Text Source #
The Amazon Resource Name (ARN) of the App Runner service that you want to resume.
Destructuring the Response
data ResumeServiceResponse Source #
See: newResumeServiceResponse
smart constructor.
ResumeServiceResponse' | |
|
Instances
newResumeServiceResponse Source #
:: Int | |
-> Service | |
-> ResumeServiceResponse |
Create a value of ResumeServiceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:operationId:ResumeServiceResponse'
, resumeServiceResponse_operationId
- The unique ID of the asynchronous operation that this request started.
You can use it combined with the ListOperations call to track the
operation's progress.
$sel:httpStatus:ResumeServiceResponse'
, resumeServiceResponse_httpStatus
- The response's http status code.
$sel:service:ResumeServiceResponse'
, resumeServiceResponse_service
- A description of the App Runner service that this request just resumed.
Response Lenses
resumeServiceResponse_operationId :: Lens' ResumeServiceResponse (Maybe Text) Source #
The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.
resumeServiceResponse_httpStatus :: Lens' ResumeServiceResponse Int Source #
The response's http status code.
resumeServiceResponse_service :: Lens' ResumeServiceResponse Service Source #
A description of the App Runner service that this request just resumed.