Skip to content

CreateOmniSloInput

Source code in docs_src/capo_cloudwatchomni/types/create_omni_slo_input.py
class CreateOmniSloInput(TypedDict, closed=True):
    space_id: "capo_cloudwatchomni.types.space_id.SpaceId"
    """The unique ID of the space to create the SLO in."""
    name: "capo_cloudwatchomni.types.slo_name.SloName"
    """The display name of the SLO. Not unique within a space; the sloId returned in the response identifies the SLO."""
    description: NotRequired["capo_cloudwatchomni.types.slo_description.SloDescription"]
    """An optional description of the SLO."""
    service_attributes: (
        "capo_cloudwatchomni.types.slo_service_attributes.SloServiceAttributes"
    )
    """The service the SLO is about. Descriptive only: it is not checked against the SLI and never used for authorization."""
    sli: "capo_cloudwatchomni.types.sli.Sli"
    """What the SLO measures."""
    objective: "capo_cloudwatchomni.types.slo_objective.SloObjective"
    """The reliability target, the warning threshold and the window the target is measured over."""
    tags: NotRequired["capo_cloudwatchomni.types.tag_map.TagMap"]
    """The tags to associate with the SLO."""
    client_token: NotRequired["capo_cloudwatchomni.types.client_token.ClientToken"]
    """Idempotency token for safe retries. Retrying with the same token returns the original SLO instead of creating a duplicate."""

client_token instance-attribute

client_token: NotRequired[ClientToken]

Idempotency token for safe retries. Retrying with the same token returns the original SLO instead of creating a duplicate.

description instance-attribute

description: NotRequired[SloDescription]

An optional description of the SLO.

name instance-attribute

name: SloName

The display name of the SLO. Not unique within a space; the sloId returned in the response identifies the SLO.

objective instance-attribute

objective: SloObjective

The reliability target, the warning threshold and the window the target is measured over.

service_attributes instance-attribute

service_attributes: SloServiceAttributes

The service the SLO is about. Descriptive only: it is not checked against the SLI and never used for authorization.

sli instance-attribute

sli: Sli

What the SLO measures.

space_id instance-attribute

space_id: SpaceId

The unique ID of the space to create the SLO in.

tags instance-attribute

tags: NotRequired[TagMap]

The tags to associate with the SLO.