/*
* 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 rum-2018-05-10.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.CloudWatchRUM.Model;
using Amazon.CloudWatchRUM.Model.Internal.MarshallTransformations;
using Amazon.CloudWatchRUM.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.CloudWatchRUM
{
///
/// Implementation for accessing CloudWatchRUM
///
/// With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side
/// data about your web application performance from actual user sessions in real time.
/// The data collected includes page load times, client-side errors, and user behavior.
/// When you view this data, you can see it all aggregated together and also see breakdowns
/// by the browsers and devices that your customers use.
///
///
///
/// You can use the collected data to quickly identify and debug client-side performance
/// issues. CloudWatch RUM helps you visualize anomalies in your application performance
/// and find relevant debugging data such as error messages, stack traces, and user sessions.
/// You can also use RUM to understand the range of end-user impact including the number
/// of users, geolocations, and browsers used.
///
///
public partial class AmazonCloudWatchRUMClient : AmazonServiceClient, IAmazonCloudWatchRUM
{
private static IServiceMetadata serviceMetadata = new AmazonCloudWatchRUMMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private ICloudWatchRUMPaginatorFactory _paginators;
///
/// Paginators for the service
///
public ICloudWatchRUMPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new CloudWatchRUMPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonCloudWatchRUMClient 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 AmazonCloudWatchRUMClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudWatchRUMConfig()) { }
///
/// Constructs AmazonCloudWatchRUMClient 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 AmazonCloudWatchRUMClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudWatchRUMConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonCloudWatchRUMClient 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 AmazonCloudWatchRUMClient Configuration Object
public AmazonCloudWatchRUMClient(AmazonCloudWatchRUMConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonCloudWatchRUMClient with AWS Credentials
///
/// AWS Credentials
public AmazonCloudWatchRUMClient(AWSCredentials credentials)
: this(credentials, new AmazonCloudWatchRUMConfig())
{
}
///
/// Constructs AmazonCloudWatchRUMClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonCloudWatchRUMClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonCloudWatchRUMConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonCloudWatchRUMClient with AWS Credentials and an
/// AmazonCloudWatchRUMClient Configuration object.
///
/// AWS Credentials
/// The AmazonCloudWatchRUMClient Configuration Object
public AmazonCloudWatchRUMClient(AWSCredentials credentials, AmazonCloudWatchRUMConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonCloudWatchRUMClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonCloudWatchRUMClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudWatchRUMConfig())
{
}
///
/// Constructs AmazonCloudWatchRUMClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonCloudWatchRUMClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudWatchRUMConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonCloudWatchRUMClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCloudWatchRUMClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonCloudWatchRUMClient Configuration Object
public AmazonCloudWatchRUMClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCloudWatchRUMConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonCloudWatchRUMClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonCloudWatchRUMClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudWatchRUMConfig())
{
}
///
/// Constructs AmazonCloudWatchRUMClient 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 AmazonCloudWatchRUMClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudWatchRUMConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonCloudWatchRUMClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCloudWatchRUMClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonCloudWatchRUMClient Configuration Object
public AmazonCloudWatchRUMClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCloudWatchRUMConfig 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 AmazonCloudWatchRUMEndpointResolver());
}
///
/// 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 BatchCreateRumMetricDefinitions
///
/// Specifies the extended metrics and custom metrics that you want a CloudWatch RUM app
/// monitor to send to a destination. Valid destinations include CloudWatch and Evidently.
///
///
///
/// By default, RUM app monitors send some metrics to CloudWatch. These default metrics
/// are listed in CloudWatch
/// metrics that you can collect with CloudWatch RUM.
///
///
///
/// In addition to these default metrics, you can choose to send extended metrics or custom
/// metrics or both.
///
/// -
///
/// Extended metrics enable you to send metrics with additional dimensions not included
/// in the default metrics. You can also send extended metrics to Evidently as well as
/// CloudWatch. The valid dimension names for the additional dimensions for extended metrics
/// are
BrowserName
, CountryCode
, DeviceType
, FileType
,
/// OSName
, and PageId
. For more information, see
/// Extended metrics that you can send to CloudWatch and CloudWatch Evidently.
///
/// -
///
/// Custom metrics are metrics that you define. You can send custom metrics to CloudWatch
/// or to CloudWatch Evidently or to both. With custom metrics, you can use any metric
/// name and namespace, and to derive the metrics you can use any custom events, built-in
/// events, custom attributes, or default attributes.
///
///
///
/// You can't send custom metrics to the
AWS/RUM
namespace. You must send
/// custom metrics to a custom namespace that you define. The namespace that you use can't
/// start with AWS/
. CloudWatch RUM prepends RUM/CustomMetrics/
/// to the custom namespace that you define, so the final namespace for your metrics in
/// CloudWatch is RUM/CustomMetrics/your-custom-namespace
.
///
///
///
/// The maximum number of metric definitions that you can specify in one BatchCreateRumMetricDefinitions
/// operation is 200.
///
///
///
/// The maximum number of metric definitions that one destination can contain is 2000.
///
///
///
/// Extended metrics sent to CloudWatch and RUM custom metrics are charged as CloudWatch
/// custom metrics. Each combination of additional dimension name and dimension value
/// counts as a custom metric. For more information, see Amazon
/// CloudWatch Pricing.
///
///
///
/// You must have already created a destination for the metrics before you send them.
/// For more information, see PutRumMetricsDestination.
///
///
///
/// If some metric definitions specified in a BatchCreateRumMetricDefinitions
/// operations are not valid, those metric definitions fail and return errors, but all
/// valid metric definitions in the same operation still succeed.
///
///
/// Container for the necessary parameters to execute the BatchCreateRumMetricDefinitions service method.
///
/// The response from the BatchCreateRumMetricDefinitions service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// This operation attempted to create a resource that already exists.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// This request exceeds a service quota.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for BatchCreateRumMetricDefinitions Operation
public virtual BatchCreateRumMetricDefinitionsResponse BatchCreateRumMetricDefinitions(BatchCreateRumMetricDefinitionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateRumMetricDefinitionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateRumMetricDefinitionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchCreateRumMetricDefinitions operation.
///
///
/// Container for the necessary parameters to execute the BatchCreateRumMetricDefinitions operation on AmazonCloudWatchRUMClient.
/// 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 EndBatchCreateRumMetricDefinitions
/// operation.
/// REST API Reference for BatchCreateRumMetricDefinitions Operation
public virtual IAsyncResult BeginBatchCreateRumMetricDefinitions(BatchCreateRumMetricDefinitionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateRumMetricDefinitionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateRumMetricDefinitionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchCreateRumMetricDefinitions operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchCreateRumMetricDefinitions.
///
/// Returns a BatchCreateRumMetricDefinitionsResult from CloudWatchRUM.
/// REST API Reference for BatchCreateRumMetricDefinitions Operation
public virtual BatchCreateRumMetricDefinitionsResponse EndBatchCreateRumMetricDefinitions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region BatchDeleteRumMetricDefinitions
///
/// Removes the specified metrics from being sent to an extended metrics destination.
///
///
///
/// If some metric definition IDs specified in a BatchDeleteRumMetricDefinitions
/// operations are not valid, those metric definitions fail and return errors, but all
/// valid metric definition IDs in the same operation are still deleted.
///
///
///
/// The maximum number of metric definitions that you can specify in one BatchDeleteRumMetricDefinitions
/// operation is 200.
///
///
/// Container for the necessary parameters to execute the BatchDeleteRumMetricDefinitions service method.
///
/// The response from the BatchDeleteRumMetricDefinitions service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// This operation attempted to create a resource that already exists.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for BatchDeleteRumMetricDefinitions Operation
public virtual BatchDeleteRumMetricDefinitionsResponse BatchDeleteRumMetricDefinitions(BatchDeleteRumMetricDefinitionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteRumMetricDefinitionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteRumMetricDefinitionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchDeleteRumMetricDefinitions operation.
///
///
/// Container for the necessary parameters to execute the BatchDeleteRumMetricDefinitions operation on AmazonCloudWatchRUMClient.
/// 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 EndBatchDeleteRumMetricDefinitions
/// operation.
/// REST API Reference for BatchDeleteRumMetricDefinitions Operation
public virtual IAsyncResult BeginBatchDeleteRumMetricDefinitions(BatchDeleteRumMetricDefinitionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteRumMetricDefinitionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteRumMetricDefinitionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchDeleteRumMetricDefinitions operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchDeleteRumMetricDefinitions.
///
/// Returns a BatchDeleteRumMetricDefinitionsResult from CloudWatchRUM.
/// REST API Reference for BatchDeleteRumMetricDefinitions Operation
public virtual BatchDeleteRumMetricDefinitionsResponse EndBatchDeleteRumMetricDefinitions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region BatchGetRumMetricDefinitions
///
/// Retrieves the list of metrics and dimensions that a RUM app monitor is sending to
/// a single destination.
///
/// Container for the necessary parameters to execute the BatchGetRumMetricDefinitions service method.
///
/// The response from the BatchGetRumMetricDefinitions service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for BatchGetRumMetricDefinitions Operation
public virtual BatchGetRumMetricDefinitionsResponse BatchGetRumMetricDefinitions(BatchGetRumMetricDefinitionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetRumMetricDefinitionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetRumMetricDefinitionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchGetRumMetricDefinitions operation.
///
///
/// Container for the necessary parameters to execute the BatchGetRumMetricDefinitions operation on AmazonCloudWatchRUMClient.
/// 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 EndBatchGetRumMetricDefinitions
/// operation.
/// REST API Reference for BatchGetRumMetricDefinitions Operation
public virtual IAsyncResult BeginBatchGetRumMetricDefinitions(BatchGetRumMetricDefinitionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetRumMetricDefinitionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetRumMetricDefinitionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchGetRumMetricDefinitions operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchGetRumMetricDefinitions.
///
/// Returns a BatchGetRumMetricDefinitionsResult from CloudWatchRUM.
/// REST API Reference for BatchGetRumMetricDefinitions Operation
public virtual BatchGetRumMetricDefinitionsResponse EndBatchGetRumMetricDefinitions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateAppMonitor
///
/// Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your
/// application and sends that data to RUM. The data includes performance and reliability
/// information such as page load time, client-side errors, and user behavior.
///
///
///
/// You use this operation only to create a new app monitor. To update an existing app
/// monitor, use UpdateAppMonitor
/// instead.
///
///
///
/// After you create an app monitor, sign in to the CloudWatch RUM console to get the
/// JavaScript code snippet to add to your web application. For more information, see
/// How
/// do I find a code snippet that I've already generated?
///
///
/// Container for the necessary parameters to execute the CreateAppMonitor service method.
///
/// The response from the CreateAppMonitor service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// This operation attempted to create a resource that already exists.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// This request exceeds a service quota.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for CreateAppMonitor Operation
public virtual CreateAppMonitorResponse CreateAppMonitor(CreateAppMonitorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppMonitorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateAppMonitor operation.
///
///
/// Container for the necessary parameters to execute the CreateAppMonitor operation on AmazonCloudWatchRUMClient.
/// 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 EndCreateAppMonitor
/// operation.
/// REST API Reference for CreateAppMonitor Operation
public virtual IAsyncResult BeginCreateAppMonitor(CreateAppMonitorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppMonitorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateAppMonitor operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateAppMonitor.
///
/// Returns a CreateAppMonitorResult from CloudWatchRUM.
/// REST API Reference for CreateAppMonitor Operation
public virtual CreateAppMonitorResponse EndCreateAppMonitor(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAppMonitor
///
/// Deletes an existing app monitor. This immediately stops the collection of data.
///
/// Container for the necessary parameters to execute the DeleteAppMonitor service method.
///
/// The response from the DeleteAppMonitor service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// This operation attempted to create a resource that already exists.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for DeleteAppMonitor Operation
public virtual DeleteAppMonitorResponse DeleteAppMonitor(DeleteAppMonitorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppMonitorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAppMonitor operation.
///
///
/// Container for the necessary parameters to execute the DeleteAppMonitor operation on AmazonCloudWatchRUMClient.
/// 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 EndDeleteAppMonitor
/// operation.
/// REST API Reference for DeleteAppMonitor Operation
public virtual IAsyncResult BeginDeleteAppMonitor(DeleteAppMonitorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppMonitorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAppMonitor operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAppMonitor.
///
/// Returns a DeleteAppMonitorResult from CloudWatchRUM.
/// REST API Reference for DeleteAppMonitor Operation
public virtual DeleteAppMonitorResponse EndDeleteAppMonitor(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteRumMetricsDestination
///
/// Deletes a destination for CloudWatch RUM extended metrics, so that the specified app
/// monitor stops sending extended metrics to that destination.
///
/// Container for the necessary parameters to execute the DeleteRumMetricsDestination service method.
///
/// The response from the DeleteRumMetricsDestination service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// This operation attempted to create a resource that already exists.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for DeleteRumMetricsDestination Operation
public virtual DeleteRumMetricsDestinationResponse DeleteRumMetricsDestination(DeleteRumMetricsDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRumMetricsDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRumMetricsDestinationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteRumMetricsDestination operation.
///
///
/// Container for the necessary parameters to execute the DeleteRumMetricsDestination operation on AmazonCloudWatchRUMClient.
/// 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 EndDeleteRumMetricsDestination
/// operation.
/// REST API Reference for DeleteRumMetricsDestination Operation
public virtual IAsyncResult BeginDeleteRumMetricsDestination(DeleteRumMetricsDestinationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRumMetricsDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRumMetricsDestinationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteRumMetricsDestination operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteRumMetricsDestination.
///
/// Returns a DeleteRumMetricsDestinationResult from CloudWatchRUM.
/// REST API Reference for DeleteRumMetricsDestination Operation
public virtual DeleteRumMetricsDestinationResponse EndDeleteRumMetricsDestination(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetAppMonitor
///
/// Retrieves the complete configuration information for one app monitor.
///
/// Container for the necessary parameters to execute the GetAppMonitor service method.
///
/// The response from the GetAppMonitor service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for GetAppMonitor Operation
public virtual GetAppMonitorResponse GetAppMonitor(GetAppMonitorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppMonitorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetAppMonitor operation.
///
///
/// Container for the necessary parameters to execute the GetAppMonitor operation on AmazonCloudWatchRUMClient.
/// 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 EndGetAppMonitor
/// operation.
/// REST API Reference for GetAppMonitor Operation
public virtual IAsyncResult BeginGetAppMonitor(GetAppMonitorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppMonitorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetAppMonitor operation.
///
///
/// The IAsyncResult returned by the call to BeginGetAppMonitor.
///
/// Returns a GetAppMonitorResult from CloudWatchRUM.
/// REST API Reference for GetAppMonitor Operation
public virtual GetAppMonitorResponse EndGetAppMonitor(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetAppMonitorData
///
/// Retrieves the raw performance events that RUM has collected from your web application,
/// so that you can do your own processing or analysis of this data.
///
/// Container for the necessary parameters to execute the GetAppMonitorData service method.
///
/// The response from the GetAppMonitorData service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for GetAppMonitorData Operation
public virtual GetAppMonitorDataResponse GetAppMonitorData(GetAppMonitorDataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppMonitorDataRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppMonitorDataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetAppMonitorData operation.
///
///
/// Container for the necessary parameters to execute the GetAppMonitorData operation on AmazonCloudWatchRUMClient.
/// 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 EndGetAppMonitorData
/// operation.
/// REST API Reference for GetAppMonitorData Operation
public virtual IAsyncResult BeginGetAppMonitorData(GetAppMonitorDataRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppMonitorDataRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppMonitorDataResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetAppMonitorData operation.
///
///
/// The IAsyncResult returned by the call to BeginGetAppMonitorData.
///
/// Returns a GetAppMonitorDataResult from CloudWatchRUM.
/// REST API Reference for GetAppMonitorData Operation
public virtual GetAppMonitorDataResponse EndGetAppMonitorData(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAppMonitors
///
/// Returns a list of the Amazon CloudWatch RUM app monitors in the account.
///
/// Container for the necessary parameters to execute the ListAppMonitors service method.
///
/// The response from the ListAppMonitors service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// Internal service exception.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for ListAppMonitors Operation
public virtual ListAppMonitorsResponse ListAppMonitors(ListAppMonitorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppMonitorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppMonitorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAppMonitors operation.
///
///
/// Container for the necessary parameters to execute the ListAppMonitors operation on AmazonCloudWatchRUMClient.
/// 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 EndListAppMonitors
/// operation.
/// REST API Reference for ListAppMonitors Operation
public virtual IAsyncResult BeginListAppMonitors(ListAppMonitorsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppMonitorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppMonitorsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAppMonitors operation.
///
///
/// The IAsyncResult returned by the call to BeginListAppMonitors.
///
/// Returns a ListAppMonitorsResult from CloudWatchRUM.
/// REST API Reference for ListAppMonitors Operation
public virtual ListAppMonitorsResponse EndListAppMonitors(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListRumMetricsDestinations
///
/// Returns a list of destinations that you have created to receive RUM extended metrics,
/// for the specified app monitor.
///
///
///
/// For more information about extended metrics, see AddRumMetrics.
///
///
/// Container for the necessary parameters to execute the ListRumMetricsDestinations service method.
///
/// The response from the ListRumMetricsDestinations service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for ListRumMetricsDestinations Operation
public virtual ListRumMetricsDestinationsResponse ListRumMetricsDestinations(ListRumMetricsDestinationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRumMetricsDestinationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRumMetricsDestinationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListRumMetricsDestinations operation.
///
///
/// Container for the necessary parameters to execute the ListRumMetricsDestinations operation on AmazonCloudWatchRUMClient.
/// 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 EndListRumMetricsDestinations
/// operation.
/// REST API Reference for ListRumMetricsDestinations Operation
public virtual IAsyncResult BeginListRumMetricsDestinations(ListRumMetricsDestinationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRumMetricsDestinationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRumMetricsDestinationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListRumMetricsDestinations operation.
///
///
/// The IAsyncResult returned by the call to BeginListRumMetricsDestinations.
///
/// Returns a ListRumMetricsDestinationsResult from CloudWatchRUM.
/// REST API Reference for ListRumMetricsDestinations Operation
public virtual ListRumMetricsDestinationsResponse EndListRumMetricsDestinations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// Displays the tags associated with a CloudWatch RUM resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by CloudWatchRUM.
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// One of the arguments for the request is not valid.
///
/// 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 AmazonCloudWatchRUMClient.
/// 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 CloudWatchRUM.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutRumEvents
///
/// Sends telemetry events about your application performance and user behavior to CloudWatch
/// RUM. The code snippet that RUM generates for you to add to your application includes
/// PutRumEvents
operations to send this data to RUM.
///
///
///
/// Each PutRumEvents
operation can send a batch of events from one user
/// session.
///
///
/// Container for the necessary parameters to execute the PutRumEvents service method.
///
/// The response from the PutRumEvents service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for PutRumEvents Operation
public virtual PutRumEventsResponse PutRumEvents(PutRumEventsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutRumEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutRumEventsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutRumEvents operation.
///
///
/// Container for the necessary parameters to execute the PutRumEvents operation on AmazonCloudWatchRUMClient.
/// 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 EndPutRumEvents
/// operation.
/// REST API Reference for PutRumEvents Operation
public virtual IAsyncResult BeginPutRumEvents(PutRumEventsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutRumEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutRumEventsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutRumEvents operation.
///
///
/// The IAsyncResult returned by the call to BeginPutRumEvents.
///
/// Returns a PutRumEventsResult from CloudWatchRUM.
/// REST API Reference for PutRumEvents Operation
public virtual PutRumEventsResponse EndPutRumEvents(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutRumMetricsDestination
///
/// Creates or updates a destination to receive extended metrics from CloudWatch RUM.
/// You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment.
///
///
///
/// For more information about extended metrics, see BatchCreateRumMetricDefinitions.
///
///
/// Container for the necessary parameters to execute the PutRumMetricsDestination service method.
///
/// The response from the PutRumMetricsDestination service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// This operation attempted to create a resource that already exists.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for PutRumMetricsDestination Operation
public virtual PutRumMetricsDestinationResponse PutRumMetricsDestination(PutRumMetricsDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutRumMetricsDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutRumMetricsDestinationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutRumMetricsDestination operation.
///
///
/// Container for the necessary parameters to execute the PutRumMetricsDestination operation on AmazonCloudWatchRUMClient.
/// 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 EndPutRumMetricsDestination
/// operation.
/// REST API Reference for PutRumMetricsDestination Operation
public virtual IAsyncResult BeginPutRumMetricsDestination(PutRumMetricsDestinationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutRumMetricsDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutRumMetricsDestinationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutRumMetricsDestination operation.
///
///
/// The IAsyncResult returned by the call to BeginPutRumMetricsDestination.
///
/// Returns a PutRumMetricsDestinationResult from CloudWatchRUM.
/// REST API Reference for PutRumMetricsDestination Operation
public virtual PutRumMetricsDestinationResponse EndPutRumMetricsDestination(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Assigns one or more tags (key-value pairs) to the specified CloudWatch RUM resource.
/// Currently, the only resources that can be tagged app monitors.
///
///
///
/// Tags can help you organize and categorize your resources. You can also use them to
/// scope user permissions by granting a user permission to access or change only resources
/// with certain tag values.
///
///
///
/// Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly
/// as strings of characters.
///
///
///
/// You can use the TagResource
action with a resource that already has tags.
/// If you specify a new tag key for the resource, this tag is appended to the list of
/// tags associated with the alarm. If you specify a tag key that is already associated
/// with the resource, the new tag value that you specify replaces the previous value
/// for that tag.
///
///
///
/// You can associate as many as 50 tags with a resource.
///
///
///
/// For more information, see Tagging
/// Amazon Web Services resources.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by CloudWatchRUM.
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// One of the arguments for the request is not valid.
///
/// 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 AmazonCloudWatchRUMClient.
/// 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 CloudWatchRUM.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Removes one or more 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 CloudWatchRUM.
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// One of the arguments for the request is not valid.
///
/// 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 AmazonCloudWatchRUMClient.
/// 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 CloudWatchRUM.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateAppMonitor
///
/// Updates the configuration of an existing app monitor. When you use this operation,
/// only the parts of the app monitor configuration that you specify in this operation
/// are changed. For any parameters that you omit, the existing values are kept.
///
///
///
/// You can't use this operation to change the tags of an existing app monitor. To change
/// the tags of an existing app monitor, use TagResource.
///
///
///
/// To create a new app monitor, use CreateAppMonitor.
///
///
///
/// After you update an app monitor, sign in to the CloudWatch RUM console to get the
/// updated JavaScript code snippet to add to your web application. For more information,
/// see How
/// do I find a code snippet that I've already generated?
///
///
/// Container for the necessary parameters to execute the UpdateAppMonitor service method.
///
/// The response from the UpdateAppMonitor service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// This operation attempted to create a resource that already exists.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for UpdateAppMonitor Operation
public virtual UpdateAppMonitorResponse UpdateAppMonitor(UpdateAppMonitorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppMonitorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateAppMonitor operation.
///
///
/// Container for the necessary parameters to execute the UpdateAppMonitor operation on AmazonCloudWatchRUMClient.
/// 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 EndUpdateAppMonitor
/// operation.
/// REST API Reference for UpdateAppMonitor Operation
public virtual IAsyncResult BeginUpdateAppMonitor(UpdateAppMonitorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppMonitorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppMonitorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateAppMonitor operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateAppMonitor.
///
/// Returns a UpdateAppMonitorResult from CloudWatchRUM.
/// REST API Reference for UpdateAppMonitor Operation
public virtual UpdateAppMonitorResponse EndUpdateAppMonitor(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateRumMetricDefinition
///
/// Modifies one existing metric definition for CloudWatch RUM extended metrics. For more
/// information about extended metrics, see BatchCreateRumMetricsDefinitions.
///
/// Container for the necessary parameters to execute the UpdateRumMetricDefinition service method.
///
/// The response from the UpdateRumMetricDefinition service method, as returned by CloudWatchRUM.
///
/// You don't have sufficient permissions to perform this action.
///
///
/// This operation attempted to create a resource that already exists.
///
///
/// Internal service exception.
///
///
/// Resource not found.
///
///
/// This request exceeds a service quota.
///
///
/// The request was throttled because of quota limits.
///
///
/// One of the arguments for the request is not valid.
///
/// REST API Reference for UpdateRumMetricDefinition Operation
public virtual UpdateRumMetricDefinitionResponse UpdateRumMetricDefinition(UpdateRumMetricDefinitionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRumMetricDefinitionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRumMetricDefinitionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateRumMetricDefinition operation.
///
///
/// Container for the necessary parameters to execute the UpdateRumMetricDefinition operation on AmazonCloudWatchRUMClient.
/// 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 EndUpdateRumMetricDefinition
/// operation.
/// REST API Reference for UpdateRumMetricDefinition Operation
public virtual IAsyncResult BeginUpdateRumMetricDefinition(UpdateRumMetricDefinitionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRumMetricDefinitionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRumMetricDefinitionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateRumMetricDefinition operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateRumMetricDefinition.
///
/// Returns a UpdateRumMetricDefinitionResult from CloudWatchRUM.
/// REST API Reference for UpdateRumMetricDefinition Operation
public virtual UpdateRumMetricDefinitionResponse EndUpdateRumMetricDefinition(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}