Skip to content

LifecyclePolicyErrorDetail

Source code in docs_src/capo_opensearchserverless/types/lifecycle_policy_error_detail.py
class LifecyclePolicyErrorDetail(TypedDict, closed=True):
    type: NotRequired[
        "capo_opensearchserverless.types.lifecycle_policy_type.LifecyclePolicyType"
    ]
    """<p>The type of lifecycle policy.</p>"""
    name: NotRequired["capo_opensearchserverless.types.policy_name.PolicyName"]
    """<p>The name of the lifecycle policy.</p>"""
    error_message: NotRequired["str"]
    """<p>A description of the error. For example, <code>The specified Lifecycle Policy is not found</code>.</p>"""
    error_code: NotRequired["str"]
    """<p>The error code for the request. For example, <code>NOT_FOUND</code>.</p>"""

error_code instance-attribute

error_code: NotRequired[str]

The error code for the request. For example, NOT_FOUND.

error_message instance-attribute

error_message: NotRequired[str]

A description of the error. For example, The specified Lifecycle Policy is not found.

name instance-attribute

name: NotRequired[PolicyName]

The name of the lifecycle policy.

type instance-attribute

type: NotRequired[LifecyclePolicyType]

The type of lifecycle policy.