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 |
Create a new distribution with tags.
Synopsis
- data CreateDistributionWithTags = CreateDistributionWithTags' {}
- newCreateDistributionWithTags :: DistributionConfigWithTags -> CreateDistributionWithTags
- createDistributionWithTags_distributionConfigWithTags :: Lens' CreateDistributionWithTags DistributionConfigWithTags
- data CreateDistributionWithTagsResponse = CreateDistributionWithTagsResponse' {
- eTag :: Maybe Text
- distribution :: Maybe Distribution
- location :: Maybe Text
- httpStatus :: Int
- newCreateDistributionWithTagsResponse :: Int -> CreateDistributionWithTagsResponse
- createDistributionWithTagsResponse_eTag :: Lens' CreateDistributionWithTagsResponse (Maybe Text)
- createDistributionWithTagsResponse_distribution :: Lens' CreateDistributionWithTagsResponse (Maybe Distribution)
- createDistributionWithTagsResponse_location :: Lens' CreateDistributionWithTagsResponse (Maybe Text)
- createDistributionWithTagsResponse_httpStatus :: Lens' CreateDistributionWithTagsResponse Int
Creating a Request
data CreateDistributionWithTags Source #
The request to create a new distribution with tags.
See: newCreateDistributionWithTags
smart constructor.
CreateDistributionWithTags' | |
|
Instances
newCreateDistributionWithTags Source #
Create a value of CreateDistributionWithTags
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:distributionConfigWithTags:CreateDistributionWithTags'
, createDistributionWithTags_distributionConfigWithTags
- The distribution's configuration information.
Request Lenses
createDistributionWithTags_distributionConfigWithTags :: Lens' CreateDistributionWithTags DistributionConfigWithTags Source #
The distribution's configuration information.
Destructuring the Response
data CreateDistributionWithTagsResponse Source #
The returned result of the corresponding request.
See: newCreateDistributionWithTagsResponse
smart constructor.
CreateDistributionWithTagsResponse' | |
|
Instances
newCreateDistributionWithTagsResponse Source #
Create a value of CreateDistributionWithTagsResponse
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:eTag:CreateDistributionWithTagsResponse'
, createDistributionWithTagsResponse_eTag
- The current version of the distribution created.
$sel:distribution:CreateDistributionWithTagsResponse'
, createDistributionWithTagsResponse_distribution
- The distribution's information.
$sel:location:CreateDistributionWithTagsResponse'
, createDistributionWithTagsResponse_location
- The fully qualified URI of the new distribution resource just created.
$sel:httpStatus:CreateDistributionWithTagsResponse'
, createDistributionWithTagsResponse_httpStatus
- The response's http status code.
Response Lenses
createDistributionWithTagsResponse_eTag :: Lens' CreateDistributionWithTagsResponse (Maybe Text) Source #
The current version of the distribution created.
createDistributionWithTagsResponse_distribution :: Lens' CreateDistributionWithTagsResponse (Maybe Distribution) Source #
The distribution's information.
createDistributionWithTagsResponse_location :: Lens' CreateDistributionWithTagsResponse (Maybe Text) Source #
The fully qualified URI of the new distribution resource just created.
createDistributionWithTagsResponse_httpStatus :: Lens' CreateDistributionWithTagsResponse Int Source #
The response's http status code.