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

Description

Sets the migration state of an application. For a given application identified by the value passed to ApplicationId, its status is set or updated by passing one of three values to Status: NOT_STARTED | IN_PROGRESS | COMPLETED.

Synopsis

Creating a Request

data NotifyApplicationState Source #

See: newNotifyApplicationState smart constructor.

Constructors

NotifyApplicationState' 

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.

  • updateDateTime :: Maybe POSIX

    The timestamp when the application state changed.

  • applicationId :: Text

    The configurationId in Application Discovery Service that uniquely identifies the grouped application.

  • status :: ApplicationStatus

    Status of the application - Not Started, In-Progress, Complete.

Instances

Instances details
ToJSON NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

ToHeaders NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

ToPath NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

ToQuery NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

AWSRequest NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Associated Types

type AWSResponse NotifyApplicationState #

Generic NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Associated Types

type Rep NotifyApplicationState :: Type -> Type #

Read NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Show NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

NFData NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Methods

rnf :: NotifyApplicationState -> () #

Eq NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Hashable NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

type AWSResponse NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

type Rep NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

type Rep NotifyApplicationState = D1 ('MetaData "NotifyApplicationState" "Amazonka.MigrationHub.NotifyApplicationState" "amazonka-migrationhub-2.0-HPFHfkzHnlJDPxcpvPbrRQ" 'False) (C1 ('MetaCons "NotifyApplicationState'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "updateDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ApplicationStatus))))

newNotifyApplicationState Source #

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

NotifyApplicationState, notifyApplicationState_updateDateTime - The timestamp when the application state changed.

NotifyApplicationState, notifyApplicationState_applicationId - The configurationId in Application Discovery Service that uniquely identifies the grouped application.

NotifyApplicationState, notifyApplicationState_status - Status of the application - Not Started, In-Progress, Complete.

Request Lenses

notifyApplicationState_dryRun :: Lens' NotifyApplicationState (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.

notifyApplicationState_updateDateTime :: Lens' NotifyApplicationState (Maybe UTCTime) Source #

The timestamp when the application state changed.

notifyApplicationState_applicationId :: Lens' NotifyApplicationState Text Source #

The configurationId in Application Discovery Service that uniquely identifies the grouped application.

notifyApplicationState_status :: Lens' NotifyApplicationState ApplicationStatus Source #

Status of the application - Not Started, In-Progress, Complete.

Destructuring the Response

data NotifyApplicationStateResponse Source #

See: newNotifyApplicationStateResponse smart constructor.

Constructors

NotifyApplicationStateResponse' 

Fields

Instances

Instances details
Generic NotifyApplicationStateResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Associated Types

type Rep NotifyApplicationStateResponse :: Type -> Type #

Read NotifyApplicationStateResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Show NotifyApplicationStateResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

NFData NotifyApplicationStateResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Eq NotifyApplicationStateResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

type Rep NotifyApplicationStateResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

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

newNotifyApplicationStateResponse Source #

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

Response Lenses