| 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 |
Amazonka.ResilienceHub.DescribeApp
Description
Describes an AWS Resilience Hub application.
Synopsis
- data DescribeApp = DescribeApp' {}
- newDescribeApp :: Text -> DescribeApp
- describeApp_appArn :: Lens' DescribeApp Text
- data DescribeAppResponse = DescribeAppResponse' {
- httpStatus :: Int
- app :: App
- newDescribeAppResponse :: Int -> App -> DescribeAppResponse
- describeAppResponse_httpStatus :: Lens' DescribeAppResponse Int
- describeAppResponse_app :: Lens' DescribeAppResponse App
Creating a Request
data DescribeApp Source #
See: newDescribeApp smart constructor.
Constructors
| DescribeApp' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeApp |
Create a value of DescribeApp 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:
DescribeApp, describeApp_appArn - The Amazon Resource Name (ARN) of the application. The format for this
ARN is: arn:partition:resiliencehub:region:account:app/app-id.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
Request Lenses
describeApp_appArn :: Lens' DescribeApp Text Source #
The Amazon Resource Name (ARN) of the application. The format for this
ARN is: arn:partition:resiliencehub:region:account:app/app-id.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
Destructuring the Response
data DescribeAppResponse Source #
See: newDescribeAppResponse smart constructor.
Constructors
| DescribeAppResponse' | |
Fields
| |
Instances
newDescribeAppResponse Source #
Arguments
| :: Int | |
| -> App | |
| -> DescribeAppResponse |
Create a value of DescribeAppResponse 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:httpStatus:DescribeAppResponse', describeAppResponse_httpStatus - The response's http status code.
$sel:app:DescribeAppResponse', describeAppResponse_app - The specified application, returned as an object with details including
compliance status, creation time, description, resiliency score, and
more.
Response Lenses
describeAppResponse_httpStatus :: Lens' DescribeAppResponse Int Source #
The response's http status code.
describeAppResponse_app :: Lens' DescribeAppResponse App Source #
The specified application, returned as an object with details including compliance status, creation time, description, resiliency score, and more.