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 |
Creates a continuous deployment policy that distributes traffic for a custom domain name to two different CloudFront distributions.
To use a continuous deployment policy, first use CopyDistribution
to
create a staging distribution, then use UpdateDistribution
to modify
the staging distribution's configuration.
After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This workflow enables you to test changes to a distribution's configuration before moving all of your domain's production traffic to the new configuration.
Synopsis
- data CreateContinuousDeploymentPolicy = CreateContinuousDeploymentPolicy' {}
- newCreateContinuousDeploymentPolicy :: ContinuousDeploymentPolicyConfig -> CreateContinuousDeploymentPolicy
- createContinuousDeploymentPolicy_continuousDeploymentPolicyConfig :: Lens' CreateContinuousDeploymentPolicy ContinuousDeploymentPolicyConfig
- data CreateContinuousDeploymentPolicyResponse = CreateContinuousDeploymentPolicyResponse' {}
- newCreateContinuousDeploymentPolicyResponse :: Int -> CreateContinuousDeploymentPolicyResponse
- createContinuousDeploymentPolicyResponse_continuousDeploymentPolicy :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe ContinuousDeploymentPolicy)
- createContinuousDeploymentPolicyResponse_eTag :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe Text)
- createContinuousDeploymentPolicyResponse_location :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe Text)
- createContinuousDeploymentPolicyResponse_httpStatus :: Lens' CreateContinuousDeploymentPolicyResponse Int
Creating a Request
data CreateContinuousDeploymentPolicy Source #
See: newCreateContinuousDeploymentPolicy
smart constructor.
CreateContinuousDeploymentPolicy' | |
|
Instances
newCreateContinuousDeploymentPolicy Source #
Create a value of CreateContinuousDeploymentPolicy
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:
CreateContinuousDeploymentPolicy
, createContinuousDeploymentPolicy_continuousDeploymentPolicyConfig
- Contains the configuration for a continuous deployment policy.
Request Lenses
createContinuousDeploymentPolicy_continuousDeploymentPolicyConfig :: Lens' CreateContinuousDeploymentPolicy ContinuousDeploymentPolicyConfig Source #
Contains the configuration for a continuous deployment policy.
Destructuring the Response
data CreateContinuousDeploymentPolicyResponse Source #
See: newCreateContinuousDeploymentPolicyResponse
smart constructor.
CreateContinuousDeploymentPolicyResponse' | |
|
Instances
newCreateContinuousDeploymentPolicyResponse Source #
Create a value of CreateContinuousDeploymentPolicyResponse
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:
CreateContinuousDeploymentPolicyResponse
, createContinuousDeploymentPolicyResponse_continuousDeploymentPolicy
- A continuous deployment policy.
$sel:eTag:CreateContinuousDeploymentPolicyResponse'
, createContinuousDeploymentPolicyResponse_eTag
- The version identifier for the current version of the continuous
deployment policy.
$sel:location:CreateContinuousDeploymentPolicyResponse'
, createContinuousDeploymentPolicyResponse_location
- The location of the continuous deployment policy.
$sel:httpStatus:CreateContinuousDeploymentPolicyResponse'
, createContinuousDeploymentPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
createContinuousDeploymentPolicyResponse_continuousDeploymentPolicy :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe ContinuousDeploymentPolicy) Source #
A continuous deployment policy.
createContinuousDeploymentPolicyResponse_eTag :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe Text) Source #
The version identifier for the current version of the continuous deployment policy.
createContinuousDeploymentPolicyResponse_location :: Lens' CreateContinuousDeploymentPolicyResponse (Maybe Text) Source #
The location of the continuous deployment policy.
createContinuousDeploymentPolicyResponse_httpStatus :: Lens' CreateContinuousDeploymentPolicyResponse Int Source #
The response's http status code.