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.
Synopsis
- data GetGroup = GetGroup' {}
- newGetGroup :: Text -> GetGroup
- getGroup_groupId :: Lens' GetGroup Text
- data GetGroupResponse = GetGroupResponse' {}
- newGetGroupResponse :: Int -> GetGroupResponse
- getGroupResponse_latestVersionArn :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_arn :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_name :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_creationTimestamp :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_id :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_latestVersion :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_lastUpdatedTimestamp :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_tags :: Lens' GetGroupResponse (Maybe (HashMap Text Text))
- getGroupResponse_httpStatus :: Lens' GetGroupResponse Int
Creating a Request
See: newGetGroup
smart constructor.
Instances
Eq GetGroup Source # | |
Read GetGroup Source # | |
Show GetGroup Source # | |
Generic GetGroup Source # | |
NFData GetGroup Source # | |
Defined in Amazonka.Greengrass.GetGroup | |
Hashable GetGroup Source # | |
Defined in Amazonka.Greengrass.GetGroup | |
AWSRequest GetGroup Source # | |
Defined in Amazonka.Greengrass.GetGroup type AWSResponse GetGroup # request :: GetGroup -> Request GetGroup # response :: MonadResource m => Logger -> Service -> Proxy GetGroup -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetGroup))) # | |
ToHeaders GetGroup Source # | |
Defined in Amazonka.Greengrass.GetGroup | |
ToPath GetGroup Source # | |
Defined in Amazonka.Greengrass.GetGroup toPath :: GetGroup -> ByteString # | |
ToQuery GetGroup Source # | |
Defined in Amazonka.Greengrass.GetGroup toQuery :: GetGroup -> QueryString # | |
type Rep GetGroup Source # | |
Defined in Amazonka.Greengrass.GetGroup | |
type AWSResponse GetGroup Source # | |
Defined in Amazonka.Greengrass.GetGroup |
Create a value of GetGroup
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:groupId:GetGroup'
, getGroup_groupId
- The ID of the Greengrass group.
Request Lenses
Destructuring the Response
data GetGroupResponse Source #
See: newGetGroupResponse
smart constructor.
GetGroupResponse' | |
|
Instances
Create a value of GetGroupResponse
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:latestVersionArn:GetGroupResponse'
, getGroupResponse_latestVersionArn
- The ARN of the latest version associated with the definition.
$sel:arn:GetGroupResponse'
, getGroupResponse_arn
- The ARN of the definition.
$sel:name:GetGroupResponse'
, getGroupResponse_name
- The name of the definition.
$sel:creationTimestamp:GetGroupResponse'
, getGroupResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the definition was
created.
$sel:id:GetGroupResponse'
, getGroupResponse_id
- The ID of the definition.
$sel:latestVersion:GetGroupResponse'
, getGroupResponse_latestVersion
- The ID of the latest version associated with the definition.
$sel:lastUpdatedTimestamp:GetGroupResponse'
, getGroupResponse_lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last
updated.
$sel:tags:GetGroupResponse'
, getGroupResponse_tags
- Tag(s) attached to the resource arn.
$sel:httpStatus:GetGroupResponse'
, getGroupResponse_httpStatus
- The response's http status code.
Response Lenses
getGroupResponse_latestVersionArn :: Lens' GetGroupResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
getGroupResponse_arn :: Lens' GetGroupResponse (Maybe Text) Source #
The ARN of the definition.
getGroupResponse_name :: Lens' GetGroupResponse (Maybe Text) Source #
The name of the definition.
getGroupResponse_creationTimestamp :: Lens' GetGroupResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
getGroupResponse_id :: Lens' GetGroupResponse (Maybe Text) Source #
The ID of the definition.
getGroupResponse_latestVersion :: Lens' GetGroupResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
getGroupResponse_lastUpdatedTimestamp :: Lens' GetGroupResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
getGroupResponse_tags :: Lens' GetGroupResponse (Maybe (HashMap Text Text)) Source #
Tag(s) attached to the resource arn.
getGroupResponse_httpStatus :: Lens' GetGroupResponse Int Source #
The response's http status code.