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

  • updateDateTime :: Maybe POSIX

    The timestamp when the application state changed.

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

  • 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
Eq NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Read NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Show NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Generic NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Associated Types

type Rep NotifyApplicationState :: Type -> Type #

NFData NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Methods

rnf :: NotifyApplicationState -> () #

Hashable NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

ToJSON NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

AWSRequest NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Associated Types

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

type Rep NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

type Rep NotifyApplicationState = D1 ('MetaData "NotifyApplicationState" "Amazonka.MigrationHub.NotifyApplicationState" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "NotifyApplicationState'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "updateDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ApplicationStatus))))
type AWSResponse NotifyApplicationState Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

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:updateDateTime:NotifyApplicationState', notifyApplicationState_updateDateTime - The timestamp when the application state changed.

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

$sel:applicationId:NotifyApplicationState', notifyApplicationState_applicationId - The configurationId in Application Discovery Service that uniquely identifies the grouped application.

$sel:status:NotifyApplicationState', notifyApplicationState_status - Status of the application - Not Started, In-Progress, Complete.

Request Lenses

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

The timestamp when the application state changed.

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_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
Eq NotifyApplicationStateResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Read NotifyApplicationStateResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Show NotifyApplicationStateResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Generic NotifyApplicationStateResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.NotifyApplicationState

Associated Types

type Rep NotifyApplicationStateResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" '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