amazonka-migrationhub-2.0: Amazon Migration Hub SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MigrationHub.AssociateDiscoveredResource

Description

Associates a discovered resource ID from Application Discovery Service with a migration task.

Synopsis

Creating a Request

data AssociateDiscoveredResource Source #

See: newAssociateDiscoveredResource smart constructor.

Constructors

AssociateDiscoveredResource' 

Fields

Instances

Instances details
ToJSON AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

ToHeaders AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

ToPath AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

ToQuery AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

AWSRequest AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

Generic AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

Associated Types

type Rep AssociateDiscoveredResource :: Type -> Type #

Read AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

Show AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

NFData AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

Eq AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

Hashable AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

type AWSResponse AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

type Rep AssociateDiscoveredResource Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

type Rep AssociateDiscoveredResource = D1 ('MetaData "AssociateDiscoveredResource" "Amazonka.MigrationHub.AssociateDiscoveredResource" "amazonka-migrationhub-2.0-HPFHfkzHnlJDPxcpvPbrRQ" 'False) (C1 ('MetaCons "AssociateDiscoveredResource'" '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 "discoveredResource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DiscoveredResource))))

newAssociateDiscoveredResource Source #

Create a value of AssociateDiscoveredResource 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:AssociateDiscoveredResource', associateDiscoveredResource_dryRun - Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

AssociateDiscoveredResource, associateDiscoveredResource_progressUpdateStream - The name of the ProgressUpdateStream.

AssociateDiscoveredResource, associateDiscoveredResource_migrationTaskName - The identifier given to the MigrationTask. /Do not store personal data in this field./

$sel:discoveredResource:AssociateDiscoveredResource', associateDiscoveredResource_discoveredResource - Object representing a Resource.

Request Lenses

associateDiscoveredResource_dryRun :: Lens' AssociateDiscoveredResource (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.

associateDiscoveredResource_migrationTaskName :: Lens' AssociateDiscoveredResource Text Source #

The identifier given to the MigrationTask. /Do not store personal data in this field./

Destructuring the Response

data AssociateDiscoveredResourceResponse Source #

Constructors

AssociateDiscoveredResourceResponse' 

Fields

Instances

Instances details
Generic AssociateDiscoveredResourceResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

Read AssociateDiscoveredResourceResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

Show AssociateDiscoveredResourceResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

NFData AssociateDiscoveredResourceResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

Eq AssociateDiscoveredResourceResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

type Rep AssociateDiscoveredResourceResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.AssociateDiscoveredResource

type Rep AssociateDiscoveredResourceResponse = D1 ('MetaData "AssociateDiscoveredResourceResponse" "Amazonka.MigrationHub.AssociateDiscoveredResource" "amazonka-migrationhub-2.0-HPFHfkzHnlJDPxcpvPbrRQ" 'False) (C1 ('MetaCons "AssociateDiscoveredResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateDiscoveredResourceResponse Source #

Create a value of AssociateDiscoveredResourceResponse 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:AssociateDiscoveredResourceResponse', associateDiscoveredResourceResponse_httpStatus - The response's http status code.

Response Lenses