Exemplo n.º 1
0
        /// <summary>
        /// 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.
        /// </summary>
        /// <param name="request">Container for the necessary parameters to execute the GetAppMonitorData service method.</param>
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        ///
        /// <returns>The response from the GetAppMonitorData service method, as returned by CloudWatchRUM.</returns>
        /// <exception cref="Amazon.CloudWatchRUM.Model.AccessDeniedException">
        /// You don't have sufficient permissions to perform this action.
        /// </exception>
        /// <exception cref="Amazon.CloudWatchRUM.Model.InternalServerException">
        /// Internal service exception.
        /// </exception>
        /// <exception cref="Amazon.CloudWatchRUM.Model.ResourceNotFoundException">
        /// Resource not found.
        /// </exception>
        /// <exception cref="Amazon.CloudWatchRUM.Model.ThrottlingException">
        /// The request was throttled because of quota limits.
        /// </exception>
        /// <exception cref="Amazon.CloudWatchRUM.Model.ValidationException">
        /// One of the arguments for the request is not valid.
        /// </exception>
        /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetAppMonitorData">REST API Reference for GetAppMonitorData Operation</seealso>
        public virtual Task <GetAppMonitorDataResponse> GetAppMonitorDataAsync(GetAppMonitorDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = GetAppMonitorDataRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAppMonitorDataResponseUnmarshaller.Instance;

            return(InvokeAsync <GetAppMonitorDataResponse>(request, options, cancellationToken));
        }
Exemplo n.º 2
0
        internal virtual GetAppMonitorDataResponse GetAppMonitorData(GetAppMonitorDataRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = GetAppMonitorDataRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAppMonitorDataResponseUnmarshaller.Instance;

            return(Invoke <GetAppMonitorDataResponse>(request, options));
        }