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 |
This operation returns a list of the ARNs of the canaries that are associated with the specified group.
Synopsis
- data ListGroupResources = ListGroupResources' {}
- newListGroupResources :: Text -> ListGroupResources
- listGroupResources_maxResults :: Lens' ListGroupResources (Maybe Natural)
- listGroupResources_nextToken :: Lens' ListGroupResources (Maybe Text)
- listGroupResources_groupIdentifier :: Lens' ListGroupResources Text
- data ListGroupResourcesResponse = ListGroupResourcesResponse' {}
- newListGroupResourcesResponse :: Int -> ListGroupResourcesResponse
- listGroupResourcesResponse_nextToken :: Lens' ListGroupResourcesResponse (Maybe Text)
- listGroupResourcesResponse_resources :: Lens' ListGroupResourcesResponse (Maybe [Text])
- listGroupResourcesResponse_httpStatus :: Lens' ListGroupResourcesResponse Int
Creating a Request
data ListGroupResources Source #
See: newListGroupResources
smart constructor.
ListGroupResources' | |
|
Instances
newListGroupResources Source #
Create a value of ListGroupResources
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:maxResults:ListGroupResources'
, listGroupResources_maxResults
- Specify this parameter to limit how many canary ARNs are returned each
time you use the ListGroupResources
operation. If you omit this
parameter, the default of 20 is used.
ListGroupResources
, listGroupResources_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent operation to retrieve the next set of
results.
$sel:groupIdentifier:ListGroupResources'
, listGroupResources_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
listGroupResources_maxResults :: Lens' ListGroupResources (Maybe Natural) Source #
Specify this parameter to limit how many canary ARNs are returned each
time you use the ListGroupResources
operation. If you omit this
parameter, the default of 20 is used.
listGroupResources_nextToken :: Lens' ListGroupResources (Maybe Text) Source #
A token that indicates that there is more data available. You can use this token in a subsequent operation to retrieve the next set of results.
listGroupResources_groupIdentifier :: Lens' ListGroupResources 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 ListGroupResourcesResponse Source #
See: newListGroupResourcesResponse
smart constructor.
ListGroupResourcesResponse' | |
|
Instances
newListGroupResourcesResponse Source #
Create a value of ListGroupResourcesResponse
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:
ListGroupResources
, listGroupResourcesResponse_nextToken
- A token that indicates that there is more data available. You can use
this token in a subsequent ListGroupResources
operation to retrieve
the next set of results.
$sel:resources:ListGroupResourcesResponse'
, listGroupResourcesResponse_resources
- An array of ARNs. These ARNs are for the canaries that are associated
with the group.
$sel:httpStatus:ListGroupResourcesResponse'
, listGroupResourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listGroupResourcesResponse_nextToken :: Lens' ListGroupResourcesResponse (Maybe Text) Source #
A token that indicates that there is more data available. You can use
this token in a subsequent ListGroupResources
operation to retrieve
the next set of results.
listGroupResourcesResponse_resources :: Lens' ListGroupResourcesResponse (Maybe [Text]) Source #
An array of ARNs. These ARNs are for the canaries that are associated with the group.
listGroupResourcesResponse_httpStatus :: Lens' ListGroupResourcesResponse Int Source #
The response's http status code.