| 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.GetKeyGroupConfig
Description
Gets a key group configuration.
To get a key group configuration, you must provide the key group's
identifier. If the key group is referenced in a distribution's cache
behavior, you can get the key group's identifier using
ListDistributions or GetDistribution. If the key group is not
referenced in a cache behavior, you can get the identifier using
ListKeyGroups.
Synopsis
- data GetKeyGroupConfig = GetKeyGroupConfig' {}
- newGetKeyGroupConfig :: Text -> GetKeyGroupConfig
- getKeyGroupConfig_id :: Lens' GetKeyGroupConfig Text
- data GetKeyGroupConfigResponse = GetKeyGroupConfigResponse' {}
- newGetKeyGroupConfigResponse :: Int -> GetKeyGroupConfigResponse
- getKeyGroupConfigResponse_eTag :: Lens' GetKeyGroupConfigResponse (Maybe Text)
- getKeyGroupConfigResponse_keyGroupConfig :: Lens' GetKeyGroupConfigResponse (Maybe KeyGroupConfig)
- getKeyGroupConfigResponse_httpStatus :: Lens' GetKeyGroupConfigResponse Int
Creating a Request
data GetKeyGroupConfig Source #
See: newGetKeyGroupConfig smart constructor.
Constructors
| GetKeyGroupConfig' | |
Instances
Arguments
| :: Text | |
| -> GetKeyGroupConfig |
Create a value of GetKeyGroupConfig 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:
GetKeyGroupConfig, getKeyGroupConfig_id - The identifier of the key group whose configuration you are getting. To
get the identifier, use ListKeyGroups.
Request Lenses
getKeyGroupConfig_id :: Lens' GetKeyGroupConfig Text Source #
The identifier of the key group whose configuration you are getting. To
get the identifier, use ListKeyGroups.
Destructuring the Response
data GetKeyGroupConfigResponse Source #
See: newGetKeyGroupConfigResponse smart constructor.
Constructors
| GetKeyGroupConfigResponse' | |
Fields
| |
Instances
newGetKeyGroupConfigResponse Source #
Create a value of GetKeyGroupConfigResponse 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:GetKeyGroupConfigResponse', getKeyGroupConfigResponse_eTag - The identifier for this version of the key group.
GetKeyGroupConfigResponse, getKeyGroupConfigResponse_keyGroupConfig - The key group configuration.
$sel:httpStatus:GetKeyGroupConfigResponse', getKeyGroupConfigResponse_httpStatus - The response's http status code.
Response Lenses
getKeyGroupConfigResponse_eTag :: Lens' GetKeyGroupConfigResponse (Maybe Text) Source #
The identifier for this version of the key group.
getKeyGroupConfigResponse_keyGroupConfig :: Lens' GetKeyGroupConfigResponse (Maybe KeyGroupConfig) Source #
The key group configuration.
getKeyGroupConfigResponse_httpStatus :: Lens' GetKeyGroupConfigResponse Int Source #
The response's http status code.