Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Creates a logger definition. You may optionally provide the initial version of the logger definition or use `CreateLoggerDefinitionVersion
` at a later time.
- createLoggerDefinition :: CreateLoggerDefinition
- data CreateLoggerDefinition
- cldAmznClientToken :: Lens' CreateLoggerDefinition (Maybe Text)
- cldInitialVersion :: Lens' CreateLoggerDefinition (Maybe LoggerDefinitionVersion)
- cldName :: Lens' CreateLoggerDefinition (Maybe Text)
- createLoggerDefinitionResponse :: Int -> CreateLoggerDefinitionResponse
- data CreateLoggerDefinitionResponse
- cldrsLatestVersionARN :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- cldrsARN :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- cldrsName :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- cldrsCreationTimestamp :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- cldrsId :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- cldrsLatestVersion :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- cldrsLastUpdatedTimestamp :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- cldrsResponseStatus :: Lens' CreateLoggerDefinitionResponse Int
Creating a Request
createLoggerDefinition :: CreateLoggerDefinition Source #
Creates a value of CreateLoggerDefinition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cldAmznClientToken
- The client token used to request idempotent operations.cldInitialVersion
- Information on the initial versioncldName
- name of the logger definition
data CreateLoggerDefinition Source #
See: createLoggerDefinition
smart constructor.
Request Lenses
cldAmznClientToken :: Lens' CreateLoggerDefinition (Maybe Text) Source #
The client token used to request idempotent operations.
cldInitialVersion :: Lens' CreateLoggerDefinition (Maybe LoggerDefinitionVersion) Source #
Information on the initial version
Destructuring the Response
createLoggerDefinitionResponse Source #
Creates a value of CreateLoggerDefinitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cldrsLatestVersionARN
- Latest version arn of the definition.cldrsARN
- Arn of the definition.cldrsName
- Name of the definition.cldrsCreationTimestamp
- Timestamp of when the definition was created.cldrsId
- Id of the definition.cldrsLatestVersion
- Last version of the definition.cldrsLastUpdatedTimestamp
- Last updated timestamp of the definition.cldrsResponseStatus
- -- | The response status code.
data CreateLoggerDefinitionResponse Source #
See: createLoggerDefinitionResponse
smart constructor.
Response Lenses
cldrsLatestVersionARN :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #
Latest version arn of the definition.
cldrsCreationTimestamp :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #
Timestamp of when the definition was created.
cldrsLatestVersion :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #
Last version of the definition.
cldrsLastUpdatedTimestamp :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #
Last updated timestamp of the definition.
cldrsResponseStatus :: Lens' CreateLoggerDefinitionResponse Int Source #
- - | The response status code.