Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.Greengrass.GetGroup
Description
Retrieves information about a group.
Synopsis
- data GetGroup = GetGroup' {}
- newGetGroup :: Text -> GetGroup
- getGroup_groupId :: Lens' GetGroup Text
- data GetGroupResponse = GetGroupResponse' {}
- newGetGroupResponse :: Int -> GetGroupResponse
- getGroupResponse_arn :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_creationTimestamp :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_id :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_lastUpdatedTimestamp :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_latestVersion :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_latestVersionArn :: Lens' GetGroupResponse (Maybe Text)
- getGroupResponse_name :: 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
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.
Constructors
GetGroupResponse' | |
Fields
|
Instances
Arguments
:: Int | |
-> GetGroupResponse |
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:
GetGroupResponse
, getGroupResponse_arn
- The ARN of the definition.
GetGroupResponse
, getGroupResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the definition was
created.
GetGroupResponse
, getGroupResponse_id
- The ID of the definition.
GetGroupResponse
, getGroupResponse_lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last
updated.
GetGroupResponse
, getGroupResponse_latestVersion
- The ID of the latest version associated with the definition.
GetGroupResponse
, getGroupResponse_latestVersionArn
- The ARN of the latest version associated with the definition.
GetGroupResponse
, getGroupResponse_name
- The name of the definition.
GetGroupResponse
, getGroupResponse_tags
- Tag(s) attached to the resource arn.
$sel:httpStatus:GetGroupResponse'
, getGroupResponse_httpStatus
- The response's http status code.
Response Lenses
getGroupResponse_arn :: Lens' GetGroupResponse (Maybe Text) Source #
The ARN 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_lastUpdatedTimestamp :: Lens' GetGroupResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
getGroupResponse_latestVersion :: Lens' GetGroupResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
getGroupResponse_latestVersionArn :: Lens' GetGroupResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
getGroupResponse_name :: Lens' GetGroupResponse (Maybe Text) Source #
The name of the definition.
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.