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 |
Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
Synopsis
- data CreateDistributionConfiguration = CreateDistributionConfiguration' {
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- name :: Text
- distributions :: [Distribution]
- clientToken :: Text
- newCreateDistributionConfiguration :: Text -> Text -> CreateDistributionConfiguration
- createDistributionConfiguration_description :: Lens' CreateDistributionConfiguration (Maybe Text)
- createDistributionConfiguration_tags :: Lens' CreateDistributionConfiguration (Maybe (HashMap Text Text))
- createDistributionConfiguration_name :: Lens' CreateDistributionConfiguration Text
- createDistributionConfiguration_distributions :: Lens' CreateDistributionConfiguration [Distribution]
- createDistributionConfiguration_clientToken :: Lens' CreateDistributionConfiguration Text
- data CreateDistributionConfigurationResponse = CreateDistributionConfigurationResponse' {}
- newCreateDistributionConfigurationResponse :: Int -> CreateDistributionConfigurationResponse
- createDistributionConfigurationResponse_requestId :: Lens' CreateDistributionConfigurationResponse (Maybe Text)
- createDistributionConfigurationResponse_clientToken :: Lens' CreateDistributionConfigurationResponse (Maybe Text)
- createDistributionConfigurationResponse_distributionConfigurationArn :: Lens' CreateDistributionConfigurationResponse (Maybe Text)
- createDistributionConfigurationResponse_httpStatus :: Lens' CreateDistributionConfigurationResponse Int
Creating a Request
data CreateDistributionConfiguration Source #
See: newCreateDistributionConfiguration
smart constructor.
CreateDistributionConfiguration' | |
|
Instances
newCreateDistributionConfiguration Source #
Create a value of CreateDistributionConfiguration
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:CreateDistributionConfiguration'
, createDistributionConfiguration_description
- The description of the distribution configuration.
$sel:tags:CreateDistributionConfiguration'
, createDistributionConfiguration_tags
- The tags of the distribution configuration.
$sel:name:CreateDistributionConfiguration'
, createDistributionConfiguration_name
- The name of the distribution configuration.
$sel:distributions:CreateDistributionConfiguration'
, createDistributionConfiguration_distributions
- The distributions of the distribution configuration.
$sel:clientToken:CreateDistributionConfiguration'
, createDistributionConfiguration_clientToken
- The idempotency token of the distribution configuration.
Request Lenses
createDistributionConfiguration_description :: Lens' CreateDistributionConfiguration (Maybe Text) Source #
The description of the distribution configuration.
createDistributionConfiguration_tags :: Lens' CreateDistributionConfiguration (Maybe (HashMap Text Text)) Source #
The tags of the distribution configuration.
createDistributionConfiguration_name :: Lens' CreateDistributionConfiguration Text Source #
The name of the distribution configuration.
createDistributionConfiguration_distributions :: Lens' CreateDistributionConfiguration [Distribution] Source #
The distributions of the distribution configuration.
createDistributionConfiguration_clientToken :: Lens' CreateDistributionConfiguration Text Source #
The idempotency token of the distribution configuration.
Destructuring the Response
data CreateDistributionConfigurationResponse Source #
See: newCreateDistributionConfigurationResponse
smart constructor.
CreateDistributionConfigurationResponse' | |
|
Instances
newCreateDistributionConfigurationResponse Source #
Create a value of CreateDistributionConfigurationResponse
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:CreateDistributionConfigurationResponse'
, createDistributionConfigurationResponse_requestId
- The request ID that uniquely identifies this request.
$sel:clientToken:CreateDistributionConfiguration'
, createDistributionConfigurationResponse_clientToken
- The idempotency token used to make this request idempotent.
$sel:distributionConfigurationArn:CreateDistributionConfigurationResponse'
, createDistributionConfigurationResponse_distributionConfigurationArn
- The Amazon Resource Name (ARN) of the distribution configuration that
was created by this request.
$sel:httpStatus:CreateDistributionConfigurationResponse'
, createDistributionConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
createDistributionConfigurationResponse_requestId :: Lens' CreateDistributionConfigurationResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
createDistributionConfigurationResponse_clientToken :: Lens' CreateDistributionConfigurationResponse (Maybe Text) Source #
The idempotency token used to make this request idempotent.
createDistributionConfigurationResponse_distributionConfigurationArn :: Lens' CreateDistributionConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the distribution configuration that was created by this request.
createDistributionConfigurationResponse_httpStatus :: Lens' CreateDistributionConfigurationResponse Int Source #
The response's http status code.