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 |
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
DisassociateCreatedArtifacts
operation 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.
DisassociateCreatedArtifact' | |
|
Instances
newDisassociateCreatedArtifact Source #
:: 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.
$sel:progressUpdateStream:DisassociateCreatedArtifact'
, disassociateCreatedArtifact_progressUpdateStream
- The name of the ProgressUpdateStream.
$sel:migrationTaskName: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.
DisassociateCreatedArtifactResponse' | |
|
Instances
newDisassociateCreatedArtifactResponse Source #
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.