Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists the shareable resource types supported by RAM.
Synopsis
- data ListResourceTypes = ListResourceTypes' {}
- newListResourceTypes :: ListResourceTypes
- listResourceTypes_nextToken :: Lens' ListResourceTypes (Maybe Text)
- listResourceTypes_maxResults :: Lens' ListResourceTypes (Maybe Natural)
- data ListResourceTypesResponse = ListResourceTypesResponse' {}
- newListResourceTypesResponse :: Int -> ListResourceTypesResponse
- listResourceTypesResponse_nextToken :: Lens' ListResourceTypesResponse (Maybe Text)
- listResourceTypesResponse_resourceTypes :: Lens' ListResourceTypesResponse (Maybe [ServiceNameAndResourceType])
- listResourceTypesResponse_httpStatus :: Lens' ListResourceTypesResponse Int
Creating a Request
data ListResourceTypes Source #
See: newListResourceTypes
smart constructor.
Instances
newListResourceTypes :: ListResourceTypes Source #
Create a value of ListResourceTypes
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:nextToken:ListResourceTypes'
, listResourceTypes_nextToken
- The token for the next page of results.
$sel:maxResults:ListResourceTypes'
, listResourceTypes_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
Request Lenses
listResourceTypes_nextToken :: Lens' ListResourceTypes (Maybe Text) Source #
The token for the next page of results.
listResourceTypes_maxResults :: Lens' ListResourceTypes (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
Destructuring the Response
data ListResourceTypesResponse Source #
See: newListResourceTypesResponse
smart constructor.
ListResourceTypesResponse' | |
|
Instances
newListResourceTypesResponse Source #
Create a value of ListResourceTypesResponse
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:nextToken:ListResourceTypes'
, listResourceTypesResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:resourceTypes:ListResourceTypesResponse'
, listResourceTypesResponse_resourceTypes
- The shareable resource types supported by RAM.
$sel:httpStatus:ListResourceTypesResponse'
, listResourceTypesResponse_httpStatus
- The response's http status code.
Response Lenses
listResourceTypesResponse_nextToken :: Lens' ListResourceTypesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
listResourceTypesResponse_resourceTypes :: Lens' ListResourceTypesResponse (Maybe [ServiceNameAndResourceType]) Source #
The shareable resource types supported by RAM.
listResourceTypesResponse_httpStatus :: Lens' ListResourceTypesResponse Int Source #
The response's http status code.