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 |
Lists all the resources in your AWS account in this AWS Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes their Amazon Resource Names (ARNs), the Availability Zones the resources are deployed in, and the resource name.
This operation returns paginated results.
Synopsis
- data ListManagedResources = ListManagedResources' {}
- newListManagedResources :: ListManagedResources
- listManagedResources_maxResults :: Lens' ListManagedResources (Maybe Natural)
- listManagedResources_nextToken :: Lens' ListManagedResources (Maybe Text)
- data ListManagedResourcesResponse = ListManagedResourcesResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- items :: [ManagedResourceSummary]
- newListManagedResourcesResponse :: Int -> ListManagedResourcesResponse
- listManagedResourcesResponse_nextToken :: Lens' ListManagedResourcesResponse (Maybe Text)
- listManagedResourcesResponse_httpStatus :: Lens' ListManagedResourcesResponse Int
- listManagedResourcesResponse_items :: Lens' ListManagedResourcesResponse [ManagedResourceSummary]
Creating a Request
data ListManagedResources Source #
See: newListManagedResources
smart constructor.
ListManagedResources' | |
|
Instances
newListManagedResources :: ListManagedResources Source #
Create a value of ListManagedResources
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:ListManagedResources'
, listManagedResources_maxResults
- The number of objects that you want to return with this call.
ListManagedResources
, listManagedResources_nextToken
- Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
Request Lenses
listManagedResources_maxResults :: Lens' ListManagedResources (Maybe Natural) Source #
The number of objects that you want to return with this call.
listManagedResources_nextToken :: Lens' ListManagedResources (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
Destructuring the Response
data ListManagedResourcesResponse Source #
See: newListManagedResourcesResponse
smart constructor.
ListManagedResourcesResponse' | |
|
Instances
newListManagedResourcesResponse Source #
Create a value of ListManagedResourcesResponse
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:
ListManagedResources
, listManagedResourcesResponse_nextToken
- Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
$sel:httpStatus:ListManagedResourcesResponse'
, listManagedResourcesResponse_httpStatus
- The response's http status code.
$sel:items:ListManagedResourcesResponse'
, listManagedResourcesResponse_items
- The items in the response list.
Response Lenses
listManagedResourcesResponse_nextToken :: Lens' ListManagedResourcesResponse (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
listManagedResourcesResponse_httpStatus :: Lens' ListManagedResourcesResponse Int Source #
The response's http status code.
listManagedResourcesResponse_items :: Lens' ListManagedResourcesResponse [ManagedResourceSummary] Source #
The items in the response list.