@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSMigrationHubRefactorSpacesAsync extends AWSMigrationHubRefactorSpaces
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSMigrationHubRefactorSpacesAsync
instead.
This API reference provides descriptions, syntax, and other details about each of the actions and data types for Amazon Web Services Migration Hub Refactor Spaces (Refactor Spaces). The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see Amazon Web Services SDKs.
To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations and their OUs,
use Resource Access Manager's CreateResourceShare
API. See CreateResourceShare in
the Amazon Web Services RAM API Reference.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<CreateApplicationResult> |
createApplicationAsync(CreateApplicationRequest createApplicationRequest)
Creates an Amazon Web Services Migration Hub Refactor Spaces application.
|
Future<CreateApplicationResult> |
createApplicationAsync(CreateApplicationRequest createApplicationRequest,
AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
Creates an Amazon Web Services Migration Hub Refactor Spaces application.
|
Future<CreateEnvironmentResult> |
createEnvironmentAsync(CreateEnvironmentRequest createEnvironmentRequest)
Creates an Amazon Web Services Migration Hub Refactor Spaces environment.
|
Future<CreateEnvironmentResult> |
createEnvironmentAsync(CreateEnvironmentRequest createEnvironmentRequest,
AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
Creates an Amazon Web Services Migration Hub Refactor Spaces environment.
|
Future<CreateRouteResult> |
createRouteAsync(CreateRouteRequest createRouteRequest)
Creates an Amazon Web Services Migration Hub Refactor Spaces route.
|
Future<CreateRouteResult> |
createRouteAsync(CreateRouteRequest createRouteRequest,
AsyncHandler<CreateRouteRequest,CreateRouteResult> asyncHandler)
Creates an Amazon Web Services Migration Hub Refactor Spaces route.
|
Future<CreateServiceResult> |
createServiceAsync(CreateServiceRequest createServiceRequest)
Creates an Amazon Web Services Migration Hub Refactor Spaces service.
|
Future<CreateServiceResult> |
createServiceAsync(CreateServiceRequest createServiceRequest,
AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
Creates an Amazon Web Services Migration Hub Refactor Spaces service.
|
Future<DeleteApplicationResult> |
deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest)
Deletes an Amazon Web Services Migration Hub Refactor Spaces application.
|
Future<DeleteApplicationResult> |
deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest,
AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
Deletes an Amazon Web Services Migration Hub Refactor Spaces application.
|
Future<DeleteEnvironmentResult> |
deleteEnvironmentAsync(DeleteEnvironmentRequest deleteEnvironmentRequest)
Deletes an Amazon Web Services Migration Hub Refactor Spaces environment.
|
Future<DeleteEnvironmentResult> |
deleteEnvironmentAsync(DeleteEnvironmentRequest deleteEnvironmentRequest,
AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
Deletes an Amazon Web Services Migration Hub Refactor Spaces environment.
|
Future<DeleteResourcePolicyResult> |
deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes the resource policy set for the environment.
|
Future<DeleteResourcePolicyResult> |
deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest,
AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
Deletes the resource policy set for the environment.
|
Future<DeleteRouteResult> |
deleteRouteAsync(DeleteRouteRequest deleteRouteRequest)
Deletes an Amazon Web Services Migration Hub Refactor Spaces route.
|
Future<DeleteRouteResult> |
deleteRouteAsync(DeleteRouteRequest deleteRouteRequest,
AsyncHandler<DeleteRouteRequest,DeleteRouteResult> asyncHandler)
Deletes an Amazon Web Services Migration Hub Refactor Spaces route.
|
Future<DeleteServiceResult> |
deleteServiceAsync(DeleteServiceRequest deleteServiceRequest)
Deletes an Amazon Web Services Migration Hub Refactor Spaces service.
|
Future<DeleteServiceResult> |
deleteServiceAsync(DeleteServiceRequest deleteServiceRequest,
AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
Deletes an Amazon Web Services Migration Hub Refactor Spaces service.
|
Future<GetApplicationResult> |
getApplicationAsync(GetApplicationRequest getApplicationRequest)
Gets an Amazon Web Services Migration Hub Refactor Spaces application.
|
Future<GetApplicationResult> |
getApplicationAsync(GetApplicationRequest getApplicationRequest,
AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
Gets an Amazon Web Services Migration Hub Refactor Spaces application.
|
Future<GetEnvironmentResult> |
getEnvironmentAsync(GetEnvironmentRequest getEnvironmentRequest)
Gets an Amazon Web Services Migration Hub Refactor Spaces environment.
|
Future<GetEnvironmentResult> |
getEnvironmentAsync(GetEnvironmentRequest getEnvironmentRequest,
AsyncHandler<GetEnvironmentRequest,GetEnvironmentResult> asyncHandler)
Gets an Amazon Web Services Migration Hub Refactor Spaces environment.
|
Future<GetResourcePolicyResult> |
getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest)
Gets the resource-based permission policy that is set for the given environment.
|
Future<GetResourcePolicyResult> |
getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest,
AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
Gets the resource-based permission policy that is set for the given environment.
|
Future<GetRouteResult> |
getRouteAsync(GetRouteRequest getRouteRequest)
Gets an Amazon Web Services Migration Hub Refactor Spaces route.
|
Future<GetRouteResult> |
getRouteAsync(GetRouteRequest getRouteRequest,
AsyncHandler<GetRouteRequest,GetRouteResult> asyncHandler)
Gets an Amazon Web Services Migration Hub Refactor Spaces route.
|
Future<GetServiceResult> |
getServiceAsync(GetServiceRequest getServiceRequest)
Gets an Amazon Web Services Migration Hub Refactor Spaces service.
|
Future<GetServiceResult> |
getServiceAsync(GetServiceRequest getServiceRequest,
AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
Gets an Amazon Web Services Migration Hub Refactor Spaces service.
|
Future<ListApplicationsResult> |
listApplicationsAsync(ListApplicationsRequest listApplicationsRequest)
Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment.
|
Future<ListApplicationsResult> |
listApplicationsAsync(ListApplicationsRequest listApplicationsRequest,
AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment.
|
Future<ListEnvironmentsResult> |
listEnvironmentsAsync(ListEnvironmentsRequest listEnvironmentsRequest)
Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the
caller account.
|
Future<ListEnvironmentsResult> |
listEnvironmentsAsync(ListEnvironmentsRequest listEnvironmentsRequest,
AsyncHandler<ListEnvironmentsRequest,ListEnvironmentsResult> asyncHandler)
Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the
caller account.
|
Future<ListEnvironmentVpcsResult> |
listEnvironmentVpcsAsync(ListEnvironmentVpcsRequest listEnvironmentVpcsRequest)
Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part
of the environment.
|
Future<ListEnvironmentVpcsResult> |
listEnvironmentVpcsAsync(ListEnvironmentVpcsRequest listEnvironmentVpcsRequest,
AsyncHandler<ListEnvironmentVpcsRequest,ListEnvironmentVpcsResult> asyncHandler)
Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part
of the environment.
|
Future<ListRoutesResult> |
listRoutesAsync(ListRoutesRequest listRoutesRequest)
Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application.
|
Future<ListRoutesResult> |
listRoutesAsync(ListRoutesRequest listRoutesRequest,
AsyncHandler<ListRoutesRequest,ListRoutesResult> asyncHandler)
Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application.
|
Future<ListServicesResult> |
listServicesAsync(ListServicesRequest listServicesRequest)
Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application.
|
Future<ListServicesResult> |
listServicesAsync(ListServicesRequest listServicesRequest,
AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags of a resource.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags of a resource.
|
Future<PutResourcePolicyResult> |
putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest)
Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment.
|
Future<PutResourcePolicyResult> |
putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest,
AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest tagResourceRequest)
Removes the tags of a given resource.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest tagResourceRequest,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Removes the tags of a given resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest untagResourceRequest)
Adds to or modifies the tags of the given resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest untagResourceRequest,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Adds to or modifies the tags of the given resource.
|
Future<UpdateRouteResult> |
updateRouteAsync(UpdateRouteRequest updateRouteRequest)
Updates an Amazon Web Services Migration Hub Refactor Spaces route.
|
Future<UpdateRouteResult> |
updateRouteAsync(UpdateRouteRequest updateRouteRequest,
AsyncHandler<UpdateRouteRequest,UpdateRouteResult> asyncHandler)
Updates an Amazon Web Services Migration Hub Refactor Spaces route.
|
createApplication, createEnvironment, createRoute, createService, deleteApplication, deleteEnvironment, deleteResourcePolicy, deleteRoute, deleteService, getApplication, getCachedResponseMetadata, getEnvironment, getResourcePolicy, getRoute, getService, listApplications, listEnvironments, listEnvironmentVpcs, listRoutes, listServices, listTagsForResource, putResourcePolicy, shutdown, tagResource, untagResource, updateRoute
Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest)
Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the applications created inside the environment, regardless of the account that creates the application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and Network Load Balancer for the application proxy inside your account.
In environments created with a CreateEnvironment:NetworkFabricType of NONE
you need to configure VPC to VPC connectivity between your service VPC and the application proxy VPC to route traffic through the
application proxy to a service with a private URL endpoint. For more information, see Create an application in the Refactor Spaces User Guide.
createApplicationRequest
- Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the applications created inside the environment, regardless of the account that creates the application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and Network Load Balancer for the application proxy inside your account.
In environments created with a CreateEnvironment:NetworkFabricType of NONE
you need to configure VPC to VPC connectivity between your service VPC and the application proxy VPC to route traffic through the
application proxy to a service with a private URL endpoint. For more information, see Create an application in the Refactor Spaces User Guide.
createApplicationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest createEnvironmentRequest)
Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all Refactor Spaces applications, services, and routes created within the environment. They are referred to as the environment owner. The environment owner has cross-account visibility and control of Refactor Spaces resources that are added to the environment by other accounts that the environment is shared with.
When creating an environment with a CreateEnvironment:NetworkFabricType of TRANSIT_GATEWAY
, Refactor Spaces provisions a transit
gateway to enable services in VPCs to communicate directly across accounts. If CreateEnvironment:NetworkFabricType is NONE
, Refactor Spaces does not create a transit gateway
and you must use your network infrastructure to route traffic to services with private URL endpoints.
createEnvironmentRequest
- Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest createEnvironmentRequest, AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all Refactor Spaces applications, services, and routes created within the environment. They are referred to as the environment owner. The environment owner has cross-account visibility and control of Refactor Spaces resources that are added to the environment by other accounts that the environment is shared with.
When creating an environment with a CreateEnvironment:NetworkFabricType of TRANSIT_GATEWAY
, Refactor Spaces provisions a transit
gateway to enable services in VPCs to communicate directly across accounts. If CreateEnvironment:NetworkFabricType is NONE
, Refactor Spaces does not create a transit gateway
and you must use your network infrastructure to route traffic to services with private URL endpoints.
createEnvironmentRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateRouteResult> createRouteAsync(CreateRouteRequest createRouteRequest)
Creates an Amazon Web Services Migration Hub Refactor Spaces route. The account owner of the service resource is
always the environment owner, regardless of which account creates the route. Routes target a service in the
application. If an application does not have any routes, then the first route must be created as a
DEFAULT
RouteType
.
When created, the default route defaults to an active state so state is not a required input. However, like all other state values the state of the default route can be updated after creation, but only when all other routes are also inactive. Conversely, no route can be active without the default route also being active.
When you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic to the target service as follows:
URL Endpoints
If the service has a URL endpoint, and the endpoint resolves to a private IP address, Refactor Spaces routes traffic using the API Gateway VPC link. If a service endpoint resolves to a public IP address, Refactor Spaces routes traffic over the public internet. Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed certificates are supported. Private Certificate Authorities (CAs) are permitted only if the CA's domain is also publicly resolvable.
Refactor Spaces automatically resolves the public Domain Name System (DNS) names that are set in
CreateService:UrlEndpoint
when you create a service. The DNS names resolve when the DNS time-to-live
(TTL) expires, or every 60 seconds for TTLs less than 60 seconds. This periodic DNS resolution ensures that the
route configuration remains up-to-date.
One-time health check
A one-time health check is performed on the service when either the route is updated from inactive to active, or
when it is created with an active state. If the health check fails, the route transitions the route state to
FAILED
, an error code of SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE
is provided, and no
traffic is sent to the service.
For private URLs, a target group is created on the Network Load Balancer and the load balancer target group runs default target health checks. By default, the health check is run against the service endpoint URL. Optionally, the health check can be performed against a different protocol, port, and/or path using the CreateService:UrlEndpoint parameter. All other health check settings for the load balancer use the default values described in the Health checks for your target groups in the Elastic Load Balancing guide. The health check is considered successful if at least one target within the target group transitions to a healthy state.
Lambda function endpoints
If the service has an Lambda function endpoint, then Refactor Spaces configures the Lambda function's resource policy to allow the application's API Gateway to invoke the function.
The Lambda function state is checked. If the function is not active, the function configuration is updated so
that Lambda resources are provisioned. If the Lambda state is Failed
, then the route creation fails.
For more information, see the GetFunctionConfiguration's State response parameter in the Lambda Developer Guide.
A check is performed to determine that a Lambda function with the specified ARN exists. If it does not exist, the health check fails. For public URLs, a connection is opened to the public endpoint. If the URL is not reachable, the health check fails.
Environments without a network bridge
When you create environments without a network bridge (CreateEnvironment:NetworkFabricType is NONE)
and you use your own networking infrastructure,
you need to configure VPC to VPC connectivity between your network and the application proxy VPC. Route creation from the
application proxy to service endpoints will fail if your network is not configured to connect to the application
proxy VPC. For more information, see
Create a route in the Refactor Spaces User Guide.
createRouteRequest
- Future<CreateRouteResult> createRouteAsync(CreateRouteRequest createRouteRequest, AsyncHandler<CreateRouteRequest,CreateRouteResult> asyncHandler)
Creates an Amazon Web Services Migration Hub Refactor Spaces route. The account owner of the service resource is
always the environment owner, regardless of which account creates the route. Routes target a service in the
application. If an application does not have any routes, then the first route must be created as a
DEFAULT
RouteType
.
When created, the default route defaults to an active state so state is not a required input. However, like all other state values the state of the default route can be updated after creation, but only when all other routes are also inactive. Conversely, no route can be active without the default route also being active.
When you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic to the target service as follows:
URL Endpoints
If the service has a URL endpoint, and the endpoint resolves to a private IP address, Refactor Spaces routes traffic using the API Gateway VPC link. If a service endpoint resolves to a public IP address, Refactor Spaces routes traffic over the public internet. Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed certificates are supported. Private Certificate Authorities (CAs) are permitted only if the CA's domain is also publicly resolvable.
Refactor Spaces automatically resolves the public Domain Name System (DNS) names that are set in
CreateService:UrlEndpoint
when you create a service. The DNS names resolve when the DNS time-to-live
(TTL) expires, or every 60 seconds for TTLs less than 60 seconds. This periodic DNS resolution ensures that the
route configuration remains up-to-date.
One-time health check
A one-time health check is performed on the service when either the route is updated from inactive to active, or
when it is created with an active state. If the health check fails, the route transitions the route state to
FAILED
, an error code of SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE
is provided, and no
traffic is sent to the service.
For private URLs, a target group is created on the Network Load Balancer and the load balancer target group runs default target health checks. By default, the health check is run against the service endpoint URL. Optionally, the health check can be performed against a different protocol, port, and/or path using the CreateService:UrlEndpoint parameter. All other health check settings for the load balancer use the default values described in the Health checks for your target groups in the Elastic Load Balancing guide. The health check is considered successful if at least one target within the target group transitions to a healthy state.
Lambda function endpoints
If the service has an Lambda function endpoint, then Refactor Spaces configures the Lambda function's resource policy to allow the application's API Gateway to invoke the function.
The Lambda function state is checked. If the function is not active, the function configuration is updated so
that Lambda resources are provisioned. If the Lambda state is Failed
, then the route creation fails.
For more information, see the GetFunctionConfiguration's State response parameter in the Lambda Developer Guide.
A check is performed to determine that a Lambda function with the specified ARN exists. If it does not exist, the health check fails. For public URLs, a connection is opened to the public endpoint. If the URL is not reachable, the health check fails.
Environments without a network bridge
When you create environments without a network bridge (CreateEnvironment:NetworkFabricType is NONE)
and you use your own networking infrastructure,
you need to configure VPC to VPC connectivity between your network and the application proxy VPC. Route creation from the
application proxy to service endpoints will fail if your network is not configured to connect to the application
proxy VPC. For more information, see
Create a route in the Refactor Spaces User Guide.
createRouteRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateServiceResult> createServiceAsync(CreateServiceRequest createServiceRequest)
Creates an Amazon Web Services Migration Hub Refactor Spaces service. The account owner of the service is always the environment owner, regardless of which account in the environment creates the service. Services have either a URL endpoint in a virtual private cloud (VPC), or a Lambda function endpoint.
If an Amazon Web Services resource is launched in a service VPC, and you want it to be accessible to all of an
environment’s services with VPCs and routes, apply the RefactorSpacesSecurityGroup
to the resource.
Alternatively, to add more cross-account constraints, apply your own security group.
createServiceRequest
- Future<CreateServiceResult> createServiceAsync(CreateServiceRequest createServiceRequest, AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
Creates an Amazon Web Services Migration Hub Refactor Spaces service. The account owner of the service is always the environment owner, regardless of which account in the environment creates the service. Services have either a URL endpoint in a virtual private cloud (VPC), or a Lambda function endpoint.
If an Amazon Web Services resource is launched in a service VPC, and you want it to be accessible to all of an
environment’s services with VPCs and routes, apply the RefactorSpacesSecurityGroup
to the resource.
Alternatively, to add more cross-account constraints, apply your own security group.
createServiceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest)
Deletes an Amazon Web Services Migration Hub Refactor Spaces application. Before you can delete an application, you must first delete any services or routes within the application.
deleteApplicationRequest
- Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
Deletes an Amazon Web Services Migration Hub Refactor Spaces application. Before you can delete an application, you must first delete any services or routes within the application.
deleteApplicationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest deleteEnvironmentRequest)
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.
deleteEnvironmentRequest
- Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest deleteEnvironmentRequest, AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
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.
deleteEnvironmentRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes the resource policy set for the environment.
deleteResourcePolicyRequest
- Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
Deletes the resource policy set for the environment.
deleteResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteRouteResult> deleteRouteAsync(DeleteRouteRequest deleteRouteRequest)
Deletes an Amazon Web Services Migration Hub Refactor Spaces route.
deleteRouteRequest
- Future<DeleteRouteResult> deleteRouteAsync(DeleteRouteRequest deleteRouteRequest, AsyncHandler<DeleteRouteRequest,DeleteRouteResult> asyncHandler)
Deletes an Amazon Web Services Migration Hub Refactor Spaces route.
deleteRouteRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest deleteServiceRequest)
Deletes an Amazon Web Services Migration Hub Refactor Spaces service.
deleteServiceRequest
- Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest deleteServiceRequest, AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
Deletes an Amazon Web Services Migration Hub Refactor Spaces service.
deleteServiceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest getApplicationRequest)
Gets an Amazon Web Services Migration Hub Refactor Spaces application.
getApplicationRequest
- Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest getApplicationRequest, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
Gets an Amazon Web Services Migration Hub Refactor Spaces application.
getApplicationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest getEnvironmentRequest)
Gets an Amazon Web Services Migration Hub Refactor Spaces environment.
getEnvironmentRequest
- Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest getEnvironmentRequest, AsyncHandler<GetEnvironmentRequest,GetEnvironmentResult> asyncHandler)
Gets an Amazon Web Services Migration Hub Refactor Spaces environment.
getEnvironmentRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest)
Gets the resource-based permission policy that is set for the given environment.
getResourcePolicyRequest
- Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
Gets the resource-based permission policy that is set for the given environment.
getResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetRouteResult> getRouteAsync(GetRouteRequest getRouteRequest)
Gets an Amazon Web Services Migration Hub Refactor Spaces route.
getRouteRequest
- Future<GetRouteResult> getRouteAsync(GetRouteRequest getRouteRequest, AsyncHandler<GetRouteRequest,GetRouteResult> asyncHandler)
Gets an Amazon Web Services Migration Hub Refactor Spaces route.
getRouteRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetServiceResult> getServiceAsync(GetServiceRequest getServiceRequest)
Gets an Amazon Web Services Migration Hub Refactor Spaces service.
getServiceRequest
- Future<GetServiceResult> getServiceAsync(GetServiceRequest getServiceRequest, AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
Gets an Amazon Web Services Migration Hub Refactor Spaces service.
getServiceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest listApplicationsRequest)
Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment.
listApplicationsRequest
- Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest listApplicationsRequest, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment.
listApplicationsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListEnvironmentVpcsResult> listEnvironmentVpcsAsync(ListEnvironmentVpcsRequest listEnvironmentVpcsRequest)
Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the environment.
listEnvironmentVpcsRequest
- Future<ListEnvironmentVpcsResult> listEnvironmentVpcsAsync(ListEnvironmentVpcsRequest listEnvironmentVpcsRequest, AsyncHandler<ListEnvironmentVpcsRequest,ListEnvironmentVpcsResult> asyncHandler)
Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the environment.
listEnvironmentVpcsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest listEnvironmentsRequest)
Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the caller account.
listEnvironmentsRequest
- Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest listEnvironmentsRequest, AsyncHandler<ListEnvironmentsRequest,ListEnvironmentsResult> asyncHandler)
Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the caller account.
listEnvironmentsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListRoutesResult> listRoutesAsync(ListRoutesRequest listRoutesRequest)
Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application.
listRoutesRequest
- Future<ListRoutesResult> listRoutesAsync(ListRoutesRequest listRoutesRequest, AsyncHandler<ListRoutesRequest,ListRoutesResult> asyncHandler)
Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application.
listRoutesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListServicesResult> listServicesAsync(ListServicesRequest listServicesRequest)
Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application.
listServicesRequest
- Future<ListServicesResult> listServicesAsync(ListServicesRequest listServicesRequest, AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application.
listServicesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags of a resource. The caller account must be the same as the resource’s OwnerAccountId
.
Listing tags in other accounts is not supported.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags of a resource. The caller account must be the same as the resource’s OwnerAccountId
.
Listing tags in other accounts is not supported.
listTagsForResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest)
Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment.
The policy must contain the same actions and condition statements as the
arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment
permission in Resource
Access Manager. The policy must not contain new lines or blank lines.
putResourcePolicyRequest
- Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest, AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment.
The policy must contain the same actions and condition statements as the
arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment
permission in Resource
Access Manager. The policy must not contain new lines or blank lines.
putResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Removes the tags of a given resource. Tags are metadata which can be used to manage a resource. To tag a
resource, the caller account must be the same as the resource’s OwnerAccountId
. Tagging resources in
other accounts is not supported.
Amazon Web Services Migration Hub Refactor Spaces does not propagate tags to orchestrated resources, such as an environment’s transit gateway.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Removes the tags of a given resource. Tags are metadata which can be used to manage a resource. To tag a
resource, the caller account must be the same as the resource’s OwnerAccountId
. Tagging resources in
other accounts is not supported.
Amazon Web Services Migration Hub Refactor Spaces does not propagate tags to orchestrated resources, such as an environment’s transit gateway.
tagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource. To
untag a resource, the caller account must be the same as the resource’s OwnerAccountId
. Untagging
resources across accounts is not supported.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource. To
untag a resource, the caller account must be the same as the resource’s OwnerAccountId
. Untagging
resources across accounts is not supported.
untagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateRouteResult> updateRouteAsync(UpdateRouteRequest updateRouteRequest)
Updates an Amazon Web Services Migration Hub Refactor Spaces route.
updateRouteRequest
- Future<UpdateRouteResult> updateRouteAsync(UpdateRouteRequest updateRouteRequest, AsyncHandler<UpdateRouteRequest,UpdateRouteResult> asyncHandler)
Updates an Amazon Web Services Migration Hub Refactor Spaces route.
updateRouteRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.