Copyright | (c) 2013-2017 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 |
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.
- disassociateCreatedArtifact :: Text -> Text -> Text -> DisassociateCreatedArtifact
- data DisassociateCreatedArtifact
- dcaDryRun :: Lens' DisassociateCreatedArtifact (Maybe Bool)
- dcaProgressUpdateStream :: Lens' DisassociateCreatedArtifact Text
- dcaMigrationTaskName :: Lens' DisassociateCreatedArtifact Text
- dcaCreatedArtifactName :: Lens' DisassociateCreatedArtifact Text
- disassociateCreatedArtifactResponse :: Int -> DisassociateCreatedArtifactResponse
- data DisassociateCreatedArtifactResponse
- dcarsResponseStatus :: Lens' DisassociateCreatedArtifactResponse Int
Creating a Request
disassociateCreatedArtifact Source #
:: Text | |
-> Text | |
-> Text | |
-> DisassociateCreatedArtifact |
Creates a value of DisassociateCreatedArtifact
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcaDryRun
- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.dcaProgressUpdateStream
- The name of the ProgressUpdateStream.dcaMigrationTaskName
- Unique identifier that references the migration task to be disassociated with the artifact.dcaCreatedArtifactName
- An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
data DisassociateCreatedArtifact Source #
See: disassociateCreatedArtifact
smart constructor.
Request Lenses
dcaDryRun :: 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.
dcaProgressUpdateStream :: Lens' DisassociateCreatedArtifact Text Source #
The name of the ProgressUpdateStream.
dcaMigrationTaskName :: Lens' DisassociateCreatedArtifact Text Source #
Unique identifier that references the migration task to be disassociated with the artifact.
dcaCreatedArtifactName :: 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
disassociateCreatedArtifactResponse Source #
Creates a value of DisassociateCreatedArtifactResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcarsResponseStatus
- -- | The response status code.
data DisassociateCreatedArtifactResponse Source #
See: disassociateCreatedArtifactResponse
smart constructor.
Response Lenses
dcarsResponseStatus :: Lens' DisassociateCreatedArtifactResponse Int Source #
- - | The response status code.