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 |
Gets detailed information about the specified lifecycle policy.
Synopsis
- data GetLifecyclePolicy = GetLifecyclePolicy' {}
- newGetLifecyclePolicy :: Text -> GetLifecyclePolicy
- getLifecyclePolicy_policyId :: Lens' GetLifecyclePolicy Text
- data GetLifecyclePolicyResponse = GetLifecyclePolicyResponse' {}
- newGetLifecyclePolicyResponse :: Int -> GetLifecyclePolicyResponse
- getLifecyclePolicyResponse_policy :: Lens' GetLifecyclePolicyResponse (Maybe LifecyclePolicy)
- getLifecyclePolicyResponse_httpStatus :: Lens' GetLifecyclePolicyResponse Int
Creating a Request
data GetLifecyclePolicy Source #
See: newGetLifecyclePolicy
smart constructor.
Instances
newGetLifecyclePolicy Source #
Create a value of GetLifecyclePolicy
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:policyId:GetLifecyclePolicy'
, getLifecyclePolicy_policyId
- The identifier of the lifecycle policy.
Request Lenses
getLifecyclePolicy_policyId :: Lens' GetLifecyclePolicy Text Source #
The identifier of the lifecycle policy.
Destructuring the Response
data GetLifecyclePolicyResponse Source #
See: newGetLifecyclePolicyResponse
smart constructor.
GetLifecyclePolicyResponse' | |
|
Instances
newGetLifecyclePolicyResponse Source #
Create a value of GetLifecyclePolicyResponse
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:policy:GetLifecyclePolicyResponse'
, getLifecyclePolicyResponse_policy
- Detailed information about the lifecycle policy.
$sel:httpStatus:GetLifecyclePolicyResponse'
, getLifecyclePolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getLifecyclePolicyResponse_policy :: Lens' GetLifecyclePolicyResponse (Maybe LifecyclePolicy) Source #
Detailed information about the lifecycle policy.
getLifecyclePolicyResponse_httpStatus :: Lens' GetLifecyclePolicyResponse Int Source #
The response's http status code.