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 version of a logger definition that has already been defined.
Synopsis
- data CreateLoggerDefinitionVersion = CreateLoggerDefinitionVersion' {}
- newCreateLoggerDefinitionVersion :: Text -> CreateLoggerDefinitionVersion
- createLoggerDefinitionVersion_loggers :: Lens' CreateLoggerDefinitionVersion (Maybe [GreengrassLogger])
- createLoggerDefinitionVersion_amznClientToken :: Lens' CreateLoggerDefinitionVersion (Maybe Text)
- createLoggerDefinitionVersion_loggerDefinitionId :: Lens' CreateLoggerDefinitionVersion Text
- data CreateLoggerDefinitionVersionResponse = CreateLoggerDefinitionVersionResponse' {}
- newCreateLoggerDefinitionVersionResponse :: Int -> CreateLoggerDefinitionVersionResponse
- createLoggerDefinitionVersionResponse_arn :: Lens' CreateLoggerDefinitionVersionResponse (Maybe Text)
- createLoggerDefinitionVersionResponse_creationTimestamp :: Lens' CreateLoggerDefinitionVersionResponse (Maybe Text)
- createLoggerDefinitionVersionResponse_version :: Lens' CreateLoggerDefinitionVersionResponse (Maybe Text)
- createLoggerDefinitionVersionResponse_id :: Lens' CreateLoggerDefinitionVersionResponse (Maybe Text)
- createLoggerDefinitionVersionResponse_httpStatus :: Lens' CreateLoggerDefinitionVersionResponse Int
Creating a Request
data CreateLoggerDefinitionVersion Source #
See: newCreateLoggerDefinitionVersion
smart constructor.
CreateLoggerDefinitionVersion' | |
|
Instances
newCreateLoggerDefinitionVersion Source #
Create a value of CreateLoggerDefinitionVersion
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:loggers:CreateLoggerDefinitionVersion'
, createLoggerDefinitionVersion_loggers
- A list of loggers.
$sel:amznClientToken:CreateLoggerDefinitionVersion'
, createLoggerDefinitionVersion_amznClientToken
- A client token used to correlate requests and responses.
$sel:loggerDefinitionId:CreateLoggerDefinitionVersion'
, createLoggerDefinitionVersion_loggerDefinitionId
- The ID of the logger definition.
Request Lenses
createLoggerDefinitionVersion_loggers :: Lens' CreateLoggerDefinitionVersion (Maybe [GreengrassLogger]) Source #
A list of loggers.
createLoggerDefinitionVersion_amznClientToken :: Lens' CreateLoggerDefinitionVersion (Maybe Text) Source #
A client token used to correlate requests and responses.
createLoggerDefinitionVersion_loggerDefinitionId :: Lens' CreateLoggerDefinitionVersion Text Source #
The ID of the logger definition.
Destructuring the Response
data CreateLoggerDefinitionVersionResponse Source #
See: newCreateLoggerDefinitionVersionResponse
smart constructor.
CreateLoggerDefinitionVersionResponse' | |
|
Instances
newCreateLoggerDefinitionVersionResponse Source #
Create a value of CreateLoggerDefinitionVersionResponse
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:arn:CreateLoggerDefinitionVersionResponse'
, createLoggerDefinitionVersionResponse_arn
- The ARN of the version.
$sel:creationTimestamp:CreateLoggerDefinitionVersionResponse'
, createLoggerDefinitionVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the version was created.
$sel:version:CreateLoggerDefinitionVersionResponse'
, createLoggerDefinitionVersionResponse_version
- The ID of the version.
$sel:id:CreateLoggerDefinitionVersionResponse'
, createLoggerDefinitionVersionResponse_id
- The ID of the parent definition that the version is associated with.
$sel:httpStatus:CreateLoggerDefinitionVersionResponse'
, createLoggerDefinitionVersionResponse_httpStatus
- The response's http status code.
Response Lenses
createLoggerDefinitionVersionResponse_arn :: Lens' CreateLoggerDefinitionVersionResponse (Maybe Text) Source #
The ARN of the version.
createLoggerDefinitionVersionResponse_creationTimestamp :: Lens' CreateLoggerDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the version was created.
createLoggerDefinitionVersionResponse_version :: Lens' CreateLoggerDefinitionVersionResponse (Maybe Text) Source #
The ID of the version.
createLoggerDefinitionVersionResponse_id :: Lens' CreateLoggerDefinitionVersionResponse (Maybe Text) Source #
The ID of the parent definition that the version is associated with.
createLoggerDefinitionVersionResponse_httpStatus :: Lens' CreateLoggerDefinitionVersionResponse Int Source #
The response's http status code.