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 resources associated with a project in AWS CodeStar.
This operation returns paginated results.
Synopsis
- data ListResources = ListResources' {}
- newListResources :: Text -> ListResources
- listResources_nextToken :: Lens' ListResources (Maybe Text)
- listResources_maxResults :: Lens' ListResources (Maybe Natural)
- listResources_projectId :: Lens' ListResources Text
- data ListResourcesResponse = ListResourcesResponse' {}
- newListResourcesResponse :: Int -> ListResourcesResponse
- listResourcesResponse_resources :: Lens' ListResourcesResponse (Maybe [Resource])
- listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text)
- listResourcesResponse_httpStatus :: Lens' ListResourcesResponse Int
Creating a Request
data ListResources Source #
See: newListResources
smart constructor.
Instances
Create a value of ListResources
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:ListResources'
, listResources_nextToken
- The continuation token for the next set of results, if the results
cannot be returned in one response.
$sel:maxResults:ListResources'
, listResources_maxResults
- The maximum amount of data that can be contained in a single set of
results.
$sel:projectId:ListResources'
, listResources_projectId
- The ID of the project.
Request Lenses
listResources_nextToken :: Lens' ListResources (Maybe Text) Source #
The continuation token for the next set of results, if the results cannot be returned in one response.
listResources_maxResults :: Lens' ListResources (Maybe Natural) Source #
The maximum amount of data that can be contained in a single set of results.
listResources_projectId :: Lens' ListResources Text Source #
The ID of the project.
Destructuring the Response
data ListResourcesResponse Source #
See: newListResourcesResponse
smart constructor.
Instances
newListResourcesResponse Source #
Create a value of ListResourcesResponse
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:resources:ListResourcesResponse'
, listResourcesResponse_resources
- An array of resources associated with the project.
$sel:nextToken:ListResources'
, listResourcesResponse_nextToken
- The continuation token to use when requesting the next set of results,
if there are more results to be returned.
$sel:httpStatus:ListResourcesResponse'
, listResourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listResourcesResponse_resources :: Lens' ListResourcesResponse (Maybe [Resource]) Source #
An array of resources associated with the project.
listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text) Source #
The continuation token to use when requesting the next set of results, if there are more results to be returned.
listResourcesResponse_httpStatus :: Lens' ListResourcesResponse Int Source #
The response's http status code.