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 |
Update an origin access identity.
Synopsis
- data UpdateCloudFrontOriginAccessIdentity = UpdateCloudFrontOriginAccessIdentity' {}
- newUpdateCloudFrontOriginAccessIdentity :: CloudFrontOriginAccessIdentityConfig -> Text -> UpdateCloudFrontOriginAccessIdentity
- updateCloudFrontOriginAccessIdentity_ifMatch :: Lens' UpdateCloudFrontOriginAccessIdentity (Maybe Text)
- updateCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig :: Lens' UpdateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig
- updateCloudFrontOriginAccessIdentity_id :: Lens' UpdateCloudFrontOriginAccessIdentity Text
- data UpdateCloudFrontOriginAccessIdentityResponse = UpdateCloudFrontOriginAccessIdentityResponse' {}
- newUpdateCloudFrontOriginAccessIdentityResponse :: Int -> UpdateCloudFrontOriginAccessIdentityResponse
- updateCloudFrontOriginAccessIdentityResponse_eTag :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe Text)
- updateCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
- updateCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' UpdateCloudFrontOriginAccessIdentityResponse Int
Creating a Request
data UpdateCloudFrontOriginAccessIdentity Source #
The request to update an origin access identity.
See: newUpdateCloudFrontOriginAccessIdentity
smart constructor.
UpdateCloudFrontOriginAccessIdentity' | |
|
Instances
newUpdateCloudFrontOriginAccessIdentity Source #
:: CloudFrontOriginAccessIdentityConfig |
|
-> Text | |
-> UpdateCloudFrontOriginAccessIdentity |
Create a value of UpdateCloudFrontOriginAccessIdentity
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:ifMatch:UpdateCloudFrontOriginAccessIdentity'
, updateCloudFrontOriginAccessIdentity_ifMatch
- The value of the ETag
header that you received when retrieving the
identity's configuration. For example: E2QWRUHAPOMQZL
.
$sel:cloudFrontOriginAccessIdentityConfig:UpdateCloudFrontOriginAccessIdentity'
, updateCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig
- The identity's configuration information.
$sel:id:UpdateCloudFrontOriginAccessIdentity'
, updateCloudFrontOriginAccessIdentity_id
- The identity's id.
Request Lenses
updateCloudFrontOriginAccessIdentity_ifMatch :: Lens' UpdateCloudFrontOriginAccessIdentity (Maybe Text) Source #
The value of the ETag
header that you received when retrieving the
identity's configuration. For example: E2QWRUHAPOMQZL
.
updateCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig :: Lens' UpdateCloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentityConfig Source #
The identity's configuration information.
updateCloudFrontOriginAccessIdentity_id :: Lens' UpdateCloudFrontOriginAccessIdentity Text Source #
The identity's id.
Destructuring the Response
data UpdateCloudFrontOriginAccessIdentityResponse Source #
The returned result of the corresponding request.
See: newUpdateCloudFrontOriginAccessIdentityResponse
smart constructor.
UpdateCloudFrontOriginAccessIdentityResponse' | |
|
Instances
newUpdateCloudFrontOriginAccessIdentityResponse Source #
:: Int |
|
-> UpdateCloudFrontOriginAccessIdentityResponse |
Create a value of UpdateCloudFrontOriginAccessIdentityResponse
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:UpdateCloudFrontOriginAccessIdentityResponse'
, updateCloudFrontOriginAccessIdentityResponse_eTag
- The current version of the configuration. For example: E2QWRUHAPOMQZL
.
$sel:cloudFrontOriginAccessIdentity:UpdateCloudFrontOriginAccessIdentityResponse'
, updateCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity
- The origin access identity's information.
$sel:httpStatus:UpdateCloudFrontOriginAccessIdentityResponse'
, updateCloudFrontOriginAccessIdentityResponse_httpStatus
- The response's http status code.
Response Lenses
updateCloudFrontOriginAccessIdentityResponse_eTag :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe Text) Source #
The current version of the configuration. For example: E2QWRUHAPOMQZL
.
updateCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity) Source #
The origin access identity's information.
updateCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' UpdateCloudFrontOriginAccessIdentityResponse Int Source #
The response's http status code.