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

Description

Deletes an Amazon Web Services Migration Hub Refactor Spaces service.

Synopsis

Creating a Request

data DeleteService Source #

See: newDeleteService smart constructor.

Constructors

DeleteService' 

Fields

  • applicationIdentifier :: Text

    Deletes a Refactor Spaces service.

    The RefactorSpacesSecurityGroup security group must be removed from all Amazon Web Services resources in the virtual private cloud (VPC) prior to deleting a service with a URL endpoint in a VPC.

  • environmentIdentifier :: Text

    The ID of the environment that the service is in.

  • serviceIdentifier :: Text

    The ID of the service to delete.

Instances

Instances details
ToHeaders DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

ToPath DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

ToQuery DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

AWSRequest DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

Associated Types

type AWSResponse DeleteService #

Generic DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

Associated Types

type Rep DeleteService :: Type -> Type #

Read DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

Show DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

NFData DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

Methods

rnf :: DeleteService -> () #

Eq DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

Hashable DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

type AWSResponse DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

type Rep DeleteService Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

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

newDeleteService Source #

Create a value of DeleteService 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:applicationIdentifier:DeleteService', deleteService_applicationIdentifier - Deletes a Refactor Spaces service.

The RefactorSpacesSecurityGroup security group must be removed from all Amazon Web Services resources in the virtual private cloud (VPC) prior to deleting a service with a URL endpoint in a VPC.

$sel:environmentIdentifier:DeleteService', deleteService_environmentIdentifier - The ID of the environment that the service is in.

$sel:serviceIdentifier:DeleteService', deleteService_serviceIdentifier - The ID of the service to delete.

Request Lenses

deleteService_applicationIdentifier :: Lens' DeleteService Text Source #

Deletes a Refactor Spaces service.

The RefactorSpacesSecurityGroup security group must be removed from all Amazon Web Services resources in the virtual private cloud (VPC) prior to deleting a service with a URL endpoint in a VPC.

deleteService_environmentIdentifier :: Lens' DeleteService Text Source #

The ID of the environment that the service is in.

deleteService_serviceIdentifier :: Lens' DeleteService Text Source #

The ID of the service to delete.

Destructuring the Response

data DeleteServiceResponse Source #

See: newDeleteServiceResponse smart constructor.

Constructors

DeleteServiceResponse' 

Fields

Instances

Instances details
Generic DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

Associated Types

type Rep DeleteServiceResponse :: Type -> Type #

Read DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

Show DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

NFData DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

Methods

rnf :: DeleteServiceResponse -> () #

Eq DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

type Rep DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.DeleteService

type Rep DeleteServiceResponse = D1 ('MetaData "DeleteServiceResponse" "Amazonka.MigrationHubReFactorSpaces.DeleteService" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "DeleteServiceResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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 "serviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceState)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDeleteServiceResponse Source #

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

DeleteServiceResponse, deleteServiceResponse_applicationId - The ID of the application that the service is in.

DeleteServiceResponse, deleteServiceResponse_arn - The Amazon Resource Name (ARN) of the service.

DeleteServiceResponse, deleteServiceResponse_environmentId - The unique identifier of the environment.

DeleteServiceResponse, deleteServiceResponse_lastUpdatedTime - A timestamp that indicates when the service was last updated.

DeleteServiceResponse, deleteServiceResponse_name - The name of the service.

DeleteServiceResponse, deleteServiceResponse_serviceId - The unique identifier of the service.

DeleteServiceResponse, deleteServiceResponse_state - The current state of the service.

$sel:httpStatus:DeleteServiceResponse', deleteServiceResponse_httpStatus - The response's http status code.

Response Lenses

deleteServiceResponse_applicationId :: Lens' DeleteServiceResponse (Maybe Text) Source #

The ID of the application that the service is in.

deleteServiceResponse_arn :: Lens' DeleteServiceResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the service.

deleteServiceResponse_environmentId :: Lens' DeleteServiceResponse (Maybe Text) Source #

The unique identifier of the environment.

deleteServiceResponse_lastUpdatedTime :: Lens' DeleteServiceResponse (Maybe UTCTime) Source #

A timestamp that indicates when the service was last updated.