/* * 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 logs-2014-03-28.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.CloudWatchLogs.Model; namespace Amazon.CloudWatchLogs { /// /// Interface for accessing CloudWatchLogs /// /// You can use Amazon CloudWatch Logs to monitor, store, and access your log files from /// EC2 instances, CloudTrail, and other sources. You can then retrieve the associated /// log data from CloudWatch Logs using the CloudWatch console. Alternatively, you can /// use CloudWatch Logs commands in the Amazon Web Services CLI, CloudWatch Logs API, /// or CloudWatch Logs SDK. /// /// /// /// You can use CloudWatch Logs to: /// /// /// public partial interface IAmazonCloudWatchLogs : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// ICloudWatchLogsPaginatorFactory Paginators { get; } #endif #region AssociateKmsKey /// /// Associates the specified KMS key with either one log group in the account, or with /// all stored CloudWatch Logs query insights results in the account. /// /// /// /// When you use AssociateKmsKey, you specify either the logGroupName /// parameter or the resourceIdentifier parameter. You can't specify both /// of those parameters in the same operation. /// /// /// /// If you delete the key that is used to encrypt log events or log group query results, /// then all the associated stored log events or query results that were encrypted with /// that key will be unencryptable and unusable. /// /// /// /// CloudWatch Logs supports only symmetric KMS keys. Do not use an associate an asymmetric /// KMS key with your log group or query results. For more information, see Using /// Symmetric and Asymmetric Keys. /// /// /// /// It can take up to 5 minutes for this operation to take effect. /// /// /// /// If you attempt to associate a KMS key with a log group but the KMS key does not exist /// or the KMS key is disabled, you receive an InvalidParameterException /// error. /// /// /// Container for the necessary parameters to execute the AssociateKmsKey service method. /// /// The response from the AssociateKmsKey service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for AssociateKmsKey Operation AssociateKmsKeyResponse AssociateKmsKey(AssociateKmsKeyRequest request); /// /// Initiates the asynchronous execution of the AssociateKmsKey operation. /// /// /// Container for the necessary parameters to execute the AssociateKmsKey operation on AmazonCloudWatchLogsClient. /// 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 EndAssociateKmsKey /// operation. /// REST API Reference for AssociateKmsKey Operation IAsyncResult BeginAssociateKmsKey(AssociateKmsKeyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the AssociateKmsKey operation. /// /// /// The IAsyncResult returned by the call to BeginAssociateKmsKey. /// /// Returns a AssociateKmsKeyResult from CloudWatchLogs. /// REST API Reference for AssociateKmsKey Operation AssociateKmsKeyResponse EndAssociateKmsKey(IAsyncResult asyncResult); #endregion #region CancelExportTask /// /// Cancels the specified export task. /// /// /// /// The task must be in the PENDING or RUNNING state. /// /// /// Container for the necessary parameters to execute the CancelExportTask service method. /// /// The response from the CancelExportTask service method, as returned by CloudWatchLogs. /// /// The operation is not valid on the specified resource. /// /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for CancelExportTask Operation CancelExportTaskResponse CancelExportTask(CancelExportTaskRequest request); /// /// Initiates the asynchronous execution of the CancelExportTask operation. /// /// /// Container for the necessary parameters to execute the CancelExportTask operation on AmazonCloudWatchLogsClient. /// 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 EndCancelExportTask /// operation. /// REST API Reference for CancelExportTask Operation IAsyncResult BeginCancelExportTask(CancelExportTaskRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CancelExportTask operation. /// /// /// The IAsyncResult returned by the call to BeginCancelExportTask. /// /// Returns a CancelExportTaskResult from CloudWatchLogs. /// REST API Reference for CancelExportTask Operation CancelExportTaskResponse EndCancelExportTask(IAsyncResult asyncResult); #endregion #region CreateExportTask /// /// Creates an export task so that you can efficiently export data from a log group to /// an Amazon S3 bucket. When you perform a CreateExportTask operation, you /// must use credentials that have permission to write to the S3 bucket that you specify /// as the destination. /// /// /// /// Exporting log data to S3 buckets that are encrypted by KMS is supported. Exporting /// log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period /// is also supported. /// /// /// /// Exporting to S3 buckets that are encrypted with AES-256 is supported. /// /// /// /// This is an asynchronous call. If all the required information is provided, this operation /// initiates an export task and responds with the ID of the task. After the task has /// started, you can use DescribeExportTasks /// to get the status of the export task. Each account can only have one active (RUNNING /// or PENDING) export task at a time. To cancel an export task, use CancelExportTask. /// /// /// /// You can export logs from multiple log groups or multiple time ranges to the same S3 /// bucket. To separate log data for each export task, specify a prefix to be used as /// the Amazon S3 key prefix for all exported objects. /// /// /// /// Time-based sorting on chunks of log data inside an exported file is not guaranteed. /// You can sort the exported log field data by using Linux utilities. /// /// /// /// Container for the necessary parameters to execute the CreateExportTask service method. /// /// The response from the CreateExportTask service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// You have reached the maximum number of resources that can be created. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource already exists. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for CreateExportTask Operation CreateExportTaskResponse CreateExportTask(CreateExportTaskRequest request); /// /// Initiates the asynchronous execution of the CreateExportTask operation. /// /// /// Container for the necessary parameters to execute the CreateExportTask operation on AmazonCloudWatchLogsClient. /// 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 EndCreateExportTask /// operation. /// REST API Reference for CreateExportTask Operation IAsyncResult BeginCreateExportTask(CreateExportTaskRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateExportTask operation. /// /// /// The IAsyncResult returned by the call to BeginCreateExportTask. /// /// Returns a CreateExportTaskResult from CloudWatchLogs. /// REST API Reference for CreateExportTask Operation CreateExportTaskResponse EndCreateExportTask(IAsyncResult asyncResult); #endregion #region CreateLogGroup /// /// Creates a log group with the specified name. You can create up to 20,000 log groups /// per account. /// /// /// /// You must use the following guidelines when naming a log group: /// /// /// /// When you create a log group, by default the log events in the log group do not expire. /// To set a retention policy so that events expire and are deleted after a specified /// time, use PutRetentionPolicy. /// /// /// /// If you associate an KMS key with the log group, ingested data is encrypted using the /// KMS key. This association is stored as long as the data encrypted with the KMS key /// is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data /// whenever it is requested. /// /// /// /// If you attempt to associate a KMS key with the log group but the KMS key does not /// exist or the KMS key is disabled, you receive an InvalidParameterException /// error. /// /// /// /// CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS /// key with your log group. For more information, see Using /// Symmetric and Asymmetric Keys. /// /// /// /// Container for the necessary parameters to execute the CreateLogGroup service method. /// /// The response from the CreateLogGroup service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// You have reached the maximum number of resources that can be created. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource already exists. /// /// /// The service cannot complete the request. /// /// REST API Reference for CreateLogGroup Operation CreateLogGroupResponse CreateLogGroup(CreateLogGroupRequest request); /// /// Initiates the asynchronous execution of the CreateLogGroup operation. /// /// /// Container for the necessary parameters to execute the CreateLogGroup operation on AmazonCloudWatchLogsClient. /// 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 EndCreateLogGroup /// operation. /// REST API Reference for CreateLogGroup Operation IAsyncResult BeginCreateLogGroup(CreateLogGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateLogGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateLogGroup. /// /// Returns a CreateLogGroupResult from CloudWatchLogs. /// REST API Reference for CreateLogGroup Operation CreateLogGroupResponse EndCreateLogGroup(IAsyncResult asyncResult); #endregion #region CreateLogStream /// /// Creates a log stream for the specified log group. A log stream is a sequence of log /// events that originate from a single source, such as an application instance or a resource /// that is being monitored. /// /// /// /// There is no limit on the number of log streams that you can create for a log group. /// There is a limit of 50 TPS on CreateLogStream operations, after which /// transactions are throttled. /// /// /// /// You must use the following guidelines when naming a log stream: /// /// /// /// Container for the necessary parameters to execute the CreateLogStream service method. /// /// The response from the CreateLogStream service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource already exists. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for CreateLogStream Operation CreateLogStreamResponse CreateLogStream(CreateLogStreamRequest request); /// /// Initiates the asynchronous execution of the CreateLogStream operation. /// /// /// Container for the necessary parameters to execute the CreateLogStream operation on AmazonCloudWatchLogsClient. /// 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 EndCreateLogStream /// operation. /// REST API Reference for CreateLogStream Operation IAsyncResult BeginCreateLogStream(CreateLogStreamRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateLogStream operation. /// /// /// The IAsyncResult returned by the call to BeginCreateLogStream. /// /// Returns a CreateLogStreamResult from CloudWatchLogs. /// REST API Reference for CreateLogStream Operation CreateLogStreamResponse EndCreateLogStream(IAsyncResult asyncResult); #endregion #region DeleteAccountPolicy /// /// Deletes a CloudWatch Logs account policy. /// /// /// /// To use this operation, you must be signed on with the logs:DeleteDataProtectionPolicy /// and logs:DeleteAccountPolicy permissions. /// /// /// Container for the necessary parameters to execute the DeleteAccountPolicy service method. /// /// The response from the DeleteAccountPolicy service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DeleteAccountPolicy Operation DeleteAccountPolicyResponse DeleteAccountPolicy(DeleteAccountPolicyRequest request); /// /// Initiates the asynchronous execution of the DeleteAccountPolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteAccountPolicy operation on AmazonCloudWatchLogsClient. /// 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 EndDeleteAccountPolicy /// operation. /// REST API Reference for DeleteAccountPolicy Operation IAsyncResult BeginDeleteAccountPolicy(DeleteAccountPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteAccountPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAccountPolicy. /// /// Returns a DeleteAccountPolicyResult from CloudWatchLogs. /// REST API Reference for DeleteAccountPolicy Operation DeleteAccountPolicyResponse EndDeleteAccountPolicy(IAsyncResult asyncResult); #endregion #region DeleteDataProtectionPolicy /// /// Deletes the data protection policy from the specified log group. /// /// /// /// For more information about data protection policies, see PutDataProtectionPolicy. /// /// /// Container for the necessary parameters to execute the DeleteDataProtectionPolicy service method. /// /// The response from the DeleteDataProtectionPolicy service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DeleteDataProtectionPolicy Operation DeleteDataProtectionPolicyResponse DeleteDataProtectionPolicy(DeleteDataProtectionPolicyRequest request); /// /// Initiates the asynchronous execution of the DeleteDataProtectionPolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteDataProtectionPolicy operation on AmazonCloudWatchLogsClient. /// 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 EndDeleteDataProtectionPolicy /// operation. /// REST API Reference for DeleteDataProtectionPolicy Operation IAsyncResult BeginDeleteDataProtectionPolicy(DeleteDataProtectionPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteDataProtectionPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDataProtectionPolicy. /// /// Returns a DeleteDataProtectionPolicyResult from CloudWatchLogs. /// REST API Reference for DeleteDataProtectionPolicy Operation DeleteDataProtectionPolicyResponse EndDeleteDataProtectionPolicy(IAsyncResult asyncResult); #endregion #region DeleteDestination /// /// Deletes the specified destination, and eventually disables all the subscription filters /// that publish to it. This operation does not delete the physical resource encapsulated /// by the destination. /// /// Container for the necessary parameters to execute the DeleteDestination service method. /// /// The response from the DeleteDestination service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DeleteDestination Operation DeleteDestinationResponse DeleteDestination(DeleteDestinationRequest request); /// /// Initiates the asynchronous execution of the DeleteDestination operation. /// /// /// Container for the necessary parameters to execute the DeleteDestination operation on AmazonCloudWatchLogsClient. /// 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 EndDeleteDestination /// operation. /// REST API Reference for DeleteDestination Operation IAsyncResult BeginDeleteDestination(DeleteDestinationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteDestination operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDestination. /// /// Returns a DeleteDestinationResult from CloudWatchLogs. /// REST API Reference for DeleteDestination Operation DeleteDestinationResponse EndDeleteDestination(IAsyncResult asyncResult); #endregion #region DeleteLogGroup /// /// Deletes the specified log group and permanently deletes all the archived log events /// associated with the log group. /// /// Container for the necessary parameters to execute the DeleteLogGroup service method. /// /// The response from the DeleteLogGroup service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DeleteLogGroup Operation DeleteLogGroupResponse DeleteLogGroup(DeleteLogGroupRequest request); /// /// Initiates the asynchronous execution of the DeleteLogGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteLogGroup operation on AmazonCloudWatchLogsClient. /// 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 EndDeleteLogGroup /// operation. /// REST API Reference for DeleteLogGroup Operation IAsyncResult BeginDeleteLogGroup(DeleteLogGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteLogGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteLogGroup. /// /// Returns a DeleteLogGroupResult from CloudWatchLogs. /// REST API Reference for DeleteLogGroup Operation DeleteLogGroupResponse EndDeleteLogGroup(IAsyncResult asyncResult); #endregion #region DeleteLogStream /// /// Deletes the specified log stream and permanently deletes all the archived log events /// associated with the log stream. /// /// Container for the necessary parameters to execute the DeleteLogStream service method. /// /// The response from the DeleteLogStream service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DeleteLogStream Operation DeleteLogStreamResponse DeleteLogStream(DeleteLogStreamRequest request); /// /// Initiates the asynchronous execution of the DeleteLogStream operation. /// /// /// Container for the necessary parameters to execute the DeleteLogStream operation on AmazonCloudWatchLogsClient. /// 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 EndDeleteLogStream /// operation. /// REST API Reference for DeleteLogStream Operation IAsyncResult BeginDeleteLogStream(DeleteLogStreamRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteLogStream operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteLogStream. /// /// Returns a DeleteLogStreamResult from CloudWatchLogs. /// REST API Reference for DeleteLogStream Operation DeleteLogStreamResponse EndDeleteLogStream(IAsyncResult asyncResult); #endregion #region DeleteMetricFilter /// /// Deletes the specified metric filter. /// /// Container for the necessary parameters to execute the DeleteMetricFilter service method. /// /// The response from the DeleteMetricFilter service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DeleteMetricFilter Operation DeleteMetricFilterResponse DeleteMetricFilter(DeleteMetricFilterRequest request); /// /// Initiates the asynchronous execution of the DeleteMetricFilter operation. /// /// /// Container for the necessary parameters to execute the DeleteMetricFilter operation on AmazonCloudWatchLogsClient. /// 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 EndDeleteMetricFilter /// operation. /// REST API Reference for DeleteMetricFilter Operation IAsyncResult BeginDeleteMetricFilter(DeleteMetricFilterRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteMetricFilter operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteMetricFilter. /// /// Returns a DeleteMetricFilterResult from CloudWatchLogs. /// REST API Reference for DeleteMetricFilter Operation DeleteMetricFilterResponse EndDeleteMetricFilter(IAsyncResult asyncResult); #endregion #region DeleteQueryDefinition /// /// Deletes a saved CloudWatch Logs Insights query definition. A query definition contains /// details about a saved CloudWatch Logs Insights query. /// /// /// /// Each DeleteQueryDefinition operation can delete one query definition. /// /// /// /// You must have the logs:DeleteQueryDefinition permission to be able to /// perform this operation. /// /// /// Container for the necessary parameters to execute the DeleteQueryDefinition service method. /// /// The response from the DeleteQueryDefinition service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DeleteQueryDefinition Operation DeleteQueryDefinitionResponse DeleteQueryDefinition(DeleteQueryDefinitionRequest request); /// /// Initiates the asynchronous execution of the DeleteQueryDefinition operation. /// /// /// Container for the necessary parameters to execute the DeleteQueryDefinition operation on AmazonCloudWatchLogsClient. /// 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 EndDeleteQueryDefinition /// operation. /// REST API Reference for DeleteQueryDefinition Operation IAsyncResult BeginDeleteQueryDefinition(DeleteQueryDefinitionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteQueryDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteQueryDefinition. /// /// Returns a DeleteQueryDefinitionResult from CloudWatchLogs. /// REST API Reference for DeleteQueryDefinition Operation DeleteQueryDefinitionResponse EndDeleteQueryDefinition(IAsyncResult asyncResult); #endregion #region DeleteResourcePolicy /// /// Deletes a resource policy from this account. This revokes the access of the identities /// in that policy to put log events to this account. /// /// Container for the necessary parameters to execute the DeleteResourcePolicy service method. /// /// The response from the DeleteResourcePolicy service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// 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 AmazonCloudWatchLogsClient. /// 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 CloudWatchLogs. /// REST API Reference for DeleteResourcePolicy Operation DeleteResourcePolicyResponse EndDeleteResourcePolicy(IAsyncResult asyncResult); #endregion #region DeleteRetentionPolicy /// /// Deletes the specified retention policy. /// /// /// /// Log events do not expire if they belong to log groups without a retention policy. /// /// /// Container for the necessary parameters to execute the DeleteRetentionPolicy service method. /// /// The response from the DeleteRetentionPolicy service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DeleteRetentionPolicy Operation DeleteRetentionPolicyResponse DeleteRetentionPolicy(DeleteRetentionPolicyRequest request); /// /// Initiates the asynchronous execution of the DeleteRetentionPolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteRetentionPolicy operation on AmazonCloudWatchLogsClient. /// 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 EndDeleteRetentionPolicy /// operation. /// REST API Reference for DeleteRetentionPolicy Operation IAsyncResult BeginDeleteRetentionPolicy(DeleteRetentionPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteRetentionPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRetentionPolicy. /// /// Returns a DeleteRetentionPolicyResult from CloudWatchLogs. /// REST API Reference for DeleteRetentionPolicy Operation DeleteRetentionPolicyResponse EndDeleteRetentionPolicy(IAsyncResult asyncResult); #endregion #region DeleteSubscriptionFilter /// /// Deletes the specified subscription filter. /// /// Container for the necessary parameters to execute the DeleteSubscriptionFilter service method. /// /// The response from the DeleteSubscriptionFilter service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DeleteSubscriptionFilter Operation DeleteSubscriptionFilterResponse DeleteSubscriptionFilter(DeleteSubscriptionFilterRequest request); /// /// Initiates the asynchronous execution of the DeleteSubscriptionFilter operation. /// /// /// Container for the necessary parameters to execute the DeleteSubscriptionFilter operation on AmazonCloudWatchLogsClient. /// 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 EndDeleteSubscriptionFilter /// operation. /// REST API Reference for DeleteSubscriptionFilter Operation IAsyncResult BeginDeleteSubscriptionFilter(DeleteSubscriptionFilterRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteSubscriptionFilter operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSubscriptionFilter. /// /// Returns a DeleteSubscriptionFilterResult from CloudWatchLogs. /// REST API Reference for DeleteSubscriptionFilter Operation DeleteSubscriptionFilterResponse EndDeleteSubscriptionFilter(IAsyncResult asyncResult); #endregion #region DescribeAccountPolicies /// /// Returns a list of all CloudWatch Logs account policies in the account. /// /// Container for the necessary parameters to execute the DescribeAccountPolicies service method. /// /// The response from the DescribeAccountPolicies service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DescribeAccountPolicies Operation DescribeAccountPoliciesResponse DescribeAccountPolicies(DescribeAccountPoliciesRequest request); /// /// Initiates the asynchronous execution of the DescribeAccountPolicies operation. /// /// /// Container for the necessary parameters to execute the DescribeAccountPolicies operation on AmazonCloudWatchLogsClient. /// 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 EndDescribeAccountPolicies /// operation. /// REST API Reference for DescribeAccountPolicies Operation IAsyncResult BeginDescribeAccountPolicies(DescribeAccountPoliciesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeAccountPolicies operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAccountPolicies. /// /// Returns a DescribeAccountPoliciesResult from CloudWatchLogs. /// REST API Reference for DescribeAccountPolicies Operation DescribeAccountPoliciesResponse EndDescribeAccountPolicies(IAsyncResult asyncResult); #endregion #region DescribeDestinations /// /// Lists all your destinations. The results are ASCII-sorted by destination name. /// /// Container for the necessary parameters to execute the DescribeDestinations service method. /// /// The response from the DescribeDestinations service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The service cannot complete the request. /// /// REST API Reference for DescribeDestinations Operation DescribeDestinationsResponse DescribeDestinations(DescribeDestinationsRequest request); /// /// Initiates the asynchronous execution of the DescribeDestinations operation. /// /// /// Container for the necessary parameters to execute the DescribeDestinations operation on AmazonCloudWatchLogsClient. /// 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 EndDescribeDestinations /// operation. /// REST API Reference for DescribeDestinations Operation IAsyncResult BeginDescribeDestinations(DescribeDestinationsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeDestinations operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDestinations. /// /// Returns a DescribeDestinationsResult from CloudWatchLogs. /// REST API Reference for DescribeDestinations Operation DescribeDestinationsResponse EndDescribeDestinations(IAsyncResult asyncResult); #endregion #region DescribeExportTasks /// /// Lists the specified export tasks. You can list all your export tasks or filter the /// results based on task ID or task status. /// /// Container for the necessary parameters to execute the DescribeExportTasks service method. /// /// The response from the DescribeExportTasks service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The service cannot complete the request. /// /// REST API Reference for DescribeExportTasks Operation DescribeExportTasksResponse DescribeExportTasks(DescribeExportTasksRequest request); /// /// Initiates the asynchronous execution of the DescribeExportTasks operation. /// /// /// Container for the necessary parameters to execute the DescribeExportTasks operation on AmazonCloudWatchLogsClient. /// 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 EndDescribeExportTasks /// operation. /// REST API Reference for DescribeExportTasks Operation IAsyncResult BeginDescribeExportTasks(DescribeExportTasksRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeExportTasks operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeExportTasks. /// /// Returns a DescribeExportTasksResult from CloudWatchLogs. /// REST API Reference for DescribeExportTasks Operation DescribeExportTasksResponse EndDescribeExportTasks(IAsyncResult asyncResult); #endregion #region DescribeLogGroups /// /// Lists the specified log groups. You can list all your log groups or filter the results /// by prefix. The results are ASCII-sorted by log group name. /// /// /// /// CloudWatch Logs doesn’t support IAM policies that control access to the DescribeLogGroups /// action by using the aws:ResourceTag/key-name condition key. Other /// CloudWatch Logs actions do support the use of the aws:ResourceTag/key-name /// condition key to control access. For more information about using tags to /// control access, see Controlling /// access to Amazon Web Services resources using tags. /// /// /// /// If you are using CloudWatch cross-account observability, you can use this operation /// in a monitoring account and view data from the linked source accounts. For more information, /// see CloudWatch /// cross-account observability. /// /// /// /// The response from the DescribeLogGroups service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The service cannot complete the request. /// /// REST API Reference for DescribeLogGroups Operation DescribeLogGroupsResponse DescribeLogGroups(); /// /// Lists the specified log groups. You can list all your log groups or filter the results /// by prefix. The results are ASCII-sorted by log group name. /// /// /// /// CloudWatch Logs doesn’t support IAM policies that control access to the DescribeLogGroups /// action by using the aws:ResourceTag/key-name condition key. Other /// CloudWatch Logs actions do support the use of the aws:ResourceTag/key-name /// condition key to control access. For more information about using tags to /// control access, see Controlling /// access to Amazon Web Services resources using tags. /// /// /// /// If you are using CloudWatch cross-account observability, you can use this operation /// in a monitoring account and view data from the linked source accounts. For more information, /// see CloudWatch /// cross-account observability. /// /// /// Container for the necessary parameters to execute the DescribeLogGroups service method. /// /// The response from the DescribeLogGroups service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The service cannot complete the request. /// /// REST API Reference for DescribeLogGroups Operation DescribeLogGroupsResponse DescribeLogGroups(DescribeLogGroupsRequest request); /// /// Initiates the asynchronous execution of the DescribeLogGroups operation. /// /// /// Container for the necessary parameters to execute the DescribeLogGroups operation on AmazonCloudWatchLogsClient. /// 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 EndDescribeLogGroups /// operation. /// REST API Reference for DescribeLogGroups Operation IAsyncResult BeginDescribeLogGroups(DescribeLogGroupsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeLogGroups operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeLogGroups. /// /// Returns a DescribeLogGroupsResult from CloudWatchLogs. /// REST API Reference for DescribeLogGroups Operation DescribeLogGroupsResponse EndDescribeLogGroups(IAsyncResult asyncResult); #endregion #region DescribeLogStreams /// /// Lists the log streams for the specified log group. You can list all the log streams /// or filter the results by prefix. You can also control how the results are ordered. /// /// /// /// You can specify the log group to search by using either logGroupIdentifier /// or logGroupName. You must include one of these two parameters, but you /// can't include both. /// /// /// /// This operation has a limit of five transactions per second, after which transactions /// are throttled. /// /// /// /// If you are using CloudWatch cross-account observability, you can use this operation /// in a monitoring account and view data from the linked source accounts. For more information, /// see CloudWatch /// cross-account observability. /// /// /// Container for the necessary parameters to execute the DescribeLogStreams service method. /// /// The response from the DescribeLogStreams service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DescribeLogStreams Operation DescribeLogStreamsResponse DescribeLogStreams(DescribeLogStreamsRequest request); /// /// Initiates the asynchronous execution of the DescribeLogStreams operation. /// /// /// Container for the necessary parameters to execute the DescribeLogStreams operation on AmazonCloudWatchLogsClient. /// 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 EndDescribeLogStreams /// operation. /// REST API Reference for DescribeLogStreams Operation IAsyncResult BeginDescribeLogStreams(DescribeLogStreamsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeLogStreams operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeLogStreams. /// /// Returns a DescribeLogStreamsResult from CloudWatchLogs. /// REST API Reference for DescribeLogStreams Operation DescribeLogStreamsResponse EndDescribeLogStreams(IAsyncResult asyncResult); #endregion #region DescribeMetricFilters /// /// Lists the specified metric filters. You can list all of the metric filters or filter /// the results by log name, prefix, metric name, or metric namespace. The results are /// ASCII-sorted by filter name. /// /// Container for the necessary parameters to execute the DescribeMetricFilters service method. /// /// The response from the DescribeMetricFilters service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DescribeMetricFilters Operation DescribeMetricFiltersResponse DescribeMetricFilters(DescribeMetricFiltersRequest request); /// /// Initiates the asynchronous execution of the DescribeMetricFilters operation. /// /// /// Container for the necessary parameters to execute the DescribeMetricFilters operation on AmazonCloudWatchLogsClient. /// 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 EndDescribeMetricFilters /// operation. /// REST API Reference for DescribeMetricFilters Operation IAsyncResult BeginDescribeMetricFilters(DescribeMetricFiltersRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeMetricFilters operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeMetricFilters. /// /// Returns a DescribeMetricFiltersResult from CloudWatchLogs. /// REST API Reference for DescribeMetricFilters Operation DescribeMetricFiltersResponse EndDescribeMetricFilters(IAsyncResult asyncResult); #endregion #region DescribeQueries /// /// Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or /// have been run recently in this account. You can request all queries or limit it to /// queries of a specific log group or queries with a certain status. /// /// Container for the necessary parameters to execute the DescribeQueries service method. /// /// The response from the DescribeQueries service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DescribeQueries Operation DescribeQueriesResponse DescribeQueries(DescribeQueriesRequest request); /// /// Initiates the asynchronous execution of the DescribeQueries operation. /// /// /// Container for the necessary parameters to execute the DescribeQueries operation on AmazonCloudWatchLogsClient. /// 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 EndDescribeQueries /// operation. /// REST API Reference for DescribeQueries Operation IAsyncResult BeginDescribeQueries(DescribeQueriesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeQueries operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeQueries. /// /// Returns a DescribeQueriesResult from CloudWatchLogs. /// REST API Reference for DescribeQueries Operation DescribeQueriesResponse EndDescribeQueries(IAsyncResult asyncResult); #endregion #region DescribeQueryDefinitions /// /// This operation returns a paginated list of your saved CloudWatch Logs Insights query /// definitions. /// /// /// /// You can use the queryDefinitionNamePrefix parameter to limit the results /// to only the query definitions that have names that start with a certain string. /// /// /// Container for the necessary parameters to execute the DescribeQueryDefinitions service method. /// /// The response from the DescribeQueryDefinitions service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The service cannot complete the request. /// /// REST API Reference for DescribeQueryDefinitions Operation DescribeQueryDefinitionsResponse DescribeQueryDefinitions(DescribeQueryDefinitionsRequest request); /// /// Initiates the asynchronous execution of the DescribeQueryDefinitions operation. /// /// /// Container for the necessary parameters to execute the DescribeQueryDefinitions operation on AmazonCloudWatchLogsClient. /// 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 EndDescribeQueryDefinitions /// operation. /// REST API Reference for DescribeQueryDefinitions Operation IAsyncResult BeginDescribeQueryDefinitions(DescribeQueryDefinitionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeQueryDefinitions operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeQueryDefinitions. /// /// Returns a DescribeQueryDefinitionsResult from CloudWatchLogs. /// REST API Reference for DescribeQueryDefinitions Operation DescribeQueryDefinitionsResponse EndDescribeQueryDefinitions(IAsyncResult asyncResult); #endregion #region DescribeResourcePolicies /// /// Lists the resource policies in this account. /// /// Container for the necessary parameters to execute the DescribeResourcePolicies service method. /// /// The response from the DescribeResourcePolicies service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The service cannot complete the request. /// /// REST API Reference for DescribeResourcePolicies Operation DescribeResourcePoliciesResponse DescribeResourcePolicies(DescribeResourcePoliciesRequest request); /// /// Initiates the asynchronous execution of the DescribeResourcePolicies operation. /// /// /// Container for the necessary parameters to execute the DescribeResourcePolicies operation on AmazonCloudWatchLogsClient. /// 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 EndDescribeResourcePolicies /// operation. /// REST API Reference for DescribeResourcePolicies Operation IAsyncResult BeginDescribeResourcePolicies(DescribeResourcePoliciesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeResourcePolicies operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeResourcePolicies. /// /// Returns a DescribeResourcePoliciesResult from CloudWatchLogs. /// REST API Reference for DescribeResourcePolicies Operation DescribeResourcePoliciesResponse EndDescribeResourcePolicies(IAsyncResult asyncResult); #endregion #region DescribeSubscriptionFilters /// /// Lists the subscription filters for the specified log group. You can list all the subscription /// filters or filter the results by prefix. The results are ASCII-sorted by filter name. /// /// Container for the necessary parameters to execute the DescribeSubscriptionFilters service method. /// /// The response from the DescribeSubscriptionFilters service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DescribeSubscriptionFilters Operation DescribeSubscriptionFiltersResponse DescribeSubscriptionFilters(DescribeSubscriptionFiltersRequest request); /// /// Initiates the asynchronous execution of the DescribeSubscriptionFilters operation. /// /// /// Container for the necessary parameters to execute the DescribeSubscriptionFilters operation on AmazonCloudWatchLogsClient. /// 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 EndDescribeSubscriptionFilters /// operation. /// REST API Reference for DescribeSubscriptionFilters Operation IAsyncResult BeginDescribeSubscriptionFilters(DescribeSubscriptionFiltersRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeSubscriptionFilters operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSubscriptionFilters. /// /// Returns a DescribeSubscriptionFiltersResult from CloudWatchLogs. /// REST API Reference for DescribeSubscriptionFilters Operation DescribeSubscriptionFiltersResponse EndDescribeSubscriptionFilters(IAsyncResult asyncResult); #endregion #region DisassociateKmsKey /// /// Disassociates the specified KMS key from the specified log group or from all CloudWatch /// Logs Insights query results in the account. /// /// /// /// When you use DisassociateKmsKey, you specify either the logGroupName /// parameter or the resourceIdentifier parameter. You can't specify both /// of those parameters in the same operation. /// /// /// /// It can take up to 5 minutes for this operation to take effect. /// /// /// Container for the necessary parameters to execute the DisassociateKmsKey service method. /// /// The response from the DisassociateKmsKey service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for DisassociateKmsKey Operation DisassociateKmsKeyResponse DisassociateKmsKey(DisassociateKmsKeyRequest request); /// /// Initiates the asynchronous execution of the DisassociateKmsKey operation. /// /// /// Container for the necessary parameters to execute the DisassociateKmsKey operation on AmazonCloudWatchLogsClient. /// 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 EndDisassociateKmsKey /// operation. /// REST API Reference for DisassociateKmsKey Operation IAsyncResult BeginDisassociateKmsKey(DisassociateKmsKeyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DisassociateKmsKey operation. /// /// /// The IAsyncResult returned by the call to BeginDisassociateKmsKey. /// /// Returns a DisassociateKmsKeyResult from CloudWatchLogs. /// REST API Reference for DisassociateKmsKey Operation DisassociateKmsKeyResponse EndDisassociateKmsKey(IAsyncResult asyncResult); #endregion #region FilterLogEvents /// /// Lists log events from the specified log group. You can list all the log events or /// filter the results using a filter pattern, a time range, and the name of the log stream. /// /// /// /// You must have the logs:FilterLogEvents permission to perform this operation. /// /// /// /// You can specify the log group to search by using either logGroupIdentifier /// or logGroupName. You must include one of these two parameters, but you /// can't include both. /// /// /// /// By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 /// log events) or all the events found within the specified time range. If the results /// include a token, that means there are more log events available. You can get additional /// results by specifying the token in a subsequent call. This operation can return empty /// results while there are more log events available through the token. /// /// /// /// The returned log events are sorted by event timestamp, the timestamp when the event /// was ingested by CloudWatch Logs, and the ID of the PutLogEvents request. /// /// /// /// If you are using CloudWatch cross-account observability, you can use this operation /// in a monitoring account and view data from the linked source accounts. For more information, /// see CloudWatch /// cross-account observability. /// /// /// Container for the necessary parameters to execute the FilterLogEvents service method. /// /// The response from the FilterLogEvents service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for FilterLogEvents Operation FilterLogEventsResponse FilterLogEvents(FilterLogEventsRequest request); /// /// Initiates the asynchronous execution of the FilterLogEvents operation. /// /// /// Container for the necessary parameters to execute the FilterLogEvents operation on AmazonCloudWatchLogsClient. /// 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 EndFilterLogEvents /// operation. /// REST API Reference for FilterLogEvents Operation IAsyncResult BeginFilterLogEvents(FilterLogEventsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the FilterLogEvents operation. /// /// /// The IAsyncResult returned by the call to BeginFilterLogEvents. /// /// Returns a FilterLogEventsResult from CloudWatchLogs. /// REST API Reference for FilterLogEvents Operation FilterLogEventsResponse EndFilterLogEvents(IAsyncResult asyncResult); #endregion #region GetDataProtectionPolicy /// /// Returns information about a log group data protection policy. /// /// Container for the necessary parameters to execute the GetDataProtectionPolicy service method. /// /// The response from the GetDataProtectionPolicy service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for GetDataProtectionPolicy Operation GetDataProtectionPolicyResponse GetDataProtectionPolicy(GetDataProtectionPolicyRequest request); /// /// Initiates the asynchronous execution of the GetDataProtectionPolicy operation. /// /// /// Container for the necessary parameters to execute the GetDataProtectionPolicy operation on AmazonCloudWatchLogsClient. /// 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 EndGetDataProtectionPolicy /// operation. /// REST API Reference for GetDataProtectionPolicy Operation IAsyncResult BeginGetDataProtectionPolicy(GetDataProtectionPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetDataProtectionPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginGetDataProtectionPolicy. /// /// Returns a GetDataProtectionPolicyResult from CloudWatchLogs. /// REST API Reference for GetDataProtectionPolicy Operation GetDataProtectionPolicyResponse EndGetDataProtectionPolicy(IAsyncResult asyncResult); #endregion #region GetLogEvents /// /// Lists log events from the specified log stream. You can list all of the log events /// or filter using a time range. /// /// /// /// By default, this operation returns as many log events as can fit in a response size /// of 1MB (up to 10,000 log events). You can get additional log events by specifying /// one of the tokens in a subsequent call. This operation can return empty results while /// there are more log events available through the token. /// /// /// /// If you are using CloudWatch cross-account observability, you can use this operation /// in a monitoring account and view data from the linked source accounts. For more information, /// see CloudWatch /// cross-account observability. /// /// /// /// You can specify the log group to search by using either logGroupIdentifier /// or logGroupName. You must include one of these two parameters, but you /// can't include both. /// /// /// Container for the necessary parameters to execute the GetLogEvents service method. /// /// The response from the GetLogEvents service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for GetLogEvents Operation GetLogEventsResponse GetLogEvents(GetLogEventsRequest request); /// /// Initiates the asynchronous execution of the GetLogEvents operation. /// /// /// Container for the necessary parameters to execute the GetLogEvents operation on AmazonCloudWatchLogsClient. /// 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 EndGetLogEvents /// operation. /// REST API Reference for GetLogEvents Operation IAsyncResult BeginGetLogEvents(GetLogEventsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetLogEvents operation. /// /// /// The IAsyncResult returned by the call to BeginGetLogEvents. /// /// Returns a GetLogEventsResult from CloudWatchLogs. /// REST API Reference for GetLogEvents Operation GetLogEventsResponse EndGetLogEvents(IAsyncResult asyncResult); #endregion #region GetLogGroupFields /// /// Returns a list of the fields that are included in log events in the specified log /// group. Includes the percentage of log events that contain each field. The search is /// limited to a time period that you specify. /// /// /// /// You can specify the log group to search by using either logGroupIdentifier /// or logGroupName. You must specify one of these parameters, but you can't /// specify both. /// /// /// /// In the results, fields that start with @ are fields generated by CloudWatch /// Logs. For example, @timestamp is the timestamp of each log event. For /// more information about the fields that are generated by CloudWatch logs, see Supported /// Logs and Discovered Fields. /// /// /// /// The response results are sorted by the frequency percentage, starting with the highest /// percentage. /// /// /// /// If you are using CloudWatch cross-account observability, you can use this operation /// in a monitoring account and view data from the linked source accounts. For more information, /// see CloudWatch /// cross-account observability. /// /// /// Container for the necessary parameters to execute the GetLogGroupFields service method. /// /// The response from the GetLogGroupFields service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// You have reached the maximum number of resources that can be created. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for GetLogGroupFields Operation GetLogGroupFieldsResponse GetLogGroupFields(GetLogGroupFieldsRequest request); /// /// Initiates the asynchronous execution of the GetLogGroupFields operation. /// /// /// Container for the necessary parameters to execute the GetLogGroupFields operation on AmazonCloudWatchLogsClient. /// 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 EndGetLogGroupFields /// operation. /// REST API Reference for GetLogGroupFields Operation IAsyncResult BeginGetLogGroupFields(GetLogGroupFieldsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetLogGroupFields operation. /// /// /// The IAsyncResult returned by the call to BeginGetLogGroupFields. /// /// Returns a GetLogGroupFieldsResult from CloudWatchLogs. /// REST API Reference for GetLogGroupFields Operation GetLogGroupFieldsResponse EndGetLogGroupFields(IAsyncResult asyncResult); #endregion #region GetLogRecord /// /// Retrieves all of the fields and values of a single log event. All fields are retrieved, /// even if the original query that produced the logRecordPointer retrieved /// only a subset of fields. Fields are returned as field name/field value pairs. /// /// /// /// The full unparsed log event is returned within @message. /// /// /// Container for the necessary parameters to execute the GetLogRecord service method. /// /// The response from the GetLogRecord service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// You have reached the maximum number of resources that can be created. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for GetLogRecord Operation GetLogRecordResponse GetLogRecord(GetLogRecordRequest request); /// /// Initiates the asynchronous execution of the GetLogRecord operation. /// /// /// Container for the necessary parameters to execute the GetLogRecord operation on AmazonCloudWatchLogsClient. /// 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 EndGetLogRecord /// operation. /// REST API Reference for GetLogRecord Operation IAsyncResult BeginGetLogRecord(GetLogRecordRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetLogRecord operation. /// /// /// The IAsyncResult returned by the call to BeginGetLogRecord. /// /// Returns a GetLogRecordResult from CloudWatchLogs. /// REST API Reference for GetLogRecord Operation GetLogRecordResponse EndGetLogRecord(IAsyncResult asyncResult); #endregion #region GetQueryResults /// /// Returns the results from the specified query. /// /// /// /// Only the fields requested in the query are returned, along with a @ptr /// field, which is the identifier for the log record. You can use the value of @ptr /// in a GetLogRecord /// operation to get the full log record. /// /// /// /// GetQueryResults does not start running a query. To run a query, use /// StartQuery. /// /// /// /// If the value of the Status field in the output is Running, /// this operation returns only partial results. If you see a value of Scheduled /// or Running for the status, you can retry the operation later to see the /// final results. /// /// /// /// If you are using CloudWatch cross-account observability, you can use this operation /// in a monitoring account to start queries in linked source accounts. For more information, /// see CloudWatch /// cross-account observability. /// /// /// Container for the necessary parameters to execute the GetQueryResults service method. /// /// The response from the GetQueryResults service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for GetQueryResults Operation GetQueryResultsResponse GetQueryResults(GetQueryResultsRequest request); /// /// Initiates the asynchronous execution of the GetQueryResults operation. /// /// /// Container for the necessary parameters to execute the GetQueryResults operation on AmazonCloudWatchLogsClient. /// 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 EndGetQueryResults /// operation. /// REST API Reference for GetQueryResults Operation IAsyncResult BeginGetQueryResults(GetQueryResultsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetQueryResults operation. /// /// /// The IAsyncResult returned by the call to BeginGetQueryResults. /// /// Returns a GetQueryResultsResult from CloudWatchLogs. /// REST API Reference for GetQueryResults Operation GetQueryResultsResponse EndGetQueryResults(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// /// Displays the tags associated with a CloudWatch Logs resource. Currently, log groups /// and destinations support tagging. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// 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 AmazonCloudWatchLogsClient. /// 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 CloudWatchLogs. /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region ListTagsLogGroup /// /// /// /// The ListTagsLogGroup operation is on the path to deprecation. We recommend that you /// use ListTagsForResource /// instead. /// /// /// /// Lists the tags for the specified log group. /// /// /// Container for the necessary parameters to execute the ListTagsLogGroup service method. /// /// The response from the ListTagsLogGroup service method, as returned by CloudWatchLogs. /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for ListTagsLogGroup Operation [Obsolete("Please use the generic tagging API ListTagsForResource")] ListTagsLogGroupResponse ListTagsLogGroup(ListTagsLogGroupRequest request); /// /// Initiates the asynchronous execution of the ListTagsLogGroup operation. /// /// /// Container for the necessary parameters to execute the ListTagsLogGroup operation on AmazonCloudWatchLogsClient. /// 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 EndListTagsLogGroup /// operation. /// REST API Reference for ListTagsLogGroup Operation [Obsolete("Please use the generic tagging API ListTagsForResource")] IAsyncResult BeginListTagsLogGroup(ListTagsLogGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListTagsLogGroup operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsLogGroup. /// /// Returns a ListTagsLogGroupResult from CloudWatchLogs. /// REST API Reference for ListTagsLogGroup Operation [Obsolete("Please use the generic tagging API ListTagsForResource")] ListTagsLogGroupResponse EndListTagsLogGroup(IAsyncResult asyncResult); #endregion #region PutAccountPolicy /// /// Creates an account-level data protection policy that applies to all log groups in /// the account. A data protection policy can help safeguard sensitive data that's ingested /// by your log groups by auditing and masking the sensitive log data. Each account can /// have only one account-level policy. /// /// /// /// Sensitive data is detected and masked when it is ingested into a log group. When you /// set a data protection policy, log events ingested into the log groups before that /// time are not masked. /// /// /// /// If you use PutAccountPolicy to create a data protection policy for your /// whole account, it applies to both existing log groups and all log groups that are /// created later in this account. The account policy is applied to existing log groups /// with eventual consistency. It might take up to 5 minutes before sensitive data in /// existing log groups begins to be masked. /// /// /// /// By default, when a user views a log event that includes masked data, the sensitive /// data is replaced by asterisks. A user who has the logs:Unmask permission /// can use a GetLogEvents /// or FilterLogEvents /// operation with the unmask parameter set to true to view /// the unmasked log events. Users with the logs:Unmask can also view unmasked /// data in the CloudWatch Logs console by running a CloudWatch Logs Insights query with /// the unmask query command. /// /// /// /// For more information, including a list of types of data that can be audited and masked, /// see Protect /// sensitive log data with masking. /// /// /// /// To use the PutAccountPolicy operation, you must be signed on with the /// logs:PutDataProtectionPolicy and logs:PutAccountPolicy permissions. /// /// /// /// The PutAccountPolicy operation applies to all log groups in the account. /// You can also use PutDataProtectionPolicy /// to create a data protection policy that applies to just one log group. If a log group /// has its own data protection policy and the account also has an account-level data /// protection policy, then the two policies are cumulative. Any sensitive term specified /// in either policy is masked. /// /// /// Container for the necessary parameters to execute the PutAccountPolicy service method. /// /// The response from the PutAccountPolicy service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// You have reached the maximum number of resources that can be created. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The service cannot complete the request. /// /// REST API Reference for PutAccountPolicy Operation PutAccountPolicyResponse PutAccountPolicy(PutAccountPolicyRequest request); /// /// Initiates the asynchronous execution of the PutAccountPolicy operation. /// /// /// Container for the necessary parameters to execute the PutAccountPolicy operation on AmazonCloudWatchLogsClient. /// 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 EndPutAccountPolicy /// operation. /// REST API Reference for PutAccountPolicy Operation IAsyncResult BeginPutAccountPolicy(PutAccountPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutAccountPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutAccountPolicy. /// /// Returns a PutAccountPolicyResult from CloudWatchLogs. /// REST API Reference for PutAccountPolicy Operation PutAccountPolicyResponse EndPutAccountPolicy(IAsyncResult asyncResult); #endregion #region PutDataProtectionPolicy /// /// Creates a data protection policy for the specified log group. A data protection policy /// can help safeguard sensitive data that's ingested by the log group by auditing and /// masking the sensitive log data. /// /// /// /// Sensitive data is detected and masked when it is ingested into the log group. When /// you set a data protection policy, log events ingested into the log group before that /// time are not masked. /// /// /// /// By default, when a user views a log event that includes masked data, the sensitive /// data is replaced by asterisks. A user who has the logs:Unmask permission /// can use a GetLogEvents /// or FilterLogEvents /// operation with the unmask parameter set to true to view /// the unmasked log events. Users with the logs:Unmask can also view unmasked /// data in the CloudWatch Logs console by running a CloudWatch Logs Insights query with /// the unmask query command. /// /// /// /// For more information, including a list of types of data that can be audited and masked, /// see Protect /// sensitive log data with masking. /// /// /// /// The PutDataProtectionPolicy operation applies to only the specified log /// group. You can also use PutAccountPolicy /// to create an account-level data protection policy that applies to all log groups in /// the account, including both existing log groups and log groups that are created level. /// If a log group has its own data protection policy and the account also has an account-level /// data protection policy, then the two policies are cumulative. Any sensitive term specified /// in either policy is masked. /// /// /// Container for the necessary parameters to execute the PutDataProtectionPolicy service method. /// /// The response from the PutDataProtectionPolicy service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// You have reached the maximum number of resources that can be created. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for PutDataProtectionPolicy Operation PutDataProtectionPolicyResponse PutDataProtectionPolicy(PutDataProtectionPolicyRequest request); /// /// Initiates the asynchronous execution of the PutDataProtectionPolicy operation. /// /// /// Container for the necessary parameters to execute the PutDataProtectionPolicy operation on AmazonCloudWatchLogsClient. /// 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 EndPutDataProtectionPolicy /// operation. /// REST API Reference for PutDataProtectionPolicy Operation IAsyncResult BeginPutDataProtectionPolicy(PutDataProtectionPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutDataProtectionPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutDataProtectionPolicy. /// /// Returns a PutDataProtectionPolicyResult from CloudWatchLogs. /// REST API Reference for PutDataProtectionPolicy Operation PutDataProtectionPolicyResponse EndPutDataProtectionPolicy(IAsyncResult asyncResult); #endregion #region PutDestination /// /// Creates or updates a destination. This operation is used only to create destinations /// for cross-account subscriptions. /// /// /// /// A destination encapsulates a physical resource (such as an Amazon Kinesis stream). /// With a destination, you can subscribe to a real-time stream of log events for a different /// account, ingested using PutLogEvents. /// /// /// /// Through an access policy, a destination controls what is written to it. By default, /// PutDestination does not set any access policy with the destination, which /// means a cross-account user cannot call PutSubscriptionFilter /// against this destination. To enable this, the destination owner must call PutDestinationPolicy /// after PutDestination. /// /// /// /// To perform a PutDestination operation, you must also have the iam:PassRole /// permission. /// /// /// Container for the necessary parameters to execute the PutDestination service method. /// /// The response from the PutDestination service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The service cannot complete the request. /// /// REST API Reference for PutDestination Operation PutDestinationResponse PutDestination(PutDestinationRequest request); /// /// Initiates the asynchronous execution of the PutDestination operation. /// /// /// Container for the necessary parameters to execute the PutDestination operation on AmazonCloudWatchLogsClient. /// 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 EndPutDestination /// operation. /// REST API Reference for PutDestination Operation IAsyncResult BeginPutDestination(PutDestinationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutDestination operation. /// /// /// The IAsyncResult returned by the call to BeginPutDestination. /// /// Returns a PutDestinationResult from CloudWatchLogs. /// REST API Reference for PutDestination Operation PutDestinationResponse EndPutDestination(IAsyncResult asyncResult); #endregion #region PutDestinationPolicy /// /// Creates or updates an access policy associated with an existing destination. An access /// policy is an IAM /// policy document that is used to authorize claims to register a subscription filter /// against a given destination. /// /// Container for the necessary parameters to execute the PutDestinationPolicy service method. /// /// The response from the PutDestinationPolicy service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The service cannot complete the request. /// /// REST API Reference for PutDestinationPolicy Operation PutDestinationPolicyResponse PutDestinationPolicy(PutDestinationPolicyRequest request); /// /// Initiates the asynchronous execution of the PutDestinationPolicy operation. /// /// /// Container for the necessary parameters to execute the PutDestinationPolicy operation on AmazonCloudWatchLogsClient. /// 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 EndPutDestinationPolicy /// operation. /// REST API Reference for PutDestinationPolicy Operation IAsyncResult BeginPutDestinationPolicy(PutDestinationPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutDestinationPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutDestinationPolicy. /// /// Returns a PutDestinationPolicyResult from CloudWatchLogs. /// REST API Reference for PutDestinationPolicy Operation PutDestinationPolicyResponse EndPutDestinationPolicy(IAsyncResult asyncResult); #endregion #region PutLogEvents /// /// Uploads a batch of log events to the specified log stream. /// /// /// /// The sequence token is now ignored in PutLogEvents actions. PutLogEvents /// actions are always accepted and never return InvalidSequenceTokenException /// or DataAlreadyAcceptedException even if the sequence token is not valid. /// You can use parallel PutLogEvents actions on the same log stream. /// /// /// /// The batch of events must satisfy the following constraints: /// /// /// /// If a call to PutLogEvents returns "UnrecognizedClientException" the most /// likely cause is a non-valid Amazon Web Services access key ID or secret key. /// /// /// Container for the necessary parameters to execute the PutLogEvents service method. /// /// The response from the PutLogEvents service method, as returned by CloudWatchLogs. /// /// The event was already logged. /// /// /// /// PutLogEvents actions are now always accepted and never return DataAlreadyAcceptedException /// regardless of whether a given batch of log events has already been accepted. /// /// /// /// /// A parameter is specified incorrectly. /// /// /// The sequence token is not valid. You can get the correct sequence token in the expectedSequenceToken /// field in the InvalidSequenceTokenException message. /// /// /// /// PutLogEvents actions are now always accepted and never return InvalidSequenceTokenException /// regardless of receiving an invalid sequence token. /// /// /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// /// The most likely cause is an Amazon Web Services access key ID or secret key that's /// not valid. /// /// REST API Reference for PutLogEvents Operation PutLogEventsResponse PutLogEvents(PutLogEventsRequest request); /// /// Initiates the asynchronous execution of the PutLogEvents operation. /// /// /// Container for the necessary parameters to execute the PutLogEvents operation on AmazonCloudWatchLogsClient. /// 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 EndPutLogEvents /// operation. /// REST API Reference for PutLogEvents Operation IAsyncResult BeginPutLogEvents(PutLogEventsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutLogEvents operation. /// /// /// The IAsyncResult returned by the call to BeginPutLogEvents. /// /// Returns a PutLogEventsResult from CloudWatchLogs. /// REST API Reference for PutLogEvents Operation PutLogEventsResponse EndPutLogEvents(IAsyncResult asyncResult); #endregion #region PutMetricFilter /// /// Creates or updates a metric filter and associates it with the specified log group. /// With metric filters, you can configure rules to extract metric data from log events /// ingested through PutLogEvents. /// /// /// /// The maximum number of metric filters that can be associated with a log group is 100. /// /// /// /// When you create a metric filter, you can also optionally assign a unit and dimensions /// to the metric that is created. /// /// /// /// Metrics extracted from log events are charged as custom metrics. To prevent unexpected /// high charges, do not specify high-cardinality fields such as IPAddress /// or requestID as dimensions. Each different value found for a dimension /// is treated as a separate metric and accrues charges as a separate custom metric. /// /// /// /// CloudWatch Logs disables a metric filter if it generates 1,000 different name/value /// pairs for your specified dimensions within a certain amount of time. This helps to /// prevent accidental high charges. /// /// /// /// You can also set up a billing alarm to alert you if your charges are higher than expected. /// For more information, see /// Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges. /// /// /// /// /// Container for the necessary parameters to execute the PutMetricFilter service method. /// /// The response from the PutMetricFilter service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// You have reached the maximum number of resources that can be created. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for PutMetricFilter Operation PutMetricFilterResponse PutMetricFilter(PutMetricFilterRequest request); /// /// Initiates the asynchronous execution of the PutMetricFilter operation. /// /// /// Container for the necessary parameters to execute the PutMetricFilter operation on AmazonCloudWatchLogsClient. /// 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 EndPutMetricFilter /// operation. /// REST API Reference for PutMetricFilter Operation IAsyncResult BeginPutMetricFilter(PutMetricFilterRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutMetricFilter operation. /// /// /// The IAsyncResult returned by the call to BeginPutMetricFilter. /// /// Returns a PutMetricFilterResult from CloudWatchLogs. /// REST API Reference for PutMetricFilter Operation PutMetricFilterResponse EndPutMetricFilter(IAsyncResult asyncResult); #endregion #region PutQueryDefinition /// /// Creates or updates a query definition for CloudWatch Logs Insights. For more information, /// see Analyzing /// Log Data with CloudWatch Logs Insights. /// /// /// /// To update a query definition, specify its queryDefinitionId in your request. /// The values of name, queryString, and logGroupNames /// are changed to the values that you specify in your update operation. No current values /// are retained from the current query definition. For example, imagine updating a current /// query definition that includes log groups. If you don't specify the logGroupNames /// parameter in your update operation, the query definition changes to contain no log /// groups. /// /// /// /// You must have the logs:PutQueryDefinition permission to be able to perform /// this operation. /// /// /// Container for the necessary parameters to execute the PutQueryDefinition service method. /// /// The response from the PutQueryDefinition service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// You have reached the maximum number of resources that can be created. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for PutQueryDefinition Operation PutQueryDefinitionResponse PutQueryDefinition(PutQueryDefinitionRequest request); /// /// Initiates the asynchronous execution of the PutQueryDefinition operation. /// /// /// Container for the necessary parameters to execute the PutQueryDefinition operation on AmazonCloudWatchLogsClient. /// 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 EndPutQueryDefinition /// operation. /// REST API Reference for PutQueryDefinition Operation IAsyncResult BeginPutQueryDefinition(PutQueryDefinitionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutQueryDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginPutQueryDefinition. /// /// Returns a PutQueryDefinitionResult from CloudWatchLogs. /// REST API Reference for PutQueryDefinition Operation PutQueryDefinitionResponse EndPutQueryDefinition(IAsyncResult asyncResult); #endregion #region PutResourcePolicy /// /// Creates or updates a resource policy allowing other Amazon Web Services services to /// put log events to this account, such as Amazon Route 53. An account can have up to /// 10 resource policies per Amazon Web Services Region. /// /// Container for the necessary parameters to execute the PutResourcePolicy service method. /// /// The response from the PutResourcePolicy service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// You have reached the maximum number of resources that can be created. /// /// /// The service cannot complete the request. /// /// 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 AmazonCloudWatchLogsClient. /// 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 CloudWatchLogs. /// REST API Reference for PutResourcePolicy Operation PutResourcePolicyResponse EndPutResourcePolicy(IAsyncResult asyncResult); #endregion #region PutRetentionPolicy /// /// Sets the retention of the specified log group. With a retention policy, you can configure /// the number of days for which to retain log events in the specified log group. /// /// /// /// CloudWatch Logs doesn’t immediately delete log events when they reach their retention /// setting. It typically takes up to 72 hours after that before log events are deleted, /// but in rare situations might take longer. /// /// /// /// To illustrate, imagine that you change a log group to have a longer retention setting /// when it contains log events that are past the expiration date, but haven’t been deleted. /// Those log events will take up to 72 hours to be deleted after the new retention date /// is reached. To make sure that log data is deleted permanently, keep a log group at /// its lower retention setting until 72 hours after the previous retention period ends. /// Alternatively, wait to change the retention setting until you confirm that the earlier /// log events are deleted. /// /// /// /// Container for the necessary parameters to execute the PutRetentionPolicy service method. /// /// The response from the PutRetentionPolicy service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for PutRetentionPolicy Operation PutRetentionPolicyResponse PutRetentionPolicy(PutRetentionPolicyRequest request); /// /// Initiates the asynchronous execution of the PutRetentionPolicy operation. /// /// /// Container for the necessary parameters to execute the PutRetentionPolicy operation on AmazonCloudWatchLogsClient. /// 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 EndPutRetentionPolicy /// operation. /// REST API Reference for PutRetentionPolicy Operation IAsyncResult BeginPutRetentionPolicy(PutRetentionPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutRetentionPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutRetentionPolicy. /// /// Returns a PutRetentionPolicyResult from CloudWatchLogs. /// REST API Reference for PutRetentionPolicy Operation PutRetentionPolicyResponse EndPutRetentionPolicy(IAsyncResult asyncResult); #endregion #region PutSubscriptionFilter /// /// Creates or updates a subscription filter and associates it with the specified log /// group. With subscription filters, you can subscribe to a real-time stream of log events /// ingested through PutLogEvents /// and have them delivered to a specific destination. When log events are sent to the /// receiving service, they are Base64 encoded and compressed with the GZIP format. /// /// /// /// The following destinations are supported for subscription filters: /// /// /// /// Each log group can have up to two subscription filters associated with it. If you /// are updating an existing filter, you must specify the correct name in filterName. /// /// /// /// /// To perform a PutSubscriptionFilter operation for any destination except /// a Lambda function, you must also have the iam:PassRole permission. /// /// /// Container for the necessary parameters to execute the PutSubscriptionFilter service method. /// /// The response from the PutSubscriptionFilter service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// You have reached the maximum number of resources that can be created. /// /// /// Multiple concurrent requests to update the same resource were in conflict. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for PutSubscriptionFilter Operation PutSubscriptionFilterResponse PutSubscriptionFilter(PutSubscriptionFilterRequest request); /// /// Initiates the asynchronous execution of the PutSubscriptionFilter operation. /// /// /// Container for the necessary parameters to execute the PutSubscriptionFilter operation on AmazonCloudWatchLogsClient. /// 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 EndPutSubscriptionFilter /// operation. /// REST API Reference for PutSubscriptionFilter Operation IAsyncResult BeginPutSubscriptionFilter(PutSubscriptionFilterRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutSubscriptionFilter operation. /// /// /// The IAsyncResult returned by the call to BeginPutSubscriptionFilter. /// /// Returns a PutSubscriptionFilterResult from CloudWatchLogs. /// REST API Reference for PutSubscriptionFilter Operation PutSubscriptionFilterResponse EndPutSubscriptionFilter(IAsyncResult asyncResult); #endregion #region StartQuery /// /// Schedules a query of a log group using CloudWatch Logs Insights. You specify the log /// group and time range to query and the query string to use. /// /// /// /// For more information, see CloudWatch /// Logs Insights Query Syntax. /// /// /// /// After you run a query using StartQuery, the query results are stored /// by CloudWatch Logs. You can use GetQueryResults /// to retrieve the results of a query, using the queryId that StartQuery /// returns. /// /// /// /// If you have associated a KMS key with the query results in this account, then StartQuery /// uses that key to encrypt the results when it stores them. If no key is associated /// with query results, the query results are encrypted with the default CloudWatch Logs /// encryption method. /// /// /// /// Queries time out after 60 minutes of runtime. If your queries are timing out, reduce /// the time range being searched or partition your query into a number of queries. /// /// /// /// If you are using CloudWatch cross-account observability, you can use this operation /// in a monitoring account to start a query in a linked source account. For more information, /// see CloudWatch /// cross-account observability. For a cross-account StartQuery operation, /// the query definition must be defined in the monitoring account. /// /// /// /// You can have up to 30 concurrent CloudWatch Logs insights queries, including queries /// that have been added to dashboards. /// /// /// Container for the necessary parameters to execute the StartQuery service method. /// /// The response from the StartQuery service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// You have reached the maximum number of resources that can be created. /// /// /// The query string is not valid. Details about this error are displayed in a QueryCompileError /// object. For more information, see QueryCompileError. /// /// /// /// For more information about valid query syntax, see CloudWatch /// Logs Insights Query Syntax. /// /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for StartQuery Operation StartQueryResponse StartQuery(StartQueryRequest request); /// /// Initiates the asynchronous execution of the StartQuery operation. /// /// /// Container for the necessary parameters to execute the StartQuery operation on AmazonCloudWatchLogsClient. /// 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 EndStartQuery /// operation. /// REST API Reference for StartQuery Operation IAsyncResult BeginStartQuery(StartQueryRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the StartQuery operation. /// /// /// The IAsyncResult returned by the call to BeginStartQuery. /// /// Returns a StartQueryResult from CloudWatchLogs. /// REST API Reference for StartQuery Operation StartQueryResponse EndStartQuery(IAsyncResult asyncResult); #endregion #region StopQuery /// /// Stops a CloudWatch Logs Insights query that is in progress. If the query has already /// ended, the operation returns an error indicating that the specified query is not running. /// /// Container for the necessary parameters to execute the StopQuery service method. /// /// The response from the StopQuery service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// REST API Reference for StopQuery Operation StopQueryResponse StopQuery(StopQueryRequest request); /// /// Initiates the asynchronous execution of the StopQuery operation. /// /// /// Container for the necessary parameters to execute the StopQuery operation on AmazonCloudWatchLogsClient. /// 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 EndStopQuery /// operation. /// REST API Reference for StopQuery Operation IAsyncResult BeginStopQuery(StopQueryRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the StopQuery operation. /// /// /// The IAsyncResult returned by the call to BeginStopQuery. /// /// Returns a StopQueryResult from CloudWatchLogs. /// REST API Reference for StopQuery Operation StopQueryResponse EndStopQuery(IAsyncResult asyncResult); #endregion #region TagLogGroup /// /// /// /// The TagLogGroup operation is on the path to deprecation. We recommend that you use /// TagResource /// instead. /// /// /// /// Adds or updates the specified tags for the specified log group. /// /// /// /// To list the tags for a log group, use ListTagsForResource. /// To remove tags, use UntagResource. /// /// /// /// For more information about tags, see Tag /// Log Groups in Amazon CloudWatch Logs in the Amazon CloudWatch Logs User Guide. /// /// /// /// CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified /// tags to log groups using the aws:Resource/key-name or aws:TagKeys /// condition keys. For more information about using tags to control access, see Controlling /// access to Amazon Web Services resources using tags. /// /// /// Container for the necessary parameters to execute the TagLogGroup service method. /// /// The response from the TagLogGroup service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// REST API Reference for TagLogGroup Operation [Obsolete("Please use the generic tagging API TagResource")] TagLogGroupResponse TagLogGroup(TagLogGroupRequest request); /// /// Initiates the asynchronous execution of the TagLogGroup operation. /// /// /// Container for the necessary parameters to execute the TagLogGroup operation on AmazonCloudWatchLogsClient. /// 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 EndTagLogGroup /// operation. /// REST API Reference for TagLogGroup Operation [Obsolete("Please use the generic tagging API TagResource")] IAsyncResult BeginTagLogGroup(TagLogGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the TagLogGroup operation. /// /// /// The IAsyncResult returned by the call to BeginTagLogGroup. /// /// Returns a TagLogGroupResult from CloudWatchLogs. /// REST API Reference for TagLogGroup Operation [Obsolete("Please use the generic tagging API TagResource")] TagLogGroupResponse EndTagLogGroup(IAsyncResult asyncResult); #endregion #region TagResource /// /// Assigns one or more tags (key-value pairs) to the specified CloudWatch Logs resource. /// Currently, the only CloudWatch Logs resources that can be tagged are log groups and /// destinations. /// /// /// /// 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 alarm, 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 alarm, the new tag value that you specify replaces the previous value for that /// tag. /// /// /// /// You can associate as many as 50 tags with a CloudWatch Logs resource. /// /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// /// A resource can have no more than 50 tags. /// /// 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 AmazonCloudWatchLogsClient. /// 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 CloudWatchLogs. /// REST API Reference for TagResource Operation TagResourceResponse EndTagResource(IAsyncResult asyncResult); #endregion #region TestMetricFilter /// /// Tests the filter pattern of a metric filter against a sample of log event messages. /// You can use this operation to validate the correctness of a metric filter pattern. /// /// Container for the necessary parameters to execute the TestMetricFilter service method. /// /// The response from the TestMetricFilter service method, as returned by CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The service cannot complete the request. /// /// REST API Reference for TestMetricFilter Operation TestMetricFilterResponse TestMetricFilter(TestMetricFilterRequest request); /// /// Initiates the asynchronous execution of the TestMetricFilter operation. /// /// /// Container for the necessary parameters to execute the TestMetricFilter operation on AmazonCloudWatchLogsClient. /// 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 EndTestMetricFilter /// operation. /// REST API Reference for TestMetricFilter Operation IAsyncResult BeginTestMetricFilter(TestMetricFilterRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the TestMetricFilter operation. /// /// /// The IAsyncResult returned by the call to BeginTestMetricFilter. /// /// Returns a TestMetricFilterResult from CloudWatchLogs. /// REST API Reference for TestMetricFilter Operation TestMetricFilterResponse EndTestMetricFilter(IAsyncResult asyncResult); #endregion #region UntagLogGroup /// /// /// /// The UntagLogGroup operation is on the path to deprecation. We recommend that you use /// UntagResource /// instead. /// /// /// /// Removes the specified tags from the specified log group. /// /// /// /// To list the tags for a log group, use ListTagsForResource. /// To add tags, use TagResource. /// /// /// /// CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified /// tags to log groups using the aws:Resource/key-name or aws:TagKeys /// condition keys. /// /// /// Container for the necessary parameters to execute the UntagLogGroup service method. /// /// The response from the UntagLogGroup service method, as returned by CloudWatchLogs. /// /// The specified resource does not exist. /// /// REST API Reference for UntagLogGroup Operation [Obsolete("Please use the generic tagging API UntagResource")] UntagLogGroupResponse UntagLogGroup(UntagLogGroupRequest request); /// /// Initiates the asynchronous execution of the UntagLogGroup operation. /// /// /// Container for the necessary parameters to execute the UntagLogGroup operation on AmazonCloudWatchLogsClient. /// 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 EndUntagLogGroup /// operation. /// REST API Reference for UntagLogGroup Operation [Obsolete("Please use the generic tagging API UntagResource")] IAsyncResult BeginUntagLogGroup(UntagLogGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UntagLogGroup operation. /// /// /// The IAsyncResult returned by the call to BeginUntagLogGroup. /// /// Returns a UntagLogGroupResult from CloudWatchLogs. /// REST API Reference for UntagLogGroup Operation [Obsolete("Please use the generic tagging API UntagResource")] UntagLogGroupResponse EndUntagLogGroup(IAsyncResult 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 CloudWatchLogs. /// /// A parameter is specified incorrectly. /// /// /// The specified resource does not exist. /// /// /// The service cannot complete the request. /// /// 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 AmazonCloudWatchLogsClient. /// 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 CloudWatchLogs. /// REST API Reference for UntagResource Operation UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion } }