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 |
Deletes a CloudFront origin access control.
You cannot delete an origin access control if it's in use. First, update all distributions to remove the origin access control from all origins, then delete the origin access control.
Synopsis
- data DeleteOriginAccessControl = DeleteOriginAccessControl' {}
- newDeleteOriginAccessControl :: Text -> DeleteOriginAccessControl
- deleteOriginAccessControl_ifMatch :: Lens' DeleteOriginAccessControl (Maybe Text)
- deleteOriginAccessControl_id :: Lens' DeleteOriginAccessControl Text
- data DeleteOriginAccessControlResponse = DeleteOriginAccessControlResponse' {
- newDeleteOriginAccessControlResponse :: DeleteOriginAccessControlResponse
Creating a Request
data DeleteOriginAccessControl Source #
See: newDeleteOriginAccessControl
smart constructor.
Instances
newDeleteOriginAccessControl Source #
Create a value of DeleteOriginAccessControl
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:DeleteOriginAccessControl'
, deleteOriginAccessControl_ifMatch
- The current version (ETag
value) of the origin access control that you
are deleting.
DeleteOriginAccessControl
, deleteOriginAccessControl_id
- The unique identifier of the origin access control that you are
deleting.
Request Lenses
deleteOriginAccessControl_ifMatch :: Lens' DeleteOriginAccessControl (Maybe Text) Source #
The current version (ETag
value) of the origin access control that you
are deleting.
deleteOriginAccessControl_id :: Lens' DeleteOriginAccessControl Text Source #
The unique identifier of the origin access control that you are deleting.
Destructuring the Response
data DeleteOriginAccessControlResponse Source #
See: newDeleteOriginAccessControlResponse
smart constructor.
Instances
newDeleteOriginAccessControlResponse :: DeleteOriginAccessControlResponse Source #
Create a value of DeleteOriginAccessControlResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.