amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.ListMonitoringAlerts

Description

Gets the alerts for a single monitoring schedule.

This operation returns paginated results.

Synopsis

Creating a Request

data ListMonitoringAlerts Source #

See: newListMonitoringAlerts smart constructor.

Constructors

ListMonitoringAlerts' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to display. The default is 100.

  • nextToken :: Maybe Text

    If the result of the previous ListMonitoringAlerts request was truncated, the response includes a NextToken. To retrieve the next set of alerts in the history, use the token in the next request.

  • monitoringScheduleName :: Text

    The name of a monitoring schedule.

Instances

Instances details
ToJSON ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

ToHeaders ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

ToPath ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

ToQuery ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

AWSPager ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

AWSRequest ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

Associated Types

type AWSResponse ListMonitoringAlerts #

Generic ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

Associated Types

type Rep ListMonitoringAlerts :: Type -> Type #

Read ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

Show ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

NFData ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

Methods

rnf :: ListMonitoringAlerts -> () #

Eq ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

Hashable ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

type AWSResponse ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

type Rep ListMonitoringAlerts Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

type Rep ListMonitoringAlerts = D1 ('MetaData "ListMonitoringAlerts" "Amazonka.SageMaker.ListMonitoringAlerts" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ListMonitoringAlerts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "monitoringScheduleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListMonitoringAlerts Source #

Create a value of ListMonitoringAlerts with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:maxResults:ListMonitoringAlerts', listMonitoringAlerts_maxResults - The maximum number of results to display. The default is 100.

ListMonitoringAlerts, listMonitoringAlerts_nextToken - If the result of the previous ListMonitoringAlerts request was truncated, the response includes a NextToken. To retrieve the next set of alerts in the history, use the token in the next request.

ListMonitoringAlerts, listMonitoringAlerts_monitoringScheduleName - The name of a monitoring schedule.

Request Lenses

listMonitoringAlerts_maxResults :: Lens' ListMonitoringAlerts (Maybe Natural) Source #

The maximum number of results to display. The default is 100.

listMonitoringAlerts_nextToken :: Lens' ListMonitoringAlerts (Maybe Text) Source #

If the result of the previous ListMonitoringAlerts request was truncated, the response includes a NextToken. To retrieve the next set of alerts in the history, use the token in the next request.

Destructuring the Response

data ListMonitoringAlertsResponse Source #

See: newListMonitoringAlertsResponse smart constructor.

Constructors

ListMonitoringAlertsResponse' 

Fields

Instances

Instances details
Generic ListMonitoringAlertsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

Associated Types

type Rep ListMonitoringAlertsResponse :: Type -> Type #

Read ListMonitoringAlertsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

Show ListMonitoringAlertsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

NFData ListMonitoringAlertsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

Eq ListMonitoringAlertsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

type Rep ListMonitoringAlertsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListMonitoringAlerts

type Rep ListMonitoringAlertsResponse = D1 ('MetaData "ListMonitoringAlertsResponse" "Amazonka.SageMaker.ListMonitoringAlerts" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ListMonitoringAlertsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "monitoringAlertSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty MonitoringAlertSummary))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListMonitoringAlertsResponse Source #

Create a value of ListMonitoringAlertsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ListMonitoringAlertsResponse, listMonitoringAlertsResponse_monitoringAlertSummaries - A JSON array where each element is a summary for a monitoring alert.

ListMonitoringAlerts, listMonitoringAlertsResponse_nextToken - If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in the subsequent request.

$sel:httpStatus:ListMonitoringAlertsResponse', listMonitoringAlertsResponse_httpStatus - The response's http status code.

Response Lenses

listMonitoringAlertsResponse_nextToken :: Lens' ListMonitoringAlertsResponse (Maybe Text) Source #

If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in the subsequent request.