@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonVPCLattice
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonVPCLattice
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
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
BatchUpdateRuleResult |
batchUpdateRule(BatchUpdateRuleRequest batchUpdateRuleRequest)
Updates the listener rules in a batch.
|
CreateAccessLogSubscriptionResult |
createAccessLogSubscription(CreateAccessLogSubscriptionRequest createAccessLogSubscriptionRequest)
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose.
|
CreateListenerResult |
createListener(CreateListenerRequest createListenerRequest)
Creates a listener for a service.
|
CreateRuleResult |
createRule(CreateRuleRequest createRuleRequest)
Creates a listener rule.
|
CreateServiceResult |
createService(CreateServiceRequest createServiceRequest)
Creates a service.
|
CreateServiceNetworkResult |
createServiceNetwork(CreateServiceNetworkRequest createServiceNetworkRequest)
Creates a service network.
|
CreateServiceNetworkServiceAssociationResult |
createServiceNetworkServiceAssociation(CreateServiceNetworkServiceAssociationRequest createServiceNetworkServiceAssociationRequest)
Associates a service with a service network.
|
CreateServiceNetworkVpcAssociationResult |
createServiceNetworkVpcAssociation(CreateServiceNetworkVpcAssociationRequest createServiceNetworkVpcAssociationRequest)
Associates a VPC with a service network.
|
CreateTargetGroupResult |
createTargetGroup(CreateTargetGroupRequest createTargetGroupRequest)
Creates a target group.
|
DeleteAccessLogSubscriptionResult |
deleteAccessLogSubscription(DeleteAccessLogSubscriptionRequest deleteAccessLogSubscriptionRequest)
Deletes the specified access log subscription.
|
DeleteAuthPolicyResult |
deleteAuthPolicy(DeleteAuthPolicyRequest deleteAuthPolicyRequest)
Deletes the specified auth policy.
|
DeleteListenerResult |
deleteListener(DeleteListenerRequest deleteListenerRequest)
Deletes the specified listener.
|
DeleteResourcePolicyResult |
deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes the specified resource policy.
|
DeleteRuleResult |
deleteRule(DeleteRuleRequest deleteRuleRequest)
Deletes a listener rule.
|
DeleteServiceResult |
deleteService(DeleteServiceRequest deleteServiceRequest)
Deletes a service.
|
DeleteServiceNetworkResult |
deleteServiceNetwork(DeleteServiceNetworkRequest deleteServiceNetworkRequest)
Deletes a service network.
|
DeleteServiceNetworkServiceAssociationResult |
deleteServiceNetworkServiceAssociation(DeleteServiceNetworkServiceAssociationRequest deleteServiceNetworkServiceAssociationRequest)
Deletes the association between a specified service and the specific service network.
|
DeleteServiceNetworkVpcAssociationResult |
deleteServiceNetworkVpcAssociation(DeleteServiceNetworkVpcAssociationRequest deleteServiceNetworkVpcAssociationRequest)
Disassociates the VPC from the service network.
|
DeleteTargetGroupResult |
deleteTargetGroup(DeleteTargetGroupRequest deleteTargetGroupRequest)
Deletes a target group.
|
DeregisterTargetsResult |
deregisterTargets(DeregisterTargetsRequest deregisterTargetsRequest)
Deregisters the specified targets from the specified target group.
|
GetAccessLogSubscriptionResult |
getAccessLogSubscription(GetAccessLogSubscriptionRequest getAccessLogSubscriptionRequest)
Retrieves information about the specified access log subscription.
|
GetAuthPolicyResult |
getAuthPolicy(GetAuthPolicyRequest getAuthPolicyRequest)
Retrieves information about the auth policy for the specified service or service network.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetListenerResult |
getListener(GetListenerRequest getListenerRequest)
Retrieves information about the specified listener for the specified service.
|
GetResourcePolicyResult |
getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Retrieves information about the resource policy.
|
GetRuleResult |
getRule(GetRuleRequest getRuleRequest)
Retrieves information about listener rules.
|
GetServiceResult |
getService(GetServiceRequest getServiceRequest)
Retrieves information about the specified service.
|
GetServiceNetworkResult |
getServiceNetwork(GetServiceNetworkRequest getServiceNetworkRequest)
Retrieves information about the specified service network.
|
GetServiceNetworkServiceAssociationResult |
getServiceNetworkServiceAssociation(GetServiceNetworkServiceAssociationRequest getServiceNetworkServiceAssociationRequest)
Retrieves information about the specified association between a service network and a service.
|
GetServiceNetworkVpcAssociationResult |
getServiceNetworkVpcAssociation(GetServiceNetworkVpcAssociationRequest getServiceNetworkVpcAssociationRequest)
Retrieves information about the association between a service network and a VPC.
|
GetTargetGroupResult |
getTargetGroup(GetTargetGroupRequest getTargetGroupRequest)
Retrieves information about the specified target group.
|
ListAccessLogSubscriptionsResult |
listAccessLogSubscriptions(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest)
Lists all access log subscriptions for the specified service network or service.
|
ListListenersResult |
listListeners(ListListenersRequest listListenersRequest)
Lists the listeners for the specified service.
|
ListRulesResult |
listRules(ListRulesRequest listRulesRequest)
Lists the rules for the listener.
|
ListServiceNetworksResult |
listServiceNetworks(ListServiceNetworksRequest listServiceNetworksRequest)
Lists the service networks owned by the caller account or shared with the caller account.
|
ListServiceNetworkServiceAssociationsResult |
listServiceNetworkServiceAssociations(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest)
Lists the associations between the service network and the service.
|
ListServiceNetworkVpcAssociationsResult |
listServiceNetworkVpcAssociations(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest)
Lists the service network and VPC associations.
|
ListServicesResult |
listServices(ListServicesRequest listServicesRequest)
Lists the services owned by the caller account or shared with the caller account.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
|
ListTargetGroupsResult |
listTargetGroups(ListTargetGroupsRequest listTargetGroupsRequest)
Lists your target groups.
|
ListTargetsResult |
listTargets(ListTargetsRequest listTargetsRequest)
Lists the targets for the target group.
|
PutAuthPolicyResult |
putAuthPolicy(PutAuthPolicyRequest putAuthPolicyRequest)
Creates or updates the auth policy.
|
PutResourcePolicyResult |
putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Attaches a resource-based permission policy to a service or service network.
|
RegisterTargetsResult |
registerTargets(RegisterTargetsRequest registerTargetsRequest)
Registers the targets with the target group.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
|
UpdateAccessLogSubscriptionResult |
updateAccessLogSubscription(UpdateAccessLogSubscriptionRequest updateAccessLogSubscriptionRequest)
Updates the specified access log subscription.
|
UpdateListenerResult |
updateListener(UpdateListenerRequest updateListenerRequest)
Updates the specified listener for the specified service.
|
UpdateRuleResult |
updateRule(UpdateRuleRequest updateRuleRequest)
Updates a rule for the listener.
|
UpdateServiceResult |
updateService(UpdateServiceRequest updateServiceRequest)
Updates the specified service.
|
UpdateServiceNetworkResult |
updateServiceNetwork(UpdateServiceNetworkRequest updateServiceNetworkRequest)
Updates the specified service network.
|
UpdateServiceNetworkVpcAssociationResult |
updateServiceNetworkVpcAssociation(UpdateServiceNetworkVpcAssociationRequest updateServiceNetworkVpcAssociationRequest)
Updates the service network and VPC association.
|
UpdateTargetGroupResult |
updateTargetGroup(UpdateTargetGroupRequest updateTargetGroupRequest)
Updates the specified target group.
|
static final String ENDPOINT_PREFIX
BatchUpdateRuleResult batchUpdateRule(BatchUpdateRuleRequest batchUpdateRuleRequest)
Updates the listener rules in a batch. You can use this operation to change the priority of listener rules. This can be useful when bulk updating or swapping rule priority.
Required permissions: vpc-lattice:UpdateRule
For more information, see How Amazon VPC Lattice works with IAM in the Amazon VPC Lattice User Guide.
batchUpdateRuleRequest
- 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.CreateAccessLogSubscriptionResult createAccessLogSubscription(CreateAccessLogSubscriptionRequest createAccessLogSubscriptionRequest)
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner can only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. For more information, see Access logs in the Amazon VPC Lattice User Guide.
createAccessLogSubscriptionRequest
- 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.CreateListenerResult createListener(CreateListenerRequest createListenerRequest)
Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must add one or more listeners. A listener is a process that checks for connection requests to your services. For more information, see Listeners in the Amazon VPC Lattice User Guide.
createListenerRequest
- 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.CreateRuleResult createRule(CreateRuleRequest createRuleRequest)
Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see Listener rules in the Amazon VPC Lattice User Guide.
createRuleRequest
- 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.CreateServiceResult createService(CreateServiceRequest createServiceRequest)
Creates a service. A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
For more information, see Services in the Amazon VPC Lattice User Guide.
createServiceRequest
- 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.CreateServiceNetworkResult createServiceNetwork(CreateServiceNetworkRequest createServiceNetworkRequest)
Creates a service network. A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network.
For more information, see Service networks in the Amazon VPC Lattice User Guide.
createServiceNetworkRequest
- 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.CreateServiceNetworkServiceAssociationResult createServiceNetworkServiceAssociation(CreateServiceNetworkServiceAssociationRequest createServiceNetworkServiceAssociationRequest)
Associates a service with a service network. For more information, see Manage service associations in the Amazon VPC Lattice User Guide.
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
createServiceNetworkServiceAssociationRequest
- 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.CreateServiceNetworkVpcAssociationResult createServiceNetworkVpcAssociation(CreateServiceNetworkVpcAssociationRequest createServiceNetworkVpcAssociationRequest)
Associates a VPC with a service network. When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide.
You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.
As a result of this operation, the association gets created in the service network account and the VPC owner account.
If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.
createServiceNetworkVpcAssociationRequest
- 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.CreateTargetGroupResult createTargetGroup(CreateTargetGroupRequest createTargetGroupRequest)
Creates a target group. A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.
For more information, see Target groups in the Amazon VPC Lattice User Guide.
createTargetGroupRequest
- 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.DeleteAccessLogSubscriptionResult deleteAccessLogSubscription(DeleteAccessLogSubscriptionRequest deleteAccessLogSubscriptionRequest)
Deletes the specified access log subscription.
deleteAccessLogSubscriptionRequest
- 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.DeleteAuthPolicyResult deleteAuthPolicy(DeleteAuthPolicyRequest deleteAuthPolicyRequest)
Deletes the specified auth policy. If an auth is set to AWS_IAM
and the auth policy is deleted, all
requests are denied. If you are trying to remove the auth policy completely, you must set the auth type to
NONE
. If auth is enabled on the resource, but no auth policy is set, all requests are denied.
deleteAuthPolicyRequest
- 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.DeleteListenerResult deleteListener(DeleteListenerRequest deleteListenerRequest)
Deletes the specified listener.
deleteListenerRequest
- 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.DeleteResourcePolicyResult deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes the specified resource policy.
deleteResourcePolicyRequest
- 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.DeleteRuleResult deleteRule(DeleteRuleRequest deleteRuleRequest)
Deletes a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. You can delete additional listener rules, but you cannot delete the default rule.
For more information, see Listener rules in the Amazon VPC Lattice User Guide.
deleteRuleRequest
- 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.DeleteServiceResult deleteService(DeleteServiceRequest deleteServiceRequest)
Deletes a service. A service can't be deleted if it's associated with a service network. If you delete a service, all resources related to the service, such as the resource policy, auth policy, listeners, listener rules, and access log subscriptions, are also deleted. For more information, see Delete a service in the Amazon VPC Lattice User Guide.
deleteServiceRequest
- 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.DeleteServiceNetworkResult deleteServiceNetwork(DeleteServiceNetworkRequest deleteServiceNetworkRequest)
Deletes a service network. You can only delete the service network if there is no service or VPC associated with it. If you delete a service network, all resources related to the service network, such as the resource policy, auth policy, and access log subscriptions, are also deleted. For more information, see Delete a service network in the Amazon VPC Lattice User Guide.
deleteServiceNetworkRequest
- 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.DeleteServiceNetworkServiceAssociationResult deleteServiceNetworkServiceAssociation(DeleteServiceNetworkServiceAssociationRequest deleteServiceNetworkServiceAssociationRequest)
Deletes the association between a specified service and the specific service network. This operation fails if an association is still in progress.
deleteServiceNetworkServiceAssociationRequest
- 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.DeleteServiceNetworkVpcAssociationResult deleteServiceNetworkVpcAssociation(DeleteServiceNetworkVpcAssociationRequest deleteServiceNetworkVpcAssociationRequest)
Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
deleteServiceNetworkVpcAssociationRequest
- 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.DeleteTargetGroupResult deleteTargetGroup(DeleteTargetGroupRequest deleteTargetGroupRequest)
Deletes a target group. You can't delete a target group if it is used in a listener rule or if the target group creation is in progress.
deleteTargetGroupRequest
- 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.DeregisterTargetsResult deregisterTargets(DeregisterTargetsRequest deregisterTargetsRequest)
Deregisters the specified targets from the specified target group.
deregisterTargetsRequest
- 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.GetAccessLogSubscriptionResult getAccessLogSubscription(GetAccessLogSubscriptionRequest getAccessLogSubscriptionRequest)
Retrieves information about the specified access log subscription.
getAccessLogSubscriptionRequest
- 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.GetAuthPolicyResult getAuthPolicy(GetAuthPolicyRequest getAuthPolicyRequest)
Retrieves information about the auth policy for the specified service or service network.
getAuthPolicyRequest
- 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.GetListenerResult getListener(GetListenerRequest getListenerRequest)
Retrieves information about the specified listener for the specified service.
getListenerRequest
- 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.GetResourcePolicyResult getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Retrieves information about the resource policy. The resource policy is an IAM policy created on behalf of the resource owner when they share a resource.
getResourcePolicyRequest
- 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.GetRuleResult getRule(GetRuleRequest getRuleRequest)
Retrieves information about listener rules. You can also retrieve information about the default listener rule. For more information, see Listener rules in the Amazon VPC Lattice User Guide.
getRuleRequest
- 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.GetServiceResult getService(GetServiceRequest getServiceRequest)
Retrieves information about the specified service.
getServiceRequest
- 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.GetServiceNetworkResult getServiceNetwork(GetServiceNetworkRequest getServiceNetworkRequest)
Retrieves information about the specified service network.
getServiceNetworkRequest
- 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.GetServiceNetworkServiceAssociationResult getServiceNetworkServiceAssociation(GetServiceNetworkServiceAssociationRequest getServiceNetworkServiceAssociationRequest)
Retrieves information about the specified association between a service network and a service.
getServiceNetworkServiceAssociationRequest
- 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.GetServiceNetworkVpcAssociationResult getServiceNetworkVpcAssociation(GetServiceNetworkVpcAssociationRequest getServiceNetworkVpcAssociationRequest)
Retrieves information about the association between a service network and a VPC.
getServiceNetworkVpcAssociationRequest
- 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.GetTargetGroupResult getTargetGroup(GetTargetGroupRequest getTargetGroupRequest)
Retrieves information about the specified target group.
getTargetGroupRequest
- 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.ListAccessLogSubscriptionsResult listAccessLogSubscriptions(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest)
Lists all access log subscriptions for the specified service network or service.
listAccessLogSubscriptionsRequest
- 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.ListListenersResult listListeners(ListListenersRequest listListenersRequest)
Lists the listeners for the specified service.
listListenersRequest
- 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.ListRulesResult listRules(ListRulesRequest listRulesRequest)
Lists the rules for the listener.
listRulesRequest
- 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.ListServiceNetworkServiceAssociationsResult listServiceNetworkServiceAssociations(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest)
Lists the associations between the service network and the service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.
Every association in Amazon VPC Lattice is given a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource that is shared with another account, the association includes the local account ID as the prefix in the ARN for each account the resource is shared with.
listServiceNetworkServiceAssociationsRequest
- 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.ListServiceNetworkVpcAssociationsResult listServiceNetworkVpcAssociations(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest)
Lists the service network and VPC associations. You can filter the list either by VPC or service network. You must provide either the service network identifier or the VPC identifier.
listServiceNetworkVpcAssociationsRequest
- 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.ListServiceNetworksResult listServiceNetworks(ListServiceNetworksRequest listServiceNetworksRequest)
Lists the service networks owned by the caller account or shared with the caller account. Also includes the account ID in the ARN to show which account owns the service network.
listServiceNetworksRequest
- 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.ListServicesResult listServices(ListServicesRequest listServicesRequest)
Lists the services owned by the caller account or shared with the caller account.
listServicesRequest
- 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.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
listTagsForResourceRequest
- 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.ListTargetGroupsResult listTargetGroups(ListTargetGroupsRequest listTargetGroupsRequest)
Lists your target groups. You can narrow your search by using the filters below in your request.
listTargetGroupsRequest
- 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.ListTargetsResult listTargets(ListTargetsRequest listTargetsRequest)
Lists the targets for the target group. By default, all targets are included. You can use this API to check the health status of targets. You can also filter the results by target.
listTargetsRequest
- 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.PutAuthPolicyResult putAuthPolicy(PutAuthPolicyRequest putAuthPolicyRequest)
Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines.
For more information, see Auth policies in the Amazon VPC Lattice User Guide.
putAuthPolicyRequest
- 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.PutResourcePolicyResult putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Attaches a resource-based permission policy to a service or service network. The policy must contain the same actions and condition statements as the Amazon Web Services Resource Access Manager permission for sharing services and service networks.
putResourcePolicyRequest
- 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.RegisterTargetsResult registerTargets(RegisterTargetsRequest registerTargetsRequest)
Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
registerTargetsRequest
- 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.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
tagResourceRequest
- 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.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
untagResourceRequest
- 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.UpdateAccessLogSubscriptionResult updateAccessLogSubscription(UpdateAccessLogSubscriptionRequest updateAccessLogSubscriptionRequest)
Updates the specified access log subscription.
updateAccessLogSubscriptionRequest
- 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.UpdateListenerResult updateListener(UpdateListenerRequest updateListenerRequest)
Updates the specified listener for the specified service.
updateListenerRequest
- 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.UpdateRuleResult updateRule(UpdateRuleRequest updateRuleRequest)
Updates a rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use
UpdateListener
.
updateRuleRequest
- 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.UpdateServiceResult updateService(UpdateServiceRequest updateServiceRequest)
Updates the specified service.
updateServiceRequest
- 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.UpdateServiceNetworkResult updateServiceNetwork(UpdateServiceNetworkRequest updateServiceNetworkRequest)
Updates the specified service network.
updateServiceNetworkRequest
- 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.UpdateServiceNetworkVpcAssociationResult updateServiceNetworkVpcAssociation(UpdateServiceNetworkVpcAssociationRequest updateServiceNetworkVpcAssociationRequest)
Updates the service network and VPC association. If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.
updateServiceNetworkVpcAssociationRequest
- 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.UpdateTargetGroupResult updateTargetGroup(UpdateTargetGroupRequest updateTargetGroupRequest)
Updates the specified target group.
updateTargetGroupRequest
- 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.void shutdown()
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 a request.
request
- The originally executed request.