Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns the current status of a resource operation request. For more information, see Tracking the progress of resource operation requests in the Amazon Web Services Cloud Control API User Guide.
Synopsis
- data GetResourceRequestStatus = GetResourceRequestStatus' {
- requestToken :: Text
- newGetResourceRequestStatus :: Text -> GetResourceRequestStatus
- getResourceRequestStatus_requestToken :: Lens' GetResourceRequestStatus Text
- data GetResourceRequestStatusResponse = GetResourceRequestStatusResponse' {}
- newGetResourceRequestStatusResponse :: Int -> GetResourceRequestStatusResponse
- getResourceRequestStatusResponse_progressEvent :: Lens' GetResourceRequestStatusResponse (Maybe ProgressEvent)
- getResourceRequestStatusResponse_httpStatus :: Lens' GetResourceRequestStatusResponse Int
Creating a Request
data GetResourceRequestStatus Source #
See: newGetResourceRequestStatus
smart constructor.
GetResourceRequestStatus' | |
|
Instances
newGetResourceRequestStatus Source #
Create a value of GetResourceRequestStatus
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:
GetResourceRequestStatus
, getResourceRequestStatus_requestToken
- A unique token used to track the progress of the resource operation
request.
Request tokens are included in the ProgressEvent
type returned by a
resource operation request.
Request Lenses
getResourceRequestStatus_requestToken :: Lens' GetResourceRequestStatus Text Source #
A unique token used to track the progress of the resource operation request.
Request tokens are included in the ProgressEvent
type returned by a
resource operation request.
Destructuring the Response
data GetResourceRequestStatusResponse Source #
See: newGetResourceRequestStatusResponse
smart constructor.
GetResourceRequestStatusResponse' | |
|
Instances
Generic GetResourceRequestStatusResponse Source # | |
Show GetResourceRequestStatusResponse Source # | |
NFData GetResourceRequestStatusResponse Source # | |
Defined in Amazonka.CloudControl.GetResourceRequestStatus rnf :: GetResourceRequestStatusResponse -> () # | |
Eq GetResourceRequestStatusResponse Source # | |
type Rep GetResourceRequestStatusResponse Source # | |
Defined in Amazonka.CloudControl.GetResourceRequestStatus type Rep GetResourceRequestStatusResponse = D1 ('MetaData "GetResourceRequestStatusResponse" "Amazonka.CloudControl.GetResourceRequestStatus" "amazonka-cloudcontrol-2.0-J9DMMWxCmrC2c0fQs7XDnF" 'False) (C1 ('MetaCons "GetResourceRequestStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "progressEvent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressEvent)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetResourceRequestStatusResponse Source #
Create a value of GetResourceRequestStatusResponse
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:progressEvent:GetResourceRequestStatusResponse'
, getResourceRequestStatusResponse_progressEvent
- Represents the current status of the resource operation request.
$sel:httpStatus:GetResourceRequestStatusResponse'
, getResourceRequestStatusResponse_httpStatus
- The response's http status code.
Response Lenses
getResourceRequestStatusResponse_progressEvent :: Lens' GetResourceRequestStatusResponse (Maybe ProgressEvent) Source #
Represents the current status of the resource operation request.
getResourceRequestStatusResponse_httpStatus :: Lens' GetResourceRequestStatusResponse Int Source #
The response's http status code.