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 |
Deletes a progress update stream, including all of its tasks, which was previously created as an AWS resource used for access control. This API has the following traits:
- The only parameter needed for
DeleteProgressUpdateStream
is the stream name (same as aCreateProgressUpdateStream
call). - The call will return, and a background process will asynchronously delete the stream and all of its resources (tasks, associated resources, resource attributes, created artifacts).
- If the stream takes time to be deleted, it might still show up on a
ListProgressUpdateStreams
call. CreateProgressUpdateStream
,ImportMigrationTask
,NotifyMigrationTaskState
, and all Associate[*] APIs realted to the tasks belonging to the stream will throw InvalidInputException if the stream of the same name is in the process of being deleted.- Once the stream and all of its resources are deleted,
CreateProgressUpdateStream
for a stream of the same name will succeed, and that stream will be an entirely new logical resource (without any resources associated with the old stream).
Synopsis
- deleteProgressUpdateStream :: Text -> DeleteProgressUpdateStream
- data DeleteProgressUpdateStream
- dpusDryRun :: Lens' DeleteProgressUpdateStream (Maybe Bool)
- dpusProgressUpdateStreamName :: Lens' DeleteProgressUpdateStream Text
- deleteProgressUpdateStreamResponse :: Int -> DeleteProgressUpdateStreamResponse
- data DeleteProgressUpdateStreamResponse
- dpusrsResponseStatus :: Lens' DeleteProgressUpdateStreamResponse Int
Creating a Request
deleteProgressUpdateStream Source #
Creates a value of DeleteProgressUpdateStream
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpusDryRun
- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.dpusProgressUpdateStreamName
- The name of the ProgressUpdateStream.
data DeleteProgressUpdateStream Source #
See: deleteProgressUpdateStream
smart constructor.
Instances
Request Lenses
dpusDryRun :: Lens' DeleteProgressUpdateStream (Maybe Bool) Source #
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
dpusProgressUpdateStreamName :: Lens' DeleteProgressUpdateStream Text Source #
The name of the ProgressUpdateStream.
Destructuring the Response
deleteProgressUpdateStreamResponse Source #
Creates a value of DeleteProgressUpdateStreamResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpusrsResponseStatus
- -- | The response status code.
data DeleteProgressUpdateStreamResponse Source #
See: deleteProgressUpdateStreamResponse
smart constructor.
Instances
Response Lenses
dpusrsResponseStatus :: Lens' DeleteProgressUpdateStreamResponse Int Source #
- - | The response status code.