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 |
Retrieves information about a logger definition version.
Synopsis
- data GetLoggerDefinitionVersion = GetLoggerDefinitionVersion' {}
- newGetLoggerDefinitionVersion :: Text -> Text -> GetLoggerDefinitionVersion
- getLoggerDefinitionVersion_nextToken :: Lens' GetLoggerDefinitionVersion (Maybe Text)
- getLoggerDefinitionVersion_loggerDefinitionVersionId :: Lens' GetLoggerDefinitionVersion Text
- getLoggerDefinitionVersion_loggerDefinitionId :: Lens' GetLoggerDefinitionVersion Text
- data GetLoggerDefinitionVersionResponse = GetLoggerDefinitionVersionResponse' {
- definition :: Maybe LoggerDefinitionVersion
- arn :: Maybe Text
- creationTimestamp :: Maybe Text
- version :: Maybe Text
- id :: Maybe Text
- httpStatus :: Int
- newGetLoggerDefinitionVersionResponse :: Int -> GetLoggerDefinitionVersionResponse
- getLoggerDefinitionVersionResponse_definition :: Lens' GetLoggerDefinitionVersionResponse (Maybe LoggerDefinitionVersion)
- getLoggerDefinitionVersionResponse_arn :: Lens' GetLoggerDefinitionVersionResponse (Maybe Text)
- getLoggerDefinitionVersionResponse_creationTimestamp :: Lens' GetLoggerDefinitionVersionResponse (Maybe Text)
- getLoggerDefinitionVersionResponse_version :: Lens' GetLoggerDefinitionVersionResponse (Maybe Text)
- getLoggerDefinitionVersionResponse_id :: Lens' GetLoggerDefinitionVersionResponse (Maybe Text)
- getLoggerDefinitionVersionResponse_httpStatus :: Lens' GetLoggerDefinitionVersionResponse Int
Creating a Request
data GetLoggerDefinitionVersion Source #
See: newGetLoggerDefinitionVersion
smart constructor.
GetLoggerDefinitionVersion' | |
|
Instances
newGetLoggerDefinitionVersion Source #
:: Text | |
-> Text | |
-> GetLoggerDefinitionVersion |
Create a value of GetLoggerDefinitionVersion
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:nextToken:GetLoggerDefinitionVersion'
, getLoggerDefinitionVersion_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:loggerDefinitionVersionId:GetLoggerDefinitionVersion'
, getLoggerDefinitionVersion_loggerDefinitionVersionId
- The ID of the logger definition version. This value maps to the
''Version'' property of the corresponding ''VersionInformation''
object, which is returned by ''ListLoggerDefinitionVersions''
requests. If the version is the last one that was associated with a
logger definition, the value also maps to the ''LatestVersion''
property of the corresponding ''DefinitionInformation'' object.
$sel:loggerDefinitionId:GetLoggerDefinitionVersion'
, getLoggerDefinitionVersion_loggerDefinitionId
- The ID of the logger definition.
Request Lenses
getLoggerDefinitionVersion_nextToken :: Lens' GetLoggerDefinitionVersion (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
getLoggerDefinitionVersion_loggerDefinitionVersionId :: Lens' GetLoggerDefinitionVersion Text Source #
The ID of the logger definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListLoggerDefinitionVersions'' requests. If the version is the last one that was associated with a logger definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.
getLoggerDefinitionVersion_loggerDefinitionId :: Lens' GetLoggerDefinitionVersion Text Source #
The ID of the logger definition.
Destructuring the Response
data GetLoggerDefinitionVersionResponse Source #
See: newGetLoggerDefinitionVersionResponse
smart constructor.
GetLoggerDefinitionVersionResponse' | |
|
Instances
newGetLoggerDefinitionVersionResponse Source #
Create a value of GetLoggerDefinitionVersionResponse
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:definition:GetLoggerDefinitionVersionResponse'
, getLoggerDefinitionVersionResponse_definition
- Information about the logger definition version.
$sel:arn:GetLoggerDefinitionVersionResponse'
, getLoggerDefinitionVersionResponse_arn
- The ARN of the logger definition version.
$sel:creationTimestamp:GetLoggerDefinitionVersionResponse'
, getLoggerDefinitionVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the logger definition
version was created.
$sel:version:GetLoggerDefinitionVersionResponse'
, getLoggerDefinitionVersionResponse_version
- The version of the logger definition version.
$sel:id:GetLoggerDefinitionVersionResponse'
, getLoggerDefinitionVersionResponse_id
- The ID of the logger definition version.
$sel:httpStatus:GetLoggerDefinitionVersionResponse'
, getLoggerDefinitionVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getLoggerDefinitionVersionResponse_definition :: Lens' GetLoggerDefinitionVersionResponse (Maybe LoggerDefinitionVersion) Source #
Information about the logger definition version.
getLoggerDefinitionVersionResponse_arn :: Lens' GetLoggerDefinitionVersionResponse (Maybe Text) Source #
The ARN of the logger definition version.
getLoggerDefinitionVersionResponse_creationTimestamp :: Lens' GetLoggerDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the logger definition version was created.
getLoggerDefinitionVersionResponse_version :: Lens' GetLoggerDefinitionVersionResponse (Maybe Text) Source #
The version of the logger definition version.
getLoggerDefinitionVersionResponse_id :: Lens' GetLoggerDefinitionVersionResponse (Maybe Text) Source #
The ID of the logger definition version.
getLoggerDefinitionVersionResponse_httpStatus :: Lens' GetLoggerDefinitionVersionResponse Int Source #
The response's http status code.