| 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.IoT.ListThingsInBillingGroup
Description
Lists the things you have added to the given billing group.
Requires permission to access the ListThingsInBillingGroup action.
This operation returns paginated results.
Synopsis
- data ListThingsInBillingGroup = ListThingsInBillingGroup' {}
- newListThingsInBillingGroup :: Text -> ListThingsInBillingGroup
- listThingsInBillingGroup_maxResults :: Lens' ListThingsInBillingGroup (Maybe Natural)
- listThingsInBillingGroup_nextToken :: Lens' ListThingsInBillingGroup (Maybe Text)
- listThingsInBillingGroup_billingGroupName :: Lens' ListThingsInBillingGroup Text
- data ListThingsInBillingGroupResponse = ListThingsInBillingGroupResponse' {}
- newListThingsInBillingGroupResponse :: Int -> ListThingsInBillingGroupResponse
- listThingsInBillingGroupResponse_nextToken :: Lens' ListThingsInBillingGroupResponse (Maybe Text)
- listThingsInBillingGroupResponse_things :: Lens' ListThingsInBillingGroupResponse (Maybe [Text])
- listThingsInBillingGroupResponse_httpStatus :: Lens' ListThingsInBillingGroupResponse Int
Creating a Request
data ListThingsInBillingGroup Source #
See: newListThingsInBillingGroup smart constructor.
Constructors
| ListThingsInBillingGroup' | |
Fields
| |
Instances
newListThingsInBillingGroup Source #
Create a value of ListThingsInBillingGroup 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:ListThingsInBillingGroup', listThingsInBillingGroup_maxResults - The maximum number of results to return per request.
ListThingsInBillingGroup, listThingsInBillingGroup_nextToken - To retrieve the next set of results, the nextToken value from a
previous response; otherwise null to receive the first set of
results.
$sel:billingGroupName:ListThingsInBillingGroup', listThingsInBillingGroup_billingGroupName - The name of the billing group.
Request Lenses
listThingsInBillingGroup_maxResults :: Lens' ListThingsInBillingGroup (Maybe Natural) Source #
The maximum number of results to return per request.
listThingsInBillingGroup_nextToken :: Lens' ListThingsInBillingGroup (Maybe Text) Source #
To retrieve the next set of results, the nextToken value from a
previous response; otherwise null to receive the first set of
results.
listThingsInBillingGroup_billingGroupName :: Lens' ListThingsInBillingGroup Text Source #
The name of the billing group.
Destructuring the Response
data ListThingsInBillingGroupResponse Source #
See: newListThingsInBillingGroupResponse smart constructor.
Constructors
| ListThingsInBillingGroupResponse' | |
Instances
newListThingsInBillingGroupResponse Source #
Create a value of ListThingsInBillingGroupResponse 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:
ListThingsInBillingGroup, listThingsInBillingGroupResponse_nextToken - The token to use to get the next set of results. Will not be returned if
operation has returned all results.
$sel:things:ListThingsInBillingGroupResponse', listThingsInBillingGroupResponse_things - A list of things in the billing group.
$sel:httpStatus:ListThingsInBillingGroupResponse', listThingsInBillingGroupResponse_httpStatus - The response's http status code.
Response Lenses
listThingsInBillingGroupResponse_nextToken :: Lens' ListThingsInBillingGroupResponse (Maybe Text) Source #
The token to use to get the next set of results. Will not be returned if operation has returned all results.
listThingsInBillingGroupResponse_things :: Lens' ListThingsInBillingGroupResponse (Maybe [Text]) Source #
A list of things in the billing group.
listThingsInBillingGroupResponse_httpStatus :: Lens' ListThingsInBillingGroupResponse Int Source #
The response's http status code.