/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the vpc-lattice-2022-11-30.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.VPCLattice.Model;
namespace Amazon.VPCLattice
{
///
/// Interface for accessing VPCLattice
///
/// 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
///
public partial interface IAmazonVPCLattice : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IVPCLatticePaginatorFactory Paginators { get; }
#endif
#region BatchUpdateRule
///
/// 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.
///
/// Container for the necessary parameters to execute the BatchUpdateRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchUpdateRule service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for BatchUpdateRule Operation
Task BatchUpdateRuleAsync(BatchUpdateRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAccessLogSubscription
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateAccessLogSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAccessLogSubscription service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateAccessLogSubscription Operation
Task CreateAccessLogSubscriptionAsync(CreateAccessLogSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateListener
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateListener service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateListener service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The request would cause a service quota to be exceeded.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateListener Operation
Task CreateListenerAsync(CreateListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRule
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateRule service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The request would cause a service quota to be exceeded.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateRule Operation
Task CreateRuleAsync(CreateRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateService
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateService service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The request would cause a service quota to be exceeded.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateService Operation
Task CreateServiceAsync(CreateServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateServiceNetwork
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateServiceNetwork service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateServiceNetwork service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The request would cause a service quota to be exceeded.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateServiceNetwork Operation
Task CreateServiceNetworkAsync(CreateServiceNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateServiceNetworkServiceAssociation
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateServiceNetworkServiceAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateServiceNetworkServiceAssociation service method, as returned by VPCLattice.
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The request would cause a service quota to be exceeded.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateServiceNetworkServiceAssociation Operation
Task CreateServiceNetworkServiceAssociationAsync(CreateServiceNetworkServiceAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateServiceNetworkVpcAssociation
///
/// Associates a VPC with a service network. When you associate a VPC with the service
/// network, it enables all the resources within that VPC to be clients and communicate
/// with other services in the service network. For more information, see Manage
/// VPC associations in the Amazon VPC Lattice User Guide.
///
///
///
/// You can't use this operation if there is a disassociation in progress. If the association
/// fails, retry by deleting the association and recreating it.
///
///
///
/// As a result of this operation, the association gets created in the service network
/// account and the VPC owner account.
///
///
///
/// If you add a security group to the service network and VPC association, the association
/// must continue to always have at least one security group. You can add or edit security
/// groups at any time. However, to remove all security groups, you must first delete
/// the association and recreate it without security groups.
///
///
/// Container for the necessary parameters to execute the CreateServiceNetworkVpcAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateServiceNetworkVpcAssociation service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The request would cause a service quota to be exceeded.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateServiceNetworkVpcAssociation Operation
Task CreateServiceNetworkVpcAssociationAsync(CreateServiceNetworkVpcAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateTargetGroup
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateTargetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateTargetGroup service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The request would cause a service quota to be exceeded.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateTargetGroup Operation
Task CreateTargetGroupAsync(CreateTargetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAccessLogSubscription
///
/// Deletes the specified access log subscription.
///
/// Container for the necessary parameters to execute the DeleteAccessLogSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAccessLogSubscription service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteAccessLogSubscription Operation
Task DeleteAccessLogSubscriptionAsync(DeleteAccessLogSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAuthPolicy
///
/// Deletes the specified auth policy. If an auth is set to AWS_IAM
and the
/// auth policy is deleted, all requests will be denied by default. If you are trying
/// to remove the auth policy completely, you must set the auth_type to NONE
.
/// If auth is enabled on the resource, but no auth policy is set, all requests will be
/// denied.
///
/// Container for the necessary parameters to execute the DeleteAuthPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAuthPolicy service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteAuthPolicy Operation
Task DeleteAuthPolicyAsync(DeleteAuthPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteListener
///
/// Deletes the specified listener.
///
/// Container for the necessary parameters to execute the DeleteListener service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteListener service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteListener Operation
Task DeleteListenerAsync(DeleteListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteResourcePolicy
///
/// Deletes the specified resource policy.
///
/// Container for the necessary parameters to execute the DeleteResourcePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteResourcePolicy service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteResourcePolicy Operation
Task DeleteResourcePolicyAsync(DeleteResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRule
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DeleteRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteRule service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteRule Operation
Task DeleteRuleAsync(DeleteRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteService
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteService service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteService Operation
Task DeleteServiceAsync(DeleteServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteServiceNetwork
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteServiceNetwork service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteServiceNetwork service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteServiceNetwork Operation
Task DeleteServiceNetworkAsync(DeleteServiceNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteServiceNetworkServiceAssociation
///
/// Deletes the association between a specified service and the specific service network.
/// This request will fail if an association is still in progress.
///
/// Container for the necessary parameters to execute the DeleteServiceNetworkServiceAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteServiceNetworkServiceAssociation service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteServiceNetworkServiceAssociation Operation
Task DeleteServiceNetworkServiceAssociationAsync(DeleteServiceNetworkServiceAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteServiceNetworkVpcAssociation
///
/// Disassociates the VPC from the service network. You can't disassociate the VPC if
/// there is a create or update association in progress.
///
/// Container for the necessary parameters to execute the DeleteServiceNetworkVpcAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteServiceNetworkVpcAssociation service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteServiceNetworkVpcAssociation Operation
Task DeleteServiceNetworkVpcAssociationAsync(DeleteServiceNetworkVpcAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteTargetGroup
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteTargetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteTargetGroup service method, as returned by VPCLattice.
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteTargetGroup Operation
Task DeleteTargetGroupAsync(DeleteTargetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeregisterTargets
///
/// Deregisters the specified targets from the specified target group.
///
/// Container for the necessary parameters to execute the DeregisterTargets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeregisterTargets service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeregisterTargets Operation
Task DeregisterTargetsAsync(DeregisterTargetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAccessLogSubscription
///
/// Retrieves information about the specified access log subscription.
///
/// Container for the necessary parameters to execute the GetAccessLogSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAccessLogSubscription service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetAccessLogSubscription Operation
Task GetAccessLogSubscriptionAsync(GetAccessLogSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAuthPolicy
///
/// Retrieves information about the auth policy for the specified service or service network.
///
/// Container for the necessary parameters to execute the GetAuthPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAuthPolicy service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetAuthPolicy Operation
Task GetAuthPolicyAsync(GetAuthPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetListener
///
/// Retrieves information about the specified listener for the specified service.
///
/// Container for the necessary parameters to execute the GetListener service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetListener service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetListener Operation
Task GetListenerAsync(GetListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetResourcePolicy
///
/// Retrieves information about the resource policy. The resource policy is an IAM policy
/// created on behalf of the resource owner when they share a resource.
///
/// Container for the necessary parameters to execute the GetResourcePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetResourcePolicy service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetResourcePolicy Operation
Task GetResourcePolicyAsync(GetResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRule
///
/// 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.
///
/// Container for the necessary parameters to execute the GetRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRule service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetRule Operation
Task GetRuleAsync(GetRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetService
///
/// Retrieves information about the specified service.
///
/// Container for the necessary parameters to execute the GetService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetService service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetService Operation
Task GetServiceAsync(GetServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetServiceNetwork
///
/// Retrieves information about the specified service network.
///
/// Container for the necessary parameters to execute the GetServiceNetwork service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetServiceNetwork service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetServiceNetwork Operation
Task GetServiceNetworkAsync(GetServiceNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetServiceNetworkServiceAssociation
///
/// Retrieves information about the specified association between a service network and
/// a service.
///
/// Container for the necessary parameters to execute the GetServiceNetworkServiceAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetServiceNetworkServiceAssociation service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetServiceNetworkServiceAssociation Operation
Task GetServiceNetworkServiceAssociationAsync(GetServiceNetworkServiceAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetServiceNetworkVpcAssociation
///
/// Retrieves information about the association between a service network and a VPC.
///
/// Container for the necessary parameters to execute the GetServiceNetworkVpcAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetServiceNetworkVpcAssociation service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetServiceNetworkVpcAssociation Operation
Task GetServiceNetworkVpcAssociationAsync(GetServiceNetworkVpcAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetTargetGroup
///
/// Retrieves information about the specified target group.
///
/// Container for the necessary parameters to execute the GetTargetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTargetGroup service method, as returned by VPCLattice.
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetTargetGroup Operation
Task GetTargetGroupAsync(GetTargetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAccessLogSubscriptions
///
/// Lists all access log subscriptions for the specified service network or service.
///
/// Container for the necessary parameters to execute the ListAccessLogSubscriptions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAccessLogSubscriptions service method, as returned by VPCLattice.
///
/// An unexpected error occurred while processing the request.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListAccessLogSubscriptions Operation
Task ListAccessLogSubscriptionsAsync(ListAccessLogSubscriptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListListeners
///
/// Lists the listeners for the specified service.
///
/// Container for the necessary parameters to execute the ListListeners service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListListeners service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListListeners Operation
Task ListListenersAsync(ListListenersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListRules
///
/// Lists the rules for the listener.
///
/// Container for the necessary parameters to execute the ListRules service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRules service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListRules Operation
Task ListRulesAsync(ListRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListServiceNetworks
///
/// 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.
///
/// Container for the necessary parameters to execute the ListServiceNetworks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListServiceNetworks service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListServiceNetworks Operation
Task ListServiceNetworksAsync(ListServiceNetworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListServiceNetworkServiceAssociations
///
/// 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.
///
///
/// Container for the necessary parameters to execute the ListServiceNetworkServiceAssociations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListServiceNetworkServiceAssociations service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListServiceNetworkServiceAssociations Operation
Task ListServiceNetworkServiceAssociationsAsync(ListServiceNetworkServiceAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListServiceNetworkVpcAssociations
///
/// 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.
///
/// Container for the necessary parameters to execute the ListServiceNetworkVpcAssociations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListServiceNetworkVpcAssociations service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListServiceNetworkVpcAssociations Operation
Task ListServiceNetworkVpcAssociationsAsync(ListServiceNetworkVpcAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListServices
///
/// Lists the services owned by the caller account or shared with the caller account.
///
/// Container for the necessary parameters to execute the ListServices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListServices service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListServices Operation
Task ListServicesAsync(ListServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Lists the tags for the specified resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by VPCLattice.
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTargetGroups
///
/// Lists your target groups. You can narrow your search by using the filters below in
/// your request.
///
/// Container for the necessary parameters to execute the ListTargetGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTargetGroups service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListTargetGroups Operation
Task ListTargetGroupsAsync(ListTargetGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTargets
///
/// 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.
///
/// Container for the necessary parameters to execute the ListTargets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTargets service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListTargets Operation
Task ListTargetsAsync(ListTargetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutAuthPolicy
///
/// Creates or updates the auth policy. The policy string in JSON must not contain newlines
/// or blank lines.
///
/// Container for the necessary parameters to execute the PutAuthPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutAuthPolicy service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for PutAuthPolicy Operation
Task PutAuthPolicyAsync(PutAuthPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutResourcePolicy
///
/// 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.
///
/// Container for the necessary parameters to execute the PutResourcePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutResourcePolicy service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for PutResourcePolicy Operation
Task PutResourcePolicyAsync(PutResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RegisterTargets
///
/// Registers the targets with the target group. If it's a Lambda target, you can only
/// have one target in a target group.
///
/// Container for the necessary parameters to execute the RegisterTargets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RegisterTargets service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The request would cause a service quota to be exceeded.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for RegisterTargets Operation
Task RegisterTargetsAsync(RegisterTargetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Adds the specified tags to the specified resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes the specified tags from the specified resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by VPCLattice.
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAccessLogSubscription
///
/// Updates the specified access log subscription.
///
/// Container for the necessary parameters to execute the UpdateAccessLogSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateAccessLogSubscription service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UpdateAccessLogSubscription Operation
Task UpdateAccessLogSubscriptionAsync(UpdateAccessLogSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateListener
///
/// Updates the specified listener for the specified service.
///
/// Container for the necessary parameters to execute the UpdateListener service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateListener service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UpdateListener Operation
Task UpdateListenerAsync(UpdateListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRule
///
/// Updates a rule for the listener. You can't modify a default listener rule. To modify
/// a default listener rule, use UpdateListener
.
///
/// Container for the necessary parameters to execute the UpdateRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateRule service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UpdateRule Operation
Task UpdateRuleAsync(UpdateRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateService
///
/// Updates the specified service.
///
/// Container for the necessary parameters to execute the UpdateService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateService service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UpdateService Operation
Task UpdateServiceAsync(UpdateServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateServiceNetwork
///
/// Updates the specified service network.
///
/// Container for the necessary parameters to execute the UpdateServiceNetwork service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateServiceNetwork service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UpdateServiceNetwork Operation
Task UpdateServiceNetworkAsync(UpdateServiceNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateServiceNetworkVpcAssociation
///
/// Updates the service network and VPC association. If you add a security group to the
/// service network and VPC association, the association must continue to always have
/// at least one security group. You can add or edit security groups at any time. However,
/// to remove all security groups, you must first delete the association and recreate
/// it without security groups.
///
/// Container for the necessary parameters to execute the UpdateServiceNetworkVpcAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateServiceNetworkVpcAssociation service method, as returned by VPCLattice.
///
/// The user does not have sufficient access to perform this action.
///
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UpdateServiceNetworkVpcAssociation Operation
Task UpdateServiceNetworkVpcAssociationAsync(UpdateServiceNetworkVpcAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateTargetGroup
///
/// Updates the specified target group.
///
/// Container for the necessary parameters to execute the UpdateTargetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateTargetGroup service method, as returned by VPCLattice.
///
/// The request conflicts with the current state of the resource. Updating or deleting
/// a resource can cause an inconsistent state.
///
///
/// An unexpected error occurred while processing the request.
///
///
/// The request references a resource that does not exist.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The input does not satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UpdateTargetGroup Operation
Task UpdateTargetGroupAsync(UpdateTargetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}