libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 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

Creating a Request

data DisassociateCreatedArtifact Source #

See: newDisassociateCreatedArtifact smart constructor.

Constructors

DisassociateCreatedArtifact' 

Fields

  • dryRun :: Maybe Bool

    Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

  • progressUpdateStream :: Text

    The name of the ProgressUpdateStream.

  • migrationTaskName :: Text

    Unique identifier that references the migration task to be disassociated with the artifact. Do not store personal data in this field.

  • createdArtifactName :: Text

    An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)

Instances

Instances details
Eq DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

Read DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

Show DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

Generic DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

Associated Types

type Rep DisassociateCreatedArtifact :: Type -> Type #

NFData DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

Hashable DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

ToJSON DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

AWSRequest DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

ToHeaders DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

ToPath DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

ToQuery DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

type Rep DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

type Rep DisassociateCreatedArtifact = D1 ('MetaData "DisassociateCreatedArtifact" "Amazonka.MigrationHub.DisassociateCreatedArtifact" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "DisassociateCreatedArtifact'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "progressUpdateStream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "migrationTaskName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "createdArtifactName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DisassociateCreatedArtifact Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

newDisassociateCreatedArtifact Source #

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_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 #

Constructors

DisassociateCreatedArtifactResponse' 

Fields

Instances

Instances details
Eq DisassociateCreatedArtifactResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

Read DisassociateCreatedArtifactResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

Show DisassociateCreatedArtifactResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

Generic DisassociateCreatedArtifactResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

NFData DisassociateCreatedArtifactResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

type Rep DisassociateCreatedArtifactResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.DisassociateCreatedArtifact

type Rep DisassociateCreatedArtifactResponse = D1 ('MetaData "DisassociateCreatedArtifactResponse" "Amazonka.MigrationHub.DisassociateCreatedArtifact" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "DisassociateCreatedArtifactResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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