/*
* 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 globalaccelerator-2018-08-08.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.GlobalAccelerator.Model;
using Amazon.GlobalAccelerator.Model.Internal.MarshallTransformations;
using Amazon.GlobalAccelerator.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.GlobalAccelerator
{
///
/// Implementation for accessing GlobalAccelerator
///
/// Global Accelerator
///
/// This is the Global Accelerator API Reference. This guide is for developers
/// who need detailed information about Global Accelerator API actions, data types, and
/// errors. For more information about Global Accelerator features, see the Global
/// Accelerator Developer Guide.
///
///
///
/// Global Accelerator is a service in which you create accelerators to improve
/// the performance of your applications for local and global users. Depending on the
/// type of accelerator you choose, you can gain additional benefits.
///
/// -
///
/// By using a standard accelerator, you can improve availability of your internet applications
/// that are used by a global audience. With a standard accelerator, Global Accelerator
/// directs traffic to optimal endpoints over the Amazon Web Services global network.
///
///
///
-
///
/// For other scenarios, you might choose a custom routing accelerator. With a custom
/// routing accelerator, you can use application logic to directly map one or more users
/// to a specific endpoint among many endpoints.
///
///
///
/// Global Accelerator is a global service that supports endpoints in multiple Amazon
/// Web Services Regions but you must specify the US West (Oregon) Region to create, update,
/// or otherwise work with accelerators. That is, for example, specify --region
/// us-west-2
on AWS CLI commands.
///
///
///
/// By default, Global Accelerator provides you with static IP addresses that you associate
/// with your accelerator. The static IP addresses are anycast from the Amazon Web Services
/// edge network. For IPv4, Global Accelerator provides two static IPv4 addresses. For
/// dual-stack, Global Accelerator provides a total of four addresses: two static IPv4
/// addresses and two static IPv6 addresses. With a standard accelerator for IPv4, instead
/// of using the addresses that Global Accelerator provides, you can configure these entry
/// points to be IPv4 addresses from your own IP address ranges that you bring toGlobal
/// Accelerator (BYOIP).
///
///
///
/// For a standard accelerator, they distribute incoming application traffic across multiple
/// endpoint resources in multiple Amazon Web Services Regions , which increases the availability
/// of your applications. Endpoints for standard accelerators can be Network Load Balancers,
/// Application Load Balancers, Amazon EC2 instances, or Elastic IP addresses that are
/// located in one Amazon Web Services Region or multiple Amazon Web Services Regions.
/// For custom routing accelerators, you map traffic that arrives to the static IP addresses
/// to specific Amazon EC2 servers in endpoints that are virtual private cloud (VPC) subnets.
///
///
///
/// The static IP addresses remain assigned to your accelerator for as long as it exists,
/// even if you disable the accelerator and it no longer accepts or routes traffic. However,
/// when you delete an accelerator, you lose the static IP addresses that are assigned
/// to it, so you can no longer route traffic by using them. You can use IAM policies
/// like tag-based permissions with Global Accelerator to limit the users who have permissions
/// to delete an accelerator. For more information, see Tag-based
/// policies.
///
///
///
/// For standard accelerators, Global Accelerator uses the Amazon Web Services global
/// network to route traffic to the optimal regional endpoint based on health, client
/// location, and policies that you configure. The service reacts instantly to changes
/// in health or configuration to ensure that internet traffic from clients is always
/// directed to healthy endpoints.
///
///
///
/// For more information about understanding and using Global Accelerator, see the Global
/// Accelerator Developer Guide.
///
///
public partial class AmazonGlobalAcceleratorClient : AmazonServiceClient, IAmazonGlobalAccelerator
{
private static IServiceMetadata serviceMetadata = new AmazonGlobalAcceleratorMetadata();
#region Constructors
///
/// Constructs AmazonGlobalAcceleratorClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonGlobalAcceleratorClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonGlobalAcceleratorConfig()) { }
///
/// Constructs AmazonGlobalAcceleratorClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonGlobalAcceleratorClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonGlobalAcceleratorConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonGlobalAcceleratorClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonGlobalAcceleratorClient Configuration Object
public AmazonGlobalAcceleratorClient(AmazonGlobalAcceleratorConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonGlobalAcceleratorClient with AWS Credentials
///
/// AWS Credentials
public AmazonGlobalAcceleratorClient(AWSCredentials credentials)
: this(credentials, new AmazonGlobalAcceleratorConfig())
{
}
///
/// Constructs AmazonGlobalAcceleratorClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonGlobalAcceleratorClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonGlobalAcceleratorConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonGlobalAcceleratorClient with AWS Credentials and an
/// AmazonGlobalAcceleratorClient Configuration object.
///
/// AWS Credentials
/// The AmazonGlobalAcceleratorClient Configuration Object
public AmazonGlobalAcceleratorClient(AWSCredentials credentials, AmazonGlobalAcceleratorConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonGlobalAcceleratorClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonGlobalAcceleratorClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonGlobalAcceleratorConfig())
{
}
///
/// Constructs AmazonGlobalAcceleratorClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonGlobalAcceleratorClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonGlobalAcceleratorConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonGlobalAcceleratorClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonGlobalAcceleratorClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonGlobalAcceleratorClient Configuration Object
public AmazonGlobalAcceleratorClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonGlobalAcceleratorConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonGlobalAcceleratorClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonGlobalAcceleratorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonGlobalAcceleratorConfig())
{
}
///
/// Constructs AmazonGlobalAcceleratorClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonGlobalAcceleratorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonGlobalAcceleratorConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonGlobalAcceleratorClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonGlobalAcceleratorClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonGlobalAcceleratorClient Configuration Object
public AmazonGlobalAcceleratorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonGlobalAcceleratorConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IGlobalAcceleratorPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IGlobalAcceleratorPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new GlobalAcceleratorPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonGlobalAcceleratorEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AddCustomRoutingEndpoints
internal virtual AddCustomRoutingEndpointsResponse AddCustomRoutingEndpoints(AddCustomRoutingEndpointsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddCustomRoutingEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddCustomRoutingEndpointsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.
///
///
///
/// The listener port range must be large enough to support the number of IP addresses
/// that can be specified in your subnet. The number of ports required is: subnet size
/// times the number of ports per destination EC2 instances. For example, a subnet defined
/// as /24 requires a listener port range of at least 255 ports.
///
///
///
/// Note: You must have enough remaining listener ports available to map to the subnet
/// ports, or the call will fail with a LimitExceededException.
///
///
///
/// By default, all destinations in a subnet in a custom routing accelerator cannot receive
/// traffic. To enable all destinations to receive traffic, or to specify individual port
/// mappings that can receive traffic, see the
/// AllowCustomRoutingTraffic operation.
///
///
/// Container for the necessary parameters to execute the AddCustomRoutingEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddCustomRoutingEndpoints service method, as returned by GlobalAccelerator.
///
/// You don't have access permission.
///
///
/// You can't use both of those options.
///
///
/// The endpoint that you specified doesn't exist.
///
///
/// The endpoint group that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
/// REST API Reference for AddCustomRoutingEndpoints Operation
public virtual Task AddCustomRoutingEndpointsAsync(AddCustomRoutingEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddCustomRoutingEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddCustomRoutingEndpointsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AddEndpoints
internal virtual AddEndpointsResponse AddEndpoints(AddEndpointsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddEndpointsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Add endpoints to an endpoint group. The AddEndpoints
API operation is
/// the recommended option for adding endpoints. The alternative options are to add endpoints
/// when you create an endpoint group (with the CreateEndpointGroup
/// API) or when you update an endpoint group (with the UpdateEndpointGroup
/// API).
///
///
///
/// There are two advantages to using AddEndpoints
to add endpoints:
///
/// -
///
/// It's faster, because Global Accelerator only has to resolve the new endpoints that
/// you're adding.
///
///
-
///
/// It's more convenient, because you don't need to specify all of the current endpoints
/// that are already in the endpoint group in addition to the new endpoints that you want
/// to add.
///
///
///
/// Container for the necessary parameters to execute the AddEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddEndpoints service method, as returned by GlobalAccelerator.
///
/// You don't have access permission.
///
///
/// The endpoint group that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
///
/// There's already a transaction in progress. Another transaction can't be processed.
///
/// REST API Reference for AddEndpoints Operation
public virtual Task AddEndpointsAsync(AddEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddEndpointsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AdvertiseByoipCidr
internal virtual AdvertiseByoipCidrResponse AdvertiseByoipCidr(AdvertiseByoipCidrRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AdvertiseByoipCidrRequestMarshaller.Instance;
options.ResponseUnmarshaller = AdvertiseByoipCidrResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Advertises an IPv4 address range that is provisioned for use with your Amazon Web
/// Services resources through bring your own IP addresses (BYOIP). It can take a few
/// minutes before traffic to the specified addresses starts routing to Amazon Web Services
/// because of propagation delays.
///
///
///
/// To stop advertising the BYOIP address range, use
/// WithdrawByoipCidr.
///
///
///
/// For more information, see Bring
/// your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
///
///
/// Container for the necessary parameters to execute the AdvertiseByoipCidr service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdvertiseByoipCidr service method, as returned by GlobalAccelerator.
///
/// You don't have access permission.
///
///
/// The CIDR that you specified was not found or is incorrect.
///
///
/// The CIDR that you specified is not valid for this action. For example, the state of
/// the CIDR might be incorrect for this action.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for AdvertiseByoipCidr Operation
public virtual Task AdvertiseByoipCidrAsync(AdvertiseByoipCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AdvertiseByoipCidrRequestMarshaller.Instance;
options.ResponseUnmarshaller = AdvertiseByoipCidrResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AllowCustomRoutingTraffic
internal virtual AllowCustomRoutingTrafficResponse AllowCustomRoutingTraffic(AllowCustomRoutingTrafficRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AllowCustomRoutingTrafficRequestMarshaller.Instance;
options.ResponseUnmarshaller = AllowCustomRoutingTrafficResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet
/// endpoint that can receive traffic for a custom routing accelerator. You can allow
/// traffic to all destinations in the subnet endpoint, or allow traffic to a specified
/// list of destination IP addresses and ports in the subnet. Note that you cannot specify
/// IP addresses or ports outside of the range that you configured for the endpoint group.
///
///
///
/// After you make changes, you can verify that the updates are complete by checking the
/// status of your accelerator: the status changes from IN_PROGRESS to DEPLOYED.
///
///
/// Container for the necessary parameters to execute the AllowCustomRoutingTraffic service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AllowCustomRoutingTraffic service method, as returned by GlobalAccelerator.
///
/// The endpoint group that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for AllowCustomRoutingTraffic Operation
public virtual Task AllowCustomRoutingTrafficAsync(AllowCustomRoutingTrafficRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AllowCustomRoutingTrafficRequestMarshaller.Instance;
options.ResponseUnmarshaller = AllowCustomRoutingTrafficResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateAccelerator
internal virtual CreateAcceleratorResponse CreateAccelerator(CreateAcceleratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAcceleratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create an accelerator. An accelerator includes one or more listeners that process
/// inbound connections and direct traffic to one or more endpoint groups, each of which
/// includes endpoints, such as Network Load Balancers.
///
///
///
/// Global Accelerator is a global service that supports endpoints in multiple Amazon
/// Web Services Regions but you must specify the US West (Oregon) Region to create, update,
/// or otherwise work with accelerators. That is, for example, specify --region
/// us-west-2
on AWS CLI commands.
///
///
///
/// Container for the necessary parameters to execute the CreateAccelerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAccelerator service method, as returned by GlobalAccelerator.
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
/// REST API Reference for CreateAccelerator Operation
public virtual Task CreateAcceleratorAsync(CreateAcceleratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAcceleratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateCustomRoutingAccelerator
internal virtual CreateCustomRoutingAcceleratorResponse CreateCustomRoutingAccelerator(CreateCustomRoutingAcceleratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCustomRoutingAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCustomRoutingAcceleratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create a custom routing accelerator. A custom routing accelerator directs traffic
/// to one of possibly thousands of Amazon EC2 instance destinations running in a single
/// or multiple virtual private clouds (VPC) subnet endpoints.
///
///
///
/// Be aware that, by default, all destination EC2 instances in a VPC subnet endpoint
/// cannot receive traffic. To enable all destinations to receive traffic, or to specify
/// individual port mappings that can receive traffic, see the
/// AllowCustomRoutingTraffic operation.
///
///
///
/// Global Accelerator is a global service that supports endpoints in multiple Amazon
/// Web Services Regions but you must specify the US West (Oregon) Region to create, update,
/// or otherwise work with accelerators. That is, for example, specify --region
/// us-west-2
on AWS CLI commands.
///
///
///
/// Container for the necessary parameters to execute the CreateCustomRoutingAccelerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateCustomRoutingAccelerator service method, as returned by GlobalAccelerator.
///
/// You don't have access permission.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
/// REST API Reference for CreateCustomRoutingAccelerator Operation
public virtual Task CreateCustomRoutingAcceleratorAsync(CreateCustomRoutingAcceleratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCustomRoutingAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCustomRoutingAcceleratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateCustomRoutingEndpointGroup
internal virtual CreateCustomRoutingEndpointGroupResponse CreateCustomRoutingEndpointGroup(CreateCustomRoutingEndpointGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCustomRoutingEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCustomRoutingEndpointGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create an endpoint group for the specified listener for a custom routing accelerator.
/// An endpoint group is a collection of endpoints in one Amazon Web Services Region.
///
/// Container for the necessary parameters to execute the CreateCustomRoutingEndpointGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateCustomRoutingEndpointGroup service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// You don't have access permission.
///
///
/// The endpoint group that you specified already exists.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// The port numbers that you specified are not valid numbers or are not unique for this
/// accelerator.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
///
/// The listener that you specified doesn't exist.
///
/// REST API Reference for CreateCustomRoutingEndpointGroup Operation
public virtual Task CreateCustomRoutingEndpointGroupAsync(CreateCustomRoutingEndpointGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCustomRoutingEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCustomRoutingEndpointGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateCustomRoutingListener
internal virtual CreateCustomRoutingListenerResponse CreateCustomRoutingListener(CreateCustomRoutingListenerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCustomRoutingListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCustomRoutingListenerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create a listener to process inbound connections from clients to a custom routing
/// accelerator. Connections arrive to assigned static IP addresses on the port range
/// that you specify.
///
/// Container for the necessary parameters to execute the CreateCustomRoutingListener service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateCustomRoutingListener service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// The port numbers that you specified are not valid numbers or are not unique for this
/// accelerator.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
/// REST API Reference for CreateCustomRoutingListener Operation
public virtual Task CreateCustomRoutingListenerAsync(CreateCustomRoutingListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCustomRoutingListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCustomRoutingListenerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateEndpointGroup
internal virtual CreateEndpointGroupResponse CreateEndpointGroup(CreateEndpointGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateEndpointGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create an endpoint group for the specified listener. An endpoint group is a collection
/// of endpoints in one Amazon Web Services Region. A resource must be valid and active
/// when you add it as an endpoint.
///
/// Container for the necessary parameters to execute the CreateEndpointGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateEndpointGroup service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// You don't have access permission.
///
///
/// The endpoint group that you specified already exists.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
///
/// The listener that you specified doesn't exist.
///
/// REST API Reference for CreateEndpointGroup Operation
public virtual Task CreateEndpointGroupAsync(CreateEndpointGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateEndpointGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateListener
internal virtual CreateListenerResponse CreateListener(CreateListenerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateListenerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create a listener to process inbound connections from clients to an accelerator. Connections
/// arrive to assigned static IP addresses on a port, port range, or list of port ranges
/// that you specify.
///
/// 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 GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// The port numbers that you specified are not valid numbers or are not unique for this
/// accelerator.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
/// REST API Reference for CreateListener Operation
public virtual Task CreateListenerAsync(CreateListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateListenerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteAccelerator
internal virtual DeleteAcceleratorResponse DeleteAccelerator(DeleteAcceleratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAcceleratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete an accelerator. Before you can delete an accelerator, you must disable it and
/// remove all dependent resources (listeners and endpoint groups). To disable the accelerator,
/// update the accelerator to set Enabled
to false.
///
///
///
/// When you create an accelerator, by default, Global Accelerator provides you with a
/// set of two static IP addresses. Alternatively, you can bring your own IP address ranges
/// to Global Accelerator and assign IP addresses from those ranges.
///
///
///
/// The IP addresses are assigned to your accelerator for as long as it exists, even if
/// you disable the accelerator and it no longer accepts or routes traffic. However, when
/// you delete an accelerator, you lose the static IP addresses that are assigned
/// to the accelerator, so you can no longer route traffic by using them. As a best practice,
/// ensure that you have permissions in place to avoid inadvertently deleting accelerators.
/// You can use IAM policies with Global Accelerator to limit the users who have permissions
/// to delete an accelerator. For more information, see Identity
/// and access management in the Global Accelerator Developer Guide.
///
///
///
/// Container for the necessary parameters to execute the DeleteAccelerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAccelerator service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified could not be disabled.
///
///
/// The accelerator that you specified doesn't exist.
///
///
/// The accelerator that you specified has a listener associated with it. You must remove
/// all dependent resources from an accelerator before you can delete it.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DeleteAccelerator Operation
public virtual Task DeleteAcceleratorAsync(DeleteAcceleratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAcceleratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteCustomRoutingAccelerator
internal virtual DeleteCustomRoutingAcceleratorResponse DeleteCustomRoutingAccelerator(DeleteCustomRoutingAcceleratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomRoutingAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomRoutingAcceleratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete a custom routing accelerator. Before you can delete an accelerator, you must
/// disable it and remove all dependent resources (listeners and endpoint groups). To
/// disable the accelerator, update the accelerator to set Enabled
to false.
///
///
///
/// When you create a custom routing accelerator, by default, Global Accelerator provides
/// you with a set of two static IP addresses.
///
///
///
/// The IP addresses are assigned to your accelerator for as long as it exists, even if
/// you disable the accelerator and it no longer accepts or routes traffic. However, when
/// you delete an accelerator, you lose the static IP addresses that are assigned
/// to the accelerator, so you can no longer route traffic by using them. As a best practice,
/// ensure that you have permissions in place to avoid inadvertently deleting accelerators.
/// You can use IAM policies with Global Accelerator to limit the users who have permissions
/// to delete an accelerator. For more information, see Identity
/// and access management in the Global Accelerator Developer Guide.
///
///
///
/// Container for the necessary parameters to execute the DeleteCustomRoutingAccelerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteCustomRoutingAccelerator service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified could not be disabled.
///
///
/// The accelerator that you specified doesn't exist.
///
///
/// The accelerator that you specified has a listener associated with it. You must remove
/// all dependent resources from an accelerator before you can delete it.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DeleteCustomRoutingAccelerator Operation
public virtual Task DeleteCustomRoutingAcceleratorAsync(DeleteCustomRoutingAcceleratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomRoutingAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomRoutingAcceleratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteCustomRoutingEndpointGroup
internal virtual DeleteCustomRoutingEndpointGroupResponse DeleteCustomRoutingEndpointGroup(DeleteCustomRoutingEndpointGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomRoutingEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomRoutingEndpointGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete an endpoint group from a listener for a custom routing accelerator.
///
/// Container for the necessary parameters to execute the DeleteCustomRoutingEndpointGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteCustomRoutingEndpointGroup service method, as returned by GlobalAccelerator.
///
/// The endpoint group that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DeleteCustomRoutingEndpointGroup Operation
public virtual Task DeleteCustomRoutingEndpointGroupAsync(DeleteCustomRoutingEndpointGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomRoutingEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomRoutingEndpointGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteCustomRoutingListener
internal virtual DeleteCustomRoutingListenerResponse DeleteCustomRoutingListener(DeleteCustomRoutingListenerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomRoutingListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomRoutingListenerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete a listener for a custom routing accelerator.
///
/// Container for the necessary parameters to execute the DeleteCustomRoutingListener service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteCustomRoutingListener service method, as returned by GlobalAccelerator.
///
/// The listener that you specified has an endpoint group associated with it. You must
/// remove all dependent resources from a listener before you can delete it.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// The listener that you specified doesn't exist.
///
/// REST API Reference for DeleteCustomRoutingListener Operation
public virtual Task DeleteCustomRoutingListenerAsync(DeleteCustomRoutingListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomRoutingListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomRoutingListenerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteEndpointGroup
internal virtual DeleteEndpointGroupResponse DeleteEndpointGroup(DeleteEndpointGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEndpointGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete an endpoint group from a listener.
///
/// Container for the necessary parameters to execute the DeleteEndpointGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEndpointGroup service method, as returned by GlobalAccelerator.
///
/// The endpoint group that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DeleteEndpointGroup Operation
public virtual Task DeleteEndpointGroupAsync(DeleteEndpointGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEndpointGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteListener
internal virtual DeleteListenerResponse DeleteListener(DeleteListenerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteListenerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete a listener from an accelerator.
///
/// 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 GlobalAccelerator.
///
/// The listener that you specified has an endpoint group associated with it. You must
/// remove all dependent resources from a listener before you can delete it.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// The listener that you specified doesn't exist.
///
/// REST API Reference for DeleteListener Operation
public virtual Task DeleteListenerAsync(DeleteListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteListenerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DenyCustomRoutingTraffic
internal virtual DenyCustomRoutingTrafficResponse DenyCustomRoutingTraffic(DenyCustomRoutingTrafficRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DenyCustomRoutingTrafficRequestMarshaller.Instance;
options.ResponseUnmarshaller = DenyCustomRoutingTrafficResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet
/// endpoint that cannot receive traffic for a custom routing accelerator. You can deny
/// traffic to all destinations in the VPC endpoint, or deny traffic to a specified list
/// of destination IP addresses and ports. Note that you cannot specify IP addresses or
/// ports outside of the range that you configured for the endpoint group.
///
///
///
/// After you make changes, you can verify that the updates are complete by checking the
/// status of your accelerator: the status changes from IN_PROGRESS to DEPLOYED.
///
///
/// Container for the necessary parameters to execute the DenyCustomRoutingTraffic service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DenyCustomRoutingTraffic service method, as returned by GlobalAccelerator.
///
/// The endpoint group that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DenyCustomRoutingTraffic Operation
public virtual Task DenyCustomRoutingTrafficAsync(DenyCustomRoutingTrafficRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DenyCustomRoutingTrafficRequestMarshaller.Instance;
options.ResponseUnmarshaller = DenyCustomRoutingTrafficResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeprovisionByoipCidr
internal virtual DeprovisionByoipCidrResponse DeprovisionByoipCidr(DeprovisionByoipCidrRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeprovisionByoipCidrRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeprovisionByoipCidrResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Releases the specified address range that you provisioned to use with your Amazon
/// Web Services resources through bring your own IP addresses (BYOIP) and deletes the
/// corresponding address pool.
///
///
///
/// Before you can release an address range, you must stop advertising it by using WithdrawByoipCidr
/// and you must not have any accelerators that are using static IP addresses allocated
/// from its address range.
///
///
///
/// For more information, see Bring
/// your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeprovisionByoipCidr service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeprovisionByoipCidr service method, as returned by GlobalAccelerator.
///
/// You don't have access permission.
///
///
/// The CIDR that you specified was not found or is incorrect.
///
///
/// The CIDR that you specified is not valid for this action. For example, the state of
/// the CIDR might be incorrect for this action.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DeprovisionByoipCidr Operation
public virtual Task DeprovisionByoipCidrAsync(DeprovisionByoipCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeprovisionByoipCidrRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeprovisionByoipCidrResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeAccelerator
internal virtual DescribeAcceleratorResponse DescribeAccelerator(DescribeAcceleratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAcceleratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describe an accelerator.
///
/// Container for the necessary parameters to execute the DescribeAccelerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAccelerator service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DescribeAccelerator Operation
public virtual Task DescribeAcceleratorAsync(DescribeAcceleratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAcceleratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeAcceleratorAttributes
internal virtual DescribeAcceleratorAttributesResponse DescribeAcceleratorAttributes(DescribeAcceleratorAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAcceleratorAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAcceleratorAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describe the attributes of an accelerator.
///
/// Container for the necessary parameters to execute the DescribeAcceleratorAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAcceleratorAttributes service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DescribeAcceleratorAttributes Operation
public virtual Task DescribeAcceleratorAttributesAsync(DescribeAcceleratorAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAcceleratorAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAcceleratorAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeCustomRoutingAccelerator
internal virtual DescribeCustomRoutingAcceleratorResponse DescribeCustomRoutingAccelerator(DescribeCustomRoutingAcceleratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomRoutingAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomRoutingAcceleratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describe a custom routing accelerator.
///
/// Container for the necessary parameters to execute the DescribeCustomRoutingAccelerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeCustomRoutingAccelerator service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DescribeCustomRoutingAccelerator Operation
public virtual Task DescribeCustomRoutingAcceleratorAsync(DescribeCustomRoutingAcceleratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomRoutingAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomRoutingAcceleratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeCustomRoutingAcceleratorAttributes
internal virtual DescribeCustomRoutingAcceleratorAttributesResponse DescribeCustomRoutingAcceleratorAttributes(DescribeCustomRoutingAcceleratorAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomRoutingAcceleratorAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomRoutingAcceleratorAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describe the attributes of a custom routing accelerator.
///
/// Container for the necessary parameters to execute the DescribeCustomRoutingAcceleratorAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeCustomRoutingAcceleratorAttributes service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DescribeCustomRoutingAcceleratorAttributes Operation
public virtual Task DescribeCustomRoutingAcceleratorAttributesAsync(DescribeCustomRoutingAcceleratorAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomRoutingAcceleratorAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomRoutingAcceleratorAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeCustomRoutingEndpointGroup
internal virtual DescribeCustomRoutingEndpointGroupResponse DescribeCustomRoutingEndpointGroup(DescribeCustomRoutingEndpointGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomRoutingEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomRoutingEndpointGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describe an endpoint group for a custom routing accelerator.
///
/// Container for the necessary parameters to execute the DescribeCustomRoutingEndpointGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeCustomRoutingEndpointGroup service method, as returned by GlobalAccelerator.
///
/// The endpoint group that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DescribeCustomRoutingEndpointGroup Operation
public virtual Task DescribeCustomRoutingEndpointGroupAsync(DescribeCustomRoutingEndpointGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomRoutingEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomRoutingEndpointGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeCustomRoutingListener
internal virtual DescribeCustomRoutingListenerResponse DescribeCustomRoutingListener(DescribeCustomRoutingListenerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomRoutingListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomRoutingListenerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The description of a listener for a custom routing accelerator.
///
/// Container for the necessary parameters to execute the DescribeCustomRoutingListener service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeCustomRoutingListener service method, as returned by GlobalAccelerator.
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// The listener that you specified doesn't exist.
///
/// REST API Reference for DescribeCustomRoutingListener Operation
public virtual Task DescribeCustomRoutingListenerAsync(DescribeCustomRoutingListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomRoutingListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomRoutingListenerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeEndpointGroup
internal virtual DescribeEndpointGroupResponse DescribeEndpointGroup(DescribeEndpointGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEndpointGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describe an endpoint group.
///
/// Container for the necessary parameters to execute the DescribeEndpointGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEndpointGroup service method, as returned by GlobalAccelerator.
///
/// The endpoint group that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for DescribeEndpointGroup Operation
public virtual Task DescribeEndpointGroupAsync(DescribeEndpointGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEndpointGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeListener
internal virtual DescribeListenerResponse DescribeListener(DescribeListenerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeListenerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describe a listener.
///
/// Container for the necessary parameters to execute the DescribeListener service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeListener service method, as returned by GlobalAccelerator.
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// The listener that you specified doesn't exist.
///
/// REST API Reference for DescribeListener Operation
public virtual Task DescribeListenerAsync(DescribeListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeListenerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAccelerators
internal virtual ListAcceleratorsResponse ListAccelerators(ListAcceleratorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAcceleratorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAcceleratorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List the accelerators for an Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListAccelerators service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAccelerators service method, as returned by GlobalAccelerator.
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// There isn't another item to return.
///
/// REST API Reference for ListAccelerators Operation
public virtual Task ListAcceleratorsAsync(ListAcceleratorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAcceleratorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAcceleratorsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListByoipCidrs
internal virtual ListByoipCidrsResponse ListByoipCidrs(ListByoipCidrsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListByoipCidrsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListByoipCidrsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the IP address ranges that were specified in calls to ProvisionByoipCidr,
/// including the current state and a history of state changes.
///
/// Container for the necessary parameters to execute the ListByoipCidrs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListByoipCidrs service method, as returned by GlobalAccelerator.
///
/// You don't have access permission.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// There isn't another item to return.
///
/// REST API Reference for ListByoipCidrs Operation
public virtual Task ListByoipCidrsAsync(ListByoipCidrsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListByoipCidrsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListByoipCidrsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCustomRoutingAccelerators
internal virtual ListCustomRoutingAcceleratorsResponse ListCustomRoutingAccelerators(ListCustomRoutingAcceleratorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomRoutingAcceleratorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomRoutingAcceleratorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List the custom routing accelerators for an Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListCustomRoutingAccelerators service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCustomRoutingAccelerators service method, as returned by GlobalAccelerator.
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// There isn't another item to return.
///
/// REST API Reference for ListCustomRoutingAccelerators Operation
public virtual Task ListCustomRoutingAcceleratorsAsync(ListCustomRoutingAcceleratorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomRoutingAcceleratorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomRoutingAcceleratorsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCustomRoutingEndpointGroups
internal virtual ListCustomRoutingEndpointGroupsResponse ListCustomRoutingEndpointGroups(ListCustomRoutingEndpointGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomRoutingEndpointGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomRoutingEndpointGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List the endpoint groups that are associated with a listener for a custom routing
/// accelerator.
///
/// Container for the necessary parameters to execute the ListCustomRoutingEndpointGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCustomRoutingEndpointGroups service method, as returned by GlobalAccelerator.
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// There isn't another item to return.
///
///
/// The listener that you specified doesn't exist.
///
/// REST API Reference for ListCustomRoutingEndpointGroups Operation
public virtual Task ListCustomRoutingEndpointGroupsAsync(ListCustomRoutingEndpointGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomRoutingEndpointGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomRoutingEndpointGroupsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCustomRoutingListeners
internal virtual ListCustomRoutingListenersResponse ListCustomRoutingListeners(ListCustomRoutingListenersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomRoutingListenersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomRoutingListenersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List the listeners for a custom routing accelerator.
///
/// Container for the necessary parameters to execute the ListCustomRoutingListeners service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCustomRoutingListeners service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// There isn't another item to return.
///
/// REST API Reference for ListCustomRoutingListeners Operation
public virtual Task ListCustomRoutingListenersAsync(ListCustomRoutingListenersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomRoutingListenersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomRoutingListenersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCustomRoutingPortMappings
internal virtual ListCustomRoutingPortMappingsResponse ListCustomRoutingPortMappings(ListCustomRoutingPortMappingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomRoutingPortMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomRoutingPortMappingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides a complete mapping from the public accelerator IP address and port to destination
/// EC2 instance IP addresses and ports in the virtual public cloud (VPC) subnet endpoint
/// for a custom routing accelerator. For each subnet endpoint that you add, Global Accelerator
/// creates a new static port mapping for the accelerator. The port mappings don't change
/// after Global Accelerator generates them, so you can retrieve and cache the full mapping
/// on your servers.
///
///
///
/// If you remove a subnet from your accelerator, Global Accelerator removes (reclaims)
/// the port mappings. If you add a subnet to your accelerator, Global Accelerator creates
/// new port mappings (the existing ones don't change). If you add or remove EC2 instances
/// in your subnet, the port mappings don't change, because the mappings are created when
/// you add the subnet to Global Accelerator.
///
///
///
/// The mappings also include a flag for each destination denoting which destination IP
/// addresses and ports are allowed or denied traffic.
///
///
/// Container for the necessary parameters to execute the ListCustomRoutingPortMappings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCustomRoutingPortMappings service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// The endpoint group that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// There isn't another item to return.
///
/// REST API Reference for ListCustomRoutingPortMappings Operation
public virtual Task ListCustomRoutingPortMappingsAsync(ListCustomRoutingPortMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomRoutingPortMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomRoutingPortMappingsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCustomRoutingPortMappingsByDestination
internal virtual ListCustomRoutingPortMappingsByDestinationResponse ListCustomRoutingPortMappingsByDestination(ListCustomRoutingPortMappingsByDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomRoutingPortMappingsByDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomRoutingPortMappingsByDestinationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint.
/// The response is the mappings for one destination IP address. This is useful when your
/// subnet endpoint has mappings that span multiple custom routing accelerators in your
/// account, or for scenarios where you only want to list the port mappings for a specific
/// destination instance.
///
/// Container for the necessary parameters to execute the ListCustomRoutingPortMappingsByDestination service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCustomRoutingPortMappingsByDestination service method, as returned by GlobalAccelerator.
///
/// The endpoint that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// There isn't another item to return.
///
/// REST API Reference for ListCustomRoutingPortMappingsByDestination Operation
public virtual Task ListCustomRoutingPortMappingsByDestinationAsync(ListCustomRoutingPortMappingsByDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomRoutingPortMappingsByDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomRoutingPortMappingsByDestinationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListEndpointGroups
internal virtual ListEndpointGroupsResponse ListEndpointGroups(ListEndpointGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEndpointGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEndpointGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List the endpoint groups that are associated with a listener.
///
/// Container for the necessary parameters to execute the ListEndpointGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListEndpointGroups service method, as returned by GlobalAccelerator.
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// There isn't another item to return.
///
///
/// The listener that you specified doesn't exist.
///
/// REST API Reference for ListEndpointGroups Operation
public virtual Task ListEndpointGroupsAsync(ListEndpointGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEndpointGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEndpointGroupsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListListeners
internal virtual ListListenersResponse ListListeners(ListListenersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListListenersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListListenersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List the listeners for an accelerator.
///
/// 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 GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// There isn't another item to return.
///
/// REST API Reference for ListListeners Operation
public virtual Task ListListenersAsync(ListListenersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListListenersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListListenersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List all tags for an accelerator.
///
///
///
/// For more information, see Tagging
/// in Global Accelerator in the Global Accelerator Developer Guide.
///
///
/// 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 GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ProvisionByoipCidr
internal virtual ProvisionByoipCidrResponse ProvisionByoipCidr(ProvisionByoipCidrRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ProvisionByoipCidrRequestMarshaller.Instance;
options.ResponseUnmarshaller = ProvisionByoipCidrResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provisions an IP address range to use with your Amazon Web Services resources through
/// bring your own IP addresses (BYOIP) and creates a corresponding address pool. After
/// the address range is provisioned, it is ready to be advertised using
/// AdvertiseByoipCidr.
///
///
///
/// For more information, see Bring
/// your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
///
///
/// Container for the necessary parameters to execute the ProvisionByoipCidr service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ProvisionByoipCidr service method, as returned by GlobalAccelerator.
///
/// You don't have access permission.
///
///
/// The CIDR that you specified is not valid for this action. For example, the state of
/// the CIDR might be incorrect for this action.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
/// REST API Reference for ProvisionByoipCidr Operation
public virtual Task ProvisionByoipCidrAsync(ProvisionByoipCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ProvisionByoipCidrRequestMarshaller.Instance;
options.ResponseUnmarshaller = ProvisionByoipCidrResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RemoveCustomRoutingEndpoints
internal virtual RemoveCustomRoutingEndpointsResponse RemoveCustomRoutingEndpoints(RemoveCustomRoutingEndpointsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveCustomRoutingEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveCustomRoutingEndpointsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Remove endpoints from a custom routing accelerator.
///
/// Container for the necessary parameters to execute the RemoveCustomRoutingEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RemoveCustomRoutingEndpoints service method, as returned by GlobalAccelerator.
///
/// You don't have access permission.
///
///
/// You can't use both of those options.
///
///
/// The endpoint group that you specified doesn't exist.
///
///
/// The endpoint that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for RemoveCustomRoutingEndpoints Operation
public virtual Task RemoveCustomRoutingEndpointsAsync(RemoveCustomRoutingEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveCustomRoutingEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveCustomRoutingEndpointsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RemoveEndpoints
internal virtual RemoveEndpointsResponse RemoveEndpoints(RemoveEndpointsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveEndpointsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Remove endpoints from an endpoint group.
///
///
///
/// The RemoveEndpoints
API operation is the recommended option for removing
/// endpoints. The alternative is to remove endpoints by updating an endpoint group by
/// using the UpdateEndpointGroup
/// API operation. There are two advantages to using AddEndpoints
to remove
/// endpoints instead:
///
/// -
///
/// It's more convenient, because you only need to specify the endpoints that you want
/// to remove. With the
UpdateEndpointGroup
API operation, you must specify
/// all of the endpoints in the endpoint group except the ones that you want to remove
/// from the group.
///
/// -
///
/// It's faster, because Global Accelerator doesn't need to resolve any endpoints. With
/// the
UpdateEndpointGroup
API operation, Global Accelerator must resolve
/// all of the endpoints that remain in the group.
///
///
///
/// Container for the necessary parameters to execute the RemoveEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RemoveEndpoints service method, as returned by GlobalAccelerator.
///
/// You don't have access permission.
///
///
/// The endpoint group that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// There's already a transaction in progress. Another transaction can't be processed.
///
/// REST API Reference for RemoveEndpoints Operation
public virtual Task RemoveEndpointsAsync(RemoveEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveEndpointsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Add tags to an accelerator resource.
///
///
///
/// For more information, see Tagging
/// in Global Accelerator in the Global Accelerator Developer Guide.
///
///
/// 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 GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Remove tags from a Global Accelerator resource. When you specify a tag key, the action
/// removes both that key and its associated value. The operation succeeds even if you
/// attempt to remove tags from an accelerator that was already removed.
///
///
///
/// For more information, see Tagging
/// in Global Accelerator in the Global Accelerator Developer Guide.
///
///
/// 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 GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateAccelerator
internal virtual UpdateAcceleratorResponse UpdateAccelerator(UpdateAcceleratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAcceleratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Update an accelerator.
///
///
///
/// Global Accelerator is a global service that supports endpoints in multiple Amazon
/// Web Services Regions but you must specify the US West (Oregon) Region to create, update,
/// or otherwise work with accelerators. That is, for example, specify --region
/// us-west-2
on AWS CLI commands.
///
///
///
/// Container for the necessary parameters to execute the UpdateAccelerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateAccelerator service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// You don't have access permission.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for UpdateAccelerator Operation
public virtual Task UpdateAcceleratorAsync(UpdateAcceleratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAcceleratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateAcceleratorAttributes
internal virtual UpdateAcceleratorAttributesResponse UpdateAcceleratorAttributes(UpdateAcceleratorAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAcceleratorAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAcceleratorAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Update the attributes for an accelerator.
///
/// Container for the necessary parameters to execute the UpdateAcceleratorAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateAcceleratorAttributes service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// You don't have access permission.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for UpdateAcceleratorAttributes Operation
public virtual Task UpdateAcceleratorAttributesAsync(UpdateAcceleratorAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAcceleratorAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAcceleratorAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateCustomRoutingAccelerator
internal virtual UpdateCustomRoutingAcceleratorResponse UpdateCustomRoutingAccelerator(UpdateCustomRoutingAcceleratorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCustomRoutingAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCustomRoutingAcceleratorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Update a custom routing accelerator.
///
/// Container for the necessary parameters to execute the UpdateCustomRoutingAccelerator service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateCustomRoutingAccelerator service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for UpdateCustomRoutingAccelerator Operation
public virtual Task UpdateCustomRoutingAcceleratorAsync(UpdateCustomRoutingAcceleratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCustomRoutingAcceleratorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCustomRoutingAcceleratorResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateCustomRoutingAcceleratorAttributes
internal virtual UpdateCustomRoutingAcceleratorAttributesResponse UpdateCustomRoutingAcceleratorAttributes(UpdateCustomRoutingAcceleratorAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCustomRoutingAcceleratorAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCustomRoutingAcceleratorAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Update the attributes for a custom routing accelerator.
///
/// Container for the necessary parameters to execute the UpdateCustomRoutingAcceleratorAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateCustomRoutingAcceleratorAttributes service method, as returned by GlobalAccelerator.
///
/// The accelerator that you specified doesn't exist.
///
///
/// You don't have access permission.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for UpdateCustomRoutingAcceleratorAttributes Operation
public virtual Task UpdateCustomRoutingAcceleratorAttributesAsync(UpdateCustomRoutingAcceleratorAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCustomRoutingAcceleratorAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCustomRoutingAcceleratorAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateCustomRoutingListener
internal virtual UpdateCustomRoutingListenerResponse UpdateCustomRoutingListener(UpdateCustomRoutingListenerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCustomRoutingListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCustomRoutingListenerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Update a listener for a custom routing accelerator.
///
/// Container for the necessary parameters to execute the UpdateCustomRoutingListener service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateCustomRoutingListener service method, as returned by GlobalAccelerator.
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// The port numbers that you specified are not valid numbers or are not unique for this
/// accelerator.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
///
/// The listener that you specified doesn't exist.
///
/// REST API Reference for UpdateCustomRoutingListener Operation
public virtual Task UpdateCustomRoutingListenerAsync(UpdateCustomRoutingListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCustomRoutingListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCustomRoutingListenerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateEndpointGroup
internal virtual UpdateEndpointGroupResponse UpdateEndpointGroup(UpdateEndpointGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEndpointGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Update an endpoint group. A resource must be valid and active when you add it as an
/// endpoint.
///
/// Container for the necessary parameters to execute the UpdateEndpointGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateEndpointGroup service method, as returned by GlobalAccelerator.
///
/// You don't have access permission.
///
///
/// The endpoint group that you specified doesn't exist.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
/// REST API Reference for UpdateEndpointGroup Operation
public virtual Task UpdateEndpointGroupAsync(UpdateEndpointGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEndpointGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEndpointGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateListener
internal virtual UpdateListenerResponse UpdateListener(UpdateListenerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateListenerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Update a listener.
///
/// 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 GlobalAccelerator.
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
///
/// The port numbers that you specified are not valid numbers or are not unique for this
/// accelerator.
///
///
/// Processing your request would cause you to exceed an Global Accelerator limit.
///
///
/// The listener that you specified doesn't exist.
///
/// REST API Reference for UpdateListener Operation
public virtual Task UpdateListenerAsync(UpdateListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateListenerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateListenerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region WithdrawByoipCidr
internal virtual WithdrawByoipCidrResponse WithdrawByoipCidr(WithdrawByoipCidrRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = WithdrawByoipCidrRequestMarshaller.Instance;
options.ResponseUnmarshaller = WithdrawByoipCidrResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Stops advertising an address range that is provisioned as an address pool. You can
/// perform this operation at most once every 10 seconds, even if you specify different
/// address ranges each time.
///
///
///
/// It can take a few minutes before traffic to the specified addresses stops routing
/// to Amazon Web Services because of propagation delays.
///
///
///
/// For more information, see Bring
/// your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
///
///
/// Container for the necessary parameters to execute the WithdrawByoipCidr service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the WithdrawByoipCidr service method, as returned by GlobalAccelerator.
///
/// You don't have access permission.
///
///
/// The CIDR that you specified was not found or is incorrect.
///
///
/// The CIDR that you specified is not valid for this action. For example, the state of
/// the CIDR might be incorrect for this action.
///
///
/// There was an internal error for Global Accelerator.
///
///
/// An argument that you specified is invalid.
///
/// REST API Reference for WithdrawByoipCidr Operation
public virtual Task WithdrawByoipCidrAsync(WithdrawByoipCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = WithdrawByoipCidrRequestMarshaller.Instance;
options.ResponseUnmarshaller = WithdrawByoipCidrResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}