| 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.GetCoreDefinition
Description
Retrieves information about a core definition version.
Synopsis
- data GetCoreDefinition = GetCoreDefinition' {}
- newGetCoreDefinition :: Text -> GetCoreDefinition
- getCoreDefinition_coreDefinitionId :: Lens' GetCoreDefinition Text
- data GetCoreDefinitionResponse = GetCoreDefinitionResponse' {}
- newGetCoreDefinitionResponse :: Int -> GetCoreDefinitionResponse
- getCoreDefinitionResponse_arn :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_creationTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_id :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_lastUpdatedTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_latestVersion :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_latestVersionArn :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_name :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_tags :: Lens' GetCoreDefinitionResponse (Maybe (HashMap Text Text))
- getCoreDefinitionResponse_httpStatus :: Lens' GetCoreDefinitionResponse Int
Creating a Request
data GetCoreDefinition Source #
See: newGetCoreDefinition smart constructor.
Constructors
| GetCoreDefinition' | |
Fields
| |
Instances
Create a value of GetCoreDefinition 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:coreDefinitionId:GetCoreDefinition', getCoreDefinition_coreDefinitionId - The ID of the core definition.
Request Lenses
getCoreDefinition_coreDefinitionId :: Lens' GetCoreDefinition Text Source #
The ID of the core definition.
Destructuring the Response
data GetCoreDefinitionResponse Source #
See: newGetCoreDefinitionResponse smart constructor.
Constructors
| GetCoreDefinitionResponse' | |
Fields
| |
Instances
newGetCoreDefinitionResponse Source #
Create a value of GetCoreDefinitionResponse 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:
GetCoreDefinitionResponse, getCoreDefinitionResponse_arn - The ARN of the definition.
GetCoreDefinitionResponse, getCoreDefinitionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the definition was
created.
GetCoreDefinitionResponse, getCoreDefinitionResponse_id - The ID of the definition.
GetCoreDefinitionResponse, getCoreDefinitionResponse_lastUpdatedTimestamp - The time, in milliseconds since the epoch, when the definition was last
updated.
GetCoreDefinitionResponse, getCoreDefinitionResponse_latestVersion - The ID of the latest version associated with the definition.
GetCoreDefinitionResponse, getCoreDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.
GetCoreDefinitionResponse, getCoreDefinitionResponse_name - The name of the definition.
GetCoreDefinitionResponse, getCoreDefinitionResponse_tags - Tag(s) attached to the resource arn.
$sel:httpStatus:GetCoreDefinitionResponse', getCoreDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
getCoreDefinitionResponse_arn :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The ARN of the definition.
getCoreDefinitionResponse_creationTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
getCoreDefinitionResponse_id :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The ID of the definition.
getCoreDefinitionResponse_lastUpdatedTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
getCoreDefinitionResponse_latestVersion :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
getCoreDefinitionResponse_latestVersionArn :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
getCoreDefinitionResponse_name :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The name of the definition.
getCoreDefinitionResponse_tags :: Lens' GetCoreDefinitionResponse (Maybe (HashMap Text Text)) Source #
Tag(s) attached to the resource arn.
getCoreDefinitionResponse_httpStatus :: Lens' GetCoreDefinitionResponse Int Source #
The response's http status code.