@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonVPCLatticeClient extends AmazonWebServiceClient implements AmazonVPCLattice
Amazon VPC Lattice is a fully managed application networking service that you use to connect, secure, and monitor all of your services across multiple accounts and virtual private clouds (VPCs). Amazon VPC Lattice interconnects your microservices and legacy services within a logical boundary, so that you can discover and manage them more efficiently. For more information, see the Amazon VPC Lattice User Guide
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AmazonVPCLatticeClientBuilder builder()
public BatchUpdateRuleResult batchUpdateRule(BatchUpdateRuleRequest request)
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.
batchUpdateRule in interface AmazonVPCLatticebatchUpdateRuleRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public CreateAccessLogSubscriptionResult createAccessLogSubscription(CreateAccessLogSubscriptionRequest request)
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.
createAccessLogSubscription in interface AmazonVPCLatticecreateAccessLogSubscriptionRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public CreateListenerResult createListener(CreateListenerRequest request)
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.
createListener in interface AmazonVPCLatticecreateListenerRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.InternalServerException - An unexpected error occurred while processing the request.public CreateRuleResult createRule(CreateRuleRequest request)
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.
createRule in interface AmazonVPCLatticecreateRuleRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.InternalServerException - An unexpected error occurred while processing the request.public CreateServiceResult createService(CreateServiceRequest request)
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.
createService in interface AmazonVPCLatticecreateServiceRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.InternalServerException - An unexpected error occurred while processing the request.public CreateServiceNetworkResult createServiceNetwork(CreateServiceNetworkRequest request)
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.
createServiceNetwork in interface AmazonVPCLatticecreateServiceNetworkRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.InternalServerException - An unexpected error occurred while processing the request.public CreateServiceNetworkServiceAssociationResult createServiceNetworkServiceAssociation(CreateServiceNetworkServiceAssociationRequest request)
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.
createServiceNetworkServiceAssociation in interface AmazonVPCLatticecreateServiceNetworkServiceAssociationRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.InternalServerException - An unexpected error occurred while processing the request.public CreateServiceNetworkVpcAssociationResult createServiceNetworkVpcAssociation(CreateServiceNetworkVpcAssociationRequest request)
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.
createServiceNetworkVpcAssociation in interface AmazonVPCLatticecreateServiceNetworkVpcAssociationRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.InternalServerException - An unexpected error occurred while processing the request.public CreateTargetGroupResult createTargetGroup(CreateTargetGroupRequest request)
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.
createTargetGroup in interface AmazonVPCLatticecreateTargetGroupRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.InternalServerException - An unexpected error occurred while processing the request.public DeleteAccessLogSubscriptionResult deleteAccessLogSubscription(DeleteAccessLogSubscriptionRequest request)
Deletes the specified access log subscription.
deleteAccessLogSubscription in interface AmazonVPCLatticedeleteAccessLogSubscriptionRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public DeleteAuthPolicyResult deleteAuthPolicy(DeleteAuthPolicyRequest request)
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.
deleteAuthPolicy in interface AmazonVPCLatticedeleteAuthPolicyRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public DeleteListenerResult deleteListener(DeleteListenerRequest request)
Deletes the specified listener.
deleteListener in interface AmazonVPCLatticedeleteListenerRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public DeleteResourcePolicyResult deleteResourcePolicy(DeleteResourcePolicyRequest request)
Deletes the specified resource policy.
deleteResourcePolicy in interface AmazonVPCLatticedeleteResourcePolicyRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public DeleteRuleResult deleteRule(DeleteRuleRequest request)
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.
deleteRule in interface AmazonVPCLatticedeleteRuleRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public DeleteServiceResult deleteService(DeleteServiceRequest request)
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.
deleteService in interface AmazonVPCLatticedeleteServiceRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public DeleteServiceNetworkResult deleteServiceNetwork(DeleteServiceNetworkRequest request)
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.
deleteServiceNetwork in interface AmazonVPCLatticedeleteServiceNetworkRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public DeleteServiceNetworkServiceAssociationResult deleteServiceNetworkServiceAssociation(DeleteServiceNetworkServiceAssociationRequest request)
Deletes the association between a specified service and the specific service network. This operation fails if an association is still in progress.
deleteServiceNetworkServiceAssociation in interface AmazonVPCLatticedeleteServiceNetworkServiceAssociationRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public DeleteServiceNetworkVpcAssociationResult deleteServiceNetworkVpcAssociation(DeleteServiceNetworkVpcAssociationRequest request)
Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
deleteServiceNetworkVpcAssociation in interface AmazonVPCLatticedeleteServiceNetworkVpcAssociationRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public DeleteTargetGroupResult deleteTargetGroup(DeleteTargetGroupRequest request)
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.
deleteTargetGroup in interface AmazonVPCLatticedeleteTargetGroupRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public DeregisterTargetsResult deregisterTargets(DeregisterTargetsRequest request)
Deregisters the specified targets from the specified target group.
deregisterTargets in interface AmazonVPCLatticederegisterTargetsRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public GetAccessLogSubscriptionResult getAccessLogSubscription(GetAccessLogSubscriptionRequest request)
Retrieves information about the specified access log subscription.
getAccessLogSubscription in interface AmazonVPCLatticegetAccessLogSubscriptionRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public GetAuthPolicyResult getAuthPolicy(GetAuthPolicyRequest request)
Retrieves information about the auth policy for the specified service or service network.
getAuthPolicy in interface AmazonVPCLatticegetAuthPolicyRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public GetListenerResult getListener(GetListenerRequest request)
Retrieves information about the specified listener for the specified service.
getListener in interface AmazonVPCLatticegetListenerRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public GetResourcePolicyResult getResourcePolicy(GetResourcePolicyRequest request)
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.
getResourcePolicy in interface AmazonVPCLatticegetResourcePolicyRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public GetRuleResult getRule(GetRuleRequest request)
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.
getRule in interface AmazonVPCLatticegetRuleRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public GetServiceResult getService(GetServiceRequest request)
Retrieves information about the specified service.
getService in interface AmazonVPCLatticegetServiceRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public GetServiceNetworkResult getServiceNetwork(GetServiceNetworkRequest request)
Retrieves information about the specified service network.
getServiceNetwork in interface AmazonVPCLatticegetServiceNetworkRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public GetServiceNetworkServiceAssociationResult getServiceNetworkServiceAssociation(GetServiceNetworkServiceAssociationRequest request)
Retrieves information about the specified association between a service network and a service.
getServiceNetworkServiceAssociation in interface AmazonVPCLatticegetServiceNetworkServiceAssociationRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public GetServiceNetworkVpcAssociationResult getServiceNetworkVpcAssociation(GetServiceNetworkVpcAssociationRequest request)
Retrieves information about the association between a service network and a VPC.
getServiceNetworkVpcAssociation in interface AmazonVPCLatticegetServiceNetworkVpcAssociationRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public GetTargetGroupResult getTargetGroup(GetTargetGroupRequest request)
Retrieves information about the specified target group.
getTargetGroup in interface AmazonVPCLatticegetTargetGroupRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public ListAccessLogSubscriptionsResult listAccessLogSubscriptions(ListAccessLogSubscriptionsRequest request)
Lists all access log subscriptions for the specified service network or service.
listAccessLogSubscriptions in interface AmazonVPCLatticelistAccessLogSubscriptionsRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - An unexpected error occurred while processing the request.public ListListenersResult listListeners(ListListenersRequest request)
Lists the listeners for the specified service.
listListeners in interface AmazonVPCLatticelistListenersRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public ListRulesResult listRules(ListRulesRequest request)
Lists the rules for the listener.
listRules in interface AmazonVPCLatticelistRulesRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public ListServiceNetworkServiceAssociationsResult listServiceNetworkServiceAssociations(ListServiceNetworkServiceAssociationsRequest request)
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.
listServiceNetworkServiceAssociations in interface AmazonVPCLatticelistServiceNetworkServiceAssociationsRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - An unexpected error occurred while processing the request.public ListServiceNetworkVpcAssociationsResult listServiceNetworkVpcAssociations(ListServiceNetworkVpcAssociationsRequest request)
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.
listServiceNetworkVpcAssociations in interface AmazonVPCLatticelistServiceNetworkVpcAssociationsRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - An unexpected error occurred while processing the request.public ListServiceNetworksResult listServiceNetworks(ListServiceNetworksRequest request)
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.
listServiceNetworks in interface AmazonVPCLatticelistServiceNetworksRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - An unexpected error occurred while processing the request.public ListServicesResult listServices(ListServicesRequest request)
Lists the services owned by the caller account or shared with the caller account.
listServices in interface AmazonVPCLatticelistServicesRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - An unexpected error occurred while processing the request.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified resource.
listTagsForResource in interface AmazonVPCLatticelistTagsForResourceRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public ListTargetGroupsResult listTargetGroups(ListTargetGroupsRequest request)
Lists your target groups. You can narrow your search by using the filters below in your request.
listTargetGroups in interface AmazonVPCLatticelistTargetGroupsRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - An unexpected error occurred while processing the request.public ListTargetsResult listTargets(ListTargetsRequest request)
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.
listTargets in interface AmazonVPCLatticelistTargetsRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public PutAuthPolicyResult putAuthPolicy(PutAuthPolicyRequest request)
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.
putAuthPolicy in interface AmazonVPCLatticeputAuthPolicyRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public PutResourcePolicyResult putResourcePolicy(PutResourcePolicyRequest request)
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.
putResourcePolicy in interface AmazonVPCLatticeputResourcePolicyRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public RegisterTargetsResult registerTargets(RegisterTargetsRequest request)
Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
registerTargets in interface AmazonVPCLatticeregisterTargetsRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.ServiceQuotaExceededException - The request would cause a service quota to be exceeded.InternalServerException - An unexpected error occurred while processing the request.public TagResourceResult tagResource(TagResourceRequest request)
Adds the specified tags to the specified resource.
tagResource in interface AmazonVPCLatticetagResourceRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the specified tags from the specified resource.
untagResource in interface AmazonVPCLatticeuntagResourceRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ResourceNotFoundException - The request references a resource that does not exist.InternalServerException - An unexpected error occurred while processing the request.public UpdateAccessLogSubscriptionResult updateAccessLogSubscription(UpdateAccessLogSubscriptionRequest request)
Updates the specified access log subscription.
updateAccessLogSubscription in interface AmazonVPCLatticeupdateAccessLogSubscriptionRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public UpdateListenerResult updateListener(UpdateListenerRequest request)
Updates the specified listener for the specified service.
updateListener in interface AmazonVPCLatticeupdateListenerRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public UpdateRuleResult updateRule(UpdateRuleRequest request)
Updates a rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use
UpdateListener.
updateRule in interface AmazonVPCLatticeupdateRuleRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public UpdateServiceResult updateService(UpdateServiceRequest request)
Updates the specified service.
updateService in interface AmazonVPCLatticeupdateServiceRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public UpdateServiceNetworkResult updateServiceNetwork(UpdateServiceNetworkRequest request)
Updates the specified service network.
updateServiceNetwork in interface AmazonVPCLatticeupdateServiceNetworkRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public UpdateServiceNetworkVpcAssociationResult updateServiceNetworkVpcAssociation(UpdateServiceNetworkVpcAssociationRequest request)
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.
updateServiceNetworkVpcAssociation in interface AmazonVPCLatticeupdateServiceNetworkVpcAssociationRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public UpdateTargetGroupResult updateTargetGroup(UpdateTargetGroupRequest request)
Updates the specified target group.
updateTargetGroup in interface AmazonVPCLatticeupdateTargetGroupRequest - ValidationException - The input does not satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException - The user does not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.ResourceNotFoundException - The request references a resource that does not exist.ConflictException - The request conflicts with the current state of the resource. Updating or deleting a resource can cause
an inconsistent state.InternalServerException - An unexpected error occurred while processing the request.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AmazonVPCLatticerequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AmazonVPCLatticeshutdown in class AmazonWebServiceClient