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 |
Searches for system instances in the user's account.
This operation returns paginated results.
Synopsis
- data SearchSystemInstances = SearchSystemInstances' {}
- newSearchSystemInstances :: SearchSystemInstances
- searchSystemInstances_filters :: Lens' SearchSystemInstances (Maybe [SystemInstanceFilter])
- searchSystemInstances_nextToken :: Lens' SearchSystemInstances (Maybe Text)
- searchSystemInstances_maxResults :: Lens' SearchSystemInstances (Maybe Natural)
- data SearchSystemInstancesResponse = SearchSystemInstancesResponse' {}
- newSearchSystemInstancesResponse :: Int -> SearchSystemInstancesResponse
- searchSystemInstancesResponse_nextToken :: Lens' SearchSystemInstancesResponse (Maybe Text)
- searchSystemInstancesResponse_summaries :: Lens' SearchSystemInstancesResponse (Maybe [SystemInstanceSummary])
- searchSystemInstancesResponse_httpStatus :: Lens' SearchSystemInstancesResponse Int
Creating a Request
data SearchSystemInstances Source #
See: newSearchSystemInstances
smart constructor.
SearchSystemInstances' | |
|
Instances
newSearchSystemInstances :: SearchSystemInstances Source #
Create a value of SearchSystemInstances
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:filters:SearchSystemInstances'
, searchSystemInstances_filters
- Optional filter to apply to the search. Valid filters are
SYSTEM_TEMPLATE_ID
, STATUS
, and GREENGRASS_GROUP_NAME
.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
$sel:nextToken:SearchSystemInstances'
, searchSystemInstances_nextToken
- The string that specifies the next page of results. Use this when
you're paginating results.
$sel:maxResults:SearchSystemInstances'
, searchSystemInstances_maxResults
- The maximum number of results to return in the response.
Request Lenses
searchSystemInstances_filters :: Lens' SearchSystemInstances (Maybe [SystemInstanceFilter]) Source #
Optional filter to apply to the search. Valid filters are
SYSTEM_TEMPLATE_ID
, STATUS
, and GREENGRASS_GROUP_NAME
.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
searchSystemInstances_nextToken :: Lens' SearchSystemInstances (Maybe Text) Source #
The string that specifies the next page of results. Use this when you're paginating results.
searchSystemInstances_maxResults :: Lens' SearchSystemInstances (Maybe Natural) Source #
The maximum number of results to return in the response.
Destructuring the Response
data SearchSystemInstancesResponse Source #
See: newSearchSystemInstancesResponse
smart constructor.
SearchSystemInstancesResponse' | |
|
Instances
newSearchSystemInstancesResponse Source #
Create a value of SearchSystemInstancesResponse
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:SearchSystemInstances'
, searchSystemInstancesResponse_nextToken
- The string to specify as nextToken
when you request the next page of
results.
$sel:summaries:SearchSystemInstancesResponse'
, searchSystemInstancesResponse_summaries
- An array of objects that contain summary data abour the system instances
in the result set.
$sel:httpStatus:SearchSystemInstancesResponse'
, searchSystemInstancesResponse_httpStatus
- The response's http status code.
Response Lenses
searchSystemInstancesResponse_nextToken :: Lens' SearchSystemInstancesResponse (Maybe Text) Source #
The string to specify as nextToken
when you request the next page of
results.
searchSystemInstancesResponse_summaries :: Lens' SearchSystemInstancesResponse (Maybe [SystemInstanceSummary]) Source #
An array of objects that contain summary data abour the system instances in the result set.
searchSystemInstancesResponse_httpStatus :: Lens' SearchSystemInstancesResponse Int Source #
The response's http status code.