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 all the blueprint names in an account.
Synopsis
- data ListBlueprints = ListBlueprints' {}
- newListBlueprints :: ListBlueprints
- listBlueprints_nextToken :: Lens' ListBlueprints (Maybe Text)
- listBlueprints_maxResults :: Lens' ListBlueprints (Maybe Natural)
- listBlueprints_tags :: Lens' ListBlueprints (Maybe (HashMap Text Text))
- data ListBlueprintsResponse = ListBlueprintsResponse' {
- blueprints :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListBlueprintsResponse :: Int -> ListBlueprintsResponse
- listBlueprintsResponse_blueprints :: Lens' ListBlueprintsResponse (Maybe [Text])
- listBlueprintsResponse_nextToken :: Lens' ListBlueprintsResponse (Maybe Text)
- listBlueprintsResponse_httpStatus :: Lens' ListBlueprintsResponse Int
Creating a Request
data ListBlueprints Source #
See: newListBlueprints
smart constructor.
Instances
newListBlueprints :: ListBlueprints Source #
Create a value of ListBlueprints
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:ListBlueprints'
, listBlueprints_nextToken
- A continuation token, if this is a continuation request.
$sel:maxResults:ListBlueprints'
, listBlueprints_maxResults
- The maximum size of a list to return.
$sel:tags:ListBlueprints'
, listBlueprints_tags
- Filters the list by an Amazon Web Services resource tag.
Request Lenses
listBlueprints_nextToken :: Lens' ListBlueprints (Maybe Text) Source #
A continuation token, if this is a continuation request.
listBlueprints_maxResults :: Lens' ListBlueprints (Maybe Natural) Source #
The maximum size of a list to return.
listBlueprints_tags :: Lens' ListBlueprints (Maybe (HashMap Text Text)) Source #
Filters the list by an Amazon Web Services resource tag.
Destructuring the Response
data ListBlueprintsResponse Source #
See: newListBlueprintsResponse
smart constructor.
ListBlueprintsResponse' | |
|
Instances
newListBlueprintsResponse Source #
Create a value of ListBlueprintsResponse
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:blueprints:ListBlueprintsResponse'
, listBlueprintsResponse_blueprints
- List of names of blueprints in the account.
$sel:nextToken:ListBlueprints'
, listBlueprintsResponse_nextToken
- A continuation token, if not all blueprint names have been returned.
$sel:httpStatus:ListBlueprintsResponse'
, listBlueprintsResponse_httpStatus
- The response's http status code.
Response Lenses
listBlueprintsResponse_blueprints :: Lens' ListBlueprintsResponse (Maybe [Text]) Source #
List of names of blueprints in the account.
listBlueprintsResponse_nextToken :: Lens' ListBlueprintsResponse (Maybe Text) Source #
A continuation token, if not all blueprint names have been returned.
listBlueprintsResponse_httpStatus :: Lens' ListBlueprintsResponse Int Source #
The response's http status code.