From 5d59f31586ca72e73f6f429c8bb84111663f3e6b Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 4 Jan 2023 19:15:02 +0000 Subject: [PATCH] docs(client-cloudwatch-logs): Update to remove sequenceToken as a required field in PutLogEvents calls. --- .../src/CloudWatchLogs.ts | 32 +- .../src/commands/CreateExportTaskCommand.ts | 1 - .../src/commands/FilterLogEventsCommand.ts | 1 - .../src/commands/GetLogEventsCommand.ts | 2 - .../commands/PutDestinationPolicyCommand.ts | 3 - .../src/commands/PutLogEventsCommand.ts | 21 +- .../src/commands/PutQueryDefinitionCommand.ts | 1 - .../src/commands/StartQueryCommand.ts | 3 - .../src/models/models_0.ts | 48 +- .../aws-models/cloudwatch-logs.json | 598 +++++++++--------- 10 files changed, 362 insertions(+), 348 deletions(-) diff --git a/clients/client-cloudwatch-logs/src/CloudWatchLogs.ts b/clients/client-cloudwatch-logs/src/CloudWatchLogs.ts index 7c83b750b89cd..34d77e4a57d3a 100644 --- a/clients/client-cloudwatch-logs/src/CloudWatchLogs.ts +++ b/clients/client-cloudwatch-logs/src/CloudWatchLogs.ts @@ -360,7 +360,6 @@ export class CloudWatchLogs extends CloudWatchLogsClient { *

You can export logs from multiple log groups or multiple time ranges to the same S3 * bucket. To separate log data for each export task, specify a prefix to be used as the Amazon * S3 key prefix for all exported objects.

- * * *

Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can * sort the exported log field data by using Linux utilities.

@@ -1156,7 +1155,6 @@ export class CloudWatchLogs extends CloudWatchLogsClient { *

Lists log events from the specified log group. You can list all the log events or filter the results * using a filter pattern, a time range, and the name of the log stream.

*

You must have the logs;FilterLogEvents permission to perform this operation.

- * *

By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 * log events) or all the events found within the specified time range. If the results include a * token, that means there are more log events available. You can get additional results by @@ -1232,11 +1230,9 @@ export class CloudWatchLogs extends CloudWatchLogsClient { /** *

Lists log events from the specified log stream. You can list all of the log events or * filter using a time range.

- * *

By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events). * You can get additional log events by specifying one of the tokens in a subsequent call. * This operation can return empty results while there are more log events available through the token.

- * *

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and * view data from the linked source accounts. For more information, see * CloudWatch cross-account observability.

@@ -1548,9 +1544,6 @@ export class CloudWatchLogs extends CloudWatchLogsClient { *

Creates or updates an access policy associated with an existing * destination. An access policy is an IAM policy document that is used * to authorize claims to register a subscription filter against a given destination.

- *

If multiple Amazon Web Services accounts are sending logs to this destination, each sender account must be - * listed separately in the policy. The policy does not support specifying * - * as the Principal or the use of the aws:PrincipalOrgId global key.

*/ public putDestinationPolicy( args: PutDestinationPolicyCommandInput, @@ -1583,12 +1576,13 @@ export class CloudWatchLogs extends CloudWatchLogsClient { /** *

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

- *

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

+ * + *

The sequence token is now ignored in PutLogEvents + * actions. PutLogEvents + * actions are always accepted and never return InvalidSequenceTokenException or + * DataAlreadyAcceptedException even if the sequence token is not valid. You can use + * parallel PutLogEvents actions on the same log stream.

+ *
*

The batch of events must satisfy the following constraints:

* *

If a call to PutLogEvents returns "UnrecognizedClientException" the most @@ -1707,7 +1705,6 @@ export class CloudWatchLogs extends CloudWatchLogsClient { /** *

Creates or updates a query definition for CloudWatch Logs Insights. For * more information, see Analyzing Log Data with CloudWatch Logs Insights.

- * *

To update a query definition, specify its queryDefinitionId in your request. * The values of name, queryString, and logGroupNames are * changed to the values that you specify in your update operation. No current values are @@ -1890,16 +1887,13 @@ export class CloudWatchLogs extends CloudWatchLogsClient { *

Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group * and time range to query and the query string to use.

*

For more information, see CloudWatch Logs Insights Query Syntax.

- * *

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

- * *

If you are using CloudWatch cross-account observability, you can use this operation in a * monitoring account to start a query in a linked source account. For more information, see * CloudWatch * cross-account observability. For a cross-account StartQuery operation, * the query definition must be defined in the monitoring account.

- * *

You can have up to 20 concurrent CloudWatch Logs insights queries, including queries * that have been added to dashboards.

*/ diff --git a/clients/client-cloudwatch-logs/src/commands/CreateExportTaskCommand.ts b/clients/client-cloudwatch-logs/src/commands/CreateExportTaskCommand.ts index 047cc988a8459..9c16721aedc65 100644 --- a/clients/client-cloudwatch-logs/src/commands/CreateExportTaskCommand.ts +++ b/clients/client-cloudwatch-logs/src/commands/CreateExportTaskCommand.ts @@ -45,7 +45,6 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse, *

You can export logs from multiple log groups or multiple time ranges to the same S3 * bucket. To separate log data for each export task, specify a prefix to be used as the Amazon * S3 key prefix for all exported objects.

- * * *

Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can * sort the exported log field data by using Linux utilities.

diff --git a/clients/client-cloudwatch-logs/src/commands/FilterLogEventsCommand.ts b/clients/client-cloudwatch-logs/src/commands/FilterLogEventsCommand.ts index cb37333bf158b..f9a0c1959a0bf 100644 --- a/clients/client-cloudwatch-logs/src/commands/FilterLogEventsCommand.ts +++ b/clients/client-cloudwatch-logs/src/commands/FilterLogEventsCommand.ts @@ -32,7 +32,6 @@ export interface FilterLogEventsCommandOutput extends FilterLogEventsResponse, _ *

Lists log events from the specified log group. You can list all the log events or filter the results * using a filter pattern, a time range, and the name of the log stream.

*

You must have the logs;FilterLogEvents permission to perform this operation.

- * *

By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 * log events) or all the events found within the specified time range. If the results include a * token, that means there are more log events available. You can get additional results by diff --git a/clients/client-cloudwatch-logs/src/commands/GetLogEventsCommand.ts b/clients/client-cloudwatch-logs/src/commands/GetLogEventsCommand.ts index bbffbbc5b2e98..b5a6b64556f34 100644 --- a/clients/client-cloudwatch-logs/src/commands/GetLogEventsCommand.ts +++ b/clients/client-cloudwatch-logs/src/commands/GetLogEventsCommand.ts @@ -31,11 +31,9 @@ export interface GetLogEventsCommandOutput extends GetLogEventsResponse, __Metad /** *

Lists log events from the specified log stream. You can list all of the log events or * filter using a time range.

- * *

By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events). * You can get additional log events by specifying one of the tokens in a subsequent call. * This operation can return empty results while there are more log events available through the token.

- * *

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and * view data from the linked source accounts. For more information, see * CloudWatch cross-account observability.

diff --git a/clients/client-cloudwatch-logs/src/commands/PutDestinationPolicyCommand.ts b/clients/client-cloudwatch-logs/src/commands/PutDestinationPolicyCommand.ts index cf5dc321dc9f9..a7aaca985b7e4 100644 --- a/clients/client-cloudwatch-logs/src/commands/PutDestinationPolicyCommand.ts +++ b/clients/client-cloudwatch-logs/src/commands/PutDestinationPolicyCommand.ts @@ -27,9 +27,6 @@ export interface PutDestinationPolicyCommandOutput extends __MetadataBearer {} *

Creates or updates an access policy associated with an existing * destination. An access policy is an IAM policy document that is used * to authorize claims to register a subscription filter against a given destination.

- *

If multiple Amazon Web Services accounts are sending logs to this destination, each sender account must be - * listed separately in the policy. The policy does not support specifying * - * as the Principal or the use of the aws:PrincipalOrgId global key.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-cloudwatch-logs/src/commands/PutLogEventsCommand.ts b/clients/client-cloudwatch-logs/src/commands/PutLogEventsCommand.ts index f1cbfefa23622..d57b4a5a0e2d5 100644 --- a/clients/client-cloudwatch-logs/src/commands/PutLogEventsCommand.ts +++ b/clients/client-cloudwatch-logs/src/commands/PutLogEventsCommand.ts @@ -30,12 +30,13 @@ export interface PutLogEventsCommandOutput extends PutLogEventsResponse, __Metad /** *

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

- *

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

+ * + *

The sequence token is now ignored in PutLogEvents + * actions. PutLogEvents + * actions are always accepted and never return InvalidSequenceTokenException or + * DataAlreadyAcceptedException even if the sequence token is not valid. You can use + * parallel PutLogEvents actions on the same log stream.

+ *
*

The batch of events must satisfy the following constraints:

*
    *
  • @@ -64,8 +65,12 @@ export interface PutLogEventsCommandOutput extends PutLogEventsResponse, __Metad *

    The maximum number of log events in a batch is 10,000.

    *
  • *
  • - *

    There is a quota of five requests per second per log stream. Additional requests - * are throttled. This quota can't be changed.

    + * + *

    The quota of five requests per second per log stream + * has been removed. Instead, PutLogEvents actions are throttled based on a + * per-second per-account quota. You can request an increase to the per-second throttling + * quota by using the Service Quotas service.

    + *
    *
  • *
*

If a call to PutLogEvents returns "UnrecognizedClientException" the most diff --git a/clients/client-cloudwatch-logs/src/commands/PutQueryDefinitionCommand.ts b/clients/client-cloudwatch-logs/src/commands/PutQueryDefinitionCommand.ts index 342ff0cbe11eb..6dfa4003683a3 100644 --- a/clients/client-cloudwatch-logs/src/commands/PutQueryDefinitionCommand.ts +++ b/clients/client-cloudwatch-logs/src/commands/PutQueryDefinitionCommand.ts @@ -31,7 +31,6 @@ export interface PutQueryDefinitionCommandOutput extends PutQueryDefinitionRespo /** *

Creates or updates a query definition for CloudWatch Logs Insights. For * more information, see Analyzing Log Data with CloudWatch Logs Insights.

- * *

To update a query definition, specify its queryDefinitionId in your request. * The values of name, queryString, and logGroupNames are * changed to the values that you specify in your update operation. No current values are diff --git a/clients/client-cloudwatch-logs/src/commands/StartQueryCommand.ts b/clients/client-cloudwatch-logs/src/commands/StartQueryCommand.ts index 61d2891bd4a89..6d4b6ceca9866 100644 --- a/clients/client-cloudwatch-logs/src/commands/StartQueryCommand.ts +++ b/clients/client-cloudwatch-logs/src/commands/StartQueryCommand.ts @@ -32,16 +32,13 @@ export interface StartQueryCommandOutput extends StartQueryResponse, __MetadataB *

Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group * and time range to query and the query string to use.

*

For more information, see CloudWatch Logs Insights Query Syntax.

- * *

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

- * *

If you are using CloudWatch cross-account observability, you can use this operation in a * monitoring account to start a query in a linked source account. For more information, see * CloudWatch * cross-account observability. For a cross-account StartQuery operation, * the query definition must be defined in the monitoring account.

- * *

You can have up to 20 concurrent CloudWatch Logs insights queries, including queries * that have been added to dashboards.

* @example diff --git a/clients/client-cloudwatch-logs/src/models/models_0.ts b/clients/client-cloudwatch-logs/src/models/models_0.ts index 20b6b8fb2fa14..673e465c419d6 100644 --- a/clients/client-cloudwatch-logs/src/models/models_0.ts +++ b/clients/client-cloudwatch-logs/src/models/models_0.ts @@ -248,6 +248,13 @@ export interface CreateLogStreamRequest { /** *

The event was already logged.

+ * + *

+ * PutLogEvents + * actions are now always accepted and never return + * DataAlreadyAcceptedException regardless of whether a given batch of log events + * has already been accepted.

+ *
*/ export class DataAlreadyAcceptedException extends __BaseException { readonly name: "DataAlreadyAcceptedException" = "DataAlreadyAcceptedException"; @@ -581,9 +588,6 @@ export interface DescribeLogGroupsRequest { * that match the string based on a case-sensitive substring search. For example, if you specify Foo, log groups * named FooBar, aws/Foo, and GroupFoo would match, but foo, * F/o/o and Froo would not match.

- * - * - * * *

* logGroupNamePattern and logGroupNamePrefix are mutually exclusive. @@ -608,8 +612,6 @@ export interface DescribeLogGroupsRequest { *

If you are using a monitoring account, set this to True to have the operation * return log groups in * the accounts listed in accountIdentifiers.

- * - * *

If this parameter is set to true and accountIdentifiers * * contains a null value, the operation returns all log groups in the monitoring account @@ -785,12 +787,19 @@ export interface LogStream { /** *

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

+ * 00:00:00 UTC The lastIngestionTime value updates on an eventual consistency basis. It + * typically updates in less than an hour after ingestion, but in rare situations might take longer.

*/ lastIngestionTime?: number; /** *

The sequence token.

+ * + *

The sequence token is now ignored in + * PutLogEvents + * actions. PutLogEvents actions are always accepted regardless of receiving an invalid sequence token. + * You don't need to obtain uploadSequenceToken to use a PutLogEvents action.

+ *
*/ uploadSequenceToken?: string; @@ -1723,6 +1732,12 @@ export interface InputLogEvent { *

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

+ * + *

+ * PutLogEvents + * actions are now always accepted and never return + * InvalidSequenceTokenException regardless of receiving an invalid sequence token.

+ *
*/ export class InvalidSequenceTokenException extends __BaseException { readonly name: "InvalidSequenceTokenException" = "InvalidSequenceTokenException"; @@ -1917,10 +1932,13 @@ export interface PutLogEventsRequest { /** *

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

+ * call.

+ * + *

The sequenceToken parameter is now ignored in PutLogEvents + * actions. PutLogEvents + * actions are now accepted and never return InvalidSequenceTokenException or + * DataAlreadyAcceptedException even if the sequence token is not valid.

+ *
*/ sequenceToken?: string; } @@ -1948,6 +1966,15 @@ export interface RejectedLogEventsInfo { export interface PutLogEventsResponse { /** *

The next sequence token.

+ * + *

This field has been deprecated.

+ *

The sequence token is now ignored in PutLogEvents + * actions. PutLogEvents + * actions are always accepted even if the sequence token is not valid. You can use + * parallel PutLogEvents actions on the same log stream and you do not need + * to wait for the response of a previous PutLogEvents action to obtain + * the nextSequenceToken value.

+ *
*/ nextSequenceToken?: string; @@ -2083,7 +2110,6 @@ export interface PutResourcePolicyRequest { * } * ] * } - * *

*/ policyDocument?: string; diff --git a/codegen/sdk-codegen/aws-models/cloudwatch-logs.json b/codegen/sdk-codegen/aws-models/cloudwatch-logs.json index b2378e43bcbd4..3c9203fc10c0f 100644 --- a/codegen/sdk-codegen/aws-models/cloudwatch-logs.json +++ b/codegen/sdk-codegen/aws-models/cloudwatch-logs.json @@ -95,7 +95,7 @@ } ], "traits": { - "smithy.api#documentation": "

Associates the specified KMS key with the specified log\n group.

\n

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

\n \n

CloudWatch Logs supports only symmetric KMS keys. Do not use an associate\n an asymmetric KMS key with your log group. For more information, see Using\n Symmetric and Asymmetric Keys.

\n
\n

It can take up to 5 minutes for this operation to take effect.

\n

If you attempt to associate a KMS key with a log group but the KMS key does not exist or the KMS key is disabled, you receive an\n InvalidParameterException error.

" + "smithy.api#documentation": "

Associates the specified KMS key with the specified log\n group.

\n

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

\n \n

CloudWatch Logs supports only symmetric KMS keys. Do not use an associate\n an asymmetric KMS key with your log group. For more information, see Using\n Symmetric and Asymmetric Keys.

\n
\n

It can take up to 5 minutes for this operation to take effect.

\n

If you attempt to associate a KMS key with a log group but the KMS key does not exist or the KMS key is disabled, you receive an\n InvalidParameterException error.

" } }, "com.amazonaws.cloudwatchlogs#AssociateKmsKeyRequest": { @@ -140,7 +140,7 @@ } ], "traits": { - "smithy.api#documentation": "

Cancels the specified export task.

\n

The task must be in the PENDING or RUNNING state.

" + "smithy.api#documentation": "

Cancels the specified export task.

\n

The task must be in the PENDING or RUNNING state.

" } }, "com.amazonaws.cloudwatchlogs#CancelExportTaskRequest": { @@ -184,7 +184,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an export task so that you can efficiently export data from a log group to an\n Amazon S3 bucket. When you perform a CreateExportTask operation, you must use\n credentials that have permission to write to the S3 bucket that you specify as the\n destination.

\n

Exporting log data to S3 buckets that are encrypted by KMS is supported.\n Exporting log data to Amazon S3 buckets that have S3 Object Lock enabled with a\n retention period is also supported.

\n

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

\n

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 DescribeExportTasks to get the status of the export task. Each account can\n only have one active (RUNNING or PENDING) export task at a time.\n To cancel an export task, use CancelExportTask.

\n

You can export logs from multiple log groups or multiple time ranges to the same S3\n bucket. To separate log data for each export task, specify a prefix to be used as the Amazon\n S3 key prefix for all exported objects.

\n \n \n

Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can\n sort the exported log field data by using Linux utilities.

\n
" + "smithy.api#documentation": "

Creates an export task so that you can efficiently export data from a log group to an\n Amazon S3 bucket. When you perform a CreateExportTask operation, you must use\n credentials that have permission to write to the S3 bucket that you specify as the\n destination.

\n

Exporting log data to S3 buckets that are encrypted by KMS is supported.\n Exporting log data to Amazon S3 buckets that have S3 Object Lock enabled with a\n retention period is also supported.

\n

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

\n

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 DescribeExportTasks to get the status of the export task. Each account can\n only have one active (RUNNING or PENDING) export task at a time.\n To cancel an export task, use CancelExportTask.

\n

You can export logs from multiple log groups or multiple time ranges to the same S3\n bucket. To separate log data for each export task, specify a prefix to be used as the Amazon\n S3 key prefix for all exported objects.

\n \n

Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can\n sort the exported log field data by using Linux utilities.

\n
" } }, "com.amazonaws.cloudwatchlogs#CreateExportTaskRequest": { @@ -325,7 +325,7 @@ } ], "traits": { - "smithy.api#documentation": "

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.

\n

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 CreateLogStream operations, after which transactions are throttled.

\n

You must use the following guidelines when naming a log stream:

\n
    \n
  • \n

    Log stream names must be unique within the log group.

    \n
  • \n
  • \n

    Log stream names can be between 1 and 512 characters long.

    \n
  • \n
  • \n

    Don't use ':' (colon) or '*' (asterisk) characters.

    \n
  • \n
" + "smithy.api#documentation": "

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.

\n

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 CreateLogStream operations, after which transactions are throttled.

\n

You must use the following guidelines when naming a log stream:

\n
    \n
  • \n

    Log stream names must be unique within the log group.

    \n
  • \n
  • \n

    Log stream names can be between 1 and 512 characters long.

    \n
  • \n
  • \n

    Don't use ':' (colon) or '*' (asterisk) characters.

    \n
  • \n
" } }, "com.amazonaws.cloudwatchlogs#CreateLogStreamRequest": { @@ -358,7 +358,7 @@ } }, "traits": { - "smithy.api#documentation": "

The event was already logged.

", + "smithy.api#documentation": "

The event was already logged.

\n \n

\n PutLogEvents\n actions are now always accepted and never return\n DataAlreadyAcceptedException regardless of whether a given batch of log events\n has already been accepted.

\n
", "smithy.api#error": "client" } }, @@ -711,7 +711,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified retention policy.

\n

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

" + "smithy.api#documentation": "

Deletes the specified retention policy.

\n

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

" } }, "com.amazonaws.cloudwatchlogs#DeleteRetentionPolicyRequest": { @@ -953,7 +953,7 @@ "logGroupNamePattern": { "target": "com.amazonaws.cloudwatchlogs#LogGroupNamePattern", "traits": { - "smithy.api#documentation": "

If you specify a string for this parameter, the operation returns only log groups that have names\nthat match the string based on a case-sensitive substring search. For example, if you specify Foo, log groups\nnamed FooBar, aws/Foo, and GroupFoo would match, but foo, \nF/o/o and Froo would not match.

\n \n \n \n \n

\n logGroupNamePattern and logGroupNamePrefix are mutually exclusive. \n Only one \n of these parameters can be passed.\n

\n
" + "smithy.api#documentation": "

If you specify a string for this parameter, the operation returns only log groups that have names\nthat match the string based on a case-sensitive substring search. For example, if you specify Foo, log groups\nnamed FooBar, aws/Foo, and GroupFoo would match, but foo, \nF/o/o and Froo would not match.

\n \n

\n logGroupNamePattern and logGroupNamePrefix are mutually exclusive. \n Only one \n of these parameters can be passed.\n

\n
" } }, "nextToken": { @@ -971,7 +971,7 @@ "includeLinkedAccounts": { "target": "com.amazonaws.cloudwatchlogs#IncludeLinkedAccounts", "traits": { - "smithy.api#documentation": "

If you are using a monitoring account, set this to True to have the operation\n return log groups in \n the accounts listed in accountIdentifiers.

\n\n \n

If this parameter is set to true and accountIdentifiers\n\n contains a null value, the operation returns all log groups in the monitoring account\n and all log groups in all source accounts that are linked to the monitoring account.

\n \n

If you specify includeLinkedAccounts in your request, then\n metricFilterCount, retentionInDays, and storedBytes\n are not included in the response.

\n
" + "smithy.api#documentation": "

If you are using a monitoring account, set this to True to have the operation\n return log groups in \n the accounts listed in accountIdentifiers.

\n

If this parameter is set to true and accountIdentifiers\n\n contains a null value, the operation returns all log groups in the monitoring account\n and all log groups in all source accounts that are linked to the monitoring account.

\n \n

If you specify includeLinkedAccounts in your request, then\n metricFilterCount, retentionInDays, and storedBytes\n are not included in the response.

\n
" } } } @@ -1038,7 +1038,7 @@ "logStreamNamePrefix": { "target": "com.amazonaws.cloudwatchlogs#LogStreamName", "traits": { - "smithy.api#documentation": "

The prefix to match.

\n

If orderBy is LastEventTime, you cannot specify this\n parameter.

" + "smithy.api#documentation": "

The prefix to match.

\n

If orderBy is LastEventTime, you cannot specify this\n parameter.

" } }, "orderBy": { @@ -1530,7 +1530,7 @@ } ], "traits": { - "smithy.api#documentation": "

Disassociates the associated KMS key from the specified log\n group.

\n

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

\n

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

" + "smithy.api#documentation": "

Disassociates the associated KMS key from the specified log\n group.

\n

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

\n

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

" } }, "com.amazonaws.cloudwatchlogs#DisassociateKmsKeyRequest": { @@ -1808,7 +1808,7 @@ } ], "traits": { - "smithy.api#documentation": "

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.

\n

You must have the logs;FilterLogEvents permission to perform this operation.

\n \n

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 specified time range. If the results include a\n token, that means there are more log events available. You can get additional results by\n specifying the token in a subsequent call. This operation can return empty results while there\n are more log events available through the token.

\n

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 PutLogEvents request.

\n

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and \n view data from the linked source accounts. For more information, see \n CloudWatch cross-account observability.

", + "smithy.api#documentation": "

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.

\n

You must have the logs;FilterLogEvents permission to perform this operation.

\n

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 specified time range. If the results include a\n token, that means there are more log events available. You can get additional results by\n specifying the token in a subsequent call. This operation can return empty results while there\n are more log events available through the token.

\n

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 PutLogEvents request.

\n

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and \n view data from the linked source accounts. For more information, see \n CloudWatch cross-account observability.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -2063,7 +2063,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists log events from the specified log stream. You can list all of the log events or\n filter using a time range.

\n\n

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.

\n \n

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and \n view data from the linked source accounts. For more information, see \n CloudWatch cross-account observability.

", + "smithy.api#documentation": "

Lists log events from the specified log stream. You can list all of the log events or\n filter using a time range.

\n

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.

\n

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and \n view data from the linked source accounts. For more information, see \n CloudWatch cross-account observability.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextForwardToken", @@ -2419,7 +2419,7 @@ } }, "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

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

\n \n

\n PutLogEvents\n actions are now always accepted and never return\n InvalidSequenceTokenException regardless of receiving an invalid sequence token.

\n
", "smithy.api#error": "client" } }, @@ -2719,13 +2719,13 @@ "lastIngestionTime": { "target": "com.amazonaws.cloudwatchlogs#Timestamp", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

The ingestion time, expressed as the number of milliseconds after Jan 1, 1970\n 00:00:00 UTC The lastIngestionTime value updates on an eventual consistency basis. It \n typically updates in less than an hour after ingestion, but in rare situations might take longer.

" } }, "uploadSequenceToken": { "target": "com.amazonaws.cloudwatchlogs#SequenceToken", "traits": { - "smithy.api#documentation": "

The sequence token.

" + "smithy.api#documentation": "

The sequence token.

\n \n

The sequence token is now ignored in \n PutLogEvents\n actions. PutLogEvents actions are always accepted regardless of receiving an invalid sequence token. \n You don't need to obtain uploadSequenceToken to use a PutLogEvents action.

\n
" } }, "arn": { @@ -2928,7 +2928,7 @@ "name": "logs" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

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

\n

You can use CloudWatch Logs to:

\n
    \n
  • \n

    \n Monitor logs from EC2 instances in real time: 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. Then,\n it can send you a notification whenever the rate of errors exceeds a threshold that you\n specify. CloudWatch Logs uses your log data for monitoring so no code changes are\n required. For example, you can monitor application logs for specific literal terms (such\n as \"NullReferenceException\"). You can also count the number of occurrences of a literal\n term at a particular position in log data (such as \"404\" status codes in an Apache access\n log). When the term you are searching for is found, CloudWatch Logs reports the data to a\n CloudWatch metric that you specify.

    \n
  • \n
  • \n

    \n Monitor CloudTrail logged events: 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.

    \n
  • \n
  • \n

    \n Archive log data: 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 earlier than this setting are automatically deleted. The CloudWatch\n Logs agent helps to quickly send both rotated and non-rotated log data off of a host and\n into the log service. You can then access the raw log data when you need it.

    \n
  • \n
", + "smithy.api#documentation": "

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

\n

You can use CloudWatch Logs to:

\n
    \n
  • \n

    \n Monitor logs from EC2 instances in real time: 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. Then,\n it can send you a notification whenever the rate of errors exceeds a threshold that you\n specify. CloudWatch Logs uses your log data for monitoring so no code changes are\n required. For example, you can monitor application logs for specific literal terms (such\n as \"NullReferenceException\"). You can also count the number of occurrences of a literal\n term at a particular position in log data (such as \"404\" status codes in an Apache access\n log). When the term you are searching for is found, CloudWatch Logs reports the data to a\n CloudWatch metric that you specify.

    \n
  • \n
  • \n

    \n Monitor CloudTrail logged events: 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.

    \n
  • \n
  • \n

    \n Archive log data: 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 earlier than this setting are automatically deleted. The CloudWatch\n Logs agent helps to quickly send both rotated and non-rotated log data off of a host and\n into the log service. You can then access the raw log data when you need it.

    \n
  • \n
", "smithy.api#title": "Amazon CloudWatch Logs", "smithy.api#xmlNamespace": { "uri": "http://monitoring.amazonaws.com/doc/2014-03-28/" @@ -3287,9 +3287,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "ap-south-2" + "Region": "ap-south-2", + "UseFIPS": true } }, { @@ -3300,9 +3300,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ap-south-2" + "Region": "ap-south-2", + "UseFIPS": true } }, { @@ -3313,9 +3313,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "ap-south-2" + "Region": "ap-south-2", + "UseFIPS": false } }, { @@ -3326,9 +3326,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-south-2" + "Region": "ap-south-2", + "UseFIPS": false } }, { @@ -3339,9 +3339,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": true } }, { @@ -3352,9 +3352,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": true } }, { @@ -3365,9 +3365,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": false } }, { @@ -3378,9 +3378,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": false } }, { @@ -3391,9 +3391,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "eu-south-1" + "Region": "eu-south-1", + "UseFIPS": true } }, { @@ -3404,9 +3404,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "eu-south-1" + "Region": "eu-south-1", + "UseFIPS": true } }, { @@ -3417,9 +3417,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "eu-south-1" + "Region": "eu-south-1", + "UseFIPS": false } }, { @@ -3430,9 +3430,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "eu-south-1" + "Region": "eu-south-1", + "UseFIPS": false } }, { @@ -3443,9 +3443,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "eu-south-2" + "Region": "eu-south-2", + "UseFIPS": true } }, { @@ -3456,9 +3456,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "eu-south-2" + "Region": "eu-south-2", + "UseFIPS": true } }, { @@ -3469,9 +3469,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "eu-south-2" + "Region": "eu-south-2", + "UseFIPS": false } }, { @@ -3482,9 +3482,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "eu-south-2" + "Region": "eu-south-2", + "UseFIPS": false } }, { @@ -3495,9 +3495,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseFIPS": true } }, { @@ -3508,9 +3508,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseFIPS": true } }, { @@ -3521,9 +3521,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseFIPS": false } }, { @@ -3534,9 +3534,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseFIPS": false } }, { @@ -3547,9 +3547,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "me-central-1" + "Region": "me-central-1", + "UseFIPS": true } }, { @@ -3560,9 +3560,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "me-central-1" + "Region": "me-central-1", + "UseFIPS": true } }, { @@ -3573,9 +3573,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "me-central-1" + "Region": "me-central-1", + "UseFIPS": false } }, { @@ -3586,9 +3586,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "me-central-1" + "Region": "me-central-1", + "UseFIPS": false } }, { @@ -3599,9 +3599,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": true } }, { @@ -3612,9 +3612,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": true } }, { @@ -3625,9 +3625,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": false } }, { @@ -3638,9 +3638,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": false } }, { @@ -3651,9 +3651,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": true } }, { @@ -3664,9 +3664,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": true } }, { @@ -3677,9 +3677,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": false } }, { @@ -3690,9 +3690,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": false } }, { @@ -3701,9 +3701,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseFIPS": true } }, { @@ -3714,9 +3714,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseFIPS": true } }, { @@ -3725,9 +3725,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseFIPS": false } }, { @@ -3738,9 +3738,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseFIPS": false } }, { @@ -3751,9 +3751,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "eu-central-2" + "Region": "eu-central-2", + "UseFIPS": true } }, { @@ -3764,9 +3764,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "eu-central-2" + "Region": "eu-central-2", + "UseFIPS": true } }, { @@ -3777,9 +3777,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "eu-central-2" + "Region": "eu-central-2", + "UseFIPS": false } }, { @@ -3790,9 +3790,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "eu-central-2" + "Region": "eu-central-2", + "UseFIPS": false } }, { @@ -3803,9 +3803,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": true } }, { @@ -3816,9 +3816,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": true } }, { @@ -3829,9 +3829,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": false } }, { @@ -3842,9 +3842,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": false } }, { @@ -3855,9 +3855,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": true } }, { @@ -3868,9 +3868,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": true } }, { @@ -3881,9 +3881,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": false } }, { @@ -3894,9 +3894,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": false } }, { @@ -3907,9 +3907,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": true } }, { @@ -3920,9 +3920,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": true } }, { @@ -3933,9 +3933,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": false } }, { @@ -3946,9 +3946,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": false } }, { @@ -3959,9 +3959,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseFIPS": true } }, { @@ -3972,9 +3972,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseFIPS": true } }, { @@ -3985,9 +3985,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseFIPS": false } }, { @@ -3998,9 +3998,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseFIPS": false } }, { @@ -4011,9 +4011,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": true } }, { @@ -4024,9 +4024,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": true } }, { @@ -4037,9 +4037,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": false } }, { @@ -4050,9 +4050,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": false } }, { @@ -4063,9 +4063,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": true } }, { @@ -4076,9 +4076,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": true } }, { @@ -4089,9 +4089,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": false } }, { @@ -4102,9 +4102,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": false } }, { @@ -4115,9 +4115,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": true } }, { @@ -4128,9 +4128,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": true } }, { @@ -4141,9 +4141,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": false } }, { @@ -4154,9 +4154,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": false } }, { @@ -4167,9 +4167,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "ap-northeast-3" + "Region": "ap-northeast-3", + "UseFIPS": true } }, { @@ -4180,9 +4180,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ap-northeast-3" + "Region": "ap-northeast-3", + "UseFIPS": true } }, { @@ -4193,9 +4193,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "ap-northeast-3" + "Region": "ap-northeast-3", + "UseFIPS": false } }, { @@ -4206,9 +4206,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-northeast-3" + "Region": "ap-northeast-3", + "UseFIPS": false } }, { @@ -4219,9 +4219,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": true } }, { @@ -4232,9 +4232,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": true } }, { @@ -4245,9 +4245,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": false } }, { @@ -4258,9 +4258,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": false } }, { @@ -4271,9 +4271,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": true } }, { @@ -4284,9 +4284,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": true } }, { @@ -4297,9 +4297,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": false } }, { @@ -4310,9 +4310,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": false } }, { @@ -4323,9 +4323,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "me-south-1" + "Region": "me-south-1", + "UseFIPS": true } }, { @@ -4336,9 +4336,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "me-south-1" + "Region": "me-south-1", + "UseFIPS": true } }, { @@ -4349,9 +4349,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "me-south-1" + "Region": "me-south-1", + "UseFIPS": false } }, { @@ -4362,9 +4362,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "me-south-1" + "Region": "me-south-1", + "UseFIPS": false } }, { @@ -4375,9 +4375,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": true } }, { @@ -4388,9 +4388,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": true } }, { @@ -4401,9 +4401,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": false } }, { @@ -4414,9 +4414,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": false } }, { @@ -4427,9 +4427,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseFIPS": true } }, { @@ -4440,9 +4440,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseFIPS": true } }, { @@ -4453,9 +4453,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseFIPS": false } }, { @@ -4466,9 +4466,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseFIPS": false } }, { @@ -4479,9 +4479,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseFIPS": true } }, { @@ -4492,9 +4492,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseFIPS": true } }, { @@ -4505,9 +4505,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseFIPS": false } }, { @@ -4518,9 +4518,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseFIPS": false } }, { @@ -4531,9 +4531,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseFIPS": true } }, { @@ -4544,9 +4544,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseFIPS": true } }, { @@ -4557,9 +4557,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseFIPS": false } }, { @@ -4570,9 +4570,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseFIPS": false } }, { @@ -4583,9 +4583,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": true } }, { @@ -4596,9 +4596,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": true } }, { @@ -4609,9 +4609,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": false } }, { @@ -4622,9 +4622,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": false } }, { @@ -4635,9 +4635,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": true } }, { @@ -4648,9 +4648,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": true } }, { @@ -4661,9 +4661,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": false } }, { @@ -4674,9 +4674,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": false } }, { @@ -4685,9 +4685,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseFIPS": true } }, { @@ -4698,9 +4698,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseFIPS": true } }, { @@ -4709,9 +4709,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseFIPS": false } }, { @@ -4722,9 +4722,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseFIPS": false } }, { @@ -4735,9 +4735,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "ap-southeast-3" + "Region": "ap-southeast-3", + "UseFIPS": true } }, { @@ -4748,9 +4748,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ap-southeast-3" + "Region": "ap-southeast-3", + "UseFIPS": true } }, { @@ -4761,9 +4761,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "ap-southeast-3" + "Region": "ap-southeast-3", + "UseFIPS": false } }, { @@ -4774,9 +4774,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-southeast-3" + "Region": "ap-southeast-3", + "UseFIPS": false } }, { @@ -4787,9 +4787,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "ap-southeast-4" + "Region": "ap-southeast-4", + "UseFIPS": true } }, { @@ -4800,9 +4800,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ap-southeast-4" + "Region": "ap-southeast-4", + "UseFIPS": true } }, { @@ -4813,9 +4813,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "ap-southeast-4" + "Region": "ap-southeast-4", + "UseFIPS": false } }, { @@ -4826,9 +4826,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-southeast-4" + "Region": "ap-southeast-4", + "UseFIPS": false } }, { @@ -4839,9 +4839,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": true } }, { @@ -4852,9 +4852,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": true } }, { @@ -4865,9 +4865,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": false } }, { @@ -4878,9 +4878,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": false } }, { @@ -4891,9 +4891,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": true } }, { @@ -4904,9 +4904,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": true } }, { @@ -4917,9 +4917,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": false } }, { @@ -4930,9 +4930,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": false } }, { @@ -4943,9 +4943,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseFIPS": true } }, { @@ -4956,9 +4956,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseFIPS": true } }, { @@ -4969,9 +4969,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseFIPS": false } }, { @@ -4982,9 +4982,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseFIPS": false } }, { @@ -4993,9 +4993,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseFIPS": true } }, { @@ -5006,9 +5006,9 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseFIPS": true } }, { @@ -5017,9 +5017,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseFIPS": false } }, { @@ -5030,9 +5030,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseFIPS": false } }, { @@ -5043,9 +5043,9 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -5055,9 +5055,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "UseDualStack": false, "Region": "us-east-1", + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -5067,9 +5067,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "UseDualStack": true, "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } } @@ -5466,7 +5466,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates an access policy associated with an existing\n destination. An access policy is an IAM policy document that is used\n to authorize claims to register a subscription filter against a given destination.

\n

If multiple Amazon Web Services accounts are sending logs to this destination, each sender account must be \n listed separately in the policy. The policy does not support specifying *\n as the Principal or the use of the aws:PrincipalOrgId global key.

" + "smithy.api#documentation": "

Creates or updates an access policy associated with an existing\n destination. An access policy is an IAM policy document that is used\n to authorize claims to register a subscription filter against a given destination.

" } }, "com.amazonaws.cloudwatchlogs#PutDestinationPolicyRequest": { @@ -5566,7 +5566,7 @@ } ], "traits": { - "smithy.api#documentation": "

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

\n

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 expectedSequenceToken field from\n InvalidSequenceTokenException. If you call PutLogEvents twice\n within a narrow time period using the same value for sequenceToken, both calls\n might be successful or one might be rejected.

\n

The batch of events must satisfy the following constraints:

\n
    \n
  • \n

    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.

    \n
  • \n
  • \n

    None of the log events in the batch can be more than 2 hours in the future.

    \n
  • \n
  • \n

    None of the log events in the batch can be more than 14 days in the past. Also,\n none of the log events can be from earlier than the retention period of the log\n group.

    \n
  • \n
  • \n

    The log events in the batch must be in chronological order by their timestamp. The\n timestamp is the time that the event occurred, expressed as the number of milliseconds\n after Jan 1, 1970 00:00:00 UTC. (In Amazon Web Services Tools for PowerShell\n and the Amazon Web Services SDK for .NET, the timestamp is specified in .NET format:\n yyyy-mm-ddThh:mm:ss. For example, 2017-09-15T13:45:30.)

    \n
  • \n
  • \n

    A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails.

    \n
  • \n
  • \n

    The maximum number of log events in a batch is 10,000.

    \n
  • \n
  • \n

    There is a quota of five requests per second per log stream. Additional requests\n are throttled. This quota can't be changed.

    \n
  • \n
\n

If a call to PutLogEvents returns \"UnrecognizedClientException\" the most\n likely cause is a non-valid Amazon Web Services access key ID or secret key.

" + "smithy.api#documentation": "

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

\n \n

The sequence token is now ignored in PutLogEvents\n actions. PutLogEvents\n actions are always accepted and never return InvalidSequenceTokenException or\n DataAlreadyAcceptedException even if the sequence token is not valid. You can use\n parallel PutLogEvents actions on the same log stream.

\n
\n

The batch of events must satisfy the following constraints:

\n
    \n
  • \n

    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.

    \n
  • \n
  • \n

    None of the log events in the batch can be more than 2 hours in the future.

    \n
  • \n
  • \n

    None of the log events in the batch can be more than 14 days in the past. Also,\n none of the log events can be from earlier than the retention period of the log\n group.

    \n
  • \n
  • \n

    The log events in the batch must be in chronological order by their timestamp. The\n timestamp is the time that the event occurred, expressed as the number of milliseconds\n after Jan 1, 1970 00:00:00 UTC. (In Amazon Web Services Tools for PowerShell\n and the Amazon Web Services SDK for .NET, the timestamp is specified in .NET format:\n yyyy-mm-ddThh:mm:ss. For example, 2017-09-15T13:45:30.)

    \n
  • \n
  • \n

    A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails.

    \n
  • \n
  • \n

    The maximum number of log events in a batch is 10,000.

    \n
  • \n
  • \n \n

    The quota of five requests per second per log stream\n has been removed. Instead, PutLogEvents actions are throttled based on a \n per-second per-account quota. You can request an increase to the per-second throttling\n quota by using the Service Quotas service.

    \n
    \n
  • \n
\n

If a call to PutLogEvents returns \"UnrecognizedClientException\" the most\n likely cause is a non-valid Amazon Web Services access key ID or secret key.

" } }, "com.amazonaws.cloudwatchlogs#PutLogEventsRequest": { @@ -5596,7 +5596,7 @@ "sequenceToken": { "target": "com.amazonaws.cloudwatchlogs#SequenceToken", "traits": { - "smithy.api#documentation": "

The sequence token obtained from the response of the previous PutLogEvents\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 DescribeLogStreams. If you call PutLogEvents twice within a narrow\n time period using the same value for sequenceToken, both calls might be\n successful or one might be rejected.

" + "smithy.api#documentation": "

The sequence token obtained from the response of the previous PutLogEvents\n call.

\n \n

The sequenceToken parameter is now ignored in PutLogEvents\n actions. PutLogEvents\n actions are now accepted and never return InvalidSequenceTokenException or\n DataAlreadyAcceptedException even if the sequence token is not valid.

\n
" } } } @@ -5607,7 +5607,7 @@ "nextSequenceToken": { "target": "com.amazonaws.cloudwatchlogs#SequenceToken", "traits": { - "smithy.api#documentation": "

The next sequence token.

" + "smithy.api#documentation": "

The next sequence token.

\n \n

This field has been deprecated.

\n

The sequence token is now ignored in PutLogEvents\n actions. PutLogEvents\n actions are always accepted even if the sequence token is not valid. You can use\n parallel PutLogEvents actions on the same log stream and you do not need\n to wait for the response of a previous PutLogEvents action to obtain \n the nextSequenceToken value.

\n
" } }, "rejectedLogEventsInfo": { @@ -5703,7 +5703,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates a query definition for CloudWatch Logs Insights. For \n more information, see Analyzing Log Data with CloudWatch Logs Insights.

\n \n

To update a query definition, specify its queryDefinitionId in your request.\n The values of name, queryString, and logGroupNames are\n changed to the values that you specify in your update operation. No current values are\n retained from the current query definition. For example, imagine updating a current query\n definition that includes log groups. If you don't specify the logGroupNames\n parameter in your update operation, the query definition changes to contain no log\n groups.

\n

You must have the logs:PutQueryDefinition permission to be able to perform\n this operation.

" + "smithy.api#documentation": "

Creates or updates a query definition for CloudWatch Logs Insights. For \n more information, see Analyzing Log Data with CloudWatch Logs Insights.

\n

To update a query definition, specify its queryDefinitionId in your request.\n The values of name, queryString, and logGroupNames are\n changed to the values that you specify in your update operation. No current values are\n retained from the current query definition. For example, imagine updating a current query\n definition that includes log groups. If you don't specify the logGroupNames\n parameter in your update operation, the query definition changes to contain no log\n groups.

\n

You must have the logs:PutQueryDefinition permission to be able to perform\n this operation.

" } }, "com.amazonaws.cloudwatchlogs#PutQueryDefinitionRequest": { @@ -5783,7 +5783,7 @@ "policyDocument": { "target": "com.amazonaws.cloudwatchlogs#PolicyDocument", "traits": { - "smithy.api#documentation": "

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

\n

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 \"logArn\" with the ARN of \n your CloudWatch Logs resource, such as a log group or log stream.

\n

CloudWatch Logs also supports aws:SourceArn\n and aws:SourceAccount\ncondition context keys.

\n

In the example resource policy, you would replace the value of SourceArn with\n the resource making the call from RouteĀ 53 to CloudWatch Logs. You would also\n replace the value of SourceAccount with the Amazon Web Services account ID making\n that call.

\n

\n

\n {\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 \"Condition\": {\n \"ArnLike\": {\n \"aws:SourceArn\": \"myRoute53ResourceArn\"\n },\n \"StringEquals\": {\n \"aws:SourceAccount\": \"myAwsAccountId\"\n }\n }\n }\n ]\n}\n \n

" + "smithy.api#documentation": "

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

\n

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 \"logArn\" with the ARN of \n your CloudWatch Logs resource, such as a log group or log stream.

\n

CloudWatch Logs also supports aws:SourceArn\n and aws:SourceAccount\ncondition context keys.

\n

In the example resource policy, you would replace the value of SourceArn with\n the resource making the call from RouteĀ 53 to CloudWatch Logs. You would also\n replace the value of SourceAccount with the Amazon Web Services account ID making\n that call.

\n

\n

\n {\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 \"Condition\": {\n \"ArnLike\": {\n \"aws:SourceArn\": \"myRoute53ResourceArn\"\n },\n \"StringEquals\": {\n \"aws:SourceAccount\": \"myAwsAccountId\"\n }\n }\n }\n ]\n}\n

" } } } @@ -5869,7 +5869,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates a subscription filter and associates it with the specified log\n group. With subscription filters, you can subscribe to a real-time stream of log events\n ingested through PutLogEvents\n and have them delivered to a specific destination. When log events are sent to the receiving\n service, they are Base64 encoded and compressed with the GZIP format.

\n

The following destinations are supported for subscription filters:

\n
    \n
  • \n

    An Amazon Kinesis data stream belonging to the same account as the subscription\n filter, for same-account delivery.

    \n
  • \n
  • \n

    A logical destination that belongs to a different account, for cross-account delivery.

    \n
  • \n
  • \n

    An Amazon Kinesis Data Firehose delivery stream that belongs to the same account as\n the subscription filter, for same-account delivery.

    \n
  • \n
  • \n

    An Lambda function that belongs to the same account as the\n subscription filter, for same-account delivery.

    \n
  • \n
\n

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 filterName.\n

\n

To perform a PutSubscriptionFilter operation, you must also have the \n iam:PassRole permission.

" + "smithy.api#documentation": "

Creates or updates a subscription filter and associates it with the specified log\n group. With subscription filters, you can subscribe to a real-time stream of log events\n ingested through PutLogEvents\n and have them delivered to a specific destination. When log events are sent to the receiving\n service, they are Base64 encoded and compressed with the GZIP format.

\n

The following destinations are supported for subscription filters:

\n
    \n
  • \n

    An Amazon Kinesis data stream belonging to the same account as the subscription\n filter, for same-account delivery.

    \n
  • \n
  • \n

    A logical destination that belongs to a different account, for cross-account delivery.

    \n
  • \n
  • \n

    An Amazon Kinesis Data Firehose delivery stream that belongs to the same account as\n the subscription filter, for same-account delivery.

    \n
  • \n
  • \n

    An Lambda function that belongs to the same account as the\n subscription filter, for same-account delivery.

    \n
  • \n
\n

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 filterName.\n

\n

To perform a PutSubscriptionFilter operation, you must also have the \n iam:PassRole permission.

" } }, "com.amazonaws.cloudwatchlogs#PutSubscriptionFilterRequest": { @@ -6534,7 +6534,7 @@ } ], "traits": { - "smithy.api#documentation": "

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.

\n

For more information, see CloudWatch Logs Insights Query Syntax.

\n \n

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

\n \n

If you are using CloudWatch cross-account observability, you can use this operation in a\n monitoring account to start a query in a linked source account. For more information, see\n CloudWatch\n cross-account observability. For a cross-account StartQuery operation,\n the query definition must be defined in the monitoring account.

\n \n

You can have up to 20 concurrent CloudWatch Logs insights queries, including queries\n that have been added to dashboards.

" + "smithy.api#documentation": "

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.

\n

For more information, see CloudWatch Logs Insights Query Syntax.

\n

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

\n

If you are using CloudWatch cross-account observability, you can use this operation in a\n monitoring account to start a query in a linked source account. For more information, see\n CloudWatch\n cross-account observability. For a cross-account StartQuery operation,\n the query definition must be defined in the monitoring account.

\n

You can have up to 20 concurrent CloudWatch Logs insights queries, including queries\n that have been added to dashboards.

" } }, "com.amazonaws.cloudwatchlogs#StartQueryRequest": {