Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists discovered resources associated with the given MigrationTask
.
- listDiscoveredResources :: Text -> Text -> ListDiscoveredResources
- data ListDiscoveredResources
- ldrNextToken :: Lens' ListDiscoveredResources (Maybe Text)
- ldrMaxResults :: Lens' ListDiscoveredResources (Maybe Natural)
- ldrProgressUpdateStream :: Lens' ListDiscoveredResources Text
- ldrMigrationTaskName :: Lens' ListDiscoveredResources Text
- listDiscoveredResourcesResponse :: Int -> ListDiscoveredResourcesResponse
- data ListDiscoveredResourcesResponse
- ldrrsDiscoveredResourceList :: Lens' ListDiscoveredResourcesResponse [DiscoveredResource]
- ldrrsNextToken :: Lens' ListDiscoveredResourcesResponse (Maybe Text)
- ldrrsResponseStatus :: Lens' ListDiscoveredResourcesResponse Int
Creating a Request
listDiscoveredResources Source #
Creates a value of ListDiscoveredResources
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldrNextToken
- If aNextToken
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 inNextToken
.ldrMaxResults
- The maximum number of results returned per page.ldrProgressUpdateStream
- The name of the ProgressUpdateStream.ldrMigrationTaskName
- The name of the MigrationTask.
data ListDiscoveredResources Source #
See: listDiscoveredResources
smart constructor.
Request Lenses
ldrNextToken :: 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
.
ldrMaxResults :: Lens' ListDiscoveredResources (Maybe Natural) Source #
The maximum number of results returned per page.
ldrProgressUpdateStream :: Lens' ListDiscoveredResources Text Source #
The name of the ProgressUpdateStream.
ldrMigrationTaskName :: Lens' ListDiscoveredResources Text Source #
The name of the MigrationTask.
Destructuring the Response
listDiscoveredResourcesResponse Source #
Creates a value of ListDiscoveredResourcesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldrrsDiscoveredResourceList
- Returned list of discovered resources associated with the given MigrationTask.ldrrsNextToken
- 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.ldrrsResponseStatus
- -- | The response status code.
data ListDiscoveredResourcesResponse Source #
See: listDiscoveredResourcesResponse
smart constructor.
Response Lenses
ldrrsDiscoveredResourceList :: Lens' ListDiscoveredResourcesResponse [DiscoveredResource] Source #
Returned list of discovered resources associated with the given MigrationTask.
ldrrsNextToken :: 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.
ldrrsResponseStatus :: Lens' ListDiscoveredResourcesResponse Int Source #
- - | The response status code.