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.DescribeResiliencyPolicy
Description
Describes a specified resiliency policy for an AWS Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
Synopsis
- data DescribeResiliencyPolicy = DescribeResiliencyPolicy' {}
- newDescribeResiliencyPolicy :: Text -> DescribeResiliencyPolicy
- describeResiliencyPolicy_policyArn :: Lens' DescribeResiliencyPolicy Text
- data DescribeResiliencyPolicyResponse = DescribeResiliencyPolicyResponse' {}
- newDescribeResiliencyPolicyResponse :: Int -> ResiliencyPolicy -> DescribeResiliencyPolicyResponse
- describeResiliencyPolicyResponse_httpStatus :: Lens' DescribeResiliencyPolicyResponse Int
- describeResiliencyPolicyResponse_policy :: Lens' DescribeResiliencyPolicyResponse ResiliencyPolicy
Creating a Request
data DescribeResiliencyPolicy Source #
See: newDescribeResiliencyPolicy
smart constructor.
Constructors
DescribeResiliencyPolicy' | |
Fields
|
Instances
newDescribeResiliencyPolicy Source #
Arguments
:: Text | |
-> DescribeResiliencyPolicy |
Create a value of DescribeResiliencyPolicy
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:
DescribeResiliencyPolicy
, describeResiliencyPolicy_policyArn
- The Amazon Resource Name (ARN) of the resiliency policy. The format for
this ARN is:
arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
Request Lenses
describeResiliencyPolicy_policyArn :: Lens' DescribeResiliencyPolicy Text Source #
The Amazon Resource Name (ARN) of the resiliency policy. The format for
this ARN is:
arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
Destructuring the Response
data DescribeResiliencyPolicyResponse Source #
See: newDescribeResiliencyPolicyResponse
smart constructor.
Constructors
DescribeResiliencyPolicyResponse' | |
Fields
|
Instances
newDescribeResiliencyPolicyResponse Source #
Arguments
:: Int | |
-> ResiliencyPolicy | |
-> DescribeResiliencyPolicyResponse |
Create a value of DescribeResiliencyPolicyResponse
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:DescribeResiliencyPolicyResponse'
, describeResiliencyPolicyResponse_httpStatus
- The response's http status code.
DescribeResiliencyPolicyResponse
, describeResiliencyPolicyResponse_policy
- Information about the specific resiliency policy, returned as an object.
This object includes creation time, data location constraints, its name,
description, tags, the recovery time objective (RTO) and recovery point
objective (RPO) in seconds, and more.
Response Lenses
describeResiliencyPolicyResponse_httpStatus :: Lens' DescribeResiliencyPolicyResponse Int Source #
The response's http status code.
describeResiliencyPolicyResponse_policy :: Lens' DescribeResiliencyPolicyResponse ResiliencyPolicy Source #
Information about the specific resiliency policy, returned as an object. This object includes creation time, data location constraints, its name, description, tags, the recovery time objective (RTO) and recovery point objective (RPO) in seconds, and more.