| 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.Synthetics.GetGroup
Description
Returns information about one group. Groups are a global resource, so you can use this operation from any Region.
Synopsis
- data GetGroup = GetGroup' {}
- newGetGroup :: Text -> GetGroup
- getGroup_groupIdentifier :: Lens' GetGroup Text
- data GetGroupResponse = GetGroupResponse' {
- group' :: Maybe Group
- httpStatus :: Int
- newGetGroupResponse :: Int -> GetGroupResponse
- getGroupResponse_group :: Lens' GetGroupResponse (Maybe Group)
- getGroupResponse_httpStatus :: Lens' GetGroupResponse Int
Creating a Request
See: newGetGroup smart constructor.
Constructors
| GetGroup' | |
Fields
| |
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:groupIdentifier:GetGroup', getGroup_groupIdentifier - Specifies the group to return information for. You can specify the group
name, the ARN, or the group ID as the GroupIdentifier.
Request Lenses
getGroup_groupIdentifier :: Lens' GetGroup Text Source #
Specifies the group to return information for. You can specify the group
name, the ARN, or the group ID as the GroupIdentifier.
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:
$sel:group':GetGroupResponse', getGroupResponse_group - A structure that contains information about the group.
$sel:httpStatus:GetGroupResponse', getGroupResponse_httpStatus - The response's http status code.
Response Lenses
getGroupResponse_group :: Lens' GetGroupResponse (Maybe Group) Source #
A structure that contains information about the group.
getGroupResponse_httpStatus :: Lens' GetGroupResponse Int Source #
The response's http status code.