GetHealthcheckResponse

pydantic model openapi_client.models.get_healthcheck_response.GetHealthcheckResponse

GetHealthcheckResponse

Fields:
field dwh_health: Optional[StrictStr] = None (alias 'DWHHealth')

Redshift cluster/workgroup status , or undetermined when DWH is not Redshift or the probe fails.

field dwh_maintenance_window: Optional[StrictStr] = None (alias 'DWHMaintenanceWindow')

Preferred maintenance window, N/A for serverless, unknown when unset, or undetermined when the probe fails.

field dwh: Optional[StrictStr] = None (alias 'DWH')

Configured DWH type (for example redshift).

field open_search_health: Optional[StrictStr] = None (alias 'OpenSearchHealth')

Cluster status (for example green), N/A when OpenSearch is not configured, or undetermined on probe failure.

field s3_health: Optional[StrictStr] = None (alias 'S3Health')

available or undetermined.

field systems_manager_health: Optional[StrictStr] = None (alias 'SystemsManagerHealth')

available or undetermined.

field datasunrise_health: Optional[StrictStr] = None (alias 'DatasunriseHealth')

Present in older specs; the current handler does not return this field.

field dynamodb_health: Optional[StrictStr] = None (alias 'DynamodbHealth')

USER table status, or undetermined on probe failure.

field squid_proxy_health: Optional[StrictStr] = None (alias 'SquidProxyHealth')

available or not available.

field smtp: Optional[StrictStr] = None (alias 'SMTP')

Mail-server HealthStatus, undetermined when no mail-server rows exist, or not available when none are enabled or the probe fails.

to_str()

Returns the string representation of the model using alias

Return type:

str

to_json()

Returns the JSON representation of the model using alias

Return type:

str

classmethod from_json(json_str)

Create an instance of GetHealthcheckResponse from a JSON string

Return type:

Optional[Self]

to_dict()

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic’s self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

Return type:

Dict[str, Any]

classmethod from_dict(obj)

Create an instance of GetHealthcheckResponse from a dict

Return type:

Optional[Self]