|
1270 | 1270 | }, |
1271 | 1271 | { |
1272 | 1272 | "language": "Java", |
1273 | | - "code": "client.cluster().putSettings();\n" |
| 1273 | + "code": "client.cluster().putSettings(p -> p);\n" |
1274 | 1274 | } |
1275 | 1275 | ], |
1276 | 1276 | "specification/snapshot/restore/examples/request/SnapshotRestoreRequestExample1.yaml": [ |
|
6390 | 6390 | }, |
6391 | 6391 | { |
6392 | 6392 | "language": "Java", |
6393 | | - "code": "client.watcher().queryWatches();\n" |
| 6393 | + "code": "client.watcher().queryWatches(q -> q);\n" |
6394 | 6394 | } |
6395 | 6395 | ], |
6396 | 6396 | "specification/watcher/stop/examples/request/WatcherStopRequestExample1.yaml": [ |
|
7794 | 7794 | }, |
7795 | 7795 | { |
7796 | 7796 | "language": "Java", |
7797 | | - "code": "client.security().getUserPrivileges(g -> g);\n" |
| 7797 | + "code": "client.security().getUserPrivileges();\n" |
7798 | 7798 | } |
7799 | 7799 | ], |
7800 | 7800 | "specification/security/query_role/examples/request/QueryRolesRequestExample2.yaml": [ |
|
14976 | 14976 | }, |
14977 | 14977 | { |
14978 | 14978 | "language": "Java", |
14979 | | - "code": "client.enrich().stats(s -> s)\n);\n" |
| 14979 | + "code": "client.enrich().stats(s -> s);\n" |
14980 | 14980 | } |
14981 | 14981 | ], |
14982 | 14982 | "specification/async_search/submit/examples/request/AsyncSearchSubmitRequestExample1.yaml": [ |
|
15454 | 15454 | }, |
15455 | 15455 | { |
15456 | 15456 | "language": "Java", |
15457 | | - "code": "client.autoscaling().getAutoscalingCapacity(g -> g)\n);\n" |
| 15457 | + "code": "client.autoscaling().getAutoscalingCapacity(g -> g);\n" |
15458 | 15458 | } |
15459 | 15459 | ], |
15460 | 15460 | "specification/search_application/render_query/examples/request/SearchApplicationsRenderQueryRequestExample1.yaml": [ |
|
15792 | 15792 | }, |
15793 | 15793 | { |
15794 | 15794 | "language": "Java", |
15795 | | - "code": "client.migration().deprecations(d -> d)\n);\n" |
| 15795 | + "code": "client.migration().deprecations(d -> d);\n" |
15796 | 15796 | } |
15797 | 15797 | ], |
15798 | 15798 | "specification/transform/start_transform/examples/request/TransformStartTransformExample1.yaml": [ |
|
15896 | 15896 | }, |
15897 | 15897 | { |
15898 | 15898 | "language": "Java", |
15899 | | - "code": "client.transform().upgradeTransforms(u -> u)\n);\n" |
| 15899 | + "code": "client.transform().upgradeTransforms(u -> u);\n" |
15900 | 15900 | } |
15901 | 15901 | ], |
15902 | 15902 | "specification/transform/preview_transform/examples/request/PreviewTransformRequestExample1.yaml": [ |
|
16416 | 16416 | }, |
16417 | 16417 | { |
16418 | 16418 | "language": "Java", |
16419 | | - "code": "client.ccr().stats(s -> s)\n);\n" |
| 16419 | + "code": "client.ccr().stats(s -> s);\n" |
16420 | 16420 | } |
16421 | 16421 | ], |
16422 | 16422 | "specification/ccr/pause_auto_follow_pattern/examples/request/PauseAutoFollowPatternRequestExample1.yaml": [ |
|
16624 | 16624 | }, |
16625 | 16625 | { |
16626 | 16626 | "language": "Java", |
16627 | | - "code": "client.ilm().start(s -> s)\n);\n" |
| 16627 | + "code": "client.ilm().start(s -> s);\n" |
16628 | 16628 | } |
16629 | 16629 | ], |
16630 | 16630 | "specification/ilm/explain_lifecycle/examples/request/IlmExplainLifecycleExample1.yaml": [ |
|
16676 | 16676 | }, |
16677 | 16677 | { |
16678 | 16678 | "language": "Java", |
16679 | | - "code": "client.ilm().stop(s -> s)\n);\n" |
| 16679 | + "code": "client.ilm().stop(s -> s);\n" |
16680 | 16680 | } |
16681 | 16681 | ], |
16682 | 16682 | "specification/ilm/remove_policy/examples/request/IlmRemovePolicyExample1.yaml": [ |
|
17496 | 17496 | }, |
17497 | 17497 | { |
17498 | 17498 | "language": "Java", |
17499 | | - "code": "client.streams().status(s -> s)\n);\n" |
| 17499 | + "code": "client.streams().status(s -> s);\n" |
17500 | 17500 | } |
17501 | 17501 | ], |
17502 | 17502 | "specification/streams/logs_enable/examples/request/PostStreamsEnableRequestExample1.yaml": [ |
|
17522 | 17522 | }, |
17523 | 17523 | { |
17524 | 17524 | "language": "Java", |
17525 | | - "code": "client.streams().logsEnable(l -> l)\n);\n" |
| 17525 | + "code": "client.streams().logsEnable(l -> l);\n" |
17526 | 17526 | } |
17527 | 17527 | ], |
17528 | 17528 | "specification/streams/logs_disable/examples/request/PostStreamsDisableRequestExample1.yaml": [ |
|
17548 | 17548 | }, |
17549 | 17549 | { |
17550 | 17550 | "language": "Java", |
17551 | | - "code": "client.streams().logsDisable(l -> l)\n);\n" |
| 17551 | + "code": "client.streams().logsDisable(l -> l);\n" |
17552 | 17552 | } |
17553 | 17553 | ], |
17554 | 17554 | "specification/project/tags/examples/request/ProjectTagsRequestExample1.yaml": [ |
|
0 commit comments