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 |
Gets a continuous deployment policy, including metadata (the policy's identifier and the date and time when the policy was last modified).
Synopsis
- data GetContinuousDeploymentPolicy = GetContinuousDeploymentPolicy' {}
- newGetContinuousDeploymentPolicy :: Text -> GetContinuousDeploymentPolicy
- getContinuousDeploymentPolicy_id :: Lens' GetContinuousDeploymentPolicy Text
- data GetContinuousDeploymentPolicyResponse = GetContinuousDeploymentPolicyResponse' {}
- newGetContinuousDeploymentPolicyResponse :: Int -> GetContinuousDeploymentPolicyResponse
- getContinuousDeploymentPolicyResponse_continuousDeploymentPolicy :: Lens' GetContinuousDeploymentPolicyResponse (Maybe ContinuousDeploymentPolicy)
- getContinuousDeploymentPolicyResponse_eTag :: Lens' GetContinuousDeploymentPolicyResponse (Maybe Text)
- getContinuousDeploymentPolicyResponse_httpStatus :: Lens' GetContinuousDeploymentPolicyResponse Int
Creating a Request
data GetContinuousDeploymentPolicy Source #
See: newGetContinuousDeploymentPolicy
smart constructor.
Instances
newGetContinuousDeploymentPolicy Source #
Create a value of GetContinuousDeploymentPolicy
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:
GetContinuousDeploymentPolicy
, getContinuousDeploymentPolicy_id
- The identifier of the continuous deployment policy that you are getting.
Request Lenses
getContinuousDeploymentPolicy_id :: Lens' GetContinuousDeploymentPolicy Text Source #
The identifier of the continuous deployment policy that you are getting.
Destructuring the Response
data GetContinuousDeploymentPolicyResponse Source #
See: newGetContinuousDeploymentPolicyResponse
smart constructor.
GetContinuousDeploymentPolicyResponse' | |
|
Instances
newGetContinuousDeploymentPolicyResponse Source #
Create a value of GetContinuousDeploymentPolicyResponse
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:
GetContinuousDeploymentPolicyResponse
, getContinuousDeploymentPolicyResponse_continuousDeploymentPolicy
- A continuous deployment policy.
$sel:eTag:GetContinuousDeploymentPolicyResponse'
, getContinuousDeploymentPolicyResponse_eTag
- The version identifier for the current version of the continuous
deployment policy.
$sel:httpStatus:GetContinuousDeploymentPolicyResponse'
, getContinuousDeploymentPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getContinuousDeploymentPolicyResponse_continuousDeploymentPolicy :: Lens' GetContinuousDeploymentPolicyResponse (Maybe ContinuousDeploymentPolicy) Source #
A continuous deployment policy.
getContinuousDeploymentPolicyResponse_eTag :: Lens' GetContinuousDeploymentPolicyResponse (Maybe Text) Source #
The version identifier for the current version of the continuous deployment policy.
getContinuousDeploymentPolicyResponse_httpStatus :: Lens' GetContinuousDeploymentPolicyResponse Int Source #
The response's http status code.