Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Retrieves information about a core definition version.
- getCoreDefinition :: Text -> GetCoreDefinition
- data GetCoreDefinition
- gcdCoreDefinitionId :: Lens' GetCoreDefinition Text
- getCoreDefinitionResponse :: Int -> GetCoreDefinitionResponse
- data GetCoreDefinitionResponse
- gcdrsLatestVersionARN :: Lens' GetCoreDefinitionResponse (Maybe Text)
- gcdrsARN :: Lens' GetCoreDefinitionResponse (Maybe Text)
- gcdrsName :: Lens' GetCoreDefinitionResponse (Maybe Text)
- gcdrsCreationTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text)
- gcdrsId :: Lens' GetCoreDefinitionResponse (Maybe Text)
- gcdrsLatestVersion :: Lens' GetCoreDefinitionResponse (Maybe Text)
- gcdrsLastUpdatedTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text)
- gcdrsResponseStatus :: Lens' GetCoreDefinitionResponse Int
Creating a Request
Creates a value of GetCoreDefinition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcdCoreDefinitionId
- core definition Id
data GetCoreDefinition Source #
See: getCoreDefinition
smart constructor.
Request Lenses
gcdCoreDefinitionId :: Lens' GetCoreDefinition Text Source #
core definition Id
Destructuring the Response
getCoreDefinitionResponse Source #
Creates a value of GetCoreDefinitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcdrsLatestVersionARN
- Latest version arn of the definition.gcdrsARN
- Arn of the definition.gcdrsName
- Name of the definition.gcdrsCreationTimestamp
- Timestamp of when the definition was created.gcdrsId
- Id of the definition.gcdrsLatestVersion
- Last version of the definition.gcdrsLastUpdatedTimestamp
- Last updated timestamp of the definition.gcdrsResponseStatus
- -- | The response status code.
data GetCoreDefinitionResponse Source #
See: getCoreDefinitionResponse
smart constructor.
Response Lenses
gcdrsLatestVersionARN :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
Latest version arn of the definition.
gcdrsCreationTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
Timestamp of when the definition was created.
gcdrsLatestVersion :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
Last version of the definition.
gcdrsLastUpdatedTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
Last updated timestamp of the definition.
gcdrsResponseStatus :: Lens' GetCoreDefinitionResponse Int Source #
- - | The response status code.