/* * 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 xray-2016-04-12.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.XRay.Model; namespace Amazon.XRay { /// /// Interface for accessing XRay /// /// Amazon Web Services X-Ray provides APIs for managing debug traces and retrieving service /// maps and other data created by processing those traces. /// public partial interface IAmazonXRay : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IXRayPaginatorFactory Paginators { get; } #endif #region BatchGetTraces /// /// Retrieves a list of traces specified by ID. Each trace is a collection of segment /// documents that originates from a single request. Use GetTraceSummaries /// to get a list of trace IDs. /// /// Container for the necessary parameters to execute the BatchGetTraces service method. /// /// The response from the BatchGetTraces service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for BatchGetTraces Operation BatchGetTracesResponse BatchGetTraces(BatchGetTracesRequest request); /// /// Initiates the asynchronous execution of the BatchGetTraces operation. /// /// /// Container for the necessary parameters to execute the BatchGetTraces operation on AmazonXRayClient. /// 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 EndBatchGetTraces /// operation. /// REST API Reference for BatchGetTraces Operation IAsyncResult BeginBatchGetTraces(BatchGetTracesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the BatchGetTraces operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetTraces. /// /// Returns a BatchGetTracesResult from XRay. /// REST API Reference for BatchGetTraces Operation BatchGetTracesResponse EndBatchGetTraces(IAsyncResult asyncResult); #endregion #region CreateGroup /// /// Creates a group resource with a name and a filter expression. /// /// Container for the necessary parameters to execute the CreateGroup service method. /// /// The response from the CreateGroup service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for CreateGroup Operation CreateGroupResponse CreateGroup(CreateGroupRequest request); /// /// Initiates the asynchronous execution of the CreateGroup operation. /// /// /// Container for the necessary parameters to execute the CreateGroup operation on AmazonXRayClient. /// 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 EndCreateGroup /// operation. /// REST API Reference for CreateGroup Operation IAsyncResult BeginCreateGroup(CreateGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateGroup. /// /// Returns a CreateGroupResult from XRay. /// REST API Reference for CreateGroup Operation CreateGroupResponse EndCreateGroup(IAsyncResult asyncResult); #endregion #region CreateSamplingRule /// /// Creates a rule to control sampling behavior for instrumented applications. Services /// retrieve rules with GetSamplingRules, /// and evaluate each rule in ascending order of priority for each request. If /// a rule matches, the service records a trace, borrowing it from the reservoir size. /// After 10 seconds, the service reports back to X-Ray with GetSamplingTargets /// to get updated versions of each in-use rule. The updated rule contains a trace quota /// that the service can use instead of borrowing from the reservoir. /// /// Container for the necessary parameters to execute the CreateSamplingRule service method. /// /// The response from the CreateSamplingRule service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// You have reached the maximum number of sampling rules. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for CreateSamplingRule Operation CreateSamplingRuleResponse CreateSamplingRule(CreateSamplingRuleRequest request); /// /// Initiates the asynchronous execution of the CreateSamplingRule operation. /// /// /// Container for the necessary parameters to execute the CreateSamplingRule operation on AmazonXRayClient. /// 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 EndCreateSamplingRule /// operation. /// REST API Reference for CreateSamplingRule Operation IAsyncResult BeginCreateSamplingRule(CreateSamplingRuleRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateSamplingRule operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSamplingRule. /// /// Returns a CreateSamplingRuleResult from XRay. /// REST API Reference for CreateSamplingRule Operation CreateSamplingRuleResponse EndCreateSamplingRule(IAsyncResult asyncResult); #endregion #region DeleteGroup /// /// Deletes a group resource. /// /// Container for the necessary parameters to execute the DeleteGroup service method. /// /// The response from the DeleteGroup service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for DeleteGroup Operation DeleteGroupResponse DeleteGroup(DeleteGroupRequest request); /// /// Initiates the asynchronous execution of the DeleteGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteGroup operation on AmazonXRayClient. /// 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 EndDeleteGroup /// operation. /// REST API Reference for DeleteGroup Operation IAsyncResult BeginDeleteGroup(DeleteGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteGroup. /// /// Returns a DeleteGroupResult from XRay. /// REST API Reference for DeleteGroup Operation DeleteGroupResponse EndDeleteGroup(IAsyncResult asyncResult); #endregion #region DeleteResourcePolicy /// /// Deletes a resource policy from the target Amazon Web Services account. /// /// Container for the necessary parameters to execute the DeleteResourcePolicy service method. /// /// The response from the DeleteResourcePolicy service method, as returned by XRay. /// /// A policy revision id was provided which does not match the latest policy revision. /// This exception is also if a policy revision id of 0 is provided via PutResourcePolicy /// and a policy with the same name already exists. /// /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for DeleteResourcePolicy Operation DeleteResourcePolicyResponse DeleteResourcePolicy(DeleteResourcePolicyRequest request); /// /// Initiates the asynchronous execution of the DeleteResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteResourcePolicy operation on AmazonXRayClient. /// 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 EndDeleteResourcePolicy /// operation. /// REST API Reference for DeleteResourcePolicy Operation IAsyncResult BeginDeleteResourcePolicy(DeleteResourcePolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteResourcePolicy. /// /// Returns a DeleteResourcePolicyResult from XRay. /// REST API Reference for DeleteResourcePolicy Operation DeleteResourcePolicyResponse EndDeleteResourcePolicy(IAsyncResult asyncResult); #endregion #region DeleteSamplingRule /// /// Deletes a sampling rule. /// /// Container for the necessary parameters to execute the DeleteSamplingRule service method. /// /// The response from the DeleteSamplingRule service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for DeleteSamplingRule Operation DeleteSamplingRuleResponse DeleteSamplingRule(DeleteSamplingRuleRequest request); /// /// Initiates the asynchronous execution of the DeleteSamplingRule operation. /// /// /// Container for the necessary parameters to execute the DeleteSamplingRule operation on AmazonXRayClient. /// 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 EndDeleteSamplingRule /// operation. /// REST API Reference for DeleteSamplingRule Operation IAsyncResult BeginDeleteSamplingRule(DeleteSamplingRuleRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteSamplingRule operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSamplingRule. /// /// Returns a DeleteSamplingRuleResult from XRay. /// REST API Reference for DeleteSamplingRule Operation DeleteSamplingRuleResponse EndDeleteSamplingRule(IAsyncResult asyncResult); #endregion #region GetEncryptionConfig /// /// Retrieves the current encryption configuration for X-Ray data. /// /// Container for the necessary parameters to execute the GetEncryptionConfig service method. /// /// The response from the GetEncryptionConfig service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetEncryptionConfig Operation GetEncryptionConfigResponse GetEncryptionConfig(GetEncryptionConfigRequest request); /// /// Initiates the asynchronous execution of the GetEncryptionConfig operation. /// /// /// Container for the necessary parameters to execute the GetEncryptionConfig operation on AmazonXRayClient. /// 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 EndGetEncryptionConfig /// operation. /// REST API Reference for GetEncryptionConfig Operation IAsyncResult BeginGetEncryptionConfig(GetEncryptionConfigRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetEncryptionConfig operation. /// /// /// The IAsyncResult returned by the call to BeginGetEncryptionConfig. /// /// Returns a GetEncryptionConfigResult from XRay. /// REST API Reference for GetEncryptionConfig Operation GetEncryptionConfigResponse EndGetEncryptionConfig(IAsyncResult asyncResult); #endregion #region GetGroup /// /// Retrieves group resource details. /// /// Container for the necessary parameters to execute the GetGroup service method. /// /// The response from the GetGroup service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetGroup Operation GetGroupResponse GetGroup(GetGroupRequest request); /// /// Initiates the asynchronous execution of the GetGroup operation. /// /// /// Container for the necessary parameters to execute the GetGroup operation on AmazonXRayClient. /// 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 EndGetGroup /// operation. /// REST API Reference for GetGroup Operation IAsyncResult BeginGetGroup(GetGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetGroup operation. /// /// /// The IAsyncResult returned by the call to BeginGetGroup. /// /// Returns a GetGroupResult from XRay. /// REST API Reference for GetGroup Operation GetGroupResponse EndGetGroup(IAsyncResult asyncResult); #endregion #region GetGroups /// /// Retrieves all active group details. /// /// Container for the necessary parameters to execute the GetGroups service method. /// /// The response from the GetGroups service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetGroups Operation GetGroupsResponse GetGroups(GetGroupsRequest request); /// /// Initiates the asynchronous execution of the GetGroups operation. /// /// /// Container for the necessary parameters to execute the GetGroups operation on AmazonXRayClient. /// 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 EndGetGroups /// operation. /// REST API Reference for GetGroups Operation IAsyncResult BeginGetGroups(GetGroupsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetGroups operation. /// /// /// The IAsyncResult returned by the call to BeginGetGroups. /// /// Returns a GetGroupsResult from XRay. /// REST API Reference for GetGroups Operation GetGroupsResponse EndGetGroups(IAsyncResult asyncResult); #endregion #region GetInsight /// /// Retrieves the summary information of an insight. This includes impact to clients and /// root cause services, the top anomalous services, the category, the state of the insight, /// and the start and end time of the insight. /// /// Container for the necessary parameters to execute the GetInsight service method. /// /// The response from the GetInsight service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetInsight Operation GetInsightResponse GetInsight(GetInsightRequest request); /// /// Initiates the asynchronous execution of the GetInsight operation. /// /// /// Container for the necessary parameters to execute the GetInsight operation on AmazonXRayClient. /// 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 EndGetInsight /// operation. /// REST API Reference for GetInsight Operation IAsyncResult BeginGetInsight(GetInsightRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetInsight operation. /// /// /// The IAsyncResult returned by the call to BeginGetInsight. /// /// Returns a GetInsightResult from XRay. /// REST API Reference for GetInsight Operation GetInsightResponse EndGetInsight(IAsyncResult asyncResult); #endregion #region GetInsightEvents /// /// X-Ray reevaluates insights periodically until they're resolved, and records each intermediate /// state as an event. You can review an insight's events in the Impact Timeline on the /// Inspect page in the X-Ray console. /// /// Container for the necessary parameters to execute the GetInsightEvents service method. /// /// The response from the GetInsightEvents service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetInsightEvents Operation GetInsightEventsResponse GetInsightEvents(GetInsightEventsRequest request); /// /// Initiates the asynchronous execution of the GetInsightEvents operation. /// /// /// Container for the necessary parameters to execute the GetInsightEvents operation on AmazonXRayClient. /// 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 EndGetInsightEvents /// operation. /// REST API Reference for GetInsightEvents Operation IAsyncResult BeginGetInsightEvents(GetInsightEventsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetInsightEvents operation. /// /// /// The IAsyncResult returned by the call to BeginGetInsightEvents. /// /// Returns a GetInsightEventsResult from XRay. /// REST API Reference for GetInsightEvents Operation GetInsightEventsResponse EndGetInsightEvents(IAsyncResult asyncResult); #endregion #region GetInsightImpactGraph /// /// Retrieves a service graph structure filtered by the specified insight. The service /// graph is limited to only structural information. For a complete service graph, use /// this API with the GetServiceGraph API. /// /// Container for the necessary parameters to execute the GetInsightImpactGraph service method. /// /// The response from the GetInsightImpactGraph service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetInsightImpactGraph Operation GetInsightImpactGraphResponse GetInsightImpactGraph(GetInsightImpactGraphRequest request); /// /// Initiates the asynchronous execution of the GetInsightImpactGraph operation. /// /// /// Container for the necessary parameters to execute the GetInsightImpactGraph operation on AmazonXRayClient. /// 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 EndGetInsightImpactGraph /// operation. /// REST API Reference for GetInsightImpactGraph Operation IAsyncResult BeginGetInsightImpactGraph(GetInsightImpactGraphRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetInsightImpactGraph operation. /// /// /// The IAsyncResult returned by the call to BeginGetInsightImpactGraph. /// /// Returns a GetInsightImpactGraphResult from XRay. /// REST API Reference for GetInsightImpactGraph Operation GetInsightImpactGraphResponse EndGetInsightImpactGraph(IAsyncResult asyncResult); #endregion #region GetInsightSummaries /// /// Retrieves the summaries of all insights in the specified group matching the provided /// filter values. /// /// Container for the necessary parameters to execute the GetInsightSummaries service method. /// /// The response from the GetInsightSummaries service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetInsightSummaries Operation GetInsightSummariesResponse GetInsightSummaries(GetInsightSummariesRequest request); /// /// Initiates the asynchronous execution of the GetInsightSummaries operation. /// /// /// Container for the necessary parameters to execute the GetInsightSummaries operation on AmazonXRayClient. /// 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 EndGetInsightSummaries /// operation. /// REST API Reference for GetInsightSummaries Operation IAsyncResult BeginGetInsightSummaries(GetInsightSummariesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetInsightSummaries operation. /// /// /// The IAsyncResult returned by the call to BeginGetInsightSummaries. /// /// Returns a GetInsightSummariesResult from XRay. /// REST API Reference for GetInsightSummaries Operation GetInsightSummariesResponse EndGetInsightSummaries(IAsyncResult asyncResult); #endregion #region GetSamplingRules /// /// Retrieves all sampling rules. /// /// Container for the necessary parameters to execute the GetSamplingRules service method. /// /// The response from the GetSamplingRules service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetSamplingRules Operation GetSamplingRulesResponse GetSamplingRules(GetSamplingRulesRequest request); /// /// Initiates the asynchronous execution of the GetSamplingRules operation. /// /// /// Container for the necessary parameters to execute the GetSamplingRules operation on AmazonXRayClient. /// 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 EndGetSamplingRules /// operation. /// REST API Reference for GetSamplingRules Operation IAsyncResult BeginGetSamplingRules(GetSamplingRulesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetSamplingRules operation. /// /// /// The IAsyncResult returned by the call to BeginGetSamplingRules. /// /// Returns a GetSamplingRulesResult from XRay. /// REST API Reference for GetSamplingRules Operation GetSamplingRulesResponse EndGetSamplingRules(IAsyncResult asyncResult); #endregion #region GetSamplingStatisticSummaries /// /// Retrieves information about recent sampling results for all sampling rules. /// /// Container for the necessary parameters to execute the GetSamplingStatisticSummaries service method. /// /// The response from the GetSamplingStatisticSummaries service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetSamplingStatisticSummaries Operation GetSamplingStatisticSummariesResponse GetSamplingStatisticSummaries(GetSamplingStatisticSummariesRequest request); /// /// Initiates the asynchronous execution of the GetSamplingStatisticSummaries operation. /// /// /// Container for the necessary parameters to execute the GetSamplingStatisticSummaries operation on AmazonXRayClient. /// 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 EndGetSamplingStatisticSummaries /// operation. /// REST API Reference for GetSamplingStatisticSummaries Operation IAsyncResult BeginGetSamplingStatisticSummaries(GetSamplingStatisticSummariesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetSamplingStatisticSummaries operation. /// /// /// The IAsyncResult returned by the call to BeginGetSamplingStatisticSummaries. /// /// Returns a GetSamplingStatisticSummariesResult from XRay. /// REST API Reference for GetSamplingStatisticSummaries Operation GetSamplingStatisticSummariesResponse EndGetSamplingStatisticSummaries(IAsyncResult asyncResult); #endregion #region GetSamplingTargets /// /// Requests a sampling quota for rules that the service is using to sample requests. /// /// Container for the necessary parameters to execute the GetSamplingTargets service method. /// /// The response from the GetSamplingTargets service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetSamplingTargets Operation GetSamplingTargetsResponse GetSamplingTargets(GetSamplingTargetsRequest request); /// /// Initiates the asynchronous execution of the GetSamplingTargets operation. /// /// /// Container for the necessary parameters to execute the GetSamplingTargets operation on AmazonXRayClient. /// 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 EndGetSamplingTargets /// operation. /// REST API Reference for GetSamplingTargets Operation IAsyncResult BeginGetSamplingTargets(GetSamplingTargetsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetSamplingTargets operation. /// /// /// The IAsyncResult returned by the call to BeginGetSamplingTargets. /// /// Returns a GetSamplingTargetsResult from XRay. /// REST API Reference for GetSamplingTargets Operation GetSamplingTargetsResponse EndGetSamplingTargets(IAsyncResult asyncResult); #endregion #region GetServiceGraph /// /// Retrieves a document that describes services that process incoming requests, and downstream /// services that they call as a result. Root services process incoming requests and make /// calls to downstream services. Root services are applications that use the Amazon /// Web Services X-Ray SDK. Downstream services can be other applications, Amazon /// Web Services resources, HTTP web APIs, or SQL databases. /// /// Container for the necessary parameters to execute the GetServiceGraph service method. /// /// The response from the GetServiceGraph service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetServiceGraph Operation GetServiceGraphResponse GetServiceGraph(GetServiceGraphRequest request); /// /// Initiates the asynchronous execution of the GetServiceGraph operation. /// /// /// Container for the necessary parameters to execute the GetServiceGraph operation on AmazonXRayClient. /// 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 EndGetServiceGraph /// operation. /// REST API Reference for GetServiceGraph Operation IAsyncResult BeginGetServiceGraph(GetServiceGraphRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetServiceGraph operation. /// /// /// The IAsyncResult returned by the call to BeginGetServiceGraph. /// /// Returns a GetServiceGraphResult from XRay. /// REST API Reference for GetServiceGraph Operation GetServiceGraphResponse EndGetServiceGraph(IAsyncResult asyncResult); #endregion #region GetTimeSeriesServiceStatistics /// /// Get an aggregation of service statistics defined by a specific time range. /// /// Container for the necessary parameters to execute the GetTimeSeriesServiceStatistics service method. /// /// The response from the GetTimeSeriesServiceStatistics service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetTimeSeriesServiceStatistics Operation GetTimeSeriesServiceStatisticsResponse GetTimeSeriesServiceStatistics(GetTimeSeriesServiceStatisticsRequest request); /// /// Initiates the asynchronous execution of the GetTimeSeriesServiceStatistics operation. /// /// /// Container for the necessary parameters to execute the GetTimeSeriesServiceStatistics operation on AmazonXRayClient. /// 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 EndGetTimeSeriesServiceStatistics /// operation. /// REST API Reference for GetTimeSeriesServiceStatistics Operation IAsyncResult BeginGetTimeSeriesServiceStatistics(GetTimeSeriesServiceStatisticsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetTimeSeriesServiceStatistics operation. /// /// /// The IAsyncResult returned by the call to BeginGetTimeSeriesServiceStatistics. /// /// Returns a GetTimeSeriesServiceStatisticsResult from XRay. /// REST API Reference for GetTimeSeriesServiceStatistics Operation GetTimeSeriesServiceStatisticsResponse EndGetTimeSeriesServiceStatistics(IAsyncResult asyncResult); #endregion #region GetTraceGraph /// /// Retrieves a service graph for one or more specific trace IDs. /// /// Container for the necessary parameters to execute the GetTraceGraph service method. /// /// The response from the GetTraceGraph service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetTraceGraph Operation GetTraceGraphResponse GetTraceGraph(GetTraceGraphRequest request); /// /// Initiates the asynchronous execution of the GetTraceGraph operation. /// /// /// Container for the necessary parameters to execute the GetTraceGraph operation on AmazonXRayClient. /// 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 EndGetTraceGraph /// operation. /// REST API Reference for GetTraceGraph Operation IAsyncResult BeginGetTraceGraph(GetTraceGraphRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetTraceGraph operation. /// /// /// The IAsyncResult returned by the call to BeginGetTraceGraph. /// /// Returns a GetTraceGraphResult from XRay. /// REST API Reference for GetTraceGraph Operation GetTraceGraphResponse EndGetTraceGraph(IAsyncResult asyncResult); #endregion #region GetTraceSummaries /// /// Retrieves IDs and annotations for traces available for a specified time frame using /// an optional filter. To get the full traces, pass the trace IDs to BatchGetTraces. /// /// /// /// A filter expression can target traced requests that hit specific service nodes or /// edges, have errors, or come from a known user. For example, the following filter expression /// targets traces that pass through api.example.com: /// /// /// /// service("api.example.com") /// /// /// /// This filter expression finds traces that have an annotation named account /// with the value 12345: /// /// /// /// annotation.account = "12345" /// /// /// /// For a full list of indexed fields and keywords that you can use in filter expressions, /// see Using /// Filter Expressions in the Amazon Web Services X-Ray Developer Guide. /// /// /// Container for the necessary parameters to execute the GetTraceSummaries service method. /// /// The response from the GetTraceSummaries service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for GetTraceSummaries Operation GetTraceSummariesResponse GetTraceSummaries(GetTraceSummariesRequest request); /// /// Initiates the asynchronous execution of the GetTraceSummaries operation. /// /// /// Container for the necessary parameters to execute the GetTraceSummaries operation on AmazonXRayClient. /// 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 EndGetTraceSummaries /// operation. /// REST API Reference for GetTraceSummaries Operation IAsyncResult BeginGetTraceSummaries(GetTraceSummariesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetTraceSummaries operation. /// /// /// The IAsyncResult returned by the call to BeginGetTraceSummaries. /// /// Returns a GetTraceSummariesResult from XRay. /// REST API Reference for GetTraceSummaries Operation GetTraceSummariesResponse EndGetTraceSummaries(IAsyncResult asyncResult); #endregion #region ListResourcePolicies /// /// Returns the list of resource policies in the target Amazon Web Services account. /// /// Container for the necessary parameters to execute the ListResourcePolicies service method. /// /// The response from the ListResourcePolicies service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for ListResourcePolicies Operation ListResourcePoliciesResponse ListResourcePolicies(ListResourcePoliciesRequest request); /// /// Initiates the asynchronous execution of the ListResourcePolicies operation. /// /// /// Container for the necessary parameters to execute the ListResourcePolicies operation on AmazonXRayClient. /// 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 EndListResourcePolicies /// operation. /// REST API Reference for ListResourcePolicies Operation IAsyncResult BeginListResourcePolicies(ListResourcePoliciesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListResourcePolicies operation. /// /// /// The IAsyncResult returned by the call to BeginListResourcePolicies. /// /// Returns a ListResourcePoliciesResult from XRay. /// REST API Reference for ListResourcePolicies Operation ListResourcePoliciesResponse EndListResourcePolicies(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// /// Returns a list of tags that are applied to the specified Amazon Web Services X-Ray /// group or sampling rule. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The resource was not found. Verify that the name or Amazon Resource Name (ARN) of /// the resource is correct. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonXRayClient. /// 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 IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from XRay. /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region PutEncryptionConfig /// /// Updates the encryption configuration for X-Ray data. /// /// Container for the necessary parameters to execute the PutEncryptionConfig service method. /// /// The response from the PutEncryptionConfig service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for PutEncryptionConfig Operation PutEncryptionConfigResponse PutEncryptionConfig(PutEncryptionConfigRequest request); /// /// Initiates the asynchronous execution of the PutEncryptionConfig operation. /// /// /// Container for the necessary parameters to execute the PutEncryptionConfig operation on AmazonXRayClient. /// 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 EndPutEncryptionConfig /// operation. /// REST API Reference for PutEncryptionConfig Operation IAsyncResult BeginPutEncryptionConfig(PutEncryptionConfigRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutEncryptionConfig operation. /// /// /// The IAsyncResult returned by the call to BeginPutEncryptionConfig. /// /// Returns a PutEncryptionConfigResult from XRay. /// REST API Reference for PutEncryptionConfig Operation PutEncryptionConfigResponse EndPutEncryptionConfig(IAsyncResult asyncResult); #endregion #region PutResourcePolicy /// /// Sets the resource policy to grant one or more Amazon Web Services services and accounts /// permissions to access X-Ray. Each resource policy will be associated with a specific /// Amazon Web Services account. Each Amazon Web Services account can have a maximum of /// 5 resource policies, and each policy name must be unique within that account. The /// maximum size of each resource policy is 5KB. /// /// Container for the necessary parameters to execute the PutResourcePolicy service method. /// /// The response from the PutResourcePolicy service method, as returned by XRay. /// /// A policy revision id was provided which does not match the latest policy revision. /// This exception is also if a policy revision id of 0 is provided via PutResourcePolicy /// and a policy with the same name already exists. /// /// /// The provided resource policy would prevent the caller of this request from calling /// PutResourcePolicy in the future. /// /// /// Invalid policy document provided in request. /// /// /// Exceeded the maximum number of resource policies for a target Amazon Web Services /// account. /// /// /// Exceeded the maximum size for a resource policy. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for PutResourcePolicy Operation PutResourcePolicyResponse PutResourcePolicy(PutResourcePolicyRequest request); /// /// Initiates the asynchronous execution of the PutResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the PutResourcePolicy operation on AmazonXRayClient. /// 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 EndPutResourcePolicy /// operation. /// REST API Reference for PutResourcePolicy Operation IAsyncResult BeginPutResourcePolicy(PutResourcePolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutResourcePolicy. /// /// Returns a PutResourcePolicyResult from XRay. /// REST API Reference for PutResourcePolicy Operation PutResourcePolicyResponse EndPutResourcePolicy(IAsyncResult asyncResult); #endregion #region PutTelemetryRecords /// /// Used by the Amazon Web Services X-Ray daemon to upload telemetry. /// /// Container for the necessary parameters to execute the PutTelemetryRecords service method. /// /// The response from the PutTelemetryRecords service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for PutTelemetryRecords Operation PutTelemetryRecordsResponse PutTelemetryRecords(PutTelemetryRecordsRequest request); /// /// Initiates the asynchronous execution of the PutTelemetryRecords operation. /// /// /// Container for the necessary parameters to execute the PutTelemetryRecords operation on AmazonXRayClient. /// 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 EndPutTelemetryRecords /// operation. /// REST API Reference for PutTelemetryRecords Operation IAsyncResult BeginPutTelemetryRecords(PutTelemetryRecordsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutTelemetryRecords operation. /// /// /// The IAsyncResult returned by the call to BeginPutTelemetryRecords. /// /// Returns a PutTelemetryRecordsResult from XRay. /// REST API Reference for PutTelemetryRecords Operation PutTelemetryRecordsResponse EndPutTelemetryRecords(IAsyncResult asyncResult); #endregion #region PutTraceSegments /// /// Uploads segment documents to Amazon Web Services X-Ray. The X-Ray /// SDK generates segment documents and sends them to the X-Ray daemon, which uploads /// them in batches. A segment document can be a completed segment, an in-progress segment, /// or an array of subsegments. /// /// /// /// Segments must include the following fields. For the full segment document schema, /// see Amazon /// Web Services X-Ray Segment Documents in the Amazon Web Services X-Ray Developer /// Guide. /// ///

Required segment document fields /// ///

/// /// A trace_id consists of three numbers separated by hyphens. For example, /// 1-58406520-a006649127e371903a2de979. This includes: /// ///

Trace ID Format /// ///

///
/// Container for the necessary parameters to execute the PutTraceSegments service method. /// /// The response from the PutTraceSegments service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for PutTraceSegments Operation PutTraceSegmentsResponse PutTraceSegments(PutTraceSegmentsRequest request); /// /// Initiates the asynchronous execution of the PutTraceSegments operation. /// /// /// Container for the necessary parameters to execute the PutTraceSegments operation on AmazonXRayClient. /// 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 EndPutTraceSegments /// operation. /// REST API Reference for PutTraceSegments Operation IAsyncResult BeginPutTraceSegments(PutTraceSegmentsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutTraceSegments operation. /// /// /// The IAsyncResult returned by the call to BeginPutTraceSegments. /// /// Returns a PutTraceSegmentsResult from XRay. /// REST API Reference for PutTraceSegments Operation PutTraceSegmentsResponse EndPutTraceSegments(IAsyncResult asyncResult); #endregion #region TagResource /// /// Applies tags to an existing Amazon Web Services X-Ray group or sampling rule. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The resource was not found. Verify that the name or Amazon Resource Name (ARN) of /// the resource is correct. /// /// /// The request exceeds the maximum number of requests per second. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonXRayClient. /// 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 IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from XRay. /// REST API Reference for TagResource Operation TagResourceResponse EndTagResource(IAsyncResult asyncResult); #endregion #region UntagResource /// /// Removes tags from an Amazon Web Services X-Ray group or sampling rule. You cannot /// edit or delete system tags (those with an aws: prefix). /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The resource was not found. Verify that the name or Amazon Resource Name (ARN) of /// the resource is correct. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonXRayClient. /// 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 IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from XRay. /// REST API Reference for UntagResource Operation UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion #region UpdateGroup /// /// Updates a group resource. /// /// Container for the necessary parameters to execute the UpdateGroup service method. /// /// The response from the UpdateGroup service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for UpdateGroup Operation UpdateGroupResponse UpdateGroup(UpdateGroupRequest request); /// /// Initiates the asynchronous execution of the UpdateGroup operation. /// /// /// Container for the necessary parameters to execute the UpdateGroup operation on AmazonXRayClient. /// 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 EndUpdateGroup /// operation. /// REST API Reference for UpdateGroup Operation IAsyncResult BeginUpdateGroup(UpdateGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateGroup operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateGroup. /// /// Returns a UpdateGroupResult from XRay. /// REST API Reference for UpdateGroup Operation UpdateGroupResponse EndUpdateGroup(IAsyncResult asyncResult); #endregion #region UpdateSamplingRule /// /// Modifies a sampling rule's configuration. /// /// Container for the necessary parameters to execute the UpdateSamplingRule service method. /// /// The response from the UpdateSamplingRule service method, as returned by XRay. /// /// The request is missing required parameters or has invalid parameters. /// /// /// The request exceeds the maximum number of requests per second. /// /// REST API Reference for UpdateSamplingRule Operation UpdateSamplingRuleResponse UpdateSamplingRule(UpdateSamplingRuleRequest request); /// /// Initiates the asynchronous execution of the UpdateSamplingRule operation. /// /// /// Container for the necessary parameters to execute the UpdateSamplingRule operation on AmazonXRayClient. /// 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 EndUpdateSamplingRule /// operation. /// REST API Reference for UpdateSamplingRule Operation IAsyncResult BeginUpdateSamplingRule(UpdateSamplingRuleRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateSamplingRule operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSamplingRule. /// /// Returns a UpdateSamplingRuleResult from XRay. /// REST API Reference for UpdateSamplingRule Operation UpdateSamplingRuleResponse EndUpdateSamplingRule(IAsyncResult asyncResult); #endregion } }