| 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.DisassociateCreatedArtifact
Description
Disassociates a created artifact of an AWS resource with a migration task performed by a migration tool that was previously associated. This API has the following traits:
- A migration user can call the
DisassociateCreatedArtifactsoperation to disassociate a created AWS Artifact from a migration task. - The created artifact name must be provided in ARN (Amazon Resource
Name) format which will contain information about type and region;
for example:
arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b. - Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or RDS instance, etc.
Synopsis
- data DisassociateCreatedArtifact = DisassociateCreatedArtifact' {}
- newDisassociateCreatedArtifact :: Text -> Text -> Text -> DisassociateCreatedArtifact
- disassociateCreatedArtifact_dryRun :: Lens' DisassociateCreatedArtifact (Maybe Bool)
- disassociateCreatedArtifact_progressUpdateStream :: Lens' DisassociateCreatedArtifact Text
- disassociateCreatedArtifact_migrationTaskName :: Lens' DisassociateCreatedArtifact Text
- disassociateCreatedArtifact_createdArtifactName :: Lens' DisassociateCreatedArtifact Text
- data DisassociateCreatedArtifactResponse = DisassociateCreatedArtifactResponse' {
- httpStatus :: Int
- newDisassociateCreatedArtifactResponse :: Int -> DisassociateCreatedArtifactResponse
- disassociateCreatedArtifactResponse_httpStatus :: Lens' DisassociateCreatedArtifactResponse Int
Creating a Request
data DisassociateCreatedArtifact Source #
See: newDisassociateCreatedArtifact smart constructor.
Constructors
| DisassociateCreatedArtifact' | |
Fields
| |
Instances
newDisassociateCreatedArtifact Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DisassociateCreatedArtifact |
Create a value of DisassociateCreatedArtifact 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:DisassociateCreatedArtifact', disassociateCreatedArtifact_dryRun - Optional boolean flag to indicate whether any effect should take place.
Used to test if the caller has permission to make the call.
DisassociateCreatedArtifact, disassociateCreatedArtifact_progressUpdateStream - The name of the ProgressUpdateStream.
DisassociateCreatedArtifact, disassociateCreatedArtifact_migrationTaskName - Unique identifier that references the migration task to be disassociated
with the artifact. Do not store personal data in this field.
$sel:createdArtifactName:DisassociateCreatedArtifact', disassociateCreatedArtifact_createdArtifactName - An ARN of the AWS resource related to the migration (e.g., AMI, EC2
instance, RDS instance, etc.)
Request Lenses
disassociateCreatedArtifact_dryRun :: Lens' DisassociateCreatedArtifact (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.
disassociateCreatedArtifact_progressUpdateStream :: Lens' DisassociateCreatedArtifact Text Source #
The name of the ProgressUpdateStream.
disassociateCreatedArtifact_migrationTaskName :: Lens' DisassociateCreatedArtifact Text Source #
Unique identifier that references the migration task to be disassociated with the artifact. Do not store personal data in this field.
disassociateCreatedArtifact_createdArtifactName :: Lens' DisassociateCreatedArtifact Text Source #
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
Destructuring the Response
data DisassociateCreatedArtifactResponse Source #
See: newDisassociateCreatedArtifactResponse smart constructor.
Constructors
| DisassociateCreatedArtifactResponse' | |
Fields
| |
Instances
newDisassociateCreatedArtifactResponse Source #
Arguments
| :: Int | |
| -> DisassociateCreatedArtifactResponse |
Create a value of DisassociateCreatedArtifactResponse 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:DisassociateCreatedArtifactResponse', disassociateCreatedArtifactResponse_httpStatus - The response's http status code.
Response Lenses
disassociateCreatedArtifactResponse_httpStatus :: Lens' DisassociateCreatedArtifactResponse Int Source #
The response's http status code.