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 resource definition, including its creation time and latest version.
- getResourceDefinition :: Text -> GetResourceDefinition
- data GetResourceDefinition
- grdResourceDefinitionId :: Lens' GetResourceDefinition Text
- getResourceDefinitionResponse :: Int -> GetResourceDefinitionResponse
- data GetResourceDefinitionResponse
- grdrsLatestVersionARN :: Lens' GetResourceDefinitionResponse (Maybe Text)
- grdrsARN :: Lens' GetResourceDefinitionResponse (Maybe Text)
- grdrsName :: Lens' GetResourceDefinitionResponse (Maybe Text)
- grdrsCreationTimestamp :: Lens' GetResourceDefinitionResponse (Maybe Text)
- grdrsId :: Lens' GetResourceDefinitionResponse (Maybe Text)
- grdrsLatestVersion :: Lens' GetResourceDefinitionResponse (Maybe Text)
- grdrsLastUpdatedTimestamp :: Lens' GetResourceDefinitionResponse (Maybe Text)
- grdrsResponseStatus :: Lens' GetResourceDefinitionResponse Int
Creating a Request
getResourceDefinition Source #
Creates a value of GetResourceDefinition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grdResourceDefinitionId
- The ID of the resource definition.
data GetResourceDefinition Source #
See: getResourceDefinition
smart constructor.
Request Lenses
grdResourceDefinitionId :: Lens' GetResourceDefinition Text Source #
The ID of the resource definition.
Destructuring the Response
getResourceDefinitionResponse Source #
Creates a value of GetResourceDefinitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grdrsLatestVersionARN
- The ARN of the latest version of the definition.grdrsARN
- The ARN of the definition.grdrsName
- The name of the definition.grdrsCreationTimestamp
- The time, in milliseconds since the epoch, when the definition was created.grdrsId
- The ID of the definition.grdrsLatestVersion
- The latest version of the definition.grdrsLastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last updated.grdrsResponseStatus
- -- | The response status code.
data GetResourceDefinitionResponse Source #
See: getResourceDefinitionResponse
smart constructor.
Response Lenses
grdrsLatestVersionARN :: Lens' GetResourceDefinitionResponse (Maybe Text) Source #
The ARN of the latest version of the definition.
grdrsCreationTimestamp :: Lens' GetResourceDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
grdrsLatestVersion :: Lens' GetResourceDefinitionResponse (Maybe Text) Source #
The latest version of the definition.
grdrsLastUpdatedTimestamp :: Lens' GetResourceDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
grdrsResponseStatus :: Lens' GetResourceDefinitionResponse Int Source #
- - | The response status code.