@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSMigrationHubRefactorSpacesAsync extends AbstractAWSMigrationHubRefactorSpaces implements AWSMigrationHubRefactorSpacesAsync
AWSMigrationHubRefactorSpacesAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AWSMigrationHubRefactorSpacesAsync
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.
createApplicationAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
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.
createApplicationAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request)
AWSMigrationHubRefactorSpacesAsync
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, Refactor Spaces provisions a transit gateway in your account.
createEnvironmentAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request, AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
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, Refactor Spaces provisions a transit gateway in your account.
createEnvironmentAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.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 AWSMigrationHubRefactorSpacesAsync
public 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 AWSMigrationHubRefactorSpacesAsync
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.public Future<CreateServiceResult> createServiceAsync(CreateServiceRequest request)
AWSMigrationHubRefactorSpacesAsync
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.
createServiceAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<CreateServiceResult> createServiceAsync(CreateServiceRequest request, AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
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.
createServiceAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AWSMigrationHubRefactorSpacesAsync
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.
deleteApplicationAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
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.
deleteApplicationAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request)
AWSMigrationHubRefactorSpacesAsync
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.
deleteEnvironmentAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request, AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
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.
deleteEnvironmentAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request)
AWSMigrationHubRefactorSpacesAsync
Deletes the resource policy set for the environment.
deleteResourcePolicyAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Deletes the resource policy set for the environment.
deleteResourcePolicyAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<DeleteRouteResult> deleteRouteAsync(DeleteRouteRequest request)
AWSMigrationHubRefactorSpacesAsync
Deletes an Amazon Web Services Migration Hub Refactor Spaces route.
deleteRouteAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<DeleteRouteResult> deleteRouteAsync(DeleteRouteRequest request, AsyncHandler<DeleteRouteRequest,DeleteRouteResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Deletes an Amazon Web Services Migration Hub Refactor Spaces route.
deleteRouteAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest request)
AWSMigrationHubRefactorSpacesAsync
Deletes an Amazon Web Services Migration Hub Refactor Spaces service.
deleteServiceAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest request, AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Deletes an Amazon Web Services Migration Hub Refactor Spaces service.
deleteServiceAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request)
AWSMigrationHubRefactorSpacesAsync
Gets an Amazon Web Services Migration Hub Refactor Spaces application.
getApplicationAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Gets an Amazon Web Services Migration Hub Refactor Spaces application.
getApplicationAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request)
AWSMigrationHubRefactorSpacesAsync
Gets an Amazon Web Services Migration Hub Refactor Spaces environment.
getEnvironmentAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request, AsyncHandler<GetEnvironmentRequest,GetEnvironmentResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Gets an Amazon Web Services Migration Hub Refactor Spaces environment.
getEnvironmentAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request)
AWSMigrationHubRefactorSpacesAsync
Gets the resource-based permission policy that is set for the given environment.
getResourcePolicyAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Gets the resource-based permission policy that is set for the given environment.
getResourcePolicyAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<GetRouteResult> getRouteAsync(GetRouteRequest request)
AWSMigrationHubRefactorSpacesAsync
Gets an Amazon Web Services Migration Hub Refactor Spaces route.
getRouteAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<GetRouteResult> getRouteAsync(GetRouteRequest request, AsyncHandler<GetRouteRequest,GetRouteResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Gets an Amazon Web Services Migration Hub Refactor Spaces route.
getRouteAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<GetServiceResult> getServiceAsync(GetServiceRequest request)
AWSMigrationHubRefactorSpacesAsync
Gets an Amazon Web Services Migration Hub Refactor Spaces service.
getServiceAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<GetServiceResult> getServiceAsync(GetServiceRequest request, AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Gets an Amazon Web Services Migration Hub Refactor Spaces service.
getServiceAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
AWSMigrationHubRefactorSpacesAsync
Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment.
listApplicationsAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment.
listApplicationsAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<ListEnvironmentVpcsResult> listEnvironmentVpcsAsync(ListEnvironmentVpcsRequest request)
AWSMigrationHubRefactorSpacesAsync
Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the environment.
listEnvironmentVpcsAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<ListEnvironmentVpcsResult> listEnvironmentVpcsAsync(ListEnvironmentVpcsRequest request, AsyncHandler<ListEnvironmentVpcsRequest,ListEnvironmentVpcsResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the environment.
listEnvironmentVpcsAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request)
AWSMigrationHubRefactorSpacesAsync
Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the caller account.
listEnvironmentsAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request, AsyncHandler<ListEnvironmentsRequest,ListEnvironmentsResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the caller account.
listEnvironmentsAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<ListRoutesResult> listRoutesAsync(ListRoutesRequest request)
AWSMigrationHubRefactorSpacesAsync
Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application.
listRoutesAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<ListRoutesResult> listRoutesAsync(ListRoutesRequest request, AsyncHandler<ListRoutesRequest,ListRoutesResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application.
listRoutesAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.public Future<ListServicesResult> listServicesAsync(ListServicesRequest request)
AWSMigrationHubRefactorSpacesAsync
Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application.
listServicesAsync
in interface AWSMigrationHubRefactorSpacesAsync
public Future<ListServicesResult> listServicesAsync(ListServicesRequest request, AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
AWSMigrationHubRefactorSpacesAsync
Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application.
listServicesAsync
in interface AWSMigrationHubRefactorSpacesAsync
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.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 AWSMigrationHubRefactorSpacesAsync
public 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 AWSMigrationHubRefactorSpacesAsync
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.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 AWSMigrationHubRefactorSpacesAsync
public 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 AWSMigrationHubRefactorSpacesAsync
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.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 AWSMigrationHubRefactorSpacesAsync
public 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 AWSMigrationHubRefactorSpacesAsync
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.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 AWSMigrationHubRefactorSpacesAsync
public 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 AWSMigrationHubRefactorSpacesAsync
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.