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 |
Creates a Config
with the specified configData
parameters.
Only one type of configData
can be specified.
Synopsis
- data CreateConfig = CreateConfig' {
- tags :: Maybe (HashMap Text Text)
- configData :: ConfigTypeData
- name :: Text
- newCreateConfig :: ConfigTypeData -> Text -> CreateConfig
- createConfig_tags :: Lens' CreateConfig (Maybe (HashMap Text Text))
- createConfig_configData :: Lens' CreateConfig ConfigTypeData
- createConfig_name :: Lens' CreateConfig Text
- data ConfigIdResponse = ConfigIdResponse' {}
- newConfigIdResponse :: ConfigIdResponse
- configIdResponse_configArn :: Lens' ConfigIdResponse (Maybe Text)
- configIdResponse_configId :: Lens' ConfigIdResponse (Maybe Text)
- configIdResponse_configType :: Lens' ConfigIdResponse (Maybe ConfigCapabilityType)
Creating a Request
data CreateConfig Source #
See: newCreateConfig
smart constructor.
CreateConfig' | |
|
Instances
Create a value of CreateConfig
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:tags:CreateConfig'
, createConfig_tags
- Tags assigned to a Config
.
$sel:configData:CreateConfig'
, createConfig_configData
- Parameters of a Config
.
$sel:name:CreateConfig'
, createConfig_name
- Name of a Config
.
Request Lenses
createConfig_tags :: Lens' CreateConfig (Maybe (HashMap Text Text)) Source #
Tags assigned to a Config
.
createConfig_configData :: Lens' CreateConfig ConfigTypeData Source #
Parameters of a Config
.
createConfig_name :: Lens' CreateConfig Text Source #
Name of a Config
.
Destructuring the Response
data ConfigIdResponse Source #
See: newConfigIdResponse
smart constructor.
ConfigIdResponse' | |
|
Instances
newConfigIdResponse :: ConfigIdResponse Source #
Create a value of ConfigIdResponse
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:configArn:ConfigIdResponse'
, configIdResponse_configArn
- ARN of a Config
.
$sel:configId:ConfigIdResponse'
, configIdResponse_configId
- UUID of a Config
.
$sel:configType:ConfigIdResponse'
, configIdResponse_configType
- Type of a Config
.
Response Lenses
configIdResponse_configArn :: Lens' ConfigIdResponse (Maybe Text) Source #
ARN of a Config
.
configIdResponse_configId :: Lens' ConfigIdResponse (Maybe Text) Source #
UUID of a Config
.
configIdResponse_configType :: Lens' ConfigIdResponse (Maybe ConfigCapabilityType) Source #
Type of a Config
.