diagnostics

Diagnostic request and response contracts for application and plugin callers.

class bedrock_server_manager.api.models.diagnostics.GetApplicationDiagnosticsRequest(*, subsystem: Annotated[str | None, MaxLen(max_length=80)] = None)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.GetApplicationDiagnosticsResponse(*, schema_version: ~typing.Literal[1] = 1, snapshot_id: str = <factory>, instance_id: str, collected_at: float, counter_scope: ~typing.Literal['current_instance'] = 'current_instance', sections: ~typing.Annotated[list[~bedrock_server_manager.diagnostics.models.DiagnosticSection], ~annotated_types.MaxLen(max_length=1000)], collection: ~bedrock_server_manager.diagnostics.models.CollectionDiagnostics = <factory>, recent: ~bedrock_server_manager.diagnostics.models.RecentDiagnosticWindow | None = None, summary: ~bedrock_server_manager.diagnostics.models.DiagnosticSummary, registry: ~bedrock_server_manager.diagnostics.models.RegistryDiagnostics, environment: ~bedrock_server_manager.diagnostics.models.DiagnosticEnvironment, persistence: ~bedrock_server_manager.diagnostics.models.PersistenceDiagnostics)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.GetDiagnosticHistoryRequest(*, limit: Annotated[int, Ge(ge=1), Le(le=200)] = 100, subsystem: Annotated[str | None, MaxLen(max_length=80)] = None, instance_id: Annotated[str | None, MaxLen(max_length=32)] = None, correlation_id: Annotated[str | None, MaxLen(max_length=160)] = None, cursor: Annotated[str | None, MaxLen(max_length=512)] = None, owner: Annotated[str | None, MaxLen(max_length=160)] = None, code: Annotated[str | None, MaxLen(max_length=80)] = None, outcome: Literal['completed', 'failed', 'cancelled'] | None = None, operation_id: Annotated[str | None, MaxLen(max_length=160)] = None)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.GetDiagnosticHistoryResponse(*, records: list[DiagnosticRecord], available: bool, truncated: bool, next_cursor: str | None = None)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.GetDiagnosticReportRequest
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.GetDiagnosticReportResponse(*, report_id: str = <factory>, generated_at: float = <factory>, runs: DiagnosticRuns | None = None, snapshot: DiagnosticSnapshot, history: DiagnosticHistory)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.GetDiagnosticRunsRequest(*, limit: Annotated[int, Ge(ge=1), Le(le=50)] = 20)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.GetDiagnosticRunsResponse(*, runs: list[DiagnosticRun], available: bool, truncated: bool)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.GetDiagnosticTraceRequest(*, correlation_id: Annotated[str, MinLen(min_length=1), MaxLen(max_length=160)], limit: Annotated[int, Ge(ge=1), Le(le=200)] = 100, cursor: Annotated[str | None, MaxLen(max_length=512)] = None)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.GetDiagnosticTraceResponse(*, operations: ~bedrock_server_manager.events.operations.OperationActivity | None = None, operations_available: bool = False, correlation_id: str, events: ~bedrock_server_manager.events.models.EventDiagnostics | None, events_available: bool = False, issues: ~typing.Annotated[list[~bedrock_server_manager.diagnostics.models.DiagnosticIssue], ~annotated_types.MaxLen(max_length=4)] = <factory>, tasks: list[~bedrock_server_manager.diagnostics.models.TaskDiagnostic], tasks_available: bool, history: ~bedrock_server_manager.diagnostics.models.DiagnosticHistory, truncated: bool = False)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.CompareDiagnosticSnapshotsRequest(*, before: DiagnosticSnapshot, after: DiagnosticSnapshot)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.CompareDiagnosticSnapshotsResponse(*, before_snapshot_id: str, after_snapshot_id: str, same_instance: bool, elapsed_seconds: float | None, changes: ~typing.Annotated[list[~bedrock_server_manager.diagnostics.models.DiagnosticChange], ~annotated_types.MaxLen(max_length=200)] = <factory>, truncated: bool = False)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.GetDiagnosticActivityRequest(*, operation_id: str | None = None, sequence_id: str | None = None, operation_name: str | None = None, server_name: str | None = None, source: str | None = None, phase: Literal['before', 'after', 'custom', 'lifecycle'] | None = None, name: str | None = None, owner: str | None = None, correlation_id: str | None = None, status: Literal['dispatching', 'completed', 'partial', 'cancelled', 'suppressed'] | None = None, limit: Annotated[int, Ge(ge=1), Le(le=200)] = 100)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class bedrock_server_manager.api.models.diagnostics.GetDiagnosticActivityResponse(*, scope: ~typing.Literal['application'] = 'application', issues: ~typing.Annotated[list[~bedrock_server_manager.diagnostics.models.DiagnosticIssue], ~annotated_types.MaxLen(max_length=3)] = <factory>, events: ~bedrock_server_manager.events.models.EventDiagnostics | None = None, operations: ~bedrock_server_manager.events.operations.OperationActivity | None = None, subscriptions: ~bedrock_server_manager.events.models.EventSubscriptions | None = None, truncated: bool = False)
model_config = {'allow_inf_nan': False, 'extra': 'forbid', 'frozen': True, 'hide_input_in_errors': True, 'revalidate_instances': 'always', 'strict': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].