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 resource definition version, including which resources are included in the version.
Synopsis
- data GetResourceDefinitionVersion = GetResourceDefinitionVersion' {}
- newGetResourceDefinitionVersion :: Text -> Text -> GetResourceDefinitionVersion
- getResourceDefinitionVersion_resourceDefinitionVersionId :: Lens' GetResourceDefinitionVersion Text
- getResourceDefinitionVersion_resourceDefinitionId :: Lens' GetResourceDefinitionVersion Text
- data GetResourceDefinitionVersionResponse = GetResourceDefinitionVersionResponse' {}
- newGetResourceDefinitionVersionResponse :: Int -> GetResourceDefinitionVersionResponse
- getResourceDefinitionVersionResponse_definition :: Lens' GetResourceDefinitionVersionResponse (Maybe ResourceDefinitionVersion)
- getResourceDefinitionVersionResponse_arn :: Lens' GetResourceDefinitionVersionResponse (Maybe Text)
- getResourceDefinitionVersionResponse_creationTimestamp :: Lens' GetResourceDefinitionVersionResponse (Maybe Text)
- getResourceDefinitionVersionResponse_version :: Lens' GetResourceDefinitionVersionResponse (Maybe Text)
- getResourceDefinitionVersionResponse_id :: Lens' GetResourceDefinitionVersionResponse (Maybe Text)
- getResourceDefinitionVersionResponse_httpStatus :: Lens' GetResourceDefinitionVersionResponse Int
Creating a Request
data GetResourceDefinitionVersion Source #
See: newGetResourceDefinitionVersion
smart constructor.
GetResourceDefinitionVersion' | |
|
Instances
newGetResourceDefinitionVersion Source #
:: Text |
|
-> Text | |
-> GetResourceDefinitionVersion |
Create a value of GetResourceDefinitionVersion
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:resourceDefinitionVersionId:GetResourceDefinitionVersion'
, getResourceDefinitionVersion_resourceDefinitionVersionId
- The ID of the resource definition version. This value maps to the
''Version'' property of the corresponding ''VersionInformation''
object, which is returned by ''ListResourceDefinitionVersions''
requests. If the version is the last one that was associated with a
resource definition, the value also maps to the ''LatestVersion''
property of the corresponding ''DefinitionInformation'' object.
$sel:resourceDefinitionId:GetResourceDefinitionVersion'
, getResourceDefinitionVersion_resourceDefinitionId
- The ID of the resource definition.
Request Lenses
getResourceDefinitionVersion_resourceDefinitionVersionId :: Lens' GetResourceDefinitionVersion Text Source #
The ID of the resource definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListResourceDefinitionVersions'' requests. If the version is the last one that was associated with a resource definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.
getResourceDefinitionVersion_resourceDefinitionId :: Lens' GetResourceDefinitionVersion Text Source #
The ID of the resource definition.
Destructuring the Response
data GetResourceDefinitionVersionResponse Source #
See: newGetResourceDefinitionVersionResponse
smart constructor.
GetResourceDefinitionVersionResponse' | |
|
Instances
newGetResourceDefinitionVersionResponse Source #
Create a value of GetResourceDefinitionVersionResponse
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:definition:GetResourceDefinitionVersionResponse'
, getResourceDefinitionVersionResponse_definition
- Information about the definition.
$sel:arn:GetResourceDefinitionVersionResponse'
, getResourceDefinitionVersionResponse_arn
- Arn of the resource definition version.
$sel:creationTimestamp:GetResourceDefinitionVersionResponse'
, getResourceDefinitionVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the resource definition
version was created.
$sel:version:GetResourceDefinitionVersionResponse'
, getResourceDefinitionVersionResponse_version
- The version of the resource definition version.
$sel:id:GetResourceDefinitionVersionResponse'
, getResourceDefinitionVersionResponse_id
- The ID of the resource definition version.
$sel:httpStatus:GetResourceDefinitionVersionResponse'
, getResourceDefinitionVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getResourceDefinitionVersionResponse_definition :: Lens' GetResourceDefinitionVersionResponse (Maybe ResourceDefinitionVersion) Source #
Information about the definition.
getResourceDefinitionVersionResponse_arn :: Lens' GetResourceDefinitionVersionResponse (Maybe Text) Source #
Arn of the resource definition version.
getResourceDefinitionVersionResponse_creationTimestamp :: Lens' GetResourceDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the resource definition version was created.
getResourceDefinitionVersionResponse_version :: Lens' GetResourceDefinitionVersionResponse (Maybe Text) Source #
The version of the resource definition version.
getResourceDefinitionVersionResponse_id :: Lens' GetResourceDefinitionVersionResponse (Maybe Text) Source #
The ID of the resource definition version.
getResourceDefinitionVersionResponse_httpStatus :: Lens' GetResourceDefinitionVersionResponse Int Source #
The response's http status code.