/* * 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 privatenetworks-2021-12-03.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.Private5G.Model; using Amazon.Private5G.Model.Internal.MarshallTransformations; using Amazon.Private5G.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Private5G { /// /// Implementation for accessing Private5G /// /// Amazon Web Services Private 5G is a managed service that makes it easy to deploy, /// operate, and scale your own private mobile network at your on-premises location. Private /// 5G provides the pre-configured hardware and software for mobile networks, helps automate /// setup, and scales capacity on demand to support additional devices as needed. /// public partial class AmazonPrivate5GClient : AmazonServiceClient, IAmazonPrivate5G { private static IServiceMetadata serviceMetadata = new AmazonPrivate5GMetadata(); private IPrivate5GPaginatorFactory _paginators; /// /// Paginators for the service /// public IPrivate5GPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new Private5GPaginatorFactory(this); } return this._paginators; } } #region Constructors /// /// Constructs AmazonPrivate5GClient 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 AmazonPrivate5GClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonPrivate5GConfig()) { } /// /// Constructs AmazonPrivate5GClient 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 AmazonPrivate5GClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonPrivate5GConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonPrivate5GClient 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 AmazonPrivate5GClient Configuration Object public AmazonPrivate5GClient(AmazonPrivate5GConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonPrivate5GClient with AWS Credentials /// /// AWS Credentials public AmazonPrivate5GClient(AWSCredentials credentials) : this(credentials, new AmazonPrivate5GConfig()) { } /// /// Constructs AmazonPrivate5GClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonPrivate5GClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonPrivate5GConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonPrivate5GClient with AWS Credentials and an /// AmazonPrivate5GClient Configuration object. /// /// AWS Credentials /// The AmazonPrivate5GClient Configuration Object public AmazonPrivate5GClient(AWSCredentials credentials, AmazonPrivate5GConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonPrivate5GClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonPrivate5GClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonPrivate5GConfig()) { } /// /// Constructs AmazonPrivate5GClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonPrivate5GClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonPrivate5GConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonPrivate5GClient with AWS Access Key ID, AWS Secret Key and an /// AmazonPrivate5GClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonPrivate5GClient Configuration Object public AmazonPrivate5GClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonPrivate5GConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonPrivate5GClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonPrivate5GClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonPrivate5GConfig()) { } /// /// Constructs AmazonPrivate5GClient 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 AmazonPrivate5GClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonPrivate5GConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonPrivate5GClient with AWS Access Key ID, AWS Secret Key and an /// AmazonPrivate5GClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonPrivate5GClient Configuration Object public AmazonPrivate5GClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonPrivate5GConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonPrivate5GEndpointResolver()); } /// /// 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 AcknowledgeOrderReceipt /// /// Acknowledges that the specified network order was received. /// /// Container for the necessary parameters to execute the AcknowledgeOrderReceipt service method. /// /// The response from the AcknowledgeOrderReceipt service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for AcknowledgeOrderReceipt Operation public virtual AcknowledgeOrderReceiptResponse AcknowledgeOrderReceipt(AcknowledgeOrderReceiptRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcknowledgeOrderReceiptRequestMarshaller.Instance; options.ResponseUnmarshaller = AcknowledgeOrderReceiptResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Acknowledges that the specified network order was received. /// /// Container for the necessary parameters to execute the AcknowledgeOrderReceipt service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcknowledgeOrderReceipt service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for AcknowledgeOrderReceipt Operation public virtual Task AcknowledgeOrderReceiptAsync(AcknowledgeOrderReceiptRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcknowledgeOrderReceiptRequestMarshaller.Instance; options.ResponseUnmarshaller = AcknowledgeOrderReceiptResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ActivateDeviceIdentifier /// /// Activates the specified device identifier. /// /// Container for the necessary parameters to execute the ActivateDeviceIdentifier service method. /// /// The response from the ActivateDeviceIdentifier service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ActivateDeviceIdentifier Operation public virtual ActivateDeviceIdentifierResponse ActivateDeviceIdentifier(ActivateDeviceIdentifierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateDeviceIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateDeviceIdentifierResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Activates the specified device identifier. /// /// Container for the necessary parameters to execute the ActivateDeviceIdentifier service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ActivateDeviceIdentifier service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ActivateDeviceIdentifier Operation public virtual Task ActivateDeviceIdentifierAsync(ActivateDeviceIdentifierRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateDeviceIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateDeviceIdentifierResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ActivateNetworkSite /// /// Activates the specified network site. /// /// Container for the necessary parameters to execute the ActivateNetworkSite service method. /// /// The response from the ActivateNetworkSite service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ActivateNetworkSite Operation public virtual ActivateNetworkSiteResponse ActivateNetworkSite(ActivateNetworkSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateNetworkSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateNetworkSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Activates the specified network site. /// /// Container for the necessary parameters to execute the ActivateNetworkSite service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ActivateNetworkSite service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ActivateNetworkSite Operation public virtual Task ActivateNetworkSiteAsync(ActivateNetworkSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateNetworkSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateNetworkSiteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ConfigureAccessPoint /// /// Configures the specified network resource. /// /// /// /// Use this action to specify the geographic position of the hardware. You must provide /// Certified Professional Installer (CPI) credentials in the request so that we can obtain /// spectrum grants. For more information, see Radio /// units in the Amazon Web Services Private 5G User Guide. /// /// /// Container for the necessary parameters to execute the ConfigureAccessPoint service method. /// /// The response from the ConfigureAccessPoint service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ConfigureAccessPoint Operation public virtual ConfigureAccessPointResponse ConfigureAccessPoint(ConfigureAccessPointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ConfigureAccessPointRequestMarshaller.Instance; options.ResponseUnmarshaller = ConfigureAccessPointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Configures the specified network resource. /// /// /// /// Use this action to specify the geographic position of the hardware. You must provide /// Certified Professional Installer (CPI) credentials in the request so that we can obtain /// spectrum grants. For more information, see Radio /// units in the Amazon Web Services Private 5G User Guide. /// /// /// Container for the necessary parameters to execute the ConfigureAccessPoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ConfigureAccessPoint service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ConfigureAccessPoint Operation public virtual Task ConfigureAccessPointAsync(ConfigureAccessPointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ConfigureAccessPointRequestMarshaller.Instance; options.ResponseUnmarshaller = ConfigureAccessPointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateNetwork /// /// Creates a network. /// /// Container for the necessary parameters to execute the CreateNetwork service method. /// /// The response from the CreateNetwork service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The limit was exceeded. /// /// /// The request failed validation. /// /// REST API Reference for CreateNetwork Operation public virtual CreateNetworkResponse CreateNetwork(CreateNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a network. /// /// Container for the necessary parameters to execute the CreateNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateNetwork service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The limit was exceeded. /// /// /// The request failed validation. /// /// REST API Reference for CreateNetwork Operation public virtual Task CreateNetworkAsync(CreateNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateNetworkSite /// /// Creates a network site. /// /// Container for the necessary parameters to execute the CreateNetworkSite service method. /// /// The response from the CreateNetworkSite service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for CreateNetworkSite Operation public virtual CreateNetworkSiteResponse CreateNetworkSite(CreateNetworkSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a network site. /// /// Container for the necessary parameters to execute the CreateNetworkSite service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateNetworkSite service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for CreateNetworkSite Operation public virtual Task CreateNetworkSiteAsync(CreateNetworkSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkSiteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeactivateDeviceIdentifier /// /// Deactivates the specified device identifier. /// /// Container for the necessary parameters to execute the DeactivateDeviceIdentifier service method. /// /// The response from the DeactivateDeviceIdentifier service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for DeactivateDeviceIdentifier Operation public virtual DeactivateDeviceIdentifierResponse DeactivateDeviceIdentifier(DeactivateDeviceIdentifierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeactivateDeviceIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = DeactivateDeviceIdentifierResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deactivates the specified device identifier. /// /// Container for the necessary parameters to execute the DeactivateDeviceIdentifier service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeactivateDeviceIdentifier service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for DeactivateDeviceIdentifier Operation public virtual Task DeactivateDeviceIdentifierAsync(DeactivateDeviceIdentifierRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeactivateDeviceIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = DeactivateDeviceIdentifierResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteNetwork /// /// Deletes the specified network. You must delete network sites before you delete the /// network. For more information, see DeleteNetworkSite /// in the API Reference for Amazon Web Services Private 5G. /// /// Container for the necessary parameters to execute the DeleteNetwork service method. /// /// The response from the DeleteNetwork service method, as returned by Private5G. /// /// You do not have permission to perform this operation. /// /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for DeleteNetwork Operation public virtual DeleteNetworkResponse DeleteNetwork(DeleteNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified network. You must delete network sites before you delete the /// network. For more information, see DeleteNetworkSite /// in the API Reference for Amazon Web Services Private 5G. /// /// Container for the necessary parameters to execute the DeleteNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNetwork service method, as returned by Private5G. /// /// You do not have permission to perform this operation. /// /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for DeleteNetwork Operation public virtual Task DeleteNetworkAsync(DeleteNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteNetworkSite /// /// Deletes the specified network site. Return the hardware after you delete the network /// site. You are responsible for minimum charges. For more information, see Hardware /// returns in the Amazon Web Services Private 5G User Guide. /// /// Container for the necessary parameters to execute the DeleteNetworkSite service method. /// /// The response from the DeleteNetworkSite service method, as returned by Private5G. /// /// You do not have permission to perform this operation. /// /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for DeleteNetworkSite Operation public virtual DeleteNetworkSiteResponse DeleteNetworkSite(DeleteNetworkSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified network site. Return the hardware after you delete the network /// site. You are responsible for minimum charges. For more information, see Hardware /// returns in the Amazon Web Services Private 5G User Guide. /// /// Container for the necessary parameters to execute the DeleteNetworkSite service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNetworkSite service method, as returned by Private5G. /// /// You do not have permission to perform this operation. /// /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for DeleteNetworkSite Operation public virtual Task DeleteNetworkSiteAsync(DeleteNetworkSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkSiteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDeviceIdentifier /// /// Gets the specified device identifier. /// /// Container for the necessary parameters to execute the GetDeviceIdentifier service method. /// /// The response from the GetDeviceIdentifier service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for GetDeviceIdentifier Operation public virtual GetDeviceIdentifierResponse GetDeviceIdentifier(GetDeviceIdentifierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeviceIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeviceIdentifierResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the specified device identifier. /// /// Container for the necessary parameters to execute the GetDeviceIdentifier service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDeviceIdentifier service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for GetDeviceIdentifier Operation public virtual Task GetDeviceIdentifierAsync(GetDeviceIdentifierRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeviceIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeviceIdentifierResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetNetwork /// /// Gets the specified network. /// /// Container for the necessary parameters to execute the GetNetwork service method. /// /// The response from the GetNetwork service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for GetNetwork Operation public virtual GetNetworkResponse GetNetwork(GetNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the specified network. /// /// Container for the necessary parameters to execute the GetNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetNetwork service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for GetNetwork Operation public virtual Task GetNetworkAsync(GetNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetNetworkResource /// /// Gets the specified network resource. /// /// Container for the necessary parameters to execute the GetNetworkResource service method. /// /// The response from the GetNetworkResource service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for GetNetworkResource Operation public virtual GetNetworkResourceResponse GetNetworkResource(GetNetworkResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the specified network resource. /// /// Container for the necessary parameters to execute the GetNetworkResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetNetworkResource service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for GetNetworkResource Operation public virtual Task GetNetworkResourceAsync(GetNetworkResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetNetworkSite /// /// Gets the specified network site. /// /// Container for the necessary parameters to execute the GetNetworkSite service method. /// /// The response from the GetNetworkSite service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for GetNetworkSite Operation public virtual GetNetworkSiteResponse GetNetworkSite(GetNetworkSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the specified network site. /// /// Container for the necessary parameters to execute the GetNetworkSite service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetNetworkSite service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for GetNetworkSite Operation public virtual Task GetNetworkSiteAsync(GetNetworkSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkSiteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetOrder /// /// Gets the specified order. /// /// Container for the necessary parameters to execute the GetOrder service method. /// /// The response from the GetOrder service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for GetOrder Operation public virtual GetOrderResponse GetOrder(GetOrderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetOrderRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOrderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the specified order. /// /// Container for the necessary parameters to execute the GetOrder service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetOrder service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for GetOrder Operation public virtual Task GetOrderAsync(GetOrderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetOrderRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOrderResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDeviceIdentifiers /// /// Lists device identifiers. Add filters to your request to return a more specific list /// of results. Use filters to match the Amazon Resource Name (ARN) of an order, the status /// of device identifiers, or the ARN of the traffic group. /// /// /// /// If you specify multiple filters, filters are joined with an OR, and the request returns /// results that match all of the specified filters. /// /// /// Container for the necessary parameters to execute the ListDeviceIdentifiers service method. /// /// The response from the ListDeviceIdentifiers service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ListDeviceIdentifiers Operation public virtual ListDeviceIdentifiersResponse ListDeviceIdentifiers(ListDeviceIdentifiersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeviceIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeviceIdentifiersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists device identifiers. Add filters to your request to return a more specific list /// of results. Use filters to match the Amazon Resource Name (ARN) of an order, the status /// of device identifiers, or the ARN of the traffic group. /// /// /// /// If you specify multiple filters, filters are joined with an OR, and the request returns /// results that match all of the specified filters. /// /// /// Container for the necessary parameters to execute the ListDeviceIdentifiers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDeviceIdentifiers service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ListDeviceIdentifiers Operation public virtual Task ListDeviceIdentifiersAsync(ListDeviceIdentifiersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeviceIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeviceIdentifiersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListNetworkResources /// /// Lists network resources. Add filters to your request to return a more specific list /// of results. Use filters to match the Amazon Resource Name (ARN) of an order or the /// status of network resources. /// /// /// /// If you specify multiple filters, filters are joined with an OR, and the request returns /// results that match all of the specified filters. /// /// /// Container for the necessary parameters to execute the ListNetworkResources service method. /// /// The response from the ListNetworkResources service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ListNetworkResources Operation public virtual ListNetworkResourcesResponse ListNetworkResources(ListNetworkResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListNetworkResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNetworkResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists network resources. Add filters to your request to return a more specific list /// of results. Use filters to match the Amazon Resource Name (ARN) of an order or the /// status of network resources. /// /// /// /// If you specify multiple filters, filters are joined with an OR, and the request returns /// results that match all of the specified filters. /// /// /// Container for the necessary parameters to execute the ListNetworkResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListNetworkResources service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ListNetworkResources Operation public virtual Task ListNetworkResourcesAsync(ListNetworkResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListNetworkResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNetworkResourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListNetworks /// /// Lists networks. Add filters to your request to return a more specific list of results. /// Use filters to match the status of the network. /// /// Container for the necessary parameters to execute the ListNetworks service method. /// /// The response from the ListNetworks service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ListNetworks Operation public virtual ListNetworksResponse ListNetworks(ListNetworksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListNetworksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNetworksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists networks. Add filters to your request to return a more specific list of results. /// Use filters to match the status of the network. /// /// Container for the necessary parameters to execute the ListNetworks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListNetworks service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ListNetworks Operation public virtual Task ListNetworksAsync(ListNetworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListNetworksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNetworksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListNetworkSites /// /// Lists network sites. Add filters to your request to return a more specific list of /// results. Use filters to match the status of the network site. /// /// Container for the necessary parameters to execute the ListNetworkSites service method. /// /// The response from the ListNetworkSites service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ListNetworkSites Operation public virtual ListNetworkSitesResponse ListNetworkSites(ListNetworkSitesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListNetworkSitesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNetworkSitesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists network sites. Add filters to your request to return a more specific list of /// results. Use filters to match the status of the network site. /// /// Container for the necessary parameters to execute the ListNetworkSites service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListNetworkSites service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ListNetworkSites Operation public virtual Task ListNetworkSitesAsync(ListNetworkSitesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListNetworkSitesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNetworkSitesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListOrders /// /// Lists orders. Add filters to your request to return a more specific list of results. /// Use filters to match the Amazon Resource Name (ARN) of the network site or the status /// of the order. /// /// /// /// If you specify multiple filters, filters are joined with an OR, and the request returns /// results that match all of the specified filters. /// /// /// Container for the necessary parameters to execute the ListOrders service method. /// /// The response from the ListOrders service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ListOrders Operation public virtual ListOrdersResponse ListOrders(ListOrdersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListOrdersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOrdersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists orders. Add filters to your request to return a more specific list of results. /// Use filters to match the Amazon Resource Name (ARN) of the network site or the status /// of the order. /// /// /// /// If you specify multiple filters, filters are joined with an OR, and the request returns /// results that match all of the specified filters. /// /// /// Container for the necessary parameters to execute the ListOrders service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListOrders service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for ListOrders Operation public virtual Task ListOrdersAsync(ListOrdersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListOrdersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOrdersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource /// /// Lists the tags for the specified resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by Private5G. /// /// You do not have permission to perform this operation. /// /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The request failed validation. /// /// REST API Reference for ListTagsForResource Operation public 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 the specified resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by Private5G. /// /// You do not have permission to perform this operation. /// /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The request failed validation. /// /// 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 Ping /// /// Checks the health of the service. /// /// Container for the necessary parameters to execute the Ping service method. /// /// The response from the Ping service method, as returned by Private5G. /// /// Information about an internal error. /// /// REST API Reference for Ping Operation public virtual PingResponse Ping(PingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PingRequestMarshaller.Instance; options.ResponseUnmarshaller = PingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Checks the health of the service. /// /// Container for the necessary parameters to execute the Ping service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the Ping service method, as returned by Private5G. /// /// Information about an internal error. /// /// REST API Reference for Ping Operation public virtual Task PingAsync(PingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PingRequestMarshaller.Instance; options.ResponseUnmarshaller = PingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartNetworkResourceUpdate /// /// Use this action to do the following tasks: /// ///
  • /// /// Update the duration and renewal status of the commitment period for a radio unit. /// The update goes into effect immediately. /// ///
  • /// /// Request a replacement for a network resource. /// ///
  • /// /// Request that you return a network resource. /// ///
/// /// After you submit a request to replace or return a network resource, the status of /// the network resource changes to CREATING_SHIPPING_LABEL. The shipping /// label is available when the status of the network resource is PENDING_RETURN. /// After the network resource is successfully returned, its status changes to DELETED. /// For more information, see Return /// a radio unit. /// ///
/// Container for the necessary parameters to execute the StartNetworkResourceUpdate service method. /// /// The response from the StartNetworkResourceUpdate service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for StartNetworkResourceUpdate Operation public virtual StartNetworkResourceUpdateResponse StartNetworkResourceUpdate(StartNetworkResourceUpdateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartNetworkResourceUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = StartNetworkResourceUpdateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Use this action to do the following tasks: /// ///
  • /// /// Update the duration and renewal status of the commitment period for a radio unit. /// The update goes into effect immediately. /// ///
  • /// /// Request a replacement for a network resource. /// ///
  • /// /// Request that you return a network resource. /// ///
/// /// After you submit a request to replace or return a network resource, the status of /// the network resource changes to CREATING_SHIPPING_LABEL. The shipping /// label is available when the status of the network resource is PENDING_RETURN. /// After the network resource is successfully returned, its status changes to DELETED. /// For more information, see Return /// a radio unit. /// ///
/// Container for the necessary parameters to execute the StartNetworkResourceUpdate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartNetworkResourceUpdate service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for StartNetworkResourceUpdate Operation public virtual Task StartNetworkResourceUpdateAsync(StartNetworkResourceUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartNetworkResourceUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = StartNetworkResourceUpdateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource /// /// Adds tags to the specified resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by Private5G. /// /// You do not have permission to perform this operation. /// /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The request failed validation. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds tags to the specified resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by Private5G. /// /// You do not have permission to perform this operation. /// /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The request failed validation. /// /// 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 /// /// Removes tags from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by Private5G. /// /// You do not have permission to perform this operation. /// /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The request failed validation. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes tags from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by Private5G. /// /// You do not have permission to perform this operation. /// /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The request failed validation. /// /// 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 UpdateNetworkSite /// /// Updates the specified network site. /// /// Container for the necessary parameters to execute the UpdateNetworkSite service method. /// /// The response from the UpdateNetworkSite service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for UpdateNetworkSite Operation public virtual UpdateNetworkSiteResponse UpdateNetworkSite(UpdateNetworkSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNetworkSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNetworkSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the specified network site. /// /// Container for the necessary parameters to execute the UpdateNetworkSite service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateNetworkSite service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for UpdateNetworkSite Operation public virtual Task UpdateNetworkSiteAsync(UpdateNetworkSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNetworkSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNetworkSiteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateNetworkSitePlan /// /// Updates the specified network site plan. /// /// Container for the necessary parameters to execute the UpdateNetworkSitePlan service method. /// /// The response from the UpdateNetworkSitePlan service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for UpdateNetworkSitePlan Operation public virtual UpdateNetworkSitePlanResponse UpdateNetworkSitePlan(UpdateNetworkSitePlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNetworkSitePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNetworkSitePlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the specified network site plan. /// /// Container for the necessary parameters to execute the UpdateNetworkSitePlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateNetworkSitePlan service method, as returned by Private5G. /// /// Information about an internal error. /// /// /// The resource was not found. /// /// /// The request failed validation. /// /// REST API Reference for UpdateNetworkSitePlan Operation public virtual Task UpdateNetworkSitePlanAsync(UpdateNetworkSitePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNetworkSitePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNetworkSitePlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }