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 logger definition. You may provide the initial version of the logger definition now or use ''CreateLoggerDefinitionVersion'' at a later time.
Synopsis
- data CreateLoggerDefinition = CreateLoggerDefinition' {}
- newCreateLoggerDefinition :: CreateLoggerDefinition
- createLoggerDefinition_amznClientToken :: Lens' CreateLoggerDefinition (Maybe Text)
- createLoggerDefinition_initialVersion :: Lens' CreateLoggerDefinition (Maybe LoggerDefinitionVersion)
- createLoggerDefinition_name :: Lens' CreateLoggerDefinition (Maybe Text)
- createLoggerDefinition_tags :: Lens' CreateLoggerDefinition (Maybe (HashMap Text Text))
- data CreateLoggerDefinitionResponse = CreateLoggerDefinitionResponse' {
- latestVersionArn :: Maybe Text
- arn :: Maybe Text
- name :: Maybe Text
- creationTimestamp :: Maybe Text
- id :: Maybe Text
- latestVersion :: Maybe Text
- lastUpdatedTimestamp :: Maybe Text
- httpStatus :: Int
- newCreateLoggerDefinitionResponse :: Int -> CreateLoggerDefinitionResponse
- createLoggerDefinitionResponse_latestVersionArn :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- createLoggerDefinitionResponse_arn :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- createLoggerDefinitionResponse_name :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- createLoggerDefinitionResponse_creationTimestamp :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- createLoggerDefinitionResponse_id :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- createLoggerDefinitionResponse_latestVersion :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- createLoggerDefinitionResponse_lastUpdatedTimestamp :: Lens' CreateLoggerDefinitionResponse (Maybe Text)
- createLoggerDefinitionResponse_httpStatus :: Lens' CreateLoggerDefinitionResponse Int
Creating a Request
data CreateLoggerDefinition Source #
See: newCreateLoggerDefinition
smart constructor.
CreateLoggerDefinition' | |
|
Instances
newCreateLoggerDefinition :: CreateLoggerDefinition Source #
Create a value of CreateLoggerDefinition
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:amznClientToken:CreateLoggerDefinition'
, createLoggerDefinition_amznClientToken
- A client token used to correlate requests and responses.
$sel:initialVersion:CreateLoggerDefinition'
, createLoggerDefinition_initialVersion
- Information about the initial version of the logger definition.
$sel:name:CreateLoggerDefinition'
, createLoggerDefinition_name
- The name of the logger definition.
$sel:tags:CreateLoggerDefinition'
, createLoggerDefinition_tags
- Tag(s) to add to the new resource.
Request Lenses
createLoggerDefinition_amznClientToken :: Lens' CreateLoggerDefinition (Maybe Text) Source #
A client token used to correlate requests and responses.
createLoggerDefinition_initialVersion :: Lens' CreateLoggerDefinition (Maybe LoggerDefinitionVersion) Source #
Information about the initial version of the logger definition.
createLoggerDefinition_name :: Lens' CreateLoggerDefinition (Maybe Text) Source #
The name of the logger definition.
createLoggerDefinition_tags :: Lens' CreateLoggerDefinition (Maybe (HashMap Text Text)) Source #
Tag(s) to add to the new resource.
Destructuring the Response
data CreateLoggerDefinitionResponse Source #
See: newCreateLoggerDefinitionResponse
smart constructor.
CreateLoggerDefinitionResponse' | |
|
Instances
newCreateLoggerDefinitionResponse Source #
Create a value of CreateLoggerDefinitionResponse
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:latestVersionArn:CreateLoggerDefinitionResponse'
, createLoggerDefinitionResponse_latestVersionArn
- The ARN of the latest version associated with the definition.
$sel:arn:CreateLoggerDefinitionResponse'
, createLoggerDefinitionResponse_arn
- The ARN of the definition.
$sel:name:CreateLoggerDefinition'
, createLoggerDefinitionResponse_name
- The name of the definition.
$sel:creationTimestamp:CreateLoggerDefinitionResponse'
, createLoggerDefinitionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the definition was
created.
$sel:id:CreateLoggerDefinitionResponse'
, createLoggerDefinitionResponse_id
- The ID of the definition.
$sel:latestVersion:CreateLoggerDefinitionResponse'
, createLoggerDefinitionResponse_latestVersion
- The ID of the latest version associated with the definition.
$sel:lastUpdatedTimestamp:CreateLoggerDefinitionResponse'
, createLoggerDefinitionResponse_lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last
updated.
$sel:httpStatus:CreateLoggerDefinitionResponse'
, createLoggerDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
createLoggerDefinitionResponse_latestVersionArn :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
createLoggerDefinitionResponse_arn :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #
The ARN of the definition.
createLoggerDefinitionResponse_name :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #
The name of the definition.
createLoggerDefinitionResponse_creationTimestamp :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
createLoggerDefinitionResponse_id :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #
The ID of the definition.
createLoggerDefinitionResponse_latestVersion :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
createLoggerDefinitionResponse_lastUpdatedTimestamp :: Lens' CreateLoggerDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
createLoggerDefinitionResponse_httpStatus :: Lens' CreateLoggerDefinitionResponse Int Source #
The response's http status code.