| 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.GroundStation.GetConfig
Description
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.
Constructors
| GetConfig' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ConfigCapabilityType | |
| -> GetConfig |
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:
GetConfig, getConfig_configId - UUID of a Config.
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.
Constructors
| GetConfigResponse' | |
Fields
| |
Instances
Arguments
| :: 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:
GetConfig, getConfigResponse_configType - Type of a Config.
GetConfigResponse, getConfigResponse_tags - Tags assigned to a Config.
$sel:httpStatus:GetConfigResponse', getConfigResponse_httpStatus - The response's http status code.
GetConfigResponse, getConfigResponse_configArn - ARN of a Config
$sel:configData:GetConfigResponse', getConfigResponse_configData - Data elements in a Config.
GetConfig, getConfigResponse_configId - UUID of a Config.
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.