@aws-sdk/client-cloudwatch-logs 3.1079.0 → 3.1080.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 (31) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +55 -1
  3. package/dist-es/CloudWatchLogs.js +4 -0
  4. package/dist-es/commands/GetStorageTierPolicyCommand.js +4 -0
  5. package/dist-es/commands/PutStorageTierPolicyCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +4 -0
  8. package/dist-es/schemas/schemas_0.js +33 -0
  9. package/dist-types/CloudWatchLogs.d.ts +15 -0
  10. package/dist-types/CloudWatchLogsClient.d.ts +4 -2
  11. package/dist-types/commands/GetStorageTierPolicyCommand.d.ts +85 -0
  12. package/dist-types/commands/PutStorageTierPolicyCommand.d.ts +89 -0
  13. package/dist-types/commands/TestMetricFilterCommand.d.ts +2 -1
  14. package/dist-types/commands/TestTransformerCommand.d.ts +1 -1
  15. package/dist-types/commands/index.d.ts +2 -0
  16. package/dist-types/models/enums.d.ts +12 -0
  17. package/dist-types/models/models_0.d.ts +55 -63
  18. package/dist-types/models/models_1.d.ts +61 -1
  19. package/dist-types/schemas/schemas_0.d.ts +6 -0
  20. package/dist-types/ts3.4/CloudWatchLogs.d.ts +35 -0
  21. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +12 -0
  22. package/dist-types/ts3.4/commands/GetStorageTierPolicyCommand.d.ts +44 -0
  23. package/dist-types/ts3.4/commands/PutStorageTierPolicyCommand.d.ts +44 -0
  24. package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +2 -4
  25. package/dist-types/ts3.4/commands/TestTransformerCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  27. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +13 -15
  29. package/dist-types/ts3.4/models/models_1.d.ts +21 -1
  30. package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  31. package/package.json +3 -3
@@ -69,6 +69,7 @@ export * from "./GetLookupTableCommand";
69
69
  export * from "./GetQueryResultsCommand";
70
70
  export * from "./GetScheduledQueryCommand";
71
71
  export * from "./GetScheduledQueryHistoryCommand";
72
+ export * from "./GetStorageTierPolicyCommand";
72
73
  export * from "./GetTransformerCommand";
73
74
  export * from "./ListAggregateLogGroupSummariesCommand";
74
75
  export * from "./ListAnomaliesCommand";
@@ -97,6 +98,7 @@ export * from "./PutMetricFilterCommand";
97
98
  export * from "./PutQueryDefinitionCommand";
98
99
  export * from "./PutResourcePolicyCommand";
99
100
  export * from "./PutRetentionPolicyCommand";
101
+ export * from "./PutStorageTierPolicyCommand";
100
102
  export * from "./PutSubscriptionFilterCommand";
101
103
  export * from "./PutSyslogConfigurationCommand";
102
104
  export * from "./PutTransformerCommand";
@@ -476,6 +476,18 @@ export declare const ScheduledQueryDestinationType: {
476
476
  * @public
477
477
  */
478
478
  export type ScheduledQueryDestinationType = (typeof ScheduledQueryDestinationType)[keyof typeof ScheduledQueryDestinationType];
479
+ /**
480
+ * @public
481
+ * @enum
482
+ */
483
+ export declare const StorageTier: {
484
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
485
+ readonly STANDARD: "STANDARD";
486
+ };
487
+ /**
488
+ * @public
489
+ */
490
+ export type StorageTier = (typeof StorageTier)[keyof typeof StorageTier];
479
491
  /**
480
492
  * @public
481
493
  * @enum
@@ -1,4 +1,4 @@
1
- import type { ActionStatus, AnomalyDetectorStatus, DataProtectionStatus, DeliveryDestinationType, DeliverySourceConfigurationSchemaValueType, DeliverySourceStatus, DeliverySourceStatusReason, Distribution, EntityRejectionErrorType, EvaluationFrequency, EventSource, ExecutionStatus, ExportTaskStatusCode, FlattenedElement, ImportStatus, IndexSource, IndexType, InheritedProperty, IntegrationStatus, IntegrationType, ListAggregateLogGroupSummariesGroupBy, LogGroupClass, OCSFVersion, OpenSearchResourceStatusType, OrderBy, OutputFormat, PolicyScope, PolicyType, QueryLanguage, QueryStatus, S3TableIntegrationSourceStatus, ScheduledQueryDestinationType, ScheduledQueryState, ScheduleType, Scope, StandardUnit, State, SuppressionState, SyslogSourceType, Type } from "./enums";
1
+ import type { ActionStatus, AnomalyDetectorStatus, DataProtectionStatus, DeliveryDestinationType, DeliverySourceConfigurationSchemaValueType, DeliverySourceStatus, DeliverySourceStatusReason, Distribution, EntityRejectionErrorType, EvaluationFrequency, EventSource, ExecutionStatus, ExportTaskStatusCode, FlattenedElement, ImportStatus, IndexSource, IndexType, InheritedProperty, IntegrationStatus, IntegrationType, ListAggregateLogGroupSummariesGroupBy, LogGroupClass, OCSFVersion, OpenSearchResourceStatusType, OrderBy, OutputFormat, PolicyScope, PolicyType, QueryLanguage, QueryStatus, S3TableIntegrationSourceStatus, ScheduledQueryDestinationType, ScheduledQueryState, ScheduleType, Scope, StandardUnit, State, StorageTier, SuppressionState, SyslogSourceType, Type } from "./enums";
2
2
  import type { InternalStreamingException, SessionStreamingException, SessionTimeoutException } from "./errors";
3
3
  /**
4
4
  * <p>A structure that contains information about one CloudWatch Logs account policy.</p>
@@ -5268,6 +5268,27 @@ export interface GetScheduledQueryHistoryResponse {
5268
5268
  */
5269
5269
  nextToken?: string | undefined;
5270
5270
  }
5271
+ /**
5272
+ * @public
5273
+ */
5274
+ export interface GetStorageTierPolicyRequest {
5275
+ }
5276
+ /**
5277
+ * @public
5278
+ */
5279
+ export interface GetStorageTierPolicyResponse {
5280
+ /**
5281
+ * <p>The current storage tier for the account.</p>
5282
+ * @public
5283
+ */
5284
+ storageTier?: StorageTier | undefined;
5285
+ /**
5286
+ * <p>The time when the storage tier policy was last updated, expressed as the number of
5287
+ * milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
5288
+ * @public
5289
+ */
5290
+ lastUpdatedTime?: number | undefined;
5291
+ }
5271
5292
  /**
5272
5293
  * @public
5273
5294
  */
@@ -7205,8 +7226,8 @@ export interface PutDeliverySourceRequest {
7205
7226
  * <code>EVENT_LOGS</code>.</p>
7206
7227
  * </li>
7207
7228
  * <li>
7208
- * <p>For Amazon Bedrock Knowledge Bases, the valid value is
7209
- * <code>APPLICATION_LOGS</code>.</p>
7229
+ * <p>For Amazon Bedrock Knowledge Bases, the valid values are
7230
+ * <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
7210
7231
  * </li>
7211
7232
  * <li>
7212
7233
  * <p>For Amazon Bedrock AgentCore Runtime, the valid values are
@@ -7295,6 +7316,10 @@ export interface PutDeliverySourceRequest {
7295
7316
  * <code>SYNC_JOB_LOGS</code>.</p>
7296
7317
  * </li>
7297
7318
  * <li>
7319
+ * <p>For Amazon S3, the valid value is
7320
+ * <code>S3_SERVER_ACCESS_LOGS</code>.</p>
7321
+ * </li>
7322
+ * <li>
7298
7323
  * <p>For Amazon Web Services Security Hub CSPM, the valid value is
7299
7324
  * <code>SECURITY_FINDING_LOGS</code>.</p>
7300
7325
  * </li>
@@ -7899,6 +7924,33 @@ export interface PutRetentionPolicyRequest {
7899
7924
  */
7900
7925
  retentionInDays: number | undefined;
7901
7926
  }
7927
+ /**
7928
+ * @public
7929
+ */
7930
+ export interface PutStorageTierPolicyRequest {
7931
+ /**
7932
+ * <p>The storage tier to set for the account. Valid values are <code>STANDARD</code> and
7933
+ * <code>INTELLIGENT_TIERING</code>.</p>
7934
+ * @public
7935
+ */
7936
+ storageTier: StorageTier | undefined;
7937
+ }
7938
+ /**
7939
+ * @public
7940
+ */
7941
+ export interface PutStorageTierPolicyResponse {
7942
+ /**
7943
+ * <p>The storage tier that was set.</p>
7944
+ * @public
7945
+ */
7946
+ storageTier?: StorageTier | undefined;
7947
+ /**
7948
+ * <p>The time when the storage tier policy was last updated, expressed as the number of
7949
+ * milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
7950
+ * @public
7951
+ */
7952
+ lastUpdatedTime?: number | undefined;
7953
+ }
7902
7954
  /**
7903
7955
  * @public
7904
7956
  */
@@ -8381,63 +8433,3 @@ export interface MetricFilterMatchRecord {
8381
8433
  */
8382
8434
  extractedValues?: Record<string, string> | undefined;
8383
8435
  }
8384
- /**
8385
- * @public
8386
- */
8387
- export interface TestMetricFilterResponse {
8388
- /**
8389
- * <p>The matched events.</p>
8390
- * @public
8391
- */
8392
- matches?: MetricFilterMatchRecord[] | undefined;
8393
- }
8394
- /**
8395
- * @public
8396
- */
8397
- export interface TestTransformerRequest {
8398
- /**
8399
- * <p>This structure contains the configuration of this log transformer that you want to test. A
8400
- * log transformer is an array of processors, where each processor applies one type of
8401
- * transformation to the log events that are ingested.</p>
8402
- * @public
8403
- */
8404
- transformerConfig: Processor[] | undefined;
8405
- /**
8406
- * <p>An array of the raw log events that you want to use to test this transformer.</p>
8407
- * @public
8408
- */
8409
- logEventMessages: string[] | undefined;
8410
- }
8411
- /**
8412
- * <p>This structure contains information for one log event that has been processed by a log
8413
- * transformer.</p>
8414
- * @public
8415
- */
8416
- export interface TransformedLogRecord {
8417
- /**
8418
- * <p>The event number.</p>
8419
- * @public
8420
- */
8421
- eventNumber?: number | undefined;
8422
- /**
8423
- * <p>The original log event message before it was transformed.</p>
8424
- * @public
8425
- */
8426
- eventMessage?: string | undefined;
8427
- /**
8428
- * <p>The log event message after being transformed.</p>
8429
- * @public
8430
- */
8431
- transformedEventMessage?: string | undefined;
8432
- }
8433
- /**
8434
- * @public
8435
- */
8436
- export interface TestTransformerResponse {
8437
- /**
8438
- * <p>An array where each member of the array includes both the original version and the
8439
- * transformed version of one of the log events that you input.</p>
8440
- * @public
8441
- */
8442
- transformedLogs?: TransformedLogRecord[] | undefined;
8443
- }
@@ -1,5 +1,65 @@
1
1
  import type { EvaluationFrequency, ExecutionStatus, QueryLanguage, ScheduledQueryState, ScheduleType, SuppressionType, SuppressionUnit } from "./enums";
2
- import type { DestinationConfiguration, S3DeliveryConfiguration } from "./models_0";
2
+ import type { DestinationConfiguration, MetricFilterMatchRecord, Processor, S3DeliveryConfiguration } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface TestMetricFilterResponse {
7
+ /**
8
+ * <p>The matched events.</p>
9
+ * @public
10
+ */
11
+ matches?: MetricFilterMatchRecord[] | undefined;
12
+ }
13
+ /**
14
+ * @public
15
+ */
16
+ export interface TestTransformerRequest {
17
+ /**
18
+ * <p>This structure contains the configuration of this log transformer that you want to test. A
19
+ * log transformer is an array of processors, where each processor applies one type of
20
+ * transformation to the log events that are ingested.</p>
21
+ * @public
22
+ */
23
+ transformerConfig: Processor[] | undefined;
24
+ /**
25
+ * <p>An array of the raw log events that you want to use to test this transformer.</p>
26
+ * @public
27
+ */
28
+ logEventMessages: string[] | undefined;
29
+ }
30
+ /**
31
+ * <p>This structure contains information for one log event that has been processed by a log
32
+ * transformer.</p>
33
+ * @public
34
+ */
35
+ export interface TransformedLogRecord {
36
+ /**
37
+ * <p>The event number.</p>
38
+ * @public
39
+ */
40
+ eventNumber?: number | undefined;
41
+ /**
42
+ * <p>The original log event message before it was transformed.</p>
43
+ * @public
44
+ */
45
+ eventMessage?: string | undefined;
46
+ /**
47
+ * <p>The log event message after being transformed.</p>
48
+ * @public
49
+ */
50
+ transformedEventMessage?: string | undefined;
51
+ }
52
+ /**
53
+ * @public
54
+ */
55
+ export interface TestTransformerResponse {
56
+ /**
57
+ * <p>An array where each member of the array includes both the original version and the
58
+ * transformed version of one of the log events that you input.</p>
59
+ * @public
60
+ */
61
+ transformedLogs?: TransformedLogRecord[] | undefined;
62
+ }
3
63
  /**
4
64
  * @deprecated Please use the generic tagging API model UntagResourceRequest.
5
65
  * @public
@@ -177,6 +177,8 @@ export declare var GetScheduledQueryHistoryRequest$: StaticStructureSchema;
177
177
  export declare var GetScheduledQueryHistoryResponse$: StaticStructureSchema;
178
178
  export declare var GetScheduledQueryRequest$: StaticStructureSchema;
179
179
  export declare var GetScheduledQueryResponse$: StaticStructureSchema;
180
+ export declare var GetStorageTierPolicyRequest$: StaticStructureSchema;
181
+ export declare var GetStorageTierPolicyResponse$: StaticStructureSchema;
180
182
  export declare var GetTransformerRequest$: StaticStructureSchema;
181
183
  export declare var GetTransformerResponse$: StaticStructureSchema;
182
184
  export declare var Grok$: StaticStructureSchema;
@@ -279,6 +281,8 @@ export declare var PutQueryDefinitionResponse$: StaticStructureSchema;
279
281
  export declare var PutResourcePolicyRequest$: StaticStructureSchema;
280
282
  export declare var PutResourcePolicyResponse$: StaticStructureSchema;
281
283
  export declare var PutRetentionPolicyRequest$: StaticStructureSchema;
284
+ export declare var PutStorageTierPolicyRequest$: StaticStructureSchema;
285
+ export declare var PutStorageTierPolicyResponse$: StaticStructureSchema;
282
286
  export declare var PutSubscriptionFilterRequest$: StaticStructureSchema;
283
287
  export declare var PutSyslogConfigurationRequest$: StaticStructureSchema;
284
288
  export declare var PutTransformerRequest$: StaticStructureSchema;
@@ -413,6 +417,7 @@ export declare var GetLookupTable$: StaticOperationSchema;
413
417
  export declare var GetQueryResults$: StaticOperationSchema;
414
418
  export declare var GetScheduledQuery$: StaticOperationSchema;
415
419
  export declare var GetScheduledQueryHistory$: StaticOperationSchema;
420
+ export declare var GetStorageTierPolicy$: StaticOperationSchema;
416
421
  export declare var GetTransformer$: StaticOperationSchema;
417
422
  export declare var ListAggregateLogGroupSummaries$: StaticOperationSchema;
418
423
  export declare var ListAnomalies$: StaticOperationSchema;
@@ -441,6 +446,7 @@ export declare var PutMetricFilter$: StaticOperationSchema;
441
446
  export declare var PutQueryDefinition$: StaticOperationSchema;
442
447
  export declare var PutResourcePolicy$: StaticOperationSchema;
443
448
  export declare var PutRetentionPolicy$: StaticOperationSchema;
449
+ export declare var PutStorageTierPolicy$: StaticOperationSchema;
444
450
  export declare var PutSubscriptionFilter$: StaticOperationSchema;
445
451
  export declare var PutSyslogConfiguration$: StaticOperationSchema;
446
452
  export declare var PutTransformer$: StaticOperationSchema;
@@ -288,6 +288,10 @@ import {
288
288
  GetScheduledQueryHistoryCommandInput,
289
289
  GetScheduledQueryHistoryCommandOutput,
290
290
  } from "./commands/GetScheduledQueryHistoryCommand";
291
+ import {
292
+ GetStorageTierPolicyCommandInput,
293
+ GetStorageTierPolicyCommandOutput,
294
+ } from "./commands/GetStorageTierPolicyCommand";
291
295
  import {
292
296
  GetTransformerCommandInput,
293
297
  GetTransformerCommandOutput,
@@ -400,6 +404,10 @@ import {
400
404
  PutRetentionPolicyCommandInput,
401
405
  PutRetentionPolicyCommandOutput,
402
406
  } from "./commands/PutRetentionPolicyCommand";
407
+ import {
408
+ PutStorageTierPolicyCommandInput,
409
+ PutStorageTierPolicyCommandOutput,
410
+ } from "./commands/PutStorageTierPolicyCommand";
403
411
  import {
404
412
  PutSubscriptionFilterCommandInput,
405
413
  PutSubscriptionFilterCommandOutput,
@@ -1422,6 +1430,20 @@ export interface CloudWatchLogs {
1422
1430
  options: __HttpHandlerOptions,
1423
1431
  cb: (err: any, data?: GetScheduledQueryHistoryCommandOutput) => void
1424
1432
  ): void;
1433
+ getStorageTierPolicy(): Promise<GetStorageTierPolicyCommandOutput>;
1434
+ getStorageTierPolicy(
1435
+ args: GetStorageTierPolicyCommandInput,
1436
+ options?: __HttpHandlerOptions
1437
+ ): Promise<GetStorageTierPolicyCommandOutput>;
1438
+ getStorageTierPolicy(
1439
+ args: GetStorageTierPolicyCommandInput,
1440
+ cb: (err: any, data?: GetStorageTierPolicyCommandOutput) => void
1441
+ ): void;
1442
+ getStorageTierPolicy(
1443
+ args: GetStorageTierPolicyCommandInput,
1444
+ options: __HttpHandlerOptions,
1445
+ cb: (err: any, data?: GetStorageTierPolicyCommandOutput) => void
1446
+ ): void;
1425
1447
  getTransformer(
1426
1448
  args: GetTransformerCommandInput,
1427
1449
  options?: __HttpHandlerOptions
@@ -1793,6 +1815,19 @@ export interface CloudWatchLogs {
1793
1815
  options: __HttpHandlerOptions,
1794
1816
  cb: (err: any, data?: PutRetentionPolicyCommandOutput) => void
1795
1817
  ): void;
1818
+ putStorageTierPolicy(
1819
+ args: PutStorageTierPolicyCommandInput,
1820
+ options?: __HttpHandlerOptions
1821
+ ): Promise<PutStorageTierPolicyCommandOutput>;
1822
+ putStorageTierPolicy(
1823
+ args: PutStorageTierPolicyCommandInput,
1824
+ cb: (err: any, data?: PutStorageTierPolicyCommandOutput) => void
1825
+ ): void;
1826
+ putStorageTierPolicy(
1827
+ args: PutStorageTierPolicyCommandInput,
1828
+ options: __HttpHandlerOptions,
1829
+ cb: (err: any, data?: PutStorageTierPolicyCommandOutput) => void
1830
+ ): void;
1796
1831
  putSubscriptionFilter(
1797
1832
  args: PutSubscriptionFilterCommandInput,
1798
1833
  options?: __HttpHandlerOptions
@@ -325,6 +325,10 @@ import {
325
325
  GetScheduledQueryHistoryCommandInput,
326
326
  GetScheduledQueryHistoryCommandOutput,
327
327
  } from "./commands/GetScheduledQueryHistoryCommand";
328
+ import {
329
+ GetStorageTierPolicyCommandInput,
330
+ GetStorageTierPolicyCommandOutput,
331
+ } from "./commands/GetStorageTierPolicyCommand";
328
332
  import {
329
333
  GetTransformerCommandInput,
330
334
  GetTransformerCommandOutput,
@@ -437,6 +441,10 @@ import {
437
441
  PutRetentionPolicyCommandInput,
438
442
  PutRetentionPolicyCommandOutput,
439
443
  } from "./commands/PutRetentionPolicyCommand";
444
+ import {
445
+ PutStorageTierPolicyCommandInput,
446
+ PutStorageTierPolicyCommandOutput,
447
+ } from "./commands/PutStorageTierPolicyCommand";
440
448
  import {
441
449
  PutSubscriptionFilterCommandInput,
442
450
  PutSubscriptionFilterCommandOutput,
@@ -584,6 +592,7 @@ export type ServiceInputTypes =
584
592
  | GetQueryResultsCommandInput
585
593
  | GetScheduledQueryCommandInput
586
594
  | GetScheduledQueryHistoryCommandInput
595
+ | GetStorageTierPolicyCommandInput
587
596
  | GetTransformerCommandInput
588
597
  | ListAggregateLogGroupSummariesCommandInput
589
598
  | ListAnomaliesCommandInput
@@ -612,6 +621,7 @@ export type ServiceInputTypes =
612
621
  | PutQueryDefinitionCommandInput
613
622
  | PutResourcePolicyCommandInput
614
623
  | PutRetentionPolicyCommandInput
624
+ | PutStorageTierPolicyCommandInput
615
625
  | PutSubscriptionFilterCommandInput
616
626
  | PutSyslogConfigurationCommandInput
617
627
  | PutTransformerCommandInput
@@ -701,6 +711,7 @@ export type ServiceOutputTypes =
701
711
  | GetQueryResultsCommandOutput
702
712
  | GetScheduledQueryCommandOutput
703
713
  | GetScheduledQueryHistoryCommandOutput
714
+ | GetStorageTierPolicyCommandOutput
704
715
  | GetTransformerCommandOutput
705
716
  | ListAggregateLogGroupSummariesCommandOutput
706
717
  | ListAnomaliesCommandOutput
@@ -729,6 +740,7 @@ export type ServiceOutputTypes =
729
740
  | PutQueryDefinitionCommandOutput
730
741
  | PutResourcePolicyCommandOutput
731
742
  | PutRetentionPolicyCommandOutput
743
+ | PutStorageTierPolicyCommandOutput
732
744
  | PutSubscriptionFilterCommandOutput
733
745
  | PutSyslogConfigurationCommandOutput
734
746
  | PutTransformerCommandOutput
@@ -0,0 +1,44 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ GetStorageTierPolicyRequest,
4
+ GetStorageTierPolicyResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface GetStorageTierPolicyCommandInput
8
+ extends GetStorageTierPolicyRequest {}
9
+ export interface GetStorageTierPolicyCommandOutput
10
+ extends GetStorageTierPolicyResponse,
11
+ __MetadataBearer {}
12
+ declare const GetStorageTierPolicyCommand_base: {
13
+ new (
14
+ input: GetStorageTierPolicyCommandInput
15
+ ): import("@smithy/core/client").CommandImpl<
16
+ GetStorageTierPolicyCommandInput,
17
+ GetStorageTierPolicyCommandOutput,
18
+ import("..").CloudWatchLogsClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
21
+ >;
22
+ new (
23
+ ...[input]: [] | [GetStorageTierPolicyCommandInput]
24
+ ): import("@smithy/core/client").CommandImpl<
25
+ GetStorageTierPolicyCommandInput,
26
+ GetStorageTierPolicyCommandOutput,
27
+ import("..").CloudWatchLogsClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
30
+ >;
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
32
+ };
33
+ export declare class GetStorageTierPolicyCommand extends GetStorageTierPolicyCommand_base {
34
+ protected static __types: {
35
+ api: {
36
+ input: {};
37
+ output: GetStorageTierPolicyResponse;
38
+ };
39
+ sdk: {
40
+ input: GetStorageTierPolicyCommandInput;
41
+ output: GetStorageTierPolicyCommandOutput;
42
+ };
43
+ };
44
+ }
@@ -0,0 +1,44 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ PutStorageTierPolicyRequest,
4
+ PutStorageTierPolicyResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface PutStorageTierPolicyCommandInput
8
+ extends PutStorageTierPolicyRequest {}
9
+ export interface PutStorageTierPolicyCommandOutput
10
+ extends PutStorageTierPolicyResponse,
11
+ __MetadataBearer {}
12
+ declare const PutStorageTierPolicyCommand_base: {
13
+ new (
14
+ input: PutStorageTierPolicyCommandInput
15
+ ): import("@smithy/core/client").CommandImpl<
16
+ PutStorageTierPolicyCommandInput,
17
+ PutStorageTierPolicyCommandOutput,
18
+ import("..").CloudWatchLogsClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
21
+ >;
22
+ new (
23
+ input: PutStorageTierPolicyCommandInput
24
+ ): import("@smithy/core/client").CommandImpl<
25
+ PutStorageTierPolicyCommandInput,
26
+ PutStorageTierPolicyCommandOutput,
27
+ import("..").CloudWatchLogsClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
30
+ >;
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
32
+ };
33
+ export declare class PutStorageTierPolicyCommand extends PutStorageTierPolicyCommand_base {
34
+ protected static __types: {
35
+ api: {
36
+ input: PutStorageTierPolicyRequest;
37
+ output: PutStorageTierPolicyResponse;
38
+ };
39
+ sdk: {
40
+ input: PutStorageTierPolicyCommandInput;
41
+ output: PutStorageTierPolicyCommandOutput;
42
+ };
43
+ };
44
+ }
@@ -1,8 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- TestMetricFilterRequest,
4
- TestMetricFilterResponse,
5
- } from "../models/models_0";
2
+ import { TestMetricFilterRequest } from "../models/models_0";
3
+ import { TestMetricFilterResponse } from "../models/models_1";
6
4
  export { __MetadataBearer };
7
5
  export interface TestMetricFilterCommandInput extends TestMetricFilterRequest {}
8
6
  export interface TestMetricFilterCommandOutput
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  TestTransformerRequest,
4
4
  TestTransformerResponse,
5
- } from "../models/models_0";
5
+ } from "../models/models_1";
6
6
  export { __MetadataBearer };
7
7
  export interface TestTransformerCommandInput extends TestTransformerRequest {}
8
8
  export interface TestTransformerCommandOutput
@@ -69,6 +69,7 @@ export * from "./GetLookupTableCommand";
69
69
  export * from "./GetQueryResultsCommand";
70
70
  export * from "./GetScheduledQueryCommand";
71
71
  export * from "./GetScheduledQueryHistoryCommand";
72
+ export * from "./GetStorageTierPolicyCommand";
72
73
  export * from "./GetTransformerCommand";
73
74
  export * from "./ListAggregateLogGroupSummariesCommand";
74
75
  export * from "./ListAnomaliesCommand";
@@ -97,6 +98,7 @@ export * from "./PutMetricFilterCommand";
97
98
  export * from "./PutQueryDefinitionCommand";
98
99
  export * from "./PutResourcePolicyCommand";
99
100
  export * from "./PutRetentionPolicyCommand";
101
+ export * from "./PutStorageTierPolicyCommand";
100
102
  export * from "./PutSubscriptionFilterCommand";
101
103
  export * from "./PutSyslogConfigurationCommand";
102
104
  export * from "./PutTransformerCommand";
@@ -255,6 +255,11 @@ export declare const ScheduledQueryDestinationType: {
255
255
  };
256
256
  export type ScheduledQueryDestinationType =
257
257
  (typeof ScheduledQueryDestinationType)[keyof typeof ScheduledQueryDestinationType];
258
+ export declare const StorageTier: {
259
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
260
+ readonly STANDARD: "STANDARD";
261
+ };
262
+ export type StorageTier = (typeof StorageTier)[keyof typeof StorageTier];
258
263
  export declare const OCSFVersion: {
259
264
  readonly V1_1: "V1.1";
260
265
  readonly V1_5: "V1.5";
@@ -36,6 +36,7 @@ import {
36
36
  Scope,
37
37
  StandardUnit,
38
38
  State,
39
+ StorageTier,
39
40
  SuppressionState,
40
41
  SyslogSourceType,
41
42
  Type,
@@ -1118,6 +1119,11 @@ export interface GetScheduledQueryHistoryResponse {
1118
1119
  triggerHistory?: TriggerHistoryRecord[] | undefined;
1119
1120
  nextToken?: string | undefined;
1120
1121
  }
1122
+ export interface GetStorageTierPolicyRequest {}
1123
+ export interface GetStorageTierPolicyResponse {
1124
+ storageTier?: StorageTier | undefined;
1125
+ lastUpdatedTime?: number | undefined;
1126
+ }
1121
1127
  export interface GetTransformerRequest {
1122
1128
  logGroupIdentifier: string | undefined;
1123
1129
  }
@@ -1583,6 +1589,13 @@ export interface PutRetentionPolicyRequest {
1583
1589
  logGroupName: string | undefined;
1584
1590
  retentionInDays: number | undefined;
1585
1591
  }
1592
+ export interface PutStorageTierPolicyRequest {
1593
+ storageTier: StorageTier | undefined;
1594
+ }
1595
+ export interface PutStorageTierPolicyResponse {
1596
+ storageTier?: StorageTier | undefined;
1597
+ lastUpdatedTime?: number | undefined;
1598
+ }
1586
1599
  export interface PutSubscriptionFilterRequest {
1587
1600
  logGroupName: string | undefined;
1588
1601
  filterName: string | undefined;
@@ -1705,18 +1718,3 @@ export interface MetricFilterMatchRecord {
1705
1718
  eventMessage?: string | undefined;
1706
1719
  extractedValues?: Record<string, string> | undefined;
1707
1720
  }
1708
- export interface TestMetricFilterResponse {
1709
- matches?: MetricFilterMatchRecord[] | undefined;
1710
- }
1711
- export interface TestTransformerRequest {
1712
- transformerConfig: Processor[] | undefined;
1713
- logEventMessages: string[] | undefined;
1714
- }
1715
- export interface TransformedLogRecord {
1716
- eventNumber?: number | undefined;
1717
- eventMessage?: string | undefined;
1718
- transformedEventMessage?: string | undefined;
1719
- }
1720
- export interface TestTransformerResponse {
1721
- transformedLogs?: TransformedLogRecord[] | undefined;
1722
- }
@@ -7,7 +7,27 @@ import {
7
7
  SuppressionType,
8
8
  SuppressionUnit,
9
9
  } from "./enums";
10
- import { DestinationConfiguration, S3DeliveryConfiguration } from "./models_0";
10
+ import {
11
+ DestinationConfiguration,
12
+ MetricFilterMatchRecord,
13
+ Processor,
14
+ S3DeliveryConfiguration,
15
+ } from "./models_0";
16
+ export interface TestMetricFilterResponse {
17
+ matches?: MetricFilterMatchRecord[] | undefined;
18
+ }
19
+ export interface TestTransformerRequest {
20
+ transformerConfig: Processor[] | undefined;
21
+ logEventMessages: string[] | undefined;
22
+ }
23
+ export interface TransformedLogRecord {
24
+ eventNumber?: number | undefined;
25
+ eventMessage?: string | undefined;
26
+ transformedEventMessage?: string | undefined;
27
+ }
28
+ export interface TestTransformerResponse {
29
+ transformedLogs?: TransformedLogRecord[] | undefined;
30
+ }
11
31
  export interface UntagLogGroupRequest {
12
32
  logGroupName: string | undefined;
13
33
  tags: string[] | undefined;
@@ -177,6 +177,8 @@ export declare var GetScheduledQueryHistoryRequest$: StaticStructureSchema;
177
177
  export declare var GetScheduledQueryHistoryResponse$: StaticStructureSchema;
178
178
  export declare var GetScheduledQueryRequest$: StaticStructureSchema;
179
179
  export declare var GetScheduledQueryResponse$: StaticStructureSchema;
180
+ export declare var GetStorageTierPolicyRequest$: StaticStructureSchema;
181
+ export declare var GetStorageTierPolicyResponse$: StaticStructureSchema;
180
182
  export declare var GetTransformerRequest$: StaticStructureSchema;
181
183
  export declare var GetTransformerResponse$: StaticStructureSchema;
182
184
  export declare var Grok$: StaticStructureSchema;
@@ -279,6 +281,8 @@ export declare var PutQueryDefinitionResponse$: StaticStructureSchema;
279
281
  export declare var PutResourcePolicyRequest$: StaticStructureSchema;
280
282
  export declare var PutResourcePolicyResponse$: StaticStructureSchema;
281
283
  export declare var PutRetentionPolicyRequest$: StaticStructureSchema;
284
+ export declare var PutStorageTierPolicyRequest$: StaticStructureSchema;
285
+ export declare var PutStorageTierPolicyResponse$: StaticStructureSchema;
282
286
  export declare var PutSubscriptionFilterRequest$: StaticStructureSchema;
283
287
  export declare var PutSyslogConfigurationRequest$: StaticStructureSchema;
284
288
  export declare var PutTransformerRequest$: StaticStructureSchema;
@@ -413,6 +417,7 @@ export declare var GetLookupTable$: StaticOperationSchema;
413
417
  export declare var GetQueryResults$: StaticOperationSchema;
414
418
  export declare var GetScheduledQuery$: StaticOperationSchema;
415
419
  export declare var GetScheduledQueryHistory$: StaticOperationSchema;
420
+ export declare var GetStorageTierPolicy$: StaticOperationSchema;
416
421
  export declare var GetTransformer$: StaticOperationSchema;
417
422
  export declare var ListAggregateLogGroupSummaries$: StaticOperationSchema;
418
423
  export declare var ListAnomalies$: StaticOperationSchema;
@@ -441,6 +446,7 @@ export declare var PutMetricFilter$: StaticOperationSchema;
441
446
  export declare var PutQueryDefinition$: StaticOperationSchema;
442
447
  export declare var PutResourcePolicy$: StaticOperationSchema;
443
448
  export declare var PutRetentionPolicy$: StaticOperationSchema;
449
+ export declare var PutStorageTierPolicy$: StaticOperationSchema;
444
450
  export declare var PutSubscriptionFilter$: StaticOperationSchema;
445
451
  export declare var PutSyslogConfiguration$: StaticOperationSchema;
446
452
  export declare var PutTransformer$: StaticOperationSchema;