Copyright | (c) 2013-2018 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
- The ID of the core definition.
data GetCoreDefinition Source #
See: getCoreDefinition
smart constructor.
Request Lenses
gcdCoreDefinitionId :: Lens' GetCoreDefinition Text Source #
The ID of the core definition.
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
- The ARN of the latest version of the definition.gcdrsARN
- The ARN of the definition.gcdrsName
- The name of the definition.gcdrsCreationTimestamp
- The time, in milliseconds since the epoch, when the definition was created.gcdrsId
- The ID of the definition.gcdrsLatestVersion
- The latest version of the definition.gcdrsLastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last updated.gcdrsResponseStatus
- -- | The response status code.
data GetCoreDefinitionResponse Source #
See: getCoreDefinitionResponse
smart constructor.
Response Lenses
gcdrsLatestVersionARN :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The ARN of the latest version of the definition.
gcdrsCreationTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
gcdrsLatestVersion :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The latest version of the definition.
gcdrsLastUpdatedTimestamp :: Lens' GetCoreDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
gcdrsResponseStatus :: Lens' GetCoreDefinitionResponse Int Source #
- - | The response status code.