| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SageMakerMetrics.BatchPutMetrics
Description
Used to ingest training metrics into SageMaker. These metrics can be
visualized in SageMaker Studio and retrieved with the GetMetrics API.
Synopsis
- data BatchPutMetrics = BatchPutMetrics' {}
- newBatchPutMetrics :: Text -> NonEmpty RawMetricData -> BatchPutMetrics
- batchPutMetrics_trialComponentName :: Lens' BatchPutMetrics Text
- batchPutMetrics_metricData :: Lens' BatchPutMetrics (NonEmpty RawMetricData)
- data BatchPutMetricsResponse = BatchPutMetricsResponse' {}
- newBatchPutMetricsResponse :: Int -> BatchPutMetricsResponse
- batchPutMetricsResponse_errors :: Lens' BatchPutMetricsResponse (Maybe (NonEmpty BatchPutMetricsError))
- batchPutMetricsResponse_httpStatus :: Lens' BatchPutMetricsResponse Int
Creating a Request
data BatchPutMetrics Source #
See: newBatchPutMetrics smart constructor.
Constructors
| BatchPutMetrics' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> NonEmpty RawMetricData | |
| -> BatchPutMetrics |
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.
Request Lenses
batchPutMetrics_trialComponentName :: Lens' BatchPutMetrics Text Source #
The name of the Trial Component to associate with the metrics.
batchPutMetrics_metricData :: Lens' BatchPutMetrics (NonEmpty RawMetricData) Source #
A list of raw metric values to put.
Destructuring the Response
data BatchPutMetricsResponse Source #
See: newBatchPutMetricsResponse smart constructor.
Constructors
| BatchPutMetricsResponse' | |
Fields
| |
Instances
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.
Response Lenses
batchPutMetricsResponse_errors :: Lens' BatchPutMetricsResponse (Maybe (NonEmpty BatchPutMetricsError)) Source #
Lists any errors that occur when inserting metric data.
batchPutMetricsResponse_httpStatus :: Lens' BatchPutMetricsResponse Int Source #
The response's http status code.