/*
* 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.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();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IPrivate5GPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IPrivate5GPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new Private5GPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#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);
}
///
/// Initiates the asynchronous execution of the AcknowledgeOrderReceipt operation.
///
///
/// Container for the necessary parameters to execute the AcknowledgeOrderReceipt operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAcknowledgeOrderReceipt
/// operation.
/// REST API Reference for AcknowledgeOrderReceipt Operation
public virtual IAsyncResult BeginAcknowledgeOrderReceipt(AcknowledgeOrderReceiptRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AcknowledgeOrderReceiptRequestMarshaller.Instance;
options.ResponseUnmarshaller = AcknowledgeOrderReceiptResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AcknowledgeOrderReceipt operation.
///
///
/// The IAsyncResult returned by the call to BeginAcknowledgeOrderReceipt.
///
/// Returns a AcknowledgeOrderReceiptResult from Private5G.
/// REST API Reference for AcknowledgeOrderReceipt Operation
public virtual AcknowledgeOrderReceiptResponse EndAcknowledgeOrderReceipt(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ActivateDeviceIdentifier operation.
///
///
/// Container for the necessary parameters to execute the ActivateDeviceIdentifier operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndActivateDeviceIdentifier
/// operation.
/// REST API Reference for ActivateDeviceIdentifier Operation
public virtual IAsyncResult BeginActivateDeviceIdentifier(ActivateDeviceIdentifierRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ActivateDeviceIdentifierRequestMarshaller.Instance;
options.ResponseUnmarshaller = ActivateDeviceIdentifierResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ActivateDeviceIdentifier operation.
///
///
/// The IAsyncResult returned by the call to BeginActivateDeviceIdentifier.
///
/// Returns a ActivateDeviceIdentifierResult from Private5G.
/// REST API Reference for ActivateDeviceIdentifier Operation
public virtual ActivateDeviceIdentifierResponse EndActivateDeviceIdentifier(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ActivateNetworkSite operation.
///
///
/// Container for the necessary parameters to execute the ActivateNetworkSite operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndActivateNetworkSite
/// operation.
/// REST API Reference for ActivateNetworkSite Operation
public virtual IAsyncResult BeginActivateNetworkSite(ActivateNetworkSiteRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ActivateNetworkSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = ActivateNetworkSiteResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ActivateNetworkSite operation.
///
///
/// The IAsyncResult returned by the call to BeginActivateNetworkSite.
///
/// Returns a ActivateNetworkSiteResult from Private5G.
/// REST API Reference for ActivateNetworkSite Operation
public virtual ActivateNetworkSiteResponse EndActivateNetworkSite(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ConfigureAccessPoint operation.
///
///
/// Container for the necessary parameters to execute the ConfigureAccessPoint operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndConfigureAccessPoint
/// operation.
/// REST API Reference for ConfigureAccessPoint Operation
public virtual IAsyncResult BeginConfigureAccessPoint(ConfigureAccessPointRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ConfigureAccessPointRequestMarshaller.Instance;
options.ResponseUnmarshaller = ConfigureAccessPointResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ConfigureAccessPoint operation.
///
///
/// The IAsyncResult returned by the call to BeginConfigureAccessPoint.
///
/// Returns a ConfigureAccessPointResult from Private5G.
/// REST API Reference for ConfigureAccessPoint Operation
public virtual ConfigureAccessPointResponse EndConfigureAccessPoint(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateNetwork operation.
///
///
/// Container for the necessary parameters to execute the CreateNetwork operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateNetwork
/// operation.
/// REST API Reference for CreateNetwork Operation
public virtual IAsyncResult BeginCreateNetwork(CreateNetworkRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateNetworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateNetworkResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateNetwork operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateNetwork.
///
/// Returns a CreateNetworkResult from Private5G.
/// REST API Reference for CreateNetwork Operation
public virtual CreateNetworkResponse EndCreateNetwork(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateNetworkSite operation.
///
///
/// Container for the necessary parameters to execute the CreateNetworkSite operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateNetworkSite
/// operation.
/// REST API Reference for CreateNetworkSite Operation
public virtual IAsyncResult BeginCreateNetworkSite(CreateNetworkSiteRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateNetworkSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateNetworkSiteResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateNetworkSite operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateNetworkSite.
///
/// Returns a CreateNetworkSiteResult from Private5G.
/// REST API Reference for CreateNetworkSite Operation
public virtual CreateNetworkSiteResponse EndCreateNetworkSite(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeactivateDeviceIdentifier operation.
///
///
/// Container for the necessary parameters to execute the DeactivateDeviceIdentifier operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeactivateDeviceIdentifier
/// operation.
/// REST API Reference for DeactivateDeviceIdentifier Operation
public virtual IAsyncResult BeginDeactivateDeviceIdentifier(DeactivateDeviceIdentifierRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeactivateDeviceIdentifierRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeactivateDeviceIdentifierResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeactivateDeviceIdentifier operation.
///
///
/// The IAsyncResult returned by the call to BeginDeactivateDeviceIdentifier.
///
/// Returns a DeactivateDeviceIdentifierResult from Private5G.
/// REST API Reference for DeactivateDeviceIdentifier Operation
public virtual DeactivateDeviceIdentifierResponse EndDeactivateDeviceIdentifier(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteNetwork operation.
///
///
/// Container for the necessary parameters to execute the DeleteNetwork operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteNetwork
/// operation.
/// REST API Reference for DeleteNetwork Operation
public virtual IAsyncResult BeginDeleteNetwork(DeleteNetworkRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteNetworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteNetworkResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteNetwork operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteNetwork.
///
/// Returns a DeleteNetworkResult from Private5G.
/// REST API Reference for DeleteNetwork Operation
public virtual DeleteNetworkResponse EndDeleteNetwork(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteNetworkSite operation.
///
///
/// Container for the necessary parameters to execute the DeleteNetworkSite operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteNetworkSite
/// operation.
/// REST API Reference for DeleteNetworkSite Operation
public virtual IAsyncResult BeginDeleteNetworkSite(DeleteNetworkSiteRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteNetworkSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteNetworkSiteResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteNetworkSite operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteNetworkSite.
///
/// Returns a DeleteNetworkSiteResult from Private5G.
/// REST API Reference for DeleteNetworkSite Operation
public virtual DeleteNetworkSiteResponse EndDeleteNetworkSite(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetDeviceIdentifier operation.
///
///
/// Container for the necessary parameters to execute the GetDeviceIdentifier operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeviceIdentifier
/// operation.
/// REST API Reference for GetDeviceIdentifier Operation
public virtual IAsyncResult BeginGetDeviceIdentifier(GetDeviceIdentifierRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeviceIdentifierRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeviceIdentifierResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDeviceIdentifier operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDeviceIdentifier.
///
/// Returns a GetDeviceIdentifierResult from Private5G.
/// REST API Reference for GetDeviceIdentifier Operation
public virtual GetDeviceIdentifierResponse EndGetDeviceIdentifier(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetNetwork operation.
///
///
/// Container for the necessary parameters to execute the GetNetwork operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetNetwork
/// operation.
/// REST API Reference for GetNetwork Operation
public virtual IAsyncResult BeginGetNetwork(GetNetworkRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetNetworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetNetworkResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetNetwork operation.
///
///
/// The IAsyncResult returned by the call to BeginGetNetwork.
///
/// Returns a GetNetworkResult from Private5G.
/// REST API Reference for GetNetwork Operation
public virtual GetNetworkResponse EndGetNetwork(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetNetworkResource operation.
///
///
/// Container for the necessary parameters to execute the GetNetworkResource operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetNetworkResource
/// operation.
/// REST API Reference for GetNetworkResource Operation
public virtual IAsyncResult BeginGetNetworkResource(GetNetworkResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetNetworkResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetNetworkResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetNetworkResource operation.
///
///
/// The IAsyncResult returned by the call to BeginGetNetworkResource.
///
/// Returns a GetNetworkResourceResult from Private5G.
/// REST API Reference for GetNetworkResource Operation
public virtual GetNetworkResourceResponse EndGetNetworkResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetNetworkSite operation.
///
///
/// Container for the necessary parameters to execute the GetNetworkSite operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetNetworkSite
/// operation.
/// REST API Reference for GetNetworkSite Operation
public virtual IAsyncResult BeginGetNetworkSite(GetNetworkSiteRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetNetworkSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetNetworkSiteResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetNetworkSite operation.
///
///
/// The IAsyncResult returned by the call to BeginGetNetworkSite.
///
/// Returns a GetNetworkSiteResult from Private5G.
/// REST API Reference for GetNetworkSite Operation
public virtual GetNetworkSiteResponse EndGetNetworkSite(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetOrder operation.
///
///
/// Container for the necessary parameters to execute the GetOrder operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetOrder
/// operation.
/// REST API Reference for GetOrder Operation
public virtual IAsyncResult BeginGetOrder(GetOrderRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOrderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOrderResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetOrder operation.
///
///
/// The IAsyncResult returned by the call to BeginGetOrder.
///
/// Returns a GetOrderResult from Private5G.
/// REST API Reference for GetOrder Operation
public virtual GetOrderResponse EndGetOrder(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListDeviceIdentifiers operation.
///
///
/// Container for the necessary parameters to execute the ListDeviceIdentifiers operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDeviceIdentifiers
/// operation.
/// REST API Reference for ListDeviceIdentifiers Operation
public virtual IAsyncResult BeginListDeviceIdentifiers(ListDeviceIdentifiersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDeviceIdentifiersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDeviceIdentifiersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDeviceIdentifiers operation.
///
///
/// The IAsyncResult returned by the call to BeginListDeviceIdentifiers.
///
/// Returns a ListDeviceIdentifiersResult from Private5G.
/// REST API Reference for ListDeviceIdentifiers Operation
public virtual ListDeviceIdentifiersResponse EndListDeviceIdentifiers(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListNetworkResources operation.
///
///
/// Container for the necessary parameters to execute the ListNetworkResources operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListNetworkResources
/// operation.
/// REST API Reference for ListNetworkResources Operation
public virtual IAsyncResult BeginListNetworkResources(ListNetworkResourcesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNetworkResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNetworkResourcesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListNetworkResources operation.
///
///
/// The IAsyncResult returned by the call to BeginListNetworkResources.
///
/// Returns a ListNetworkResourcesResult from Private5G.
/// REST API Reference for ListNetworkResources Operation
public virtual ListNetworkResourcesResponse EndListNetworkResources(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListNetworks operation.
///
///
/// Container for the necessary parameters to execute the ListNetworks operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListNetworks
/// operation.
/// REST API Reference for ListNetworks Operation
public virtual IAsyncResult BeginListNetworks(ListNetworksRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNetworksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNetworksResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListNetworks operation.
///
///
/// The IAsyncResult returned by the call to BeginListNetworks.
///
/// Returns a ListNetworksResult from Private5G.
/// REST API Reference for ListNetworks Operation
public virtual ListNetworksResponse EndListNetworks(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListNetworkSites operation.
///
///
/// Container for the necessary parameters to execute the ListNetworkSites operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListNetworkSites
/// operation.
/// REST API Reference for ListNetworkSites Operation
public virtual IAsyncResult BeginListNetworkSites(ListNetworkSitesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNetworkSitesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNetworkSitesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListNetworkSites operation.
///
///
/// The IAsyncResult returned by the call to BeginListNetworkSites.
///
/// Returns a ListNetworkSitesResult from Private5G.
/// REST API Reference for ListNetworkSites Operation
public virtual ListNetworkSitesResponse EndListNetworkSites(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListOrders operation.
///
///
/// Container for the necessary parameters to execute the ListOrders operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListOrders
/// operation.
/// REST API Reference for ListOrders Operation
public virtual IAsyncResult BeginListOrders(ListOrdersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOrdersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOrdersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListOrders operation.
///
///
/// The IAsyncResult returned by the call to BeginListOrders.
///
/// Returns a ListOrdersResult from Private5G.
/// REST API Reference for ListOrders Operation
public virtual ListOrdersResponse EndListOrders(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from Private5G.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the Ping operation.
///
///
/// Container for the necessary parameters to execute the Ping operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPing
/// operation.
/// REST API Reference for Ping Operation
public virtual IAsyncResult BeginPing(PingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PingRequestMarshaller.Instance;
options.ResponseUnmarshaller = PingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the Ping operation.
///
///
/// The IAsyncResult returned by the call to BeginPing.
///
/// Returns a PingResult from Private5G.
/// REST API Reference for Ping Operation
public virtual PingResponse EndPing(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the StartNetworkResourceUpdate operation.
///
///
/// Container for the necessary parameters to execute the StartNetworkResourceUpdate operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartNetworkResourceUpdate
/// operation.
/// REST API Reference for StartNetworkResourceUpdate Operation
public virtual IAsyncResult BeginStartNetworkResourceUpdate(StartNetworkResourceUpdateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartNetworkResourceUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartNetworkResourceUpdateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartNetworkResourceUpdate operation.
///
///
/// The IAsyncResult returned by the call to BeginStartNetworkResourceUpdate.
///
/// Returns a StartNetworkResourceUpdateResult from Private5G.
/// REST API Reference for StartNetworkResourceUpdate Operation
public virtual StartNetworkResourceUpdateResponse EndStartNetworkResourceUpdate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from Private5G.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from Private5G.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateNetworkSite operation.
///
///
/// Container for the necessary parameters to execute the UpdateNetworkSite operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateNetworkSite
/// operation.
/// REST API Reference for UpdateNetworkSite Operation
public virtual IAsyncResult BeginUpdateNetworkSite(UpdateNetworkSiteRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateNetworkSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateNetworkSiteResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateNetworkSite operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateNetworkSite.
///
/// Returns a UpdateNetworkSiteResult from Private5G.
/// REST API Reference for UpdateNetworkSite Operation
public virtual UpdateNetworkSiteResponse EndUpdateNetworkSite(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateNetworkSitePlan operation.
///
///
/// Container for the necessary parameters to execute the UpdateNetworkSitePlan operation on AmazonPrivate5GClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateNetworkSitePlan
/// operation.
/// REST API Reference for UpdateNetworkSitePlan Operation
public virtual IAsyncResult BeginUpdateNetworkSitePlan(UpdateNetworkSitePlanRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateNetworkSitePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateNetworkSitePlanResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateNetworkSitePlan operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateNetworkSitePlan.
///
/// Returns a UpdateNetworkSitePlanResult from Private5G.
/// REST API Reference for UpdateNetworkSitePlan Operation
public virtual UpdateNetworkSitePlanResponse EndUpdateNetworkSitePlan(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}