Copyright | (c) 2013-2016 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 |
Update an origin access identity.
- updateCloudFrontOriginAccessIdentity :: CloudFrontOriginAccessIdentityConfig -> Text -> UpdateCloudFrontOriginAccessIdentity
- data UpdateCloudFrontOriginAccessIdentity
- ucfoaiIfMatch :: Lens' UpdateCloudFrontOriginAccessIdentity (Maybe Text)
- ucfoaiCloudFrontOriginAccessIdentityConfig :: Lens' UpdateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig
- ucfoaiId :: Lens' UpdateCloudFrontOriginAccessIdentity Text
- updateCloudFrontOriginAccessIdentityResponse :: Int -> UpdateCloudFrontOriginAccessIdentityResponse
- data UpdateCloudFrontOriginAccessIdentityResponse
- ucfoairsETag :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe Text)
- ucfoairsCloudFrontOriginAccessIdentity :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
- ucfoairsResponseStatus :: Lens' UpdateCloudFrontOriginAccessIdentityResponse Int
Creating a Request
updateCloudFrontOriginAccessIdentity Source
Creates a value of UpdateCloudFrontOriginAccessIdentity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateCloudFrontOriginAccessIdentity Source
The request to update an origin access identity.
See: updateCloudFrontOriginAccessIdentity
smart constructor.
Request Lenses
ucfoaiIfMatch :: Lens' UpdateCloudFrontOriginAccessIdentity (Maybe Text) Source
The value of the ETag header you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.
ucfoaiCloudFrontOriginAccessIdentityConfig :: Lens' UpdateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig Source
The identity's configuration information.
ucfoaiId :: Lens' UpdateCloudFrontOriginAccessIdentity Text Source
The identity's id.
Destructuring the Response
updateCloudFrontOriginAccessIdentityResponse Source
Creates a value of UpdateCloudFrontOriginAccessIdentityResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateCloudFrontOriginAccessIdentityResponse Source
The returned result of the corresponding request.
See: updateCloudFrontOriginAccessIdentityResponse
smart constructor.
Response Lenses
ucfoairsETag :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe Text) Source
The current version of the configuration. For example: E2QWRUHAPOMQZL.
ucfoairsCloudFrontOriginAccessIdentity :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity) Source
The origin access identity's information.
ucfoairsResponseStatus :: Lens' UpdateCloudFrontOriginAccessIdentityResponse Int Source
The response status code.