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 discovered resources associated with the given MigrationTask
.
This operation returns paginated results.
Synopsis
- data ListDiscoveredResources = ListDiscoveredResources' {}
- newListDiscoveredResources :: Text -> Text -> ListDiscoveredResources
- listDiscoveredResources_nextToken :: Lens' ListDiscoveredResources (Maybe Text)
- listDiscoveredResources_maxResults :: Lens' ListDiscoveredResources (Maybe Natural)
- listDiscoveredResources_progressUpdateStream :: Lens' ListDiscoveredResources Text
- listDiscoveredResources_migrationTaskName :: Lens' ListDiscoveredResources Text
- data ListDiscoveredResourcesResponse = ListDiscoveredResourcesResponse' {}
- newListDiscoveredResourcesResponse :: Int -> ListDiscoveredResourcesResponse
- listDiscoveredResourcesResponse_discoveredResourceList :: Lens' ListDiscoveredResourcesResponse (Maybe [DiscoveredResource])
- listDiscoveredResourcesResponse_nextToken :: Lens' ListDiscoveredResourcesResponse (Maybe Text)
- listDiscoveredResourcesResponse_httpStatus :: Lens' ListDiscoveredResourcesResponse Int
Creating a Request
data ListDiscoveredResources Source #
See: newListDiscoveredResources
smart constructor.
ListDiscoveredResources' | |
|
Instances
newListDiscoveredResources Source #
:: Text | |
-> Text | |
-> ListDiscoveredResources |
Create a value of ListDiscoveredResources
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:ListDiscoveredResources'
, listDiscoveredResources_nextToken
- If a NextToken
was returned by a previous call, there are more results
available. To retrieve the next page of results, make the call again
using the returned token in NextToken
.
$sel:maxResults:ListDiscoveredResources'
, listDiscoveredResources_maxResults
- The maximum number of results returned per page.
$sel:progressUpdateStream:ListDiscoveredResources'
, listDiscoveredResources_progressUpdateStream
- The name of the ProgressUpdateStream.
$sel:migrationTaskName:ListDiscoveredResources'
, listDiscoveredResources_migrationTaskName
- The name of the MigrationTask. /Do not store personal data in this
field./
Request Lenses
listDiscoveredResources_nextToken :: Lens' ListDiscoveredResources (Maybe Text) Source #
If a NextToken
was returned by a previous call, there are more results
available. To retrieve the next page of results, make the call again
using the returned token in NextToken
.
listDiscoveredResources_maxResults :: Lens' ListDiscoveredResources (Maybe Natural) Source #
The maximum number of results returned per page.
listDiscoveredResources_progressUpdateStream :: Lens' ListDiscoveredResources Text Source #
The name of the ProgressUpdateStream.
listDiscoveredResources_migrationTaskName :: Lens' ListDiscoveredResources Text Source #
The name of the MigrationTask. /Do not store personal data in this field./
Destructuring the Response
data ListDiscoveredResourcesResponse Source #
See: newListDiscoveredResourcesResponse
smart constructor.
ListDiscoveredResourcesResponse' | |
|
Instances
newListDiscoveredResourcesResponse Source #
Create a value of ListDiscoveredResourcesResponse
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:discoveredResourceList:ListDiscoveredResourcesResponse'
, listDiscoveredResourcesResponse_discoveredResourceList
- Returned list of discovered resources associated with the given
MigrationTask.
$sel:nextToken:ListDiscoveredResources'
, listDiscoveredResourcesResponse_nextToken
- If there are more discovered resources than the max result, return the
next token to be passed to the next call as a bookmark of where to start
from.
$sel:httpStatus:ListDiscoveredResourcesResponse'
, listDiscoveredResourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listDiscoveredResourcesResponse_discoveredResourceList :: Lens' ListDiscoveredResourcesResponse (Maybe [DiscoveredResource]) Source #
Returned list of discovered resources associated with the given MigrationTask.
listDiscoveredResourcesResponse_nextToken :: Lens' ListDiscoveredResourcesResponse (Maybe Text) Source #
If there are more discovered resources than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
listDiscoveredResourcesResponse_httpStatus :: Lens' ListDiscoveredResourcesResponse Int Source #
The response's http status code.