|
562 | 562 | {"shape":"InvalidParameterException"},
|
563 | 563 | {"shape":"ServiceUnavailableException"}
|
564 | 564 | ],
|
565 |
| - "documentation":"<p>Lists the specified log groups. You can list all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name.</p> <p>CloudWatch Logs doesn't support IAM policies that control access to the <code>DescribeLogGroups</code> action by using the <code>aws:ResourceTag/<i>key-name</i> </code> condition key. Other CloudWatch Logs actions do support the use of the <code>aws:ResourceTag/<i>key-name</i> </code> condition key to control access. For more information about using tags to control access, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html\">Controlling access to Amazon Web Services resources using tags</a>.</p> <p>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 <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html\">CloudWatch cross-account observability</a>.</p>" |
| 565 | + "documentation":"<p>Returns information about log groups. You can return all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name.</p> <p>CloudWatch Logs doesn't support IAM policies that control access to the <code>DescribeLogGroups</code> action by using the <code>aws:ResourceTag/<i>key-name</i> </code> condition key. Other CloudWatch Logs actions do support the use of the <code>aws:ResourceTag/<i>key-name</i> </code> condition key to control access. For more information about using tags to control access, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html\">Controlling access to Amazon Web Services resources using tags</a>.</p> <p>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 <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html\">CloudWatch cross-account observability</a>.</p>" |
566 | 566 | },
|
567 | 567 | "DescribeLogStreams":{
|
568 | 568 | "name":"DescribeLogStreams",
|
|
919 | 919 | ],
|
920 | 920 | "documentation":"<p>Retrieves a list of the log anomaly detectors in the account.</p>"
|
921 | 921 | },
|
| 922 | + "ListLogGroups":{ |
| 923 | + "name":"ListLogGroups", |
| 924 | + "http":{ |
| 925 | + "method":"POST", |
| 926 | + "requestUri":"/" |
| 927 | + }, |
| 928 | + "input":{"shape":"ListLogGroupsRequest"}, |
| 929 | + "output":{"shape":"ListLogGroupsResponse"}, |
| 930 | + "errors":[ |
| 931 | + {"shape":"InvalidParameterException"}, |
| 932 | + {"shape":"ServiceUnavailableException"} |
| 933 | + ], |
| 934 | + "documentation":"<p>Returns a list of log groups in the Region in your account. If you are performing this action in a monitoring account, you can choose to also return log groups from source accounts that are linked to the monitoring account. For more information about using cross-account observability to set up monitoring accounts and source accounts, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html\"> CloudWatch cross-account observability</a>.</p> <p>You can optionally filter the list by log group class and by using regular expressions in your request to match strings in the log group names.</p> <p>This operation is paginated. By default, your first use of this operation returns 50 results, and includes a token to use in a subsequent operation to return more results.</p>" |
| 935 | + }, |
922 | 936 | "ListLogGroupsForQuery":{
|
923 | 937 | "name":"ListLogGroupsForQuery",
|
924 | 938 | "http":{
|
|
2802 | 2816 | "max":50,
|
2803 | 2817 | "min":1
|
2804 | 2818 | },
|
| 2819 | + "DescribeLogGroupsLogGroupIdentifiers":{ |
| 2820 | + "type":"list", |
| 2821 | + "member":{"shape":"LogGroupIdentifier"}, |
| 2822 | + "max":50, |
| 2823 | + "min":1 |
| 2824 | + }, |
2805 | 2825 | "DescribeLogGroupsRequest":{
|
2806 | 2826 | "type":"structure",
|
2807 | 2827 | "members":{
|
2808 | 2828 | "accountIdentifiers":{
|
2809 | 2829 | "shape":"AccountIds",
|
2810 |
| - "documentation":"<p>When <code>includeLinkedAccounts</code> is set to <code>True</code>, use this parameter to specify the list of accounts to search. You can specify as many as 20 account IDs in the array. </p>" |
| 2830 | + "documentation":"<p>When <code>includeLinkedAccounts</code> is set to <code>true</code>, use this parameter to specify the list of accounts to search. You can specify as many as 20 account IDs in the array. </p>" |
2811 | 2831 | },
|
2812 | 2832 | "logGroupNamePrefix":{
|
2813 | 2833 | "shape":"LogGroupName",
|
|
2827 | 2847 | },
|
2828 | 2848 | "includeLinkedAccounts":{
|
2829 | 2849 | "shape":"IncludeLinkedAccounts",
|
2830 |
| - "documentation":"<p>If you are using a monitoring account, set this to <code>True</code> to have the operation return log groups in the accounts listed in <code>accountIdentifiers</code>.</p> <p>If this parameter is set to <code>true</code> and <code>accountIdentifiers</code> contains a null value, the operation returns all log groups in the monitoring account and all log groups in all source accounts that are linked to the monitoring account. </p>" |
| 2850 | + "documentation":"<p>If you are using a monitoring account, set this to <code>true</code> to have the operation return log groups in the accounts listed in <code>accountIdentifiers</code>.</p> <p>If this parameter is set to <code>true</code> and <code>accountIdentifiers</code> contains a null value, the operation returns all log groups in the monitoring account and all log groups in all source accounts that are linked to the monitoring account. </p> <p>The default for this parameter is <code>false</code>.</p>" |
2831 | 2851 | },
|
2832 | 2852 | "logGroupClass":{
|
2833 | 2853 | "shape":"LogGroupClass",
|
2834 |
| - "documentation":"<p>Specifies the log group class for this log group. There are three classes:</p> <ul> <li> <p>The <code>Standard</code> log class supports all CloudWatch Logs features.</p> </li> <li> <p>The <code>Infrequent Access</code> log class supports a subset of CloudWatch Logs features and incurs lower costs.</p> </li> <li> <p>Use the <code>Delivery</code> log class only for delivering Lambda logs to store in Amazon S3 or Amazon Data Firehose. Log events in log groups in the Delivery class are kept in CloudWatch Logs for only one day. This log class doesn't offer rich CloudWatch Logs capabilities such as CloudWatch Logs Insights queries.</p> </li> </ul> <p>For details about the features supported by each class, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html\">Log classes</a> </p>" |
| 2854 | + "documentation":"<p>Use this parameter to limit the results to only those log groups in the specified log group class. If you omit this parameter, log groups of all classes can be returned.</p> <p>Specifies the log group class for this log group. There are three classes:</p> <ul> <li> <p>The <code>Standard</code> log class supports all CloudWatch Logs features.</p> </li> <li> <p>The <code>Infrequent Access</code> log class supports a subset of CloudWatch Logs features and incurs lower costs.</p> </li> <li> <p>Use the <code>Delivery</code> log class only for delivering Lambda logs to store in Amazon S3 or Amazon Data Firehose. Log events in log groups in the Delivery class are kept in CloudWatch Logs for only one day. This log class doesn't offer rich CloudWatch Logs capabilities such as CloudWatch Logs Insights queries.</p> </li> </ul> <p>For details about the features supported by each class, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html\">Log classes</a> </p>" |
| 2855 | + }, |
| 2856 | + "logGroupIdentifiers":{ |
| 2857 | + "shape":"DescribeLogGroupsLogGroupIdentifiers", |
| 2858 | + "documentation":"<p>Use this array to filter the list of log groups returned. If you specify this parameter, the only other filter that you can choose to specify is <code>includeLinkedAccounts</code>.</p> <p>If you are using this operation in a monitoring account, you can specify the ARNs of log groups in source accounts and in the monitoring account itself. If you are using this operation in an account that is not a cross-account monitoring account, you can specify only log group names in the same account as the operation.</p>" |
2835 | 2859 | }
|
2836 | 2860 | }
|
2837 | 2861 | },
|
|
2840 | 2864 | "members":{
|
2841 | 2865 | "logGroups":{
|
2842 | 2866 | "shape":"LogGroups",
|
2843 |
| - "documentation":"<p>The log groups.</p> <p>If the <code>retentionInDays</code> value is not included for a log group, then that log group's events do not expire.</p>" |
| 2867 | + "documentation":"<p>An array of structures, where each structure contains the information about one log group.</p>" |
2844 | 2868 | },
|
2845 | 2869 | "nextToken":{"shape":"NextToken"}
|
2846 | 2870 | }
|
|
4145 | 4169 | }
|
4146 | 4170 | }
|
4147 | 4171 | },
|
| 4172 | + "ListLimit":{ |
| 4173 | + "type":"integer", |
| 4174 | + "max":1000, |
| 4175 | + "min":1 |
| 4176 | + }, |
4148 | 4177 | "ListLogAnomalyDetectorsLimit":{
|
4149 | 4178 | "type":"integer",
|
4150 | 4179 | "max":50,
|
|
4204 | 4233 | "nextToken":{"shape":"NextToken"}
|
4205 | 4234 | }
|
4206 | 4235 | },
|
| 4236 | + "ListLogGroupsRequest":{ |
| 4237 | + "type":"structure", |
| 4238 | + "members":{ |
| 4239 | + "logGroupNamePattern":{ |
| 4240 | + "shape":"LogGroupNameRegexPattern", |
| 4241 | + "documentation":"<p>Use this parameter to limit the returned log groups to only those with names that match the pattern that you specify. This parameter is a regular expression that can match prefixes and substrings, and supports wildcard matching and matching multiple patterns, as in the following examples. </p> <ul> <li> <p>Use <code>^</code> to match log group names by prefix.</p> </li> <li> <p>For a substring match, specify the string to match. All matches are case sensitive</p> </li> <li> <p>To match multiple patterns, separate them with a <code>|</code> as in the example <code>^/aws/lambda|discovery</code> </p> </li> </ul> <p>You can specify as many as five different regular expression patterns in this field, each of which must be between 3 and 24 characters. You can include the <code>^</code> symbol as many as five times, and include the <code>|</code> symbol as many as four times.</p>" |
| 4242 | + }, |
| 4243 | + "logGroupClass":{ |
| 4244 | + "shape":"LogGroupClass", |
| 4245 | + "documentation":"<p>Use this parameter to limit the results to only those log groups in the specified log group class. If you omit this parameter, log groups of all classes can be returned.</p>" |
| 4246 | + }, |
| 4247 | + "includeLinkedAccounts":{ |
| 4248 | + "shape":"IncludeLinkedAccounts", |
| 4249 | + "documentation":"<p>If you are using a monitoring account, set this to <code>true</code> to have the operation return log groups in the accounts listed in <code>accountIdentifiers</code>.</p> <p>If this parameter is set to <code>true</code> and <code>accountIdentifiers</code> contains a null value, the operation returns all log groups in the monitoring account and all log groups in all source accounts that are linked to the monitoring account. </p> <p>The default for this parameter is <code>false</code>.</p>" |
| 4250 | + }, |
| 4251 | + "accountIdentifiers":{ |
| 4252 | + "shape":"AccountIds", |
| 4253 | + "documentation":"<p>When <code>includeLinkedAccounts</code> is set to <code>true</code>, use this parameter to specify the list of accounts to search. You can specify as many as 20 account IDs in the array.</p>" |
| 4254 | + }, |
| 4255 | + "nextToken":{"shape":"NextToken"}, |
| 4256 | + "limit":{ |
| 4257 | + "shape":"ListLimit", |
| 4258 | + "documentation":"<p>The maximum number of log groups to return. If you omit this parameter, the default is up to 50 log groups.</p>" |
| 4259 | + } |
| 4260 | + } |
| 4261 | + }, |
| 4262 | + "ListLogGroupsResponse":{ |
| 4263 | + "type":"structure", |
| 4264 | + "members":{ |
| 4265 | + "logGroups":{ |
| 4266 | + "shape":"LogGroupSummaries", |
| 4267 | + "documentation":"<p>An array of structures, where each structure contains the information about one log group.</p>" |
| 4268 | + }, |
| 4269 | + "nextToken":{"shape":"NextToken"} |
| 4270 | + } |
| 4271 | + }, |
4207 | 4272 | "ListTagsForResourceRequest":{
|
4208 | 4273 | "type":"structure",
|
4209 | 4274 | "required":["resourceArn"],
|
|
4490 | 4555 | "min":0,
|
4491 | 4556 | "pattern":"[\\.\\-_/#A-Za-z0-9]*"
|
4492 | 4557 | },
|
| 4558 | + "LogGroupNameRegexPattern":{ |
| 4559 | + "type":"string", |
| 4560 | + "max":129, |
| 4561 | + "min":3, |
| 4562 | + "pattern":"(\\^?[\\.\\-_\\/#A-Za-z0-9]{3,24})(\\|\\^?[\\.\\-_\\/#A-Za-z0-9]{3,24}){0,4}" |
| 4563 | + }, |
4493 | 4564 | "LogGroupNames":{
|
4494 | 4565 | "type":"list",
|
4495 | 4566 | "member":{"shape":"LogGroupName"}
|
4496 | 4567 | },
|
| 4568 | + "LogGroupSummaries":{ |
| 4569 | + "type":"list", |
| 4570 | + "member":{"shape":"LogGroupSummary"} |
| 4571 | + }, |
| 4572 | + "LogGroupSummary":{ |
| 4573 | + "type":"structure", |
| 4574 | + "members":{ |
| 4575 | + "logGroupName":{ |
| 4576 | + "shape":"LogGroupName", |
| 4577 | + "documentation":"<p>The name of the log group.</p>" |
| 4578 | + }, |
| 4579 | + "logGroupArn":{ |
| 4580 | + "shape":"Arn", |
| 4581 | + "documentation":"<p>The Amazon Resource Name (ARN) of the log group.</p>" |
| 4582 | + }, |
| 4583 | + "logGroupClass":{ |
| 4584 | + "shape":"LogGroupClass", |
| 4585 | + "documentation":"<p>The log group class for this log group. For details about the features supported by each log group class, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html\">Log classes</a> </p>" |
| 4586 | + } |
| 4587 | + }, |
| 4588 | + "documentation":"<p>This structure contains information about one log group in your account.</p>" |
| 4589 | + }, |
4497 | 4590 | "LogGroups":{
|
4498 | 4591 | "type":"list",
|
4499 | 4592 | "member":{"shape":"LogGroup"}
|
|
0 commit comments