| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.CloudFront.GetCloudFrontOriginAccessIdentity
Description
Get the information about an origin access identity.
- getCloudFrontOriginAccessIdentity :: Text -> GetCloudFrontOriginAccessIdentity
- data GetCloudFrontOriginAccessIdentity
- gcfoaiId :: Lens' GetCloudFrontOriginAccessIdentity Text
- getCloudFrontOriginAccessIdentityResponse :: Int -> GetCloudFrontOriginAccessIdentityResponse
- data GetCloudFrontOriginAccessIdentityResponse
- gcfoairsETag :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe Text)
- gcfoairsCloudFrontOriginAccessIdentity :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity)
- gcfoairsResponseStatus :: Lens' GetCloudFrontOriginAccessIdentityResponse Int
Creating a Request
getCloudFrontOriginAccessIdentity Source #
Arguments
| :: Text | |
| -> GetCloudFrontOriginAccessIdentity |
Creates a value of GetCloudFrontOriginAccessIdentity with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcfoaiId- The identity's ID.
data GetCloudFrontOriginAccessIdentity Source #
The request to get an origin access identity's information.
See: getCloudFrontOriginAccessIdentity smart constructor.
Instances
Request Lenses
Destructuring the Response
getCloudFrontOriginAccessIdentityResponse Source #
Creates a value of GetCloudFrontOriginAccessIdentityResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcfoairsETag- The current version of the origin access identity's information. For example:E2QWRUHAPOMQZL.gcfoairsCloudFrontOriginAccessIdentity- The origin access identity's information.gcfoairsResponseStatus- -- | The response status code.
data GetCloudFrontOriginAccessIdentityResponse Source #
The returned result of the corresponding request.
See: getCloudFrontOriginAccessIdentityResponse smart constructor.
Instances
Response Lenses
gcfoairsETag :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe Text) Source #
The current version of the origin access identity's information. For example: E2QWRUHAPOMQZL .
gcfoairsCloudFrontOriginAccessIdentity :: Lens' GetCloudFrontOriginAccessIdentityResponse (Maybe CloudFrontOriginAccessIdentity) Source #
The origin access identity's information.
gcfoairsResponseStatus :: Lens' GetCloudFrontOriginAccessIdentityResponse Int Source #
- - | The response status code.