amazonka-sagemaker-metrics-2.0: Amazon SageMaker Metrics 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.SageMakerMetrics

Description

Derived from API version 2022-09-30 of the AWS service descriptions, licensed under Apache 2.0.

Contains all data plane API operations and data types for Amazon SageMaker Metrics. Use these APIs to put and retrieve (get) features related to your training run.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2022-09-30 of the Amazon SageMaker Metrics Service SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by SageMakerMetrics.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

BatchPutMetrics

data BatchPutMetrics Source #

See: newBatchPutMetrics smart constructor.

Instances

Instances details
ToJSON BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

ToHeaders BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

ToPath BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

ToQuery BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

AWSRequest BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

Associated Types

type AWSResponse BatchPutMetrics #

Generic BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

Associated Types

type Rep BatchPutMetrics :: Type -> Type #

Read BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

Show BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

NFData BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

Methods

rnf :: BatchPutMetrics -> () #

Eq BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

Hashable BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

type AWSResponse BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

type Rep BatchPutMetrics Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

type Rep BatchPutMetrics = D1 ('MetaData "BatchPutMetrics" "Amazonka.SageMakerMetrics.BatchPutMetrics" "amazonka-sagemaker-metrics-2.0-4qauj14cjYdITOO69DPFt9" 'False) (C1 ('MetaCons "BatchPutMetrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trialComponentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metricData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty RawMetricData))))

newBatchPutMetrics Source #

Create a value of BatchPutMetrics 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:trialComponentName:BatchPutMetrics', batchPutMetrics_trialComponentName - The name of the Trial Component to associate with the metrics.

$sel:metricData:BatchPutMetrics', batchPutMetrics_metricData - A list of raw metric values to put.

data BatchPutMetricsResponse Source #

See: newBatchPutMetricsResponse smart constructor.

Instances

Instances details
Generic BatchPutMetricsResponse Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

Associated Types

type Rep BatchPutMetricsResponse :: Type -> Type #

Read BatchPutMetricsResponse Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

Show BatchPutMetricsResponse Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

NFData BatchPutMetricsResponse Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

Methods

rnf :: BatchPutMetricsResponse -> () #

Eq BatchPutMetricsResponse Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

type Rep BatchPutMetricsResponse Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.BatchPutMetrics

type Rep BatchPutMetricsResponse = D1 ('MetaData "BatchPutMetricsResponse" "Amazonka.SageMakerMetrics.BatchPutMetrics" "amazonka-sagemaker-metrics-2.0-4qauj14cjYdITOO69DPFt9" 'False) (C1 ('MetaCons "BatchPutMetricsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty BatchPutMetricsError))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchPutMetricsResponse Source #

Create a value of BatchPutMetricsResponse 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:errors:BatchPutMetricsResponse', batchPutMetricsResponse_errors - Lists any errors that occur when inserting metric data.

$sel:httpStatus:BatchPutMetricsResponse', batchPutMetricsResponse_httpStatus - The response's http status code.

Types

PutMetricsErrorCode

newtype PutMetricsErrorCode Source #

Instances

Instances details
FromJSON PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

FromJSONKey PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToJSON PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToJSONKey PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToByteString PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToHeader PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToLog PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToQuery PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

FromText PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToText PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

FromXML PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

ToXML PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Generic PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Associated Types

type Rep PutMetricsErrorCode :: Type -> Type #

Read PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Show PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

NFData PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Methods

rnf :: PutMetricsErrorCode -> () #

Eq PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Ord PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

Hashable PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

type Rep PutMetricsErrorCode Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode

type Rep PutMetricsErrorCode = D1 ('MetaData "PutMetricsErrorCode" "Amazonka.SageMakerMetrics.Types.PutMetricsErrorCode" "amazonka-sagemaker-metrics-2.0-4qauj14cjYdITOO69DPFt9" 'True) (C1 ('MetaCons "PutMetricsErrorCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPutMetricsErrorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BatchPutMetricsError

data BatchPutMetricsError Source #

An error that occured when putting the metric data.

See: newBatchPutMetricsError smart constructor.

Instances

Instances details
FromJSON BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

Generic BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

Associated Types

type Rep BatchPutMetricsError :: Type -> Type #

Read BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

Show BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

NFData BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

Methods

rnf :: BatchPutMetricsError -> () #

Eq BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

Hashable BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

type Rep BatchPutMetricsError Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.BatchPutMetricsError

type Rep BatchPutMetricsError = D1 ('MetaData "BatchPutMetricsError" "Amazonka.SageMakerMetrics.Types.BatchPutMetricsError" "amazonka-sagemaker-metrics-2.0-4qauj14cjYdITOO69DPFt9" 'False) (C1 ('MetaCons "BatchPutMetricsError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PutMetricsErrorCode)) :*: S1 ('MetaSel ('Just "metricIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newBatchPutMetricsError :: BatchPutMetricsError Source #

Create a value of BatchPutMetricsError 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:code:BatchPutMetricsError', batchPutMetricsError_code - The error code of an error that occured when attempting to put metrics.

  • METRIC_LIMIT_EXCEEDED: The maximum amount of metrics per resource is exceeded.
  • INTERNAL_ERROR: An internal error occured.
  • VALIDATION_ERROR: The metric data failed validation.
  • CONFLICT_ERROR: Multiple requests attempted to modify the same data simultaneously.

$sel:metricIndex:BatchPutMetricsError', batchPutMetricsError_metricIndex - An index that corresponds to the metric in the request.

RawMetricData

data RawMetricData Source #

The raw metric data to associate with the resource.

See: newRawMetricData smart constructor.

Instances

Instances details
ToJSON RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

Generic RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

Associated Types

type Rep RawMetricData :: Type -> Type #

Read RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

Show RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

NFData RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

Methods

rnf :: RawMetricData -> () #

Eq RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

Hashable RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

type Rep RawMetricData Source # 
Instance details

Defined in Amazonka.SageMakerMetrics.Types.RawMetricData

type Rep RawMetricData = D1 ('MetaData "RawMetricData" "Amazonka.SageMakerMetrics.Types.RawMetricData" "amazonka-sagemaker-metrics-2.0-4qauj14cjYdITOO69DPFt9" 'False) (C1 ('MetaCons "RawMetricData'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "step") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double))))

newRawMetricData Source #

Create a value of RawMetricData 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:step:RawMetricData', rawMetricData_step - The metric step (epoch).

$sel:metricName:RawMetricData', rawMetricData_metricName - The name of the metric.

$sel:timestamp:RawMetricData', rawMetricData_timestamp - The time that the metric was recorded.

$sel:value:RawMetricData', rawMetricData_value - The metric value.