@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface VpcLatticeClient extends AwsClient
builder() method.
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 |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default BatchUpdateRuleResponse |
batchUpdateRule(BatchUpdateRuleRequest batchUpdateRuleRequest)
Updates the listener rules in a batch.
|
default BatchUpdateRuleResponse |
batchUpdateRule(Consumer<BatchUpdateRuleRequest.Builder> batchUpdateRuleRequest)
Updates the listener rules in a batch.
|
static VpcLatticeClientBuilder |
builder()
Create a builder that can be used to configure and create a
VpcLatticeClient. |
static VpcLatticeClient |
create()
Create a
VpcLatticeClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateAccessLogSubscriptionResponse |
createAccessLogSubscription(Consumer<CreateAccessLogSubscriptionRequest.Builder> createAccessLogSubscriptionRequest)
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose.
|
default CreateAccessLogSubscriptionResponse |
createAccessLogSubscription(CreateAccessLogSubscriptionRequest createAccessLogSubscriptionRequest)
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose.
|
default CreateListenerResponse |
createListener(Consumer<CreateListenerRequest.Builder> createListenerRequest)
Creates a listener for a service.
|
default CreateListenerResponse |
createListener(CreateListenerRequest createListenerRequest)
Creates a listener for a service.
|
default CreateRuleResponse |
createRule(Consumer<CreateRuleRequest.Builder> createRuleRequest)
Creates a listener rule.
|
default CreateRuleResponse |
createRule(CreateRuleRequest createRuleRequest)
Creates a listener rule.
|
default CreateServiceResponse |
createService(Consumer<CreateServiceRequest.Builder> createServiceRequest)
Creates a service.
|
default CreateServiceResponse |
createService(CreateServiceRequest createServiceRequest)
Creates a service.
|
default CreateServiceNetworkResponse |
createServiceNetwork(Consumer<CreateServiceNetworkRequest.Builder> createServiceNetworkRequest)
Creates a service network.
|
default CreateServiceNetworkResponse |
createServiceNetwork(CreateServiceNetworkRequest createServiceNetworkRequest)
Creates a service network.
|
default CreateServiceNetworkServiceAssociationResponse |
createServiceNetworkServiceAssociation(Consumer<CreateServiceNetworkServiceAssociationRequest.Builder> createServiceNetworkServiceAssociationRequest)
Associates a service with a service network.
|
default CreateServiceNetworkServiceAssociationResponse |
createServiceNetworkServiceAssociation(CreateServiceNetworkServiceAssociationRequest createServiceNetworkServiceAssociationRequest)
Associates a service with a service network.
|
default CreateServiceNetworkVpcAssociationResponse |
createServiceNetworkVpcAssociation(Consumer<CreateServiceNetworkVpcAssociationRequest.Builder> createServiceNetworkVpcAssociationRequest)
Associates a VPC with a service network.
|
default CreateServiceNetworkVpcAssociationResponse |
createServiceNetworkVpcAssociation(CreateServiceNetworkVpcAssociationRequest createServiceNetworkVpcAssociationRequest)
Associates a VPC with a service network.
|
default CreateTargetGroupResponse |
createTargetGroup(Consumer<CreateTargetGroupRequest.Builder> createTargetGroupRequest)
Creates a target group.
|
default CreateTargetGroupResponse |
createTargetGroup(CreateTargetGroupRequest createTargetGroupRequest)
Creates a target group.
|
default DeleteAccessLogSubscriptionResponse |
deleteAccessLogSubscription(Consumer<DeleteAccessLogSubscriptionRequest.Builder> deleteAccessLogSubscriptionRequest)
Deletes the specified access log subscription.
|
default DeleteAccessLogSubscriptionResponse |
deleteAccessLogSubscription(DeleteAccessLogSubscriptionRequest deleteAccessLogSubscriptionRequest)
Deletes the specified access log subscription.
|
default DeleteAuthPolicyResponse |
deleteAuthPolicy(Consumer<DeleteAuthPolicyRequest.Builder> deleteAuthPolicyRequest)
Deletes the specified auth policy.
|
default DeleteAuthPolicyResponse |
deleteAuthPolicy(DeleteAuthPolicyRequest deleteAuthPolicyRequest)
Deletes the specified auth policy.
|
default DeleteListenerResponse |
deleteListener(Consumer<DeleteListenerRequest.Builder> deleteListenerRequest)
Deletes the specified listener.
|
default DeleteListenerResponse |
deleteListener(DeleteListenerRequest deleteListenerRequest)
Deletes the specified listener.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Deletes the specified resource policy.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes the specified resource policy.
|
default DeleteRuleResponse |
deleteRule(Consumer<DeleteRuleRequest.Builder> deleteRuleRequest)
Deletes a listener rule.
|
default DeleteRuleResponse |
deleteRule(DeleteRuleRequest deleteRuleRequest)
Deletes a listener rule.
|
default DeleteServiceResponse |
deleteService(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest)
Deletes a service.
|
default DeleteServiceResponse |
deleteService(DeleteServiceRequest deleteServiceRequest)
Deletes a service.
|
default DeleteServiceNetworkResponse |
deleteServiceNetwork(Consumer<DeleteServiceNetworkRequest.Builder> deleteServiceNetworkRequest)
Deletes a service network.
|
default DeleteServiceNetworkResponse |
deleteServiceNetwork(DeleteServiceNetworkRequest deleteServiceNetworkRequest)
Deletes a service network.
|
default DeleteServiceNetworkServiceAssociationResponse |
deleteServiceNetworkServiceAssociation(Consumer<DeleteServiceNetworkServiceAssociationRequest.Builder> deleteServiceNetworkServiceAssociationRequest)
Deletes the association between a specified service and the specific service network.
|
default DeleteServiceNetworkServiceAssociationResponse |
deleteServiceNetworkServiceAssociation(DeleteServiceNetworkServiceAssociationRequest deleteServiceNetworkServiceAssociationRequest)
Deletes the association between a specified service and the specific service network.
|
default DeleteServiceNetworkVpcAssociationResponse |
deleteServiceNetworkVpcAssociation(Consumer<DeleteServiceNetworkVpcAssociationRequest.Builder> deleteServiceNetworkVpcAssociationRequest)
Disassociates the VPC from the service network.
|
default DeleteServiceNetworkVpcAssociationResponse |
deleteServiceNetworkVpcAssociation(DeleteServiceNetworkVpcAssociationRequest deleteServiceNetworkVpcAssociationRequest)
Disassociates the VPC from the service network.
|
default DeleteTargetGroupResponse |
deleteTargetGroup(Consumer<DeleteTargetGroupRequest.Builder> deleteTargetGroupRequest)
Deletes a target group.
|
default DeleteTargetGroupResponse |
deleteTargetGroup(DeleteTargetGroupRequest deleteTargetGroupRequest)
Deletes a target group.
|
default DeregisterTargetsResponse |
deregisterTargets(Consumer<DeregisterTargetsRequest.Builder> deregisterTargetsRequest)
Deregisters the specified targets from the specified target group.
|
default DeregisterTargetsResponse |
deregisterTargets(DeregisterTargetsRequest deregisterTargetsRequest)
Deregisters the specified targets from the specified target group.
|
default GetAccessLogSubscriptionResponse |
getAccessLogSubscription(Consumer<GetAccessLogSubscriptionRequest.Builder> getAccessLogSubscriptionRequest)
Retrieves information about the specified access log subscription.
|
default GetAccessLogSubscriptionResponse |
getAccessLogSubscription(GetAccessLogSubscriptionRequest getAccessLogSubscriptionRequest)
Retrieves information about the specified access log subscription.
|
default GetAuthPolicyResponse |
getAuthPolicy(Consumer<GetAuthPolicyRequest.Builder> getAuthPolicyRequest)
Retrieves information about the auth policy for the specified service or service network.
|
default GetAuthPolicyResponse |
getAuthPolicy(GetAuthPolicyRequest getAuthPolicyRequest)
Retrieves information about the auth policy for the specified service or service network.
|
default GetListenerResponse |
getListener(Consumer<GetListenerRequest.Builder> getListenerRequest)
Retrieves information about the specified listener for the specified service.
|
default GetListenerResponse |
getListener(GetListenerRequest getListenerRequest)
Retrieves information about the specified listener for the specified service.
|
default GetResourcePolicyResponse |
getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)
Retrieves information about the resource policy.
|
default GetResourcePolicyResponse |
getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Retrieves information about the resource policy.
|
default GetRuleResponse |
getRule(Consumer<GetRuleRequest.Builder> getRuleRequest)
Retrieves information about listener rules.
|
default GetRuleResponse |
getRule(GetRuleRequest getRuleRequest)
Retrieves information about listener rules.
|
default GetServiceResponse |
getService(Consumer<GetServiceRequest.Builder> getServiceRequest)
Retrieves information about the specified service.
|
default GetServiceResponse |
getService(GetServiceRequest getServiceRequest)
Retrieves information about the specified service.
|
default GetServiceNetworkResponse |
getServiceNetwork(Consumer<GetServiceNetworkRequest.Builder> getServiceNetworkRequest)
Retrieves information about the specified service network.
|
default GetServiceNetworkResponse |
getServiceNetwork(GetServiceNetworkRequest getServiceNetworkRequest)
Retrieves information about the specified service network.
|
default GetServiceNetworkServiceAssociationResponse |
getServiceNetworkServiceAssociation(Consumer<GetServiceNetworkServiceAssociationRequest.Builder> getServiceNetworkServiceAssociationRequest)
Retrieves information about the specified association between a service network and a service.
|
default GetServiceNetworkServiceAssociationResponse |
getServiceNetworkServiceAssociation(GetServiceNetworkServiceAssociationRequest getServiceNetworkServiceAssociationRequest)
Retrieves information about the specified association between a service network and a service.
|
default GetServiceNetworkVpcAssociationResponse |
getServiceNetworkVpcAssociation(Consumer<GetServiceNetworkVpcAssociationRequest.Builder> getServiceNetworkVpcAssociationRequest)
Retrieves information about the association between a service network and a VPC.
|
default GetServiceNetworkVpcAssociationResponse |
getServiceNetworkVpcAssociation(GetServiceNetworkVpcAssociationRequest getServiceNetworkVpcAssociationRequest)
Retrieves information about the association between a service network and a VPC.
|
default GetTargetGroupResponse |
getTargetGroup(Consumer<GetTargetGroupRequest.Builder> getTargetGroupRequest)
Retrieves information about the specified target group.
|
default GetTargetGroupResponse |
getTargetGroup(GetTargetGroupRequest getTargetGroupRequest)
Retrieves information about the specified target group.
|
default ListAccessLogSubscriptionsResponse |
listAccessLogSubscriptions(Consumer<ListAccessLogSubscriptionsRequest.Builder> listAccessLogSubscriptionsRequest)
Lists all access log subscriptions for the specified service network or service.
|
default ListAccessLogSubscriptionsResponse |
listAccessLogSubscriptions(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest)
Lists all access log subscriptions for the specified service network or service.
|
default ListAccessLogSubscriptionsIterable |
listAccessLogSubscriptionsPaginator(Consumer<ListAccessLogSubscriptionsRequest.Builder> listAccessLogSubscriptionsRequest)
Lists all access log subscriptions for the specified service network or service.
|
default ListAccessLogSubscriptionsIterable |
listAccessLogSubscriptionsPaginator(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest)
Lists all access log subscriptions for the specified service network or service.
|
default ListListenersResponse |
listListeners(Consumer<ListListenersRequest.Builder> listListenersRequest)
Lists the listeners for the specified service.
|
default ListListenersResponse |
listListeners(ListListenersRequest listListenersRequest)
Lists the listeners for the specified service.
|
default ListListenersIterable |
listListenersPaginator(Consumer<ListListenersRequest.Builder> listListenersRequest)
Lists the listeners for the specified service.
|
default ListListenersIterable |
listListenersPaginator(ListListenersRequest listListenersRequest)
Lists the listeners for the specified service.
|
default ListRulesResponse |
listRules(Consumer<ListRulesRequest.Builder> listRulesRequest)
Lists the rules for the listener.
|
default ListRulesResponse |
listRules(ListRulesRequest listRulesRequest)
Lists the rules for the listener.
|
default ListRulesIterable |
listRulesPaginator(Consumer<ListRulesRequest.Builder> listRulesRequest)
Lists the rules for the listener.
|
default ListRulesIterable |
listRulesPaginator(ListRulesRequest listRulesRequest)
Lists the rules for the listener.
|
default ListServiceNetworksResponse |
listServiceNetworks(Consumer<ListServiceNetworksRequest.Builder> listServiceNetworksRequest)
Lists the service networks owned by the caller account or shared with the caller account.
|
default ListServiceNetworksResponse |
listServiceNetworks(ListServiceNetworksRequest listServiceNetworksRequest)
Lists the service networks owned by the caller account or shared with the caller account.
|
default ListServiceNetworkServiceAssociationsResponse |
listServiceNetworkServiceAssociations(Consumer<ListServiceNetworkServiceAssociationsRequest.Builder> listServiceNetworkServiceAssociationsRequest)
Lists the associations between the service network and the service.
|
default ListServiceNetworkServiceAssociationsResponse |
listServiceNetworkServiceAssociations(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest)
Lists the associations between the service network and the service.
|
default ListServiceNetworkServiceAssociationsIterable |
listServiceNetworkServiceAssociationsPaginator(Consumer<ListServiceNetworkServiceAssociationsRequest.Builder> listServiceNetworkServiceAssociationsRequest)
Lists the associations between the service network and the service.
|
default ListServiceNetworkServiceAssociationsIterable |
listServiceNetworkServiceAssociationsPaginator(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest)
Lists the associations between the service network and the service.
|
default ListServiceNetworksIterable |
listServiceNetworksPaginator(Consumer<ListServiceNetworksRequest.Builder> listServiceNetworksRequest)
Lists the service networks owned by the caller account or shared with the caller account.
|
default ListServiceNetworksIterable |
listServiceNetworksPaginator(ListServiceNetworksRequest listServiceNetworksRequest)
Lists the service networks owned by the caller account or shared with the caller account.
|
default ListServiceNetworkVpcAssociationsResponse |
listServiceNetworkVpcAssociations(Consumer<ListServiceNetworkVpcAssociationsRequest.Builder> listServiceNetworkVpcAssociationsRequest)
Lists the service network and VPC associations.
|
default ListServiceNetworkVpcAssociationsResponse |
listServiceNetworkVpcAssociations(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest)
Lists the service network and VPC associations.
|
default ListServiceNetworkVpcAssociationsIterable |
listServiceNetworkVpcAssociationsPaginator(Consumer<ListServiceNetworkVpcAssociationsRequest.Builder> listServiceNetworkVpcAssociationsRequest)
Lists the service network and VPC associations.
|
default ListServiceNetworkVpcAssociationsIterable |
listServiceNetworkVpcAssociationsPaginator(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest)
Lists the service network and VPC associations.
|
default ListServicesResponse |
listServices(Consumer<ListServicesRequest.Builder> listServicesRequest)
Lists the services owned by the caller account or shared with the caller account.
|
default ListServicesResponse |
listServices(ListServicesRequest listServicesRequest)
Lists the services owned by the caller account or shared with the caller account.
|
default ListServicesIterable |
listServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest)
Lists the services owned by the caller account or shared with the caller account.
|
default ListServicesIterable |
listServicesPaginator(ListServicesRequest listServicesRequest)
Lists the services owned by the caller account or shared with the caller account.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for the specified resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
|
default ListTargetGroupsResponse |
listTargetGroups(Consumer<ListTargetGroupsRequest.Builder> listTargetGroupsRequest)
Lists your target groups.
|
default ListTargetGroupsResponse |
listTargetGroups(ListTargetGroupsRequest listTargetGroupsRequest)
Lists your target groups.
|
default ListTargetGroupsIterable |
listTargetGroupsPaginator(Consumer<ListTargetGroupsRequest.Builder> listTargetGroupsRequest)
Lists your target groups.
|
default ListTargetGroupsIterable |
listTargetGroupsPaginator(ListTargetGroupsRequest listTargetGroupsRequest)
Lists your target groups.
|
default ListTargetsResponse |
listTargets(Consumer<ListTargetsRequest.Builder> listTargetsRequest)
Lists the targets for the target group.
|
default ListTargetsResponse |
listTargets(ListTargetsRequest listTargetsRequest)
Lists the targets for the target group.
|
default ListTargetsIterable |
listTargetsPaginator(Consumer<ListTargetsRequest.Builder> listTargetsRequest)
Lists the targets for the target group.
|
default ListTargetsIterable |
listTargetsPaginator(ListTargetsRequest listTargetsRequest)
Lists the targets for the target group.
|
default PutAuthPolicyResponse |
putAuthPolicy(Consumer<PutAuthPolicyRequest.Builder> putAuthPolicyRequest)
Creates or updates the auth policy.
|
default PutAuthPolicyResponse |
putAuthPolicy(PutAuthPolicyRequest putAuthPolicyRequest)
Creates or updates the auth policy.
|
default PutResourcePolicyResponse |
putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)
Attaches a resource-based permission policy to a service or service network.
|
default PutResourcePolicyResponse |
putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Attaches a resource-based permission policy to a service or service network.
|
default RegisterTargetsResponse |
registerTargets(Consumer<RegisterTargetsRequest.Builder> registerTargetsRequest)
Registers the targets with the target group.
|
default RegisterTargetsResponse |
registerTargets(RegisterTargetsRequest registerTargetsRequest)
Registers the targets with the target group.
|
default VpcLatticeServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds the specified tags to the specified resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the specified tags from the specified resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
|
default UpdateAccessLogSubscriptionResponse |
updateAccessLogSubscription(Consumer<UpdateAccessLogSubscriptionRequest.Builder> updateAccessLogSubscriptionRequest)
Updates the specified access log subscription.
|
default UpdateAccessLogSubscriptionResponse |
updateAccessLogSubscription(UpdateAccessLogSubscriptionRequest updateAccessLogSubscriptionRequest)
Updates the specified access log subscription.
|
default UpdateListenerResponse |
updateListener(Consumer<UpdateListenerRequest.Builder> updateListenerRequest)
Updates the specified listener for the specified service.
|
default UpdateListenerResponse |
updateListener(UpdateListenerRequest updateListenerRequest)
Updates the specified listener for the specified service.
|
default UpdateRuleResponse |
updateRule(Consumer<UpdateRuleRequest.Builder> updateRuleRequest)
Updates a rule for the listener.
|
default UpdateRuleResponse |
updateRule(UpdateRuleRequest updateRuleRequest)
Updates a rule for the listener.
|
default UpdateServiceResponse |
updateService(Consumer<UpdateServiceRequest.Builder> updateServiceRequest)
Updates the specified service.
|
default UpdateServiceResponse |
updateService(UpdateServiceRequest updateServiceRequest)
Updates the specified service.
|
default UpdateServiceNetworkResponse |
updateServiceNetwork(Consumer<UpdateServiceNetworkRequest.Builder> updateServiceNetworkRequest)
Updates the specified service network.
|
default UpdateServiceNetworkResponse |
updateServiceNetwork(UpdateServiceNetworkRequest updateServiceNetworkRequest)
Updates the specified service network.
|
default UpdateServiceNetworkVpcAssociationResponse |
updateServiceNetworkVpcAssociation(Consumer<UpdateServiceNetworkVpcAssociationRequest.Builder> updateServiceNetworkVpcAssociationRequest)
Updates the service network and VPC association.
|
default UpdateServiceNetworkVpcAssociationResponse |
updateServiceNetworkVpcAssociation(UpdateServiceNetworkVpcAssociationRequest updateServiceNetworkVpcAssociationRequest)
Updates the service network and VPC association.
|
default UpdateTargetGroupResponse |
updateTargetGroup(Consumer<UpdateTargetGroupRequest.Builder> updateTargetGroupRequest)
Updates the specified target group.
|
default UpdateTargetGroupResponse |
updateTargetGroup(UpdateTargetGroupRequest updateTargetGroupRequest)
Updates the specified target group.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default BatchUpdateRuleResponse batchUpdateRule(BatchUpdateRuleRequest batchUpdateRuleRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchUpdateRuleResponse batchUpdateRule(Consumer<BatchUpdateRuleRequest.Builder> batchUpdateRuleRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the BatchUpdateRuleRequest.Builder avoiding the need
to create one manually via BatchUpdateRuleRequest.builder()
batchUpdateRuleRequest - A Consumer that will call methods on
BatchUpdateRuleRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAccessLogSubscriptionResponse createAccessLogSubscription(CreateAccessLogSubscriptionRequest createAccessLogSubscriptionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner will only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. For more information, see Access logs in the Amazon VPC Lattice User Guide.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAccessLogSubscriptionResponse createAccessLogSubscription(Consumer<CreateAccessLogSubscriptionRequest.Builder> createAccessLogSubscriptionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner will only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. For more information, see Access logs in the Amazon VPC Lattice User Guide.
This is a convenience which creates an instance of the CreateAccessLogSubscriptionRequest.Builder
avoiding the need to create one manually via CreateAccessLogSubscriptionRequest.builder()
createAccessLogSubscriptionRequest - A Consumer that will call methods on
CreateAccessLogSubscriptionRequest.Builder to
create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateListenerResponse createListener(CreateListenerRequest createListenerRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateListenerResponse createListener(Consumer<CreateListenerRequest.Builder> createListenerRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the CreateListenerRequest.Builder avoiding the need to
create one manually via CreateListenerRequest.builder()
createListenerRequest - A Consumer that will call methods on
CreateListenerRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateRuleResponse createRule(CreateRuleRequest createRuleRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateRuleResponse createRule(Consumer<CreateRuleRequest.Builder> createRuleRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the CreateRuleRequest.Builder avoiding the need to
create one manually via CreateRuleRequest.builder()
createRuleRequest - A Consumer that will call methods on
CreateRuleRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServiceResponse createService(CreateServiceRequest createServiceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServiceResponse createService(Consumer<CreateServiceRequest.Builder> createServiceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the CreateServiceRequest.Builder avoiding the need to
create one manually via CreateServiceRequest.builder()
createServiceRequest - A Consumer that will call methods on
CreateServiceRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServiceNetworkResponse createServiceNetwork(CreateServiceNetworkRequest createServiceNetworkRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServiceNetworkResponse createServiceNetwork(Consumer<CreateServiceNetworkRequest.Builder> createServiceNetworkRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the CreateServiceNetworkRequest.Builder avoiding the
need to create one manually via CreateServiceNetworkRequest.builder()
createServiceNetworkRequest - A Consumer that will call methods on
CreateServiceNetworkRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServiceNetworkServiceAssociationResponse createServiceNetworkServiceAssociation(CreateServiceNetworkServiceAssociationRequest createServiceNetworkServiceAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Associates a service with a service network.
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServiceNetworkServiceAssociationResponse createServiceNetworkServiceAssociation(Consumer<CreateServiceNetworkServiceAssociationRequest.Builder> createServiceNetworkServiceAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Associates a service with a service network.
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
This is a convenience which creates an instance of the
CreateServiceNetworkServiceAssociationRequest.Builder avoiding the need to create one manually via
CreateServiceNetworkServiceAssociationRequest.builder()
createServiceNetworkServiceAssociationRequest - A Consumer that will call methods on
CreateServiceNetworkServiceAssociationRequest.Builder
to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServiceNetworkVpcAssociationResponse createServiceNetworkVpcAssociation(CreateServiceNetworkVpcAssociationRequest createServiceNetworkVpcAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
Once a security group is added to the VPC association it cannot be removed. You can add or update the security groups being used for the VPC association once a security group is attached. To remove all security groups you must reassociate the VPC.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServiceNetworkVpcAssociationResponse createServiceNetworkVpcAssociation(Consumer<CreateServiceNetworkVpcAssociationRequest.Builder> createServiceNetworkVpcAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
Once a security group is added to the VPC association it cannot be removed. You can add or update the security groups being used for the VPC association once a security group is attached. To remove all security groups you must reassociate the VPC.
This is a convenience which creates an instance of the CreateServiceNetworkVpcAssociationRequest.Builder
avoiding the need to create one manually via CreateServiceNetworkVpcAssociationRequest.builder()
createServiceNetworkVpcAssociationRequest - A Consumer that will call methods on
CreateServiceNetworkVpcAssociationRequest.Builder
to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTargetGroupResponse createTargetGroup(CreateTargetGroupRequest createTargetGroupRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTargetGroupResponse createTargetGroup(Consumer<CreateTargetGroupRequest.Builder> createTargetGroupRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the CreateTargetGroupRequest.Builder avoiding the need
to create one manually via CreateTargetGroupRequest.builder()
createTargetGroupRequest - A Consumer that will call methods on
CreateTargetGroupRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAccessLogSubscriptionResponse deleteAccessLogSubscription(DeleteAccessLogSubscriptionRequest deleteAccessLogSubscriptionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAccessLogSubscriptionResponse deleteAccessLogSubscription(Consumer<DeleteAccessLogSubscriptionRequest.Builder> deleteAccessLogSubscriptionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Deletes the specified access log subscription.
This is a convenience which creates an instance of the DeleteAccessLogSubscriptionRequest.Builder
avoiding the need to create one manually via DeleteAccessLogSubscriptionRequest.builder()
deleteAccessLogSubscriptionRequest - A Consumer that will call methods on
DeleteAccessLogSubscriptionRequest.Builder to
create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAuthPolicyResponse deleteAuthPolicy(DeleteAuthPolicyRequest deleteAuthPolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Deletes the specified auth policy. If an auth is set to Amazon Web Services_IAM and the auth policy
is deleted, all requests will be denied by default. If you are trying to remove the auth policy completely, you
must set the auth_type to NONE. If auth is enabled on the resource, but no auth policy is set, all
requests will be denied.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAuthPolicyResponse deleteAuthPolicy(Consumer<DeleteAuthPolicyRequest.Builder> deleteAuthPolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Deletes the specified auth policy. If an auth is set to Amazon Web Services_IAM and the auth policy
is deleted, all requests will be denied by default. If you are trying to remove the auth policy completely, you
must set the auth_type to NONE. If auth is enabled on the resource, but no auth policy is set, all
requests will be denied.
This is a convenience which creates an instance of the DeleteAuthPolicyRequest.Builder avoiding the need
to create one manually via DeleteAuthPolicyRequest.builder()
deleteAuthPolicyRequest - A Consumer that will call methods on
DeleteAuthPolicyRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteListenerResponse deleteListener(DeleteListenerRequest deleteListenerRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteListenerResponse deleteListener(Consumer<DeleteListenerRequest.Builder> deleteListenerRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Deletes the specified listener.
This is a convenience which creates an instance of the DeleteListenerRequest.Builder avoiding the need to
create one manually via DeleteListenerRequest.builder()
deleteListenerRequest - A Consumer that will call methods on
DeleteListenerRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Deletes the specified resource policy.
This is a convenience which creates an instance of the DeleteResourcePolicyRequest.Builder avoiding the
need to create one manually via DeleteResourcePolicyRequest.builder()
deleteResourcePolicyRequest - A Consumer that will call methods on
DeleteResourcePolicyRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteRuleResponse deleteRule(DeleteRuleRequest deleteRuleRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteRuleResponse deleteRule(Consumer<DeleteRuleRequest.Builder> deleteRuleRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the DeleteRuleRequest.Builder avoiding the need to
create one manually via DeleteRuleRequest.builder()
deleteRuleRequest - A Consumer that will call methods on
DeleteRuleRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServiceResponse deleteService(DeleteServiceRequest deleteServiceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServiceResponse deleteService(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the DeleteServiceRequest.Builder avoiding the need to
create one manually via DeleteServiceRequest.builder()
deleteServiceRequest - A Consumer that will call methods on
DeleteServiceRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServiceNetworkResponse deleteServiceNetwork(DeleteServiceNetworkRequest deleteServiceNetworkRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServiceNetworkResponse deleteServiceNetwork(Consumer<DeleteServiceNetworkRequest.Builder> deleteServiceNetworkRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the DeleteServiceNetworkRequest.Builder avoiding the
need to create one manually via DeleteServiceNetworkRequest.builder()
deleteServiceNetworkRequest - A Consumer that will call methods on
DeleteServiceNetworkRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServiceNetworkServiceAssociationResponse deleteServiceNetworkServiceAssociation(DeleteServiceNetworkServiceAssociationRequest deleteServiceNetworkServiceAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Deletes the association between a specified service and the specific service network. This request will fail 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServiceNetworkServiceAssociationResponse deleteServiceNetworkServiceAssociation(Consumer<DeleteServiceNetworkServiceAssociationRequest.Builder> deleteServiceNetworkServiceAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Deletes the association between a specified service and the specific service network. This request will fail if an association is still in progress.
This is a convenience which creates an instance of the
DeleteServiceNetworkServiceAssociationRequest.Builder avoiding the need to create one manually via
DeleteServiceNetworkServiceAssociationRequest.builder()
deleteServiceNetworkServiceAssociationRequest - A Consumer that will call methods on
DeleteServiceNetworkServiceAssociationRequest.Builder
to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServiceNetworkVpcAssociationResponse deleteServiceNetworkVpcAssociation(DeleteServiceNetworkVpcAssociationRequest deleteServiceNetworkVpcAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServiceNetworkVpcAssociationResponse deleteServiceNetworkVpcAssociation(Consumer<DeleteServiceNetworkVpcAssociationRequest.Builder> deleteServiceNetworkVpcAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
This is a convenience which creates an instance of the DeleteServiceNetworkVpcAssociationRequest.Builder
avoiding the need to create one manually via DeleteServiceNetworkVpcAssociationRequest.builder()
deleteServiceNetworkVpcAssociationRequest - A Consumer that will call methods on
DeleteServiceNetworkVpcAssociationRequest.Builder
to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTargetGroupResponse deleteTargetGroup(DeleteTargetGroupRequest deleteTargetGroupRequest) throws ValidationException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTargetGroupResponse deleteTargetGroup(Consumer<DeleteTargetGroupRequest.Builder> deleteTargetGroupRequest) throws ValidationException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the DeleteTargetGroupRequest.Builder avoiding the need
to create one manually via DeleteTargetGroupRequest.builder()
deleteTargetGroupRequest - A Consumer that will call methods on
DeleteTargetGroupRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeregisterTargetsResponse deregisterTargets(DeregisterTargetsRequest deregisterTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeregisterTargetsResponse deregisterTargets(Consumer<DeregisterTargetsRequest.Builder> deregisterTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Deregisters the specified targets from the specified target group.
This is a convenience which creates an instance of the DeregisterTargetsRequest.Builder avoiding the need
to create one manually via DeregisterTargetsRequest.builder()
deregisterTargetsRequest - A Consumer that will call methods on
DeregisterTargetsRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAccessLogSubscriptionResponse getAccessLogSubscription(GetAccessLogSubscriptionRequest getAccessLogSubscriptionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAccessLogSubscriptionResponse getAccessLogSubscription(Consumer<GetAccessLogSubscriptionRequest.Builder> getAccessLogSubscriptionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Retrieves information about the specified access log subscription.
This is a convenience which creates an instance of the GetAccessLogSubscriptionRequest.Builder avoiding
the need to create one manually via GetAccessLogSubscriptionRequest.builder()
getAccessLogSubscriptionRequest - A Consumer that will call methods on
GetAccessLogSubscriptionRequest.Builder to create
a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAuthPolicyResponse getAuthPolicy(GetAuthPolicyRequest getAuthPolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAuthPolicyResponse getAuthPolicy(Consumer<GetAuthPolicyRequest.Builder> getAuthPolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Retrieves information about the auth policy for the specified service or service network.
This is a convenience which creates an instance of the GetAuthPolicyRequest.Builder avoiding the need to
create one manually via GetAuthPolicyRequest.builder()
getAuthPolicyRequest - A Consumer that will call methods on
GetAuthPolicyRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetListenerResponse getListener(GetListenerRequest getListenerRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetListenerResponse getListener(Consumer<GetListenerRequest.Builder> getListenerRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Retrieves information about the specified listener for the specified service.
This is a convenience which creates an instance of the GetListenerRequest.Builder avoiding the need to
create one manually via GetListenerRequest.builder()
getListenerRequest - A Consumer that will call methods on
GetListenerRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Retrieves information about the resource policy. The resource policy is an IAM policy created by AWS RAM 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Retrieves information about the resource policy. The resource policy is an IAM policy created by AWS RAM on behalf of the resource owner when they share a resource.
This is a convenience which creates an instance of the GetResourcePolicyRequest.Builder avoiding the need
to create one manually via GetResourcePolicyRequest.builder()
getResourcePolicyRequest - A Consumer that will call methods on
GetResourcePolicyRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetRuleResponse getRule(GetRuleRequest getRuleRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetRuleResponse getRule(Consumer<GetRuleRequest.Builder> getRuleRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the GetRuleRequest.Builder avoiding the need to create
one manually via GetRuleRequest.builder()
getRuleRequest - A Consumer that will call methods on
GetRuleRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetServiceResponse getService(GetServiceRequest getServiceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetServiceResponse getService(Consumer<GetServiceRequest.Builder> getServiceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Retrieves information about the specified service.
This is a convenience which creates an instance of the GetServiceRequest.Builder avoiding the need to
create one manually via GetServiceRequest.builder()
getServiceRequest - A Consumer that will call methods on
GetServiceRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetServiceNetworkResponse getServiceNetwork(GetServiceNetworkRequest getServiceNetworkRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetServiceNetworkResponse getServiceNetwork(Consumer<GetServiceNetworkRequest.Builder> getServiceNetworkRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Retrieves information about the specified service network.
This is a convenience which creates an instance of the GetServiceNetworkRequest.Builder avoiding the need
to create one manually via GetServiceNetworkRequest.builder()
getServiceNetworkRequest - A Consumer that will call methods on
GetServiceNetworkRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetServiceNetworkServiceAssociationResponse getServiceNetworkServiceAssociation(GetServiceNetworkServiceAssociationRequest getServiceNetworkServiceAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetServiceNetworkServiceAssociationResponse getServiceNetworkServiceAssociation(Consumer<GetServiceNetworkServiceAssociationRequest.Builder> getServiceNetworkServiceAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Retrieves information about the specified association between a service network and a service.
This is a convenience which creates an instance of the GetServiceNetworkServiceAssociationRequest.Builder
avoiding the need to create one manually via GetServiceNetworkServiceAssociationRequest.builder()
getServiceNetworkServiceAssociationRequest - A Consumer that will call methods on
GetServiceNetworkServiceAssociationRequest.Builder
to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetServiceNetworkVpcAssociationResponse getServiceNetworkVpcAssociation(GetServiceNetworkVpcAssociationRequest getServiceNetworkVpcAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetServiceNetworkVpcAssociationResponse getServiceNetworkVpcAssociation(Consumer<GetServiceNetworkVpcAssociationRequest.Builder> getServiceNetworkVpcAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Retrieves information about the association between a service network and a VPC.
This is a convenience which creates an instance of the GetServiceNetworkVpcAssociationRequest.Builder
avoiding the need to create one manually via GetServiceNetworkVpcAssociationRequest.builder()
getServiceNetworkVpcAssociationRequest - A Consumer that will call methods on
GetServiceNetworkVpcAssociationRequest.Builder to
create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTargetGroupResponse getTargetGroup(GetTargetGroupRequest getTargetGroupRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTargetGroupResponse getTargetGroup(Consumer<GetTargetGroupRequest.Builder> getTargetGroupRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Retrieves information about the specified target group.
This is a convenience which creates an instance of the GetTargetGroupRequest.Builder avoiding the need to
create one manually via GetTargetGroupRequest.builder()
getTargetGroupRequest - A Consumer that will call methods on
GetTargetGroupRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessLogSubscriptionsResponse listAccessLogSubscriptions(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessLogSubscriptionsResponse listAccessLogSubscriptions(Consumer<ListAccessLogSubscriptionsRequest.Builder> listAccessLogSubscriptionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists all access log subscriptions for the specified service network or service.
This is a convenience which creates an instance of the ListAccessLogSubscriptionsRequest.Builder avoiding
the need to create one manually via ListAccessLogSubscriptionsRequest.builder()
listAccessLogSubscriptionsRequest - A Consumer that will call methods on
ListAccessLogSubscriptionsRequest.Builder to
create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessLogSubscriptionsIterable listAccessLogSubscriptionsPaginator(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists all access log subscriptions for the specified service network or service.
This is a variant of
listAccessLogSubscriptions(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListAccessLogSubscriptionsIterable responses = client.listAccessLogSubscriptionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListAccessLogSubscriptionsIterable responses = client
.listAccessLogSubscriptionsPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListAccessLogSubscriptionsIterable responses = client.listAccessLogSubscriptionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessLogSubscriptions(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsRequest)
operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessLogSubscriptionsIterable listAccessLogSubscriptionsPaginator(Consumer<ListAccessLogSubscriptionsRequest.Builder> listAccessLogSubscriptionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists all access log subscriptions for the specified service network or service.
This is a variant of
listAccessLogSubscriptions(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListAccessLogSubscriptionsIterable responses = client.listAccessLogSubscriptionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListAccessLogSubscriptionsIterable responses = client
.listAccessLogSubscriptionsPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListAccessLogSubscriptionsIterable responses = client.listAccessLogSubscriptionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessLogSubscriptions(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsRequest)
operation.
This is a convenience which creates an instance of the ListAccessLogSubscriptionsRequest.Builder avoiding
the need to create one manually via ListAccessLogSubscriptionsRequest.builder()
listAccessLogSubscriptionsRequest - A Consumer that will call methods on
ListAccessLogSubscriptionsRequest.Builder to
create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListListenersResponse listListeners(ListListenersRequest listListenersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListListenersResponse listListeners(Consumer<ListListenersRequest.Builder> listListenersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the listeners for the specified service.
This is a convenience which creates an instance of the ListListenersRequest.Builder avoiding the need to
create one manually via ListListenersRequest.builder()
listListenersRequest - A Consumer that will call methods on
ListListenersRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListListenersIterable listListenersPaginator(ListListenersRequest listListenersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the listeners for the specified service.
This is a variant of
listListeners(software.amazon.awssdk.services.vpclattice.model.ListListenersRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListListenersIterable responses = client.listListenersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListListenersIterable responses = client
.listListenersPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListListenersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListListenersIterable responses = client.listListenersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listListeners(software.amazon.awssdk.services.vpclattice.model.ListListenersRequest) operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListListenersIterable listListenersPaginator(Consumer<ListListenersRequest.Builder> listListenersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the listeners for the specified service.
This is a variant of
listListeners(software.amazon.awssdk.services.vpclattice.model.ListListenersRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListListenersIterable responses = client.listListenersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListListenersIterable responses = client
.listListenersPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListListenersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListListenersIterable responses = client.listListenersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listListeners(software.amazon.awssdk.services.vpclattice.model.ListListenersRequest) operation.
This is a convenience which creates an instance of the ListListenersRequest.Builder avoiding the need to
create one manually via ListListenersRequest.builder()
listListenersRequest - A Consumer that will call methods on
ListListenersRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRulesResponse listRules(ListRulesRequest listRulesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRulesResponse listRules(Consumer<ListRulesRequest.Builder> listRulesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the rules for the listener.
This is a convenience which creates an instance of the ListRulesRequest.Builder avoiding the need to
create one manually via ListRulesRequest.builder()
listRulesRequest - A Consumer that will call methods on
ListRulesRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRulesIterable listRulesPaginator(ListRulesRequest listRulesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the rules for the listener.
This is a variant of listRules(software.amazon.awssdk.services.vpclattice.model.ListRulesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListRulesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRules(software.amazon.awssdk.services.vpclattice.model.ListRulesRequest) operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRulesIterable listRulesPaginator(Consumer<ListRulesRequest.Builder> listRulesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the rules for the listener.
This is a variant of listRules(software.amazon.awssdk.services.vpclattice.model.ListRulesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListRulesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRules(software.amazon.awssdk.services.vpclattice.model.ListRulesRequest) operation.
This is a convenience which creates an instance of the ListRulesRequest.Builder avoiding the need to
create one manually via ListRulesRequest.builder()
listRulesRequest - A Consumer that will call methods on
ListRulesRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworkServiceAssociationsResponse listServiceNetworkServiceAssociations(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the associations between the service network and the service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.
Every association in Amazon VPC Lattice is given a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource that is shared with another account, the association will include the local account ID as the prefix in the ARN for each account the resource is shared with.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworkServiceAssociationsResponse listServiceNetworkServiceAssociations(Consumer<ListServiceNetworkServiceAssociationsRequest.Builder> listServiceNetworkServiceAssociationsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the associations between the service network and the service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.
Every association in Amazon VPC Lattice is given a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource that is shared with another account, the association will include the local account ID as the prefix in the ARN for each account the resource is shared with.
This is a convenience which creates an instance of the
ListServiceNetworkServiceAssociationsRequest.Builder avoiding the need to create one manually via
ListServiceNetworkServiceAssociationsRequest.builder()
listServiceNetworkServiceAssociationsRequest - A Consumer that will call methods on
ListServiceNetworkServiceAssociationsRequest.Builder
to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworkServiceAssociationsIterable listServiceNetworkServiceAssociationsPaginator(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the associations between the service network and the service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.
Every association in Amazon VPC Lattice is given a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource that is shared with another account, the association will include the local account ID as the prefix in the ARN for each account the resource is shared with.
This is a variant of
listServiceNetworkServiceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkServiceAssociationsIterable responses = client.listServiceNetworkServiceAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkServiceAssociationsIterable responses = client
.listServiceNetworkServiceAssociationsPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkServiceAssociationsIterable responses = client.listServiceNetworkServiceAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkServiceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsRequest)
operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworkServiceAssociationsIterable listServiceNetworkServiceAssociationsPaginator(Consumer<ListServiceNetworkServiceAssociationsRequest.Builder> listServiceNetworkServiceAssociationsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the associations between the service network and the service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.
Every association in Amazon VPC Lattice is given a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource that is shared with another account, the association will include the local account ID as the prefix in the ARN for each account the resource is shared with.
This is a variant of
listServiceNetworkServiceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkServiceAssociationsIterable responses = client.listServiceNetworkServiceAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkServiceAssociationsIterable responses = client
.listServiceNetworkServiceAssociationsPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkServiceAssociationsIterable responses = client.listServiceNetworkServiceAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkServiceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsRequest)
operation.
This is a convenience which creates an instance of the
ListServiceNetworkServiceAssociationsRequest.Builder avoiding the need to create one manually via
ListServiceNetworkServiceAssociationsRequest.builder()
listServiceNetworkServiceAssociationsRequest - A Consumer that will call methods on
ListServiceNetworkServiceAssociationsRequest.Builder
to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworkVpcAssociationsResponse listServiceNetworkVpcAssociations(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworkVpcAssociationsResponse listServiceNetworkVpcAssociations(Consumer<ListServiceNetworkVpcAssociationsRequest.Builder> listServiceNetworkVpcAssociationsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the ListServiceNetworkVpcAssociationsRequest.Builder
avoiding the need to create one manually via ListServiceNetworkVpcAssociationsRequest.builder()
listServiceNetworkVpcAssociationsRequest - A Consumer that will call methods on
ListServiceNetworkVpcAssociationsRequest.Builder
to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworkVpcAssociationsIterable listServiceNetworkVpcAssociationsPaginator(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a variant of
listServiceNetworkVpcAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcAssociationsIterable responses = client.listServiceNetworkVpcAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcAssociationsIterable responses = client
.listServiceNetworkVpcAssociationsPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcAssociationsIterable responses = client.listServiceNetworkVpcAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkVpcAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsRequest)
operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworkVpcAssociationsIterable listServiceNetworkVpcAssociationsPaginator(Consumer<ListServiceNetworkVpcAssociationsRequest.Builder> listServiceNetworkVpcAssociationsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a variant of
listServiceNetworkVpcAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcAssociationsIterable responses = client.listServiceNetworkVpcAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcAssociationsIterable responses = client
.listServiceNetworkVpcAssociationsPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcAssociationsIterable responses = client.listServiceNetworkVpcAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkVpcAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsRequest)
operation.
This is a convenience which creates an instance of the ListServiceNetworkVpcAssociationsRequest.Builder
avoiding the need to create one manually via ListServiceNetworkVpcAssociationsRequest.builder()
listServiceNetworkVpcAssociationsRequest - A Consumer that will call methods on
ListServiceNetworkVpcAssociationsRequest.Builder
to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworksResponse listServiceNetworks(ListServiceNetworksRequest listServiceNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworksResponse listServiceNetworks(Consumer<ListServiceNetworksRequest.Builder> listServiceNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the ListServiceNetworksRequest.Builder avoiding the
need to create one manually via ListServiceNetworksRequest.builder()
listServiceNetworksRequest - A Consumer that will call methods on
ListServiceNetworksRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworksIterable listServiceNetworksPaginator(ListServiceNetworksRequest listServiceNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a variant of
listServiceNetworks(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworksIterable responses = client.listServiceNetworksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworksIterable responses = client
.listServiceNetworksPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworksIterable responses = client.listServiceNetworksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworks(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksRequest)
operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServiceNetworksIterable listServiceNetworksPaginator(Consumer<ListServiceNetworksRequest.Builder> listServiceNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a variant of
listServiceNetworks(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworksIterable responses = client.listServiceNetworksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworksIterable responses = client
.listServiceNetworksPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworksIterable responses = client.listServiceNetworksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworks(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksRequest)
operation.
This is a convenience which creates an instance of the ListServiceNetworksRequest.Builder avoiding the
need to create one manually via ListServiceNetworksRequest.builder()
listServiceNetworksRequest - A Consumer that will call methods on
ListServiceNetworksRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServicesResponse listServices(ListServicesRequest listServicesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServicesResponse listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the services owned by the caller account or shared with the caller account.
This is a convenience which creates an instance of the ListServicesRequest.Builder avoiding the need to
create one manually via ListServicesRequest.builder()
listServicesRequest - A Consumer that will call methods on
ListServicesRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServicesIterable listServicesPaginator(ListServicesRequest listServicesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the services owned by the caller account or shared with the caller account.
This is a variant of listServices(software.amazon.awssdk.services.vpclattice.model.ListServicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListServicesIterable responses = client.listServicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListServicesIterable responses = client.listServicesPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListServicesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListServicesIterable responses = client.listServicesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServices(software.amazon.awssdk.services.vpclattice.model.ListServicesRequest) operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServicesIterable listServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the services owned by the caller account or shared with the caller account.
This is a variant of listServices(software.amazon.awssdk.services.vpclattice.model.ListServicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListServicesIterable responses = client.listServicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListServicesIterable responses = client.listServicesPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListServicesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListServicesIterable responses = client.listServicesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServices(software.amazon.awssdk.services.vpclattice.model.ListServicesRequest) operation.
This is a convenience which creates an instance of the ListServicesRequest.Builder avoiding the need to
create one manually via ListServicesRequest.builder()
listServicesRequest - A Consumer that will call methods on
ListServicesRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists the tags for the specified resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetGroupsResponse listTargetGroups(ListTargetGroupsRequest listTargetGroupsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetGroupsResponse listTargetGroups(Consumer<ListTargetGroupsRequest.Builder> listTargetGroupsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists your target groups. You can narrow your search by using the filters below in your request.
This is a convenience which creates an instance of the ListTargetGroupsRequest.Builder avoiding the need
to create one manually via ListTargetGroupsRequest.builder()
listTargetGroupsRequest - A Consumer that will call methods on
ListTargetGroupsRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetGroupsIterable listTargetGroupsPaginator(ListTargetGroupsRequest listTargetGroupsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists your target groups. You can narrow your search by using the filters below in your request.
This is a variant of
listTargetGroups(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListTargetGroupsIterable responses = client.listTargetGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListTargetGroupsIterable responses = client
.listTargetGroupsPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListTargetGroupsIterable responses = client.listTargetGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetGroups(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsRequest)
operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetGroupsIterable listTargetGroupsPaginator(Consumer<ListTargetGroupsRequest.Builder> listTargetGroupsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Lists your target groups. You can narrow your search by using the filters below in your request.
This is a variant of
listTargetGroups(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListTargetGroupsIterable responses = client.listTargetGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListTargetGroupsIterable responses = client
.listTargetGroupsPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListTargetGroupsIterable responses = client.listTargetGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetGroups(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsRequest)
operation.
This is a convenience which creates an instance of the ListTargetGroupsRequest.Builder avoiding the need
to create one manually via ListTargetGroupsRequest.builder()
listTargetGroupsRequest - A Consumer that will call methods on
ListTargetGroupsRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetsResponse listTargets(ListTargetsRequest listTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetsResponse listTargets(Consumer<ListTargetsRequest.Builder> listTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the ListTargetsRequest.Builder avoiding the need to
create one manually via ListTargetsRequest.builder()
listTargetsRequest - A Consumer that will call methods on
ListTargetsRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetsIterable listTargetsPaginator(ListTargetsRequest listTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a variant of listTargets(software.amazon.awssdk.services.vpclattice.model.ListTargetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListTargetsIterable responses = client.listTargetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListTargetsIterable responses = client.listTargetsPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListTargetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListTargetsIterable responses = client.listTargetsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargets(software.amazon.awssdk.services.vpclattice.model.ListTargetsRequest) operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetsIterable listTargetsPaginator(Consumer<ListTargetsRequest.Builder> listTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a variant of listTargets(software.amazon.awssdk.services.vpclattice.model.ListTargetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.vpclattice.paginators.ListTargetsIterable responses = client.listTargetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.vpclattice.paginators.ListTargetsIterable responses = client.listTargetsPaginator(request);
for (software.amazon.awssdk.services.vpclattice.model.ListTargetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.vpclattice.paginators.ListTargetsIterable responses = client.listTargetsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargets(software.amazon.awssdk.services.vpclattice.model.ListTargetsRequest) operation.
This is a convenience which creates an instance of the ListTargetsRequest.Builder avoiding the need to
create one manually via ListTargetsRequest.builder()
listTargetsRequest - A Consumer that will call methods on
ListTargetsRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutAuthPolicyResponse putAuthPolicy(PutAuthPolicyRequest putAuthPolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Creates or updates the auth policy.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutAuthPolicyResponse putAuthPolicy(Consumer<PutAuthPolicyRequest.Builder> putAuthPolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Creates or updates the auth policy.
This is a convenience which creates an instance of the PutAuthPolicyRequest.Builder avoiding the need to
create one manually via PutAuthPolicyRequest.builder()
putAuthPolicyRequest - A Consumer that will call methods on
PutAuthPolicyRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.
This is a convenience which creates an instance of the PutResourcePolicyRequest.Builder avoiding the need
to create one manually via PutResourcePolicyRequest.builder()
putResourcePolicyRequest - A Consumer that will call methods on
PutResourcePolicyRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RegisterTargetsResponse registerTargets(RegisterTargetsRequest registerTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RegisterTargetsResponse registerTargets(Consumer<RegisterTargetsRequest.Builder> registerTargetsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
This is a convenience which creates an instance of the RegisterTargetsRequest.Builder avoiding the need
to create one manually via RegisterTargetsRequest.builder()
registerTargetsRequest - A Consumer that will call methods on
RegisterTargetsRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Adds the specified tags to the specified resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on
TagResourceRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Removes the specified tags from the specified resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on
UntagResourceRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAccessLogSubscriptionResponse updateAccessLogSubscription(UpdateAccessLogSubscriptionRequest updateAccessLogSubscriptionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAccessLogSubscriptionResponse updateAccessLogSubscription(Consumer<UpdateAccessLogSubscriptionRequest.Builder> updateAccessLogSubscriptionRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Updates the specified access log subscription.
This is a convenience which creates an instance of the UpdateAccessLogSubscriptionRequest.Builder
avoiding the need to create one manually via UpdateAccessLogSubscriptionRequest.builder()
updateAccessLogSubscriptionRequest - A Consumer that will call methods on
UpdateAccessLogSubscriptionRequest.Builder to
create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateListenerResponse updateListener(UpdateListenerRequest updateListenerRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateListenerResponse updateListener(Consumer<UpdateListenerRequest.Builder> updateListenerRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Updates the specified listener for the specified service.
This is a convenience which creates an instance of the UpdateListenerRequest.Builder avoiding the need to
create one manually via UpdateListenerRequest.builder()
updateListenerRequest - A Consumer that will call methods on
UpdateListenerRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateRuleResponse updateRule(UpdateRuleRequest updateRuleRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateRuleResponse updateRule(Consumer<UpdateRuleRequest.Builder> updateRuleRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Updates a rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use
UpdateListener.
This is a convenience which creates an instance of the UpdateRuleRequest.Builder avoiding the need to
create one manually via UpdateRuleRequest.builder()
updateRuleRequest - A Consumer that will call methods on
UpdateRuleRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateServiceResponse updateService(UpdateServiceRequest updateServiceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateServiceResponse updateService(Consumer<UpdateServiceRequest.Builder> updateServiceRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Updates the specified service.
This is a convenience which creates an instance of the UpdateServiceRequest.Builder avoiding the need to
create one manually via UpdateServiceRequest.builder()
updateServiceRequest - A Consumer that will call methods on
UpdateServiceRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateServiceNetworkResponse updateServiceNetwork(UpdateServiceNetworkRequest updateServiceNetworkRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateServiceNetworkResponse updateServiceNetwork(Consumer<UpdateServiceNetworkRequest.Builder> updateServiceNetworkRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Updates the specified service network.
This is a convenience which creates an instance of the UpdateServiceNetworkRequest.Builder avoiding the
need to create one manually via UpdateServiceNetworkRequest.builder()
updateServiceNetworkRequest - A Consumer that will call methods on
UpdateServiceNetworkRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateServiceNetworkVpcAssociationResponse updateServiceNetworkVpcAssociation(UpdateServiceNetworkVpcAssociationRequest updateServiceNetworkVpcAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Updates the service network and VPC association. Once you add a security group, it cannot be removed.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateServiceNetworkVpcAssociationResponse updateServiceNetworkVpcAssociation(Consumer<UpdateServiceNetworkVpcAssociationRequest.Builder> updateServiceNetworkVpcAssociationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Updates the service network and VPC association. Once you add a security group, it cannot be removed.
This is a convenience which creates an instance of the UpdateServiceNetworkVpcAssociationRequest.Builder
avoiding the need to create one manually via UpdateServiceNetworkVpcAssociationRequest.builder()
updateServiceNetworkVpcAssociationRequest - A Consumer that will call methods on
UpdateServiceNetworkVpcAssociationRequest.Builder
to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTargetGroupResponse updateTargetGroup(UpdateTargetGroupRequest updateTargetGroupRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTargetGroupResponse updateTargetGroup(Consumer<UpdateTargetGroupRequest.Builder> updateTargetGroupRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, VpcLatticeException
Updates the specified target group.
This is a convenience which creates an instance of the UpdateTargetGroupRequest.Builder avoiding the need
to create one manually via UpdateTargetGroupRequest.builder()
updateTargetGroupRequest - A Consumer that will call methods on
UpdateTargetGroupRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.VpcLatticeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic VpcLatticeClient create()
VpcLatticeClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static VpcLatticeClientBuilder builder()
VpcLatticeClient.static ServiceMetadata serviceMetadata()
default VpcLatticeServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.