| Copyright | (c) 2013-2018 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 |
Network.AWS.MigrationHub.AssociateCreatedArtifact
Description
Associates a created artifact of an AWS cloud resource, the target receiving the migration, with the migration task performed by a migration tool. This API has the following traits:
- Migration tools can call the
AssociateCreatedArtifactoperation to indicate which AWS artifact is associated with 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 DMS endpoint, etc.
Synopsis
- associateCreatedArtifact :: Text -> Text -> CreatedArtifact -> AssociateCreatedArtifact
- data AssociateCreatedArtifact
- acaDryRun :: Lens' AssociateCreatedArtifact (Maybe Bool)
- acaProgressUpdateStream :: Lens' AssociateCreatedArtifact Text
- acaMigrationTaskName :: Lens' AssociateCreatedArtifact Text
- acaCreatedArtifact :: Lens' AssociateCreatedArtifact CreatedArtifact
- associateCreatedArtifactResponse :: Int -> AssociateCreatedArtifactResponse
- data AssociateCreatedArtifactResponse
- acarsResponseStatus :: Lens' AssociateCreatedArtifactResponse Int
Creating a Request
associateCreatedArtifact Source #
Arguments
| :: Text | |
| -> Text | |
| -> CreatedArtifact | |
| -> AssociateCreatedArtifact |
Creates a value of AssociateCreatedArtifact with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acaDryRun- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.acaProgressUpdateStream- The name of the ProgressUpdateStream.acaMigrationTaskName- Unique identifier that references the migration task.acaCreatedArtifact- An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
data AssociateCreatedArtifact Source #
See: associateCreatedArtifact smart constructor.
Instances
Request Lenses
acaDryRun :: Lens' AssociateCreatedArtifact (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.
acaProgressUpdateStream :: Lens' AssociateCreatedArtifact Text Source #
The name of the ProgressUpdateStream.
acaMigrationTaskName :: Lens' AssociateCreatedArtifact Text Source #
Unique identifier that references the migration task.
acaCreatedArtifact :: Lens' AssociateCreatedArtifact CreatedArtifact Source #
An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)
Destructuring the Response
associateCreatedArtifactResponse Source #
Arguments
| :: Int | |
| -> AssociateCreatedArtifactResponse |
Creates a value of AssociateCreatedArtifactResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acarsResponseStatus- -- | The response status code.
data AssociateCreatedArtifactResponse Source #
See: associateCreatedArtifactResponse smart constructor.
Instances
Response Lenses
acarsResponseStatus :: Lens' AssociateCreatedArtifactResponse Int Source #
- - | The response status code.