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 group version.
Synopsis
- data GetGroupVersion = GetGroupVersion' {
- groupVersionId :: Text
- groupId :: Text
- newGetGroupVersion :: Text -> Text -> GetGroupVersion
- getGroupVersion_groupVersionId :: Lens' GetGroupVersion Text
- getGroupVersion_groupId :: Lens' GetGroupVersion Text
- data GetGroupVersionResponse = GetGroupVersionResponse' {
- definition :: Maybe GroupVersion
- arn :: Maybe Text
- creationTimestamp :: Maybe Text
- version :: Maybe Text
- id :: Maybe Text
- httpStatus :: Int
- newGetGroupVersionResponse :: Int -> GetGroupVersionResponse
- getGroupVersionResponse_definition :: Lens' GetGroupVersionResponse (Maybe GroupVersion)
- getGroupVersionResponse_arn :: Lens' GetGroupVersionResponse (Maybe Text)
- getGroupVersionResponse_creationTimestamp :: Lens' GetGroupVersionResponse (Maybe Text)
- getGroupVersionResponse_version :: Lens' GetGroupVersionResponse (Maybe Text)
- getGroupVersionResponse_id :: Lens' GetGroupVersionResponse (Maybe Text)
- getGroupVersionResponse_httpStatus :: Lens' GetGroupVersionResponse Int
Creating a Request
data GetGroupVersion Source #
See: newGetGroupVersion
smart constructor.
GetGroupVersion' | |
|
Instances
Create a value of GetGroupVersion
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:groupVersionId:GetGroupVersion'
, getGroupVersion_groupVersionId
- The ID of the group version. This value maps to the ''Version''
property of the corresponding ''VersionInformation'' object, which
is returned by ''ListGroupVersions'' requests. If the version is the
last one that was associated with a group, the value also maps to the
''LatestVersion'' property of the corresponding
''GroupInformation'' object.
$sel:groupId:GetGroupVersion'
, getGroupVersion_groupId
- The ID of the Greengrass group.
Request Lenses
getGroupVersion_groupVersionId :: Lens' GetGroupVersion Text Source #
The ID of the group version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListGroupVersions'' requests. If the version is the last one that was associated with a group, the value also maps to the ''LatestVersion'' property of the corresponding ''GroupInformation'' object.
getGroupVersion_groupId :: Lens' GetGroupVersion Text Source #
The ID of the Greengrass group.
Destructuring the Response
data GetGroupVersionResponse Source #
See: newGetGroupVersionResponse
smart constructor.
GetGroupVersionResponse' | |
|
Instances
newGetGroupVersionResponse Source #
Create a value of GetGroupVersionResponse
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:GetGroupVersionResponse'
, getGroupVersionResponse_definition
- Information about the group version definition.
$sel:arn:GetGroupVersionResponse'
, getGroupVersionResponse_arn
- The ARN of the group version.
$sel:creationTimestamp:GetGroupVersionResponse'
, getGroupVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the group version was
created.
$sel:version:GetGroupVersionResponse'
, getGroupVersionResponse_version
- The ID of the group version.
$sel:id:GetGroupVersionResponse'
, getGroupVersionResponse_id
- The ID of the group that the version is associated with.
$sel:httpStatus:GetGroupVersionResponse'
, getGroupVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getGroupVersionResponse_definition :: Lens' GetGroupVersionResponse (Maybe GroupVersion) Source #
Information about the group version definition.
getGroupVersionResponse_arn :: Lens' GetGroupVersionResponse (Maybe Text) Source #
The ARN of the group version.
getGroupVersionResponse_creationTimestamp :: Lens' GetGroupVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the group version was created.
getGroupVersionResponse_version :: Lens' GetGroupVersionResponse (Maybe Text) Source #
The ID of the group version.
getGroupVersionResponse_id :: Lens' GetGroupVersionResponse (Maybe Text) Source #
The ID of the group that the version is associated with.
getGroupVersionResponse_httpStatus :: Lens' GetGroupVersionResponse Int Source #
The response's http status code.