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 the created artifacts attached to a given migration task in an update stream. This API has the following traits:
- Gets the list of the created artifacts while migration is taking place.
- Shows the artifacts created by the migration tool that was associated by the
AssociateCreatedArtifact
API. - Lists created artifacts in a paginated interface.
Synopsis
- listCreatedArtifacts :: Text -> Text -> ListCreatedArtifacts
- data ListCreatedArtifacts
- lcaNextToken :: Lens' ListCreatedArtifacts (Maybe Text)
- lcaMaxResults :: Lens' ListCreatedArtifacts (Maybe Natural)
- lcaProgressUpdateStream :: Lens' ListCreatedArtifacts Text
- lcaMigrationTaskName :: Lens' ListCreatedArtifacts Text
- listCreatedArtifactsResponse :: Int -> ListCreatedArtifactsResponse
- data ListCreatedArtifactsResponse
- lcarsNextToken :: Lens' ListCreatedArtifactsResponse (Maybe Text)
- lcarsCreatedArtifactList :: Lens' ListCreatedArtifactsResponse [CreatedArtifact]
- lcarsResponseStatus :: Lens' ListCreatedArtifactsResponse Int
Creating a Request
Creates a value of ListCreatedArtifacts
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcaNextToken
- 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
.lcaMaxResults
- Maximum number of results to be returned per page.lcaProgressUpdateStream
- The name of the ProgressUpdateStream.lcaMigrationTaskName
- Unique identifier that references the migration task.
data ListCreatedArtifacts Source #
See: listCreatedArtifacts
smart constructor.
Instances
Request Lenses
lcaNextToken :: Lens' ListCreatedArtifacts (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
.
lcaMaxResults :: Lens' ListCreatedArtifacts (Maybe Natural) Source #
Maximum number of results to be returned per page.
lcaProgressUpdateStream :: Lens' ListCreatedArtifacts Text Source #
The name of the ProgressUpdateStream.
lcaMigrationTaskName :: Lens' ListCreatedArtifacts Text Source #
Unique identifier that references the migration task.
Destructuring the Response
listCreatedArtifactsResponse Source #
Creates a value of ListCreatedArtifactsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcarsNextToken
- If there are more created artifacts than the max result, return the next token to be passed to the next call as a bookmark of where to start from.lcarsCreatedArtifactList
- List of created artifacts up to the maximum number of results specified in the request.lcarsResponseStatus
- -- | The response status code.
data ListCreatedArtifactsResponse Source #
See: listCreatedArtifactsResponse
smart constructor.
Instances
Response Lenses
lcarsNextToken :: Lens' ListCreatedArtifactsResponse (Maybe Text) Source #
If there are more created artifacts than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
lcarsCreatedArtifactList :: Lens' ListCreatedArtifactsResponse [CreatedArtifact] Source #
List of created artifacts up to the maximum number of results specified in the request.
lcarsResponseStatus :: Lens' ListCreatedArtifactsResponse Int Source #
- - | The response status code.