@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonVPCLatticeAsync extends AmazonVPCLattice
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonVPCLatticeAsync
instead.
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
ENDPOINT_PREFIX
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, shutdown, tagResource, untagResource, updateAccessLogSubscription, updateListener, updateRule, updateService, updateServiceNetwork, updateServiceNetworkVpcAssociation, updateTargetGroup
Future<BatchUpdateRuleResult> batchUpdateRuleAsync(BatchUpdateRuleRequest batchUpdateRuleRequest)
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.
batchUpdateRuleRequest
- Future<BatchUpdateRuleResult> batchUpdateRuleAsync(BatchUpdateRuleRequest batchUpdateRuleRequest, AsyncHandler<BatchUpdateRuleRequest,BatchUpdateRuleResult> asyncHandler)
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.
batchUpdateRuleRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateAccessLogSubscriptionResult> createAccessLogSubscriptionAsync(CreateAccessLogSubscriptionRequest createAccessLogSubscriptionRequest)
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.
createAccessLogSubscriptionRequest
- Future<CreateAccessLogSubscriptionResult> createAccessLogSubscriptionAsync(CreateAccessLogSubscriptionRequest createAccessLogSubscriptionRequest, AsyncHandler<CreateAccessLogSubscriptionRequest,CreateAccessLogSubscriptionResult> asyncHandler)
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.
createAccessLogSubscriptionRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateListenerResult> createListenerAsync(CreateListenerRequest createListenerRequest)
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.
createListenerRequest
- Future<CreateListenerResult> createListenerAsync(CreateListenerRequest createListenerRequest, AsyncHandler<CreateListenerRequest,CreateListenerResult> asyncHandler)
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.
createListenerRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateRuleResult> createRuleAsync(CreateRuleRequest createRuleRequest)
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.
createRuleRequest
- Future<CreateRuleResult> createRuleAsync(CreateRuleRequest createRuleRequest, AsyncHandler<CreateRuleRequest,CreateRuleResult> asyncHandler)
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.
createRuleRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateServiceResult> createServiceAsync(CreateServiceRequest createServiceRequest)
Creates 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.
createServiceRequest
- Future<CreateServiceResult> createServiceAsync(CreateServiceRequest createServiceRequest, AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
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.
createServiceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateServiceNetworkResult> createServiceNetworkAsync(CreateServiceNetworkRequest createServiceNetworkRequest)
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.
createServiceNetworkRequest
- Future<CreateServiceNetworkResult> createServiceNetworkAsync(CreateServiceNetworkRequest createServiceNetworkRequest, AsyncHandler<CreateServiceNetworkRequest,CreateServiceNetworkResult> asyncHandler)
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.
createServiceNetworkRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateServiceNetworkServiceAssociationResult> createServiceNetworkServiceAssociationAsync(CreateServiceNetworkServiceAssociationRequest createServiceNetworkServiceAssociationRequest)
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.
createServiceNetworkServiceAssociationRequest
- Future<CreateServiceNetworkServiceAssociationResult> createServiceNetworkServiceAssociationAsync(CreateServiceNetworkServiceAssociationRequest createServiceNetworkServiceAssociationRequest, AsyncHandler<CreateServiceNetworkServiceAssociationRequest,CreateServiceNetworkServiceAssociationResult> asyncHandler)
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.
createServiceNetworkServiceAssociationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateServiceNetworkVpcAssociationResult> createServiceNetworkVpcAssociationAsync(CreateServiceNetworkVpcAssociationRequest createServiceNetworkVpcAssociationRequest)
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.
createServiceNetworkVpcAssociationRequest
- Future<CreateServiceNetworkVpcAssociationResult> createServiceNetworkVpcAssociationAsync(CreateServiceNetworkVpcAssociationRequest createServiceNetworkVpcAssociationRequest, AsyncHandler<CreateServiceNetworkVpcAssociationRequest,CreateServiceNetworkVpcAssociationResult> asyncHandler)
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.
createServiceNetworkVpcAssociationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateTargetGroupResult> createTargetGroupAsync(CreateTargetGroupRequest createTargetGroupRequest)
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.
createTargetGroupRequest
- Future<CreateTargetGroupResult> createTargetGroupAsync(CreateTargetGroupRequest createTargetGroupRequest, AsyncHandler<CreateTargetGroupRequest,CreateTargetGroupResult> asyncHandler)
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.
createTargetGroupRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteAccessLogSubscriptionResult> deleteAccessLogSubscriptionAsync(DeleteAccessLogSubscriptionRequest deleteAccessLogSubscriptionRequest)
Deletes the specified access log subscription.
deleteAccessLogSubscriptionRequest
- Future<DeleteAccessLogSubscriptionResult> deleteAccessLogSubscriptionAsync(DeleteAccessLogSubscriptionRequest deleteAccessLogSubscriptionRequest, AsyncHandler<DeleteAccessLogSubscriptionRequest,DeleteAccessLogSubscriptionResult> asyncHandler)
Deletes the specified access log subscription.
deleteAccessLogSubscriptionRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteAuthPolicyResult> deleteAuthPolicyAsync(DeleteAuthPolicyRequest deleteAuthPolicyRequest)
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.
deleteAuthPolicyRequest
- Future<DeleteAuthPolicyResult> deleteAuthPolicyAsync(DeleteAuthPolicyRequest deleteAuthPolicyRequest, AsyncHandler<DeleteAuthPolicyRequest,DeleteAuthPolicyResult> asyncHandler)
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.
deleteAuthPolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteListenerResult> deleteListenerAsync(DeleteListenerRequest deleteListenerRequest)
Deletes the specified listener.
deleteListenerRequest
- Future<DeleteListenerResult> deleteListenerAsync(DeleteListenerRequest deleteListenerRequest, AsyncHandler<DeleteListenerRequest,DeleteListenerResult> asyncHandler)
Deletes the specified listener.
deleteListenerRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes the specified resource policy.
deleteResourcePolicyRequest
- Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
Deletes the specified resource policy.
deleteResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest deleteRuleRequest)
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.
deleteRuleRequest
- Future<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest deleteRuleRequest, AsyncHandler<DeleteRuleRequest,DeleteRuleResult> asyncHandler)
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.
deleteRuleRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest deleteServiceRequest)
Deletes 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.
deleteServiceRequest
- Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest deleteServiceRequest, AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
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.
deleteServiceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteServiceNetworkResult> deleteServiceNetworkAsync(DeleteServiceNetworkRequest deleteServiceNetworkRequest)
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.
deleteServiceNetworkRequest
- Future<DeleteServiceNetworkResult> deleteServiceNetworkAsync(DeleteServiceNetworkRequest deleteServiceNetworkRequest, AsyncHandler<DeleteServiceNetworkRequest,DeleteServiceNetworkResult> asyncHandler)
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.
deleteServiceNetworkRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteServiceNetworkServiceAssociationResult> deleteServiceNetworkServiceAssociationAsync(DeleteServiceNetworkServiceAssociationRequest deleteServiceNetworkServiceAssociationRequest)
Deletes the association between a specified service and the specific service network. This operation fails if an association is still in progress.
deleteServiceNetworkServiceAssociationRequest
- Future<DeleteServiceNetworkServiceAssociationResult> deleteServiceNetworkServiceAssociationAsync(DeleteServiceNetworkServiceAssociationRequest deleteServiceNetworkServiceAssociationRequest, AsyncHandler<DeleteServiceNetworkServiceAssociationRequest,DeleteServiceNetworkServiceAssociationResult> asyncHandler)
Deletes the association between a specified service and the specific service network. This operation fails if an association is still in progress.
deleteServiceNetworkServiceAssociationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteServiceNetworkVpcAssociationResult> deleteServiceNetworkVpcAssociationAsync(DeleteServiceNetworkVpcAssociationRequest deleteServiceNetworkVpcAssociationRequest)
Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
deleteServiceNetworkVpcAssociationRequest
- Future<DeleteServiceNetworkVpcAssociationResult> deleteServiceNetworkVpcAssociationAsync(DeleteServiceNetworkVpcAssociationRequest deleteServiceNetworkVpcAssociationRequest, AsyncHandler<DeleteServiceNetworkVpcAssociationRequest,DeleteServiceNetworkVpcAssociationResult> asyncHandler)
Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
deleteServiceNetworkVpcAssociationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteTargetGroupResult> deleteTargetGroupAsync(DeleteTargetGroupRequest deleteTargetGroupRequest)
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.
deleteTargetGroupRequest
- Future<DeleteTargetGroupResult> deleteTargetGroupAsync(DeleteTargetGroupRequest deleteTargetGroupRequest, AsyncHandler<DeleteTargetGroupRequest,DeleteTargetGroupResult> asyncHandler)
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.
deleteTargetGroupRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeregisterTargetsResult> deregisterTargetsAsync(DeregisterTargetsRequest deregisterTargetsRequest)
Deregisters the specified targets from the specified target group.
deregisterTargetsRequest
- Future<DeregisterTargetsResult> deregisterTargetsAsync(DeregisterTargetsRequest deregisterTargetsRequest, AsyncHandler<DeregisterTargetsRequest,DeregisterTargetsResult> asyncHandler)
Deregisters the specified targets from the specified target group.
deregisterTargetsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetAccessLogSubscriptionResult> getAccessLogSubscriptionAsync(GetAccessLogSubscriptionRequest getAccessLogSubscriptionRequest)
Retrieves information about the specified access log subscription.
getAccessLogSubscriptionRequest
- Future<GetAccessLogSubscriptionResult> getAccessLogSubscriptionAsync(GetAccessLogSubscriptionRequest getAccessLogSubscriptionRequest, AsyncHandler<GetAccessLogSubscriptionRequest,GetAccessLogSubscriptionResult> asyncHandler)
Retrieves information about the specified access log subscription.
getAccessLogSubscriptionRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetAuthPolicyResult> getAuthPolicyAsync(GetAuthPolicyRequest getAuthPolicyRequest)
Retrieves information about the auth policy for the specified service or service network.
getAuthPolicyRequest
- Future<GetAuthPolicyResult> getAuthPolicyAsync(GetAuthPolicyRequest getAuthPolicyRequest, AsyncHandler<GetAuthPolicyRequest,GetAuthPolicyResult> asyncHandler)
Retrieves information about the auth policy for the specified service or service network.
getAuthPolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetListenerResult> getListenerAsync(GetListenerRequest getListenerRequest)
Retrieves information about the specified listener for the specified service.
getListenerRequest
- Future<GetListenerResult> getListenerAsync(GetListenerRequest getListenerRequest, AsyncHandler<GetListenerRequest,GetListenerResult> asyncHandler)
Retrieves information about the specified listener for the specified service.
getListenerRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest)
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.
getResourcePolicyRequest
- Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
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.
getResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetRuleResult> getRuleAsync(GetRuleRequest getRuleRequest)
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.
getRuleRequest
- Future<GetRuleResult> getRuleAsync(GetRuleRequest getRuleRequest, AsyncHandler<GetRuleRequest,GetRuleResult> asyncHandler)
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.
getRuleRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetServiceResult> getServiceAsync(GetServiceRequest getServiceRequest)
Retrieves information about the specified service.
getServiceRequest
- Future<GetServiceResult> getServiceAsync(GetServiceRequest getServiceRequest, AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
Retrieves information about the specified service.
getServiceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetServiceNetworkResult> getServiceNetworkAsync(GetServiceNetworkRequest getServiceNetworkRequest)
Retrieves information about the specified service network.
getServiceNetworkRequest
- Future<GetServiceNetworkResult> getServiceNetworkAsync(GetServiceNetworkRequest getServiceNetworkRequest, AsyncHandler<GetServiceNetworkRequest,GetServiceNetworkResult> asyncHandler)
Retrieves information about the specified service network.
getServiceNetworkRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetServiceNetworkServiceAssociationResult> getServiceNetworkServiceAssociationAsync(GetServiceNetworkServiceAssociationRequest getServiceNetworkServiceAssociationRequest)
Retrieves information about the specified association between a service network and a service.
getServiceNetworkServiceAssociationRequest
- Future<GetServiceNetworkServiceAssociationResult> getServiceNetworkServiceAssociationAsync(GetServiceNetworkServiceAssociationRequest getServiceNetworkServiceAssociationRequest, AsyncHandler<GetServiceNetworkServiceAssociationRequest,GetServiceNetworkServiceAssociationResult> asyncHandler)
Retrieves information about the specified association between a service network and a service.
getServiceNetworkServiceAssociationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetServiceNetworkVpcAssociationResult> getServiceNetworkVpcAssociationAsync(GetServiceNetworkVpcAssociationRequest getServiceNetworkVpcAssociationRequest)
Retrieves information about the association between a service network and a VPC.
getServiceNetworkVpcAssociationRequest
- Future<GetServiceNetworkVpcAssociationResult> getServiceNetworkVpcAssociationAsync(GetServiceNetworkVpcAssociationRequest getServiceNetworkVpcAssociationRequest, AsyncHandler<GetServiceNetworkVpcAssociationRequest,GetServiceNetworkVpcAssociationResult> asyncHandler)
Retrieves information about the association between a service network and a VPC.
getServiceNetworkVpcAssociationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetTargetGroupResult> getTargetGroupAsync(GetTargetGroupRequest getTargetGroupRequest)
Retrieves information about the specified target group.
getTargetGroupRequest
- Future<GetTargetGroupResult> getTargetGroupAsync(GetTargetGroupRequest getTargetGroupRequest, AsyncHandler<GetTargetGroupRequest,GetTargetGroupResult> asyncHandler)
Retrieves information about the specified target group.
getTargetGroupRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListAccessLogSubscriptionsResult> listAccessLogSubscriptionsAsync(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest)
Lists all access log subscriptions for the specified service network or service.
listAccessLogSubscriptionsRequest
- Future<ListAccessLogSubscriptionsResult> listAccessLogSubscriptionsAsync(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest, AsyncHandler<ListAccessLogSubscriptionsRequest,ListAccessLogSubscriptionsResult> asyncHandler)
Lists all access log subscriptions for the specified service network or service.
listAccessLogSubscriptionsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListListenersResult> listListenersAsync(ListListenersRequest listListenersRequest)
Lists the listeners for the specified service.
listListenersRequest
- Future<ListListenersResult> listListenersAsync(ListListenersRequest listListenersRequest, AsyncHandler<ListListenersRequest,ListListenersResult> asyncHandler)
Lists the listeners for the specified service.
listListenersRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListRulesResult> listRulesAsync(ListRulesRequest listRulesRequest)
Lists the rules for the listener.
listRulesRequest
- Future<ListRulesResult> listRulesAsync(ListRulesRequest listRulesRequest, AsyncHandler<ListRulesRequest,ListRulesResult> asyncHandler)
Lists the rules for the listener.
listRulesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListServiceNetworkServiceAssociationsResult> listServiceNetworkServiceAssociationsAsync(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest)
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.
listServiceNetworkServiceAssociationsRequest
- Future<ListServiceNetworkServiceAssociationsResult> listServiceNetworkServiceAssociationsAsync(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest, AsyncHandler<ListServiceNetworkServiceAssociationsRequest,ListServiceNetworkServiceAssociationsResult> asyncHandler)
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.
listServiceNetworkServiceAssociationsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListServiceNetworkVpcAssociationsResult> listServiceNetworkVpcAssociationsAsync(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest)
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.
listServiceNetworkVpcAssociationsRequest
- Future<ListServiceNetworkVpcAssociationsResult> listServiceNetworkVpcAssociationsAsync(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest, AsyncHandler<ListServiceNetworkVpcAssociationsRequest,ListServiceNetworkVpcAssociationsResult> asyncHandler)
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.
listServiceNetworkVpcAssociationsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListServiceNetworksResult> listServiceNetworksAsync(ListServiceNetworksRequest listServiceNetworksRequest)
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.
listServiceNetworksRequest
- Future<ListServiceNetworksResult> listServiceNetworksAsync(ListServiceNetworksRequest listServiceNetworksRequest, AsyncHandler<ListServiceNetworksRequest,ListServiceNetworksResult> asyncHandler)
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.
listServiceNetworksRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListServicesResult> listServicesAsync(ListServicesRequest listServicesRequest)
Lists the services owned by the caller account or shared with the caller account.
listServicesRequest
- Future<ListServicesResult> listServicesAsync(ListServicesRequest listServicesRequest, AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
Lists the services owned by the caller account or shared with the caller account.
listServicesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags for the specified resource.
listTagsForResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListTargetGroupsResult> listTargetGroupsAsync(ListTargetGroupsRequest listTargetGroupsRequest)
Lists your target groups. You can narrow your search by using the filters below in your request.
listTargetGroupsRequest
- Future<ListTargetGroupsResult> listTargetGroupsAsync(ListTargetGroupsRequest listTargetGroupsRequest, AsyncHandler<ListTargetGroupsRequest,ListTargetGroupsResult> asyncHandler)
Lists your target groups. You can narrow your search by using the filters below in your request.
listTargetGroupsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListTargetsResult> listTargetsAsync(ListTargetsRequest listTargetsRequest)
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.
listTargetsRequest
- Future<ListTargetsResult> listTargetsAsync(ListTargetsRequest listTargetsRequest, AsyncHandler<ListTargetsRequest,ListTargetsResult> asyncHandler)
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.
listTargetsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PutAuthPolicyResult> putAuthPolicyAsync(PutAuthPolicyRequest putAuthPolicyRequest)
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.
putAuthPolicyRequest
- Future<PutAuthPolicyResult> putAuthPolicyAsync(PutAuthPolicyRequest putAuthPolicyRequest, AsyncHandler<PutAuthPolicyRequest,PutAuthPolicyResult> asyncHandler)
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.
putAuthPolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest)
Attaches a resource-based permission policy to 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.
putResourcePolicyRequest
- Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest, AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
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.
putResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<RegisterTargetsResult> registerTargetsAsync(RegisterTargetsRequest registerTargetsRequest)
Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
registerTargetsRequest
- Future<RegisterTargetsResult> registerTargetsAsync(RegisterTargetsRequest registerTargetsRequest, AsyncHandler<RegisterTargetsRequest,RegisterTargetsResult> asyncHandler)
Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
registerTargetsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Adds the specified tags to the specified resource.
tagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes the specified tags from the specified resource.
untagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateAccessLogSubscriptionResult> updateAccessLogSubscriptionAsync(UpdateAccessLogSubscriptionRequest updateAccessLogSubscriptionRequest)
Updates the specified access log subscription.
updateAccessLogSubscriptionRequest
- Future<UpdateAccessLogSubscriptionResult> updateAccessLogSubscriptionAsync(UpdateAccessLogSubscriptionRequest updateAccessLogSubscriptionRequest, AsyncHandler<UpdateAccessLogSubscriptionRequest,UpdateAccessLogSubscriptionResult> asyncHandler)
Updates the specified access log subscription.
updateAccessLogSubscriptionRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateListenerResult> updateListenerAsync(UpdateListenerRequest updateListenerRequest)
Updates the specified listener for the specified service.
updateListenerRequest
- Future<UpdateListenerResult> updateListenerAsync(UpdateListenerRequest updateListenerRequest, AsyncHandler<UpdateListenerRequest,UpdateListenerResult> asyncHandler)
Updates the specified listener for the specified service.
updateListenerRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateRuleResult> updateRuleAsync(UpdateRuleRequest updateRuleRequest)
Updates a rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use
UpdateListener
.
updateRuleRequest
- Future<UpdateRuleResult> updateRuleAsync(UpdateRuleRequest updateRuleRequest, AsyncHandler<UpdateRuleRequest,UpdateRuleResult> asyncHandler)
Updates a rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use
UpdateListener
.
updateRuleRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest updateServiceRequest)
Updates the specified service.
updateServiceRequest
- Future<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest updateServiceRequest, AsyncHandler<UpdateServiceRequest,UpdateServiceResult> asyncHandler)
Updates the specified service.
updateServiceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateServiceNetworkResult> updateServiceNetworkAsync(UpdateServiceNetworkRequest updateServiceNetworkRequest)
Updates the specified service network.
updateServiceNetworkRequest
- Future<UpdateServiceNetworkResult> updateServiceNetworkAsync(UpdateServiceNetworkRequest updateServiceNetworkRequest, AsyncHandler<UpdateServiceNetworkRequest,UpdateServiceNetworkResult> asyncHandler)
Updates the specified service network.
updateServiceNetworkRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateServiceNetworkVpcAssociationResult> updateServiceNetworkVpcAssociationAsync(UpdateServiceNetworkVpcAssociationRequest updateServiceNetworkVpcAssociationRequest)
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.
updateServiceNetworkVpcAssociationRequest
- Future<UpdateServiceNetworkVpcAssociationResult> updateServiceNetworkVpcAssociationAsync(UpdateServiceNetworkVpcAssociationRequest updateServiceNetworkVpcAssociationRequest, AsyncHandler<UpdateServiceNetworkVpcAssociationRequest,UpdateServiceNetworkVpcAssociationResult> asyncHandler)
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.
updateServiceNetworkVpcAssociationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateTargetGroupResult> updateTargetGroupAsync(UpdateTargetGroupRequest updateTargetGroupRequest)
Updates the specified target group.
updateTargetGroupRequest
- Future<UpdateTargetGroupResult> updateTargetGroupAsync(UpdateTargetGroupRequest updateTargetGroupRequest, AsyncHandler<UpdateTargetGroupRequest,UpdateTargetGroupResult> asyncHandler)
Updates the specified target group.
updateTargetGroupRequest
- 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.