amazonka-migration-hub-refactor-spaces-2.0: Amazon Migration Hub Refactor Spaces 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.MigrationHubReFactorSpaces.DeleteEnvironment

Description

Deletes an Amazon Web Services Migration Hub Refactor Spaces environment. Before you can delete an environment, you must first delete any applications and services within the environment.

Synopsis

Creating a Request

data DeleteEnvironment Source #

See: newDeleteEnvironment smart constructor.

Constructors

DeleteEnvironment' 

Fields

Instances

Instances details
ToHeaders DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

ToPath DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

ToQuery DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

AWSRequest DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

Associated Types

type AWSResponse DeleteEnvironment #

Generic DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

Associated Types

type Rep DeleteEnvironment :: Type -> Type #

Read DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

Show DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

NFData DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

Methods

rnf :: DeleteEnvironment -> () #

Eq DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

Hashable DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

type AWSResponse DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

type Rep DeleteEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

type Rep DeleteEnvironment = D1 ('MetaData "DeleteEnvironment" "Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "DeleteEnvironment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteEnvironment Source #

Create a value of DeleteEnvironment 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:environmentIdentifier:DeleteEnvironment', deleteEnvironment_environmentIdentifier - The ID of the environment.

Request Lenses

Destructuring the Response

data DeleteEnvironmentResponse Source #

See: newDeleteEnvironmentResponse smart constructor.

Constructors

DeleteEnvironmentResponse' 

Fields

Instances

Instances details
Generic DeleteEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

Associated Types

type Rep DeleteEnvironmentResponse :: Type -> Type #

Read DeleteEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

Show DeleteEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

NFData DeleteEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

Eq DeleteEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

type Rep DeleteEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment

type Rep DeleteEnvironmentResponse = D1 ('MetaData "DeleteEnvironmentResponse" "Amazonka.MigrationHubReFactorSpaces.DeleteEnvironment" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "DeleteEnvironmentResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentState)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDeleteEnvironmentResponse Source #

Create a value of DeleteEnvironmentResponse 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:

DeleteEnvironmentResponse, deleteEnvironmentResponse_arn - The Amazon Resource Name (ARN) of the environment.

DeleteEnvironmentResponse, deleteEnvironmentResponse_environmentId - The unique identifier of the environment.

DeleteEnvironmentResponse, deleteEnvironmentResponse_lastUpdatedTime - A timestamp that indicates when the environment was last updated.

DeleteEnvironmentResponse, deleteEnvironmentResponse_name - The name of the environment.

DeleteEnvironmentResponse, deleteEnvironmentResponse_state - The current state of the environment.

$sel:httpStatus:DeleteEnvironmentResponse', deleteEnvironmentResponse_httpStatus - The response's http status code.

Response Lenses

deleteEnvironmentResponse_arn :: Lens' DeleteEnvironmentResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the environment.

deleteEnvironmentResponse_lastUpdatedTime :: Lens' DeleteEnvironmentResponse (Maybe UTCTime) Source #

A timestamp that indicates when the environment was last updated.