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 GetCoreDefinitionVersion = GetCoreDefinitionVersion' {}
- newGetCoreDefinitionVersion :: Text -> Text -> GetCoreDefinitionVersion
- getCoreDefinitionVersion_coreDefinitionId :: Lens' GetCoreDefinitionVersion Text
- getCoreDefinitionVersion_coreDefinitionVersionId :: Lens' GetCoreDefinitionVersion Text
- data GetCoreDefinitionVersionResponse = GetCoreDefinitionVersionResponse' {
- definition :: Maybe CoreDefinitionVersion
- arn :: Maybe Text
- nextToken :: Maybe Text
- creationTimestamp :: Maybe Text
- version :: Maybe Text
- id :: Maybe Text
- httpStatus :: Int
- newGetCoreDefinitionVersionResponse :: Int -> GetCoreDefinitionVersionResponse
- getCoreDefinitionVersionResponse_definition :: Lens' GetCoreDefinitionVersionResponse (Maybe CoreDefinitionVersion)
- getCoreDefinitionVersionResponse_arn :: Lens' GetCoreDefinitionVersionResponse (Maybe Text)
- getCoreDefinitionVersionResponse_nextToken :: Lens' GetCoreDefinitionVersionResponse (Maybe Text)
- getCoreDefinitionVersionResponse_creationTimestamp :: Lens' GetCoreDefinitionVersionResponse (Maybe Text)
- getCoreDefinitionVersionResponse_version :: Lens' GetCoreDefinitionVersionResponse (Maybe Text)
- getCoreDefinitionVersionResponse_id :: Lens' GetCoreDefinitionVersionResponse (Maybe Text)
- getCoreDefinitionVersionResponse_httpStatus :: Lens' GetCoreDefinitionVersionResponse Int
Creating a Request
data GetCoreDefinitionVersion Source #
See: newGetCoreDefinitionVersion
smart constructor.
GetCoreDefinitionVersion' | |
|
Instances
newGetCoreDefinitionVersion Source #
:: Text | |
-> Text | |
-> GetCoreDefinitionVersion |
Create a value of GetCoreDefinitionVersion
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:GetCoreDefinitionVersion'
, getCoreDefinitionVersion_coreDefinitionId
- The ID of the core definition.
$sel:coreDefinitionVersionId:GetCoreDefinitionVersion'
, getCoreDefinitionVersion_coreDefinitionVersionId
- The ID of the core definition version. This value maps to the
''Version'' property of the corresponding ''VersionInformation''
object, which is returned by ''ListCoreDefinitionVersions''
requests. If the version is the last one that was associated with a core
definition, the value also maps to the ''LatestVersion'' property of
the corresponding ''DefinitionInformation'' object.
Request Lenses
getCoreDefinitionVersion_coreDefinitionId :: Lens' GetCoreDefinitionVersion Text Source #
The ID of the core definition.
getCoreDefinitionVersion_coreDefinitionVersionId :: Lens' GetCoreDefinitionVersion Text Source #
The ID of the core definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListCoreDefinitionVersions'' requests. If the version is the last one that was associated with a core definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.
Destructuring the Response
data GetCoreDefinitionVersionResponse Source #
See: newGetCoreDefinitionVersionResponse
smart constructor.
GetCoreDefinitionVersionResponse' | |
|
Instances
newGetCoreDefinitionVersionResponse Source #
Create a value of GetCoreDefinitionVersionResponse
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:GetCoreDefinitionVersionResponse'
, getCoreDefinitionVersionResponse_definition
- Information about the core definition version.
$sel:arn:GetCoreDefinitionVersionResponse'
, getCoreDefinitionVersionResponse_arn
- The ARN of the core definition version.
$sel:nextToken:GetCoreDefinitionVersionResponse'
, getCoreDefinitionVersionResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:creationTimestamp:GetCoreDefinitionVersionResponse'
, getCoreDefinitionVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the core definition
version was created.
$sel:version:GetCoreDefinitionVersionResponse'
, getCoreDefinitionVersionResponse_version
- The version of the core definition version.
$sel:id:GetCoreDefinitionVersionResponse'
, getCoreDefinitionVersionResponse_id
- The ID of the core definition version.
$sel:httpStatus:GetCoreDefinitionVersionResponse'
, getCoreDefinitionVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getCoreDefinitionVersionResponse_definition :: Lens' GetCoreDefinitionVersionResponse (Maybe CoreDefinitionVersion) Source #
Information about the core definition version.
getCoreDefinitionVersionResponse_arn :: Lens' GetCoreDefinitionVersionResponse (Maybe Text) Source #
The ARN of the core definition version.
getCoreDefinitionVersionResponse_nextToken :: Lens' GetCoreDefinitionVersionResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
getCoreDefinitionVersionResponse_creationTimestamp :: Lens' GetCoreDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the core definition version was created.
getCoreDefinitionVersionResponse_version :: Lens' GetCoreDefinitionVersionResponse (Maybe Text) Source #
The version of the core definition version.
getCoreDefinitionVersionResponse_id :: Lens' GetCoreDefinitionVersionResponse (Maybe Text) Source #
The ID of the core definition version.
getCoreDefinitionVersionResponse_httpStatus :: Lens' GetCoreDefinitionVersionResponse Int Source #
The response's http status code.