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 |
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.
Instances
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:
$sel:id: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.
GetKeyGroupConfigResponse' | |
|
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.
$sel:keyGroupConfig: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.