diff --git a/specification/ilm/put_lifecycle/PutLifecycleRequest.ts b/specification/ilm/put_lifecycle/PutLifecycleRequest.ts index c36a3bebb8..3247d4921c 100644 --- a/specification/ilm/put_lifecycle/PutLifecycleRequest.ts +++ b/specification/ilm/put_lifecycle/PutLifecycleRequest.ts @@ -35,7 +35,7 @@ export interface Request extends RequestBase { * Identifier for the policy. * @codegen_name name */ - policy?: Name + policy: Name } query_parameters: { /** diff --git a/specification/indices/_types/IndexSettings.ts b/specification/indices/_types/IndexSettings.ts index 3ffce4f1f7..66b651271e 100644 --- a/specification/indices/_types/IndexSettings.ts +++ b/specification/indices/_types/IndexSettings.ts @@ -275,7 +275,7 @@ export class IndexSettingsLifecycle { /** * The name of the policy to use to manage the index. For information about how Elasticsearch applies policy changes, see Policy updates. */ - name: Name + name?: Name /** * Indicates whether or not the index has been rolled over. Automatically set to true when ILM completes the rollover action. * You can explicitly set it to skip rollover.