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 |
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.
GetGroup' | |
|
Instances
ToHeaders GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup | |
ToPath GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup toPath :: GetGroup -> ByteString # | |
ToQuery GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup toQuery :: GetGroup -> QueryString # | |
AWSRequest GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup type AWSResponse GetGroup # request :: (Service -> Service) -> GetGroup -> Request GetGroup # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetGroup -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetGroup))) # | |
Generic GetGroup Source # | |
Read GetGroup Source # | |
Show GetGroup Source # | |
NFData GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup | |
Eq GetGroup Source # | |
Hashable GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup | |
type AWSResponse GetGroup Source # | |
Defined in Amazonka.Synthetics.GetGroup | |
type Rep GetGroup Source # | |
Defined in Amazonka.Synthetics.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: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.
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: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.