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