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 logger definition.
Synopsis
- data UpdateLoggerDefinition = UpdateLoggerDefinition' {
- name :: Maybe Text
- loggerDefinitionId :: Text
- newUpdateLoggerDefinition :: Text -> UpdateLoggerDefinition
- updateLoggerDefinition_name :: Lens' UpdateLoggerDefinition (Maybe Text)
- updateLoggerDefinition_loggerDefinitionId :: Lens' UpdateLoggerDefinition Text
- data UpdateLoggerDefinitionResponse = UpdateLoggerDefinitionResponse' {
- httpStatus :: Int
- newUpdateLoggerDefinitionResponse :: Int -> UpdateLoggerDefinitionResponse
- updateLoggerDefinitionResponse_httpStatus :: Lens' UpdateLoggerDefinitionResponse Int
Creating a Request
data UpdateLoggerDefinition Source #
See: newUpdateLoggerDefinition
smart constructor.
UpdateLoggerDefinition' | |
|
Instances
newUpdateLoggerDefinition Source #
Create a value of UpdateLoggerDefinition
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:UpdateLoggerDefinition'
, updateLoggerDefinition_name
- The name of the definition.
$sel:loggerDefinitionId:UpdateLoggerDefinition'
, updateLoggerDefinition_loggerDefinitionId
- The ID of the logger definition.
Request Lenses
updateLoggerDefinition_name :: Lens' UpdateLoggerDefinition (Maybe Text) Source #
The name of the definition.
updateLoggerDefinition_loggerDefinitionId :: Lens' UpdateLoggerDefinition Text Source #
The ID of the logger definition.
Destructuring the Response
data UpdateLoggerDefinitionResponse Source #
See: newUpdateLoggerDefinitionResponse
smart constructor.
UpdateLoggerDefinitionResponse' | |
|
Instances
Eq UpdateLoggerDefinitionResponse Source # | |
Read UpdateLoggerDefinitionResponse Source # | |
Show UpdateLoggerDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.UpdateLoggerDefinition | |
Generic UpdateLoggerDefinitionResponse Source # | |
NFData UpdateLoggerDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.UpdateLoggerDefinition rnf :: UpdateLoggerDefinitionResponse -> () # | |
type Rep UpdateLoggerDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.UpdateLoggerDefinition type Rep UpdateLoggerDefinitionResponse = D1 ('MetaData "UpdateLoggerDefinitionResponse" "Amazonka.Greengrass.UpdateLoggerDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "UpdateLoggerDefinitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateLoggerDefinitionResponse Source #
Create a value of UpdateLoggerDefinitionResponse
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:UpdateLoggerDefinitionResponse'
, updateLoggerDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
updateLoggerDefinitionResponse_httpStatus :: Lens' UpdateLoggerDefinitionResponse Int Source #
The response's http status code.