@aws-sdk/client-cloudwatch-logs 3.696.0 → 3.699.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +353 -2
  3. package/dist-es/CloudWatchLogs.js +18 -0
  4. package/dist-es/commands/DeleteIndexPolicyCommand.js +22 -0
  5. package/dist-es/commands/DeleteTransformerCommand.js +22 -0
  6. package/dist-es/commands/DescribeFieldIndexesCommand.js +22 -0
  7. package/dist-es/commands/DescribeIndexPoliciesCommand.js +22 -0
  8. package/dist-es/commands/GetTransformerCommand.js +22 -0
  9. package/dist-es/commands/ListLogGroupsForQueryCommand.js +22 -0
  10. package/dist-es/commands/PutIndexPolicyCommand.js +22 -0
  11. package/dist-es/commands/PutTransformerCommand.js +22 -0
  12. package/dist-es/commands/TestTransformerCommand.js +22 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/models_0.js +16 -0
  15. package/dist-es/pagination/ListLogGroupsForQueryPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_json1_1.js +171 -1
  18. package/dist-types/CloudWatchLogs.d.ts +63 -0
  19. package/dist-types/CloudWatchLogsClient.d.ts +11 -2
  20. package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +12 -3
  21. package/dist-types/commands/DeleteIndexPolicyCommand.d.ts +89 -0
  22. package/dist-types/commands/DeleteTransformerCommand.d.ts +89 -0
  23. package/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +4 -2
  24. package/dist-types/commands/DescribeFieldIndexesCommand.d.ts +100 -0
  25. package/dist-types/commands/DescribeIndexPoliciesCommand.d.ts +104 -0
  26. package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +1 -0
  27. package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +1 -0
  28. package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -0
  29. package/dist-types/commands/GetTransformerCommand.d.ts +231 -0
  30. package/dist-types/commands/ListLogGroupsForQueryCommand.d.ts +92 -0
  31. package/dist-types/commands/PutAccountPolicyCommand.d.ts +64 -3
  32. package/dist-types/commands/PutIndexPolicyCommand.d.ts +125 -0
  33. package/dist-types/commands/PutMetricFilterCommand.d.ts +5 -1
  34. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +4 -0
  35. package/dist-types/commands/PutTransformerCommand.d.ts +250 -0
  36. package/dist-types/commands/StartQueryCommand.d.ts +19 -1
  37. package/dist-types/commands/TestTransformerCommand.d.ts +233 -0
  38. package/dist-types/commands/index.d.ts +9 -0
  39. package/dist-types/models/models_0.d.ts +1249 -35
  40. package/dist-types/pagination/ListLogGroupsForQueryPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
  43. package/dist-types/ts3.4/CloudWatchLogs.d.ts +153 -0
  44. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +54 -0
  45. package/dist-types/ts3.4/commands/DeleteIndexPolicyCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/DeleteTransformerCommand.d.ts +46 -0
  47. package/dist-types/ts3.4/commands/DescribeFieldIndexesCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/DescribeIndexPoliciesCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/GetTransformerCommand.d.ts +50 -0
  50. package/dist-types/ts3.4/commands/ListLogGroupsForQueryCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/PutIndexPolicyCommand.d.ts +50 -0
  52. package/dist-types/ts3.4/commands/PutTransformerCommand.d.ts +45 -0
  53. package/dist-types/ts3.4/commands/TestTransformerCommand.d.ts +50 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +252 -0
  56. package/dist-types/ts3.4/pagination/ListLogGroupsForQueryPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  58. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
  59. package/package.json +4 -4
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
4
+ import { DeleteIndexPolicyRequest, DeleteIndexPolicyResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteIndexPolicyCommand}.
14
+ */
15
+ export interface DeleteIndexPolicyCommandInput extends DeleteIndexPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteIndexPolicyCommand}.
21
+ */
22
+ export interface DeleteIndexPolicyCommandOutput extends DeleteIndexPolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteIndexPolicyCommand_base: {
25
+ new (input: DeleteIndexPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIndexPolicyCommandInput, DeleteIndexPolicyCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteIndexPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIndexPolicyCommandInput, DeleteIndexPolicyCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a log-group level field index policy that was applied to a single log group. The indexing of the log events that happened before
31
+ * you delete the policy will still be used for as many as 30 days to improve CloudWatch Logs Insights queries.</p>
32
+ * <p>You can't use this operation to delete an account-level index policy. Instead, use
33
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteAccountPolicy.html">DeletAccountPolicy</a>.</p>
34
+ * <p>If you delete a log-group level field index policy and there is an account-level field index policy, in a few minutes the log group begins using that account-wide policy to index new
35
+ * incoming log events. </p>
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { CloudWatchLogsClient, DeleteIndexPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
40
+ * // const { CloudWatchLogsClient, DeleteIndexPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
41
+ * const client = new CloudWatchLogsClient(config);
42
+ * const input = { // DeleteIndexPolicyRequest
43
+ * logGroupIdentifier: "STRING_VALUE", // required
44
+ * };
45
+ * const command = new DeleteIndexPolicyCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param DeleteIndexPolicyCommandInput - {@link DeleteIndexPolicyCommandInput}
52
+ * @returns {@link DeleteIndexPolicyCommandOutput}
53
+ * @see {@link DeleteIndexPolicyCommandInput} for command's `input` shape.
54
+ * @see {@link DeleteIndexPolicyCommandOutput} for command's `response` shape.
55
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
56
+ *
57
+ * @throws {@link InvalidParameterException} (client fault)
58
+ * <p>A parameter is specified incorrectly.</p>
59
+ *
60
+ * @throws {@link LimitExceededException} (client fault)
61
+ * <p>You have reached the maximum number of resources that can be created.</p>
62
+ *
63
+ * @throws {@link OperationAbortedException} (client fault)
64
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The specified resource does not exist.</p>
68
+ *
69
+ * @throws {@link ServiceUnavailableException} (server fault)
70
+ * <p>The service cannot complete the request.</p>
71
+ *
72
+ * @throws {@link CloudWatchLogsServiceException}
73
+ * <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
74
+ *
75
+ * @public
76
+ */
77
+ export declare class DeleteIndexPolicyCommand extends DeleteIndexPolicyCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: DeleteIndexPolicyRequest;
82
+ output: {};
83
+ };
84
+ sdk: {
85
+ input: DeleteIndexPolicyCommandInput;
86
+ output: DeleteIndexPolicyCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
4
+ import { DeleteTransformerRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteTransformerCommand}.
14
+ */
15
+ export interface DeleteTransformerCommandInput extends DeleteTransformerRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteTransformerCommand}.
21
+ */
22
+ export interface DeleteTransformerCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteTransformerCommand_base: {
25
+ new (input: DeleteTransformerCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTransformerCommandInput, DeleteTransformerCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteTransformerCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTransformerCommandInput, DeleteTransformerCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the log transformer for the specified log group. As soon as you do this,
31
+ * the transformation of incoming log events according to that transformer stops. If this account has an
32
+ * account-level transformer that applies to this log group, the log group begins
33
+ * using that account-level transformer when this log-group level transformer is deleted.</p>
34
+ * <p>After you delete a transformer, be sure to edit any metric filters or subscription filters that relied
35
+ * on the transformed versions of the log events.</p>
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { CloudWatchLogsClient, DeleteTransformerCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
40
+ * // const { CloudWatchLogsClient, DeleteTransformerCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
41
+ * const client = new CloudWatchLogsClient(config);
42
+ * const input = { // DeleteTransformerRequest
43
+ * logGroupIdentifier: "STRING_VALUE", // required
44
+ * };
45
+ * const command = new DeleteTransformerCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param DeleteTransformerCommandInput - {@link DeleteTransformerCommandInput}
52
+ * @returns {@link DeleteTransformerCommandOutput}
53
+ * @see {@link DeleteTransformerCommandInput} for command's `input` shape.
54
+ * @see {@link DeleteTransformerCommandOutput} for command's `response` shape.
55
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
56
+ *
57
+ * @throws {@link InvalidOperationException} (client fault)
58
+ * <p>The operation is not valid on the specified resource.</p>
59
+ *
60
+ * @throws {@link InvalidParameterException} (client fault)
61
+ * <p>A parameter is specified incorrectly.</p>
62
+ *
63
+ * @throws {@link OperationAbortedException} (client fault)
64
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The specified resource does not exist.</p>
68
+ *
69
+ * @throws {@link ServiceUnavailableException} (server fault)
70
+ * <p>The service cannot complete the request.</p>
71
+ *
72
+ * @throws {@link CloudWatchLogsServiceException}
73
+ * <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
74
+ *
75
+ * @public
76
+ */
77
+ export declare class DeleteTransformerCommand extends DeleteTransformerCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: DeleteTransformerRequest;
82
+ output: {};
83
+ };
84
+ sdk: {
85
+ input: DeleteTransformerCommandInput;
86
+ output: DeleteTransformerCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -35,11 +35,12 @@ declare const DescribeAccountPoliciesCommand_base: {
35
35
  * // const { CloudWatchLogsClient, DescribeAccountPoliciesCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
36
36
  * const client = new CloudWatchLogsClient(config);
37
37
  * const input = { // DescribeAccountPoliciesRequest
38
- * policyType: "DATA_PROTECTION_POLICY" || "SUBSCRIPTION_FILTER_POLICY", // required
38
+ * policyType: "DATA_PROTECTION_POLICY" || "SUBSCRIPTION_FILTER_POLICY" || "FIELD_INDEX_POLICY" || "TRANSFORMER_POLICY", // required
39
39
  * policyName: "STRING_VALUE",
40
40
  * accountIdentifiers: [ // AccountIds
41
41
  * "STRING_VALUE",
42
42
  * ],
43
+ * nextToken: "STRING_VALUE",
43
44
  * };
44
45
  * const command = new DescribeAccountPoliciesCommand(input);
45
46
  * const response = await client.send(command);
@@ -49,12 +50,13 @@ declare const DescribeAccountPoliciesCommand_base: {
49
50
  * // policyName: "STRING_VALUE",
50
51
  * // policyDocument: "STRING_VALUE",
51
52
  * // lastUpdatedTime: Number("long"),
52
- * // policyType: "DATA_PROTECTION_POLICY" || "SUBSCRIPTION_FILTER_POLICY",
53
+ * // policyType: "DATA_PROTECTION_POLICY" || "SUBSCRIPTION_FILTER_POLICY" || "FIELD_INDEX_POLICY" || "TRANSFORMER_POLICY",
53
54
  * // scope: "ALL",
54
55
  * // selectionCriteria: "STRING_VALUE",
55
56
  * // accountId: "STRING_VALUE",
56
57
  * // },
57
58
  * // ],
59
+ * // nextToken: "STRING_VALUE",
58
60
  * // };
59
61
  *
60
62
  * ```
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
4
+ import { DescribeFieldIndexesRequest, DescribeFieldIndexesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeFieldIndexesCommand}.
14
+ */
15
+ export interface DescribeFieldIndexesCommandInput extends DescribeFieldIndexesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeFieldIndexesCommand}.
21
+ */
22
+ export interface DescribeFieldIndexesCommandOutput extends DescribeFieldIndexesResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeFieldIndexesCommand_base: {
25
+ new (input: DescribeFieldIndexesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeFieldIndexesCommandInput, DescribeFieldIndexesCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DescribeFieldIndexesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeFieldIndexesCommandInput, DescribeFieldIndexesCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of field indexes listed in the field index policies of
31
+ * one or more log groups. For more information about field index policies, see
32
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutIndexPolicy.html">PutIndexPolicy</a>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { CloudWatchLogsClient, DescribeFieldIndexesCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
37
+ * // const { CloudWatchLogsClient, DescribeFieldIndexesCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
38
+ * const client = new CloudWatchLogsClient(config);
39
+ * const input = { // DescribeFieldIndexesRequest
40
+ * logGroupIdentifiers: [ // DescribeFieldIndexesLogGroupIdentifiers // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * nextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new DescribeFieldIndexesCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // DescribeFieldIndexesResponse
48
+ * // fieldIndexes: [ // FieldIndexes
49
+ * // { // FieldIndex
50
+ * // logGroupIdentifier: "STRING_VALUE",
51
+ * // fieldIndexName: "STRING_VALUE",
52
+ * // lastScanTime: Number("long"),
53
+ * // firstEventTime: Number("long"),
54
+ * // lastEventTime: Number("long"),
55
+ * // },
56
+ * // ],
57
+ * // nextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param DescribeFieldIndexesCommandInput - {@link DescribeFieldIndexesCommandInput}
63
+ * @returns {@link DescribeFieldIndexesCommandOutput}
64
+ * @see {@link DescribeFieldIndexesCommandInput} for command's `input` shape.
65
+ * @see {@link DescribeFieldIndexesCommandOutput} for command's `response` shape.
66
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
67
+ *
68
+ * @throws {@link InvalidParameterException} (client fault)
69
+ * <p>A parameter is specified incorrectly.</p>
70
+ *
71
+ * @throws {@link LimitExceededException} (client fault)
72
+ * <p>You have reached the maximum number of resources that can be created.</p>
73
+ *
74
+ * @throws {@link OperationAbortedException} (client fault)
75
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The specified resource does not exist.</p>
79
+ *
80
+ * @throws {@link ServiceUnavailableException} (server fault)
81
+ * <p>The service cannot complete the request.</p>
82
+ *
83
+ * @throws {@link CloudWatchLogsServiceException}
84
+ * <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
85
+ *
86
+ * @public
87
+ */
88
+ export declare class DescribeFieldIndexesCommand extends DescribeFieldIndexesCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: DescribeFieldIndexesRequest;
93
+ output: DescribeFieldIndexesResponse;
94
+ };
95
+ sdk: {
96
+ input: DescribeFieldIndexesCommandInput;
97
+ output: DescribeFieldIndexesCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,104 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
4
+ import { DescribeIndexPoliciesRequest, DescribeIndexPoliciesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeIndexPoliciesCommand}.
14
+ */
15
+ export interface DescribeIndexPoliciesCommandInput extends DescribeIndexPoliciesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeIndexPoliciesCommand}.
21
+ */
22
+ export interface DescribeIndexPoliciesCommandOutput extends DescribeIndexPoliciesResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeIndexPoliciesCommand_base: {
25
+ new (input: DescribeIndexPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeIndexPoliciesCommandInput, DescribeIndexPoliciesCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DescribeIndexPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeIndexPoliciesCommandInput, DescribeIndexPoliciesCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the field index policies of
31
+ * one or more log groups. For more information about field index policies, see
32
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutIndexPolicy.html">PutIndexPolicy</a>.</p>
33
+ * <p>If a specified log group has a log-group level index policy, that policy is returned by this operation.</p>
34
+ * <p>If a specified log group doesn't have a log-group level index policy, but an account-wide index policy applies to it,
35
+ * that account-wide policy is returned by this operation.</p>
36
+ * <p>To find information about only account-level policies, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeAccountPolicies.html">DescribeAccountPolicies</a> instead.</p>
37
+ * @example
38
+ * Use a bare-bones client and the command you need to make an API call.
39
+ * ```javascript
40
+ * import { CloudWatchLogsClient, DescribeIndexPoliciesCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
41
+ * // const { CloudWatchLogsClient, DescribeIndexPoliciesCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
42
+ * const client = new CloudWatchLogsClient(config);
43
+ * const input = { // DescribeIndexPoliciesRequest
44
+ * logGroupIdentifiers: [ // DescribeIndexPoliciesLogGroupIdentifiers // required
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * nextToken: "STRING_VALUE",
48
+ * };
49
+ * const command = new DescribeIndexPoliciesCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // DescribeIndexPoliciesResponse
52
+ * // indexPolicies: [ // IndexPolicies
53
+ * // { // IndexPolicy
54
+ * // logGroupIdentifier: "STRING_VALUE",
55
+ * // lastUpdateTime: Number("long"),
56
+ * // policyDocument: "STRING_VALUE",
57
+ * // policyName: "STRING_VALUE",
58
+ * // source: "ACCOUNT" || "LOG_GROUP",
59
+ * // },
60
+ * // ],
61
+ * // nextToken: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param DescribeIndexPoliciesCommandInput - {@link DescribeIndexPoliciesCommandInput}
67
+ * @returns {@link DescribeIndexPoliciesCommandOutput}
68
+ * @see {@link DescribeIndexPoliciesCommandInput} for command's `input` shape.
69
+ * @see {@link DescribeIndexPoliciesCommandOutput} for command's `response` shape.
70
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
71
+ *
72
+ * @throws {@link InvalidParameterException} (client fault)
73
+ * <p>A parameter is specified incorrectly.</p>
74
+ *
75
+ * @throws {@link LimitExceededException} (client fault)
76
+ * <p>You have reached the maximum number of resources that can be created.</p>
77
+ *
78
+ * @throws {@link OperationAbortedException} (client fault)
79
+ * <p>Multiple concurrent requests to update the same resource were in conflict.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The specified resource does not exist.</p>
83
+ *
84
+ * @throws {@link ServiceUnavailableException} (server fault)
85
+ * <p>The service cannot complete the request.</p>
86
+ *
87
+ * @throws {@link CloudWatchLogsServiceException}
88
+ * <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
89
+ *
90
+ * @public
91
+ */
92
+ export declare class DescribeIndexPoliciesCommand extends DescribeIndexPoliciesCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: DescribeIndexPoliciesRequest;
97
+ output: DescribeIndexPoliciesResponse;
98
+ };
99
+ sdk: {
100
+ input: DescribeIndexPoliciesCommandInput;
101
+ output: DescribeIndexPoliciesCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -65,6 +65,7 @@ declare const DescribeMetricFiltersCommand_base: {
65
65
  * // ],
66
66
  * // creationTime: Number("long"),
67
67
  * // logGroupName: "STRING_VALUE",
68
+ * // applyOnTransformedLogs: true || false,
68
69
  * // },
69
70
  * // ],
70
71
  * // nextToken: "STRING_VALUE",
@@ -52,6 +52,7 @@ declare const DescribeSubscriptionFiltersCommand_base: {
52
52
  * // destinationArn: "STRING_VALUE",
53
53
  * // roleArn: "STRING_VALUE",
54
54
  * // distribution: "Random" || "ByLogStream",
55
+ * // applyOnTransformedLogs: true || false,
55
56
  * // creationTime: Number("long"),
56
57
  * // },
57
58
  * // ],
@@ -64,7 +64,10 @@ declare const GetQueryResultsCommand_base: {
64
64
  * // statistics: { // QueryStatistics
65
65
  * // recordsMatched: Number("double"),
66
66
  * // recordsScanned: Number("double"),
67
+ * // estimatedRecordsSkipped: Number("double"),
67
68
  * // bytesScanned: Number("double"),
69
+ * // estimatedBytesSkipped: Number("double"),
70
+ * // logGroupsScanned: Number("double"),
68
71
  * // },
69
72
  * // status: "Scheduled" || "Running" || "Complete" || "Failed" || "Cancelled" || "Timeout" || "Unknown",
70
73
  * // encryptionKey: "STRING_VALUE",