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 |
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 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,
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
- 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.
DeleteProgressUpdateStream' | |
|
Instances
newDeleteProgressUpdateStream Source #
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.
$sel:progressUpdateStreamName: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.
DeleteProgressUpdateStreamResponse' | |
|
Instances
Eq DeleteProgressUpdateStreamResponse Source # | |
Read DeleteProgressUpdateStreamResponse Source # | |
Show DeleteProgressUpdateStreamResponse Source # | |
Generic DeleteProgressUpdateStreamResponse Source # | |
NFData DeleteProgressUpdateStreamResponse Source # | |
Defined in Amazonka.MigrationHub.DeleteProgressUpdateStream rnf :: DeleteProgressUpdateStreamResponse -> () # | |
type Rep DeleteProgressUpdateStreamResponse Source # | |
Defined in Amazonka.MigrationHub.DeleteProgressUpdateStream type Rep DeleteProgressUpdateStreamResponse = D1 ('MetaData "DeleteProgressUpdateStreamResponse" "Amazonka.MigrationHub.DeleteProgressUpdateStream" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "DeleteProgressUpdateStreamResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteProgressUpdateStreamResponse Source #
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.