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 |
Updates a core definition.
Synopsis
- data UpdateCoreDefinition = UpdateCoreDefinition' {
- name :: Maybe Text
- coreDefinitionId :: Text
- newUpdateCoreDefinition :: Text -> UpdateCoreDefinition
- updateCoreDefinition_name :: Lens' UpdateCoreDefinition (Maybe Text)
- updateCoreDefinition_coreDefinitionId :: Lens' UpdateCoreDefinition Text
- data UpdateCoreDefinitionResponse = UpdateCoreDefinitionResponse' {
- httpStatus :: Int
- newUpdateCoreDefinitionResponse :: Int -> UpdateCoreDefinitionResponse
- updateCoreDefinitionResponse_httpStatus :: Lens' UpdateCoreDefinitionResponse Int
Creating a Request
data UpdateCoreDefinition Source #
See: newUpdateCoreDefinition
smart constructor.
UpdateCoreDefinition' | |
|
Instances
newUpdateCoreDefinition Source #
Create a value of UpdateCoreDefinition
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:name:UpdateCoreDefinition'
, updateCoreDefinition_name
- The name of the definition.
$sel:coreDefinitionId:UpdateCoreDefinition'
, updateCoreDefinition_coreDefinitionId
- The ID of the core definition.
Request Lenses
updateCoreDefinition_name :: Lens' UpdateCoreDefinition (Maybe Text) Source #
The name of the definition.
updateCoreDefinition_coreDefinitionId :: Lens' UpdateCoreDefinition Text Source #
The ID of the core definition.
Destructuring the Response
data UpdateCoreDefinitionResponse Source #
See: newUpdateCoreDefinitionResponse
smart constructor.
UpdateCoreDefinitionResponse' | |
|
Instances
newUpdateCoreDefinitionResponse Source #
Create a value of UpdateCoreDefinitionResponse
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:httpStatus:UpdateCoreDefinitionResponse'
, updateCoreDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
updateCoreDefinitionResponse_httpStatus :: Lens' UpdateCoreDefinitionResponse Int Source #
The response's http status code.