/* * 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 networkmanager-2019-07-05.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.NetworkManager.Model; using Amazon.NetworkManager.Model.Internal.MarshallTransformations; using Amazon.NetworkManager.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.NetworkManager { /// /// Implementation for accessing NetworkManager /// /// Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud /// WAN core network and your Transit Gateway network across Amazon Web Services accounts, /// Regions, and on-premises locations. /// public partial class AmazonNetworkManagerClient : AmazonServiceClient, IAmazonNetworkManager { private static IServiceMetadata serviceMetadata = new AmazonNetworkManagerMetadata(); #region Constructors /// /// Constructs AmazonNetworkManagerClient 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 AmazonNetworkManagerClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonNetworkManagerConfig()) { } /// /// Constructs AmazonNetworkManagerClient 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 AmazonNetworkManagerClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonNetworkManagerConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonNetworkManagerClient 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 AmazonNetworkManagerClient Configuration Object public AmazonNetworkManagerClient(AmazonNetworkManagerConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonNetworkManagerClient with AWS Credentials /// /// AWS Credentials public AmazonNetworkManagerClient(AWSCredentials credentials) : this(credentials, new AmazonNetworkManagerConfig()) { } /// /// Constructs AmazonNetworkManagerClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonNetworkManagerClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonNetworkManagerConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonNetworkManagerClient with AWS Credentials and an /// AmazonNetworkManagerClient Configuration object. /// /// AWS Credentials /// The AmazonNetworkManagerClient Configuration Object public AmazonNetworkManagerClient(AWSCredentials credentials, AmazonNetworkManagerConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonNetworkManagerClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonNetworkManagerClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonNetworkManagerConfig()) { } /// /// Constructs AmazonNetworkManagerClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonNetworkManagerClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonNetworkManagerConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonNetworkManagerClient with AWS Access Key ID, AWS Secret Key and an /// AmazonNetworkManagerClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonNetworkManagerClient Configuration Object public AmazonNetworkManagerClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonNetworkManagerConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonNetworkManagerClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonNetworkManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonNetworkManagerConfig()) { } /// /// Constructs AmazonNetworkManagerClient 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 AmazonNetworkManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonNetworkManagerConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonNetworkManagerClient with AWS Access Key ID, AWS Secret Key and an /// AmazonNetworkManagerClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonNetworkManagerClient Configuration Object public AmazonNetworkManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonNetworkManagerConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private INetworkManagerPaginatorFactory _paginators; /// /// Paginators for the service /// public INetworkManagerPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new NetworkManagerPaginatorFactory(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 AmazonNetworkManagerEndpointResolver()); } /// /// 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 AcceptAttachment internal virtual AcceptAttachmentResponse AcceptAttachment(AcceptAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Accepts a core network attachment request. /// /// /// /// Once the attachment request is accepted by a core network owner, the attachment is /// created and connected to a core network. /// /// /// Container for the necessary parameters to execute the AcceptAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for AcceptAttachment Operation public virtual Task AcceptAttachmentAsync(AcceptAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateConnectPeer internal virtual AssociateConnectPeerResponse AssociateConnectPeer(AssociateConnectPeerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateConnectPeerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a core network Connect peer with a device and optionally, with a link. /// /// /// /// /// If you specify a link, it must be associated with the specified device. You can only /// associate core network Connect peers that have been created on a core network Connect /// attachment on a core network. /// /// /// Container for the necessary parameters to execute the AssociateConnectPeer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateConnectPeer service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for AssociateConnectPeer Operation public virtual Task AssociateConnectPeerAsync(AssociateConnectPeerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateConnectPeerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateCustomerGateway internal virtual AssociateCustomerGatewayResponse AssociateCustomerGateway(AssociateCustomerGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateCustomerGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateCustomerGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a customer gateway with a device and optionally, with a link. If you specify /// a link, it must be associated with the specified device. /// /// /// /// You can only associate customer gateways that are connected to a VPN attachment on /// a transit gateway or core network registered in your global network. When you register /// a transit gateway or core network, customer gateways that are connected to the transit /// gateway are automatically included in the global network. To list customer gateways /// that are connected to a transit gateway, use the DescribeVpnConnections /// EC2 API and filter by transit-gateway-id. /// /// /// /// You cannot associate a customer gateway with more than one device and link. /// /// /// Container for the necessary parameters to execute the AssociateCustomerGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateCustomerGateway service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for AssociateCustomerGateway Operation public virtual Task AssociateCustomerGatewayAsync(AssociateCustomerGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateCustomerGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateCustomerGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateLink internal virtual AssociateLinkResponse AssociateLink(AssociateLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a link to a device. A device can be associated to multiple links and a /// link can be associated to multiple devices. The device and link must be in the same /// global network and the same site. /// /// Container for the necessary parameters to execute the AssociateLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateLink service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for AssociateLink Operation public virtual Task AssociateLinkAsync(AssociateLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateTransitGatewayConnectPeer internal virtual AssociateTransitGatewayConnectPeerResponse AssociateTransitGatewayConnectPeer(AssociateTransitGatewayConnectPeerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTransitGatewayConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTransitGatewayConnectPeerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a transit gateway Connect peer with a device, and optionally, with a link. /// If you specify a link, it must be associated with the specified device. /// /// /// /// You can only associate transit gateway Connect peers that have been created on a transit /// gateway that's registered in your global network. /// /// /// /// You cannot associate a transit gateway Connect peer with more than one device and /// link. /// /// /// Container for the necessary parameters to execute the AssociateTransitGatewayConnectPeer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateTransitGatewayConnectPeer service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for AssociateTransitGatewayConnectPeer Operation public virtual Task AssociateTransitGatewayConnectPeerAsync(AssociateTransitGatewayConnectPeerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTransitGatewayConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTransitGatewayConnectPeerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateConnectAttachment internal virtual CreateConnectAttachmentResponse CreateConnectAttachment(CreateConnectAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a core network Connect attachment from a specified core network attachment. /// /// /// /// /// A core network Connect attachment is a GRE-based tunnel attachment that you can use /// to establish a connection between a core network and an appliance. A core network /// Connect attachment uses an existing VPC attachment as the underlying transport mechanism. /// /// /// Container for the necessary parameters to execute the CreateConnectAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateConnectAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateConnectAttachment Operation public virtual Task CreateConnectAttachmentAsync(CreateConnectAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateConnection internal virtual CreateConnectionResponse CreateConnection(CreateConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a connection between two devices. The devices can be a physical or virtual /// appliance that connects to a third-party appliance in a VPC, or a physical appliance /// that connects to another physical appliance in an on-premises network. /// /// Container for the necessary parameters to execute the CreateConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateConnection service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateConnection Operation public virtual Task CreateConnectionAsync(CreateConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateConnectPeer internal virtual CreateConnectPeerResponse CreateConnectPeer(CreateConnectPeerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectPeerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a core network Connect peer for a specified core network connect attachment /// between a core network and an appliance. The peer address and transit gateway address /// must be the same IP address family (IPv4 or IPv6). /// /// Container for the necessary parameters to execute the CreateConnectPeer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateConnectPeer service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateConnectPeer Operation public virtual Task CreateConnectPeerAsync(CreateConnectPeerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectPeerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCoreNetwork internal virtual CreateCoreNetworkResponse CreateCoreNetwork(CreateCoreNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCoreNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCoreNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a core network as part of your global network, and optionally, with a core /// network policy. /// /// Container for the necessary parameters to execute the CreateCoreNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCoreNetwork service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// Describes a core network policy exception. /// /// /// The request has failed due to an internal error. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateCoreNetwork Operation public virtual Task CreateCoreNetworkAsync(CreateCoreNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCoreNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCoreNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDevice internal virtual CreateDeviceResponse CreateDevice(CreateDeviceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeviceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeviceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new device in a global network. If you specify both a site ID and a location, /// the location of the site is used for visualization in the Network Manager console. /// /// Container for the necessary parameters to execute the CreateDevice service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDevice service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateDevice Operation public virtual Task CreateDeviceAsync(CreateDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeviceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeviceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateGlobalNetwork internal virtual CreateGlobalNetworkResponse CreateGlobalNetwork(CreateGlobalNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGlobalNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGlobalNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new, empty global network. /// /// Container for the necessary parameters to execute the CreateGlobalNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateGlobalNetwork service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateGlobalNetwork Operation public virtual Task CreateGlobalNetworkAsync(CreateGlobalNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGlobalNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGlobalNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateLink internal virtual CreateLinkResponse CreateLink(CreateLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new link for a specified site. /// /// Container for the necessary parameters to execute the CreateLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLink service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateLink Operation public virtual Task CreateLinkAsync(CreateLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateSite internal virtual CreateSiteResponse CreateSite(CreateSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new site in a global network. /// /// Container for the necessary parameters to execute the CreateSite service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSite service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateSite Operation public virtual Task CreateSiteAsync(CreateSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSiteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateSiteToSiteVpnAttachment internal virtual CreateSiteToSiteVpnAttachmentResponse CreateSiteToSiteVpnAttachment(CreateSiteToSiteVpnAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSiteToSiteVpnAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSiteToSiteVpnAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an Amazon Web Services site-to-site VPN attachment on an edge location of /// a core network. /// /// Container for the necessary parameters to execute the CreateSiteToSiteVpnAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSiteToSiteVpnAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateSiteToSiteVpnAttachment Operation public virtual Task CreateSiteToSiteVpnAttachmentAsync(CreateSiteToSiteVpnAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSiteToSiteVpnAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSiteToSiteVpnAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayPeering internal virtual CreateTransitGatewayPeeringResponse CreateTransitGatewayPeering(CreateTransitGatewayPeeringRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayPeeringRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayPeeringResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a transit gateway peering connection. /// /// Container for the necessary parameters to execute the CreateTransitGatewayPeering service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayPeering service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateTransitGatewayPeering Operation public virtual Task CreateTransitGatewayPeeringAsync(CreateTransitGatewayPeeringRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayPeeringRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayPeeringResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayRouteTableAttachment internal virtual CreateTransitGatewayRouteTableAttachmentResponse CreateTransitGatewayRouteTableAttachment(CreateTransitGatewayRouteTableAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayRouteTableAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayRouteTableAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a transit gateway route table attachment. /// /// Container for the necessary parameters to execute the CreateTransitGatewayRouteTableAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayRouteTableAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateTransitGatewayRouteTableAttachment Operation public virtual Task CreateTransitGatewayRouteTableAttachmentAsync(CreateTransitGatewayRouteTableAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayRouteTableAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayRouteTableAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVpcAttachment internal virtual CreateVpcAttachmentResponse CreateVpcAttachment(CreateVpcAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a VPC attachment on an edge location of a core network. /// /// Container for the necessary parameters to execute the CreateVpcAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVpcAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for CreateVpcAttachment Operation public virtual Task CreateVpcAttachmentAsync(CreateVpcAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAttachment internal virtual DeleteAttachmentResponse DeleteAttachment(DeleteAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an attachment. Supports all attachment types. /// /// Container for the necessary parameters to execute the DeleteAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeleteAttachment Operation public virtual Task DeleteAttachmentAsync(DeleteAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteConnection internal virtual DeleteConnectionResponse DeleteConnection(DeleteConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified connection in your global network. /// /// Container for the necessary parameters to execute the DeleteConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteConnection service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeleteConnection Operation public virtual Task DeleteConnectionAsync(DeleteConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteConnectPeer internal virtual DeleteConnectPeerResponse DeleteConnectPeer(DeleteConnectPeerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectPeerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a Connect peer. /// /// Container for the necessary parameters to execute the DeleteConnectPeer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteConnectPeer service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeleteConnectPeer Operation public virtual Task DeleteConnectPeerAsync(DeleteConnectPeerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectPeerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCoreNetwork internal virtual DeleteCoreNetworkResponse DeleteCoreNetwork(DeleteCoreNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCoreNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCoreNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a core network along with all core network policies. This can only be done /// if there are no attachments on a core network. /// /// Container for the necessary parameters to execute the DeleteCoreNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCoreNetwork service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeleteCoreNetwork Operation public virtual Task DeleteCoreNetworkAsync(DeleteCoreNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCoreNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCoreNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCoreNetworkPolicyVersion internal virtual DeleteCoreNetworkPolicyVersionResponse DeleteCoreNetworkPolicyVersion(DeleteCoreNetworkPolicyVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCoreNetworkPolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCoreNetworkPolicyVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a policy version from a core network. You can't delete the current LIVE policy. /// /// Container for the necessary parameters to execute the DeleteCoreNetworkPolicyVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCoreNetworkPolicyVersion service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeleteCoreNetworkPolicyVersion Operation public virtual Task DeleteCoreNetworkPolicyVersionAsync(DeleteCoreNetworkPolicyVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCoreNetworkPolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCoreNetworkPolicyVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDevice internal virtual DeleteDeviceResponse DeleteDevice(DeleteDeviceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeviceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeviceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing device. You must first disassociate the device from any links /// and customer gateways. /// /// Container for the necessary parameters to execute the DeleteDevice service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDevice service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeleteDevice Operation public virtual Task DeleteDeviceAsync(DeleteDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeviceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeviceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteGlobalNetwork internal virtual DeleteGlobalNetworkResponse DeleteGlobalNetwork(DeleteGlobalNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGlobalNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGlobalNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing global network. You must first delete all global network objects /// (devices, links, and sites), deregister all transit gateways, and delete any core /// networks. /// /// Container for the necessary parameters to execute the DeleteGlobalNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteGlobalNetwork service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeleteGlobalNetwork Operation public virtual Task DeleteGlobalNetworkAsync(DeleteGlobalNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGlobalNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGlobalNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteLink internal virtual DeleteLinkResponse DeleteLink(DeleteLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing link. You must first disassociate the link from any devices and /// customer gateways. /// /// Container for the necessary parameters to execute the DeleteLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLink service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeleteLink Operation public virtual Task DeleteLinkAsync(DeleteLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeletePeering internal virtual DeletePeeringResponse DeletePeering(DeletePeeringRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePeeringRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePeeringResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing peering connection. /// /// Container for the necessary parameters to execute the DeletePeering service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePeering service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeletePeering Operation public virtual Task DeletePeeringAsync(DeletePeeringRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePeeringRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePeeringResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteResourcePolicy internal virtual DeleteResourcePolicyResponse DeleteResourcePolicy(DeleteResourcePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a resource policy for the specified resource. This revokes the access of the /// principals specified in the resource policy. /// /// Container for the necessary parameters to execute the DeleteResourcePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteResourcePolicy service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeleteResourcePolicy Operation public virtual Task DeleteResourcePolicyAsync(DeleteResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteSite internal virtual DeleteSiteResponse DeleteSite(DeleteSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing site. The site cannot be associated with any device or link. /// /// Container for the necessary parameters to execute the DeleteSite service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSite service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeleteSite Operation public virtual Task DeleteSiteAsync(DeleteSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSiteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeregisterTransitGateway internal virtual DeregisterTransitGatewayResponse DeregisterTransitGateway(DeregisterTransitGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterTransitGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterTransitGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deregisters a transit gateway from your global network. This action does not delete /// your transit gateway, or modify any of its attachments. This action removes any customer /// gateway associations. /// /// Container for the necessary parameters to execute the DeregisterTransitGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterTransitGateway service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DeregisterTransitGateway Operation public virtual Task DeregisterTransitGatewayAsync(DeregisterTransitGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterTransitGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterTransitGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeGlobalNetworks internal virtual DescribeGlobalNetworksResponse DescribeGlobalNetworks(DescribeGlobalNetworksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGlobalNetworksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGlobalNetworksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more global networks. By default, all global networks are described. /// To describe the objects in your global network, you must use the appropriate Get* /// action. For example, to list the transit gateways in your global network, use GetTransitGatewayRegistrations. /// /// Container for the necessary parameters to execute the DescribeGlobalNetworks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeGlobalNetworks service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DescribeGlobalNetworks Operation public virtual Task DescribeGlobalNetworksAsync(DescribeGlobalNetworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGlobalNetworksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGlobalNetworksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateConnectPeer internal virtual DisassociateConnectPeerResponse DisassociateConnectPeer(DisassociateConnectPeerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateConnectPeerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a core network Connect peer from a device and a link. /// /// Container for the necessary parameters to execute the DisassociateConnectPeer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateConnectPeer service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DisassociateConnectPeer Operation public virtual Task DisassociateConnectPeerAsync(DisassociateConnectPeerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateConnectPeerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateCustomerGateway internal virtual DisassociateCustomerGatewayResponse DisassociateCustomerGateway(DisassociateCustomerGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateCustomerGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateCustomerGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a customer gateway from a device and a link. /// /// Container for the necessary parameters to execute the DisassociateCustomerGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateCustomerGateway service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DisassociateCustomerGateway Operation public virtual Task DisassociateCustomerGatewayAsync(DisassociateCustomerGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateCustomerGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateCustomerGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateLink internal virtual DisassociateLinkResponse DisassociateLink(DisassociateLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates an existing device from a link. You must first disassociate any customer /// gateways that are associated with the link. /// /// Container for the necessary parameters to execute the DisassociateLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateLink service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DisassociateLink Operation public virtual Task DisassociateLinkAsync(DisassociateLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateTransitGatewayConnectPeer internal virtual DisassociateTransitGatewayConnectPeerResponse DisassociateTransitGatewayConnectPeer(DisassociateTransitGatewayConnectPeerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTransitGatewayConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTransitGatewayConnectPeerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a transit gateway Connect peer from a device and link. /// /// Container for the necessary parameters to execute the DisassociateTransitGatewayConnectPeer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateTransitGatewayConnectPeer service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for DisassociateTransitGatewayConnectPeer Operation public virtual Task DisassociateTransitGatewayConnectPeerAsync(DisassociateTransitGatewayConnectPeerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTransitGatewayConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTransitGatewayConnectPeerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ExecuteCoreNetworkChangeSet internal virtual ExecuteCoreNetworkChangeSetResponse ExecuteCoreNetworkChangeSet(ExecuteCoreNetworkChangeSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExecuteCoreNetworkChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ExecuteCoreNetworkChangeSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Executes a change set on your core network. Deploys changes globally based on the /// policy submitted.. /// /// Container for the necessary parameters to execute the ExecuteCoreNetworkChangeSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExecuteCoreNetworkChangeSet service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for ExecuteCoreNetworkChangeSet Operation public virtual Task ExecuteCoreNetworkChangeSetAsync(ExecuteCoreNetworkChangeSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExecuteCoreNetworkChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ExecuteCoreNetworkChangeSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetConnectAttachment internal virtual GetConnectAttachmentResponse GetConnectAttachment(GetConnectAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a core network Connect attachment. /// /// Container for the necessary parameters to execute the GetConnectAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetConnectAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetConnectAttachment Operation public virtual Task GetConnectAttachmentAsync(GetConnectAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetConnections internal virtual GetConnectionsResponse GetConnections(GetConnectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about one or more of your connections in a global network. /// /// Container for the necessary parameters to execute the GetConnections service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetConnections service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetConnections Operation public virtual Task GetConnectionsAsync(GetConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetConnectPeer internal virtual GetConnectPeerResponse GetConnectPeer(GetConnectPeerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectPeerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a core network Connect peer. /// /// Container for the necessary parameters to execute the GetConnectPeer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetConnectPeer service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetConnectPeer Operation public virtual Task GetConnectPeerAsync(GetConnectPeerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectPeerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetConnectPeerAssociations internal virtual GetConnectPeerAssociationsResponse GetConnectPeerAssociations(GetConnectPeerAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectPeerAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectPeerAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a core network Connect peer associations. /// /// Container for the necessary parameters to execute the GetConnectPeerAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetConnectPeerAssociations service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetConnectPeerAssociations Operation public virtual Task GetConnectPeerAssociationsAsync(GetConnectPeerAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectPeerAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectPeerAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCoreNetwork internal virtual GetCoreNetworkResponse GetCoreNetwork(GetCoreNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about the LIVE policy for a core network. /// /// Container for the necessary parameters to execute the GetCoreNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCoreNetwork service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetCoreNetwork Operation public virtual Task GetCoreNetworkAsync(GetCoreNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCoreNetworkChangeEvents internal virtual GetCoreNetworkChangeEventsResponse GetCoreNetworkChangeEvents(GetCoreNetworkChangeEventsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreNetworkChangeEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreNetworkChangeEventsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a core network change event. /// /// Container for the necessary parameters to execute the GetCoreNetworkChangeEvents service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCoreNetworkChangeEvents service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetCoreNetworkChangeEvents Operation public virtual Task GetCoreNetworkChangeEventsAsync(GetCoreNetworkChangeEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreNetworkChangeEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreNetworkChangeEventsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCoreNetworkChangeSet internal virtual GetCoreNetworkChangeSetResponse GetCoreNetworkChangeSet(GetCoreNetworkChangeSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreNetworkChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreNetworkChangeSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a change set between the LIVE core network policy and a submitted policy. /// /// Container for the necessary parameters to execute the GetCoreNetworkChangeSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCoreNetworkChangeSet service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetCoreNetworkChangeSet Operation public virtual Task GetCoreNetworkChangeSetAsync(GetCoreNetworkChangeSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreNetworkChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreNetworkChangeSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCoreNetworkPolicy internal virtual GetCoreNetworkPolicyResponse GetCoreNetworkPolicy(GetCoreNetworkPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreNetworkPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreNetworkPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns details about a core network policy. You can get details about your current /// live policy or any previous policy version. /// /// Container for the necessary parameters to execute the GetCoreNetworkPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCoreNetworkPolicy service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetCoreNetworkPolicy Operation public virtual Task GetCoreNetworkPolicyAsync(GetCoreNetworkPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreNetworkPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreNetworkPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCustomerGatewayAssociations internal virtual GetCustomerGatewayAssociationsResponse GetCustomerGatewayAssociations(GetCustomerGatewayAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCustomerGatewayAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCustomerGatewayAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the association information for customer gateways that are associated with devices /// and links in your global network. /// /// Container for the necessary parameters to execute the GetCustomerGatewayAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCustomerGatewayAssociations service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetCustomerGatewayAssociations Operation public virtual Task GetCustomerGatewayAssociationsAsync(GetCustomerGatewayAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCustomerGatewayAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCustomerGatewayAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDevices internal virtual GetDevicesResponse GetDevices(GetDevicesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDevicesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDevicesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about one or more of your devices in a global network. /// /// Container for the necessary parameters to execute the GetDevices service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDevices service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetDevices Operation public virtual Task GetDevicesAsync(GetDevicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDevicesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDevicesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetLinkAssociations internal virtual GetLinkAssociationsResponse GetLinkAssociations(GetLinkAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLinkAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLinkAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the link associations for a device or a link. Either the device ID or the link /// ID must be specified. /// /// Container for the necessary parameters to execute the GetLinkAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetLinkAssociations service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetLinkAssociations Operation public virtual Task GetLinkAssociationsAsync(GetLinkAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetLinkAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLinkAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetLinks internal virtual GetLinksResponse GetLinks(GetLinksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLinksRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLinksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about one or more links in a specified global network. /// /// /// /// If you specify the site ID, you cannot specify the type or provider in the same request. /// You can specify the type and provider in the same request. /// /// /// Container for the necessary parameters to execute the GetLinks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetLinks service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetLinks Operation public virtual Task GetLinksAsync(GetLinksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetLinksRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLinksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetNetworkResourceCounts internal virtual GetNetworkResourceCountsResponse GetNetworkResourceCounts(GetNetworkResourceCountsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkResourceCountsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkResourceCountsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the count of network resources, by resource type, for the specified global network. /// /// Container for the necessary parameters to execute the GetNetworkResourceCounts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetNetworkResourceCounts service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetNetworkResourceCounts Operation public virtual Task GetNetworkResourceCountsAsync(GetNetworkResourceCountsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkResourceCountsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkResourceCountsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetNetworkResourceRelationships internal virtual GetNetworkResourceRelationshipsResponse GetNetworkResourceRelationships(GetNetworkResourceRelationshipsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkResourceRelationshipsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkResourceRelationshipsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the network resource relationships for the specified global network. /// /// Container for the necessary parameters to execute the GetNetworkResourceRelationships service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetNetworkResourceRelationships service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetNetworkResourceRelationships Operation public virtual Task GetNetworkResourceRelationshipsAsync(GetNetworkResourceRelationshipsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkResourceRelationshipsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkResourceRelationshipsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetNetworkResources internal virtual GetNetworkResourcesResponse GetNetworkResources(GetNetworkResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the network resources for the specified global network. /// /// /// /// The results include information from the corresponding Describe call for the resource, /// minus any sensitive information such as pre-shared keys. /// /// /// Container for the necessary parameters to execute the GetNetworkResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetNetworkResources service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetNetworkResources Operation public virtual Task GetNetworkResourcesAsync(GetNetworkResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkResourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetNetworkRoutes internal virtual GetNetworkRoutesResponse GetNetworkRoutes(GetNetworkRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkRoutesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the network routes of the specified global network. /// /// Container for the necessary parameters to execute the GetNetworkRoutes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetNetworkRoutes service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetNetworkRoutes Operation public virtual Task GetNetworkRoutesAsync(GetNetworkRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkRoutesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetNetworkTelemetry internal virtual GetNetworkTelemetryResponse GetNetworkTelemetry(GetNetworkTelemetryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkTelemetryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkTelemetryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the network telemetry of the specified global network. /// /// Container for the necessary parameters to execute the GetNetworkTelemetry service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetNetworkTelemetry service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetNetworkTelemetry Operation public virtual Task GetNetworkTelemetryAsync(GetNetworkTelemetryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkTelemetryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkTelemetryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetResourcePolicy internal virtual GetResourcePolicyResponse GetResourcePolicy(GetResourcePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourcePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a resource policy. /// /// Container for the necessary parameters to execute the GetResourcePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetResourcePolicy service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetResourcePolicy Operation public virtual Task GetResourcePolicyAsync(GetResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourcePolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRouteAnalysis internal virtual GetRouteAnalysisResponse GetRouteAnalysis(GetRouteAnalysisRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRouteAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRouteAnalysisResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the specified route analysis. /// /// Container for the necessary parameters to execute the GetRouteAnalysis service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRouteAnalysis service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetRouteAnalysis Operation public virtual Task GetRouteAnalysisAsync(GetRouteAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRouteAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRouteAnalysisResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSites internal virtual GetSitesResponse GetSites(GetSitesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSitesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSitesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about one or more of your sites in a global network. /// /// Container for the necessary parameters to execute the GetSites service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSites service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetSites Operation public virtual Task GetSitesAsync(GetSitesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSitesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSitesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSiteToSiteVpnAttachment internal virtual GetSiteToSiteVpnAttachmentResponse GetSiteToSiteVpnAttachment(GetSiteToSiteVpnAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSiteToSiteVpnAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSiteToSiteVpnAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a site-to-site VPN attachment. /// /// Container for the necessary parameters to execute the GetSiteToSiteVpnAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSiteToSiteVpnAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetSiteToSiteVpnAttachment Operation public virtual Task GetSiteToSiteVpnAttachmentAsync(GetSiteToSiteVpnAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSiteToSiteVpnAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSiteToSiteVpnAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTransitGatewayConnectPeerAssociations internal virtual GetTransitGatewayConnectPeerAssociationsResponse GetTransitGatewayConnectPeerAssociations(GetTransitGatewayConnectPeerAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayConnectPeerAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayConnectPeerAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about one or more of your transit gateway Connect peer associations /// in a global network. /// /// Container for the necessary parameters to execute the GetTransitGatewayConnectPeerAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTransitGatewayConnectPeerAssociations service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetTransitGatewayConnectPeerAssociations Operation public virtual Task GetTransitGatewayConnectPeerAssociationsAsync(GetTransitGatewayConnectPeerAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayConnectPeerAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayConnectPeerAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTransitGatewayPeering internal virtual GetTransitGatewayPeeringResponse GetTransitGatewayPeering(GetTransitGatewayPeeringRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayPeeringRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayPeeringResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a transit gateway peer. /// /// Container for the necessary parameters to execute the GetTransitGatewayPeering service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTransitGatewayPeering service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetTransitGatewayPeering Operation public virtual Task GetTransitGatewayPeeringAsync(GetTransitGatewayPeeringRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayPeeringRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayPeeringResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTransitGatewayRegistrations internal virtual GetTransitGatewayRegistrationsResponse GetTransitGatewayRegistrations(GetTransitGatewayRegistrationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayRegistrationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayRegistrationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the transit gateway registrations in a specified global network. /// /// Container for the necessary parameters to execute the GetTransitGatewayRegistrations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTransitGatewayRegistrations service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetTransitGatewayRegistrations Operation public virtual Task GetTransitGatewayRegistrationsAsync(GetTransitGatewayRegistrationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayRegistrationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayRegistrationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTransitGatewayRouteTableAttachment internal virtual GetTransitGatewayRouteTableAttachmentResponse GetTransitGatewayRouteTableAttachment(GetTransitGatewayRouteTableAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayRouteTableAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayRouteTableAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a transit gateway route table attachment. /// /// Container for the necessary parameters to execute the GetTransitGatewayRouteTableAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTransitGatewayRouteTableAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetTransitGatewayRouteTableAttachment Operation public virtual Task GetTransitGatewayRouteTableAttachmentAsync(GetTransitGatewayRouteTableAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayRouteTableAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayRouteTableAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetVpcAttachment internal virtual GetVpcAttachmentResponse GetVpcAttachment(GetVpcAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpcAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a VPC attachment. /// /// Container for the necessary parameters to execute the GetVpcAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetVpcAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for GetVpcAttachment Operation public virtual Task GetVpcAttachmentAsync(GetVpcAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpcAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAttachments internal virtual ListAttachmentsResponse ListAttachments(ListAttachmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAttachmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAttachmentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of core network attachments. /// /// Container for the necessary parameters to execute the ListAttachments service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAttachments service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for ListAttachments Operation public virtual Task ListAttachmentsAsync(ListAttachmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAttachmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAttachmentsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListConnectPeers internal virtual ListConnectPeersResponse ListConnectPeers(ListConnectPeersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListConnectPeersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConnectPeersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of core network Connect peers. /// /// Container for the necessary parameters to execute the ListConnectPeers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListConnectPeers service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for ListConnectPeers Operation public virtual Task ListConnectPeersAsync(ListConnectPeersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListConnectPeersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConnectPeersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCoreNetworkPolicyVersions internal virtual ListCoreNetworkPolicyVersionsResponse ListCoreNetworkPolicyVersions(ListCoreNetworkPolicyVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCoreNetworkPolicyVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCoreNetworkPolicyVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of core network policy versions. /// /// Container for the necessary parameters to execute the ListCoreNetworkPolicyVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCoreNetworkPolicyVersions service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for ListCoreNetworkPolicyVersions Operation public virtual Task ListCoreNetworkPolicyVersionsAsync(ListCoreNetworkPolicyVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCoreNetworkPolicyVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCoreNetworkPolicyVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCoreNetworks internal virtual ListCoreNetworksResponse ListCoreNetworks(ListCoreNetworksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCoreNetworksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCoreNetworksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of owned and shared core networks. /// /// Container for the necessary parameters to execute the ListCoreNetworks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCoreNetworks service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for ListCoreNetworks Operation public virtual Task ListCoreNetworksAsync(ListCoreNetworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCoreNetworksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCoreNetworksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListOrganizationServiceAccessStatus internal virtual ListOrganizationServiceAccessStatusResponse ListOrganizationServiceAccessStatus(ListOrganizationServiceAccessStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListOrganizationServiceAccessStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOrganizationServiceAccessStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the status of the Service Linked Role (SLR) deployment for the accounts in a /// given Amazon Web Services Organization. /// /// Container for the necessary parameters to execute the ListOrganizationServiceAccessStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListOrganizationServiceAccessStatus service method, as returned by NetworkManager. /// REST API Reference for ListOrganizationServiceAccessStatus Operation public virtual Task ListOrganizationServiceAccessStatusAsync(ListOrganizationServiceAccessStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListOrganizationServiceAccessStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOrganizationServiceAccessStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListPeerings internal virtual ListPeeringsResponse ListPeerings(ListPeeringsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPeeringsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPeeringsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the peerings for a core network. /// /// Container for the necessary parameters to execute the ListPeerings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPeerings service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for ListPeerings Operation public virtual Task ListPeeringsAsync(ListPeeringsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPeeringsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPeeringsResponseUnmarshaller.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); } /// /// Lists the tags for a specified resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// 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 PutCoreNetworkPolicy internal virtual PutCoreNetworkPolicyResponse PutCoreNetworkPolicy(PutCoreNetworkPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutCoreNetworkPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutCoreNetworkPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new, immutable version of a core network policy. A subsequent change set /// is created showing the differences between the LIVE policy and the submitted policy. /// /// Container for the necessary parameters to execute the PutCoreNetworkPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutCoreNetworkPolicy service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// Describes a core network policy exception. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for PutCoreNetworkPolicy Operation public virtual Task PutCoreNetworkPolicyAsync(PutCoreNetworkPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutCoreNetworkPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutCoreNetworkPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutResourcePolicy internal virtual PutResourcePolicyResponse PutResourcePolicy(PutResourcePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates or updates a resource policy. /// /// Container for the necessary parameters to execute the PutResourcePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutResourcePolicy service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for PutResourcePolicy Operation public virtual Task PutResourcePolicyAsync(PutResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterTransitGateway internal virtual RegisterTransitGatewayResponse RegisterTransitGateway(RegisterTransitGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterTransitGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterTransitGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Registers a transit gateway in your global network. Not all Regions support transit /// gateways for global networks. For a list of the supported Regions, see Region /// Availability in the Amazon Web Services Transit Gateways for Global Networks /// User Guide. The transit gateway can be in any of the supported Amazon Web Services /// Regions, but it must be owned by the same Amazon Web Services account that owns the /// global network. You cannot register a transit gateway in more than one global network. /// /// Container for the necessary parameters to execute the RegisterTransitGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterTransitGateway service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for RegisterTransitGateway Operation public virtual Task RegisterTransitGatewayAsync(RegisterTransitGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterTransitGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterTransitGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RejectAttachment internal virtual RejectAttachmentResponse RejectAttachment(RejectAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RejectAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Rejects a core network attachment request. /// /// Container for the necessary parameters to execute the RejectAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RejectAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for RejectAttachment Operation public virtual Task RejectAttachmentAsync(RejectAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RejectAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RestoreCoreNetworkPolicyVersion internal virtual RestoreCoreNetworkPolicyVersionResponse RestoreCoreNetworkPolicyVersion(RestoreCoreNetworkPolicyVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreCoreNetworkPolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreCoreNetworkPolicyVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Restores a previous policy version as a new, immutable version of a core network policy. /// A subsequent change set is created showing the differences between the LIVE policy /// and restored policy. /// /// Container for the necessary parameters to execute the RestoreCoreNetworkPolicyVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RestoreCoreNetworkPolicyVersion service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for RestoreCoreNetworkPolicyVersion Operation public virtual Task RestoreCoreNetworkPolicyVersionAsync(RestoreCoreNetworkPolicyVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreCoreNetworkPolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreCoreNetworkPolicyVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartOrganizationServiceAccessUpdate internal virtual StartOrganizationServiceAccessUpdateResponse StartOrganizationServiceAccessUpdate(StartOrganizationServiceAccessUpdateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartOrganizationServiceAccessUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = StartOrganizationServiceAccessUpdateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables the Network Manager service for an Amazon Web Services Organization. This /// can only be called by a management account within the organization. /// /// Container for the necessary parameters to execute the StartOrganizationServiceAccessUpdate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartOrganizationServiceAccessUpdate service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for StartOrganizationServiceAccessUpdate Operation public virtual Task StartOrganizationServiceAccessUpdateAsync(StartOrganizationServiceAccessUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartOrganizationServiceAccessUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = StartOrganizationServiceAccessUpdateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartRouteAnalysis internal virtual StartRouteAnalysisResponse StartRouteAnalysis(StartRouteAnalysisRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartRouteAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = StartRouteAnalysisResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts analyzing the routing path between the specified source and destination. For /// more information, see Route /// Analyzer. /// /// Container for the necessary parameters to execute the StartRouteAnalysis service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartRouteAnalysis service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for StartRouteAnalysis Operation public virtual Task StartRouteAnalysisAsync(StartRouteAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartRouteAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = StartRouteAnalysisResponseUnmarshaller.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); } /// /// Tags a specified resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// 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); } /// /// Removes tags from a specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// 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 UpdateConnection internal virtual UpdateConnectionResponse UpdateConnection(UpdateConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the information for an existing connection. To remove information for any /// of the parameters, specify an empty string. /// /// Container for the necessary parameters to execute the UpdateConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateConnection service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for UpdateConnection Operation public virtual Task UpdateConnectionAsync(UpdateConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateCoreNetwork internal virtual UpdateCoreNetworkResponse UpdateCoreNetwork(UpdateCoreNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCoreNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCoreNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the description of a core network. /// /// Container for the necessary parameters to execute the UpdateCoreNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateCoreNetwork service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for UpdateCoreNetwork Operation public virtual Task UpdateCoreNetworkAsync(UpdateCoreNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCoreNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCoreNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDevice internal virtual UpdateDeviceResponse UpdateDevice(UpdateDeviceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeviceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeviceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the details for an existing device. To remove information for any of the parameters, /// specify an empty string. /// /// Container for the necessary parameters to execute the UpdateDevice service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDevice service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for UpdateDevice Operation public virtual Task UpdateDeviceAsync(UpdateDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeviceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeviceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateGlobalNetwork internal virtual UpdateGlobalNetworkResponse UpdateGlobalNetwork(UpdateGlobalNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGlobalNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGlobalNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an existing global network. To remove information for any of the parameters, /// specify an empty string. /// /// Container for the necessary parameters to execute the UpdateGlobalNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateGlobalNetwork service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for UpdateGlobalNetwork Operation public virtual Task UpdateGlobalNetworkAsync(UpdateGlobalNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGlobalNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGlobalNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateLink internal virtual UpdateLinkResponse UpdateLink(UpdateLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the details for an existing link. To remove information for any of the parameters, /// specify an empty string. /// /// Container for the necessary parameters to execute the UpdateLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateLink service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// A service limit was exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for UpdateLink Operation public virtual Task UpdateLinkAsync(UpdateLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateNetworkResourceMetadata internal virtual UpdateNetworkResourceMetadataResponse UpdateNetworkResourceMetadata(UpdateNetworkResourceMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNetworkResourceMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNetworkResourceMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the resource metadata for the specified global network. /// /// Container for the necessary parameters to execute the UpdateNetworkResourceMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateNetworkResourceMetadata service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for UpdateNetworkResourceMetadata Operation public virtual Task UpdateNetworkResourceMetadataAsync(UpdateNetworkResourceMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNetworkResourceMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNetworkResourceMetadataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateSite internal virtual UpdateSiteResponse UpdateSite(UpdateSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the information for an existing site. To remove information for any of the /// parameters, specify an empty string. /// /// Container for the necessary parameters to execute the UpdateSite service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSite service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for UpdateSite Operation public virtual Task UpdateSiteAsync(UpdateSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSiteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateVpcAttachment internal virtual UpdateVpcAttachmentResponse UpdateVpcAttachment(UpdateVpcAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVpcAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a VPC attachment. /// /// Container for the necessary parameters to execute the UpdateVpcAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateVpcAttachment service method, as returned by NetworkManager. /// /// You do not have sufficient access to perform this action. /// /// /// There was a conflict processing the request. Updating or deleting the resource can /// cause an inconsistent state. /// /// /// The request has failed due to an internal error. /// /// /// The specified resource could not be found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints. /// /// REST API Reference for UpdateVpcAttachment Operation public virtual Task UpdateVpcAttachmentAsync(UpdateVpcAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVpcAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }