| 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.GetCloudFrontOriginAccessIdentity
Description
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_cloudFrontOriginAccessIdentity :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
- getCloudFrontOriginAccessIdentityResponse_eTag :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe Text)
- 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.
Constructors
| GetCloudFrontOriginAccessIdentity' | |
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:
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.
Constructors
| GetCloudFrontOriginAccessIdentityResponse' | |
Fields
| |
Instances
newGetCloudFrontOriginAccessIdentityResponse Source #
Arguments
| :: Int | |
| -> GetCloudFrontOriginAccessIdentityResponse |
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:cloudFrontOriginAccessIdentity:GetCloudFrontOriginAccessIdentityResponse', getCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity - The origin access identity's information.
$sel:eTag:GetCloudFrontOriginAccessIdentityResponse', getCloudFrontOriginAccessIdentityResponse_eTag - The current version of the origin access identity's information. For
example: E2QWRUHAPOMQZL.
$sel:httpStatus:GetCloudFrontOriginAccessIdentityResponse', getCloudFrontOriginAccessIdentityResponse_httpStatus - The response's http status code.
Response Lenses
getCloudFrontOriginAccessIdentityResponse_cloudFrontOriginAccessIdentity :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity) Source #
The origin access identity's information.
getCloudFrontOriginAccessIdentityResponse_eTag :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe Text) Source #
The current version of the origin access identity's information. For
example: E2QWRUHAPOMQZL.
getCloudFrontOriginAccessIdentityResponse_httpStatus :: Lens' GetCloudFrontOriginAccessIdentityResponse Int Source #
The response's http status code.