/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.vpclattice; import javax.annotation.Generated; import com.amazonaws.services.vpclattice.model.*; /** * Interface for accessing Amazon VPC Lattice asynchronously. Each asynchronous method will return a Java Future object * representing the asynchronous operation; overloads which accept an {@code 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 * {@link com.amazonaws.services.vpclattice.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 *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonVPCLatticeAsync extends AmazonVPCLattice { /** ** 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. *
* * @param batchUpdateRuleRequest * @return A Java Future containing the result of the BatchUpdateRule operation returned by the service. * @sample AmazonVPCLatticeAsync.BatchUpdateRule * @see AWS * API Documentation */ java.util.concurrent.Future* 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. *
* * @param batchUpdateRuleRequest * @param 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. * @return A Java Future containing the result of the BatchUpdateRule operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.BatchUpdateRule * @see AWS * API Documentation */ java.util.concurrent.Future* 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 will 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. *
* * @param createAccessLogSubscriptionRequest * @return A Java Future containing the result of the CreateAccessLogSubscription operation returned by the service. * @sample AmazonVPCLatticeAsync.CreateAccessLogSubscription * @see AWS API Documentation */ java.util.concurrent.Future* 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 will 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. *
* * @param createAccessLogSubscriptionRequest * @param 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. * @return A Java Future containing the result of the CreateAccessLogSubscription operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.CreateAccessLogSubscription * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param createListenerRequest * @return A Java Future containing the result of the CreateListener operation returned by the service. * @sample AmazonVPCLatticeAsync.CreateListener * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param createListenerRequest * @param 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. * @return A Java Future containing the result of the CreateListener operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.CreateListener * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param createRuleRequest * @return A Java Future containing the result of the CreateRule operation returned by the service. * @sample AmazonVPCLatticeAsync.CreateRule * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param createRuleRequest * @param 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. * @return A Java Future containing the result of the CreateRule operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.CreateRule * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param createServiceRequest * @return A Java Future containing the result of the CreateService operation returned by the service. * @sample AmazonVPCLatticeAsync.CreateService * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param createServiceRequest * @param 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. * @return A Java Future containing the result of the CreateService operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.CreateService * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param createServiceNetworkRequest * @return A Java Future containing the result of the CreateServiceNetwork operation returned by the service. * @sample AmazonVPCLatticeAsync.CreateServiceNetwork * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param createServiceNetworkRequest * @param 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. * @return A Java Future containing the result of the CreateServiceNetwork operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.CreateServiceNetwork * @see AWS API Documentation */ java.util.concurrent.Future* Associates a service with a service network. *
** 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. *
* * @param createServiceNetworkServiceAssociationRequest * @return A Java Future containing the result of the CreateServiceNetworkServiceAssociation operation returned by * the service. * @sample AmazonVPCLatticeAsync.CreateServiceNetworkServiceAssociation * @see AWS API Documentation */ java.util.concurrent.Future* Associates a service with a service network. *
** 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. *
* * @param createServiceNetworkServiceAssociationRequest * @param 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. * @return A Java Future containing the result of the CreateServiceNetworkServiceAssociation operation returned by * the service. * @sample AmazonVPCLatticeAsyncHandler.CreateServiceNetworkServiceAssociation * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param createServiceNetworkVpcAssociationRequest * @return A Java Future containing the result of the CreateServiceNetworkVpcAssociation operation returned by the * service. * @sample AmazonVPCLatticeAsync.CreateServiceNetworkVpcAssociation * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param createServiceNetworkVpcAssociationRequest * @param 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. * @return A Java Future containing the result of the CreateServiceNetworkVpcAssociation operation returned by the * service. * @sample AmazonVPCLatticeAsyncHandler.CreateServiceNetworkVpcAssociation * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param createTargetGroupRequest * @return A Java Future containing the result of the CreateTargetGroup operation returned by the service. * @sample AmazonVPCLatticeAsync.CreateTargetGroup * @see AWS * API Documentation */ java.util.concurrent.Future* 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. *
* * @param createTargetGroupRequest * @param 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. * @return A Java Future containing the result of the CreateTargetGroup operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.CreateTargetGroup * @see AWS * API Documentation */ java.util.concurrent.Future* Deletes the specified access log subscription. *
* * @param deleteAccessLogSubscriptionRequest * @return A Java Future containing the result of the DeleteAccessLogSubscription operation returned by the service. * @sample AmazonVPCLatticeAsync.DeleteAccessLogSubscription * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the specified access log subscription. *
* * @param deleteAccessLogSubscriptionRequest * @param 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. * @return A Java Future containing the result of the DeleteAccessLogSubscription operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.DeleteAccessLogSubscription * @see AWS API Documentation */ java.util.concurrent.Future
* Deletes the specified auth policy. If an auth is set to AWS_IAM
and the auth policy is deleted, all
* requests will be denied by default. 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 will
* be denied.
*
* Deletes the specified auth policy. If an auth is set to AWS_IAM
and the auth policy is deleted, all
* requests will be denied by default. 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 will
* be denied.
*
* Deletes the specified listener. *
* * @param deleteListenerRequest * @return A Java Future containing the result of the DeleteListener operation returned by the service. * @sample AmazonVPCLatticeAsync.DeleteListener * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes the specified listener. *
* * @param deleteListenerRequest * @param 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. * @return A Java Future containing the result of the DeleteListener operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.DeleteListener * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes the specified resource policy. *
* * @param deleteResourcePolicyRequest * @return A Java Future containing the result of the DeleteResourcePolicy operation returned by the service. * @sample AmazonVPCLatticeAsync.DeleteResourcePolicy * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the specified resource policy. *
* * @param deleteResourcePolicyRequest * @param 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. * @return A Java Future containing the result of the DeleteResourcePolicy operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.DeleteResourcePolicy * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param deleteRuleRequest * @return A Java Future containing the result of the DeleteRule operation returned by the service. * @sample AmazonVPCLatticeAsync.DeleteRule * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param deleteRuleRequest * @param 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. * @return A Java Future containing the result of the DeleteRule operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.DeleteRule * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param deleteServiceRequest * @return A Java Future containing the result of the DeleteService operation returned by the service. * @sample AmazonVPCLatticeAsync.DeleteService * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param deleteServiceRequest * @param 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. * @return A Java Future containing the result of the DeleteService operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.DeleteService * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param deleteServiceNetworkRequest * @return A Java Future containing the result of the DeleteServiceNetwork operation returned by the service. * @sample AmazonVPCLatticeAsync.DeleteServiceNetwork * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param deleteServiceNetworkRequest * @param 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. * @return A Java Future containing the result of the DeleteServiceNetwork operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.DeleteServiceNetwork * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the association between a specified service and the specific service network. This request will fail if * an association is still in progress. *
* * @param deleteServiceNetworkServiceAssociationRequest * @return A Java Future containing the result of the DeleteServiceNetworkServiceAssociation operation returned by * the service. * @sample AmazonVPCLatticeAsync.DeleteServiceNetworkServiceAssociation * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the association between a specified service and the specific service network. This request will fail if * an association is still in progress. *
* * @param deleteServiceNetworkServiceAssociationRequest * @param 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. * @return A Java Future containing the result of the DeleteServiceNetworkServiceAssociation operation returned by * the service. * @sample AmazonVPCLatticeAsyncHandler.DeleteServiceNetworkServiceAssociation * @see AWS API Documentation */ java.util.concurrent.Future* Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update * association in progress. *
* * @param deleteServiceNetworkVpcAssociationRequest * @return A Java Future containing the result of the DeleteServiceNetworkVpcAssociation operation returned by the * service. * @sample AmazonVPCLatticeAsync.DeleteServiceNetworkVpcAssociation * @see AWS API Documentation */ java.util.concurrent.Future* Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update * association in progress. *
* * @param deleteServiceNetworkVpcAssociationRequest * @param 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. * @return A Java Future containing the result of the DeleteServiceNetworkVpcAssociation operation returned by the * service. * @sample AmazonVPCLatticeAsyncHandler.DeleteServiceNetworkVpcAssociation * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param deleteTargetGroupRequest * @return A Java Future containing the result of the DeleteTargetGroup operation returned by the service. * @sample AmazonVPCLatticeAsync.DeleteTargetGroup * @see AWS * API Documentation */ java.util.concurrent.Future* 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. *
* * @param deleteTargetGroupRequest * @param 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. * @return A Java Future containing the result of the DeleteTargetGroup operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.DeleteTargetGroup * @see AWS * API Documentation */ java.util.concurrent.Future* Deregisters the specified targets from the specified target group. *
* * @param deregisterTargetsRequest * @return A Java Future containing the result of the DeregisterTargets operation returned by the service. * @sample AmazonVPCLatticeAsync.DeregisterTargets * @see AWS * API Documentation */ java.util.concurrent.Future* Deregisters the specified targets from the specified target group. *
* * @param deregisterTargetsRequest * @param 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. * @return A Java Future containing the result of the DeregisterTargets operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.DeregisterTargets * @see AWS * API Documentation */ java.util.concurrent.Future* Retrieves information about the specified access log subscription. *
* * @param getAccessLogSubscriptionRequest * @return A Java Future containing the result of the GetAccessLogSubscription operation returned by the service. * @sample AmazonVPCLatticeAsync.GetAccessLogSubscription * @see AWS API Documentation */ java.util.concurrent.Future* Retrieves information about the specified access log subscription. *
* * @param getAccessLogSubscriptionRequest * @param 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. * @return A Java Future containing the result of the GetAccessLogSubscription operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.GetAccessLogSubscription * @see AWS API Documentation */ java.util.concurrent.Future* Retrieves information about the auth policy for the specified service or service network. *
* * @param getAuthPolicyRequest * @return A Java Future containing the result of the GetAuthPolicy operation returned by the service. * @sample AmazonVPCLatticeAsync.GetAuthPolicy * @see AWS API * Documentation */ java.util.concurrent.Future* Retrieves information about the auth policy for the specified service or service network. *
* * @param getAuthPolicyRequest * @param 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. * @return A Java Future containing the result of the GetAuthPolicy operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.GetAuthPolicy * @see AWS API * Documentation */ java.util.concurrent.Future* Retrieves information about the specified listener for the specified service. *
* * @param getListenerRequest * @return A Java Future containing the result of the GetListener operation returned by the service. * @sample AmazonVPCLatticeAsync.GetListener * @see AWS API * Documentation */ java.util.concurrent.Future* Retrieves information about the specified listener for the specified service. *
* * @param getListenerRequest * @param 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. * @return A Java Future containing the result of the GetListener operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.GetListener * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param getResourcePolicyRequest * @return A Java Future containing the result of the GetResourcePolicy operation returned by the service. * @sample AmazonVPCLatticeAsync.GetResourcePolicy * @see AWS * API Documentation */ java.util.concurrent.Future* 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. *
* * @param getResourcePolicyRequest * @param 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. * @return A Java Future containing the result of the GetResourcePolicy operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.GetResourcePolicy * @see AWS * API Documentation */ java.util.concurrent.Future* 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. *
* * @param getRuleRequest * @return A Java Future containing the result of the GetRule operation returned by the service. * @sample AmazonVPCLatticeAsync.GetRule * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param getRuleRequest * @param 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. * @return A Java Future containing the result of the GetRule operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.GetRule * @see AWS API * Documentation */ java.util.concurrent.Future* Retrieves information about the specified service. *
* * @param getServiceRequest * @return A Java Future containing the result of the GetService operation returned by the service. * @sample AmazonVPCLatticeAsync.GetService * @see AWS API * Documentation */ java.util.concurrent.Future* Retrieves information about the specified service. *
* * @param getServiceRequest * @param 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. * @return A Java Future containing the result of the GetService operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.GetService * @see AWS API * Documentation */ java.util.concurrent.Future* Retrieves information about the specified service network. *
* * @param getServiceNetworkRequest * @return A Java Future containing the result of the GetServiceNetwork operation returned by the service. * @sample AmazonVPCLatticeAsync.GetServiceNetwork * @see AWS * API Documentation */ java.util.concurrent.Future* Retrieves information about the specified service network. *
* * @param getServiceNetworkRequest * @param 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. * @return A Java Future containing the result of the GetServiceNetwork operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.GetServiceNetwork * @see AWS * API Documentation */ java.util.concurrent.Future* Retrieves information about the specified association between a service network and a service. *
* * @param getServiceNetworkServiceAssociationRequest * @return A Java Future containing the result of the GetServiceNetworkServiceAssociation operation returned by the * service. * @sample AmazonVPCLatticeAsync.GetServiceNetworkServiceAssociation * @see AWS API Documentation */ java.util.concurrent.Future* Retrieves information about the specified association between a service network and a service. *
* * @param getServiceNetworkServiceAssociationRequest * @param 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. * @return A Java Future containing the result of the GetServiceNetworkServiceAssociation operation returned by the * service. * @sample AmazonVPCLatticeAsyncHandler.GetServiceNetworkServiceAssociation * @see AWS API Documentation */ java.util.concurrent.Future* Retrieves information about the association between a service network and a VPC. *
* * @param getServiceNetworkVpcAssociationRequest * @return A Java Future containing the result of the GetServiceNetworkVpcAssociation operation returned by the * service. * @sample AmazonVPCLatticeAsync.GetServiceNetworkVpcAssociation * @see AWS API Documentation */ java.util.concurrent.Future* Retrieves information about the association between a service network and a VPC. *
* * @param getServiceNetworkVpcAssociationRequest * @param 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. * @return A Java Future containing the result of the GetServiceNetworkVpcAssociation operation returned by the * service. * @sample AmazonVPCLatticeAsyncHandler.GetServiceNetworkVpcAssociation * @see AWS API Documentation */ java.util.concurrent.Future* Retrieves information about the specified target group. *
* * @param getTargetGroupRequest * @return A Java Future containing the result of the GetTargetGroup operation returned by the service. * @sample AmazonVPCLatticeAsync.GetTargetGroup * @see AWS API * Documentation */ java.util.concurrent.Future* Retrieves information about the specified target group. *
* * @param getTargetGroupRequest * @param 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. * @return A Java Future containing the result of the GetTargetGroup operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.GetTargetGroup * @see AWS API * Documentation */ java.util.concurrent.Future* Lists all access log subscriptions for the specified service network or service. *
* * @param listAccessLogSubscriptionsRequest * @return A Java Future containing the result of the ListAccessLogSubscriptions operation returned by the service. * @sample AmazonVPCLatticeAsync.ListAccessLogSubscriptions * @see AWS API Documentation */ java.util.concurrent.Future* Lists all access log subscriptions for the specified service network or service. *
* * @param listAccessLogSubscriptionsRequest * @param 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. * @return A Java Future containing the result of the ListAccessLogSubscriptions operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.ListAccessLogSubscriptions * @see AWS API Documentation */ java.util.concurrent.Future* Lists the listeners for the specified service. *
* * @param listListenersRequest * @return A Java Future containing the result of the ListListeners operation returned by the service. * @sample AmazonVPCLatticeAsync.ListListeners * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the listeners for the specified service. *
* * @param listListenersRequest * @param 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. * @return A Java Future containing the result of the ListListeners operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.ListListeners * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the rules for the listener. *
* * @param listRulesRequest * @return A Java Future containing the result of the ListRules operation returned by the service. * @sample AmazonVPCLatticeAsync.ListRules * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the rules for the listener. *
* * @param listRulesRequest * @param 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. * @return A Java Future containing the result of the ListRules operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.ListRules * @see AWS API * Documentation */ java.util.concurrent.Future* 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 will include the local account ID as the * prefix in the ARN for each account the resource is shared with. *
* * @param listServiceNetworkServiceAssociationsRequest * @return A Java Future containing the result of the ListServiceNetworkServiceAssociations operation returned by * the service. * @sample AmazonVPCLatticeAsync.ListServiceNetworkServiceAssociations * @see AWS API Documentation */ java.util.concurrent.Future* 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 will include the local account ID as the * prefix in the ARN for each account the resource is shared with. *
* * @param listServiceNetworkServiceAssociationsRequest * @param 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. * @return A Java Future containing the result of the ListServiceNetworkServiceAssociations operation returned by * the service. * @sample AmazonVPCLatticeAsyncHandler.ListServiceNetworkServiceAssociations * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param listServiceNetworkVpcAssociationsRequest * @return A Java Future containing the result of the ListServiceNetworkVpcAssociations operation returned by the * service. * @sample AmazonVPCLatticeAsync.ListServiceNetworkVpcAssociations * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param listServiceNetworkVpcAssociationsRequest * @param 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. * @return A Java Future containing the result of the ListServiceNetworkVpcAssociations operation returned by the * service. * @sample AmazonVPCLatticeAsyncHandler.ListServiceNetworkVpcAssociations * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param listServiceNetworksRequest * @return A Java Future containing the result of the ListServiceNetworks operation returned by the service. * @sample AmazonVPCLatticeAsync.ListServiceNetworks * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param listServiceNetworksRequest * @param 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. * @return A Java Future containing the result of the ListServiceNetworks operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.ListServiceNetworks * @see AWS API Documentation */ java.util.concurrent.Future* Lists the services owned by the caller account or shared with the caller account. *
* * @param listServicesRequest * @return A Java Future containing the result of the ListServices operation returned by the service. * @sample AmazonVPCLatticeAsync.ListServices * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the services owned by the caller account or shared with the caller account. *
* * @param listServicesRequest * @param 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. * @return A Java Future containing the result of the ListServices operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.ListServices * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the tags for the specified resource. *
* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonVPCLatticeAsync.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future* Lists the tags for the specified resource. *
* * @param listTagsForResourceRequest * @param 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. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future* Lists your target groups. You can narrow your search by using the filters below in your request. *
* * @param listTargetGroupsRequest * @return A Java Future containing the result of the ListTargetGroups operation returned by the service. * @sample AmazonVPCLatticeAsync.ListTargetGroups * @see AWS * API Documentation */ java.util.concurrent.Future* Lists your target groups. You can narrow your search by using the filters below in your request. *
* * @param listTargetGroupsRequest * @param 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. * @return A Java Future containing the result of the ListTargetGroups operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.ListTargetGroups * @see AWS * API Documentation */ java.util.concurrent.Future* 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. *
* * @param listTargetsRequest * @return A Java Future containing the result of the ListTargets operation returned by the service. * @sample AmazonVPCLatticeAsync.ListTargets * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param listTargetsRequest * @param 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. * @return A Java Future containing the result of the ListTargets operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.ListTargets * @see AWS API * Documentation */ java.util.concurrent.Future* Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines. *
* * @param putAuthPolicyRequest * @return A Java Future containing the result of the PutAuthPolicy operation returned by the service. * @sample AmazonVPCLatticeAsync.PutAuthPolicy * @see AWS API * Documentation */ java.util.concurrent.Future* Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines. *
* * @param putAuthPolicyRequest * @param 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. * @return A Java Future containing the result of the PutAuthPolicy operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.PutAuthPolicy * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param putResourcePolicyRequest * @return A Java Future containing the result of the PutResourcePolicy operation returned by the service. * @sample AmazonVPCLatticeAsync.PutResourcePolicy * @see AWS * API Documentation */ java.util.concurrent.Future* 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. *
* * @param putResourcePolicyRequest * @param 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. * @return A Java Future containing the result of the PutResourcePolicy operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.PutResourcePolicy * @see AWS * API Documentation */ java.util.concurrent.Future* Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target * group. *
* * @param registerTargetsRequest * @return A Java Future containing the result of the RegisterTargets operation returned by the service. * @sample AmazonVPCLatticeAsync.RegisterTargets * @see AWS * API Documentation */ java.util.concurrent.Future* Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target * group. *
* * @param registerTargetsRequest * @param 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. * @return A Java Future containing the result of the RegisterTargets operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.RegisterTargets * @see AWS * API Documentation */ java.util.concurrent.Future* Adds the specified tags to the specified resource. *
* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonVPCLatticeAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Adds the specified tags to the specified resource. *
* * @param tagResourceRequest * @param 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. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Removes the specified tags from the specified resource. *
* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonVPCLatticeAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Removes the specified tags from the specified resource. *
* * @param untagResourceRequest * @param 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. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the specified access log subscription. *
* * @param updateAccessLogSubscriptionRequest * @return A Java Future containing the result of the UpdateAccessLogSubscription operation returned by the service. * @sample AmazonVPCLatticeAsync.UpdateAccessLogSubscription * @see AWS API Documentation */ java.util.concurrent.Future* Updates the specified access log subscription. *
* * @param updateAccessLogSubscriptionRequest * @param 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. * @return A Java Future containing the result of the UpdateAccessLogSubscription operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.UpdateAccessLogSubscription * @see AWS API Documentation */ java.util.concurrent.Future* Updates the specified listener for the specified service. *
* * @param updateListenerRequest * @return A Java Future containing the result of the UpdateListener operation returned by the service. * @sample AmazonVPCLatticeAsync.UpdateListener * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the specified listener for the specified service. *
* * @param updateListenerRequest * @param 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. * @return A Java Future containing the result of the UpdateListener operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.UpdateListener * @see AWS API * Documentation */ java.util.concurrent.Future
* Updates a rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use
* UpdateListener
.
*
* Updates a rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use
* UpdateListener
.
*
* Updates the specified service. *
* * @param updateServiceRequest * @return A Java Future containing the result of the UpdateService operation returned by the service. * @sample AmazonVPCLatticeAsync.UpdateService * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the specified service. *
* * @param updateServiceRequest * @param 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. * @return A Java Future containing the result of the UpdateService operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.UpdateService * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the specified service network. *
* * @param updateServiceNetworkRequest * @return A Java Future containing the result of the UpdateServiceNetwork operation returned by the service. * @sample AmazonVPCLatticeAsync.UpdateServiceNetwork * @see AWS API Documentation */ java.util.concurrent.Future* Updates the specified service network. *
* * @param updateServiceNetworkRequest * @param 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. * @return A Java Future containing the result of the UpdateServiceNetwork operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.UpdateServiceNetwork * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param updateServiceNetworkVpcAssociationRequest * @return A Java Future containing the result of the UpdateServiceNetworkVpcAssociation operation returned by the * service. * @sample AmazonVPCLatticeAsync.UpdateServiceNetworkVpcAssociation * @see AWS API Documentation */ java.util.concurrent.Future* 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. *
* * @param updateServiceNetworkVpcAssociationRequest * @param 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. * @return A Java Future containing the result of the UpdateServiceNetworkVpcAssociation operation returned by the * service. * @sample AmazonVPCLatticeAsyncHandler.UpdateServiceNetworkVpcAssociation * @see AWS API Documentation */ java.util.concurrent.Future* Updates the specified target group. *
* * @param updateTargetGroupRequest * @return A Java Future containing the result of the UpdateTargetGroup operation returned by the service. * @sample AmazonVPCLatticeAsync.UpdateTargetGroup * @see AWS * API Documentation */ java.util.concurrent.Future* Updates the specified target group. *
* * @param updateTargetGroupRequest * @param 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. * @return A Java Future containing the result of the UpdateTargetGroup operation returned by the service. * @sample AmazonVPCLatticeAsyncHandler.UpdateTargetGroup * @see AWS * API Documentation */ java.util.concurrent.Future