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 core definition version.
Synopsis
- data GetCoreDefinition = GetCoreDefinition' {}
- newGetCoreDefinition :: Text -> GetCoreDefinition
- getCoreDefinition_coreDefinitionId :: Lens' GetCoreDefinition Text
- data GetCoreDefinitionResponse = GetCoreDefinitionResponse' {}
- newGetCoreDefinitionResponse :: Int -> GetCoreDefinitionResponse
- getCoreDefinitionResponse_latestVersionArn :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_arn :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_name :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_creationTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_id :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_latestVersion :: Lens' GetCoreDefinitionResponse (Maybe Text)
- getCoreDefinitionResponse_lastUpdatedTimestamp :: 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.
GetCoreDefinition' | |
|
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.
GetCoreDefinitionResponse' | |
|
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:
$sel:latestVersionArn:GetCoreDefinitionResponse'
, getCoreDefinitionResponse_latestVersionArn
- The ARN of the latest version associated with the definition.
$sel:arn:GetCoreDefinitionResponse'
, getCoreDefinitionResponse_arn
- The ARN of the definition.
$sel:name:GetCoreDefinitionResponse'
, getCoreDefinitionResponse_name
- The name of the definition.
$sel:creationTimestamp:GetCoreDefinitionResponse'
, getCoreDefinitionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the definition was
created.
$sel:id:GetCoreDefinitionResponse'
, getCoreDefinitionResponse_id
- The ID of the definition.
$sel:latestVersion:GetCoreDefinitionResponse'
, getCoreDefinitionResponse_latestVersion
- The ID of the latest version associated with the definition.
$sel:lastUpdatedTimestamp:GetCoreDefinitionResponse'
, getCoreDefinitionResponse_lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last
updated.
$sel:tags:GetCoreDefinitionResponse'
, getCoreDefinitionResponse_tags
- Tag(s) attached to the resource arn.
$sel:httpStatus:GetCoreDefinitionResponse'
, getCoreDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
getCoreDefinitionResponse_latestVersionArn :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
getCoreDefinitionResponse_arn :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The ARN of the definition.
getCoreDefinitionResponse_name :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The name 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_latestVersion :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
getCoreDefinitionResponse_lastUpdatedTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
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.