| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MigrationHubReFactorSpaces.DeleteService
Description
Deletes an Amazon Web Services Migration Hub Refactor Spaces service.
Synopsis
- data DeleteService = DeleteService' {}
- newDeleteService :: Text -> Text -> Text -> DeleteService
- deleteService_applicationIdentifier :: Lens' DeleteService Text
- deleteService_environmentIdentifier :: Lens' DeleteService Text
- deleteService_serviceIdentifier :: Lens' DeleteService Text
- data DeleteServiceResponse = DeleteServiceResponse' {
- applicationId :: Maybe Text
- arn :: Maybe Text
- environmentId :: Maybe Text
- lastUpdatedTime :: Maybe POSIX
- name :: Maybe Text
- serviceId :: Maybe Text
- state :: Maybe ServiceState
- httpStatus :: Int
- newDeleteServiceResponse :: Int -> DeleteServiceResponse
- deleteServiceResponse_applicationId :: Lens' DeleteServiceResponse (Maybe Text)
- deleteServiceResponse_arn :: Lens' DeleteServiceResponse (Maybe Text)
- deleteServiceResponse_environmentId :: Lens' DeleteServiceResponse (Maybe Text)
- deleteServiceResponse_lastUpdatedTime :: Lens' DeleteServiceResponse (Maybe UTCTime)
- deleteServiceResponse_name :: Lens' DeleteServiceResponse (Maybe Text)
- deleteServiceResponse_serviceId :: Lens' DeleteServiceResponse (Maybe Text)
- deleteServiceResponse_state :: Lens' DeleteServiceResponse (Maybe ServiceState)
- deleteServiceResponse_httpStatus :: Lens' DeleteServiceResponse Int
Creating a Request
data DeleteService Source #
See: newDeleteService smart constructor.
Constructors
| DeleteService' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DeleteService |
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
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.
deleteServiceResponse_name :: Lens' DeleteServiceResponse (Maybe Text) Source #
The name of the service.
deleteServiceResponse_serviceId :: Lens' DeleteServiceResponse (Maybe Text) Source #
The unique identifier of the service.
deleteServiceResponse_state :: Lens' DeleteServiceResponse (Maybe ServiceState) Source #
The current state of the service.
deleteServiceResponse_httpStatus :: Lens' DeleteServiceResponse Int Source #
The response's http status code.