@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonVPCLatticeAsyncClient extends AmazonVPCLatticeClient implements AmazonVPCLatticeAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Amazon VPC Lattice is a fully managed application networking service that you use to connect, secure, and monitor all of your services across multiple accounts and virtual private clouds (VPCs). Amazon VPC Lattice interconnects your microservices and legacy services within a logical boundary, so that you can discover and manage them more efficiently. For more information, see the Amazon VPC Lattice User Guide
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
batchUpdateRule, builder, createAccessLogSubscription, createListener, createRule, createService, createServiceNetwork, createServiceNetworkServiceAssociation, createServiceNetworkVpcAssociation, createTargetGroup, deleteAccessLogSubscription, deleteAuthPolicy, deleteListener, deleteResourcePolicy, deleteRule, deleteService, deleteServiceNetwork, deleteServiceNetworkServiceAssociation, deleteServiceNetworkVpcAssociation, deleteTargetGroup, deregisterTargets, getAccessLogSubscription, getAuthPolicy, getCachedResponseMetadata, getListener, getResourcePolicy, getRule, getService, getServiceNetwork, getServiceNetworkServiceAssociation, getServiceNetworkVpcAssociation, getTargetGroup, listAccessLogSubscriptions, listListeners, listRules, listServiceNetworks, listServiceNetworkServiceAssociations, listServiceNetworkVpcAssociations, listServices, listTagsForResource, listTargetGroups, listTargets, putAuthPolicy, putResourcePolicy, registerTargets, tagResource, untagResource, updateAccessLogSubscription, updateListener, updateRule, updateService, updateServiceNetwork, updateServiceNetworkVpcAssociation, updateTargetGroup
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchUpdateRule, createAccessLogSubscription, createListener, createRule, createService, createServiceNetwork, createServiceNetworkServiceAssociation, createServiceNetworkVpcAssociation, createTargetGroup, deleteAccessLogSubscription, deleteAuthPolicy, deleteListener, deleteResourcePolicy, deleteRule, deleteService, deleteServiceNetwork, deleteServiceNetworkServiceAssociation, deleteServiceNetworkVpcAssociation, deleteTargetGroup, deregisterTargets, getAccessLogSubscription, getAuthPolicy, getCachedResponseMetadata, getListener, getResourcePolicy, getRule, getService, getServiceNetwork, getServiceNetworkServiceAssociation, getServiceNetworkVpcAssociation, getTargetGroup, listAccessLogSubscriptions, listListeners, listRules, listServiceNetworks, listServiceNetworkServiceAssociations, listServiceNetworkVpcAssociations, listServices, listTagsForResource, listTargetGroups, listTargets, putAuthPolicy, putResourcePolicy, registerTargets, tagResource, untagResource, updateAccessLogSubscription, updateListener, updateRule, updateService, updateServiceNetwork, updateServiceNetworkVpcAssociation, updateTargetGroup
public static AmazonVPCLatticeAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchUpdateRuleResult> batchUpdateRuleAsync(BatchUpdateRuleRequest request)
AmazonVPCLatticeAsync
Updates the listener rules in a batch. You can use this operation to change the priority of listener rules. This can be useful when bulk updating or swapping rule priority.
Required permissions: vpc-lattice:UpdateRule
For more information, see How Amazon VPC Lattice works with IAM in the Amazon VPC Lattice User Guide.
batchUpdateRuleAsync
in interface AmazonVPCLatticeAsync
public Future<BatchUpdateRuleResult> batchUpdateRuleAsync(BatchUpdateRuleRequest request, AsyncHandler<BatchUpdateRuleRequest,BatchUpdateRuleResult> asyncHandler)
AmazonVPCLatticeAsync
Updates the listener rules in a batch. You can use this operation to change the priority of listener rules. This can be useful when bulk updating or swapping rule priority.
Required permissions: vpc-lattice:UpdateRule
For more information, see How Amazon VPC Lattice works with IAM in the Amazon VPC Lattice User Guide.
batchUpdateRuleAsync
in interface AmazonVPCLatticeAsync
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<CreateAccessLogSubscriptionResult> createAccessLogSubscriptionAsync(CreateAccessLogSubscriptionRequest request)
AmazonVPCLatticeAsync
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner can only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. For more information, see Access logs in the Amazon VPC Lattice User Guide.
createAccessLogSubscriptionAsync
in interface AmazonVPCLatticeAsync
public Future<CreateAccessLogSubscriptionResult> createAccessLogSubscriptionAsync(CreateAccessLogSubscriptionRequest request, AsyncHandler<CreateAccessLogSubscriptionRequest,CreateAccessLogSubscriptionResult> asyncHandler)
AmazonVPCLatticeAsync
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner can only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. For more information, see Access logs in the Amazon VPC Lattice User Guide.
createAccessLogSubscriptionAsync
in interface AmazonVPCLatticeAsync
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<CreateListenerResult> createListenerAsync(CreateListenerRequest request)
AmazonVPCLatticeAsync
Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must add one or more listeners. A listener is a process that checks for connection requests to your services. For more information, see Listeners in the Amazon VPC Lattice User Guide.
createListenerAsync
in interface AmazonVPCLatticeAsync
public Future<CreateListenerResult> createListenerAsync(CreateListenerRequest request, AsyncHandler<CreateListenerRequest,CreateListenerResult> asyncHandler)
AmazonVPCLatticeAsync
Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must add one or more listeners. A listener is a process that checks for connection requests to your services. For more information, see Listeners in the Amazon VPC Lattice User Guide.
createListenerAsync
in interface AmazonVPCLatticeAsync
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<CreateRuleResult> createRuleAsync(CreateRuleRequest request)
AmazonVPCLatticeAsync
Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see Listener rules in the Amazon VPC Lattice User Guide.
createRuleAsync
in interface AmazonVPCLatticeAsync
public Future<CreateRuleResult> createRuleAsync(CreateRuleRequest request, AsyncHandler<CreateRuleRequest,CreateRuleResult> asyncHandler)
AmazonVPCLatticeAsync
Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see Listener rules in the Amazon VPC Lattice User Guide.
createRuleAsync
in interface AmazonVPCLatticeAsync
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)
AmazonVPCLatticeAsync
Creates a service. A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
For more information, see Services in the Amazon VPC Lattice User Guide.
createServiceAsync
in interface AmazonVPCLatticeAsync
public Future<CreateServiceResult> createServiceAsync(CreateServiceRequest request, AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
AmazonVPCLatticeAsync
Creates a service. A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
For more information, see Services in the Amazon VPC Lattice User Guide.
createServiceAsync
in interface AmazonVPCLatticeAsync
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<CreateServiceNetworkResult> createServiceNetworkAsync(CreateServiceNetworkRequest request)
AmazonVPCLatticeAsync
Creates a service network. A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network.
For more information, see Service networks in the Amazon VPC Lattice User Guide.
createServiceNetworkAsync
in interface AmazonVPCLatticeAsync
public Future<CreateServiceNetworkResult> createServiceNetworkAsync(CreateServiceNetworkRequest request, AsyncHandler<CreateServiceNetworkRequest,CreateServiceNetworkResult> asyncHandler)
AmazonVPCLatticeAsync
Creates a service network. A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network.
For more information, see Service networks in the Amazon VPC Lattice User Guide.
createServiceNetworkAsync
in interface AmazonVPCLatticeAsync
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<CreateServiceNetworkServiceAssociationResult> createServiceNetworkServiceAssociationAsync(CreateServiceNetworkServiceAssociationRequest request)
AmazonVPCLatticeAsync
Associates a service with a service network. For more information, see Manage service associations in the Amazon VPC Lattice User Guide.
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
createServiceNetworkServiceAssociationAsync
in interface AmazonVPCLatticeAsync
public Future<CreateServiceNetworkServiceAssociationResult> createServiceNetworkServiceAssociationAsync(CreateServiceNetworkServiceAssociationRequest request, AsyncHandler<CreateServiceNetworkServiceAssociationRequest,CreateServiceNetworkServiceAssociationResult> asyncHandler)
AmazonVPCLatticeAsync
Associates a service with a service network. For more information, see Manage service associations in the Amazon VPC Lattice User Guide.
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
createServiceNetworkServiceAssociationAsync
in interface AmazonVPCLatticeAsync
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<CreateServiceNetworkVpcAssociationResult> createServiceNetworkVpcAssociationAsync(CreateServiceNetworkVpcAssociationRequest request)
AmazonVPCLatticeAsync
Associates a VPC with a service network. When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide.
You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.
As a result of this operation, the association gets created in the service network account and the VPC owner account.
If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.
createServiceNetworkVpcAssociationAsync
in interface AmazonVPCLatticeAsync
public Future<CreateServiceNetworkVpcAssociationResult> createServiceNetworkVpcAssociationAsync(CreateServiceNetworkVpcAssociationRequest request, AsyncHandler<CreateServiceNetworkVpcAssociationRequest,CreateServiceNetworkVpcAssociationResult> asyncHandler)
AmazonVPCLatticeAsync
Associates a VPC with a service network. When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide.
You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.
As a result of this operation, the association gets created in the service network account and the VPC owner account.
If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.
createServiceNetworkVpcAssociationAsync
in interface AmazonVPCLatticeAsync
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<CreateTargetGroupResult> createTargetGroupAsync(CreateTargetGroupRequest request)
AmazonVPCLatticeAsync
Creates a target group. A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.
For more information, see Target groups in the Amazon VPC Lattice User Guide.
createTargetGroupAsync
in interface AmazonVPCLatticeAsync
public Future<CreateTargetGroupResult> createTargetGroupAsync(CreateTargetGroupRequest request, AsyncHandler<CreateTargetGroupRequest,CreateTargetGroupResult> asyncHandler)
AmazonVPCLatticeAsync
Creates a target group. A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.
For more information, see Target groups in the Amazon VPC Lattice User Guide.
createTargetGroupAsync
in interface AmazonVPCLatticeAsync
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<DeleteAccessLogSubscriptionResult> deleteAccessLogSubscriptionAsync(DeleteAccessLogSubscriptionRequest request)
AmazonVPCLatticeAsync
Deletes the specified access log subscription.
deleteAccessLogSubscriptionAsync
in interface AmazonVPCLatticeAsync
public Future<DeleteAccessLogSubscriptionResult> deleteAccessLogSubscriptionAsync(DeleteAccessLogSubscriptionRequest request, AsyncHandler<DeleteAccessLogSubscriptionRequest,DeleteAccessLogSubscriptionResult> asyncHandler)
AmazonVPCLatticeAsync
Deletes the specified access log subscription.
deleteAccessLogSubscriptionAsync
in interface AmazonVPCLatticeAsync
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<DeleteAuthPolicyResult> deleteAuthPolicyAsync(DeleteAuthPolicyRequest request)
AmazonVPCLatticeAsync
Deletes the specified auth policy. If an auth is set to AWS_IAM
and the auth policy is deleted, all
requests are denied. If you are trying to remove the auth policy completely, you must set the auth type to
NONE
. If auth is enabled on the resource, but no auth policy is set, all requests are denied.
deleteAuthPolicyAsync
in interface AmazonVPCLatticeAsync
public Future<DeleteAuthPolicyResult> deleteAuthPolicyAsync(DeleteAuthPolicyRequest request, AsyncHandler<DeleteAuthPolicyRequest,DeleteAuthPolicyResult> asyncHandler)
AmazonVPCLatticeAsync
Deletes the specified auth policy. If an auth is set to AWS_IAM
and the auth policy is deleted, all
requests are denied. If you are trying to remove the auth policy completely, you must set the auth type to
NONE
. If auth is enabled on the resource, but no auth policy is set, all requests are denied.
deleteAuthPolicyAsync
in interface AmazonVPCLatticeAsync
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<DeleteListenerResult> deleteListenerAsync(DeleteListenerRequest request)
AmazonVPCLatticeAsync
Deletes the specified listener.
deleteListenerAsync
in interface AmazonVPCLatticeAsync
public Future<DeleteListenerResult> deleteListenerAsync(DeleteListenerRequest request, AsyncHandler<DeleteListenerRequest,DeleteListenerResult> asyncHandler)
AmazonVPCLatticeAsync
Deletes the specified listener.
deleteListenerAsync
in interface AmazonVPCLatticeAsync
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)
AmazonVPCLatticeAsync
Deletes the specified resource policy.
deleteResourcePolicyAsync
in interface AmazonVPCLatticeAsync
public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
AmazonVPCLatticeAsync
Deletes the specified resource policy.
deleteResourcePolicyAsync
in interface AmazonVPCLatticeAsync
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<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest request)
AmazonVPCLatticeAsync
Deletes a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. You can delete additional listener rules, but you cannot delete the default rule.
For more information, see Listener rules in the Amazon VPC Lattice User Guide.
deleteRuleAsync
in interface AmazonVPCLatticeAsync
public Future<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest request, AsyncHandler<DeleteRuleRequest,DeleteRuleResult> asyncHandler)
AmazonVPCLatticeAsync
Deletes a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. You can delete additional listener rules, but you cannot delete the default rule.
For more information, see Listener rules in the Amazon VPC Lattice User Guide.
deleteRuleAsync
in interface AmazonVPCLatticeAsync
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)
AmazonVPCLatticeAsync
Deletes a service. A service can't be deleted if it's associated with a service network. If you delete a service, all resources related to the service, such as the resource policy, auth policy, listeners, listener rules, and access log subscriptions, are also deleted. For more information, see Delete a service in the Amazon VPC Lattice User Guide.
deleteServiceAsync
in interface AmazonVPCLatticeAsync
public Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest request, AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
AmazonVPCLatticeAsync
Deletes a service. A service can't be deleted if it's associated with a service network. If you delete a service, all resources related to the service, such as the resource policy, auth policy, listeners, listener rules, and access log subscriptions, are also deleted. For more information, see Delete a service in the Amazon VPC Lattice User Guide.
deleteServiceAsync
in interface AmazonVPCLatticeAsync
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<DeleteServiceNetworkResult> deleteServiceNetworkAsync(DeleteServiceNetworkRequest request)
AmazonVPCLatticeAsync
Deletes a service network. You can only delete the service network if there is no service or VPC associated with it. If you delete a service network, all resources related to the service network, such as the resource policy, auth policy, and access log subscriptions, are also deleted. For more information, see Delete a service network in the Amazon VPC Lattice User Guide.
deleteServiceNetworkAsync
in interface AmazonVPCLatticeAsync
public Future<DeleteServiceNetworkResult> deleteServiceNetworkAsync(DeleteServiceNetworkRequest request, AsyncHandler<DeleteServiceNetworkRequest,DeleteServiceNetworkResult> asyncHandler)
AmazonVPCLatticeAsync
Deletes a service network. You can only delete the service network if there is no service or VPC associated with it. If you delete a service network, all resources related to the service network, such as the resource policy, auth policy, and access log subscriptions, are also deleted. For more information, see Delete a service network in the Amazon VPC Lattice User Guide.
deleteServiceNetworkAsync
in interface AmazonVPCLatticeAsync
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<DeleteServiceNetworkServiceAssociationResult> deleteServiceNetworkServiceAssociationAsync(DeleteServiceNetworkServiceAssociationRequest request)
AmazonVPCLatticeAsync
Deletes the association between a specified service and the specific service network. This operation fails if an association is still in progress.
deleteServiceNetworkServiceAssociationAsync
in interface AmazonVPCLatticeAsync
public Future<DeleteServiceNetworkServiceAssociationResult> deleteServiceNetworkServiceAssociationAsync(DeleteServiceNetworkServiceAssociationRequest request, AsyncHandler<DeleteServiceNetworkServiceAssociationRequest,DeleteServiceNetworkServiceAssociationResult> asyncHandler)
AmazonVPCLatticeAsync
Deletes the association between a specified service and the specific service network. This operation fails if an association is still in progress.
deleteServiceNetworkServiceAssociationAsync
in interface AmazonVPCLatticeAsync
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<DeleteServiceNetworkVpcAssociationResult> deleteServiceNetworkVpcAssociationAsync(DeleteServiceNetworkVpcAssociationRequest request)
AmazonVPCLatticeAsync
Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
deleteServiceNetworkVpcAssociationAsync
in interface AmazonVPCLatticeAsync
public Future<DeleteServiceNetworkVpcAssociationResult> deleteServiceNetworkVpcAssociationAsync(DeleteServiceNetworkVpcAssociationRequest request, AsyncHandler<DeleteServiceNetworkVpcAssociationRequest,DeleteServiceNetworkVpcAssociationResult> asyncHandler)
AmazonVPCLatticeAsync
Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
deleteServiceNetworkVpcAssociationAsync
in interface AmazonVPCLatticeAsync
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<DeleteTargetGroupResult> deleteTargetGroupAsync(DeleteTargetGroupRequest request)
AmazonVPCLatticeAsync
Deletes a target group. You can't delete a target group if it is used in a listener rule or if the target group creation is in progress.
deleteTargetGroupAsync
in interface AmazonVPCLatticeAsync
public Future<DeleteTargetGroupResult> deleteTargetGroupAsync(DeleteTargetGroupRequest request, AsyncHandler<DeleteTargetGroupRequest,DeleteTargetGroupResult> asyncHandler)
AmazonVPCLatticeAsync
Deletes a target group. You can't delete a target group if it is used in a listener rule or if the target group creation is in progress.
deleteTargetGroupAsync
in interface AmazonVPCLatticeAsync
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<DeregisterTargetsResult> deregisterTargetsAsync(DeregisterTargetsRequest request)
AmazonVPCLatticeAsync
Deregisters the specified targets from the specified target group.
deregisterTargetsAsync
in interface AmazonVPCLatticeAsync
public Future<DeregisterTargetsResult> deregisterTargetsAsync(DeregisterTargetsRequest request, AsyncHandler<DeregisterTargetsRequest,DeregisterTargetsResult> asyncHandler)
AmazonVPCLatticeAsync
Deregisters the specified targets from the specified target group.
deregisterTargetsAsync
in interface AmazonVPCLatticeAsync
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<GetAccessLogSubscriptionResult> getAccessLogSubscriptionAsync(GetAccessLogSubscriptionRequest request)
AmazonVPCLatticeAsync
Retrieves information about the specified access log subscription.
getAccessLogSubscriptionAsync
in interface AmazonVPCLatticeAsync
public Future<GetAccessLogSubscriptionResult> getAccessLogSubscriptionAsync(GetAccessLogSubscriptionRequest request, AsyncHandler<GetAccessLogSubscriptionRequest,GetAccessLogSubscriptionResult> asyncHandler)
AmazonVPCLatticeAsync
Retrieves information about the specified access log subscription.
getAccessLogSubscriptionAsync
in interface AmazonVPCLatticeAsync
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<GetAuthPolicyResult> getAuthPolicyAsync(GetAuthPolicyRequest request)
AmazonVPCLatticeAsync
Retrieves information about the auth policy for the specified service or service network.
getAuthPolicyAsync
in interface AmazonVPCLatticeAsync
public Future<GetAuthPolicyResult> getAuthPolicyAsync(GetAuthPolicyRequest request, AsyncHandler<GetAuthPolicyRequest,GetAuthPolicyResult> asyncHandler)
AmazonVPCLatticeAsync
Retrieves information about the auth policy for the specified service or service network.
getAuthPolicyAsync
in interface AmazonVPCLatticeAsync
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<GetListenerResult> getListenerAsync(GetListenerRequest request)
AmazonVPCLatticeAsync
Retrieves information about the specified listener for the specified service.
getListenerAsync
in interface AmazonVPCLatticeAsync
public Future<GetListenerResult> getListenerAsync(GetListenerRequest request, AsyncHandler<GetListenerRequest,GetListenerResult> asyncHandler)
AmazonVPCLatticeAsync
Retrieves information about the specified listener for the specified service.
getListenerAsync
in interface AmazonVPCLatticeAsync
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)
AmazonVPCLatticeAsync
Retrieves information about the resource policy. The resource policy is an IAM policy created on behalf of the resource owner when they share a resource.
getResourcePolicyAsync
in interface AmazonVPCLatticeAsync
public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
AmazonVPCLatticeAsync
Retrieves information about the resource policy. The resource policy is an IAM policy created on behalf of the resource owner when they share a resource.
getResourcePolicyAsync
in interface AmazonVPCLatticeAsync
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<GetRuleResult> getRuleAsync(GetRuleRequest request)
AmazonVPCLatticeAsync
Retrieves information about listener rules. You can also retrieve information about the default listener rule. For more information, see Listener rules in the Amazon VPC Lattice User Guide.
getRuleAsync
in interface AmazonVPCLatticeAsync
public Future<GetRuleResult> getRuleAsync(GetRuleRequest request, AsyncHandler<GetRuleRequest,GetRuleResult> asyncHandler)
AmazonVPCLatticeAsync
Retrieves information about listener rules. You can also retrieve information about the default listener rule. For more information, see Listener rules in the Amazon VPC Lattice User Guide.
getRuleAsync
in interface AmazonVPCLatticeAsync
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)
AmazonVPCLatticeAsync
Retrieves information about the specified service.
getServiceAsync
in interface AmazonVPCLatticeAsync
public Future<GetServiceResult> getServiceAsync(GetServiceRequest request, AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
AmazonVPCLatticeAsync
Retrieves information about the specified service.
getServiceAsync
in interface AmazonVPCLatticeAsync
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<GetServiceNetworkResult> getServiceNetworkAsync(GetServiceNetworkRequest request)
AmazonVPCLatticeAsync
Retrieves information about the specified service network.
getServiceNetworkAsync
in interface AmazonVPCLatticeAsync
public Future<GetServiceNetworkResult> getServiceNetworkAsync(GetServiceNetworkRequest request, AsyncHandler<GetServiceNetworkRequest,GetServiceNetworkResult> asyncHandler)
AmazonVPCLatticeAsync
Retrieves information about the specified service network.
getServiceNetworkAsync
in interface AmazonVPCLatticeAsync
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<GetServiceNetworkServiceAssociationResult> getServiceNetworkServiceAssociationAsync(GetServiceNetworkServiceAssociationRequest request)
AmazonVPCLatticeAsync
Retrieves information about the specified association between a service network and a service.
getServiceNetworkServiceAssociationAsync
in interface AmazonVPCLatticeAsync
public Future<GetServiceNetworkServiceAssociationResult> getServiceNetworkServiceAssociationAsync(GetServiceNetworkServiceAssociationRequest request, AsyncHandler<GetServiceNetworkServiceAssociationRequest,GetServiceNetworkServiceAssociationResult> asyncHandler)
AmazonVPCLatticeAsync
Retrieves information about the specified association between a service network and a service.
getServiceNetworkServiceAssociationAsync
in interface AmazonVPCLatticeAsync
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<GetServiceNetworkVpcAssociationResult> getServiceNetworkVpcAssociationAsync(GetServiceNetworkVpcAssociationRequest request)
AmazonVPCLatticeAsync
Retrieves information about the association between a service network and a VPC.
getServiceNetworkVpcAssociationAsync
in interface AmazonVPCLatticeAsync
public Future<GetServiceNetworkVpcAssociationResult> getServiceNetworkVpcAssociationAsync(GetServiceNetworkVpcAssociationRequest request, AsyncHandler<GetServiceNetworkVpcAssociationRequest,GetServiceNetworkVpcAssociationResult> asyncHandler)
AmazonVPCLatticeAsync
Retrieves information about the association between a service network and a VPC.
getServiceNetworkVpcAssociationAsync
in interface AmazonVPCLatticeAsync
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<GetTargetGroupResult> getTargetGroupAsync(GetTargetGroupRequest request)
AmazonVPCLatticeAsync
Retrieves information about the specified target group.
getTargetGroupAsync
in interface AmazonVPCLatticeAsync
public Future<GetTargetGroupResult> getTargetGroupAsync(GetTargetGroupRequest request, AsyncHandler<GetTargetGroupRequest,GetTargetGroupResult> asyncHandler)
AmazonVPCLatticeAsync
Retrieves information about the specified target group.
getTargetGroupAsync
in interface AmazonVPCLatticeAsync
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<ListAccessLogSubscriptionsResult> listAccessLogSubscriptionsAsync(ListAccessLogSubscriptionsRequest request)
AmazonVPCLatticeAsync
Lists all access log subscriptions for the specified service network or service.
listAccessLogSubscriptionsAsync
in interface AmazonVPCLatticeAsync
public Future<ListAccessLogSubscriptionsResult> listAccessLogSubscriptionsAsync(ListAccessLogSubscriptionsRequest request, AsyncHandler<ListAccessLogSubscriptionsRequest,ListAccessLogSubscriptionsResult> asyncHandler)
AmazonVPCLatticeAsync
Lists all access log subscriptions for the specified service network or service.
listAccessLogSubscriptionsAsync
in interface AmazonVPCLatticeAsync
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<ListListenersResult> listListenersAsync(ListListenersRequest request)
AmazonVPCLatticeAsync
Lists the listeners for the specified service.
listListenersAsync
in interface AmazonVPCLatticeAsync
public Future<ListListenersResult> listListenersAsync(ListListenersRequest request, AsyncHandler<ListListenersRequest,ListListenersResult> asyncHandler)
AmazonVPCLatticeAsync
Lists the listeners for the specified service.
listListenersAsync
in interface AmazonVPCLatticeAsync
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<ListRulesResult> listRulesAsync(ListRulesRequest request)
AmazonVPCLatticeAsync
Lists the rules for the listener.
listRulesAsync
in interface AmazonVPCLatticeAsync
public Future<ListRulesResult> listRulesAsync(ListRulesRequest request, AsyncHandler<ListRulesRequest,ListRulesResult> asyncHandler)
AmazonVPCLatticeAsync
Lists the rules for the listener.
listRulesAsync
in interface AmazonVPCLatticeAsync
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<ListServiceNetworkServiceAssociationsResult> listServiceNetworkServiceAssociationsAsync(ListServiceNetworkServiceAssociationsRequest request)
AmazonVPCLatticeAsync
Lists the associations between the service network and the service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.
Every association in Amazon VPC Lattice is given a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource that is shared with another account, the association includes the local account ID as the prefix in the ARN for each account the resource is shared with.
listServiceNetworkServiceAssociationsAsync
in interface AmazonVPCLatticeAsync
public Future<ListServiceNetworkServiceAssociationsResult> listServiceNetworkServiceAssociationsAsync(ListServiceNetworkServiceAssociationsRequest request, AsyncHandler<ListServiceNetworkServiceAssociationsRequest,ListServiceNetworkServiceAssociationsResult> asyncHandler)
AmazonVPCLatticeAsync
Lists the associations between the service network and the service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.
Every association in Amazon VPC Lattice is given a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource that is shared with another account, the association includes the local account ID as the prefix in the ARN for each account the resource is shared with.
listServiceNetworkServiceAssociationsAsync
in interface AmazonVPCLatticeAsync
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<ListServiceNetworkVpcAssociationsResult> listServiceNetworkVpcAssociationsAsync(ListServiceNetworkVpcAssociationsRequest request)
AmazonVPCLatticeAsync
Lists the service network and VPC associations. You can filter the list either by VPC or service network. You must provide either the service network identifier or the VPC identifier.
listServiceNetworkVpcAssociationsAsync
in interface AmazonVPCLatticeAsync
public Future<ListServiceNetworkVpcAssociationsResult> listServiceNetworkVpcAssociationsAsync(ListServiceNetworkVpcAssociationsRequest request, AsyncHandler<ListServiceNetworkVpcAssociationsRequest,ListServiceNetworkVpcAssociationsResult> asyncHandler)
AmazonVPCLatticeAsync
Lists the service network and VPC associations. You can filter the list either by VPC or service network. You must provide either the service network identifier or the VPC identifier.
listServiceNetworkVpcAssociationsAsync
in interface AmazonVPCLatticeAsync
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<ListServiceNetworksResult> listServiceNetworksAsync(ListServiceNetworksRequest request)
AmazonVPCLatticeAsync
Lists the service networks owned by the caller account or shared with the caller account. Also includes the account ID in the ARN to show which account owns the service network.
listServiceNetworksAsync
in interface AmazonVPCLatticeAsync
public Future<ListServiceNetworksResult> listServiceNetworksAsync(ListServiceNetworksRequest request, AsyncHandler<ListServiceNetworksRequest,ListServiceNetworksResult> asyncHandler)
AmazonVPCLatticeAsync
Lists the service networks owned by the caller account or shared with the caller account. Also includes the account ID in the ARN to show which account owns the service network.
listServiceNetworksAsync
in interface AmazonVPCLatticeAsync
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)
AmazonVPCLatticeAsync
Lists the services owned by the caller account or shared with the caller account.
listServicesAsync
in interface AmazonVPCLatticeAsync
public Future<ListServicesResult> listServicesAsync(ListServicesRequest request, AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
AmazonVPCLatticeAsync
Lists the services owned by the caller account or shared with the caller account.
listServicesAsync
in interface AmazonVPCLatticeAsync
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)
AmazonVPCLatticeAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AmazonVPCLatticeAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonVPCLatticeAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AmazonVPCLatticeAsync
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<ListTargetGroupsResult> listTargetGroupsAsync(ListTargetGroupsRequest request)
AmazonVPCLatticeAsync
Lists your target groups. You can narrow your search by using the filters below in your request.
listTargetGroupsAsync
in interface AmazonVPCLatticeAsync
public Future<ListTargetGroupsResult> listTargetGroupsAsync(ListTargetGroupsRequest request, AsyncHandler<ListTargetGroupsRequest,ListTargetGroupsResult> asyncHandler)
AmazonVPCLatticeAsync
Lists your target groups. You can narrow your search by using the filters below in your request.
listTargetGroupsAsync
in interface AmazonVPCLatticeAsync
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<ListTargetsResult> listTargetsAsync(ListTargetsRequest request)
AmazonVPCLatticeAsync
Lists the targets for the target group. By default, all targets are included. You can use this API to check the health status of targets. You can also filter the results by target.
listTargetsAsync
in interface AmazonVPCLatticeAsync
public Future<ListTargetsResult> listTargetsAsync(ListTargetsRequest request, AsyncHandler<ListTargetsRequest,ListTargetsResult> asyncHandler)
AmazonVPCLatticeAsync
Lists the targets for the target group. By default, all targets are included. You can use this API to check the health status of targets. You can also filter the results by target.
listTargetsAsync
in interface AmazonVPCLatticeAsync
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<PutAuthPolicyResult> putAuthPolicyAsync(PutAuthPolicyRequest request)
AmazonVPCLatticeAsync
Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines.
For more information, see Auth policies in the Amazon VPC Lattice User Guide.
putAuthPolicyAsync
in interface AmazonVPCLatticeAsync
public Future<PutAuthPolicyResult> putAuthPolicyAsync(PutAuthPolicyRequest request, AsyncHandler<PutAuthPolicyRequest,PutAuthPolicyResult> asyncHandler)
AmazonVPCLatticeAsync
Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines.
For more information, see Auth policies in the Amazon VPC Lattice User Guide.
putAuthPolicyAsync
in interface AmazonVPCLatticeAsync
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)
AmazonVPCLatticeAsync
Attaches a resource-based permission policy to a service or service network. The policy must contain the same actions and condition statements as the Amazon Web Services Resource Access Manager permission for sharing services and service networks.
putResourcePolicyAsync
in interface AmazonVPCLatticeAsync
public Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request, AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
AmazonVPCLatticeAsync
Attaches a resource-based permission policy to a service or service network. The policy must contain the same actions and condition statements as the Amazon Web Services Resource Access Manager permission for sharing services and service networks.
putResourcePolicyAsync
in interface AmazonVPCLatticeAsync
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<RegisterTargetsResult> registerTargetsAsync(RegisterTargetsRequest request)
AmazonVPCLatticeAsync
Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
registerTargetsAsync
in interface AmazonVPCLatticeAsync
public Future<RegisterTargetsResult> registerTargetsAsync(RegisterTargetsRequest request, AsyncHandler<RegisterTargetsRequest,RegisterTargetsResult> asyncHandler)
AmazonVPCLatticeAsync
Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
registerTargetsAsync
in interface AmazonVPCLatticeAsync
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)
AmazonVPCLatticeAsync
Adds the specified tags to the specified resource.
tagResourceAsync
in interface AmazonVPCLatticeAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonVPCLatticeAsync
Adds the specified tags to the specified resource.
tagResourceAsync
in interface AmazonVPCLatticeAsync
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)
AmazonVPCLatticeAsync
Removes the specified tags from the specified resource.
untagResourceAsync
in interface AmazonVPCLatticeAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonVPCLatticeAsync
Removes the specified tags from the specified resource.
untagResourceAsync
in interface AmazonVPCLatticeAsync
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<UpdateAccessLogSubscriptionResult> updateAccessLogSubscriptionAsync(UpdateAccessLogSubscriptionRequest request)
AmazonVPCLatticeAsync
Updates the specified access log subscription.
updateAccessLogSubscriptionAsync
in interface AmazonVPCLatticeAsync
public Future<UpdateAccessLogSubscriptionResult> updateAccessLogSubscriptionAsync(UpdateAccessLogSubscriptionRequest request, AsyncHandler<UpdateAccessLogSubscriptionRequest,UpdateAccessLogSubscriptionResult> asyncHandler)
AmazonVPCLatticeAsync
Updates the specified access log subscription.
updateAccessLogSubscriptionAsync
in interface AmazonVPCLatticeAsync
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<UpdateListenerResult> updateListenerAsync(UpdateListenerRequest request)
AmazonVPCLatticeAsync
Updates the specified listener for the specified service.
updateListenerAsync
in interface AmazonVPCLatticeAsync
public Future<UpdateListenerResult> updateListenerAsync(UpdateListenerRequest request, AsyncHandler<UpdateListenerRequest,UpdateListenerResult> asyncHandler)
AmazonVPCLatticeAsync
Updates the specified listener for the specified service.
updateListenerAsync
in interface AmazonVPCLatticeAsync
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<UpdateRuleResult> updateRuleAsync(UpdateRuleRequest request)
AmazonVPCLatticeAsync
Updates a rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use
UpdateListener
.
updateRuleAsync
in interface AmazonVPCLatticeAsync
public Future<UpdateRuleResult> updateRuleAsync(UpdateRuleRequest request, AsyncHandler<UpdateRuleRequest,UpdateRuleResult> asyncHandler)
AmazonVPCLatticeAsync
Updates a rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use
UpdateListener
.
updateRuleAsync
in interface AmazonVPCLatticeAsync
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<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest request)
AmazonVPCLatticeAsync
Updates the specified service.
updateServiceAsync
in interface AmazonVPCLatticeAsync
public Future<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest request, AsyncHandler<UpdateServiceRequest,UpdateServiceResult> asyncHandler)
AmazonVPCLatticeAsync
Updates the specified service.
updateServiceAsync
in interface AmazonVPCLatticeAsync
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<UpdateServiceNetworkResult> updateServiceNetworkAsync(UpdateServiceNetworkRequest request)
AmazonVPCLatticeAsync
Updates the specified service network.
updateServiceNetworkAsync
in interface AmazonVPCLatticeAsync
public Future<UpdateServiceNetworkResult> updateServiceNetworkAsync(UpdateServiceNetworkRequest request, AsyncHandler<UpdateServiceNetworkRequest,UpdateServiceNetworkResult> asyncHandler)
AmazonVPCLatticeAsync
Updates the specified service network.
updateServiceNetworkAsync
in interface AmazonVPCLatticeAsync
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<UpdateServiceNetworkVpcAssociationResult> updateServiceNetworkVpcAssociationAsync(UpdateServiceNetworkVpcAssociationRequest request)
AmazonVPCLatticeAsync
Updates the service network and VPC association. If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.
updateServiceNetworkVpcAssociationAsync
in interface AmazonVPCLatticeAsync
public Future<UpdateServiceNetworkVpcAssociationResult> updateServiceNetworkVpcAssociationAsync(UpdateServiceNetworkVpcAssociationRequest request, AsyncHandler<UpdateServiceNetworkVpcAssociationRequest,UpdateServiceNetworkVpcAssociationResult> asyncHandler)
AmazonVPCLatticeAsync
Updates the service network and VPC association. If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.
updateServiceNetworkVpcAssociationAsync
in interface AmazonVPCLatticeAsync
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<UpdateTargetGroupResult> updateTargetGroupAsync(UpdateTargetGroupRequest request)
AmazonVPCLatticeAsync
Updates the specified target group.
updateTargetGroupAsync
in interface AmazonVPCLatticeAsync
public Future<UpdateTargetGroupResult> updateTargetGroupAsync(UpdateTargetGroupRequest request, AsyncHandler<UpdateTargetGroupRequest,UpdateTargetGroupResult> asyncHandler)
AmazonVPCLatticeAsync
Updates the specified target group.
updateTargetGroupAsync
in interface AmazonVPCLatticeAsync
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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonVPCLattice
shutdown
in class AmazonVPCLatticeClient