| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFront.UpdateCloudFrontOriginAccessIdentity
Description
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_cloudFrontOriginAccessIdentity :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
- updateCloudFrontOriginAccessIdentityResponse_eTag :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe Text)
- updateCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' UpdateCloudFrontOriginAccessIdentityResponse Int
Creating a Request
data UpdateCloudFrontOriginAccessIdentity Source #
The request to update an origin access identity.
See: newUpdateCloudFrontOriginAccessIdentity smart constructor.
Constructors
| UpdateCloudFrontOriginAccessIdentity' | |
Fields
| |
Instances
newUpdateCloudFrontOriginAccessIdentity Source #
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.
UpdateCloudFrontOriginAccessIdentity, updateCloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig - The identity's configuration information.
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.
Constructors
| UpdateCloudFrontOriginAccessIdentityResponse' | |
Fields
| |
Instances
newUpdateCloudFrontOriginAccessIdentityResponse Source #
Arguments
| :: 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:cloudFrontOriginAccessIdentity:UpdateCloudFrontOriginAccessIdentityResponse', updateCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity - The origin access identity's information.
$sel:eTag:UpdateCloudFrontOriginAccessIdentityResponse', updateCloudFrontOriginAccessIdentityResponse_eTag - The current version of the configuration. For example: E2QWRUHAPOMQZL.
$sel:httpStatus:UpdateCloudFrontOriginAccessIdentityResponse', updateCloudFrontOriginAccessIdentityResponse_httpStatus - The response's http status code.
Response Lenses
updateCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity) Source #
The origin access identity's information.
updateCloudFrontOriginAccessIdentityResponse_eTag :: Lens' UpdateCloudFrontOriginAccessIdentityResponse (Maybe Text) Source #
The current version of the configuration. For example: E2QWRUHAPOMQZL.
updateCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' UpdateCloudFrontOriginAccessIdentityResponse Int Source #
The response's http status code.