Skip to content

Commit ab308fb

Browse files
Fix indices.put_data_lifecycle API (#5583) (#5586)
(cherry picked from commit 5c8d75f) Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
1 parent e5fca90 commit ab308fb

File tree

5 files changed

+18
-17
lines changed

5 files changed

+18
-17
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 7 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/indices/put_data_lifecycle/IndicesPutDataLifecycleRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import { RequestBase } from '@_types/Base'
2121
import { DataStreamNames, ExpandWildcards } from '@_types/common'
2222
import { Duration } from '@_types/Time'
23-
import { DataStreamLifecycleDownsampling } from '@indices/_types/DataStreamLifecycleDownsampling'
23+
import { DownsamplingRound } from '@indices/_types/DownsamplingRound'
2424

2525
/**
2626
* Update data stream lifecycles.
@@ -82,7 +82,7 @@ export interface Request extends RequestBase {
8282
/**
8383
* The downsampling configuration to execute for the managed backing index after rollover.
8484
*/
85-
downsampling?: DataStreamLifecycleDownsampling
85+
downsampling?: DownsamplingRound[]
8686
/**
8787
* If defined, it turns data stream lifecycle on/off (`true`/`false`) for this data stream. A data stream lifecycle
8888
* that's disabled (enabled: `false`) will have no effect on the data stream.

0 commit comments

Comments
 (0)