aws-sdk-for-zig/codegen/models/cloudwatchlogs.2014-03-28.json

4240 lines
207 KiB
JSON
Raw Normal View History

2021-05-30 01:17:45 +00:00
{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.cloudwatchlogs#AccessPolicy": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.cloudwatchlogs#Arn": {
"type": "string"
},
"com.amazonaws.cloudwatchlogs#AssociateKmsKey": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#AssociateKmsKeyRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Associates the specified AWS Key Management Service (AWS KMS) customer master key (CMK) with the specified log group.</p> \n <p>Associating an AWS KMS CMK with a log group overrides any existing associations between the log group and a CMK. \n After a CMK is associated with a log group, all newly ingested data for the log group is encrypted using the CMK. \n This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. \n This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested.</p>\n <important>\n <p>CloudWatch Logs supports only symmetric CMKs. Do not use an associate an asymmetric CMK\n with your log group. For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html\">Using Symmetric and Asymmetric\n Keys</a>.</p>\n </important>\n <p>It can take up to 5 minutes for this operation to take effect.</p>\n <p>If you attempt to associate a CMK with a log group but the CMK does not exist or the\n CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p>"
}
},
"com.amazonaws.cloudwatchlogs#AssociateKmsKeyRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"kmsKeyId": {
"target": "com.amazonaws.cloudwatchlogs#KmsKeyId",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. This must be a symmetric CMK.\n For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms\">Amazon Resource Names - AWS Key Management Service (AWS KMS)</a> and <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html\">Using Symmetric and Asymmetric Keys</a>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#CancelExportTask": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#CancelExportTaskRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidOperationException"
},
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Cancels the specified export task.</p> \n <p>The task must be in the <code>PENDING</code> or <code>RUNNING</code> state.</p>"
}
},
"com.amazonaws.cloudwatchlogs#CancelExportTaskRequest": {
"type": "structure",
"members": {
"taskId": {
"target": "com.amazonaws.cloudwatchlogs#ExportTaskId",
"traits": {
"smithy.api#documentation": "<p>The ID of the export task.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#CreateExportTask": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#CreateExportTaskRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#CreateExportTaskResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#LimitExceededException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceAlreadyExistsException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates an export task, which allows you to efficiently export data from a\n log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>\n operation, you must use credentials that have permission to write to the S3 bucket \n that you specify as the destination.</p>\n <p>This is an asynchronous call. If all the required information is provided, this \n operation initiates an export task and responds with the ID of the task. After the task has started,\n you can use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html\">DescribeExportTasks</a> to get the status of the export task. Each account can\n only have one active (<code>RUNNING</code> or <code>PENDING</code>) export task at a time.\n To cancel an export task, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html\">CancelExportTask</a>.</p>\n <p>You can export logs from multiple log groups or multiple time ranges to the same S3\n bucket. To separate out log data for each export task, you can specify a prefix to be used as\n the Amazon S3 key prefix for all exported objects.</p>\n <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets \n encrypted with SSE-KMS is not supported. </p>"
}
},
"com.amazonaws.cloudwatchlogs#CreateExportTaskRequest": {
"type": "structure",
"members": {
"taskName": {
"target": "com.amazonaws.cloudwatchlogs#ExportTaskName",
"traits": {
"smithy.api#documentation": "<p>The name of the export task.</p>"
}
},
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"logStreamNamePrefix": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamName",
"traits": {
"smithy.api#documentation": "<p>Export only log streams that match the provided prefix. If you don't\n specify a value, no prefix filter is applied.</p>"
}
},
"from": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The start time of the range for the request, expressed as the number of milliseconds\n after Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this time are not\n exported.</p>",
"smithy.api#required": {}
}
},
"to": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The end time of the range for the request, expreswatchlogsdocused as the number of milliseconds\n after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not\n exported.</p>",
"smithy.api#required": {}
}
},
"destination": {
"target": "com.amazonaws.cloudwatchlogs#ExportDestinationBucket",
"traits": {
"smithy.api#documentation": "<p>The name of S3 bucket for the exported log data. The bucket must be in the same AWS region.</p>",
"smithy.api#required": {}
}
},
"destinationPrefix": {
"target": "com.amazonaws.cloudwatchlogs#ExportDestinationPrefix",
"traits": {
"smithy.api#documentation": "<p>The prefix used as the start of the key for every object exported. If you don't\n specify a value, the default is <code>exportedlogs</code>.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#CreateExportTaskResponse": {
"type": "structure",
"members": {
"taskId": {
"target": "com.amazonaws.cloudwatchlogs#ExportTaskId",
"traits": {
"smithy.api#documentation": "<p>The ID of the export task.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#CreateLogGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#CreateLogGroupRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#LimitExceededException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceAlreadyExistsException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a log group with the specified name. You can create up to 20,000 log groups per account.</p>\n <p>You must use the following guidelines when naming a log group:</p>\n <ul>\n <li>\n <p>Log group names must be unique within a region for an AWS account.</p>\n </li>\n <li>\n <p>Log group names can be between 1 and 512 characters long.</p>\n </li>\n <li>\n <p>Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), \n '/' (forward slash), '.' (period), and '#' (number sign)</p>\n </li>\n </ul>\n <p>When you create a log group, by default the log events in the log group never expire. To set\n a retention policy so that events expire and are deleted after a specified time, use\n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html\">PutRetentionPolicy</a>.</p>\n <p>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. \n This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. \n This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested.</p>\n <p>If you attempt to associate a CMK with the log group but the CMK does not exist or the\n CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p>\n <important>\n <p> CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with\n your log group. For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html\">Using Symmetric and Asymmetric\n Keys</a>.</p>\n </important>"
}
},
"com.amazonaws.cloudwatchlogs#CreateLogGroupRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"kmsKeyId": {
"target": "com.amazonaws.cloudwatchlogs#KmsKeyId",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. \n For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms\">Amazon Resource Names - AWS Key Management Service (AWS KMS)</a>.</p>"
}
},
"tags": {
"target": "com.amazonaws.cloudwatchlogs#Tags",
"traits": {
"smithy.api#documentation": "<p>The key-value pairs to use for the tags.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#CreateLogStream": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#CreateLogStreamRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceAlreadyExistsException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a log stream for the specified log group. A log stream is a sequence of log events\n that originate from a single source, such as an application instance or a resource that is \n being monitored.</p> \n <p>There is no limit on the number of log streams that you can create for a log group. There is a limit \n of 50 TPS on <code>CreateLogStream</code> operations, after which transactions are throttled.</p>\n <p>You must use the following guidelines when naming a log stream:</p>\n <ul>\n <li>\n <p>Log stream names must be unique within the log group.</p>\n </li>\n <li>\n <p>Log stream names can be between 1 and 512 characters long.</p>\n </li>\n <li>\n <p>The ':' (colon) and '*' (asterisk) characters are not allowed.</p>\n </li>\n </ul>"
}
},
"com.amazonaws.cloudwatchlogs#CreateLogStreamRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"logStreamName": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the log stream.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#DataAlreadyAcceptedException": {
"type": "structure",
"members": {
"expectedSequenceToken": {
"target": "com.amazonaws.cloudwatchlogs#SequenceToken"
},
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message"
}
},
"traits": {
"smithy.api#documentation": "<p>The event was already logged.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.cloudwatchlogs#Days": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#documentation": "<p>The number of days to retain the log events in the specified log group.\n Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p>\n <p>If you omit <code>retentionInDays</code> in a <code>PutRetentionPolicy</code> operation, \n the events in the log group are always retained and never expire.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DefaultValue": {
"type": "double",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.cloudwatchlogs#DeleteDestination": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DeleteDestinationRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the specified destination, and eventually disables all the\n subscription filters that publish to it. This operation does not delete the \n physical resource encapsulated by the destination.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DeleteDestinationRequest": {
"type": "structure",
"members": {
"destinationName": {
"target": "com.amazonaws.cloudwatchlogs#DestinationName",
"traits": {
"smithy.api#documentation": "<p>The name of the destination.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#DeleteLogGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DeleteLogGroupRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the specified log group and permanently deletes all the archived\n log events associated with the log group.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DeleteLogGroupRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#DeleteLogStream": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DeleteLogStreamRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the specified log stream and permanently deletes all the archived log events associated\n with the log stream.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DeleteLogStreamRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"logStreamName": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the log stream.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#DeleteMetricFilter": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DeleteMetricFilterRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the specified metric filter.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DeleteMetricFilterRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"filterName": {
"target": "com.amazonaws.cloudwatchlogs#FilterName",
"traits": {
"smithy.api#documentation": "<p>The name of the metric filter.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#DeleteQueryDefinition": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DeleteQueryDefinitionRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#DeleteQueryDefinitionResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a saved CloudWatch Logs Insights query definition. \n A query definition contains details about a saved CloudWatch Logs Insights query.</p>\n <p>Each <code>DeleteQueryDefinition</code> operation can delete one query definition.</p>\n <p>You must have the <code>logs:DeleteQueryDefinition</code> permission to be able to perform\n this operation.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DeleteQueryDefinitionRequest": {
"type": "structure",
"members": {
"queryDefinitionId": {
"target": "com.amazonaws.cloudwatchlogs#QueryId",
"traits": {
"smithy.api#documentation": "<p>The ID of the query definition that you want to delete. You can use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html\">DescribeQueryDefinitions</a> to retrieve the\n IDs of your saved query definitions.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#DeleteQueryDefinitionResponse": {
"type": "structure",
"members": {
"success": {
"target": "com.amazonaws.cloudwatchlogs#Success",
"traits": {
"smithy.api#documentation": "<p>A value of TRUE indicates that the operation succeeded. FALSE indicates that the operation\n failed.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#DeleteResourcePolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DeleteResourcePolicyRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a resource policy from this account. This revokes \n the access of the identities in that policy to put log events to this account.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DeleteResourcePolicyRequest": {
"type": "structure",
"members": {
"policyName": {
"target": "com.amazonaws.cloudwatchlogs#PolicyName",
"traits": {
"smithy.api#documentation": "<p>The name of the policy to be revoked. This parameter is required.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#DeleteRetentionPolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DeleteRetentionPolicyRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the specified retention policy.</p> \n <p>Log events do not expire if they belong to log groups without a retention policy.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DeleteRetentionPolicyRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#DeleteSubscriptionFilter": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DeleteSubscriptionFilterRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the specified subscription filter.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DeleteSubscriptionFilterRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"filterName": {
"target": "com.amazonaws.cloudwatchlogs#FilterName",
"traits": {
"smithy.api#documentation": "<p>The name of the subscription filter.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#Descending": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.cloudwatchlogs#DescribeDestinations": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DescribeDestinationsRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#DescribeDestinationsResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists all your destinations. The results are ASCII-sorted by destination name.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "destinations",
"pageSize": "limit"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeDestinationsRequest": {
"type": "structure",
"members": {
"DestinationNamePrefix": {
"target": "com.amazonaws.cloudwatchlogs#DestinationName",
"traits": {
"smithy.api#documentation": "<p>The prefix to match. If you don't specify a value, no prefix filter is applied.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a previous call.)</p>"
}
},
"limit": {
"target": "com.amazonaws.cloudwatchlogs#DescribeLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeDestinationsResponse": {
"type": "structure",
"members": {
"destinations": {
"target": "com.amazonaws.cloudwatchlogs#Destinations",
"traits": {
"smithy.api#documentation": "<p>The destinations.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeExportTasks": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DescribeExportTasksRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#DescribeExportTasksResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the specified export tasks. You can list all your export tasks or filter \n the results based on task ID or task status.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DescribeExportTasksRequest": {
"type": "structure",
"members": {
"taskId": {
"target": "com.amazonaws.cloudwatchlogs#ExportTaskId",
"traits": {
"smithy.api#documentation": "<p>The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.</p>"
}
},
"statusCode": {
"target": "com.amazonaws.cloudwatchlogs#ExportTaskStatusCode",
"traits": {
"smithy.api#documentation": "<p>The status code of the export task. Specifying a status code filters the results to zero or more export tasks.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a previous call.)</p>"
}
},
"limit": {
"target": "com.amazonaws.cloudwatchlogs#DescribeLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeExportTasksResponse": {
"type": "structure",
"members": {
"exportTasks": {
"target": "com.amazonaws.cloudwatchlogs#ExportTasks",
"traits": {
"smithy.api#documentation": "<p>The export tasks.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeLogGroups": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DescribeLogGroupsRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#DescribeLogGroupsResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the specified log groups. You can list all your log groups or filter the results by prefix.\n The results are ASCII-sorted by log group name.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "logGroups",
"pageSize": "limit"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeLogGroupsRequest": {
"type": "structure",
"members": {
"logGroupNamePrefix": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The prefix to match.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a previous call.)</p>"
}
},
"limit": {
"target": "com.amazonaws.cloudwatchlogs#DescribeLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeLogGroupsResponse": {
"type": "structure",
"members": {
"logGroups": {
"target": "com.amazonaws.cloudwatchlogs#LogGroups",
"traits": {
"smithy.api#documentation": "<p>The log groups.</p>\n <p>If the <code>retentionInDays</code> value if not included for a log group, then that log group\n is set to have its events never expire.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeLogStreams": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DescribeLogStreamsRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#DescribeLogStreamsResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the log streams for the specified log group. \n You can list all the log streams or filter the results by prefix.\n You can also control how the results are ordered.</p>\n <p>This operation has a limit of five transactions per second, after which transactions are throttled.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "logStreams",
"pageSize": "limit"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeLogStreamsRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"logStreamNamePrefix": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamName",
"traits": {
"smithy.api#documentation": "<p>The prefix to match.</p> \n <p>If <code>orderBy</code> is <code>LastEventTime</code>, you cannot specify this\n parameter.</p>"
}
},
"orderBy": {
"target": "com.amazonaws.cloudwatchlogs#OrderBy",
"traits": {
"smithy.api#documentation": "<p>If the value is <code>LogStreamName</code>, the results are ordered by log stream name.\n If the value is <code>LastEventTime</code>, the results are ordered by the event time. \n The default value is <code>LogStreamName</code>.</p>\n <p>If you order the results by event time, you cannot specify the <code>logStreamNamePrefix</code> parameter.</p>\n <p>\n <code>lastEventTimestamp</code> represents the time of the most recent log event in the\n log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after\n Jan 1, 1970 00:00:00 UTC. <code>lastEventTimestamp</code> updates on an eventual consistency\n basis. It typically updates in less than an hour from ingestion, but in rare situations might\n take longer.</p>"
}
},
"descending": {
"target": "com.amazonaws.cloudwatchlogs#Descending",
"traits": {
"smithy.api#documentation": "<p>If the value is true, results are returned in descending order. \n If the value is to false, results are returned in ascending order.\n The default value is false.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a previous call.)</p>"
}
},
"limit": {
"target": "com.amazonaws.cloudwatchlogs#DescribeLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeLogStreamsResponse": {
"type": "structure",
"members": {
"logStreams": {
"target": "com.amazonaws.cloudwatchlogs#LogStreams",
"traits": {
"smithy.api#documentation": "<p>The log streams.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeMetricFilters": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DescribeMetricFiltersRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#DescribeMetricFiltersResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the specified metric filters. You can list all of the metric filters or filter\n the results by log name, prefix, metric name, or metric namespace. The results are\n ASCII-sorted by filter name.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "metricFilters",
"pageSize": "limit"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeMetricFiltersRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>"
}
},
"filterNamePrefix": {
"target": "com.amazonaws.cloudwatchlogs#FilterName",
"traits": {
"smithy.api#documentation": "<p>The prefix to match. CloudWatch Logs uses the value you set here\n only if you also include the <code>logGroupName</code> parameter in your request.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a previous call.)</p>"
}
},
"limit": {
"target": "com.amazonaws.cloudwatchlogs#DescribeLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>"
}
},
"metricName": {
"target": "com.amazonaws.cloudwatchlogs#MetricName",
"traits": {
"smithy.api#documentation": "<p>Filters results to include only those with the specified metric name. If you include this parameter in your request, you \n must also include the <code>metricNamespace</code> parameter.</p>"
}
},
"metricNamespace": {
"target": "com.amazonaws.cloudwatchlogs#MetricNamespace",
"traits": {
"smithy.api#documentation": "<p>Filters results to include only those in the specified namespace. If you include this parameter in your request, you \n must also include the <code>metricName</code> parameter.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeMetricFiltersResponse": {
"type": "structure",
"members": {
"metricFilters": {
"target": "com.amazonaws.cloudwatchlogs#MetricFilters",
"traits": {
"smithy.api#documentation": "<p>The metric filters.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeQueries": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DescribeQueriesRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#DescribeQueriesResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns a list of CloudWatch Logs Insights queries that are scheduled, executing, or have\n been executed recently in this account. You can request all queries or limit it to queries of\n a specific log group or queries with a certain status.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DescribeQueriesMaxResults": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 1000
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeQueriesRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>Limits the returned queries to only those for the specified log group.</p>"
}
},
"status": {
"target": "com.amazonaws.cloudwatchlogs#QueryStatus",
"traits": {
"smithy.api#documentation": "<p>Limits the returned queries to only those that have the specified status. Valid values are <code>Cancelled</code>, \n <code>Complete</code>, <code>Failed</code>, <code>Running</code>, and <code>Scheduled</code>.</p>"
}
},
"maxResults": {
"target": "com.amazonaws.cloudwatchlogs#DescribeQueriesMaxResults",
"traits": {
"smithy.api#documentation": "<p>Limits the number of returned queries to the specified number.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeQueriesResponse": {
"type": "structure",
"members": {
"queries": {
"target": "com.amazonaws.cloudwatchlogs#QueryInfoList",
"traits": {
"smithy.api#documentation": "<p>The list of queries that match the request.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeQueryDefinitions": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DescribeQueryDefinitionsRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#DescribeQueryDefinitionsResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>This operation returns a paginated list of your saved CloudWatch Logs Insights query definitions.</p>\n <p>You can use the <code>queryDefinitionNamePrefix</code> parameter to limit the results to only the\n query definitions that have names that start with a certain string.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DescribeQueryDefinitionsRequest": {
"type": "structure",
"members": {
"queryDefinitionNamePrefix": {
"target": "com.amazonaws.cloudwatchlogs#QueryDefinitionName",
"traits": {
"smithy.api#documentation": "<p>Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.</p>"
}
},
"maxResults": {
"target": "com.amazonaws.cloudwatchlogs#QueryListMaxResults",
"traits": {
"smithy.api#documentation": "<p>Limits the number of returned query definitions to the specified number.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeQueryDefinitionsResponse": {
"type": "structure",
"members": {
"queryDefinitions": {
"target": "com.amazonaws.cloudwatchlogs#QueryDefinitionList",
"traits": {
"smithy.api#documentation": "<p>The list of query definitions that match your request.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeResourcePolicies": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DescribeResourcePoliciesRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#DescribeResourcePoliciesResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the resource policies in this account.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DescribeResourcePoliciesRequest": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
},
"limit": {
"target": "com.amazonaws.cloudwatchlogs#DescribeLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of resource policies to be displayed with one call of this API.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeResourcePoliciesResponse": {
"type": "structure",
"members": {
"resourcePolicies": {
"target": "com.amazonaws.cloudwatchlogs#ResourcePolicies",
"traits": {
"smithy.api#documentation": "<p>The resource policies that exist in this account.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeSubscriptionFilters": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DescribeSubscriptionFiltersRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#DescribeSubscriptionFiltersResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the subscription filters for the specified log group. You can list all the subscription filters or filter the results by prefix.\n The results are ASCII-sorted by filter name.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "subscriptionFilters",
"pageSize": "limit"
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeSubscriptionFiltersRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"filterNamePrefix": {
"target": "com.amazonaws.cloudwatchlogs#FilterName",
"traits": {
"smithy.api#documentation": "<p>The prefix to match. If you don't specify a value, no prefix filter is applied.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a previous call.)</p>"
}
},
"limit": {
"target": "com.amazonaws.cloudwatchlogs#DescribeLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of items returned. If you don't specify a value, the default is up to 50 items.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#DescribeSubscriptionFiltersResponse": {
"type": "structure",
"members": {
"subscriptionFilters": {
"target": "com.amazonaws.cloudwatchlogs#SubscriptionFilters",
"traits": {
"smithy.api#documentation": "<p>The subscription filters.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken"
}
}
},
"com.amazonaws.cloudwatchlogs#Destination": {
"type": "structure",
"members": {
"destinationName": {
"target": "com.amazonaws.cloudwatchlogs#DestinationName",
"traits": {
"smithy.api#documentation": "<p>The name of the destination.</p>"
}
},
"targetArn": {
"target": "com.amazonaws.cloudwatchlogs#TargetArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the physical target where the log events are\n delivered (for example, a Kinesis stream).</p>"
}
},
"roleArn": {
"target": "com.amazonaws.cloudwatchlogs#RoleArn",
"traits": {
"smithy.api#documentation": "<p>A role for impersonation, used when delivering log events to the target.</p>"
}
},
"accessPolicy": {
"target": "com.amazonaws.cloudwatchlogs#AccessPolicy",
"traits": {
"smithy.api#documentation": "<p>An IAM policy document that governs which AWS accounts can create subscription filters\n against this destination.</p>"
}
},
"arn": {
"target": "com.amazonaws.cloudwatchlogs#Arn",
"traits": {
"smithy.api#documentation": "<p>The ARN of this destination.</p>"
}
},
"creationTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The creation time of the destination, expressed as the number of milliseconds after Jan\n 1, 1970 00:00:00 UTC.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a cross-account destination that receives subscription log events.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DestinationArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.cloudwatchlogs#DestinationName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 512
},
"smithy.api#pattern": "^[^:*]*$"
}
},
"com.amazonaws.cloudwatchlogs#Destinations": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#Destination"
}
},
"com.amazonaws.cloudwatchlogs#Dimensions": {
"type": "map",
"key": {
"target": "com.amazonaws.cloudwatchlogs#DimensionsKey"
},
"value": {
"target": "com.amazonaws.cloudwatchlogs#DimensionsValue"
}
},
"com.amazonaws.cloudwatchlogs#DimensionsKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 255
}
}
},
"com.amazonaws.cloudwatchlogs#DimensionsValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 255
}
}
},
"com.amazonaws.cloudwatchlogs#DisassociateKmsKey": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#DisassociateKmsKeyRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Disassociates the associated AWS Key Management Service (AWS KMS) customer master key (CMK) from the specified log group.</p> \n <p>After the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. \n All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.</p>\n <p>Note that it can take up to 5 minutes for this operation to take effect.</p>"
}
},
"com.amazonaws.cloudwatchlogs#DisassociateKmsKeyRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#Distribution": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>The method used to distribute log data to the destination, which can be either\n random or grouped by log stream.</p>",
"smithy.api#enum": [
{
"value": "Random",
"name": "Random"
},
{
"value": "ByLogStream",
"name": "ByLogStream"
}
]
}
},
"com.amazonaws.cloudwatchlogs#EventId": {
"type": "string"
},
"com.amazonaws.cloudwatchlogs#EventMessage": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.cloudwatchlogs#EventNumber": {
"type": "long"
},
"com.amazonaws.cloudwatchlogs#EventsLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 10000
}
}
},
"com.amazonaws.cloudwatchlogs#ExportDestinationBucket": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 512
}
}
},
"com.amazonaws.cloudwatchlogs#ExportDestinationPrefix": {
"type": "string"
},
"com.amazonaws.cloudwatchlogs#ExportTask": {
"type": "structure",
"members": {
"taskId": {
"target": "com.amazonaws.cloudwatchlogs#ExportTaskId",
"traits": {
"smithy.api#documentation": "<p>The ID of the export task.</p>"
}
},
"taskName": {
"target": "com.amazonaws.cloudwatchlogs#ExportTaskName",
"traits": {
"smithy.api#documentation": "<p>The name of the export task.</p>"
}
},
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group from which logs data was exported.</p>"
}
},
"from": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.\n Events with a timestamp before this time are not exported.</p>"
}
},
"to": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.\n Events with a timestamp later than this time are not exported.</p>"
}
},
"destination": {
"target": "com.amazonaws.cloudwatchlogs#ExportDestinationBucket",
"traits": {
"smithy.api#documentation": "<p>The name of the S3 bucket to which the log data was exported.</p>"
}
},
"destinationPrefix": {
"target": "com.amazonaws.cloudwatchlogs#ExportDestinationPrefix",
"traits": {
"smithy.api#documentation": "<p>The prefix that was used as the start of Amazon S3 key for every object exported.</p>"
}
},
"status": {
"target": "com.amazonaws.cloudwatchlogs#ExportTaskStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the export task.</p>"
}
},
"executionInfo": {
"target": "com.amazonaws.cloudwatchlogs#ExportTaskExecutionInfo",
"traits": {
"smithy.api#documentation": "<p>Execution information about the export task.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents an export task.</p>"
}
},
"com.amazonaws.cloudwatchlogs#ExportTaskExecutionInfo": {
"type": "structure",
"members": {
"creationTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The creation time of the export task, expressed as the number of milliseconds after Jan\n 1, 1970 00:00:00 UTC.</p>"
}
},
"completionTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The completion time of the export task, expressed as the number of milliseconds after\n Jan 1, 1970 00:00:00 UTC.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the status of an export task.</p>"
}
},
"com.amazonaws.cloudwatchlogs#ExportTaskId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 512
}
}
},
"com.amazonaws.cloudwatchlogs#ExportTaskName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 512
}
}
},
"com.amazonaws.cloudwatchlogs#ExportTaskStatus": {
"type": "structure",
"members": {
"code": {
"target": "com.amazonaws.cloudwatchlogs#ExportTaskStatusCode",
"traits": {
"smithy.api#documentation": "<p>The status code of the export task.</p>"
}
},
"message": {
"target": "com.amazonaws.cloudwatchlogs#ExportTaskStatusMessage",
"traits": {
"smithy.api#documentation": "<p>The status message related to the status code.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the status of an export task.</p>"
}
},
"com.amazonaws.cloudwatchlogs#ExportTaskStatusCode": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CANCELLED",
"name": "CANCELLED"
},
{
"value": "COMPLETED",
"name": "COMPLETED"
},
{
"value": "FAILED",
"name": "FAILED"
},
{
"value": "PENDING",
"name": "PENDING"
},
{
"value": "PENDING_CANCEL",
"name": "PENDING_CANCEL"
},
{
"value": "RUNNING",
"name": "RUNNING"
}
]
}
},
"com.amazonaws.cloudwatchlogs#ExportTaskStatusMessage": {
"type": "string"
},
"com.amazonaws.cloudwatchlogs#ExportTasks": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#ExportTask"
}
},
"com.amazonaws.cloudwatchlogs#ExtractedValues": {
"type": "map",
"key": {
"target": "com.amazonaws.cloudwatchlogs#Token"
},
"value": {
"target": "com.amazonaws.cloudwatchlogs#Value"
}
},
"com.amazonaws.cloudwatchlogs#Field": {
"type": "string"
},
"com.amazonaws.cloudwatchlogs#FilterCount": {
"type": "integer",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.cloudwatchlogs#FilterLogEvents": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#FilterLogEventsRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#FilterLogEventsResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists log events from the specified log group. You can list all the log events or filter the results\n using a filter pattern, a time range, and the name of the log stream.</p>\n <p>By default, this operation returns as many log events as can fit in 1 MB (up to 10,000\n log events) or all the events found within the time range that you specify. If the results\n include a token, then there are more log events available, and you can get additional results\n by specifying the token in a subsequent call. This operation can return empty results\n while there are more log events available through the token.</p>\n <p>The returned log events are sorted by event timestamp, the timestamp when the event was ingested\n by CloudWatch Logs, and the ID of the <code>PutLogEvents</code> request.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "limit"
}
}
},
"com.amazonaws.cloudwatchlogs#FilterLogEventsRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group to search.</p>",
"smithy.api#required": {}
}
},
"logStreamNames": {
"target": "com.amazonaws.cloudwatchlogs#InputLogStreamNames",
"traits": {
"smithy.api#documentation": "<p>Filters the results to only logs from the log streams in this list.</p>\n <p>If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>, the action\n returns an <code>InvalidParameterException</code> error.</p>"
}
},
"logStreamNamePrefix": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamName",
"traits": {
"smithy.api#documentation": "<p>Filters the results to include only events from log streams that have names starting with this prefix.</p>\n <p>If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>, but the value for\n <code>logStreamNamePrefix</code> does not match any log stream names specified in <code>logStreamNames</code>, the action\n returns an <code>InvalidParameterException</code> error.</p>"
}
},
"startTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The start of the time range, expressed as the number of milliseconds after Jan 1, 1970\n 00:00:00 UTC. Events with a timestamp before this time are not returned.</p>"
}
},
"endTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The end of the time range, expressed as the number of milliseconds after Jan 1, 1970\n 00:00:00 UTC. Events with a timestamp later than this time are not returned.</p>"
}
},
"filterPattern": {
"target": "com.amazonaws.cloudwatchlogs#FilterPattern",
"traits": {
"smithy.api#documentation": "<p>The filter pattern to use. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html\">Filter and Pattern Syntax</a>.</p>\n <p>If not provided, all the events are matched.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of events to return. (You received this token from a previous call.)</p>"
}
},
"limit": {
"target": "com.amazonaws.cloudwatchlogs#EventsLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of events to return. The default is 10,000 events.</p>"
}
},
"interleaved": {
"target": "com.amazonaws.cloudwatchlogs#Interleaved",
"traits": {
"smithy.api#deprecated": {
"message": "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."
},
"smithy.api#documentation": "<p>If the value is true, the operation makes a best effort to provide responses that\n contain events from multiple log streams within the log group, interleaved in a single\n response. If the value is false, all the matched log events in the first log stream are\n searched first, then those in the next log stream, and so on. The default is false.</p>\n <p>\n <b>Important:</b> Starting on June 17, 2019, this parameter\n is ignored and the value is assumed to be true. The response from this operation always\n interleaves events from multiple log streams within a log group.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#FilterLogEventsResponse": {
"type": "structure",
"members": {
"events": {
"target": "com.amazonaws.cloudwatchlogs#FilteredLogEvents",
"traits": {
"smithy.api#documentation": "<p>The matched events.</p>"
}
},
"searchedLogStreams": {
"target": "com.amazonaws.cloudwatchlogs#SearchedLogStreams",
"traits": {
"smithy.api#documentation": "<p>\n <b>IMPORTANT</b> Starting on May 15, 2020, \n this parameter will be deprecated. This parameter will be an empty list \n after the deprecation occurs.</p>\n <p>Indicates which log streams have been searched and whether each has been searched completely.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token to use when requesting the next set of items. The token expires after 24 hours.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#FilterName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 512
},
"smithy.api#pattern": "^[^:*]*$"
}
},
"com.amazonaws.cloudwatchlogs#FilterPattern": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>A symbolic description of how CloudWatch Logs should interpret the data in each log\n event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You\n use the filter pattern to specify what to look for in the log event message.</p>",
"smithy.api#length": {
"min": 0,
"max": 1024
}
}
},
"com.amazonaws.cloudwatchlogs#FilteredLogEvent": {
"type": "structure",
"members": {
"logStreamName": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the log stream to which this event belongs.</p>"
}
},
"timestamp": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970\n 00:00:00 UTC.</p>"
}
},
"message": {
"target": "com.amazonaws.cloudwatchlogs#EventMessage",
"traits": {
"smithy.api#documentation": "<p>The data contained in the log event.</p>"
}
},
"ingestionTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time the event was ingested, expressed as the number of milliseconds after Jan 1,\n 1970 00:00:00 UTC.</p>"
}
},
"eventId": {
"target": "com.amazonaws.cloudwatchlogs#EventId",
"traits": {
"smithy.api#documentation": "<p>The ID of the event.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a matched event.</p>"
}
},
"com.amazonaws.cloudwatchlogs#FilteredLogEvents": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#FilteredLogEvent"
}
},
"com.amazonaws.cloudwatchlogs#GetLogEvents": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#GetLogEventsRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#GetLogEventsResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists log events from the specified log stream. You can list all of the log events or\n filter using a time range.</p>\n\n <p>By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events). \n You can get additional log events by specifying one of the tokens in a subsequent call.\n This operation can return empty results while there are more log events available through the token.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextForwardToken",
"items": "events",
"pageSize": "limit"
}
}
},
"com.amazonaws.cloudwatchlogs#GetLogEventsRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"logStreamName": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the log stream.</p>",
"smithy.api#required": {}
}
},
"startTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The start of the time range, expressed as the number of milliseconds after Jan 1, 1970\n 00:00:00 UTC. Events with a timestamp equal to this time or later than this time are included.\n Events with a timestamp earlier than this time are not included.</p>"
}
},
"endTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The end of the time range, expressed as the number of milliseconds after Jan 1, 1970\n 00:00:00 UTC. Events with a timestamp equal to or later than this time are not\n included.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a previous call.)</p>\n <p>Using this token works only when you specify <code>true</code> for <code>startFromHead</code>.</p>"
}
},
"limit": {
"target": "com.amazonaws.cloudwatchlogs#EventsLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of log events returned. If you don't specify a value, the maximum is\n as many log events as can fit in a response size of 1 MB, up to 10,000 log events.</p>"
}
},
"startFromHead": {
"target": "com.amazonaws.cloudwatchlogs#StartFromHead",
"traits": {
"smithy.api#documentation": "<p>If the value is true, the earliest log events are returned first.\n If the value is false, the latest log events are returned first.\n The default value is false.</p>\n <p>If you are using <code>nextToken</code> in this operation, you must specify <code>true</code> for <code>startFromHead</code>.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#GetLogEventsResponse": {
"type": "structure",
"members": {
"events": {
"target": "com.amazonaws.cloudwatchlogs#OutputLogEvents",
"traits": {
"smithy.api#documentation": "<p>The events.</p>"
}
},
"nextForwardToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of items in the forward direction. The token expires after\n 24 hours. If you have reached the end of the stream, it returns the same token you passed\n in.</p>"
}
},
"nextBackwardToken": {
"target": "com.amazonaws.cloudwatchlogs#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of items in the backward direction. The token expires after\n 24 hours. This token is never null. If you have reached the end of the stream, it returns the\n same token you passed in.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#GetLogGroupFields": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#GetLogGroupFieldsRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#GetLogGroupFieldsResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#LimitExceededException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns a list of the fields that are included in log events in the specified log group, along with the percentage of log events\n that contain each field. The search is limited to a time period that you specify.</p>\n <p>In the results, fields that start with @ are fields generated by CloudWatch Logs. For\n example, <code>@timestamp</code> is the timestamp of each log event. For more information about the fields that are \n generated by CloudWatch logs, see \n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html\">Supported Logs and Discovered Fields</a>.</p>\n <p>The response results are sorted by the frequency percentage, starting \n with the highest percentage.</p>"
}
},
"com.amazonaws.cloudwatchlogs#GetLogGroupFieldsRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group to search.</p>",
"smithy.api#required": {}
}
},
"time": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time to set as the center of the query. If you specify <code>time</code>, the 15 minutes\n before this time are queries. If you omit <code>time</code> the 8\n minutes before and 8 minutes after this time are searched.</p>\n <p>The <code>time</code> value is specified as epoch time, the number of seconds since\n January 1, 1970, 00:00:00 UTC.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#GetLogGroupFieldsResponse": {
"type": "structure",
"members": {
"logGroupFields": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupFieldList",
"traits": {
"smithy.api#documentation": "<p>The array of fields found in the query. Each object in the array contains the name of the field, along with the \n percentage of time it appeared in the log events that were queried.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#GetLogRecord": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#GetLogRecordRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#GetLogRecordResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#LimitExceededException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves all of the fields and values of a single log event. All fields are retrieved,\n even if the original query that produced the <code>logRecordPointer</code> retrieved only a\n subset of fields. Fields are returned as field name/field value pairs.</p>\n <p>The full unparsed log event is returned within <code>@message</code>.</p>"
}
},
"com.amazonaws.cloudwatchlogs#GetLogRecordRequest": {
"type": "structure",
"members": {
"logRecordPointer": {
"target": "com.amazonaws.cloudwatchlogs#LogRecordPointer",
"traits": {
"smithy.api#documentation": "<p>The pointer corresponding to the log event record you want to retrieve. You get this from\n the response of a <code>GetQueryResults</code> operation. In that response, the value of the\n <code>@ptr</code> field for a log event is the value to use as <code>logRecordPointer</code>\n to retrieve that complete log event record.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#GetLogRecordResponse": {
"type": "structure",
"members": {
"logRecord": {
"target": "com.amazonaws.cloudwatchlogs#LogRecord",
"traits": {
"smithy.api#documentation": "<p>The requested log event, as a JSON string.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#GetQueryResults": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#GetQueryResultsRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#GetQueryResultsResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the results from the specified query.</p>\n <p>Only the fields requested in the query are returned, along with a <code>@ptr</code>\n field, which is the identifier for the log record. You can use the value of <code>@ptr</code>\n in a <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogRecord.html\">GetLogRecord</a>\n operation to get the full log record.</p>\n <p>\n <code>GetQueryResults</code>\n does not start a query execution. To run a query, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html\">StartQuery</a>.</p>\n <p>If the value of the <code>Status</code> field in the output is <code>Running</code>, this operation \n returns only partial results. If you see a value of <code>Scheduled</code> or <code>Running</code> for the status, \n you can retry the operation later to see the final results. </p>"
}
},
"com.amazonaws.cloudwatchlogs#GetQueryResultsRequest": {
"type": "structure",
"members": {
"queryId": {
"target": "com.amazonaws.cloudwatchlogs#QueryId",
"traits": {
"smithy.api#documentation": "<p>The ID number of the query.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#GetQueryResultsResponse": {
"type": "structure",
"members": {
"results": {
"target": "com.amazonaws.cloudwatchlogs#QueryResults",
"traits": {
"smithy.api#documentation": "<p>The log events that matched the query criteria during the most recent time it ran.</p>\n <p>The <code>results</code> value is an array of arrays. Each log event is one object in the\n top-level array. Each of these log event objects is an array of\n <code>field</code>/<code>value</code> pairs.</p>"
}
},
"statistics": {
"target": "com.amazonaws.cloudwatchlogs#QueryStatistics",
"traits": {
"smithy.api#documentation": "<p>Includes the number of log events scanned by the query, the number of log events that matched the \n query criteria, and the total number of bytes in the log events that were scanned. These values\n reflect the full raw results of the query.</p>"
}
},
"status": {
"target": "com.amazonaws.cloudwatchlogs#QueryStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the most recent running of the query. Possible values are <code>Cancelled</code>, \n <code>Complete</code>, <code>Failed</code>, <code>Running</code>, <code>Scheduled</code>, \n <code>Timeout</code>, and <code>Unknown</code>.</p>\n <p>Queries time out after 15 minutes of execution. To avoid having your queries time out,\n reduce the time range being searched or partition your query into a number of queries.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#InputLogEvent": {
"type": "structure",
"members": {
"timestamp": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970\n 00:00:00 UTC.</p>",
"smithy.api#required": {}
}
},
"message": {
"target": "com.amazonaws.cloudwatchlogs#EventMessage",
"traits": {
"smithy.api#documentation": "<p>The raw event message.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a log event, which is a record of activity that was recorded \n by the application or resource being monitored.</p>"
}
},
"com.amazonaws.cloudwatchlogs#InputLogEvents": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#InputLogEvent"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 10000
}
}
},
"com.amazonaws.cloudwatchlogs#InputLogStreamNames": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamName"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.cloudwatchlogs#Interleaved": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.cloudwatchlogs#InvalidOperationException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message"
}
},
"traits": {
"smithy.api#documentation": "<p>The operation is not valid on the specified resource.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.cloudwatchlogs#InvalidParameterException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message"
}
},
"traits": {
"smithy.api#documentation": "<p>A parameter is specified incorrectly.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.cloudwatchlogs#InvalidSequenceTokenException": {
"type": "structure",
"members": {
"expectedSequenceToken": {
"target": "com.amazonaws.cloudwatchlogs#SequenceToken"
},
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message"
}
},
"traits": {
"smithy.api#documentation": "<p>The sequence token is not valid. You can get the correct sequence token in \n the <code>expectedSequenceToken</code> field in the <code>InvalidSequenceTokenException</code>\n message. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.cloudwatchlogs#KmsKeyId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
}
}
},
"com.amazonaws.cloudwatchlogs#LimitExceededException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message"
}
},
"traits": {
"smithy.api#documentation": "<p>You have reached the maximum number of resources that can be created.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.cloudwatchlogs#ListTagsLogGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#ListTagsLogGroupRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#ListTagsLogGroupResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the tags for the specified log group.</p>"
}
},
"com.amazonaws.cloudwatchlogs#ListTagsLogGroupRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#ListTagsLogGroupResponse": {
"type": "structure",
"members": {
"tags": {
"target": "com.amazonaws.cloudwatchlogs#Tags",
"traits": {
"smithy.api#documentation": "<p>The tags for the log group.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#LogEventIndex": {
"type": "integer",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.cloudwatchlogs#LogGroup": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>"
}
},
"creationTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The creation time of the log group, expressed as the number of milliseconds after Jan\n 1, 1970 00:00:00 UTC.</p>"
}
},
"retentionInDays": {
"target": "com.amazonaws.cloudwatchlogs#Days"
},
"metricFilterCount": {
"target": "com.amazonaws.cloudwatchlogs#FilterCount",
"traits": {
"smithy.api#documentation": "<p>The number of metric filters.</p>"
}
},
"arn": {
"target": "com.amazonaws.cloudwatchlogs#Arn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the log group.</p>"
}
},
"storedBytes": {
"target": "com.amazonaws.cloudwatchlogs#StoredBytes",
"traits": {
"smithy.api#documentation": "<p>The number of bytes stored.</p>"
}
},
"kmsKeyId": {
"target": "com.amazonaws.cloudwatchlogs#KmsKeyId",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a log group.</p>"
}
},
"com.amazonaws.cloudwatchlogs#LogGroupField": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.cloudwatchlogs#Field",
"traits": {
"smithy.api#documentation": "<p>The name of a log field.</p>"
}
},
"percent": {
"target": "com.amazonaws.cloudwatchlogs#Percentage",
"traits": {
"smithy.api#documentation": "<p>The percentage of log events queried that contained the field.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The fields contained in log events found by a <code>GetLogGroupFields</code> operation,\n along with the percentage of queried log events in which each field appears.</p>"
}
},
"com.amazonaws.cloudwatchlogs#LogGroupFieldList": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupField"
}
},
"com.amazonaws.cloudwatchlogs#LogGroupName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 512
},
"smithy.api#pattern": "^[\\.\\-_/#A-Za-z0-9]+$"
}
},
"com.amazonaws.cloudwatchlogs#LogGroupNames": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName"
}
},
"com.amazonaws.cloudwatchlogs#LogGroups": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#LogGroup"
}
},
"com.amazonaws.cloudwatchlogs#LogRecord": {
"type": "map",
"key": {
"target": "com.amazonaws.cloudwatchlogs#Field"
},
"value": {
"target": "com.amazonaws.cloudwatchlogs#Value"
}
},
"com.amazonaws.cloudwatchlogs#LogRecordPointer": {
"type": "string"
},
"com.amazonaws.cloudwatchlogs#LogStream": {
"type": "structure",
"members": {
"logStreamName": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the log stream.</p>"
}
},
"creationTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The creation time of the stream, expressed as the number of milliseconds after Jan 1,\n 1970 00:00:00 UTC.</p>"
}
},
"firstEventTimestamp": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time of the first event, expressed as the number of milliseconds after Jan 1, 1970\n 00:00:00 UTC.</p>"
}
},
"lastEventTimestamp": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time of the most recent log event in the log stream in CloudWatch Logs. This number\n is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. The\n <code>lastEventTime</code> value updates on an eventual consistency basis. It typically\n updates in less than an hour from ingestion, but in rare situations might take\n longer.</p>"
}
},
"lastIngestionTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00\n UTC.</p>"
}
},
"uploadSequenceToken": {
"target": "com.amazonaws.cloudwatchlogs#SequenceToken",
"traits": {
"smithy.api#documentation": "<p>The sequence token.</p>"
}
},
"arn": {
"target": "com.amazonaws.cloudwatchlogs#Arn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the log stream.</p>"
}
},
"storedBytes": {
"target": "com.amazonaws.cloudwatchlogs#StoredBytes",
"traits": {
"smithy.api#deprecated": {
"message": "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."
},
"smithy.api#documentation": "<p>The number of bytes stored.</p>\n <p>\n <b>Important:</b> On June 17, 2019, this parameter was\n deprecated for log streams, and is always reported as zero. This change applies only to log\n streams. The <code>storedBytes</code> parameter for log groups is not affected.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a log stream, which is a sequence of log events from \n a single emitter of logs.</p>"
}
},
"com.amazonaws.cloudwatchlogs#LogStreamName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 512
},
"smithy.api#pattern": "^[^:*]*$"
}
},
"com.amazonaws.cloudwatchlogs#LogStreamSearchedCompletely": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.cloudwatchlogs#LogStreams": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#LogStream"
}
},
"com.amazonaws.cloudwatchlogs#Logs_20140328": {
"type": "service",
"version": "2014-03-28",
"operations": [
{
"target": "com.amazonaws.cloudwatchlogs#AssociateKmsKey"
},
{
"target": "com.amazonaws.cloudwatchlogs#CancelExportTask"
},
{
"target": "com.amazonaws.cloudwatchlogs#CreateExportTask"
},
{
"target": "com.amazonaws.cloudwatchlogs#CreateLogGroup"
},
{
"target": "com.amazonaws.cloudwatchlogs#CreateLogStream"
},
{
"target": "com.amazonaws.cloudwatchlogs#DeleteDestination"
},
{
"target": "com.amazonaws.cloudwatchlogs#DeleteLogGroup"
},
{
"target": "com.amazonaws.cloudwatchlogs#DeleteLogStream"
},
{
"target": "com.amazonaws.cloudwatchlogs#DeleteMetricFilter"
},
{
"target": "com.amazonaws.cloudwatchlogs#DeleteQueryDefinition"
},
{
"target": "com.amazonaws.cloudwatchlogs#DeleteResourcePolicy"
},
{
"target": "com.amazonaws.cloudwatchlogs#DeleteRetentionPolicy"
},
{
"target": "com.amazonaws.cloudwatchlogs#DeleteSubscriptionFilter"
},
{
"target": "com.amazonaws.cloudwatchlogs#DescribeDestinations"
},
{
"target": "com.amazonaws.cloudwatchlogs#DescribeExportTasks"
},
{
"target": "com.amazonaws.cloudwatchlogs#DescribeLogGroups"
},
{
"target": "com.amazonaws.cloudwatchlogs#DescribeLogStreams"
},
{
"target": "com.amazonaws.cloudwatchlogs#DescribeMetricFilters"
},
{
"target": "com.amazonaws.cloudwatchlogs#DescribeQueries"
},
{
"target": "com.amazonaws.cloudwatchlogs#DescribeQueryDefinitions"
},
{
"target": "com.amazonaws.cloudwatchlogs#DescribeResourcePolicies"
},
{
"target": "com.amazonaws.cloudwatchlogs#DescribeSubscriptionFilters"
},
{
"target": "com.amazonaws.cloudwatchlogs#DisassociateKmsKey"
},
{
"target": "com.amazonaws.cloudwatchlogs#FilterLogEvents"
},
{
"target": "com.amazonaws.cloudwatchlogs#GetLogEvents"
},
{
"target": "com.amazonaws.cloudwatchlogs#GetLogGroupFields"
},
{
"target": "com.amazonaws.cloudwatchlogs#GetLogRecord"
},
{
"target": "com.amazonaws.cloudwatchlogs#GetQueryResults"
},
{
"target": "com.amazonaws.cloudwatchlogs#ListTagsLogGroup"
},
{
"target": "com.amazonaws.cloudwatchlogs#PutDestination"
},
{
"target": "com.amazonaws.cloudwatchlogs#PutDestinationPolicy"
},
{
"target": "com.amazonaws.cloudwatchlogs#PutLogEvents"
},
{
"target": "com.amazonaws.cloudwatchlogs#PutMetricFilter"
},
{
"target": "com.amazonaws.cloudwatchlogs#PutQueryDefinition"
},
{
"target": "com.amazonaws.cloudwatchlogs#PutResourcePolicy"
},
{
"target": "com.amazonaws.cloudwatchlogs#PutRetentionPolicy"
},
{
"target": "com.amazonaws.cloudwatchlogs#PutSubscriptionFilter"
},
{
"target": "com.amazonaws.cloudwatchlogs#StartQuery"
},
{
"target": "com.amazonaws.cloudwatchlogs#StopQuery"
},
{
"target": "com.amazonaws.cloudwatchlogs#TagLogGroup"
},
{
"target": "com.amazonaws.cloudwatchlogs#TestMetricFilter"
},
{
"target": "com.amazonaws.cloudwatchlogs#UntagLogGroup"
}
],
"traits": {
"aws.api#service": {
"sdkId": "CloudWatch Logs",
"arnNamespace": "logs",
"cloudFormationName": "Logs",
"cloudTrailEventSource": "cloudwatchlogs.amazonaws.com",
"endpointPrefix": "logs"
},
"aws.auth#sigv4": {
"name": "logs"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<p>You can use Amazon CloudWatch Logs to monitor, store, and access your log files from\n EC2 instances, AWS CloudTrail, and other sources. You can then retrieve the associated\n log data from CloudWatch Logs using the CloudWatch console, CloudWatch Logs commands in the\n AWS CLI, CloudWatch Logs API, or CloudWatch Logs SDK.</p> \n <p>You can use CloudWatch Logs to:</p>\n <ul>\n <li>\n <p>\n <b>Monitor logs from EC2 instances in real-time</b>: You\n can use CloudWatch Logs to monitor applications and systems using log data. For example,\n CloudWatch Logs can track the number of errors that occur in your application logs and\n send you a notification whenever the rate of errors exceeds a threshold that you specify.\n CloudWatch Logs uses your log data for monitoring so no code changes are required. For\n example, you can monitor application logs for specific literal terms (such as\n \"NullReferenceException\") or count the number of occurrences of a literal term at a\n particular position in log data (such as \"404\" status codes in an Apache access log). When\n the term you are searching for is found, CloudWatch Logs reports the data to a CloudWatch\n metric that you specify.</p>\n </li>\n <li>\n <p>\n <b>Monitor AWS CloudTrail logged events</b>: You can\n create alarms in CloudWatch and receive notifications of particular API activity as\n captured by CloudTrail. You can use the notification to perform troubleshooting.</p>\n </li>\n <li>\n <p>\n <b>Archive log data</b>: You can use CloudWatch Logs to\n store your log data in highly durable storage. You can change the log retention setting so\n that any log events older than this setting are automatically deleted. The CloudWatch Logs\n agent makes it easy to quickly send both rotated and non-rotated log data off of a host\n and into the log service. You can then access the raw log data when you need it.</p>\n </li>\n </ul>",
"smithy.api#title": "Amazon CloudWatch Logs",
"smithy.api#xmlNamespace": {
"uri": "http://monitoring.amazonaws.com/doc/2014-03-28/"
}
}
},
"com.amazonaws.cloudwatchlogs#MalformedQueryException": {
"type": "structure",
"members": {
"queryCompileError": {
"target": "com.amazonaws.cloudwatchlogs#QueryCompileError"
},
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message"
}
},
"traits": {
"smithy.api#documentation": "<p>The query string is not valid. Details about this error are displayed in a \n <code>QueryCompileError</code> object. For more information, see \n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_QueryCompileError.html\">QueryCompileError</a>.</p>\n <p>For more information about valid query syntax, see\n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html\">CloudWatch Logs Insights Query Syntax</a>.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.cloudwatchlogs#Message": {
"type": "string"
},
"com.amazonaws.cloudwatchlogs#MetricFilter": {
"type": "structure",
"members": {
"filterName": {
"target": "com.amazonaws.cloudwatchlogs#FilterName",
"traits": {
"smithy.api#documentation": "<p>The name of the metric filter.</p>"
}
},
"filterPattern": {
"target": "com.amazonaws.cloudwatchlogs#FilterPattern"
},
"metricTransformations": {
"target": "com.amazonaws.cloudwatchlogs#MetricTransformations",
"traits": {
"smithy.api#documentation": "<p>The metric transformations.</p>"
}
},
"creationTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The creation time of the metric filter, expressed as the number of milliseconds after\n Jan 1, 1970 00:00:00 UTC.</p>"
}
},
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Metric filters express how CloudWatch Logs would extract metric observations \n from ingested log events and transform them into metric data in a CloudWatch metric.</p>"
}
},
"com.amazonaws.cloudwatchlogs#MetricFilterMatchRecord": {
"type": "structure",
"members": {
"eventNumber": {
"target": "com.amazonaws.cloudwatchlogs#EventNumber",
"traits": {
"smithy.api#documentation": "<p>The event number.</p>"
}
},
"eventMessage": {
"target": "com.amazonaws.cloudwatchlogs#EventMessage",
"traits": {
"smithy.api#documentation": "<p>The raw event data.</p>"
}
},
"extractedValues": {
"target": "com.amazonaws.cloudwatchlogs#ExtractedValues",
"traits": {
"smithy.api#documentation": "<p>The values extracted from the event data by the filter.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a matched event.</p>"
}
},
"com.amazonaws.cloudwatchlogs#MetricFilterMatches": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#MetricFilterMatchRecord"
}
},
"com.amazonaws.cloudwatchlogs#MetricFilters": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#MetricFilter"
}
},
"com.amazonaws.cloudwatchlogs#MetricName": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>The name of the CloudWatch metric to which the monitored log information should be\n published. For example, you might publish to a metric named ErrorCount.</p>",
"smithy.api#length": {
"min": 0,
"max": 255
},
"smithy.api#pattern": "^[^:*$]*$"
}
},
"com.amazonaws.cloudwatchlogs#MetricNamespace": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 255
},
"smithy.api#pattern": "^[^:*$]*$"
}
},
"com.amazonaws.cloudwatchlogs#MetricTransformation": {
"type": "structure",
"members": {
"metricName": {
"target": "com.amazonaws.cloudwatchlogs#MetricName",
"traits": {
"smithy.api#documentation": "<p>The name of the CloudWatch metric.</p>",
"smithy.api#required": {}
}
},
"metricNamespace": {
"target": "com.amazonaws.cloudwatchlogs#MetricNamespace",
"traits": {
"smithy.api#documentation": "<p>A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics\n that are similar. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace\">Namespaces</a>.</p>",
"smithy.api#required": {}
}
},
"metricValue": {
"target": "com.amazonaws.cloudwatchlogs#MetricValue",
"traits": {
"smithy.api#documentation": "<p>The value to publish to the CloudWatch metric when a filter pattern matches a log event.</p>",
"smithy.api#required": {}
}
},
"defaultValue": {
"target": "com.amazonaws.cloudwatchlogs#DefaultValue",
"traits": {
"smithy.api#documentation": "<p>(Optional) The value to emit when a filter pattern does not match a log event. \n This value can be null.</p>"
}
},
"dimensions": {
"target": "com.amazonaws.cloudwatchlogs#Dimensions",
"traits": {
"smithy.api#documentation": "<p>The fields to use as dimensions for the metric. One metric filter can include\n as many as three dimensions.</p>\n <important>\n <p>Metrics extracted from log events are charged as custom metrics.\n To prevent unexpected high charges, do not specify high-cardinality fields such as \n <code>IPAddress</code> or <code>requestID</code> as dimensions. Each different value \n found for \n a dimension is treated as a separate metric and accrues charges as a separate custom metric.\n </p>\n <p>To help prevent accidental high charges, Amazon disables a metric filter\n if it generates 1000 different name/value pairs for the dimensions that you \n have specified within a certain amount of time.</p>\n <p>You can also set up a billing alarm to alert you if your charges are higher than \n expected. For more information, \n see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html\">\n Creating a Billing Alarm to Monitor Your Estimated AWS Charges</a>.\n </p>\n </important>"
}
},
"unit": {
"target": "com.amazonaws.cloudwatchlogs#StandardUnit",
"traits": {
"smithy.api#documentation": "<p>The unit to assign to the metric. If you omit this, the unit is set as <code>None</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Indicates how to transform ingested log events to metric data in a CloudWatch\n metric.</p>"
}
},
"com.amazonaws.cloudwatchlogs#MetricTransformations": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#MetricTransformation"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1
}
}
},
"com.amazonaws.cloudwatchlogs#MetricValue": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>The value to publish to the CloudWatch metric. \n For example, if you're counting the occurrences of a term like \"Error\", the value is \"1\" \n for each occurrence. If you're counting the bytes transferred, the value is the value in the log event.</p>",
"smithy.api#length": {
"min": 0,
"max": 100
}
}
},
"com.amazonaws.cloudwatchlogs#NextToken": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of items to return. The token expires after 24 hours.</p>",
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.cloudwatchlogs#OperationAbortedException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message"
}
},
"traits": {
"smithy.api#documentation": "<p>Multiple requests to update the same resource were in conflict.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.cloudwatchlogs#OrderBy": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "LogStreamName",
"name": "LogStreamName"
},
{
"value": "LastEventTime",
"name": "LastEventTime"
}
]
}
},
"com.amazonaws.cloudwatchlogs#OutputLogEvent": {
"type": "structure",
"members": {
"timestamp": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970\n 00:00:00 UTC.</p>"
}
},
"message": {
"target": "com.amazonaws.cloudwatchlogs#EventMessage",
"traits": {
"smithy.api#documentation": "<p>The data contained in the log event.</p>"
}
},
"ingestionTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time the event was ingested, expressed as the number of milliseconds after Jan 1,\n 1970 00:00:00 UTC.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a log event.</p>"
}
},
"com.amazonaws.cloudwatchlogs#OutputLogEvents": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#OutputLogEvent"
}
},
"com.amazonaws.cloudwatchlogs#Percentage": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 0,
"max": 100
}
}
},
"com.amazonaws.cloudwatchlogs#PolicyDocument": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 5120
}
}
},
"com.amazonaws.cloudwatchlogs#PolicyName": {
"type": "string"
},
"com.amazonaws.cloudwatchlogs#PutDestination": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#PutDestinationRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#PutDestinationResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates or updates a destination. This operation is used only to create destinations for cross-account subscriptions.</p>\n <p>A destination encapsulates a physical resource (such\n as an Amazon Kinesis stream) and enables you to subscribe to a real-time stream of log events\n for a different account, ingested using <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html\">PutLogEvents</a>.</p>\n <p>Through an access policy, a destination controls what is written to it.\n By default, <code>PutDestination</code> does not set any access policy with the destination,\n which means a cross-account user cannot call <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutSubscriptionFilter.html\">PutSubscriptionFilter</a> against\n this destination. To enable this, the destination owner must call <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html\">PutDestinationPolicy</a> after <code>PutDestination</code>.</p>\n <p>To perform a <code>PutDestination</code> operation, you must also have the \n <code>iam:PassRole</code> permission.</p>"
}
},
"com.amazonaws.cloudwatchlogs#PutDestinationPolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#PutDestinationPolicyRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates or updates an access policy associated with an existing\n destination. An access policy is an <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html\">IAM policy document</a> that is used\n to authorize claims to register a subscription filter against a given destination.</p>\n <p>If multiple AWS accounts are sending logs to this destination, each sender account must be \n listed separately in the policy. The policy does not support specifying <code>*</code>\n as the Principal or the use of the <code>aws:PrincipalOrgId</code> global key.</p>"
}
},
"com.amazonaws.cloudwatchlogs#PutDestinationPolicyRequest": {
"type": "structure",
"members": {
"destinationName": {
"target": "com.amazonaws.cloudwatchlogs#DestinationName",
"traits": {
"smithy.api#documentation": "<p>A name for an existing destination.</p>",
"smithy.api#required": {}
}
},
"accessPolicy": {
"target": "com.amazonaws.cloudwatchlogs#AccessPolicy",
"traits": {
"smithy.api#documentation": "<p>An IAM policy document that authorizes cross-account users to deliver their log events\n to the associated destination. This can be up to 5120 bytes.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#PutDestinationRequest": {
"type": "structure",
"members": {
"destinationName": {
"target": "com.amazonaws.cloudwatchlogs#DestinationName",
"traits": {
"smithy.api#documentation": "<p>A name for the destination.</p>",
"smithy.api#required": {}
}
},
"targetArn": {
"target": "com.amazonaws.cloudwatchlogs#TargetArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of an Amazon Kinesis stream to which to deliver matching log events.</p>",
"smithy.api#required": {}
}
},
"roleArn": {
"target": "com.amazonaws.cloudwatchlogs#RoleArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon\n Kinesis <code>PutRecord</code> operation on the destination stream.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#PutDestinationResponse": {
"type": "structure",
"members": {
"destination": {
"target": "com.amazonaws.cloudwatchlogs#Destination",
"traits": {
"smithy.api#documentation": "<p>The destination.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#PutLogEvents": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#PutLogEventsRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#PutLogEventsResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#DataAlreadyAcceptedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#InvalidSequenceTokenException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
},
{
"target": "com.amazonaws.cloudwatchlogs#UnrecognizedClientException"
}
],
"traits": {
"smithy.api#documentation": "<p>Uploads a batch of log events to the specified log stream.</p>\n <p>You must include the sequence token obtained from the response of the previous call. An\n upload in a newly created log stream does not require a sequence token. You can also get the\n sequence token in the <code>expectedSequenceToken</code> field from\n <code>InvalidSequenceTokenException</code>. If you call <code>PutLogEvents</code> twice\n within a narrow time period using the same value for <code>sequenceToken</code>, both calls\n might be successful or one might be rejected.</p>\n <p>The batch of events must satisfy the following constraints:</p>\n <ul>\n <li>\n <p>The maximum batch size is 1,048,576 bytes. This size is calculated as the sum of\n all event messages in UTF-8, plus 26 bytes for each log event.</p>\n </li>\n <li>\n <p>None of the log events in the batch can be more than 2 hours in the future.</p>\n </li>\n <li>\n <p>None of the log events in the batch can be older than 14 days or older than the retention\n period of the log group.</p>\n </li>\n <li>\n <p>The log events in the batch must be in chronological order by their timestamp. The\n timestamp is the time the event occurred, expressed as the number of milliseconds after\n Jan 1, 1970 00:00:00 UTC. (In AWS Tools for PowerShell and the AWS SDK for .NET, the\n timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For example,\n 2017-09-15T13:45:30.) </p>\n </li>\n <li>\n <p>A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails.</p>\n </li>\n <li>\n <p>The maximum number of log events in a batch is 10,000.</p>\n </li>\n <li>\n <p>There is a quota of 5 requests per second per log stream. Additional requests are throttled. This quota can't be changed.</p>\n </li>\n </ul> \n <p>If a call to <code>PutLogEvents</code> returns \"UnrecognizedClientException\" the most likely cause is an invalid AWS access key ID or secret key. </p>"
}
},
"com.amazonaws.cloudwatchlogs#PutLogEventsRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"logStreamName": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the log stream.</p>",
"smithy.api#required": {}
}
},
"logEvents": {
"target": "com.amazonaws.cloudwatchlogs#InputLogEvents",
"traits": {
"smithy.api#documentation": "<p>The log events.</p>",
"smithy.api#required": {}
}
},
"sequenceToken": {
"target": "com.amazonaws.cloudwatchlogs#SequenceToken",
"traits": {
"smithy.api#documentation": "<p>The sequence token obtained from the response of the previous <code>PutLogEvents</code>\n call. An upload in a newly created log stream does not require a sequence token. You can also\n get the sequence token using <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogStreams.html\">DescribeLogStreams</a>. If you call <code>PutLogEvents</code> twice within a narrow\n time period using the same value for <code>sequenceToken</code>, both calls might be\n successful or one might be rejected.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#PutLogEventsResponse": {
"type": "structure",
"members": {
"nextSequenceToken": {
"target": "com.amazonaws.cloudwatchlogs#SequenceToken",
"traits": {
"smithy.api#documentation": "<p>The next sequence token.</p>"
}
},
"rejectedLogEventsInfo": {
"target": "com.amazonaws.cloudwatchlogs#RejectedLogEventsInfo",
"traits": {
"smithy.api#documentation": "<p>The rejected events.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#PutMetricFilter": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#PutMetricFilterRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#LimitExceededException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates or updates a metric filter and associates it with the specified log group.\n Metric filters allow you to configure rules to extract metric data from log events ingested\n through <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html\">PutLogEvents</a>.</p>\n <p>The maximum number of metric filters that can be associated with a log group is\n 100.</p>\n <p>When you create a metric filter, you can also optionally assign a unit and dimensions\n to the metric that is created.</p>\n <important>\n <p>Metrics extracted from log events are charged as custom metrics.\n To prevent unexpected high charges, do not specify high-cardinality fields such as \n <code>IPAddress</code> or <code>requestID</code> as dimensions. Each different value \n found for \n a dimension is treated as a separate metric and accrues charges as a separate custom metric.\n </p>\n <p>To help prevent accidental high charges, Amazon disables a metric filter\n if it generates 1000 different name/value pairs for the dimensions that you \n have specified within a certain amount of time.</p>\n <p>You can also set up a billing alarm to alert you if your charges are higher than \n expected. For more information, \n see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html\">\n Creating a Billing Alarm to Monitor Your Estimated AWS Charges</a>.\n </p>\n </important>"
}
},
"com.amazonaws.cloudwatchlogs#PutMetricFilterRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"filterName": {
"target": "com.amazonaws.cloudwatchlogs#FilterName",
"traits": {
"smithy.api#documentation": "<p>A name for the metric filter.</p>",
"smithy.api#required": {}
}
},
"filterPattern": {
"target": "com.amazonaws.cloudwatchlogs#FilterPattern",
"traits": {
"smithy.api#documentation": "<p>A filter pattern for extracting metric data out of ingested log events.</p>",
"smithy.api#required": {}
}
},
"metricTransformations": {
"target": "com.amazonaws.cloudwatchlogs#MetricTransformations",
"traits": {
"smithy.api#documentation": "<p>A collection of information that defines how metric data gets emitted.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#PutQueryDefinition": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#PutQueryDefinitionRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#PutQueryDefinitionResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates or updates a query definition for CloudWatch Logs Insights. For \n more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html\">Analyzing Log Data with CloudWatch Logs Insights</a>.</p>\n \n <p>To update a query definition, specify its \n <code>queryDefinitionId</code> in your request. The values of <code>name</code>, <code>queryString</code>,\n and <code>logGroupNames</code> are changed to the values that you specify in your update\n operation. No current values are retained from the current query definition. For example, if\n you update a current query definition that includes log groups, and you don't specify the\n <code>logGroupNames</code> parameter in your update operation, the query definition changes\n to contain no log groups.</p>\n <p>You must have the <code>logs:PutQueryDefinition</code> permission to be able to perform\n this operation.</p>"
}
},
"com.amazonaws.cloudwatchlogs#PutQueryDefinitionRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.cloudwatchlogs#QueryDefinitionName",
"traits": {
"smithy.api#documentation": "<p>A name for the query definition. If you are saving a lot of query definitions, we\n recommend that you name them so that you can easily find the ones you want by using the first\n part of the name as a filter in the <code>queryDefinitionNamePrefix</code> parameter of <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html\">DescribeQueryDefinitions</a>.</p>",
"smithy.api#required": {}
}
},
"queryDefinitionId": {
"target": "com.amazonaws.cloudwatchlogs#QueryId",
"traits": {
"smithy.api#documentation": "<p>If you are updating a query definition, use this parameter to specify the ID of the query\n definition that you want to update. You can use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html\">DescribeQueryDefinitions</a> to retrieve the IDs of your saved query\n definitions.</p>\n <p>If you are creating a query definition, do not specify this parameter. CloudWatch\n generates a unique ID for the new query definition and include it in the response to this\n operation.</p>"
}
},
"logGroupNames": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupNames",
"traits": {
"smithy.api#documentation": "<p>Use this parameter to include specific log groups as part of your query definition.</p>\n <p>If you are updating a query definition and you omit this parameter, then the updated\n definition will contain no log groups.</p>"
}
},
"queryString": {
"target": "com.amazonaws.cloudwatchlogs#QueryDefinitionString",
"traits": {
"smithy.api#documentation": "<p>The query string to use for this definition. \n For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html\">CloudWatch Logs Insights Query Syntax</a>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#PutQueryDefinitionResponse": {
"type": "structure",
"members": {
"queryDefinitionId": {
"target": "com.amazonaws.cloudwatchlogs#QueryId",
"traits": {
"smithy.api#documentation": "<p>The ID of the query definition.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#PutResourcePolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#PutResourcePolicyRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#PutResourcePolicyResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#LimitExceededException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates or updates a resource policy allowing other AWS services to put log events to\n this account, such as Amazon Route 53. An account can have up to 10 resource policies per AWS\n Region.</p>"
}
},
"com.amazonaws.cloudwatchlogs#PutResourcePolicyRequest": {
"type": "structure",
"members": {
"policyName": {
"target": "com.amazonaws.cloudwatchlogs#PolicyName",
"traits": {
"smithy.api#documentation": "<p>Name of the new policy. This parameter is required.</p>"
}
},
"policyDocument": {
"target": "com.amazonaws.cloudwatchlogs#PolicyDocument",
"traits": {
"smithy.api#documentation": "<p>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.\n This parameter is required.</p>\n <p>The following example creates a resource policy enabling the Route 53 service to put\n DNS query logs in to the specified log group. Replace <code>\"logArn\"</code> with the ARN of your CloudWatch Logs resource, such as a log group or log stream.</p>\n <p>\n <code>{ \n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"Route53LogsToCloudWatchLogs\", \n \"Effect\": \"Allow\", \n \"Principal\": {\n \"Service\": [\n \"route53.amazonaws.com\"\n ]\n }, \n \"Action\":\"logs:PutLogEvents\", \n \"Resource\": \"logArn\"\n }\n ]\n} </code>\n \n </p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#PutResourcePolicyResponse": {
"type": "structure",
"members": {
"resourcePolicy": {
"target": "com.amazonaws.cloudwatchlogs#ResourcePolicy",
"traits": {
"smithy.api#documentation": "<p>The new policy.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#PutRetentionPolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#PutRetentionPolicyRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Sets the retention of the specified log group. A retention policy allows you to\n configure the number of days for which to retain log events in the specified log\n group.</p>"
}
},
"com.amazonaws.cloudwatchlogs#PutRetentionPolicyRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"retentionInDays": {
"target": "com.amazonaws.cloudwatchlogs#Days",
"traits": {
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#PutSubscriptionFilter": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#PutSubscriptionFilterRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#LimitExceededException"
},
{
"target": "com.amazonaws.cloudwatchlogs#OperationAbortedException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates or updates a subscription filter and associates it with the specified log\n group. Subscription filters allow you to subscribe to a real-time stream of log events\n ingested through <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html\">PutLogEvents</a> and have them delivered to a specific\n destination. When log events are sent to the \n receiving service, they are Base64 encoded\n and compressed with the gzip format.</p>\n <p>The following destinations are supported for subscription filters:</p>\n <ul>\n <li>\n <p>An Amazon Kinesis stream belonging to the same account as the subscription filter,\n for same-account delivery.</p>\n </li>\n <li>\n <p>A logical destination that belongs to a different account, for cross-account delivery.</p>\n </li>\n <li>\n <p>An Amazon Kinesis Firehose delivery stream that belongs to the same account as the\n subscription filter, for same-account delivery.</p>\n </li>\n <li>\n <p>An AWS Lambda function that belongs to the same account as the subscription filter,\n for same-account delivery.</p>\n </li>\n </ul> \n <p>Each log group can have up to two subscription filters associated with it. If you are\n updating an existing filter, you must specify the correct name in <code>filterName</code>.\n </p>\n <p>To perform a <code>PutSubscriptionFilter</code> operation, you must also have the \n <code>iam:PassRole</code> permission.</p>"
}
},
"com.amazonaws.cloudwatchlogs#PutSubscriptionFilterRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"filterName": {
"target": "com.amazonaws.cloudwatchlogs#FilterName",
"traits": {
"smithy.api#documentation": "<p>A name for the subscription filter. If you are updating an existing filter, you must\n specify the correct name in <code>filterName</code>. To find the name of the filter currently\n associated with a log group, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeSubscriptionFilters.html\">DescribeSubscriptionFilters</a>.</p>",
"smithy.api#required": {}
}
},
"filterPattern": {
"target": "com.amazonaws.cloudwatchlogs#FilterPattern",
"traits": {
"smithy.api#documentation": "<p>A filter pattern for subscribing to a filtered stream of log events.</p>",
"smithy.api#required": {}
}
},
"destinationArn": {
"target": "com.amazonaws.cloudwatchlogs#DestinationArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the destination to deliver matching log events to. Currently, the supported\n destinations are:</p>\n <ul>\n <li>\n <p>An Amazon Kinesis stream belonging to the same account as the subscription filter,\n for same-account delivery.</p>\n </li>\n <li>\n <p>A logical destination (specified using an ARN) belonging to a different account, \n for cross-account delivery.</p>\n <p>If you are setting up a cross-account subscription, the destination must have an \n IAM policy associated with it that allows the sender to send logs to the destination.\n For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html\">PutDestinationPolicy</a>.</p>\n </li>\n <li>\n <p>An Amazon Kinesis Firehose delivery stream belonging to the same account as the\n subscription filter, for same-account delivery.</p>\n </li>\n <li>\n <p>An AWS Lambda function belonging to the same account as the subscription filter,\n for same-account delivery.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"roleArn": {
"target": "com.amazonaws.cloudwatchlogs#RoleArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log\n events to the destination stream. You don't need to provide the ARN when you are working with\n a logical destination for cross-account delivery.</p>"
}
},
"distribution": {
"target": "com.amazonaws.cloudwatchlogs#Distribution",
"traits": {
"smithy.api#documentation": "<p>The method used to distribute log data to the destination. By default, log data is\n grouped by log stream, but the grouping can be set to random for a more even distribution.\n This property is only applicable when the destination is an Amazon Kinesis stream. </p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#QueryCharOffset": {
"type": "integer",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.cloudwatchlogs#QueryCompileError": {
"type": "structure",
"members": {
"location": {
"target": "com.amazonaws.cloudwatchlogs#QueryCompileErrorLocation",
"traits": {
"smithy.api#documentation": "<p>Reserved.</p>"
}
},
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message",
"traits": {
"smithy.api#documentation": "<p>Reserved.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Reserved.</p>"
}
},
"com.amazonaws.cloudwatchlogs#QueryCompileErrorLocation": {
"type": "structure",
"members": {
"startCharOffset": {
"target": "com.amazonaws.cloudwatchlogs#QueryCharOffset",
"traits": {
"smithy.api#documentation": "<p>Reserved.</p>"
}
},
"endCharOffset": {
"target": "com.amazonaws.cloudwatchlogs#QueryCharOffset",
"traits": {
"smithy.api#documentation": "<p>Reserved.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Reserved.</p>"
}
},
"com.amazonaws.cloudwatchlogs#QueryDefinition": {
"type": "structure",
"members": {
"queryDefinitionId": {
"target": "com.amazonaws.cloudwatchlogs#QueryId",
"traits": {
"smithy.api#documentation": "<p>The unique ID of the query definition.</p>"
}
},
"name": {
"target": "com.amazonaws.cloudwatchlogs#QueryDefinitionName",
"traits": {
"smithy.api#documentation": "<p>The name of the query definition.</p>"
}
},
"queryString": {
"target": "com.amazonaws.cloudwatchlogs#QueryDefinitionString",
"traits": {
"smithy.api#documentation": "<p>The query string to use for this definition.\n For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html\">CloudWatch Logs Insights Query Syntax</a>.</p>"
}
},
"lastModified": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date that the query definition was most recently modified.</p>"
}
},
"logGroupNames": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupNames",
"traits": {
"smithy.api#documentation": "<p>If this query definition contains a list of log groups that it is limited to, that list appears here.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This structure contains details about a saved CloudWatch Logs Insights query definition.</p>"
}
},
"com.amazonaws.cloudwatchlogs#QueryDefinitionList": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#QueryDefinition"
}
},
"com.amazonaws.cloudwatchlogs#QueryDefinitionName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 255
},
"smithy.api#pattern": "^([^:*\\/]+\\/?)*[^:*\\/]+$"
}
},
"com.amazonaws.cloudwatchlogs#QueryDefinitionString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 10000
}
}
},
"com.amazonaws.cloudwatchlogs#QueryId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
}
}
},
"com.amazonaws.cloudwatchlogs#QueryInfo": {
"type": "structure",
"members": {
"queryId": {
"target": "com.amazonaws.cloudwatchlogs#QueryId",
"traits": {
"smithy.api#documentation": "<p>The unique ID number of this query.</p>"
}
},
"queryString": {
"target": "com.amazonaws.cloudwatchlogs#QueryString",
"traits": {
"smithy.api#documentation": "<p>The query string used in this query.</p>"
}
},
"status": {
"target": "com.amazonaws.cloudwatchlogs#QueryStatus",
"traits": {
"smithy.api#documentation": "<p>The status of this query. Possible values are <code>Cancelled</code>,\n <code>Complete</code>, <code>Failed</code>, <code>Running</code>, <code>Scheduled</code>, and <code>Unknown</code>.</p>"
}
},
"createTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that this query was created.</p>"
}
},
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group scanned by this query.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about one CloudWatch Logs Insights query that matches the request in a <code>DescribeQueries</code> operation. </p>"
}
},
"com.amazonaws.cloudwatchlogs#QueryInfoList": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#QueryInfo"
}
},
"com.amazonaws.cloudwatchlogs#QueryListMaxResults": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 1000
}
}
},
"com.amazonaws.cloudwatchlogs#QueryResults": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#ResultRows"
}
},
"com.amazonaws.cloudwatchlogs#QueryStatistics": {
"type": "structure",
"members": {
"recordsMatched": {
"target": "com.amazonaws.cloudwatchlogs#StatsValue",
"traits": {
"smithy.api#documentation": "<p>The number of log events that matched the query string.</p>"
}
},
"recordsScanned": {
"target": "com.amazonaws.cloudwatchlogs#StatsValue",
"traits": {
"smithy.api#documentation": "<p>The total number of log events scanned during the query.</p>"
}
},
"bytesScanned": {
"target": "com.amazonaws.cloudwatchlogs#StatsValue",
"traits": {
"smithy.api#documentation": "<p>The total number of bytes in the log events scanned during the query.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the number of log events scanned by the query, the number of log events that matched the \n query criteria, and the total number of bytes in the log events that were scanned.</p>"
}
},
"com.amazonaws.cloudwatchlogs#QueryStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "Scheduled",
"name": "Scheduled"
},
{
"value": "Running",
"name": "Running"
},
{
"value": "Complete",
"name": "Complete"
},
{
"value": "Failed",
"name": "Failed"
},
{
"value": "Cancelled",
"name": "Cancelled"
},
{
"value": "Timeout",
"name": "Timeout"
},
{
"value": "Unknown",
"name": "Unknown"
}
]
}
},
"com.amazonaws.cloudwatchlogs#QueryString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 10000
}
}
},
"com.amazonaws.cloudwatchlogs#RejectedLogEventsInfo": {
"type": "structure",
"members": {
"tooNewLogEventStartIndex": {
"target": "com.amazonaws.cloudwatchlogs#LogEventIndex",
"traits": {
"smithy.api#documentation": "<p>The log events that are too new.</p>"
}
},
"tooOldLogEventEndIndex": {
"target": "com.amazonaws.cloudwatchlogs#LogEventIndex",
"traits": {
"smithy.api#documentation": "<p>The log events that are too old.</p>"
}
},
"expiredLogEventEndIndex": {
"target": "com.amazonaws.cloudwatchlogs#LogEventIndex",
"traits": {
"smithy.api#documentation": "<p>The expired log events.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the rejected events.</p>"
}
},
"com.amazonaws.cloudwatchlogs#ResourceAlreadyExistsException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified resource already exists.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.cloudwatchlogs#ResourceNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified resource does not exist.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.cloudwatchlogs#ResourcePolicies": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#ResourcePolicy"
}
},
"com.amazonaws.cloudwatchlogs#ResourcePolicy": {
"type": "structure",
"members": {
"policyName": {
"target": "com.amazonaws.cloudwatchlogs#PolicyName",
"traits": {
"smithy.api#documentation": "<p>The name of the resource policy.</p>"
}
},
"policyDocument": {
"target": "com.amazonaws.cloudwatchlogs#PolicyDocument",
"traits": {
"smithy.api#documentation": "<p>The details of the policy.</p>"
}
},
"lastUpdatedTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>Timestamp showing when this policy was last updated, expressed as the number of\n milliseconds after Jan 1, 1970 00:00:00 UTC.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A policy enabling one or more entities to put logs to a log group in this account.</p>"
}
},
"com.amazonaws.cloudwatchlogs#ResultField": {
"type": "structure",
"members": {
"field": {
"target": "com.amazonaws.cloudwatchlogs#Field",
"traits": {
"smithy.api#documentation": "<p>The log event field.</p>"
}
},
"value": {
"target": "com.amazonaws.cloudwatchlogs#Value",
"traits": {
"smithy.api#documentation": "<p>The value of this field.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains one field from one log event returned by a CloudWatch Logs Insights query, along with the value of that field.</p>\n <p>For more information about the fields that are \n generated by CloudWatch logs, see \n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html\">Supported Logs and Discovered Fields</a>.</p>"
}
},
"com.amazonaws.cloudwatchlogs#ResultRows": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#ResultField"
}
},
"com.amazonaws.cloudwatchlogs#RoleArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.cloudwatchlogs#SearchedLogStream": {
"type": "structure",
"members": {
"logStreamName": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the log stream.</p>"
}
},
"searchedCompletely": {
"target": "com.amazonaws.cloudwatchlogs#LogStreamSearchedCompletely",
"traits": {
"smithy.api#documentation": "<p>Indicates whether all the events in this log stream were searched.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the search status of a log stream.</p>"
}
},
"com.amazonaws.cloudwatchlogs#SearchedLogStreams": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#SearchedLogStream"
}
},
"com.amazonaws.cloudwatchlogs#SequenceToken": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.cloudwatchlogs#ServiceUnavailableException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message"
}
},
"traits": {
"smithy.api#documentation": "<p>The service cannot complete the request.</p>",
"smithy.api#error": "server"
}
},
"com.amazonaws.cloudwatchlogs#StandardUnit": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "Seconds",
"name": "Seconds"
},
{
"value": "Microseconds",
"name": "Microseconds"
},
{
"value": "Milliseconds",
"name": "Milliseconds"
},
{
"value": "Bytes",
"name": "Bytes"
},
{
"value": "Kilobytes",
"name": "Kilobytes"
},
{
"value": "Megabytes",
"name": "Megabytes"
},
{
"value": "Gigabytes",
"name": "Gigabytes"
},
{
"value": "Terabytes",
"name": "Terabytes"
},
{
"value": "Bits",
"name": "Bits"
},
{
"value": "Kilobits",
"name": "Kilobits"
},
{
"value": "Megabits",
"name": "Megabits"
},
{
"value": "Gigabits",
"name": "Gigabits"
},
{
"value": "Terabits",
"name": "Terabits"
},
{
"value": "Percent",
"name": "Percent"
},
{
"value": "Count",
"name": "Count"
},
{
"value": "Bytes/Second",
"name": "BytesSecond"
},
{
"value": "Kilobytes/Second",
"name": "KilobytesSecond"
},
{
"value": "Megabytes/Second",
"name": "MegabytesSecond"
},
{
"value": "Gigabytes/Second",
"name": "GigabytesSecond"
},
{
"value": "Terabytes/Second",
"name": "TerabytesSecond"
},
{
"value": "Bits/Second",
"name": "BitsSecond"
},
{
"value": "Kilobits/Second",
"name": "KilobitsSecond"
},
{
"value": "Megabits/Second",
"name": "MegabitsSecond"
},
{
"value": "Gigabits/Second",
"name": "GigabitsSecond"
},
{
"value": "Terabits/Second",
"name": "TerabitsSecond"
},
{
"value": "Count/Second",
"name": "CountSecond"
},
{
"value": "None",
"name": "None"
}
]
}
},
"com.amazonaws.cloudwatchlogs#StartFromHead": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.cloudwatchlogs#StartQuery": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#StartQueryRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#StartQueryResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#LimitExceededException"
},
{
"target": "com.amazonaws.cloudwatchlogs#MalformedQueryException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group\n and time range to query and the query string to use.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html\">CloudWatch Logs Insights Query Syntax</a>.</p>\n \n <p>Queries time out after 15 minutes of execution. If your queries are timing out, reduce the\n time range being searched or partition your query into a number of queries.</p>"
}
},
"com.amazonaws.cloudwatchlogs#StartQueryRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The log group on which to perform the query.</p>\n <p>A <code>StartQuery</code> operation must include a <code>logGroupNames</code> or a <code>logGroupName</code> parameter, but\n not both.</p>"
}
},
"logGroupNames": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupNames",
"traits": {
"smithy.api#documentation": "<p>The list of log groups to be queried. You can include up to 20 log groups.</p>\n <p>A <code>StartQuery</code> operation must include a <code>logGroupNames</code> or a <code>logGroupName</code> parameter, but\n not both.</p>"
}
},
"startTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The beginning of the time range to query. The range is inclusive, so the specified\n start time is included in the query. Specified as epoch time, the\n number of seconds since January 1, 1970, 00:00:00 UTC.</p>",
"smithy.api#required": {}
}
},
"endTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The end of the time range to query. The range is inclusive, so the specified\n end time is included in the query. Specified as epoch\n time, the number of seconds since January 1, 1970, 00:00:00 UTC.</p>",
"smithy.api#required": {}
}
},
"queryString": {
"target": "com.amazonaws.cloudwatchlogs#QueryString",
"traits": {
"smithy.api#documentation": "<p>The query string to use.\n For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html\">CloudWatch Logs Insights Query Syntax</a>.</p>",
"smithy.api#required": {}
}
},
"limit": {
"target": "com.amazonaws.cloudwatchlogs#EventsLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of log events to return in the query. If the query string uses the <code>fields</code> command,\n only the specified fields and their values are returned. The default is 1000.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#StartQueryResponse": {
"type": "structure",
"members": {
"queryId": {
"target": "com.amazonaws.cloudwatchlogs#QueryId",
"traits": {
"smithy.api#documentation": "<p>The unique ID of the query. </p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#StatsValue": {
"type": "double"
},
"com.amazonaws.cloudwatchlogs#StopQuery": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#StopQueryRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#StopQueryResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Stops a CloudWatch Logs Insights query that is in progress. If the query has already ended, the operation\n returns an error indicating that the specified query is not running.</p>"
}
},
"com.amazonaws.cloudwatchlogs#StopQueryRequest": {
"type": "structure",
"members": {
"queryId": {
"target": "com.amazonaws.cloudwatchlogs#QueryId",
"traits": {
"smithy.api#documentation": "<p>The ID number of the query to stop. To find this ID number, use\n <code>DescribeQueries</code>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#StopQueryResponse": {
"type": "structure",
"members": {
"success": {
"target": "com.amazonaws.cloudwatchlogs#Success",
"traits": {
"smithy.api#documentation": "<p>This is true if the query was stopped by the <code>StopQuery</code> operation.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#StoredBytes": {
"type": "long",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.cloudwatchlogs#SubscriptionFilter": {
"type": "structure",
"members": {
"filterName": {
"target": "com.amazonaws.cloudwatchlogs#FilterName",
"traits": {
"smithy.api#documentation": "<p>The name of the subscription filter.</p>"
}
},
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>"
}
},
"filterPattern": {
"target": "com.amazonaws.cloudwatchlogs#FilterPattern"
},
"destinationArn": {
"target": "com.amazonaws.cloudwatchlogs#DestinationArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the destination.</p>"
}
},
"roleArn": {
"target": "com.amazonaws.cloudwatchlogs#RoleArn",
"traits": {
"smithy.api#documentation": "<p></p>"
}
},
"distribution": {
"target": "com.amazonaws.cloudwatchlogs#Distribution"
},
"creationTime": {
"target": "com.amazonaws.cloudwatchlogs#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The creation time of the subscription filter, expressed as the number of milliseconds\n after Jan 1, 1970 00:00:00 UTC.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a subscription filter.</p>"
}
},
"com.amazonaws.cloudwatchlogs#SubscriptionFilters": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#SubscriptionFilter"
}
},
"com.amazonaws.cloudwatchlogs#Success": {
"type": "boolean"
},
"com.amazonaws.cloudwatchlogs#TagKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]+)$"
}
},
"com.amazonaws.cloudwatchlogs#TagList": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#TagKey"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.cloudwatchlogs#TagLogGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#TagLogGroupRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Adds or updates the specified tags for the specified log group.</p>\n <p>To list the tags for a log group, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html\">ListTagsLogGroup</a>.\n To remove tags, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagLogGroup.html\">UntagLogGroup</a>.</p>\n <p>For more information about tags, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html#log-group-tagging\">Tag Log Groups in Amazon CloudWatch Logs</a>\n in the <i>Amazon CloudWatch Logs User Guide</i>.</p>"
}
},
"com.amazonaws.cloudwatchlogs#TagLogGroupRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.cloudwatchlogs#Tags",
"traits": {
"smithy.api#documentation": "<p>The key-value pairs to use for the tags.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#TagValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
},
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
}
},
"com.amazonaws.cloudwatchlogs#Tags": {
"type": "map",
"key": {
"target": "com.amazonaws.cloudwatchlogs#TagKey"
},
"value": {
"target": "com.amazonaws.cloudwatchlogs#TagValue"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.cloudwatchlogs#TargetArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.cloudwatchlogs#TestEventMessages": {
"type": "list",
"member": {
"target": "com.amazonaws.cloudwatchlogs#EventMessage"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.cloudwatchlogs#TestMetricFilter": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#TestMetricFilterRequest"
},
"output": {
"target": "com.amazonaws.cloudwatchlogs#TestMetricFilterResponse"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
},
{
"target": "com.amazonaws.cloudwatchlogs#ServiceUnavailableException"
}
],
"traits": {
"smithy.api#documentation": "<p>Tests the filter pattern of a metric filter against a sample of log event messages. You\n can use this operation to validate the correctness of a metric filter pattern.</p>"
}
},
"com.amazonaws.cloudwatchlogs#TestMetricFilterRequest": {
"type": "structure",
"members": {
"filterPattern": {
"target": "com.amazonaws.cloudwatchlogs#FilterPattern",
"traits": {
"smithy.api#required": {}
}
},
"logEventMessages": {
"target": "com.amazonaws.cloudwatchlogs#TestEventMessages",
"traits": {
"smithy.api#documentation": "<p>The log event messages to test.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#TestMetricFilterResponse": {
"type": "structure",
"members": {
"matches": {
"target": "com.amazonaws.cloudwatchlogs#MetricFilterMatches",
"traits": {
"smithy.api#documentation": "<p>The matched events.</p>"
}
}
}
},
"com.amazonaws.cloudwatchlogs#Timestamp": {
"type": "long",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.cloudwatchlogs#Token": {
"type": "string"
},
"com.amazonaws.cloudwatchlogs#UnrecognizedClientException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cloudwatchlogs#Message"
}
},
"traits": {
"smithy.api#documentation": "<p>The most likely cause is an invalid AWS access key ID or secret key.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.cloudwatchlogs#UntagLogGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudwatchlogs#UntagLogGroupRequest"
},
"errors": [
{
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes the specified tags from the specified log group.</p>\n <p>To list the tags for a log group, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html\">ListTagsLogGroup</a>.\n To add tags, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagLogGroup.html\">TagLogGroup</a>.</p>"
}
},
"com.amazonaws.cloudwatchlogs#UntagLogGroupRequest": {
"type": "structure",
"members": {
"logGroupName": {
"target": "com.amazonaws.cloudwatchlogs#LogGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the log group.</p>",
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.cloudwatchlogs#TagList",
"traits": {
"smithy.api#documentation": "<p>The tag keys. The corresponding tags are removed from the log group.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudwatchlogs#Value": {
"type": "string"
}
}
}