| 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 |
Amazonka.MigrationHub.DeleteProgressUpdateStream
Description
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
DeleteProgressUpdateStreamis the stream name (same as aCreateProgressUpdateStreamcall). - 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
ListProgressUpdateStreamscall. CreateProgressUpdateStream,ImportMigrationTask,NotifyMigrationTaskState, and all Associate[*] APIs related 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,
CreateProgressUpdateStreamfor 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
- data DeleteProgressUpdateStream = DeleteProgressUpdateStream' {}
- newDeleteProgressUpdateStream :: Text -> DeleteProgressUpdateStream
- deleteProgressUpdateStream_dryRun :: Lens' DeleteProgressUpdateStream (Maybe Bool)
- deleteProgressUpdateStream_progressUpdateStreamName :: Lens' DeleteProgressUpdateStream Text
- data DeleteProgressUpdateStreamResponse = DeleteProgressUpdateStreamResponse' {
- httpStatus :: Int
- newDeleteProgressUpdateStreamResponse :: Int -> DeleteProgressUpdateStreamResponse
- deleteProgressUpdateStreamResponse_httpStatus :: Lens' DeleteProgressUpdateStreamResponse Int
Creating a Request
data DeleteProgressUpdateStream Source #
See: newDeleteProgressUpdateStream smart constructor.
Constructors
| DeleteProgressUpdateStream' | |
Fields
| |
Instances
newDeleteProgressUpdateStream Source #
Arguments
| :: Text | |
| -> DeleteProgressUpdateStream |
Create a value of DeleteProgressUpdateStream 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:dryRun:DeleteProgressUpdateStream', deleteProgressUpdateStream_dryRun - Optional boolean flag to indicate whether any effect should take place.
Used to test if the caller has permission to make the call.
DeleteProgressUpdateStream, deleteProgressUpdateStream_progressUpdateStreamName - The name of the ProgressUpdateStream. /Do not store personal data in
this field./
Request Lenses
deleteProgressUpdateStream_dryRun :: 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.
deleteProgressUpdateStream_progressUpdateStreamName :: Lens' DeleteProgressUpdateStream Text Source #
The name of the ProgressUpdateStream. /Do not store personal data in this field./
Destructuring the Response
data DeleteProgressUpdateStreamResponse Source #
See: newDeleteProgressUpdateStreamResponse smart constructor.
Constructors
| DeleteProgressUpdateStreamResponse' | |
Fields
| |
Instances
newDeleteProgressUpdateStreamResponse Source #
Arguments
| :: Int | |
| -> DeleteProgressUpdateStreamResponse |
Create a value of DeleteProgressUpdateStreamResponse 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:httpStatus:DeleteProgressUpdateStreamResponse', deleteProgressUpdateStreamResponse_httpStatus - The response's http status code.
Response Lenses
deleteProgressUpdateStreamResponse_httpStatus :: Lens' DeleteProgressUpdateStreamResponse Int Source #
The response's http status code.