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 |
Returns Config
information.
Only one Config
response can be returned.
Synopsis
- data GetConfig = GetConfig' {}
- newGetConfig :: Text -> ConfigCapabilityType -> GetConfig
- getConfig_configId :: Lens' GetConfig Text
- getConfig_configType :: Lens' GetConfig ConfigCapabilityType
- data GetConfigResponse = GetConfigResponse' {
- configType :: Maybe ConfigCapabilityType
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- configArn :: Text
- configData :: ConfigTypeData
- configId :: Text
- name :: Text
- newGetConfigResponse :: Int -> Text -> ConfigTypeData -> Text -> Text -> GetConfigResponse
- getConfigResponse_configType :: Lens' GetConfigResponse (Maybe ConfigCapabilityType)
- getConfigResponse_tags :: Lens' GetConfigResponse (Maybe (HashMap Text Text))
- getConfigResponse_httpStatus :: Lens' GetConfigResponse Int
- getConfigResponse_configArn :: Lens' GetConfigResponse Text
- getConfigResponse_configData :: Lens' GetConfigResponse ConfigTypeData
- getConfigResponse_configId :: Lens' GetConfigResponse Text
- getConfigResponse_name :: Lens' GetConfigResponse Text
Creating a Request
See: newGetConfig
smart constructor.
GetConfig' | |
|
Instances
Create a value of GetConfig
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:configId:GetConfig'
, getConfig_configId
- UUID of a Config
.
$sel:configType:GetConfig'
, getConfig_configType
- Type of a Config
.
Request Lenses
getConfig_configType :: Lens' GetConfig ConfigCapabilityType Source #
Type of a Config
.
Destructuring the Response
data GetConfigResponse Source #
See: newGetConfigResponse
smart constructor.
GetConfigResponse' | |
|
Instances
:: Int | |
-> Text | |
-> ConfigTypeData | |
-> Text | |
-> Text | |
-> GetConfigResponse |
Create a value of GetConfigResponse
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:configType:GetConfig'
, getConfigResponse_configType
- Type of a Config
.
$sel:tags:GetConfigResponse'
, getConfigResponse_tags
- Tags assigned to a Config
.
$sel:httpStatus:GetConfigResponse'
, getConfigResponse_httpStatus
- The response's http status code.
$sel:configArn:GetConfigResponse'
, getConfigResponse_configArn
- ARN of a Config
$sel:configData:GetConfigResponse'
, getConfigResponse_configData
- Data elements in a Config
.
$sel:configId:GetConfig'
, getConfigResponse_configId
- UUID of a Config
.
$sel:name:GetConfigResponse'
, getConfigResponse_name
- Name of a Config
.
Response Lenses
getConfigResponse_configType :: Lens' GetConfigResponse (Maybe ConfigCapabilityType) Source #
Type of a Config
.
getConfigResponse_tags :: Lens' GetConfigResponse (Maybe (HashMap Text Text)) Source #
Tags assigned to a Config
.
getConfigResponse_httpStatus :: Lens' GetConfigResponse Int Source #
The response's http status code.
getConfigResponse_configArn :: Lens' GetConfigResponse Text Source #
ARN of a Config
getConfigResponse_configData :: Lens' GetConfigResponse ConfigTypeData Source #
Data elements in a Config
.
getConfigResponse_configId :: Lens' GetConfigResponse Text Source #
UUID of a Config
.
getConfigResponse_name :: Lens' GetConfigResponse Text Source #
Name of a Config
.