Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Create a new origin access identity.
See: AWS API Reference for CreateCloudFrontOriginAccessIdentity.
- createCloudFrontOriginAccessIdentity :: CloudFrontOriginAccessIdentityConfig -> CreateCloudFrontOriginAccessIdentity
- data CreateCloudFrontOriginAccessIdentity
- ccfoaiCloudFrontOriginAccessIdentityConfig :: Lens' CreateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig
- createCloudFrontOriginAccessIdentityResponse :: Int -> CreateCloudFrontOriginAccessIdentityResponse
- data CreateCloudFrontOriginAccessIdentityResponse
- ccfoairsETag :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text)
- ccfoairsLocation :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text)
- ccfoairsCloudFrontOriginAccessIdentity :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
- ccfoairsStatus :: Lens' CreateCloudFrontOriginAccessIdentityResponse Int
Creating a Request
createCloudFrontOriginAccessIdentity Source
Creates a value of CreateCloudFrontOriginAccessIdentity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateCloudFrontOriginAccessIdentity Source
The request to create a new origin access identity.
See: createCloudFrontOriginAccessIdentity
smart constructor.
Request Lenses
ccfoaiCloudFrontOriginAccessIdentityConfig :: Lens' CreateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig Source
The origin access identity's configuration information.
Destructuring the Response
createCloudFrontOriginAccessIdentityResponse Source
Creates a value of CreateCloudFrontOriginAccessIdentityResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateCloudFrontOriginAccessIdentityResponse Source
The returned result of the corresponding request.
See: createCloudFrontOriginAccessIdentityResponse
smart constructor.
Response Lenses
ccfoairsETag :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text) Source
The current version of the origin access identity created.
ccfoairsLocation :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe Text) Source
The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity/cloudfront/E74FTE3AJFJ256A.
ccfoairsCloudFrontOriginAccessIdentity :: Lens' CreateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity) Source
The origin access identity's information.
ccfoairsStatus :: Lens' CreateCloudFrontOriginAccessIdentityResponse Int Source
The response status code.