{ "version":"2.0", "metadata":{ "apiVersion":"2014-03-28", "endpointPrefix":"logs", "jsonVersion":"1.1", "protocol":"json", "serviceFullName":"Amazon CloudWatch Logs", "serviceId":"CloudWatch Logs", "signatureVersion":"v4", "targetPrefix":"Logs_20140328", "uid":"logs-2014-03-28" }, "operations":{ "AssociateKmsKey":{ "name":"AssociateKmsKey", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"AssociateKmsKeyRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Associates the specified AWS Key Management Service (AWS KMS) customer master key (CMK) with the specified log group.

Associating an AWS KMS CMK with a log group overrides any existing associations between the log group and a CMK. After a CMK is associated with a log group, all newly ingested data for the log group is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested.

Important: CloudWatch Logs supports only symmetric CMKs. Do not use an associate an asymmetric CMK with your log group. For more information, see Using Symmetric and Asymmetric Keys.

Note that it can take up to 5 minutes for this operation to take effect.

If you attempt to associate a CMK with a log group but the CMK does not exist or the CMK is disabled, you will receive an InvalidParameterException error.

" }, "CancelExportTask":{ "name":"CancelExportTask", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CancelExportTaskRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidOperationException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Cancels the specified export task.

The task must be in the PENDING or RUNNING state.

" }, "CreateExportTask":{ "name":"CreateExportTask", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateExportTaskRequest"}, "output":{"shape":"CreateExportTaskResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"LimitExceededException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ResourceAlreadyExistsException"} ], "documentation":"

Creates an export task, which allows you to efficiently export data from a log group to an Amazon S3 bucket.

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 out log data for each export task, you can specify a prefix to be used as the Amazon S3 key prefix for all exported objects.

Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets encrypted with SSE-KMS is not supported.

" }, "CreateLogGroup":{ "name":"CreateLogGroup", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateLogGroupRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceAlreadyExistsException"}, {"shape":"LimitExceededException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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:

If you associate a AWS Key Management Service (AWS KMS) customer master key (CMK) with the log group, ingested data is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested.

If you attempt to associate a CMK with the log group but the CMK does not exist or the CMK is disabled, you will receive an InvalidParameterException error.

Important: CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with your log group. For more information, see Using Symmetric and Asymmetric Keys.

" }, "CreateLogStream":{ "name":"CreateLogStream", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateLogStreamRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceAlreadyExistsException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Creates a log stream for the specified log group.

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:

" }, "DeleteDestination":{ "name":"DeleteDestination", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteDestinationRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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.

" }, "DeleteLogGroup":{ "name":"DeleteLogGroup", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteLogGroupRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Deletes the specified log group and permanently deletes all the archived log events associated with the log group.

" }, "DeleteLogStream":{ "name":"DeleteLogStream", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteLogStreamRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Deletes the specified log stream and permanently deletes all the archived log events associated with the log stream.

" }, "DeleteMetricFilter":{ "name":"DeleteMetricFilter", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteMetricFilterRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Deletes the specified metric filter.

" }, "DeleteResourcePolicy":{ "name":"DeleteResourcePolicy", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteResourcePolicyRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Deletes a resource policy from this account. This revokes the access of the identities in that policy to put log events to this account.

" }, "DeleteRetentionPolicy":{ "name":"DeleteRetentionPolicy", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteRetentionPolicyRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Deletes the specified retention policy.

Log events do not expire if they belong to log groups without a retention policy.

" }, "DeleteSubscriptionFilter":{ "name":"DeleteSubscriptionFilter", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteSubscriptionFilterRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Deletes the specified subscription filter.

" }, "DescribeDestinations":{ "name":"DescribeDestinations", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeDestinationsRequest"}, "output":{"shape":"DescribeDestinationsResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Lists all your destinations. The results are ASCII-sorted by destination name.

" }, "DescribeExportTasks":{ "name":"DescribeExportTasks", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeExportTasksRequest"}, "output":{"shape":"DescribeExportTasksResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Lists the specified export tasks. You can list all your export tasks or filter the results based on task ID or task status.

" }, "DescribeLogGroups":{ "name":"DescribeLogGroups", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeLogGroupsRequest"}, "output":{"shape":"DescribeLogGroupsResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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.

" }, "DescribeLogStreams":{ "name":"DescribeLogStreams", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeLogStreamsRequest"}, "output":{"shape":"DescribeLogStreamsResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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.

This operation has a limit of five transactions per second, after which transactions are throttled.

" }, "DescribeMetricFilters":{ "name":"DescribeMetricFilters", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeMetricFiltersRequest"}, "output":{"shape":"DescribeMetricFiltersResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Lists the specified metric filters. You can list all the metric filters or filter the results by log name, prefix, metric name, or metric namespace. The results are ASCII-sorted by filter name.

" }, "DescribeQueries":{ "name":"DescribeQueries", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeQueriesRequest"}, "output":{"shape":"DescribeQueriesResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Returns a list of CloudWatch Logs Insights queries that are scheduled, executing, or have been executed 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.

" }, "DescribeResourcePolicies":{ "name":"DescribeResourcePolicies", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeResourcePoliciesRequest"}, "output":{"shape":"DescribeResourcePoliciesResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Lists the resource policies in this account.

" }, "DescribeSubscriptionFilters":{ "name":"DescribeSubscriptionFilters", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeSubscriptionFiltersRequest"}, "output":{"shape":"DescribeSubscriptionFiltersResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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.

" }, "DisassociateKmsKey":{ "name":"DisassociateKmsKey", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DisassociateKmsKeyRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Disassociates the associated AWS Key Management Service (AWS KMS) customer master key (CMK) from the specified log group.

After the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.

Note that it can take up to 5 minutes for this operation to take effect.

" }, "FilterLogEvents":{ "name":"FilterLogEvents", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"FilterLogEventsRequest"}, "output":{"shape":"FilterLogEventsResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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.

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 time range that you specify. If the results include a token, then there are more log events available, and you can get additional results by specifying the token in a subsequent call.

" }, "GetLogEvents":{ "name":"GetLogEvents", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetLogEventsRequest"}, "output":{"shape":"GetLogEventsResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Lists log events from the specified log stream. You can list all 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.

" }, "GetLogGroupFields":{ "name":"GetLogGroupFields", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetLogGroupFieldsRequest"}, "output":{"shape":"GetLogGroupFieldsResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"LimitExceededException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Returns a list of the fields that are included in log events in the specified log group, along with the percentage of log events that contain each field. The search is limited to a time period that you specify.

In the results, fields that start with @ are fields generated by CloudWatch Logs. For example, @timestamp is the timestamp of each log event.

The response results are sorted by the frequency percentage, starting with the highest percentage.

" }, "GetLogRecord":{ "name":"GetLogRecord", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetLogRecordRequest"}, "output":{"shape":"GetLogRecordResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"LimitExceededException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Retrieves all 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.

Additionally, the entire unparsed log event is returned within @message.

" }, "GetQueryResults":{ "name":"GetQueryResults", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetQueryResultsRequest"}, "output":{"shape":"GetQueryResultsResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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 operation to get the full log record.

GetQueryResults does not start a query execution. To run a query, use .

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.

" }, "ListTagsLogGroup":{ "name":"ListTagsLogGroup", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListTagsLogGroupRequest"}, "output":{"shape":"ListTagsLogGroupResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Lists the tags for the specified log group.

" }, "PutDestination":{ "name":"PutDestination", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"PutDestinationRequest"}, "output":{"shape":"PutDestinationResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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) and enables you to 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.

" }, "PutDestinationPolicy":{ "name":"PutDestinationPolicy", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"PutDestinationPolicyRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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.

" }, "PutLogEvents":{ "name":"PutLogEvents", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"PutLogEventsRequest"}, "output":{"shape":"PutLogEventsResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"InvalidSequenceTokenException"}, {"shape":"DataAlreadyAcceptedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"}, {"shape":"UnrecognizedClientException"} ], "documentation":"

Uploads a batch of log events to the specified log stream.

You must include the sequence token obtained from the response of the previous call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token in the expectedSequenceToken field from InvalidSequenceTokenException. If you call PutLogEvents twice within a narrow time period using the same value for sequenceToken, both calls may be successful, or one may be rejected.

The batch of events must satisfy the following constraints:

If a call to PutLogEvents returns \"UnrecognizedClientException\" the most likely cause is an invalid AWS access key ID or secret key.

" }, "PutMetricFilter":{ "name":"PutMetricFilter", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"PutMetricFilterRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OperationAbortedException"}, {"shape":"LimitExceededException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Creates or updates a metric filter and associates it with the specified log group. Metric filters allow you to 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.

" }, "PutResourcePolicy":{ "name":"PutResourcePolicy", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"PutResourcePolicyRequest"}, "output":{"shape":"PutResourcePolicyResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"LimitExceededException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Creates or updates a resource policy allowing other AWS services to put log events to this account, such as Amazon Route 53. An account can have up to 10 resource policies per region.

" }, "PutRetentionPolicy":{ "name":"PutRetentionPolicy", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"PutRetentionPolicyRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OperationAbortedException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Sets the retention of the specified log group. A retention policy allows you to configure the number of days for which to retain log events in the specified log group.

" }, "PutSubscriptionFilter":{ "name":"PutSubscriptionFilter", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"PutSubscriptionFilterRequest"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OperationAbortedException"}, {"shape":"LimitExceededException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Creates or updates a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events ingested through PutLogEvents and have them delivered to a specific destination. Currently, the supported destinations are:

There can only be one subscription filter associated with a log group. If you are updating an existing filter, you must specify the correct name in filterName. Otherwise, the call fails because you cannot associate a second filter with a log group.

" }, "StartQuery":{ "name":"StartQuery", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StartQueryRequest"}, "output":{"shape":"StartQueryResponse"}, "errors":[ {"shape":"MalformedQueryException"}, {"shape":"InvalidParameterException"}, {"shape":"LimitExceededException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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.

Queries time out after 15 minutes of execution. If your queries are timing out, reduce the time range being searched, or partition your query into a number of queries.

" }, "StopQuery":{ "name":"StopQuery", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StopQueryRequest"}, "output":{"shape":"StopQueryResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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.

" }, "TagLogGroup":{ "name":"TagLogGroup", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"TagLogGroupRequest"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InvalidParameterException"} ], "documentation":"

Adds or updates the specified tags for the specified log group.

To list the tags for a log group, use ListTagsLogGroup. To remove tags, use UntagLogGroup.

For more information about tags, see Tag Log Groups in Amazon CloudWatch Logs in the Amazon CloudWatch Logs User Guide.

" }, "TestMetricFilter":{ "name":"TestMetricFilter", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"TestMetricFilterRequest"}, "output":{"shape":"TestMetricFilterResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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.

" }, "UntagLogGroup":{ "name":"UntagLogGroup", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UntagLogGroupRequest"}, "errors":[ {"shape":"ResourceNotFoundException"} ], "documentation":"

Removes the specified tags from the specified log group.

To list the tags for a log group, use ListTagsLogGroup. To add tags, use UntagLogGroup.

" } }, "shapes":{ "AccessPolicy":{ "type":"string", "min":1 }, "Arn":{"type":"string"}, "AssociateKmsKeyRequest":{ "type":"structure", "required":[ "logGroupName", "kmsKeyId" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "kmsKeyId":{ "shape":"KmsKeyId", "documentation":"

The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. This must be a symmetric CMK. For more information, see Amazon Resource Names - AWS Key Management Service (AWS KMS) and Using Symmetric and Asymmetric Keys.

" } } }, "CancelExportTaskRequest":{ "type":"structure", "required":["taskId"], "members":{ "taskId":{ "shape":"ExportTaskId", "documentation":"

The ID of the export task.

" } } }, "CreateExportTaskRequest":{ "type":"structure", "required":[ "logGroupName", "from", "to", "destination" ], "members":{ "taskName":{ "shape":"ExportTaskName", "documentation":"

The name of the export task.

" }, "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "logStreamNamePrefix":{ "shape":"LogStreamName", "documentation":"

Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.

" }, "from":{ "shape":"Timestamp", "documentation":"

The start time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this time are not exported.

" }, "to":{ "shape":"Timestamp", "documentation":"

The end time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.

" }, "destination":{ "shape":"ExportDestinationBucket", "documentation":"

The name of S3 bucket for the exported log data. The bucket must be in the same AWS region.

" }, "destinationPrefix":{ "shape":"ExportDestinationPrefix", "documentation":"

The prefix used as the start of the key for every object exported. If you don't specify a value, the default is exportedlogs.

" } } }, "CreateExportTaskResponse":{ "type":"structure", "members":{ "taskId":{ "shape":"ExportTaskId", "documentation":"

The ID of the export task.

" } } }, "CreateLogGroupRequest":{ "type":"structure", "required":["logGroupName"], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "kmsKeyId":{ "shape":"KmsKeyId", "documentation":"

The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. For more information, see Amazon Resource Names - AWS Key Management Service (AWS KMS).

" }, "tags":{ "shape":"Tags", "documentation":"

The key-value pairs to use for the tags.

" } } }, "CreateLogStreamRequest":{ "type":"structure", "required":[ "logGroupName", "logStreamName" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "logStreamName":{ "shape":"LogStreamName", "documentation":"

The name of the log stream.

" } } }, "DataAlreadyAcceptedException":{ "type":"structure", "members":{ "expectedSequenceToken":{"shape":"SequenceToken"} }, "documentation":"

The event was already logged.

", "exception":true }, "Days":{ "type":"integer", "documentation":"

The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.

" }, "DefaultValue":{"type":"double"}, "DeleteDestinationRequest":{ "type":"structure", "required":["destinationName"], "members":{ "destinationName":{ "shape":"DestinationName", "documentation":"

The name of the destination.

" } } }, "DeleteLogGroupRequest":{ "type":"structure", "required":["logGroupName"], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" } } }, "DeleteLogStreamRequest":{ "type":"structure", "required":[ "logGroupName", "logStreamName" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "logStreamName":{ "shape":"LogStreamName", "documentation":"

The name of the log stream.

" } } }, "DeleteMetricFilterRequest":{ "type":"structure", "required":[ "logGroupName", "filterName" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "filterName":{ "shape":"FilterName", "documentation":"

The name of the metric filter.

" } } }, "DeleteResourcePolicyRequest":{ "type":"structure", "members":{ "policyName":{ "shape":"PolicyName", "documentation":"

The name of the policy to be revoked. This parameter is required.

" } } }, "DeleteRetentionPolicyRequest":{ "type":"structure", "required":["logGroupName"], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" } } }, "DeleteSubscriptionFilterRequest":{ "type":"structure", "required":[ "logGroupName", "filterName" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "filterName":{ "shape":"FilterName", "documentation":"

The name of the subscription filter.

" } } }, "Descending":{"type":"boolean"}, "DescribeDestinationsRequest":{ "type":"structure", "members":{ "DestinationNamePrefix":{ "shape":"DestinationName", "documentation":"

The prefix to match. If you don't specify a value, no prefix filter is applied.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of items to return. (You received this token from a previous call.)

" }, "limit":{ "shape":"DescribeLimit", "documentation":"

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

" } } }, "DescribeDestinationsResponse":{ "type":"structure", "members":{ "destinations":{ "shape":"Destinations", "documentation":"

The destinations.

" }, "nextToken":{"shape":"NextToken"} } }, "DescribeExportTasksRequest":{ "type":"structure", "members":{ "taskId":{ "shape":"ExportTaskId", "documentation":"

The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.

" }, "statusCode":{ "shape":"ExportTaskStatusCode", "documentation":"

The status code of the export task. Specifying a status code filters the results to zero or more export tasks.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of items to return. (You received this token from a previous call.)

" }, "limit":{ "shape":"DescribeLimit", "documentation":"

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

" } } }, "DescribeExportTasksResponse":{ "type":"structure", "members":{ "exportTasks":{ "shape":"ExportTasks", "documentation":"

The export tasks.

" }, "nextToken":{"shape":"NextToken"} } }, "DescribeLimit":{ "type":"integer", "max":50, "min":1 }, "DescribeLogGroupsRequest":{ "type":"structure", "members":{ "logGroupNamePrefix":{ "shape":"LogGroupName", "documentation":"

The prefix to match.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of items to return. (You received this token from a previous call.)

" }, "limit":{ "shape":"DescribeLimit", "documentation":"

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

" } } }, "DescribeLogGroupsResponse":{ "type":"structure", "members":{ "logGroups":{ "shape":"LogGroups", "documentation":"

The log groups.

" }, "nextToken":{"shape":"NextToken"} } }, "DescribeLogStreamsRequest":{ "type":"structure", "required":["logGroupName"], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "logStreamNamePrefix":{ "shape":"LogStreamName", "documentation":"

The prefix to match.

If orderBy is LastEventTime,you cannot specify this parameter.

" }, "orderBy":{ "shape":"OrderBy", "documentation":"

If the value is LogStreamName, the results are ordered by log stream name. If the value is LastEventTime, the results are ordered by the event time. The default value is LogStreamName.

If you order the results by event time, you cannot specify the logStreamNamePrefix parameter.

lastEventTimestamp represents the time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. lastEventTimeStamp updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but may take longer in some rare situations.

" }, "descending":{ "shape":"Descending", "documentation":"

If the value is true, results are returned in descending order. If the value is to false, results are returned in ascending order. The default value is false.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of items to return. (You received this token from a previous call.)

" }, "limit":{ "shape":"DescribeLimit", "documentation":"

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

" } } }, "DescribeLogStreamsResponse":{ "type":"structure", "members":{ "logStreams":{ "shape":"LogStreams", "documentation":"

The log streams.

" }, "nextToken":{"shape":"NextToken"} } }, "DescribeMetricFiltersRequest":{ "type":"structure", "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "filterNamePrefix":{ "shape":"FilterName", "documentation":"

The prefix to match.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of items to return. (You received this token from a previous call.)

" }, "limit":{ "shape":"DescribeLimit", "documentation":"

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

" }, "metricName":{ "shape":"MetricName", "documentation":"

Filters results to include only those with the specified metric name. If you include this parameter in your request, you must also include the metricNamespace parameter.

" }, "metricNamespace":{ "shape":"MetricNamespace", "documentation":"

Filters results to include only those in the specified namespace. If you include this parameter in your request, you must also include the metricName parameter.

" } } }, "DescribeMetricFiltersResponse":{ "type":"structure", "members":{ "metricFilters":{ "shape":"MetricFilters", "documentation":"

The metric filters.

" }, "nextToken":{"shape":"NextToken"} } }, "DescribeQueriesMaxResults":{ "type":"integer", "max":1000, "min":1 }, "DescribeQueriesRequest":{ "type":"structure", "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

Limits the returned queries to only those for the specified log group.

" }, "status":{ "shape":"QueryStatus", "documentation":"

Limits the returned queries to only those that have the specified status. Valid values are Cancelled, Complete, Failed, Running, and Scheduled.

" }, "maxResults":{ "shape":"DescribeQueriesMaxResults", "documentation":"

Limits the number of returned queries to the specified number.

" }, "nextToken":{"shape":"NextToken"} } }, "DescribeQueriesResponse":{ "type":"structure", "members":{ "queries":{ "shape":"QueryInfoList", "documentation":"

The list of queries that match the request.

" }, "nextToken":{"shape":"NextToken"} } }, "DescribeResourcePoliciesRequest":{ "type":"structure", "members":{ "nextToken":{"shape":"NextToken"}, "limit":{ "shape":"DescribeLimit", "documentation":"

The maximum number of resource policies to be displayed with one call of this API.

" } } }, "DescribeResourcePoliciesResponse":{ "type":"structure", "members":{ "resourcePolicies":{ "shape":"ResourcePolicies", "documentation":"

The resource policies that exist in this account.

" }, "nextToken":{"shape":"NextToken"} } }, "DescribeSubscriptionFiltersRequest":{ "type":"structure", "required":["logGroupName"], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "filterNamePrefix":{ "shape":"FilterName", "documentation":"

The prefix to match. If you don't specify a value, no prefix filter is applied.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of items to return. (You received this token from a previous call.)

" }, "limit":{ "shape":"DescribeLimit", "documentation":"

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

" } } }, "DescribeSubscriptionFiltersResponse":{ "type":"structure", "members":{ "subscriptionFilters":{ "shape":"SubscriptionFilters", "documentation":"

The subscription filters.

" }, "nextToken":{"shape":"NextToken"} } }, "Destination":{ "type":"structure", "members":{ "destinationName":{ "shape":"DestinationName", "documentation":"

The name of the destination.

" }, "targetArn":{ "shape":"TargetArn", "documentation":"

The Amazon Resource Name (ARN) of the physical target to where the log events are delivered (for example, a Kinesis stream).

" }, "roleArn":{ "shape":"RoleArn", "documentation":"

A role for impersonation, used when delivering log events to the target.

" }, "accessPolicy":{ "shape":"AccessPolicy", "documentation":"

An IAM policy document that governs which AWS accounts can create subscription filters against this destination.

" }, "arn":{ "shape":"Arn", "documentation":"

The ARN of this destination.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" } }, "documentation":"

Represents a cross-account destination that receives subscription log events.

" }, "DestinationArn":{ "type":"string", "min":1 }, "DestinationName":{ "type":"string", "max":512, "min":1, "pattern":"[^:*]*" }, "Destinations":{ "type":"list", "member":{"shape":"Destination"} }, "DisassociateKmsKeyRequest":{ "type":"structure", "required":["logGroupName"], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" } } }, "Distribution":{ "type":"string", "documentation":"

The method used to distribute log data to the destination, which can be either random or grouped by log stream.

", "enum":[ "Random", "ByLogStream" ] }, "EventId":{"type":"string"}, "EventMessage":{ "type":"string", "min":1 }, "EventNumber":{"type":"long"}, "EventsLimit":{ "type":"integer", "max":10000, "min":1 }, "ExportDestinationBucket":{ "type":"string", "max":512, "min":1 }, "ExportDestinationPrefix":{"type":"string"}, "ExportTask":{ "type":"structure", "members":{ "taskId":{ "shape":"ExportTaskId", "documentation":"

The ID of the export task.

" }, "taskName":{ "shape":"ExportTaskName", "documentation":"

The name of the export task.

" }, "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group from which logs data was exported.

" }, "from":{ "shape":"Timestamp", "documentation":"

The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not exported.

" }, "to":{ "shape":"Timestamp", "documentation":"

The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.

" }, "destination":{ "shape":"ExportDestinationBucket", "documentation":"

The name of Amazon S3 bucket to which the log data was exported.

" }, "destinationPrefix":{ "shape":"ExportDestinationPrefix", "documentation":"

The prefix that was used as the start of Amazon S3 key for every object exported.

" }, "status":{ "shape":"ExportTaskStatus", "documentation":"

The status of the export task.

" }, "executionInfo":{ "shape":"ExportTaskExecutionInfo", "documentation":"

Execution info about the export task.

" } }, "documentation":"

Represents an export task.

" }, "ExportTaskExecutionInfo":{ "type":"structure", "members":{ "creationTime":{ "shape":"Timestamp", "documentation":"

The creation time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" }, "completionTime":{ "shape":"Timestamp", "documentation":"

The completion time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" } }, "documentation":"

Represents the status of an export task.

" }, "ExportTaskId":{ "type":"string", "max":512, "min":1 }, "ExportTaskName":{ "type":"string", "max":512, "min":1 }, "ExportTaskStatus":{ "type":"structure", "members":{ "code":{ "shape":"ExportTaskStatusCode", "documentation":"

The status code of the export task.

" }, "message":{ "shape":"ExportTaskStatusMessage", "documentation":"

The status message related to the status code.

" } }, "documentation":"

Represents the status of an export task.

" }, "ExportTaskStatusCode":{ "type":"string", "enum":[ "CANCELLED", "COMPLETED", "FAILED", "PENDING", "PENDING_CANCEL", "RUNNING" ] }, "ExportTaskStatusMessage":{"type":"string"}, "ExportTasks":{ "type":"list", "member":{"shape":"ExportTask"} }, "ExtractedValues":{ "type":"map", "key":{"shape":"Token"}, "value":{"shape":"Value"} }, "Field":{"type":"string"}, "FilterCount":{"type":"integer"}, "FilterLogEventsRequest":{ "type":"structure", "required":["logGroupName"], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group to search.

" }, "logStreamNames":{ "shape":"InputLogStreamNames", "documentation":"

Filters the results to only logs from the log streams in this list.

If you specify a value for both logStreamNamePrefix and logStreamNames, the action returns an InvalidParameterException error.

" }, "logStreamNamePrefix":{ "shape":"LogStreamName", "documentation":"

Filters the results to include only events from log streams that have names starting with this prefix.

If you specify a value for both logStreamNamePrefix and logStreamNames, but the value for logStreamNamePrefix does not match any log stream names specified in logStreamNames, the action returns an InvalidParameterException error.

" }, "startTime":{ "shape":"Timestamp", "documentation":"

The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not returned.

" }, "endTime":{ "shape":"Timestamp", "documentation":"

The end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not returned.

" }, "filterPattern":{ "shape":"FilterPattern", "documentation":"

The filter pattern to use. For more information, see Filter and Pattern Syntax.

If not provided, all the events are matched.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of events to return. (You received this token from a previous call.)

" }, "limit":{ "shape":"EventsLimit", "documentation":"

The maximum number of events to return. The default is 10,000 events.

" }, "interleaved":{ "shape":"Interleaved", "documentation":"

If the value is true, the operation makes a best effort to provide responses that contain events from multiple log streams within the log group, interleaved in a single response. If the value is false, all the matched log events in the first log stream are searched first, then those in the next log stream, and so on. The default is false.

IMPORTANT: Starting on June 17, 2019, this parameter will be ignored and the value will be assumed to be true. The response from this operation will always interleave events from multiple log streams within a log group.

", "deprecated":true, "deprecatedMessage":"Starting on June 17, 2019, this parameter will be ignored and the value will be assumed to be true. The response from this operation will always interleave events from multiple log streams within a log group." } } }, "FilterLogEventsResponse":{ "type":"structure", "members":{ "events":{ "shape":"FilteredLogEvents", "documentation":"

The matched events.

" }, "searchedLogStreams":{ "shape":"SearchedLogStreams", "documentation":"

Indicates which log streams have been searched and whether each has been searched completely.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token to use when requesting the next set of items. The token expires after 24 hours.

" } } }, "FilterName":{ "type":"string", "max":512, "min":1, "pattern":"[^:*]*" }, "FilterPattern":{ "type":"string", "documentation":"

A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event may contain timestamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.

", "max":1024, "min":0 }, "FilteredLogEvent":{ "type":"structure", "members":{ "logStreamName":{ "shape":"LogStreamName", "documentation":"

The name of the log stream to which this event belongs.

" }, "timestamp":{ "shape":"Timestamp", "documentation":"

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" }, "message":{ "shape":"EventMessage", "documentation":"

The data contained in the log event.

" }, "ingestionTime":{ "shape":"Timestamp", "documentation":"

The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" }, "eventId":{ "shape":"EventId", "documentation":"

The ID of the event.

" } }, "documentation":"

Represents a matched event.

" }, "FilteredLogEvents":{ "type":"list", "member":{"shape":"FilteredLogEvent"} }, "GetLogEventsRequest":{ "type":"structure", "required":[ "logGroupName", "logStreamName" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "logStreamName":{ "shape":"LogStreamName", "documentation":"

The name of the log stream.

" }, "startTime":{ "shape":"Timestamp", "documentation":"

The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp equal to this time or later than this time are included. Events with a timestamp earlier than this time are not included.

" }, "endTime":{ "shape":"Timestamp", "documentation":"

The end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp equal to or later than this time are not included.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of items to return. (You received this token from a previous call.)

Using this token works only when you specify true for startFromHead.

" }, "limit":{ "shape":"EventsLimit", "documentation":"

The maximum number of log events returned. If you don't specify a value, the maximum is as many log events as can fit in a response size of 1 MB, up to 10,000 log events.

" }, "startFromHead":{ "shape":"StartFromHead", "documentation":"

If the value is true, the earliest log events are returned first. If the value is false, the latest log events are returned first. The default value is false.

If you are using nextToken in this operation, you must specify true for startFromHead.

" } } }, "GetLogEventsResponse":{ "type":"structure", "members":{ "events":{ "shape":"OutputLogEvents", "documentation":"

The events.

" }, "nextForwardToken":{ "shape":"NextToken", "documentation":"

The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it will return the same token you passed in.

" }, "nextBackwardToken":{ "shape":"NextToken", "documentation":"

The token for the next set of items in the backward direction. The token expires after 24 hours. This token will never be null. If you have reached the end of the stream, it will return the same token you passed in.

" } } }, "GetLogGroupFieldsRequest":{ "type":"structure", "required":["logGroupName"], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group to search.

" }, "time":{ "shape":"Timestamp", "documentation":"

The time to set as the center of the query. If you specify time, the 8 minutes before and 8 minutes after this time are searched. If you omit time, the past 15 minutes are queried.

The time value is specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.

" } } }, "GetLogGroupFieldsResponse":{ "type":"structure", "members":{ "logGroupFields":{ "shape":"LogGroupFieldList", "documentation":"

The array of fields found in the query. Each object in the array contains the name of the field, along with the percentage of time it appeared in the log events that were queried.

" } } }, "GetLogRecordRequest":{ "type":"structure", "required":["logRecordPointer"], "members":{ "logRecordPointer":{ "shape":"LogRecordPointer", "documentation":"

The pointer corresponding to the log event record you want to retrieve. You get this from the response of a GetQueryResults operation. In that response, the value of the @ptr field for a log event is the value to use as logRecordPointer to retrieve that complete log event record.

" } } }, "GetLogRecordResponse":{ "type":"structure", "members":{ "logRecord":{ "shape":"LogRecord", "documentation":"

The requested log event, as a JSON string.

" } } }, "GetQueryResultsRequest":{ "type":"structure", "required":["queryId"], "members":{ "queryId":{ "shape":"QueryId", "documentation":"

The ID number of the query.

" } } }, "GetQueryResultsResponse":{ "type":"structure", "members":{ "results":{ "shape":"QueryResults", "documentation":"

The log events that matched the query criteria during the most recent time it ran.

The results value is an array of arrays. Each log event is one object in the top-level array. Each of these log event objects is an array of field/value pairs.

" }, "statistics":{ "shape":"QueryStatistics", "documentation":"

Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned.

" }, "status":{ "shape":"QueryStatus", "documentation":"

The status of the most recent running of the query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, Timeout, and Unknown.

Queries time out after 15 minutes of execution. To avoid having your queries time out, reduce the time range being searched, or partition your query into a number of queries.

" } } }, "InputLogEvent":{ "type":"structure", "required":[ "timestamp", "message" ], "members":{ "timestamp":{ "shape":"Timestamp", "documentation":"

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" }, "message":{ "shape":"EventMessage", "documentation":"

The raw event message.

" } }, "documentation":"

Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.

" }, "InputLogEvents":{ "type":"list", "member":{"shape":"InputLogEvent"}, "max":10000, "min":1 }, "InputLogStreamNames":{ "type":"list", "member":{"shape":"LogStreamName"}, "max":100, "min":1 }, "Interleaved":{"type":"boolean"}, "InvalidOperationException":{ "type":"structure", "members":{ }, "documentation":"

The operation is not valid on the specified resource.

", "exception":true }, "InvalidParameterException":{ "type":"structure", "members":{ }, "documentation":"

A parameter is specified incorrectly.

", "exception":true }, "InvalidSequenceTokenException":{ "type":"structure", "members":{ "expectedSequenceToken":{"shape":"SequenceToken"} }, "documentation":"

The sequence token is not valid. You can get the correct sequence token in the expectedSequenceToken field in the InvalidSequenceTokenException message.

", "exception":true }, "KmsKeyId":{ "type":"string", "max":256 }, "LimitExceededException":{ "type":"structure", "members":{ }, "documentation":"

You have reached the maximum number of resources that can be created.

", "exception":true }, "ListTagsLogGroupRequest":{ "type":"structure", "required":["logGroupName"], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" } } }, "ListTagsLogGroupResponse":{ "type":"structure", "members":{ "tags":{ "shape":"Tags", "documentation":"

The tags for the log group.

" } } }, "LogEventIndex":{"type":"integer"}, "LogGroup":{ "type":"structure", "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" }, "retentionInDays":{"shape":"Days"}, "metricFilterCount":{ "shape":"FilterCount", "documentation":"

The number of metric filters.

" }, "arn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the log group.

" }, "storedBytes":{ "shape":"StoredBytes", "documentation":"

The number of bytes stored.

" }, "kmsKeyId":{ "shape":"KmsKeyId", "documentation":"

The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.

" } }, "documentation":"

Represents a log group.

" }, "LogGroupField":{ "type":"structure", "members":{ "name":{ "shape":"Field", "documentation":"

The name of a log field.

" }, "percent":{ "shape":"Percentage", "documentation":"

The percentage of log events queried that contained the field.

" } }, "documentation":"

The fields contained in log events found by a GetLogGroupFields operation, along with the percentage of queried log events in which each field appears.

" }, "LogGroupFieldList":{ "type":"list", "member":{"shape":"LogGroupField"} }, "LogGroupName":{ "type":"string", "max":512, "min":1, "pattern":"[\\.\\-_/#A-Za-z0-9]+" }, "LogGroupNames":{ "type":"list", "member":{"shape":"LogGroupName"} }, "LogGroups":{ "type":"list", "member":{"shape":"LogGroup"} }, "LogRecord":{ "type":"map", "key":{"shape":"Field"}, "value":{"shape":"Value"} }, "LogRecordPointer":{"type":"string"}, "LogStream":{ "type":"structure", "members":{ "logStreamName":{ "shape":"LogStreamName", "documentation":"

The name of the log stream.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" }, "firstEventTimestamp":{ "shape":"Timestamp", "documentation":"

The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" }, "lastEventTimestamp":{ "shape":"Timestamp", "documentation":"

The time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. The lastEventTime value updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but may take longer in some rare situations.

" }, "lastIngestionTime":{ "shape":"Timestamp", "documentation":"

The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" }, "uploadSequenceToken":{ "shape":"SequenceToken", "documentation":"

The sequence token.

" }, "arn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the log stream.

" }, "storedBytes":{ "shape":"StoredBytes", "documentation":"

The number of bytes stored.

IMPORTANT:On June 17, 2019, this parameter was deprecated for log streams, and is always reported as zero. This change applies only to log streams. The storedBytes parameter for log groups is not affected.

", "deprecated":true, "deprecatedMessage":"Starting on June 17, 2019, this parameter will be deprecated for log streams, and will be reported as zero. This change applies only to log streams. The storedBytes parameter for log groups is not affected." } }, "documentation":"

Represents a log stream, which is a sequence of log events from a single emitter of logs.

" }, "LogStreamName":{ "type":"string", "max":512, "min":1, "pattern":"[^:*]*" }, "LogStreamSearchedCompletely":{"type":"boolean"}, "LogStreams":{ "type":"list", "member":{"shape":"LogStream"} }, "MalformedQueryException":{ "type":"structure", "members":{ "queryCompileError":{"shape":"QueryCompileError"} }, "documentation":"

The query string is not valid. Details about this error are displayed in a QueryCompileError object. For more information, see .

For more information about valid query syntax, see CloudWatch Logs Insights Query Syntax.

", "exception":true }, "Message":{"type":"string"}, "MetricFilter":{ "type":"structure", "members":{ "filterName":{ "shape":"FilterName", "documentation":"

The name of the metric filter.

" }, "filterPattern":{"shape":"FilterPattern"}, "metricTransformations":{ "shape":"MetricTransformations", "documentation":"

The metric transformations.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" }, "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" } }, "documentation":"

Metric filters express how CloudWatch Logs would extract metric observations from ingested log events and transform them into metric data in a CloudWatch metric.

" }, "MetricFilterMatchRecord":{ "type":"structure", "members":{ "eventNumber":{ "shape":"EventNumber", "documentation":"

The event number.

" }, "eventMessage":{ "shape":"EventMessage", "documentation":"

The raw event data.

" }, "extractedValues":{ "shape":"ExtractedValues", "documentation":"

The values extracted from the event data by the filter.

" } }, "documentation":"

Represents a matched event.

" }, "MetricFilterMatches":{ "type":"list", "member":{"shape":"MetricFilterMatchRecord"} }, "MetricFilters":{ "type":"list", "member":{"shape":"MetricFilter"} }, "MetricName":{ "type":"string", "documentation":"

The name of the CloudWatch metric to which the monitored log information should be published. For example, you may publish to a metric called ErrorCount.

", "max":255, "pattern":"[^:*$]*" }, "MetricNamespace":{ "type":"string", "max":255, "pattern":"[^:*$]*" }, "MetricTransformation":{ "type":"structure", "required":[ "metricName", "metricNamespace", "metricValue" ], "members":{ "metricName":{ "shape":"MetricName", "documentation":"

The name of the CloudWatch metric.

" }, "metricNamespace":{ "shape":"MetricNamespace", "documentation":"

The namespace of the CloudWatch metric.

" }, "metricValue":{ "shape":"MetricValue", "documentation":"

The value to publish to the CloudWatch metric when a filter pattern matches a log event.

" }, "defaultValue":{ "shape":"DefaultValue", "documentation":"

(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.

" } }, "documentation":"

Indicates how to transform ingested log events to metric data in a CloudWatch metric.

" }, "MetricTransformations":{ "type":"list", "member":{"shape":"MetricTransformation"}, "max":1, "min":1 }, "MetricValue":{ "type":"string", "documentation":"

The value to publish to the CloudWatch metric. For example, if you're counting the occurrences of a term like \"Error\", the value is \"1\" for each occurrence. If you're counting the bytes transferred, the value is the value in the log event.

", "max":100 }, "NextToken":{ "type":"string", "documentation":"

The token for the next set of items to return. The token expires after 24 hours.

", "min":1 }, "OperationAbortedException":{ "type":"structure", "members":{ }, "documentation":"

Multiple requests to update the same resource were in conflict.

", "exception":true }, "OrderBy":{ "type":"string", "enum":[ "LogStreamName", "LastEventTime" ] }, "OutputLogEvent":{ "type":"structure", "members":{ "timestamp":{ "shape":"Timestamp", "documentation":"

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" }, "message":{ "shape":"EventMessage", "documentation":"

The data contained in the log event.

" }, "ingestionTime":{ "shape":"Timestamp", "documentation":"

The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" } }, "documentation":"

Represents a log event.

" }, "OutputLogEvents":{ "type":"list", "member":{"shape":"OutputLogEvent"} }, "Percentage":{ "type":"integer", "max":100, "min":0 }, "PolicyDocument":{ "type":"string", "max":5120, "min":1 }, "PolicyName":{"type":"string"}, "PutDestinationPolicyRequest":{ "type":"structure", "required":[ "destinationName", "accessPolicy" ], "members":{ "destinationName":{ "shape":"DestinationName", "documentation":"

A name for an existing destination.

" }, "accessPolicy":{ "shape":"AccessPolicy", "documentation":"

An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination.

" } } }, "PutDestinationRequest":{ "type":"structure", "required":[ "destinationName", "targetArn", "roleArn" ], "members":{ "destinationName":{ "shape":"DestinationName", "documentation":"

A name for the destination.

" }, "targetArn":{ "shape":"TargetArn", "documentation":"

The ARN of an Amazon Kinesis stream to which to deliver matching log events.

" }, "roleArn":{ "shape":"RoleArn", "documentation":"

The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation on the destination stream.

" } } }, "PutDestinationResponse":{ "type":"structure", "members":{ "destination":{ "shape":"Destination", "documentation":"

The destination.

" } } }, "PutLogEventsRequest":{ "type":"structure", "required":[ "logGroupName", "logStreamName", "logEvents" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "logStreamName":{ "shape":"LogStreamName", "documentation":"

The name of the log stream.

" }, "logEvents":{ "shape":"InputLogEvents", "documentation":"

The log events.

" }, "sequenceToken":{ "shape":"SequenceToken", "documentation":"

The sequence token obtained from the response of the previous PutLogEvents call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token using DescribeLogStreams. If you call PutLogEvents twice within a narrow time period using the same value for sequenceToken, both calls may be successful, or one may be rejected.

" } } }, "PutLogEventsResponse":{ "type":"structure", "members":{ "nextSequenceToken":{ "shape":"SequenceToken", "documentation":"

The next sequence token.

" }, "rejectedLogEventsInfo":{ "shape":"RejectedLogEventsInfo", "documentation":"

The rejected events.

" } } }, "PutMetricFilterRequest":{ "type":"structure", "required":[ "logGroupName", "filterName", "filterPattern", "metricTransformations" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "filterName":{ "shape":"FilterName", "documentation":"

A name for the metric filter.

" }, "filterPattern":{ "shape":"FilterPattern", "documentation":"

A filter pattern for extracting metric data out of ingested log events.

" }, "metricTransformations":{ "shape":"MetricTransformations", "documentation":"

A collection of information that defines how metric data gets emitted.

" } } }, "PutResourcePolicyRequest":{ "type":"structure", "members":{ "policyName":{ "shape":"PolicyName", "documentation":"

Name of the new policy. This parameter is required.

" }, "policyDocument":{ "shape":"PolicyDocument", "documentation":"

Details of the new policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. This parameter is required.

The following example creates a resource policy enabling the Route 53 service to put DNS query logs in to the specified log group. Replace \"logArn\" with the ARN of your CloudWatch Logs resource, such as a log group or log stream.

{ \"Version\": \"2012-10-17\", \"Statement\": [ { \"Sid\": \"Route53LogsToCloudWatchLogs\", \"Effect\": \"Allow\", \"Principal\": { \"Service\": [ \"route53.amazonaws.com\" ] }, \"Action\":\"logs:PutLogEvents\", \"Resource\": \"logArn\" } ] }

" } } }, "PutResourcePolicyResponse":{ "type":"structure", "members":{ "resourcePolicy":{ "shape":"ResourcePolicy", "documentation":"

The new policy.

" } } }, "PutRetentionPolicyRequest":{ "type":"structure", "required":[ "logGroupName", "retentionInDays" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "retentionInDays":{"shape":"Days"} } }, "PutSubscriptionFilterRequest":{ "type":"structure", "required":[ "logGroupName", "filterName", "filterPattern", "destinationArn" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "filterName":{ "shape":"FilterName", "documentation":"

A name for the subscription filter. If you are updating an existing filter, you must specify the correct name in filterName. Otherwise, the call fails because you cannot associate a second filter with a log group. To find the name of the filter currently associated with a log group, use DescribeSubscriptionFilters.

" }, "filterPattern":{ "shape":"FilterPattern", "documentation":"

A filter pattern for subscribing to a filtered stream of log events.

" }, "destinationArn":{ "shape":"DestinationArn", "documentation":"

The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:

" }, "roleArn":{ "shape":"RoleArn", "documentation":"

The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.

" }, "distribution":{ "shape":"Distribution", "documentation":"

The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream.

" } } }, "QueryCharOffset":{"type":"integer"}, "QueryCompileError":{ "type":"structure", "members":{ "location":{ "shape":"QueryCompileErrorLocation", "documentation":"

Reserved.

" }, "message":{ "shape":"Message", "documentation":"

Reserved.

" } }, "documentation":"

Reserved.

" }, "QueryCompileErrorLocation":{ "type":"structure", "members":{ "startCharOffset":{ "shape":"QueryCharOffset", "documentation":"

Reserved.

" }, "endCharOffset":{ "shape":"QueryCharOffset", "documentation":"

Reserved.

" } }, "documentation":"

Reserved.

" }, "QueryId":{ "type":"string", "max":256, "min":0 }, "QueryInfo":{ "type":"structure", "members":{ "queryId":{ "shape":"QueryId", "documentation":"

The unique ID number of this query.

" }, "queryString":{ "shape":"QueryString", "documentation":"

The query string used in this query.

" }, "status":{ "shape":"QueryStatus", "documentation":"

The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

" }, "createTime":{ "shape":"Timestamp", "documentation":"

The date and time that this query was created.

" }, "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group scanned by this query.

" } }, "documentation":"

Information about one CloudWatch Logs Insights query that matches the request in a DescribeQueries operation.

" }, "QueryInfoList":{ "type":"list", "member":{"shape":"QueryInfo"} }, "QueryResults":{ "type":"list", "member":{"shape":"ResultRows"} }, "QueryStatistics":{ "type":"structure", "members":{ "recordsMatched":{ "shape":"StatsValue", "documentation":"

The number of log events that matched the query string.

" }, "recordsScanned":{ "shape":"StatsValue", "documentation":"

The total number of log events scanned during the query.

" }, "bytesScanned":{ "shape":"StatsValue", "documentation":"

The total number of bytes in the log events scanned during the query.

" } }, "documentation":"

Contains the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned.

" }, "QueryStatus":{ "type":"string", "enum":[ "Scheduled", "Running", "Complete", "Failed", "Cancelled" ] }, "QueryString":{ "type":"string", "max":2048, "min":0 }, "RejectedLogEventsInfo":{ "type":"structure", "members":{ "tooNewLogEventStartIndex":{ "shape":"LogEventIndex", "documentation":"

The log events that are too new.

" }, "tooOldLogEventEndIndex":{ "shape":"LogEventIndex", "documentation":"

The log events that are too old.

" }, "expiredLogEventEndIndex":{ "shape":"LogEventIndex", "documentation":"

The expired log events.

" } }, "documentation":"

Represents the rejected events.

" }, "ResourceAlreadyExistsException":{ "type":"structure", "members":{ }, "documentation":"

The specified resource already exists.

", "exception":true }, "ResourceNotFoundException":{ "type":"structure", "members":{ }, "documentation":"

The specified resource does not exist.

", "exception":true }, "ResourcePolicies":{ "type":"list", "member":{"shape":"ResourcePolicy"} }, "ResourcePolicy":{ "type":"structure", "members":{ "policyName":{ "shape":"PolicyName", "documentation":"

The name of the resource policy.

" }, "policyDocument":{ "shape":"PolicyDocument", "documentation":"

The details of the policy.

" }, "lastUpdatedTime":{ "shape":"Timestamp", "documentation":"

Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" } }, "documentation":"

A policy enabling one or more entities to put logs to a log group in this account.

" }, "ResultField":{ "type":"structure", "members":{ "field":{ "shape":"Field", "documentation":"

The log event field.

" }, "value":{ "shape":"Value", "documentation":"

The value of this field.

" } }, "documentation":"

Contains one field from one log event returned by a CloudWatch Logs Insights query, along with the value of that field.

" }, "ResultRows":{ "type":"list", "member":{"shape":"ResultField"} }, "RoleArn":{ "type":"string", "min":1 }, "SearchedLogStream":{ "type":"structure", "members":{ "logStreamName":{ "shape":"LogStreamName", "documentation":"

The name of the log stream.

" }, "searchedCompletely":{ "shape":"LogStreamSearchedCompletely", "documentation":"

Indicates whether all the events in this log stream were searched.

" } }, "documentation":"

Represents the search status of a log stream.

" }, "SearchedLogStreams":{ "type":"list", "member":{"shape":"SearchedLogStream"} }, "SequenceToken":{ "type":"string", "min":1 }, "ServiceUnavailableException":{ "type":"structure", "members":{ }, "documentation":"

The service cannot complete the request.

", "exception":true, "fault":true }, "StartFromHead":{"type":"boolean"}, "StartQueryRequest":{ "type":"structure", "required":[ "startTime", "endTime", "queryString" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The log group on which to perform the query.

A StartQuery operation must include a logGroupNames or a logGroupName parameter, but not both.

" }, "logGroupNames":{ "shape":"LogGroupNames", "documentation":"

The list of log groups to be queried. You can include up to 20 log groups.

A StartQuery operation must include a logGroupNames or a logGroupName parameter, but not both.

" }, "startTime":{ "shape":"Timestamp", "documentation":"

The beginning of the time range to query. The range is inclusive, so the specified start time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.

" }, "endTime":{ "shape":"Timestamp", "documentation":"

The end of the time range to query. The range is inclusive, so the specified end time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.

" }, "queryString":{ "shape":"QueryString", "documentation":"

The query string to use. For more information, see CloudWatch Logs Insights Query Syntax.

" }, "limit":{ "shape":"EventsLimit", "documentation":"

The maximum number of log events to return in the query. If the query string uses the fields command, only the specified fields and their values are returned. The default is 1000.

" } } }, "StartQueryResponse":{ "type":"structure", "members":{ "queryId":{ "shape":"QueryId", "documentation":"

The unique ID of the query.

" } } }, "StatsValue":{"type":"double"}, "StopQueryRequest":{ "type":"structure", "required":["queryId"], "members":{ "queryId":{ "shape":"QueryId", "documentation":"

The ID number of the query to stop. If necessary, you can use DescribeQueries to find this ID number.

" } } }, "StopQueryResponse":{ "type":"structure", "members":{ "success":{ "shape":"Success", "documentation":"

This is true if the query was stopped by the StopQuery operation.

" } } }, "StoredBytes":{ "type":"long", "min":0 }, "SubscriptionFilter":{ "type":"structure", "members":{ "filterName":{ "shape":"FilterName", "documentation":"

The name of the subscription filter.

" }, "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "filterPattern":{"shape":"FilterPattern"}, "destinationArn":{ "shape":"DestinationArn", "documentation":"

The Amazon Resource Name (ARN) of the destination.

" }, "roleArn":{ "shape":"RoleArn", "documentation":"

" }, "distribution":{"shape":"Distribution"}, "creationTime":{ "shape":"Timestamp", "documentation":"

The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

" } }, "documentation":"

Represents a subscription filter.

" }, "SubscriptionFilters":{ "type":"list", "member":{"shape":"SubscriptionFilter"} }, "Success":{"type":"boolean"}, "TagKey":{ "type":"string", "max":128, "min":1, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]+)$" }, "TagList":{ "type":"list", "member":{"shape":"TagKey"}, "min":1 }, "TagLogGroupRequest":{ "type":"structure", "required":[ "logGroupName", "tags" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "tags":{ "shape":"Tags", "documentation":"

The key-value pairs to use for the tags.

" } } }, "TagValue":{ "type":"string", "max":256, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "Tags":{ "type":"map", "key":{"shape":"TagKey"}, "value":{"shape":"TagValue"}, "max":50, "min":1 }, "TargetArn":{ "type":"string", "min":1 }, "TestEventMessages":{ "type":"list", "member":{"shape":"EventMessage"}, "max":50, "min":1 }, "TestMetricFilterRequest":{ "type":"structure", "required":[ "filterPattern", "logEventMessages" ], "members":{ "filterPattern":{"shape":"FilterPattern"}, "logEventMessages":{ "shape":"TestEventMessages", "documentation":"

The log event messages to test.

" } } }, "TestMetricFilterResponse":{ "type":"structure", "members":{ "matches":{ "shape":"MetricFilterMatches", "documentation":"

The matched events.

" } } }, "Timestamp":{ "type":"long", "min":0 }, "Token":{"type":"string"}, "UnrecognizedClientException":{ "type":"structure", "members":{ }, "documentation":"

The most likely cause is an invalid AWS access key ID or secret key.

", "exception":true }, "UntagLogGroupRequest":{ "type":"structure", "required":[ "logGroupName", "tags" ], "members":{ "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group.

" }, "tags":{ "shape":"TagList", "documentation":"

The tag keys. The corresponding tags are removed from the log group.

" } } }, "Value":{"type":"string"} }, "documentation":"

You can use Amazon CloudWatch Logs to monitor, store, and access your log files from Amazon EC2 instances, AWS CloudTrail, or other sources. You can then retrieve the associated log data from CloudWatch Logs using the CloudWatch console, CloudWatch Logs commands in the AWS CLI, CloudWatch Logs API, or CloudWatch Logs SDK.

You can use CloudWatch Logs to:

" }