@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMigrationHubRefactorSpacesAsyncClient extends AWSMigrationHubRefactorSpacesClient implements AWSMigrationHubRefactorSpacesAsync
AsyncHandler can be used to
 receive notification when an asynchronous operation completes.
 
 
  <p>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 <a href="https://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p> <p>To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations and their OUs, use Resource Access Manager's <code>CreateResourceShare</code> API. See <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> in the <i>Amazon Web Services RAM API Reference</i>.</p> 
 LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description | 
|---|---|
| static AWSMigrationHubRefactorSpacesAsyncClientBuilder | asyncBuilder() | 
| Future<CreateApplicationResult> | createApplicationAsync(CreateApplicationRequest request)
 Creates an Amazon Web Services Migration Hub Refactor Spaces application. | 
| Future<CreateApplicationResult> | createApplicationAsync(CreateApplicationRequest request,
                      AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
 Creates an Amazon Web Services Migration Hub Refactor Spaces application. | 
| Future<CreateEnvironmentResult> | createEnvironmentAsync(CreateEnvironmentRequest request)
 Creates an Amazon Web Services Migration Hub Refactor Spaces environment. | 
| Future<CreateEnvironmentResult> | createEnvironmentAsync(CreateEnvironmentRequest request,
                      AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
 Creates an Amazon Web Services Migration Hub Refactor Spaces environment. | 
| Future<CreateRouteResult> | createRouteAsync(CreateRouteRequest request)
 Creates an Amazon Web Services Migration Hub Refactor Spaces route. | 
| Future<CreateRouteResult> | createRouteAsync(CreateRouteRequest request,
                AsyncHandler<CreateRouteRequest,CreateRouteResult> asyncHandler)
 Creates an Amazon Web Services Migration Hub Refactor Spaces route. | 
| Future<CreateServiceResult> | createServiceAsync(CreateServiceRequest request)
 Creates an Amazon Web Services Migration Hub Refactor Spaces service. | 
| Future<CreateServiceResult> | createServiceAsync(CreateServiceRequest request,
                  AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
 Creates an Amazon Web Services Migration Hub Refactor Spaces service. | 
| Future<DeleteApplicationResult> | deleteApplicationAsync(DeleteApplicationRequest request)
 Deletes an Amazon Web Services Migration Hub Refactor Spaces application. | 
| Future<DeleteApplicationResult> | deleteApplicationAsync(DeleteApplicationRequest request,
                      AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
 Deletes an Amazon Web Services Migration Hub Refactor Spaces application. | 
| Future<DeleteEnvironmentResult> | deleteEnvironmentAsync(DeleteEnvironmentRequest request)
 Deletes an Amazon Web Services Migration Hub Refactor Spaces environment. | 
| Future<DeleteEnvironmentResult> | deleteEnvironmentAsync(DeleteEnvironmentRequest request,
                      AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
 Deletes an Amazon Web Services Migration Hub Refactor Spaces environment. | 
| Future<DeleteResourcePolicyResult> | deleteResourcePolicyAsync(DeleteResourcePolicyRequest request)
 Deletes the resource policy set for the environment. | 
| Future<DeleteResourcePolicyResult> | deleteResourcePolicyAsync(DeleteResourcePolicyRequest request,
                         AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
 Deletes the resource policy set for the environment. | 
| Future<DeleteRouteResult> | deleteRouteAsync(DeleteRouteRequest request)
 Deletes an Amazon Web Services Migration Hub Refactor Spaces route. | 
| Future<DeleteRouteResult> | deleteRouteAsync(DeleteRouteRequest request,
                AsyncHandler<DeleteRouteRequest,DeleteRouteResult> asyncHandler)
 Deletes an Amazon Web Services Migration Hub Refactor Spaces route. | 
| Future<DeleteServiceResult> | deleteServiceAsync(DeleteServiceRequest request)
 Deletes an Amazon Web Services Migration Hub Refactor Spaces service. | 
| Future<DeleteServiceResult> | deleteServiceAsync(DeleteServiceRequest request,
                  AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
 Deletes an Amazon Web Services Migration Hub Refactor Spaces service. | 
| Future<GetApplicationResult> | getApplicationAsync(GetApplicationRequest request)
 Gets an Amazon Web Services Migration Hub Refactor Spaces application. | 
| Future<GetApplicationResult> | getApplicationAsync(GetApplicationRequest request,
                   AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
 Gets an Amazon Web Services Migration Hub Refactor Spaces application. | 
| Future<GetEnvironmentResult> | getEnvironmentAsync(GetEnvironmentRequest request)
 Gets an Amazon Web Services Migration Hub Refactor Spaces environment. | 
| Future<GetEnvironmentResult> | getEnvironmentAsync(GetEnvironmentRequest request,
                   AsyncHandler<GetEnvironmentRequest,GetEnvironmentResult> asyncHandler)
 Gets an Amazon Web Services Migration Hub Refactor Spaces environment. | 
| ExecutorService | getExecutorService()Returns the executor service used by this client to execute async requests. | 
| Future<GetResourcePolicyResult> | getResourcePolicyAsync(GetResourcePolicyRequest request)
 Gets the resource-based permission policy that is set for the given environment. | 
| Future<GetResourcePolicyResult> | getResourcePolicyAsync(GetResourcePolicyRequest request,
                      AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
 Gets the resource-based permission policy that is set for the given environment. | 
| Future<GetRouteResult> | getRouteAsync(GetRouteRequest request)
 Gets an Amazon Web Services Migration Hub Refactor Spaces route. | 
| Future<GetRouteResult> | getRouteAsync(GetRouteRequest request,
             AsyncHandler<GetRouteRequest,GetRouteResult> asyncHandler)
 Gets an Amazon Web Services Migration Hub Refactor Spaces route. | 
| Future<GetServiceResult> | getServiceAsync(GetServiceRequest request)
 Gets an Amazon Web Services Migration Hub Refactor Spaces service. | 
| Future<GetServiceResult> | getServiceAsync(GetServiceRequest request,
               AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
 Gets an Amazon Web Services Migration Hub Refactor Spaces service. | 
| Future<ListApplicationsResult> | listApplicationsAsync(ListApplicationsRequest request)
 Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment. | 
| Future<ListApplicationsResult> | listApplicationsAsync(ListApplicationsRequest request,
                     AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
 Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment. | 
| Future<ListEnvironmentsResult> | listEnvironmentsAsync(ListEnvironmentsRequest request)
 Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the
 caller account. | 
| Future<ListEnvironmentsResult> | listEnvironmentsAsync(ListEnvironmentsRequest request,
                     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 request)
 Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part
 of the environment. | 
| Future<ListEnvironmentVpcsResult> | listEnvironmentVpcsAsync(ListEnvironmentVpcsRequest request,
                        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 request)
 Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application. | 
| Future<ListRoutesResult> | listRoutesAsync(ListRoutesRequest request,
               AsyncHandler<ListRoutesRequest,ListRoutesResult> asyncHandler)
 Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application. | 
| Future<ListServicesResult> | listServicesAsync(ListServicesRequest request)
 Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application. | 
| Future<ListServicesResult> | listServicesAsync(ListServicesRequest request,
                 AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
 Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application. | 
| Future<ListTagsForResourceResult> | listTagsForResourceAsync(ListTagsForResourceRequest request)
 Lists the tags of a resource. | 
| Future<ListTagsForResourceResult> | listTagsForResourceAsync(ListTagsForResourceRequest request,
                        AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
 Lists the tags of a resource. | 
| Future<PutResourcePolicyResult> | putResourcePolicyAsync(PutResourcePolicyRequest request)
 Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment. | 
| Future<PutResourcePolicyResult> | putResourcePolicyAsync(PutResourcePolicyRequest request,
                      AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
 Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment. | 
| void | shutdown()Shuts down the client, releasing all managed resources. | 
| Future<TagResourceResult> | tagResourceAsync(TagResourceRequest request)
 Removes the tags of a given resource. | 
| Future<TagResourceResult> | tagResourceAsync(TagResourceRequest request,
                AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
 Removes the tags of a given resource. | 
| Future<UntagResourceResult> | untagResourceAsync(UntagResourceRequest request)
 Adds to or modifies the tags of the given resource. | 
| Future<UntagResourceResult> | untagResourceAsync(UntagResourceRequest request,
                  AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
 Adds to or modifies the tags of the given resource. | 
builder, createApplication, createEnvironment, createRoute, createService, deleteApplication, deleteEnvironment, deleteResourcePolicy, deleteRoute, deleteService, getApplication, getCachedResponseMetadata, getEnvironment, getResourcePolicy, getRoute, getService, listApplications, listEnvironments, listEnvironmentVpcs, listRoutes, listServices, listTagsForResource, putResourcePolicy, tagResource, untagResourceaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateApplication, createEnvironment, createRoute, createService, deleteApplication, deleteEnvironment, deleteResourcePolicy, deleteRoute, deleteService, getApplication, getCachedResponseMetadata, getEnvironment, getResourcePolicy, getRoute, getService, listApplications, listEnvironments, listEnvironmentVpcs, listRoutes, listServices, listTagsForResource, putResourcePolicy, tagResource, untagResourcepublic static AWSMigrationHubRefactorSpacesAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AWSMigrationHubRefactorSpacesAsyncCreates 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.
createApplicationAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncCreates 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.
createApplicationAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request)
AWSMigrationHubRefactorSpacesAsyncCreates 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, Refactor Spaces provisions a transit gateway in your account.
createEnvironmentAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request, AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncCreates 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, Refactor Spaces provisions a transit gateway in your account.
createEnvironmentAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<CreateRouteResult> createRouteAsync(CreateRouteRequest request)
AWSMigrationHubRefactorSpacesAsync
 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 you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic to the target service as follows:
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 the service has a URL endpoint, and the endpoint resolves to a public IP address, Refactor Spaces routes traffic over the public internet.
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.
 A one-time health check is performed on the service when the route is created. If the health check fails, the
 route transitions to FAILED, and no traffic is sent to the service.
 
 For Lambda functions, 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.
 
For public URLs, a connection is opened to the public endpoint. If the URL is not reachable, the health check fails. For private URLs, a target group is created and the target group health check is run.
 The HealthCheckProtocol, HealthCheckPort, and HealthCheckPath are the same
 protocol, port, and path specified in the URL or health URL, if used. All other settings use the default values,
 as described in Health
 checks for your target groups. The health check is considered successful if at least one target within the
 target group transitions to a healthy state.
 
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 publicly resolvable.
createRouteAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<CreateRouteResult> createRouteAsync(CreateRouteRequest request, AsyncHandler<CreateRouteRequest,CreateRouteResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
 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 you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic to the target service as follows:
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 the service has a URL endpoint, and the endpoint resolves to a public IP address, Refactor Spaces routes traffic over the public internet.
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.
 A one-time health check is performed on the service when the route is created. If the health check fails, the
 route transitions to FAILED, and no traffic is sent to the service.
 
 For Lambda functions, 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.
 
For public URLs, a connection is opened to the public endpoint. If the URL is not reachable, the health check fails. For private URLs, a target group is created and the target group health check is run.
 The HealthCheckProtocol, HealthCheckPort, and HealthCheckPath are the same
 protocol, port, and path specified in the URL or health URL, if used. All other settings use the default values,
 as described in Health
 checks for your target groups. The health check is considered successful if at least one target within the
 target group transitions to a healthy state.
 
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 publicly resolvable.
createRouteAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<CreateServiceResult> createServiceAsync(CreateServiceRequest request)
AWSMigrationHubRefactorSpacesAsyncCreates 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.
 
createServiceAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<CreateServiceResult> createServiceAsync(CreateServiceRequest request, AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncCreates 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.
 
createServiceAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AWSMigrationHubRefactorSpacesAsyncDeletes 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.
deleteApplicationAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncDeletes 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.
deleteApplicationAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request)
AWSMigrationHubRefactorSpacesAsyncDeletes 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.
deleteEnvironmentAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request, AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncDeletes 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.
deleteEnvironmentAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request)
AWSMigrationHubRefactorSpacesAsyncDeletes the resource policy set for the environment.
deleteResourcePolicyAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncDeletes the resource policy set for the environment.
deleteResourcePolicyAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<DeleteRouteResult> deleteRouteAsync(DeleteRouteRequest request)
AWSMigrationHubRefactorSpacesAsyncDeletes an Amazon Web Services Migration Hub Refactor Spaces route.
deleteRouteAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<DeleteRouteResult> deleteRouteAsync(DeleteRouteRequest request, AsyncHandler<DeleteRouteRequest,DeleteRouteResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncDeletes an Amazon Web Services Migration Hub Refactor Spaces route.
deleteRouteAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest request)
AWSMigrationHubRefactorSpacesAsyncDeletes an Amazon Web Services Migration Hub Refactor Spaces service.
deleteServiceAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest request, AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncDeletes an Amazon Web Services Migration Hub Refactor Spaces service.
deleteServiceAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request)
AWSMigrationHubRefactorSpacesAsyncGets an Amazon Web Services Migration Hub Refactor Spaces application.
getApplicationAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncGets an Amazon Web Services Migration Hub Refactor Spaces application.
getApplicationAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request)
AWSMigrationHubRefactorSpacesAsyncGets an Amazon Web Services Migration Hub Refactor Spaces environment.
getEnvironmentAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request, AsyncHandler<GetEnvironmentRequest,GetEnvironmentResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncGets an Amazon Web Services Migration Hub Refactor Spaces environment.
getEnvironmentAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request)
AWSMigrationHubRefactorSpacesAsyncGets the resource-based permission policy that is set for the given environment.
getResourcePolicyAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncGets the resource-based permission policy that is set for the given environment.
getResourcePolicyAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<GetRouteResult> getRouteAsync(GetRouteRequest request)
AWSMigrationHubRefactorSpacesAsyncGets an Amazon Web Services Migration Hub Refactor Spaces route.
getRouteAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<GetRouteResult> getRouteAsync(GetRouteRequest request, AsyncHandler<GetRouteRequest,GetRouteResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncGets an Amazon Web Services Migration Hub Refactor Spaces route.
getRouteAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<GetServiceResult> getServiceAsync(GetServiceRequest request)
AWSMigrationHubRefactorSpacesAsyncGets an Amazon Web Services Migration Hub Refactor Spaces service.
getServiceAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<GetServiceResult> getServiceAsync(GetServiceRequest request, AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncGets an Amazon Web Services Migration Hub Refactor Spaces service.
getServiceAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
AWSMigrationHubRefactorSpacesAsyncLists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment.
listApplicationsAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncLists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment.
listApplicationsAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<ListEnvironmentVpcsResult> listEnvironmentVpcsAsync(ListEnvironmentVpcsRequest request)
AWSMigrationHubRefactorSpacesAsyncLists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the environment.
listEnvironmentVpcsAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<ListEnvironmentVpcsResult> listEnvironmentVpcsAsync(ListEnvironmentVpcsRequest request, AsyncHandler<ListEnvironmentVpcsRequest,ListEnvironmentVpcsResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncLists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the environment.
listEnvironmentVpcsAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request)
AWSMigrationHubRefactorSpacesAsyncLists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the caller account.
listEnvironmentsAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request, AsyncHandler<ListEnvironmentsRequest,ListEnvironmentsResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncLists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the caller account.
listEnvironmentsAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<ListRoutesResult> listRoutesAsync(ListRoutesRequest request)
AWSMigrationHubRefactorSpacesAsyncLists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application.
listRoutesAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<ListRoutesResult> listRoutesAsync(ListRoutesRequest request, AsyncHandler<ListRoutesRequest,ListRoutesResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncLists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application.
listRoutesAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<ListServicesResult> listServicesAsync(ListServicesRequest request)
AWSMigrationHubRefactorSpacesAsyncLists all the Amazon Web Services Migration Hub Refactor Spaces services within an application.
listServicesAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<ListServicesResult> listServicesAsync(ListServicesRequest request, AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsyncLists all the Amazon Web Services Migration Hub Refactor Spaces services within an application.
listServicesAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSMigrationHubRefactorSpacesAsync
 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.
 
listTagsForResourceAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
 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.
 
listTagsForResourceAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request)
AWSMigrationHubRefactorSpacesAsync
 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.
 
putResourcePolicyAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request, AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
 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.
 
putResourcePolicyAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSMigrationHubRefactorSpacesAsync
 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.
tagResourceAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
 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.
tagResourceAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSMigrationHubRefactorSpacesAsync
 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.
 
untagResourceAsync in interface AWSMigrationHubRefactorSpacesAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
 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.
 
untagResourceAsync in interface AWSMigrationHubRefactorSpacesAsyncasyncHandler - 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.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
 calling this method.shutdown in interface AWSMigrationHubRefactorSpacesshutdown in class AWSMigrationHubRefactorSpacesClient