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 |
Gets a CloudFront origin access control, including its unique identifier.
Synopsis
- data GetOriginAccessControl = GetOriginAccessControl' {}
- newGetOriginAccessControl :: Text -> GetOriginAccessControl
- getOriginAccessControl_id :: Lens' GetOriginAccessControl Text
- data GetOriginAccessControlResponse = GetOriginAccessControlResponse' {}
- newGetOriginAccessControlResponse :: Int -> GetOriginAccessControlResponse
- getOriginAccessControlResponse_eTag :: Lens' GetOriginAccessControlResponse (Maybe Text)
- getOriginAccessControlResponse_originAccessControl :: Lens' GetOriginAccessControlResponse (Maybe OriginAccessControl)
- getOriginAccessControlResponse_httpStatus :: Lens' GetOriginAccessControlResponse Int
Creating a Request
data GetOriginAccessControl Source #
See: newGetOriginAccessControl
smart constructor.
Instances
newGetOriginAccessControl Source #
Create a value of GetOriginAccessControl
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:
GetOriginAccessControl
, getOriginAccessControl_id
- The unique identifier of the origin access control.
Request Lenses
getOriginAccessControl_id :: Lens' GetOriginAccessControl Text Source #
The unique identifier of the origin access control.
Destructuring the Response
data GetOriginAccessControlResponse Source #
See: newGetOriginAccessControlResponse
smart constructor.
GetOriginAccessControlResponse' | |
|
Instances
newGetOriginAccessControlResponse Source #
Create a value of GetOriginAccessControlResponse
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:GetOriginAccessControlResponse'
, getOriginAccessControlResponse_eTag
- The version identifier for the current version of the origin access
control.
$sel:originAccessControl:GetOriginAccessControlResponse'
, getOriginAccessControlResponse_originAccessControl
- Contains an origin access control, including its unique identifier.
$sel:httpStatus:GetOriginAccessControlResponse'
, getOriginAccessControlResponse_httpStatus
- The response's http status code.
Response Lenses
getOriginAccessControlResponse_eTag :: Lens' GetOriginAccessControlResponse (Maybe Text) Source #
The version identifier for the current version of the origin access control.
getOriginAccessControlResponse_originAccessControl :: Lens' GetOriginAccessControlResponse (Maybe OriginAccessControl) Source #
Contains an origin access control, including its unique identifier.
getOriginAccessControlResponse_httpStatus :: Lens' GetOriginAccessControlResponse Int Source #
The response's http status code.