| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.GetLoggerDefinition
Description
Retrieves information about a logger definition.
Synopsis
- data GetLoggerDefinition = GetLoggerDefinition' {}
- newGetLoggerDefinition :: Text -> GetLoggerDefinition
- getLoggerDefinition_loggerDefinitionId :: Lens' GetLoggerDefinition Text
- data GetLoggerDefinitionResponse = GetLoggerDefinitionResponse' {}
- newGetLoggerDefinitionResponse :: Int -> GetLoggerDefinitionResponse
- getLoggerDefinitionResponse_arn :: Lens' GetLoggerDefinitionResponse (Maybe Text)
- getLoggerDefinitionResponse_creationTimestamp :: Lens' GetLoggerDefinitionResponse (Maybe Text)
- getLoggerDefinitionResponse_id :: Lens' GetLoggerDefinitionResponse (Maybe Text)
- getLoggerDefinitionResponse_lastUpdatedTimestamp :: Lens' GetLoggerDefinitionResponse (Maybe Text)
- getLoggerDefinitionResponse_latestVersion :: Lens' GetLoggerDefinitionResponse (Maybe Text)
- getLoggerDefinitionResponse_latestVersionArn :: Lens' GetLoggerDefinitionResponse (Maybe Text)
- getLoggerDefinitionResponse_name :: Lens' GetLoggerDefinitionResponse (Maybe Text)
- getLoggerDefinitionResponse_tags :: Lens' GetLoggerDefinitionResponse (Maybe (HashMap Text Text))
- getLoggerDefinitionResponse_httpStatus :: Lens' GetLoggerDefinitionResponse Int
Creating a Request
data GetLoggerDefinition Source #
See: newGetLoggerDefinition smart constructor.
Constructors
| GetLoggerDefinition' | |
Fields
| |
Instances
newGetLoggerDefinition Source #
Create a value of GetLoggerDefinition 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:loggerDefinitionId:GetLoggerDefinition', getLoggerDefinition_loggerDefinitionId - The ID of the logger definition.
Request Lenses
getLoggerDefinition_loggerDefinitionId :: Lens' GetLoggerDefinition Text Source #
The ID of the logger definition.
Destructuring the Response
data GetLoggerDefinitionResponse Source #
See: newGetLoggerDefinitionResponse smart constructor.
Constructors
| GetLoggerDefinitionResponse' | |
Fields
| |
Instances
newGetLoggerDefinitionResponse Source #
Create a value of GetLoggerDefinitionResponse 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:
GetLoggerDefinitionResponse, getLoggerDefinitionResponse_arn - The ARN of the definition.
GetLoggerDefinitionResponse, getLoggerDefinitionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the definition was
created.
GetLoggerDefinitionResponse, getLoggerDefinitionResponse_id - The ID of the definition.
GetLoggerDefinitionResponse, getLoggerDefinitionResponse_lastUpdatedTimestamp - The time, in milliseconds since the epoch, when the definition was last
updated.
GetLoggerDefinitionResponse, getLoggerDefinitionResponse_latestVersion - The ID of the latest version associated with the definition.
GetLoggerDefinitionResponse, getLoggerDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.
GetLoggerDefinitionResponse, getLoggerDefinitionResponse_name - The name of the definition.
GetLoggerDefinitionResponse, getLoggerDefinitionResponse_tags - Tag(s) attached to the resource arn.
$sel:httpStatus:GetLoggerDefinitionResponse', getLoggerDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
getLoggerDefinitionResponse_arn :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #
The ARN of the definition.
getLoggerDefinitionResponse_creationTimestamp :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
getLoggerDefinitionResponse_id :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #
The ID of the definition.
getLoggerDefinitionResponse_lastUpdatedTimestamp :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
getLoggerDefinitionResponse_latestVersion :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
getLoggerDefinitionResponse_latestVersionArn :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
getLoggerDefinitionResponse_name :: Lens' GetLoggerDefinitionResponse (Maybe Text) Source #
The name of the definition.
getLoggerDefinitionResponse_tags :: Lens' GetLoggerDefinitionResponse (Maybe (HashMap Text Text)) Source #
Tag(s) attached to the resource arn.
getLoggerDefinitionResponse_httpStatus :: Lens' GetLoggerDefinitionResponse Int Source #
The response's http status code.