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 |
Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
Synopsis
- data UpdateDistributionConfiguration = UpdateDistributionConfiguration' {}
- newUpdateDistributionConfiguration :: Text -> Text -> UpdateDistributionConfiguration
- updateDistributionConfiguration_description :: Lens' UpdateDistributionConfiguration (Maybe Text)
- updateDistributionConfiguration_distributionConfigurationArn :: Lens' UpdateDistributionConfiguration Text
- updateDistributionConfiguration_distributions :: Lens' UpdateDistributionConfiguration [Distribution]
- updateDistributionConfiguration_clientToken :: Lens' UpdateDistributionConfiguration Text
- data UpdateDistributionConfigurationResponse = UpdateDistributionConfigurationResponse' {}
- newUpdateDistributionConfigurationResponse :: Int -> UpdateDistributionConfigurationResponse
- updateDistributionConfigurationResponse_requestId :: Lens' UpdateDistributionConfigurationResponse (Maybe Text)
- updateDistributionConfigurationResponse_clientToken :: Lens' UpdateDistributionConfigurationResponse (Maybe Text)
- updateDistributionConfigurationResponse_distributionConfigurationArn :: Lens' UpdateDistributionConfigurationResponse (Maybe Text)
- updateDistributionConfigurationResponse_httpStatus :: Lens' UpdateDistributionConfigurationResponse Int
Creating a Request
data UpdateDistributionConfiguration Source #
See: newUpdateDistributionConfiguration
smart constructor.
UpdateDistributionConfiguration' | |
|
Instances
newUpdateDistributionConfiguration Source #
:: Text |
|
-> Text | |
-> UpdateDistributionConfiguration |
Create a value of UpdateDistributionConfiguration
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:description:UpdateDistributionConfiguration'
, updateDistributionConfiguration_description
- The description of the distribution configuration.
$sel:distributionConfigurationArn:UpdateDistributionConfiguration'
, updateDistributionConfiguration_distributionConfigurationArn
- The Amazon Resource Name (ARN) of the distribution configuration that
you want to update.
$sel:distributions:UpdateDistributionConfiguration'
, updateDistributionConfiguration_distributions
- The distributions of the distribution configuration.
$sel:clientToken:UpdateDistributionConfiguration'
, updateDistributionConfiguration_clientToken
- The idempotency token of the distribution configuration.
Request Lenses
updateDistributionConfiguration_description :: Lens' UpdateDistributionConfiguration (Maybe Text) Source #
The description of the distribution configuration.
updateDistributionConfiguration_distributionConfigurationArn :: Lens' UpdateDistributionConfiguration Text Source #
The Amazon Resource Name (ARN) of the distribution configuration that you want to update.
updateDistributionConfiguration_distributions :: Lens' UpdateDistributionConfiguration [Distribution] Source #
The distributions of the distribution configuration.
updateDistributionConfiguration_clientToken :: Lens' UpdateDistributionConfiguration Text Source #
The idempotency token of the distribution configuration.
Destructuring the Response
data UpdateDistributionConfigurationResponse Source #
See: newUpdateDistributionConfigurationResponse
smart constructor.
UpdateDistributionConfigurationResponse' | |
|
Instances
newUpdateDistributionConfigurationResponse Source #
Create a value of UpdateDistributionConfigurationResponse
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:requestId:UpdateDistributionConfigurationResponse'
, updateDistributionConfigurationResponse_requestId
- The request ID that uniquely identifies this request.
$sel:clientToken:UpdateDistributionConfiguration'
, updateDistributionConfigurationResponse_clientToken
- The idempotency token used to make this request idempotent.
$sel:distributionConfigurationArn:UpdateDistributionConfiguration'
, updateDistributionConfigurationResponse_distributionConfigurationArn
- The Amazon Resource Name (ARN) of the distribution configuration that
was updated by this request.
$sel:httpStatus:UpdateDistributionConfigurationResponse'
, updateDistributionConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateDistributionConfigurationResponse_requestId :: Lens' UpdateDistributionConfigurationResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
updateDistributionConfigurationResponse_clientToken :: Lens' UpdateDistributionConfigurationResponse (Maybe Text) Source #
The idempotency token used to make this request idempotent.
updateDistributionConfigurationResponse_distributionConfigurationArn :: Lens' UpdateDistributionConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the distribution configuration that was updated by this request.
updateDistributionConfigurationResponse_httpStatus :: Lens' UpdateDistributionConfigurationResponse Int Source #
The response's http status code.