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 |
Get the information about an origin access identity.
Synopsis
- data GetCloudFrontOriginAccessIdentity = GetCloudFrontOriginAccessIdentity' {}
- newGetCloudFrontOriginAccessIdentity :: Text -> GetCloudFrontOriginAccessIdentity
- getCloudFrontOriginAccessIdentity_id :: Lens' GetCloudFrontOriginAccessIdentity Text
- data GetCloudFrontOriginAccessIdentityResponse = GetCloudFrontOriginAccessIdentityResponse' {}
- newGetCloudFrontOriginAccessIdentityResponse :: Int -> GetCloudFrontOriginAccessIdentityResponse
- getCloudFrontOriginAccessIdentityResponse_eTag :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe Text)
- getCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
- getCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' GetCloudFrontOriginAccessIdentityResponse Int
Creating a Request
data GetCloudFrontOriginAccessIdentity Source #
The request to get an origin access identity's information.
See: newGetCloudFrontOriginAccessIdentity
smart constructor.
Instances
newGetCloudFrontOriginAccessIdentity Source #
Create a value of GetCloudFrontOriginAccessIdentity
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:id:GetCloudFrontOriginAccessIdentity'
, getCloudFrontOriginAccessIdentity_id
- The identity's ID.
Request Lenses
getCloudFrontOriginAccessIdentity_id :: Lens' GetCloudFrontOriginAccessIdentity Text Source #
The identity's ID.
Destructuring the Response
data GetCloudFrontOriginAccessIdentityResponse Source #
The returned result of the corresponding request.
See: newGetCloudFrontOriginAccessIdentityResponse
smart constructor.
GetCloudFrontOriginAccessIdentityResponse' | |
|
Instances
newGetCloudFrontOriginAccessIdentityResponse Source #
Create a value of GetCloudFrontOriginAccessIdentityResponse
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:GetCloudFrontOriginAccessIdentityResponse'
, getCloudFrontOriginAccessIdentityResponse_eTag
- The current version of the origin access identity's information. For
example: E2QWRUHAPOMQZL
.
$sel:cloudFrontOriginAccessIdentity:GetCloudFrontOriginAccessIdentityResponse'
, getCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity
- The origin access identity's information.
$sel:httpStatus:GetCloudFrontOriginAccessIdentityResponse'
, getCloudFrontOriginAccessIdentityResponse_httpStatus
- The response's http status code.
Response Lenses
getCloudFrontOriginAccessIdentityResponse_eTag :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe Text) Source #
The current version of the origin access identity's information. For
example: E2QWRUHAPOMQZL
.
getCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity) Source #
The origin access identity's information.
getCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' GetCloudFrontOriginAccessIdentityResponse Int Source #
The response's http status code.