| 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.GetCloudFrontOriginAccessIdentityConfig
Description
Get the configuration information about an origin access identity.
Synopsis
- data GetCloudFrontOriginAccessIdentityConfig = GetCloudFrontOriginAccessIdentityConfig' {}
- newGetCloudFrontOriginAccessIdentityConfig :: Text -> GetCloudFrontOriginAccessIdentityConfig
- getCloudFrontOriginAccessIdentityConfig_id :: Lens' GetCloudFrontOriginAccessIdentityConfig Text
- data GetCloudFrontOriginAccessIdentityConfigResponse = GetCloudFrontOriginAccessIdentityConfigResponse' {}
- newGetCloudFrontOriginAccessIdentityConfigResponse :: Int -> GetCloudFrontOriginAccessIdentityConfigResponse
- getCloudFrontOriginAccessIdentityConfigResponse_cloudFrontOriginAccessIdentityConfig :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe CloudFrontOriginAccessIdentityConfig)
- getCloudFrontOriginAccessIdentityConfigResponse_eTag :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe Text)
- getCloudFrontOriginAccessIdentityConfigResponse_httpStatus :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse Int
Creating a Request
data GetCloudFrontOriginAccessIdentityConfig Source #
The origin access identity's configuration information. For more information, see CloudFrontOriginAccessIdentityConfig.
See: newGetCloudFrontOriginAccessIdentityConfig smart constructor.
Constructors
| GetCloudFrontOriginAccessIdentityConfig' | |
Instances
newGetCloudFrontOriginAccessIdentityConfig Source #
Create a value of GetCloudFrontOriginAccessIdentityConfig 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:
GetCloudFrontOriginAccessIdentityConfig, getCloudFrontOriginAccessIdentityConfig_id - The identity's ID.
Request Lenses
getCloudFrontOriginAccessIdentityConfig_id :: Lens' GetCloudFrontOriginAccessIdentityConfig Text Source #
The identity's ID.
Destructuring the Response
data GetCloudFrontOriginAccessIdentityConfigResponse Source #
The returned result of the corresponding request.
See: newGetCloudFrontOriginAccessIdentityConfigResponse smart constructor.
Constructors
| GetCloudFrontOriginAccessIdentityConfigResponse' | |
Fields
| |
Instances
newGetCloudFrontOriginAccessIdentityConfigResponse Source #
Arguments
| :: Int |
|
| -> GetCloudFrontOriginAccessIdentityConfigResponse |
Create a value of GetCloudFrontOriginAccessIdentityConfigResponse 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:
GetCloudFrontOriginAccessIdentityConfigResponse, getCloudFrontOriginAccessIdentityConfigResponse_cloudFrontOriginAccessIdentityConfig - The origin access identity's configuration information.
$sel:eTag:GetCloudFrontOriginAccessIdentityConfigResponse', getCloudFrontOriginAccessIdentityConfigResponse_eTag - The current version of the configuration. For example: E2QWRUHAPOMQZL.
$sel:httpStatus:GetCloudFrontOriginAccessIdentityConfigResponse', getCloudFrontOriginAccessIdentityConfigResponse_httpStatus - The response's http status code.
Response Lenses
getCloudFrontOriginAccessIdentityConfigResponse_cloudFrontOriginAccessIdentityConfig :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe CloudFrontOriginAccessIdentityConfig) Source #
The origin access identity's configuration information.
getCloudFrontOriginAccessIdentityConfigResponse_eTag :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse (Maybe Text) Source #
The current version of the configuration. For example: E2QWRUHAPOMQZL.
getCloudFrontOriginAccessIdentityConfigResponse_httpStatus :: Lens' GetCloudFrontOriginAccessIdentityConfigResponse Int Source #
The response's http status code.