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 |
Updates a CloudFront origin access control.
Synopsis
- data UpdateOriginAccessControl = UpdateOriginAccessControl' {}
- newUpdateOriginAccessControl :: OriginAccessControlConfig -> Text -> UpdateOriginAccessControl
- updateOriginAccessControl_ifMatch :: Lens' UpdateOriginAccessControl (Maybe Text)
- updateOriginAccessControl_originAccessControlConfig :: Lens' UpdateOriginAccessControl OriginAccessControlConfig
- updateOriginAccessControl_id :: Lens' UpdateOriginAccessControl Text
- data UpdateOriginAccessControlResponse = UpdateOriginAccessControlResponse' {}
- newUpdateOriginAccessControlResponse :: Int -> UpdateOriginAccessControlResponse
- updateOriginAccessControlResponse_eTag :: Lens' UpdateOriginAccessControlResponse (Maybe Text)
- updateOriginAccessControlResponse_originAccessControl :: Lens' UpdateOriginAccessControlResponse (Maybe OriginAccessControl)
- updateOriginAccessControlResponse_httpStatus :: Lens' UpdateOriginAccessControlResponse Int
Creating a Request
data UpdateOriginAccessControl Source #
See: newUpdateOriginAccessControl
smart constructor.
UpdateOriginAccessControl' | |
|
Instances
newUpdateOriginAccessControl Source #
Create a value of UpdateOriginAccessControl
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:UpdateOriginAccessControl'
, updateOriginAccessControl_ifMatch
- The current version (ETag
value) of the origin access control that you
are updating.
UpdateOriginAccessControl
, updateOriginAccessControl_originAccessControlConfig
- An origin access control.
UpdateOriginAccessControl
, updateOriginAccessControl_id
- The unique identifier of the origin access control that you are
updating.
Request Lenses
updateOriginAccessControl_ifMatch :: Lens' UpdateOriginAccessControl (Maybe Text) Source #
The current version (ETag
value) of the origin access control that you
are updating.
updateOriginAccessControl_originAccessControlConfig :: Lens' UpdateOriginAccessControl OriginAccessControlConfig Source #
An origin access control.
updateOriginAccessControl_id :: Lens' UpdateOriginAccessControl Text Source #
The unique identifier of the origin access control that you are updating.
Destructuring the Response
data UpdateOriginAccessControlResponse Source #
See: newUpdateOriginAccessControlResponse
smart constructor.
UpdateOriginAccessControlResponse' | |
|
Instances
newUpdateOriginAccessControlResponse Source #
Create a value of UpdateOriginAccessControlResponse
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:UpdateOriginAccessControlResponse'
, updateOriginAccessControlResponse_eTag
- The new version of the origin access control after it has been updated.
$sel:originAccessControl:UpdateOriginAccessControlResponse'
, updateOriginAccessControlResponse_originAccessControl
- The origin access control after it has been updated.
$sel:httpStatus:UpdateOriginAccessControlResponse'
, updateOriginAccessControlResponse_httpStatus
- The response's http status code.
Response Lenses
updateOriginAccessControlResponse_eTag :: Lens' UpdateOriginAccessControlResponse (Maybe Text) Source #
The new version of the origin access control after it has been updated.
updateOriginAccessControlResponse_originAccessControl :: Lens' UpdateOriginAccessControlResponse (Maybe OriginAccessControl) Source #
The origin access control after it has been updated.
updateOriginAccessControlResponse_httpStatus :: Lens' UpdateOriginAccessControlResponse Int Source #
The response's http status code.