Documentation ¶
Overview ¶
Package lookoutmetrics provides the client and types for making API requests to Amazon Lookout for Metrics.
This is the Amazon Lookout for Metrics API Reference. For an introduction to the service with tutorials for getting started, visit Amazon Lookout for Metrics Developer Guide (https://docs.aws.amazon.com/lookoutmetrics/latest/dev).
See https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25 for more information on this service.
See lookoutmetrics package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/lookoutmetrics/
Using the Client ¶
To contact Amazon Lookout for Metrics with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Lookout for Metrics client LookoutMetrics for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/lookoutmetrics/#New
Index ¶
- Constants
- func AggregationFunction_Values() []string
- func AlertStatus_Values() []string
- func AlertType_Values() []string
- func AnomalyDetectionTaskStatus_Values() []string
- func AnomalyDetectorStatus_Values() []string
- func CSVFileCompression_Values() []string
- func Frequency_Values() []string
- func JsonFileCompression_Values() []string
- func ValidationExceptionReason_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type Action
- type ActivateAnomalyDetectorInput
- type ActivateAnomalyDetectorOutput
- type Alert
- func (s Alert) GoString() string
- func (s *Alert) SetAction(v *Action) *Alert
- func (s *Alert) SetAlertArn(v string) *Alert
- func (s *Alert) SetAlertDescription(v string) *Alert
- func (s *Alert) SetAlertName(v string) *Alert
- func (s *Alert) SetAlertSensitivityThreshold(v int64) *Alert
- func (s *Alert) SetAlertStatus(v string) *Alert
- func (s *Alert) SetAlertType(v string) *Alert
- func (s *Alert) SetAnomalyDetectorArn(v string) *Alert
- func (s *Alert) SetCreationTime(v time.Time) *Alert
- func (s *Alert) SetLastModificationTime(v time.Time) *Alert
- func (s Alert) String() string
- type AlertSummary
- func (s AlertSummary) GoString() string
- func (s *AlertSummary) SetAlertArn(v string) *AlertSummary
- func (s *AlertSummary) SetAlertName(v string) *AlertSummary
- func (s *AlertSummary) SetAlertSensitivityThreshold(v int64) *AlertSummary
- func (s *AlertSummary) SetAlertStatus(v string) *AlertSummary
- func (s *AlertSummary) SetAlertType(v string) *AlertSummary
- func (s *AlertSummary) SetAnomalyDetectorArn(v string) *AlertSummary
- func (s *AlertSummary) SetCreationTime(v time.Time) *AlertSummary
- func (s *AlertSummary) SetLastModificationTime(v time.Time) *AlertSummary
- func (s *AlertSummary) SetTags(v map[string]*string) *AlertSummary
- func (s AlertSummary) String() string
- type AnomalyDetectorConfig
- type AnomalyDetectorConfigSummary
- type AnomalyDetectorSummary
- func (s AnomalyDetectorSummary) GoString() string
- func (s *AnomalyDetectorSummary) SetAnomalyDetectorArn(v string) *AnomalyDetectorSummary
- func (s *AnomalyDetectorSummary) SetAnomalyDetectorDescription(v string) *AnomalyDetectorSummary
- func (s *AnomalyDetectorSummary) SetAnomalyDetectorName(v string) *AnomalyDetectorSummary
- func (s *AnomalyDetectorSummary) SetCreationTime(v time.Time) *AnomalyDetectorSummary
- func (s *AnomalyDetectorSummary) SetLastModificationTime(v time.Time) *AnomalyDetectorSummary
- func (s *AnomalyDetectorSummary) SetStatus(v string) *AnomalyDetectorSummary
- func (s *AnomalyDetectorSummary) SetTags(v map[string]*string) *AnomalyDetectorSummary
- func (s AnomalyDetectorSummary) String() string
- type AnomalyGroup
- func (s AnomalyGroup) GoString() string
- func (s *AnomalyGroup) SetAnomalyGroupId(v string) *AnomalyGroup
- func (s *AnomalyGroup) SetAnomalyGroupScore(v float64) *AnomalyGroup
- func (s *AnomalyGroup) SetEndTime(v string) *AnomalyGroup
- func (s *AnomalyGroup) SetMetricLevelImpactList(v []*MetricLevelImpact) *AnomalyGroup
- func (s *AnomalyGroup) SetPrimaryMetricName(v string) *AnomalyGroup
- func (s *AnomalyGroup) SetStartTime(v string) *AnomalyGroup
- func (s AnomalyGroup) String() string
- type AnomalyGroupStatistics
- func (s AnomalyGroupStatistics) GoString() string
- func (s *AnomalyGroupStatistics) SetEvaluationStartDate(v string) *AnomalyGroupStatistics
- func (s *AnomalyGroupStatistics) SetItemizedMetricStatsList(v []*ItemizedMetricStats) *AnomalyGroupStatistics
- func (s *AnomalyGroupStatistics) SetTotalCount(v int64) *AnomalyGroupStatistics
- func (s AnomalyGroupStatistics) String() string
- type AnomalyGroupSummary
- func (s AnomalyGroupSummary) GoString() string
- func (s *AnomalyGroupSummary) SetAnomalyGroupId(v string) *AnomalyGroupSummary
- func (s *AnomalyGroupSummary) SetAnomalyGroupScore(v float64) *AnomalyGroupSummary
- func (s *AnomalyGroupSummary) SetEndTime(v string) *AnomalyGroupSummary
- func (s *AnomalyGroupSummary) SetPrimaryMetricName(v string) *AnomalyGroupSummary
- func (s *AnomalyGroupSummary) SetStartTime(v string) *AnomalyGroupSummary
- func (s AnomalyGroupSummary) String() string
- type AnomalyGroupTimeSeries
- func (s AnomalyGroupTimeSeries) GoString() string
- func (s *AnomalyGroupTimeSeries) SetAnomalyGroupId(v string) *AnomalyGroupTimeSeries
- func (s *AnomalyGroupTimeSeries) SetTimeSeriesId(v string) *AnomalyGroupTimeSeries
- func (s AnomalyGroupTimeSeries) String() string
- func (s *AnomalyGroupTimeSeries) Validate() error
- type AnomalyGroupTimeSeriesFeedback
- func (s AnomalyGroupTimeSeriesFeedback) GoString() string
- func (s *AnomalyGroupTimeSeriesFeedback) SetAnomalyGroupId(v string) *AnomalyGroupTimeSeriesFeedback
- func (s *AnomalyGroupTimeSeriesFeedback) SetIsAnomaly(v bool) *AnomalyGroupTimeSeriesFeedback
- func (s *AnomalyGroupTimeSeriesFeedback) SetTimeSeriesId(v string) *AnomalyGroupTimeSeriesFeedback
- func (s AnomalyGroupTimeSeriesFeedback) String() string
- func (s *AnomalyGroupTimeSeriesFeedback) Validate() error
- type AppFlowConfig
- type BackTestAnomalyDetectorInput
- type BackTestAnomalyDetectorOutput
- type CloudWatchConfig
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type ContributionMatrix
- type CreateAlertInput
- func (s CreateAlertInput) GoString() string
- func (s *CreateAlertInput) SetAction(v *Action) *CreateAlertInput
- func (s *CreateAlertInput) SetAlertDescription(v string) *CreateAlertInput
- func (s *CreateAlertInput) SetAlertName(v string) *CreateAlertInput
- func (s *CreateAlertInput) SetAlertSensitivityThreshold(v int64) *CreateAlertInput
- func (s *CreateAlertInput) SetAnomalyDetectorArn(v string) *CreateAlertInput
- func (s *CreateAlertInput) SetTags(v map[string]*string) *CreateAlertInput
- func (s CreateAlertInput) String() string
- func (s *CreateAlertInput) Validate() error
- type CreateAlertOutput
- type CreateAnomalyDetectorInput
- func (s CreateAnomalyDetectorInput) GoString() string
- func (s *CreateAnomalyDetectorInput) SetAnomalyDetectorConfig(v *AnomalyDetectorConfig) *CreateAnomalyDetectorInput
- func (s *CreateAnomalyDetectorInput) SetAnomalyDetectorDescription(v string) *CreateAnomalyDetectorInput
- func (s *CreateAnomalyDetectorInput) SetAnomalyDetectorName(v string) *CreateAnomalyDetectorInput
- func (s *CreateAnomalyDetectorInput) SetKmsKeyArn(v string) *CreateAnomalyDetectorInput
- func (s *CreateAnomalyDetectorInput) SetTags(v map[string]*string) *CreateAnomalyDetectorInput
- func (s CreateAnomalyDetectorInput) String() string
- func (s *CreateAnomalyDetectorInput) Validate() error
- type CreateAnomalyDetectorOutput
- type CreateMetricSetInput
- func (s CreateMetricSetInput) GoString() string
- func (s *CreateMetricSetInput) SetAnomalyDetectorArn(v string) *CreateMetricSetInput
- func (s *CreateMetricSetInput) SetDimensionList(v []*string) *CreateMetricSetInput
- func (s *CreateMetricSetInput) SetMetricList(v []*Metric) *CreateMetricSetInput
- func (s *CreateMetricSetInput) SetMetricSetDescription(v string) *CreateMetricSetInput
- func (s *CreateMetricSetInput) SetMetricSetFrequency(v string) *CreateMetricSetInput
- func (s *CreateMetricSetInput) SetMetricSetName(v string) *CreateMetricSetInput
- func (s *CreateMetricSetInput) SetMetricSource(v *MetricSource) *CreateMetricSetInput
- func (s *CreateMetricSetInput) SetOffset(v int64) *CreateMetricSetInput
- func (s *CreateMetricSetInput) SetTags(v map[string]*string) *CreateMetricSetInput
- func (s *CreateMetricSetInput) SetTimestampColumn(v *TimestampColumn) *CreateMetricSetInput
- func (s *CreateMetricSetInput) SetTimezone(v string) *CreateMetricSetInput
- func (s CreateMetricSetInput) String() string
- func (s *CreateMetricSetInput) Validate() error
- type CreateMetricSetOutput
- type CsvFormatDescriptor
- func (s CsvFormatDescriptor) GoString() string
- func (s *CsvFormatDescriptor) SetCharset(v string) *CsvFormatDescriptor
- func (s *CsvFormatDescriptor) SetContainsHeader(v bool) *CsvFormatDescriptor
- func (s *CsvFormatDescriptor) SetDelimiter(v string) *CsvFormatDescriptor
- func (s *CsvFormatDescriptor) SetFileCompression(v string) *CsvFormatDescriptor
- func (s *CsvFormatDescriptor) SetHeaderList(v []*string) *CsvFormatDescriptor
- func (s *CsvFormatDescriptor) SetQuoteSymbol(v string) *CsvFormatDescriptor
- func (s CsvFormatDescriptor) String() string
- type DeleteAlertInput
- type DeleteAlertOutput
- type DeleteAnomalyDetectorInput
- type DeleteAnomalyDetectorOutput
- type DescribeAlertInput
- type DescribeAlertOutput
- type DescribeAnomalyDetectionExecutionsInput
- func (s DescribeAnomalyDetectionExecutionsInput) GoString() string
- func (s *DescribeAnomalyDetectionExecutionsInput) SetAnomalyDetectorArn(v string) *DescribeAnomalyDetectionExecutionsInput
- func (s *DescribeAnomalyDetectionExecutionsInput) SetMaxResults(v int64) *DescribeAnomalyDetectionExecutionsInput
- func (s *DescribeAnomalyDetectionExecutionsInput) SetNextToken(v string) *DescribeAnomalyDetectionExecutionsInput
- func (s *DescribeAnomalyDetectionExecutionsInput) SetTimestamp(v string) *DescribeAnomalyDetectionExecutionsInput
- func (s DescribeAnomalyDetectionExecutionsInput) String() string
- func (s *DescribeAnomalyDetectionExecutionsInput) Validate() error
- type DescribeAnomalyDetectionExecutionsOutput
- func (s DescribeAnomalyDetectionExecutionsOutput) GoString() string
- func (s *DescribeAnomalyDetectionExecutionsOutput) SetExecutionList(v []*ExecutionStatus) *DescribeAnomalyDetectionExecutionsOutput
- func (s *DescribeAnomalyDetectionExecutionsOutput) SetNextToken(v string) *DescribeAnomalyDetectionExecutionsOutput
- func (s DescribeAnomalyDetectionExecutionsOutput) String() string
- type DescribeAnomalyDetectorInput
- type DescribeAnomalyDetectorOutput
- func (s DescribeAnomalyDetectorOutput) GoString() string
- func (s *DescribeAnomalyDetectorOutput) SetAnomalyDetectorArn(v string) *DescribeAnomalyDetectorOutput
- func (s *DescribeAnomalyDetectorOutput) SetAnomalyDetectorConfig(v *AnomalyDetectorConfigSummary) *DescribeAnomalyDetectorOutput
- func (s *DescribeAnomalyDetectorOutput) SetAnomalyDetectorDescription(v string) *DescribeAnomalyDetectorOutput
- func (s *DescribeAnomalyDetectorOutput) SetAnomalyDetectorName(v string) *DescribeAnomalyDetectorOutput
- func (s *DescribeAnomalyDetectorOutput) SetCreationTime(v time.Time) *DescribeAnomalyDetectorOutput
- func (s *DescribeAnomalyDetectorOutput) SetFailureReason(v string) *DescribeAnomalyDetectorOutput
- func (s *DescribeAnomalyDetectorOutput) SetKmsKeyArn(v string) *DescribeAnomalyDetectorOutput
- func (s *DescribeAnomalyDetectorOutput) SetLastModificationTime(v time.Time) *DescribeAnomalyDetectorOutput
- func (s *DescribeAnomalyDetectorOutput) SetStatus(v string) *DescribeAnomalyDetectorOutput
- func (s DescribeAnomalyDetectorOutput) String() string
- type DescribeMetricSetInput
- type DescribeMetricSetOutput
- func (s DescribeMetricSetOutput) GoString() string
- func (s *DescribeMetricSetOutput) SetAnomalyDetectorArn(v string) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetCreationTime(v time.Time) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetDimensionList(v []*string) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetLastModificationTime(v time.Time) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetMetricList(v []*Metric) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetMetricSetArn(v string) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetMetricSetDescription(v string) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetMetricSetFrequency(v string) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetMetricSetName(v string) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetMetricSource(v *MetricSource) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetOffset(v int64) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetTimestampColumn(v *TimestampColumn) *DescribeMetricSetOutput
- func (s *DescribeMetricSetOutput) SetTimezone(v string) *DescribeMetricSetOutput
- func (s DescribeMetricSetOutput) String() string
- type DimensionContribution
- type DimensionNameValue
- type DimensionValueContribution
- type ExecutionStatus
- type FileFormatDescriptor
- type GetAnomalyGroupInput
- func (s GetAnomalyGroupInput) GoString() string
- func (s *GetAnomalyGroupInput) SetAnomalyDetectorArn(v string) *GetAnomalyGroupInput
- func (s *GetAnomalyGroupInput) SetAnomalyGroupId(v string) *GetAnomalyGroupInput
- func (s GetAnomalyGroupInput) String() string
- func (s *GetAnomalyGroupInput) Validate() error
- type GetAnomalyGroupOutput
- type GetFeedbackInput
- func (s GetFeedbackInput) GoString() string
- func (s *GetFeedbackInput) SetAnomalyDetectorArn(v string) *GetFeedbackInput
- func (s *GetFeedbackInput) SetAnomalyGroupTimeSeriesFeedback(v *AnomalyGroupTimeSeries) *GetFeedbackInput
- func (s *GetFeedbackInput) SetMaxResults(v int64) *GetFeedbackInput
- func (s *GetFeedbackInput) SetNextToken(v string) *GetFeedbackInput
- func (s GetFeedbackInput) String() string
- func (s *GetFeedbackInput) Validate() error
- type GetFeedbackOutput
- type GetSampleDataInput
- type GetSampleDataOutput
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type ItemizedMetricStats
- type JsonFormatDescriptor
- type LambdaConfiguration
- type ListAlertsInput
- func (s ListAlertsInput) GoString() string
- func (s *ListAlertsInput) SetAnomalyDetectorArn(v string) *ListAlertsInput
- func (s *ListAlertsInput) SetMaxResults(v int64) *ListAlertsInput
- func (s *ListAlertsInput) SetNextToken(v string) *ListAlertsInput
- func (s ListAlertsInput) String() string
- func (s *ListAlertsInput) Validate() error
- type ListAlertsOutput
- type ListAnomalyDetectorsInput
- func (s ListAnomalyDetectorsInput) GoString() string
- func (s *ListAnomalyDetectorsInput) SetMaxResults(v int64) *ListAnomalyDetectorsInput
- func (s *ListAnomalyDetectorsInput) SetNextToken(v string) *ListAnomalyDetectorsInput
- func (s ListAnomalyDetectorsInput) String() string
- func (s *ListAnomalyDetectorsInput) Validate() error
- type ListAnomalyDetectorsOutput
- func (s ListAnomalyDetectorsOutput) GoString() string
- func (s *ListAnomalyDetectorsOutput) SetAnomalyDetectorSummaryList(v []*AnomalyDetectorSummary) *ListAnomalyDetectorsOutput
- func (s *ListAnomalyDetectorsOutput) SetNextToken(v string) *ListAnomalyDetectorsOutput
- func (s ListAnomalyDetectorsOutput) String() string
- type ListAnomalyGroupSummariesInput
- func (s ListAnomalyGroupSummariesInput) GoString() string
- func (s *ListAnomalyGroupSummariesInput) SetAnomalyDetectorArn(v string) *ListAnomalyGroupSummariesInput
- func (s *ListAnomalyGroupSummariesInput) SetMaxResults(v int64) *ListAnomalyGroupSummariesInput
- func (s *ListAnomalyGroupSummariesInput) SetNextToken(v string) *ListAnomalyGroupSummariesInput
- func (s *ListAnomalyGroupSummariesInput) SetSensitivityThreshold(v int64) *ListAnomalyGroupSummariesInput
- func (s ListAnomalyGroupSummariesInput) String() string
- func (s *ListAnomalyGroupSummariesInput) Validate() error
- type ListAnomalyGroupSummariesOutput
- func (s ListAnomalyGroupSummariesOutput) GoString() string
- func (s *ListAnomalyGroupSummariesOutput) SetAnomalyGroupStatistics(v *AnomalyGroupStatistics) *ListAnomalyGroupSummariesOutput
- func (s *ListAnomalyGroupSummariesOutput) SetAnomalyGroupSummaryList(v []*AnomalyGroupSummary) *ListAnomalyGroupSummariesOutput
- func (s *ListAnomalyGroupSummariesOutput) SetNextToken(v string) *ListAnomalyGroupSummariesOutput
- func (s ListAnomalyGroupSummariesOutput) String() string
- type ListAnomalyGroupTimeSeriesInput
- func (s ListAnomalyGroupTimeSeriesInput) GoString() string
- func (s *ListAnomalyGroupTimeSeriesInput) SetAnomalyDetectorArn(v string) *ListAnomalyGroupTimeSeriesInput
- func (s *ListAnomalyGroupTimeSeriesInput) SetAnomalyGroupId(v string) *ListAnomalyGroupTimeSeriesInput
- func (s *ListAnomalyGroupTimeSeriesInput) SetMaxResults(v int64) *ListAnomalyGroupTimeSeriesInput
- func (s *ListAnomalyGroupTimeSeriesInput) SetMetricName(v string) *ListAnomalyGroupTimeSeriesInput
- func (s *ListAnomalyGroupTimeSeriesInput) SetNextToken(v string) *ListAnomalyGroupTimeSeriesInput
- func (s ListAnomalyGroupTimeSeriesInput) String() string
- func (s *ListAnomalyGroupTimeSeriesInput) Validate() error
- type ListAnomalyGroupTimeSeriesOutput
- func (s ListAnomalyGroupTimeSeriesOutput) GoString() string
- func (s *ListAnomalyGroupTimeSeriesOutput) SetAnomalyGroupId(v string) *ListAnomalyGroupTimeSeriesOutput
- func (s *ListAnomalyGroupTimeSeriesOutput) SetMetricName(v string) *ListAnomalyGroupTimeSeriesOutput
- func (s *ListAnomalyGroupTimeSeriesOutput) SetNextToken(v string) *ListAnomalyGroupTimeSeriesOutput
- func (s *ListAnomalyGroupTimeSeriesOutput) SetTimeSeriesList(v []*TimeSeries) *ListAnomalyGroupTimeSeriesOutput
- func (s *ListAnomalyGroupTimeSeriesOutput) SetTimestampList(v []*string) *ListAnomalyGroupTimeSeriesOutput
- func (s ListAnomalyGroupTimeSeriesOutput) String() string
- type ListMetricSetsInput
- func (s ListMetricSetsInput) GoString() string
- func (s *ListMetricSetsInput) SetAnomalyDetectorArn(v string) *ListMetricSetsInput
- func (s *ListMetricSetsInput) SetMaxResults(v int64) *ListMetricSetsInput
- func (s *ListMetricSetsInput) SetNextToken(v string) *ListMetricSetsInput
- func (s ListMetricSetsInput) String() string
- func (s *ListMetricSetsInput) Validate() error
- type ListMetricSetsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type LookoutMetrics
- func (c *LookoutMetrics) ActivateAnomalyDetector(input *ActivateAnomalyDetectorInput) (*ActivateAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) ActivateAnomalyDetectorRequest(input *ActivateAnomalyDetectorInput) (req *request.Request, output *ActivateAnomalyDetectorOutput)
- func (c *LookoutMetrics) ActivateAnomalyDetectorWithContext(ctx aws.Context, input *ActivateAnomalyDetectorInput, opts ...request.Option) (*ActivateAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) BackTestAnomalyDetector(input *BackTestAnomalyDetectorInput) (*BackTestAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) BackTestAnomalyDetectorRequest(input *BackTestAnomalyDetectorInput) (req *request.Request, output *BackTestAnomalyDetectorOutput)
- func (c *LookoutMetrics) BackTestAnomalyDetectorWithContext(ctx aws.Context, input *BackTestAnomalyDetectorInput, opts ...request.Option) (*BackTestAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) CreateAlert(input *CreateAlertInput) (*CreateAlertOutput, error)
- func (c *LookoutMetrics) CreateAlertRequest(input *CreateAlertInput) (req *request.Request, output *CreateAlertOutput)
- func (c *LookoutMetrics) CreateAlertWithContext(ctx aws.Context, input *CreateAlertInput, opts ...request.Option) (*CreateAlertOutput, error)
- func (c *LookoutMetrics) CreateAnomalyDetector(input *CreateAnomalyDetectorInput) (*CreateAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) CreateAnomalyDetectorRequest(input *CreateAnomalyDetectorInput) (req *request.Request, output *CreateAnomalyDetectorOutput)
- func (c *LookoutMetrics) CreateAnomalyDetectorWithContext(ctx aws.Context, input *CreateAnomalyDetectorInput, opts ...request.Option) (*CreateAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) CreateMetricSet(input *CreateMetricSetInput) (*CreateMetricSetOutput, error)
- func (c *LookoutMetrics) CreateMetricSetRequest(input *CreateMetricSetInput) (req *request.Request, output *CreateMetricSetOutput)
- func (c *LookoutMetrics) CreateMetricSetWithContext(ctx aws.Context, input *CreateMetricSetInput, opts ...request.Option) (*CreateMetricSetOutput, error)
- func (c *LookoutMetrics) DeleteAlert(input *DeleteAlertInput) (*DeleteAlertOutput, error)
- func (c *LookoutMetrics) DeleteAlertRequest(input *DeleteAlertInput) (req *request.Request, output *DeleteAlertOutput)
- func (c *LookoutMetrics) DeleteAlertWithContext(ctx aws.Context, input *DeleteAlertInput, opts ...request.Option) (*DeleteAlertOutput, error)
- func (c *LookoutMetrics) DeleteAnomalyDetector(input *DeleteAnomalyDetectorInput) (*DeleteAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) DeleteAnomalyDetectorRequest(input *DeleteAnomalyDetectorInput) (req *request.Request, output *DeleteAnomalyDetectorOutput)
- func (c *LookoutMetrics) DeleteAnomalyDetectorWithContext(ctx aws.Context, input *DeleteAnomalyDetectorInput, opts ...request.Option) (*DeleteAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) DescribeAlert(input *DescribeAlertInput) (*DescribeAlertOutput, error)
- func (c *LookoutMetrics) DescribeAlertRequest(input *DescribeAlertInput) (req *request.Request, output *DescribeAlertOutput)
- func (c *LookoutMetrics) DescribeAlertWithContext(ctx aws.Context, input *DescribeAlertInput, opts ...request.Option) (*DescribeAlertOutput, error)
- func (c *LookoutMetrics) DescribeAnomalyDetectionExecutions(input *DescribeAnomalyDetectionExecutionsInput) (*DescribeAnomalyDetectionExecutionsOutput, error)
- func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsPages(input *DescribeAnomalyDetectionExecutionsInput, ...) error
- func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsPagesWithContext(ctx aws.Context, input *DescribeAnomalyDetectionExecutionsInput, ...) error
- func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsRequest(input *DescribeAnomalyDetectionExecutionsInput) (req *request.Request, output *DescribeAnomalyDetectionExecutionsOutput)
- func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsWithContext(ctx aws.Context, input *DescribeAnomalyDetectionExecutionsInput, ...) (*DescribeAnomalyDetectionExecutionsOutput, error)
- func (c *LookoutMetrics) DescribeAnomalyDetector(input *DescribeAnomalyDetectorInput) (*DescribeAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) DescribeAnomalyDetectorRequest(input *DescribeAnomalyDetectorInput) (req *request.Request, output *DescribeAnomalyDetectorOutput)
- func (c *LookoutMetrics) DescribeAnomalyDetectorWithContext(ctx aws.Context, input *DescribeAnomalyDetectorInput, opts ...request.Option) (*DescribeAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) DescribeMetricSet(input *DescribeMetricSetInput) (*DescribeMetricSetOutput, error)
- func (c *LookoutMetrics) DescribeMetricSetRequest(input *DescribeMetricSetInput) (req *request.Request, output *DescribeMetricSetOutput)
- func (c *LookoutMetrics) DescribeMetricSetWithContext(ctx aws.Context, input *DescribeMetricSetInput, opts ...request.Option) (*DescribeMetricSetOutput, error)
- func (c *LookoutMetrics) GetAnomalyGroup(input *GetAnomalyGroupInput) (*GetAnomalyGroupOutput, error)
- func (c *LookoutMetrics) GetAnomalyGroupRequest(input *GetAnomalyGroupInput) (req *request.Request, output *GetAnomalyGroupOutput)
- func (c *LookoutMetrics) GetAnomalyGroupWithContext(ctx aws.Context, input *GetAnomalyGroupInput, opts ...request.Option) (*GetAnomalyGroupOutput, error)
- func (c *LookoutMetrics) GetFeedback(input *GetFeedbackInput) (*GetFeedbackOutput, error)
- func (c *LookoutMetrics) GetFeedbackPages(input *GetFeedbackInput, fn func(*GetFeedbackOutput, bool) bool) error
- func (c *LookoutMetrics) GetFeedbackPagesWithContext(ctx aws.Context, input *GetFeedbackInput, ...) error
- func (c *LookoutMetrics) GetFeedbackRequest(input *GetFeedbackInput) (req *request.Request, output *GetFeedbackOutput)
- func (c *LookoutMetrics) GetFeedbackWithContext(ctx aws.Context, input *GetFeedbackInput, opts ...request.Option) (*GetFeedbackOutput, error)
- func (c *LookoutMetrics) GetSampleData(input *GetSampleDataInput) (*GetSampleDataOutput, error)
- func (c *LookoutMetrics) GetSampleDataRequest(input *GetSampleDataInput) (req *request.Request, output *GetSampleDataOutput)
- func (c *LookoutMetrics) GetSampleDataWithContext(ctx aws.Context, input *GetSampleDataInput, opts ...request.Option) (*GetSampleDataOutput, error)
- func (c *LookoutMetrics) ListAlerts(input *ListAlertsInput) (*ListAlertsOutput, error)
- func (c *LookoutMetrics) ListAlertsPages(input *ListAlertsInput, fn func(*ListAlertsOutput, bool) bool) error
- func (c *LookoutMetrics) ListAlertsPagesWithContext(ctx aws.Context, input *ListAlertsInput, fn func(*ListAlertsOutput, bool) bool, ...) error
- func (c *LookoutMetrics) ListAlertsRequest(input *ListAlertsInput) (req *request.Request, output *ListAlertsOutput)
- func (c *LookoutMetrics) ListAlertsWithContext(ctx aws.Context, input *ListAlertsInput, opts ...request.Option) (*ListAlertsOutput, error)
- func (c *LookoutMetrics) ListAnomalyDetectors(input *ListAnomalyDetectorsInput) (*ListAnomalyDetectorsOutput, error)
- func (c *LookoutMetrics) ListAnomalyDetectorsPages(input *ListAnomalyDetectorsInput, ...) error
- func (c *LookoutMetrics) ListAnomalyDetectorsPagesWithContext(ctx aws.Context, input *ListAnomalyDetectorsInput, ...) error
- func (c *LookoutMetrics) ListAnomalyDetectorsRequest(input *ListAnomalyDetectorsInput) (req *request.Request, output *ListAnomalyDetectorsOutput)
- func (c *LookoutMetrics) ListAnomalyDetectorsWithContext(ctx aws.Context, input *ListAnomalyDetectorsInput, opts ...request.Option) (*ListAnomalyDetectorsOutput, error)
- func (c *LookoutMetrics) ListAnomalyGroupSummaries(input *ListAnomalyGroupSummariesInput) (*ListAnomalyGroupSummariesOutput, error)
- func (c *LookoutMetrics) ListAnomalyGroupSummariesPages(input *ListAnomalyGroupSummariesInput, ...) error
- func (c *LookoutMetrics) ListAnomalyGroupSummariesPagesWithContext(ctx aws.Context, input *ListAnomalyGroupSummariesInput, ...) error
- func (c *LookoutMetrics) ListAnomalyGroupSummariesRequest(input *ListAnomalyGroupSummariesInput) (req *request.Request, output *ListAnomalyGroupSummariesOutput)
- func (c *LookoutMetrics) ListAnomalyGroupSummariesWithContext(ctx aws.Context, input *ListAnomalyGroupSummariesInput, opts ...request.Option) (*ListAnomalyGroupSummariesOutput, error)
- func (c *LookoutMetrics) ListAnomalyGroupTimeSeries(input *ListAnomalyGroupTimeSeriesInput) (*ListAnomalyGroupTimeSeriesOutput, error)
- func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesPages(input *ListAnomalyGroupTimeSeriesInput, ...) error
- func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesPagesWithContext(ctx aws.Context, input *ListAnomalyGroupTimeSeriesInput, ...) error
- func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesRequest(input *ListAnomalyGroupTimeSeriesInput) (req *request.Request, output *ListAnomalyGroupTimeSeriesOutput)
- func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesWithContext(ctx aws.Context, input *ListAnomalyGroupTimeSeriesInput, ...) (*ListAnomalyGroupTimeSeriesOutput, error)
- func (c *LookoutMetrics) ListMetricSets(input *ListMetricSetsInput) (*ListMetricSetsOutput, error)
- func (c *LookoutMetrics) ListMetricSetsPages(input *ListMetricSetsInput, fn func(*ListMetricSetsOutput, bool) bool) error
- func (c *LookoutMetrics) ListMetricSetsPagesWithContext(ctx aws.Context, input *ListMetricSetsInput, ...) error
- func (c *LookoutMetrics) ListMetricSetsRequest(input *ListMetricSetsInput) (req *request.Request, output *ListMetricSetsOutput)
- func (c *LookoutMetrics) ListMetricSetsWithContext(ctx aws.Context, input *ListMetricSetsInput, opts ...request.Option) (*ListMetricSetsOutput, error)
- func (c *LookoutMetrics) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *LookoutMetrics) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *LookoutMetrics) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *LookoutMetrics) PutFeedback(input *PutFeedbackInput) (*PutFeedbackOutput, error)
- func (c *LookoutMetrics) PutFeedbackRequest(input *PutFeedbackInput) (req *request.Request, output *PutFeedbackOutput)
- func (c *LookoutMetrics) PutFeedbackWithContext(ctx aws.Context, input *PutFeedbackInput, opts ...request.Option) (*PutFeedbackOutput, error)
- func (c *LookoutMetrics) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *LookoutMetrics) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *LookoutMetrics) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *LookoutMetrics) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *LookoutMetrics) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *LookoutMetrics) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *LookoutMetrics) UpdateAnomalyDetector(input *UpdateAnomalyDetectorInput) (*UpdateAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) UpdateAnomalyDetectorRequest(input *UpdateAnomalyDetectorInput) (req *request.Request, output *UpdateAnomalyDetectorOutput)
- func (c *LookoutMetrics) UpdateAnomalyDetectorWithContext(ctx aws.Context, input *UpdateAnomalyDetectorInput, opts ...request.Option) (*UpdateAnomalyDetectorOutput, error)
- func (c *LookoutMetrics) UpdateMetricSet(input *UpdateMetricSetInput) (*UpdateMetricSetOutput, error)
- func (c *LookoutMetrics) UpdateMetricSetRequest(input *UpdateMetricSetInput) (req *request.Request, output *UpdateMetricSetOutput)
- func (c *LookoutMetrics) UpdateMetricSetWithContext(ctx aws.Context, input *UpdateMetricSetInput, opts ...request.Option) (*UpdateMetricSetOutput, error)
- type Metric
- type MetricLevelImpact
- func (s MetricLevelImpact) GoString() string
- func (s *MetricLevelImpact) SetContributionMatrix(v *ContributionMatrix) *MetricLevelImpact
- func (s *MetricLevelImpact) SetMetricName(v string) *MetricLevelImpact
- func (s *MetricLevelImpact) SetNumTimeSeries(v int64) *MetricLevelImpact
- func (s MetricLevelImpact) String() string
- type MetricSetSummary
- func (s MetricSetSummary) GoString() string
- func (s *MetricSetSummary) SetAnomalyDetectorArn(v string) *MetricSetSummary
- func (s *MetricSetSummary) SetCreationTime(v time.Time) *MetricSetSummary
- func (s *MetricSetSummary) SetLastModificationTime(v time.Time) *MetricSetSummary
- func (s *MetricSetSummary) SetMetricSetArn(v string) *MetricSetSummary
- func (s *MetricSetSummary) SetMetricSetDescription(v string) *MetricSetSummary
- func (s *MetricSetSummary) SetMetricSetName(v string) *MetricSetSummary
- func (s *MetricSetSummary) SetTags(v map[string]*string) *MetricSetSummary
- func (s MetricSetSummary) String() string
- type MetricSource
- func (s MetricSource) GoString() string
- func (s *MetricSource) SetAppFlowConfig(v *AppFlowConfig) *MetricSource
- func (s *MetricSource) SetCloudWatchConfig(v *CloudWatchConfig) *MetricSource
- func (s *MetricSource) SetRDSSourceConfig(v *RDSSourceConfig) *MetricSource
- func (s *MetricSource) SetRedshiftSourceConfig(v *RedshiftSourceConfig) *MetricSource
- func (s *MetricSource) SetS3SourceConfig(v *S3SourceConfig) *MetricSource
- func (s MetricSource) String() string
- func (s *MetricSource) Validate() error
- type PutFeedbackInput
- func (s PutFeedbackInput) GoString() string
- func (s *PutFeedbackInput) SetAnomalyDetectorArn(v string) *PutFeedbackInput
- func (s *PutFeedbackInput) SetAnomalyGroupTimeSeriesFeedback(v *AnomalyGroupTimeSeriesFeedback) *PutFeedbackInput
- func (s PutFeedbackInput) String() string
- func (s *PutFeedbackInput) Validate() error
- type PutFeedbackOutput
- type RDSSourceConfig
- func (s RDSSourceConfig) GoString() string
- func (s *RDSSourceConfig) SetDBInstanceIdentifier(v string) *RDSSourceConfig
- func (s *RDSSourceConfig) SetDatabaseHost(v string) *RDSSourceConfig
- func (s *RDSSourceConfig) SetDatabaseName(v string) *RDSSourceConfig
- func (s *RDSSourceConfig) SetDatabasePort(v int64) *RDSSourceConfig
- func (s *RDSSourceConfig) SetRoleArn(v string) *RDSSourceConfig
- func (s *RDSSourceConfig) SetSecretManagerArn(v string) *RDSSourceConfig
- func (s *RDSSourceConfig) SetTableName(v string) *RDSSourceConfig
- func (s *RDSSourceConfig) SetVpcConfiguration(v *VpcConfiguration) *RDSSourceConfig
- func (s RDSSourceConfig) String() string
- func (s *RDSSourceConfig) Validate() error
- type RedshiftSourceConfig
- func (s RedshiftSourceConfig) GoString() string
- func (s *RedshiftSourceConfig) SetClusterIdentifier(v string) *RedshiftSourceConfig
- func (s *RedshiftSourceConfig) SetDatabaseHost(v string) *RedshiftSourceConfig
- func (s *RedshiftSourceConfig) SetDatabaseName(v string) *RedshiftSourceConfig
- func (s *RedshiftSourceConfig) SetDatabasePort(v int64) *RedshiftSourceConfig
- func (s *RedshiftSourceConfig) SetRoleArn(v string) *RedshiftSourceConfig
- func (s *RedshiftSourceConfig) SetSecretManagerArn(v string) *RedshiftSourceConfig
- func (s *RedshiftSourceConfig) SetTableName(v string) *RedshiftSourceConfig
- func (s *RedshiftSourceConfig) SetVpcConfiguration(v *VpcConfiguration) *RedshiftSourceConfig
- func (s RedshiftSourceConfig) String() string
- func (s *RedshiftSourceConfig) Validate() error
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type S3SourceConfig
- func (s S3SourceConfig) GoString() string
- func (s *S3SourceConfig) SetFileFormatDescriptor(v *FileFormatDescriptor) *S3SourceConfig
- func (s *S3SourceConfig) SetHistoricalDataPathList(v []*string) *S3SourceConfig
- func (s *S3SourceConfig) SetRoleArn(v string) *S3SourceConfig
- func (s *S3SourceConfig) SetTemplatedPathList(v []*string) *S3SourceConfig
- func (s S3SourceConfig) String() string
- func (s *S3SourceConfig) Validate() error
- type SNSConfiguration
- type SampleDataS3SourceConfig
- func (s SampleDataS3SourceConfig) GoString() string
- func (s *SampleDataS3SourceConfig) SetFileFormatDescriptor(v *FileFormatDescriptor) *SampleDataS3SourceConfig
- func (s *SampleDataS3SourceConfig) SetHistoricalDataPathList(v []*string) *SampleDataS3SourceConfig
- func (s *SampleDataS3SourceConfig) SetRoleArn(v string) *SampleDataS3SourceConfig
- func (s *SampleDataS3SourceConfig) SetTemplatedPathList(v []*string) *SampleDataS3SourceConfig
- func (s SampleDataS3SourceConfig) String() string
- func (s *SampleDataS3SourceConfig) Validate() error
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type TagResourceInput
- type TagResourceOutput
- type TimeSeries
- type TimeSeriesFeedback
- type TimestampColumn
- type TooManyRequestsException
- func (s *TooManyRequestsException) Code() string
- func (s *TooManyRequestsException) Error() string
- func (s TooManyRequestsException) GoString() string
- func (s *TooManyRequestsException) Message() string
- func (s *TooManyRequestsException) OrigErr() error
- func (s *TooManyRequestsException) RequestID() string
- func (s *TooManyRequestsException) StatusCode() int
- func (s TooManyRequestsException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAnomalyDetectorInput
- func (s UpdateAnomalyDetectorInput) GoString() string
- func (s *UpdateAnomalyDetectorInput) SetAnomalyDetectorArn(v string) *UpdateAnomalyDetectorInput
- func (s *UpdateAnomalyDetectorInput) SetAnomalyDetectorConfig(v *AnomalyDetectorConfig) *UpdateAnomalyDetectorInput
- func (s *UpdateAnomalyDetectorInput) SetAnomalyDetectorDescription(v string) *UpdateAnomalyDetectorInput
- func (s *UpdateAnomalyDetectorInput) SetKmsKeyArn(v string) *UpdateAnomalyDetectorInput
- func (s UpdateAnomalyDetectorInput) String() string
- func (s *UpdateAnomalyDetectorInput) Validate() error
- type UpdateAnomalyDetectorOutput
- type UpdateMetricSetInput
- func (s UpdateMetricSetInput) GoString() string
- func (s *UpdateMetricSetInput) SetDimensionList(v []*string) *UpdateMetricSetInput
- func (s *UpdateMetricSetInput) SetMetricList(v []*Metric) *UpdateMetricSetInput
- func (s *UpdateMetricSetInput) SetMetricSetArn(v string) *UpdateMetricSetInput
- func (s *UpdateMetricSetInput) SetMetricSetDescription(v string) *UpdateMetricSetInput
- func (s *UpdateMetricSetInput) SetMetricSetFrequency(v string) *UpdateMetricSetInput
- func (s *UpdateMetricSetInput) SetMetricSource(v *MetricSource) *UpdateMetricSetInput
- func (s *UpdateMetricSetInput) SetOffset(v int64) *UpdateMetricSetInput
- func (s *UpdateMetricSetInput) SetTimestampColumn(v *TimestampColumn) *UpdateMetricSetInput
- func (s UpdateMetricSetInput) String() string
- func (s *UpdateMetricSetInput) Validate() error
- type UpdateMetricSetOutput
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
- type ValidationExceptionField
- type VpcConfiguration
Constants ¶
const ( // AggregationFunctionAvg is a AggregationFunction enum value AggregationFunctionAvg = "AVG" // AggregationFunctionSum is a AggregationFunction enum value AggregationFunctionSum = "SUM" )
const ( // AlertStatusActive is a AlertStatus enum value AlertStatusActive = "ACTIVE" // AlertStatusInactive is a AlertStatus enum value AlertStatusInactive = "INACTIVE" )
const ( // AlertTypeSns is a AlertType enum value AlertTypeSns = "SNS" // AlertTypeLambda is a AlertType enum value AlertTypeLambda = "LAMBDA" )
const ( // AnomalyDetectionTaskStatusPending is a AnomalyDetectionTaskStatus enum value AnomalyDetectionTaskStatusPending = "PENDING" // AnomalyDetectionTaskStatusInProgress is a AnomalyDetectionTaskStatus enum value AnomalyDetectionTaskStatusInProgress = "IN_PROGRESS" // AnomalyDetectionTaskStatusCompleted is a AnomalyDetectionTaskStatus enum value AnomalyDetectionTaskStatusCompleted = "COMPLETED" // AnomalyDetectionTaskStatusFailed is a AnomalyDetectionTaskStatus enum value AnomalyDetectionTaskStatusFailed = "FAILED" // AnomalyDetectionTaskStatusFailedToSchedule is a AnomalyDetectionTaskStatus enum value AnomalyDetectionTaskStatusFailedToSchedule = "FAILED_TO_SCHEDULE" )
const ( // AnomalyDetectorStatusActive is a AnomalyDetectorStatus enum value AnomalyDetectorStatusActive = "ACTIVE" // AnomalyDetectorStatusActivating is a AnomalyDetectorStatus enum value AnomalyDetectorStatusActivating = "ACTIVATING" // AnomalyDetectorStatusDeleting is a AnomalyDetectorStatus enum value AnomalyDetectorStatusDeleting = "DELETING" // AnomalyDetectorStatusFailed is a AnomalyDetectorStatus enum value AnomalyDetectorStatusFailed = "FAILED" // AnomalyDetectorStatusInactive is a AnomalyDetectorStatus enum value AnomalyDetectorStatusInactive = "INACTIVE" // AnomalyDetectorStatusLearning is a AnomalyDetectorStatus enum value AnomalyDetectorStatusLearning = "LEARNING" // AnomalyDetectorStatusBackTestActivating is a AnomalyDetectorStatus enum value AnomalyDetectorStatusBackTestActivating = "BACK_TEST_ACTIVATING" // AnomalyDetectorStatusBackTestActive is a AnomalyDetectorStatus enum value AnomalyDetectorStatusBackTestActive = "BACK_TEST_ACTIVE" // AnomalyDetectorStatusBackTestComplete is a AnomalyDetectorStatus enum value AnomalyDetectorStatusBackTestComplete = "BACK_TEST_COMPLETE" )
const ( // CSVFileCompressionNone is a CSVFileCompression enum value CSVFileCompressionNone = "NONE" // CSVFileCompressionGzip is a CSVFileCompression enum value CSVFileCompressionGzip = "GZIP" )
const ( // FrequencyP1d is a Frequency enum value FrequencyP1d = "P1D" // FrequencyPt1h is a Frequency enum value FrequencyPt1h = "PT1H" // FrequencyPt10m is a Frequency enum value FrequencyPt10m = "PT10M" // FrequencyPt5m is a Frequency enum value FrequencyPt5m = "PT5M" )
const ( // JsonFileCompressionNone is a JsonFileCompression enum value JsonFileCompressionNone = "NONE" // JsonFileCompressionGzip is a JsonFileCompression enum value JsonFileCompressionGzip = "GZIP" )
const ( // ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value ValidationExceptionReasonUnknownOperation = "UNKNOWN_OPERATION" // ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value ValidationExceptionReasonCannotParse = "CANNOT_PARSE" // ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value ValidationExceptionReasonFieldValidationFailed = "FIELD_VALIDATION_FAILED" // ValidationExceptionReasonOther is a ValidationExceptionReason enum value ValidationExceptionReasonOther = "OTHER" )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You do not have sufficient permissions to perform this action. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeConflictException for service response error code // "ConflictException". // // There was a conflict processing the request. Try your request again. ErrCodeConflictException = "ConflictException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // The request processing has failed because of an unknown error, exception, // or failure. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The specified resource cannot be found. Check the ARN of the resource and // try again. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // // The request exceeded the service's quotas. Check the service quotas and try // again. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". // // The request was denied due to too many requests being submitted at the same // time. ErrCodeTooManyRequestsException = "TooManyRequestsException" // ErrCodeValidationException for service response error code // "ValidationException". // // The input fails to satisfy the constraints specified by the AWS service. // Check your input values and try again. ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "LookoutMetrics" // Name of service. EndpointsID = "lookoutmetrics" // ID to lookup a service endpoint with. ServiceID = "LookoutMetrics" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func AggregationFunction_Values ¶
func AggregationFunction_Values() []string
AggregationFunction_Values returns all elements of the AggregationFunction enum
func AlertStatus_Values ¶
func AlertStatus_Values() []string
AlertStatus_Values returns all elements of the AlertStatus enum
func AlertType_Values ¶
func AlertType_Values() []string
AlertType_Values returns all elements of the AlertType enum
func AnomalyDetectionTaskStatus_Values ¶
func AnomalyDetectionTaskStatus_Values() []string
AnomalyDetectionTaskStatus_Values returns all elements of the AnomalyDetectionTaskStatus enum
func AnomalyDetectorStatus_Values ¶
func AnomalyDetectorStatus_Values() []string
AnomalyDetectorStatus_Values returns all elements of the AnomalyDetectorStatus enum
func CSVFileCompression_Values ¶
func CSVFileCompression_Values() []string
CSVFileCompression_Values returns all elements of the CSVFileCompression enum
func Frequency_Values ¶
func Frequency_Values() []string
Frequency_Values returns all elements of the Frequency enum
func JsonFileCompression_Values ¶
func JsonFileCompression_Values() []string
JsonFileCompression_Values returns all elements of the JsonFileCompression enum
func ValidationExceptionReason_Values ¶
func ValidationExceptionReason_Values() []string
ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
You do not have sufficient permissions to perform this action.
func (*AccessDeniedException) Code ¶
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶
func (s AccessDeniedException) GoString() string
GoString returns the string representation
func (*AccessDeniedException) Message ¶
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶
func (s AccessDeniedException) String() string
String returns the string representation
type Action ¶
type Action struct { // A configuration for an AWS Lambda channel. LambdaConfiguration *LambdaConfiguration `type:"structure"` // A configuration for an Amazon SNS channel. SNSConfiguration *SNSConfiguration `type:"structure"` // contains filtered or unexported fields }
A configuration that specifies the action to perform when anomalies are detected.
func (*Action) SetLambdaConfiguration ¶
func (s *Action) SetLambdaConfiguration(v *LambdaConfiguration) *Action
SetLambdaConfiguration sets the LambdaConfiguration field's value.
func (*Action) SetSNSConfiguration ¶
func (s *Action) SetSNSConfiguration(v *SNSConfiguration) *Action
SetSNSConfiguration sets the SNSConfiguration field's value.
type ActivateAnomalyDetectorInput ¶
type ActivateAnomalyDetectorInput struct { // The ARN of the anomaly detector. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ActivateAnomalyDetectorInput) GoString ¶
func (s ActivateAnomalyDetectorInput) GoString() string
GoString returns the string representation
func (*ActivateAnomalyDetectorInput) SetAnomalyDetectorArn ¶
func (s *ActivateAnomalyDetectorInput) SetAnomalyDetectorArn(v string) *ActivateAnomalyDetectorInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (ActivateAnomalyDetectorInput) String ¶
func (s ActivateAnomalyDetectorInput) String() string
String returns the string representation
func (*ActivateAnomalyDetectorInput) Validate ¶
func (s *ActivateAnomalyDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ActivateAnomalyDetectorOutput ¶
type ActivateAnomalyDetectorOutput struct {
// contains filtered or unexported fields
}
func (ActivateAnomalyDetectorOutput) GoString ¶
func (s ActivateAnomalyDetectorOutput) GoString() string
GoString returns the string representation
func (ActivateAnomalyDetectorOutput) String ¶
func (s ActivateAnomalyDetectorOutput) String() string
String returns the string representation
type Alert ¶
type Alert struct { // Action that will be triggered when there is an alert. Action *Action `type:"structure"` // The ARN of the alert. AlertArn *string `type:"string"` // A description of the alert. AlertDescription *string `type:"string"` // The name of the alert. AlertName *string `min:"1" type:"string"` // The minimum severity for an anomaly to trigger the alert. AlertSensitivityThreshold *int64 `type:"integer"` // The status of the alert. AlertStatus *string `type:"string" enum:"AlertStatus"` // The type of the alert. AlertType *string `type:"string" enum:"AlertType"` // The ARN of the detector to which the alert is attached. AnomalyDetectorArn *string `type:"string"` // The time at which the alert was created. CreationTime *time.Time `type:"timestamp"` // The time at which the alert was last modified. LastModificationTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
A configuration for Amazon SNS-integrated notifications.
func (*Alert) SetAlertArn ¶
SetAlertArn sets the AlertArn field's value.
func (*Alert) SetAlertDescription ¶
SetAlertDescription sets the AlertDescription field's value.
func (*Alert) SetAlertName ¶
SetAlertName sets the AlertName field's value.
func (*Alert) SetAlertSensitivityThreshold ¶
SetAlertSensitivityThreshold sets the AlertSensitivityThreshold field's value.
func (*Alert) SetAlertStatus ¶
SetAlertStatus sets the AlertStatus field's value.
func (*Alert) SetAlertType ¶
SetAlertType sets the AlertType field's value.
func (*Alert) SetAnomalyDetectorArn ¶
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*Alert) SetCreationTime ¶
SetCreationTime sets the CreationTime field's value.
func (*Alert) SetLastModificationTime ¶
SetLastModificationTime sets the LastModificationTime field's value.
type AlertSummary ¶
type AlertSummary struct { // The ARN of the alert. AlertArn *string `type:"string"` // The name of the alert. AlertName *string `min:"1" type:"string"` // The minimum severity for an anomaly to trigger the alert. AlertSensitivityThreshold *int64 `type:"integer"` // The status of the alert. AlertStatus *string `type:"string" enum:"AlertStatus"` // The type of the alert. AlertType *string `type:"string" enum:"AlertType"` // The ARN of the detector to which the alert is attached. AnomalyDetectorArn *string `type:"string"` // The time at which the alert was created. CreationTime *time.Time `type:"timestamp"` // The time at which the alert was last modified. LastModificationTime *time.Time `type:"timestamp"` // The alert's tags (https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html). Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
Provides a summary of an alert's configuration.
func (AlertSummary) GoString ¶
func (s AlertSummary) GoString() string
GoString returns the string representation
func (*AlertSummary) SetAlertArn ¶
func (s *AlertSummary) SetAlertArn(v string) *AlertSummary
SetAlertArn sets the AlertArn field's value.
func (*AlertSummary) SetAlertName ¶
func (s *AlertSummary) SetAlertName(v string) *AlertSummary
SetAlertName sets the AlertName field's value.
func (*AlertSummary) SetAlertSensitivityThreshold ¶
func (s *AlertSummary) SetAlertSensitivityThreshold(v int64) *AlertSummary
SetAlertSensitivityThreshold sets the AlertSensitivityThreshold field's value.
func (*AlertSummary) SetAlertStatus ¶
func (s *AlertSummary) SetAlertStatus(v string) *AlertSummary
SetAlertStatus sets the AlertStatus field's value.
func (*AlertSummary) SetAlertType ¶
func (s *AlertSummary) SetAlertType(v string) *AlertSummary
SetAlertType sets the AlertType field's value.
func (*AlertSummary) SetAnomalyDetectorArn ¶
func (s *AlertSummary) SetAnomalyDetectorArn(v string) *AlertSummary
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*AlertSummary) SetCreationTime ¶
func (s *AlertSummary) SetCreationTime(v time.Time) *AlertSummary
SetCreationTime sets the CreationTime field's value.
func (*AlertSummary) SetLastModificationTime ¶
func (s *AlertSummary) SetLastModificationTime(v time.Time) *AlertSummary
SetLastModificationTime sets the LastModificationTime field's value.
func (*AlertSummary) SetTags ¶
func (s *AlertSummary) SetTags(v map[string]*string) *AlertSummary
SetTags sets the Tags field's value.
func (AlertSummary) String ¶
func (s AlertSummary) String() string
String returns the string representation
type AnomalyDetectorConfig ¶
type AnomalyDetectorConfig struct { // The frequency at which the detector analyzes its source data. AnomalyDetectorFrequency *string `type:"string" enum:"Frequency"` // contains filtered or unexported fields }
Contains information about a detector's configuration.
func (AnomalyDetectorConfig) GoString ¶
func (s AnomalyDetectorConfig) GoString() string
GoString returns the string representation
func (*AnomalyDetectorConfig) SetAnomalyDetectorFrequency ¶
func (s *AnomalyDetectorConfig) SetAnomalyDetectorFrequency(v string) *AnomalyDetectorConfig
SetAnomalyDetectorFrequency sets the AnomalyDetectorFrequency field's value.
func (AnomalyDetectorConfig) String ¶
func (s AnomalyDetectorConfig) String() string
String returns the string representation
type AnomalyDetectorConfigSummary ¶
type AnomalyDetectorConfigSummary struct { // The interval at which the detector analyzes its source data. AnomalyDetectorFrequency *string `type:"string" enum:"Frequency"` // contains filtered or unexported fields }
Contains information about a detector's configuration.
func (AnomalyDetectorConfigSummary) GoString ¶
func (s AnomalyDetectorConfigSummary) GoString() string
GoString returns the string representation
func (*AnomalyDetectorConfigSummary) SetAnomalyDetectorFrequency ¶
func (s *AnomalyDetectorConfigSummary) SetAnomalyDetectorFrequency(v string) *AnomalyDetectorConfigSummary
SetAnomalyDetectorFrequency sets the AnomalyDetectorFrequency field's value.
func (AnomalyDetectorConfigSummary) String ¶
func (s AnomalyDetectorConfigSummary) String() string
String returns the string representation
type AnomalyDetectorSummary ¶
type AnomalyDetectorSummary struct { // The ARN of the detector. AnomalyDetectorArn *string `type:"string"` // A description of the detector. AnomalyDetectorDescription *string `min:"1" type:"string"` // The name of the detector. AnomalyDetectorName *string `min:"1" type:"string"` // The time at which the detector was created. CreationTime *time.Time `type:"timestamp"` // The time at which the detector was last modified. LastModificationTime *time.Time `type:"timestamp"` // The status of detector. Status *string `type:"string" enum:"AnomalyDetectorStatus"` // The detector's tags (https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html). Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
Contains information about an an anomaly detector.
func (AnomalyDetectorSummary) GoString ¶
func (s AnomalyDetectorSummary) GoString() string
GoString returns the string representation
func (*AnomalyDetectorSummary) SetAnomalyDetectorArn ¶
func (s *AnomalyDetectorSummary) SetAnomalyDetectorArn(v string) *AnomalyDetectorSummary
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*AnomalyDetectorSummary) SetAnomalyDetectorDescription ¶
func (s *AnomalyDetectorSummary) SetAnomalyDetectorDescription(v string) *AnomalyDetectorSummary
SetAnomalyDetectorDescription sets the AnomalyDetectorDescription field's value.
func (*AnomalyDetectorSummary) SetAnomalyDetectorName ¶
func (s *AnomalyDetectorSummary) SetAnomalyDetectorName(v string) *AnomalyDetectorSummary
SetAnomalyDetectorName sets the AnomalyDetectorName field's value.
func (*AnomalyDetectorSummary) SetCreationTime ¶
func (s *AnomalyDetectorSummary) SetCreationTime(v time.Time) *AnomalyDetectorSummary
SetCreationTime sets the CreationTime field's value.
func (*AnomalyDetectorSummary) SetLastModificationTime ¶
func (s *AnomalyDetectorSummary) SetLastModificationTime(v time.Time) *AnomalyDetectorSummary
SetLastModificationTime sets the LastModificationTime field's value.
func (*AnomalyDetectorSummary) SetStatus ¶
func (s *AnomalyDetectorSummary) SetStatus(v string) *AnomalyDetectorSummary
SetStatus sets the Status field's value.
func (*AnomalyDetectorSummary) SetTags ¶
func (s *AnomalyDetectorSummary) SetTags(v map[string]*string) *AnomalyDetectorSummary
SetTags sets the Tags field's value.
func (AnomalyDetectorSummary) String ¶
func (s AnomalyDetectorSummary) String() string
String returns the string representation
type AnomalyGroup ¶
type AnomalyGroup struct { // The ID of the anomaly group. AnomalyGroupId *string `type:"string"` // The severity score of the group. AnomalyGroupScore *float64 `type:"double"` // The end time for the group. EndTime *string `type:"string"` // A list of measures affected by the anomaly. MetricLevelImpactList []*MetricLevelImpact `type:"list"` // The name of the primary affected measure for the group. PrimaryMetricName *string `type:"string"` // The start time for the group. StartTime *string `type:"string"` // contains filtered or unexported fields }
A group of anomalous metrics
func (AnomalyGroup) GoString ¶
func (s AnomalyGroup) GoString() string
GoString returns the string representation
func (*AnomalyGroup) SetAnomalyGroupId ¶
func (s *AnomalyGroup) SetAnomalyGroupId(v string) *AnomalyGroup
SetAnomalyGroupId sets the AnomalyGroupId field's value.
func (*AnomalyGroup) SetAnomalyGroupScore ¶
func (s *AnomalyGroup) SetAnomalyGroupScore(v float64) *AnomalyGroup
SetAnomalyGroupScore sets the AnomalyGroupScore field's value.
func (*AnomalyGroup) SetEndTime ¶
func (s *AnomalyGroup) SetEndTime(v string) *AnomalyGroup
SetEndTime sets the EndTime field's value.
func (*AnomalyGroup) SetMetricLevelImpactList ¶
func (s *AnomalyGroup) SetMetricLevelImpactList(v []*MetricLevelImpact) *AnomalyGroup
SetMetricLevelImpactList sets the MetricLevelImpactList field's value.
func (*AnomalyGroup) SetPrimaryMetricName ¶
func (s *AnomalyGroup) SetPrimaryMetricName(v string) *AnomalyGroup
SetPrimaryMetricName sets the PrimaryMetricName field's value.
func (*AnomalyGroup) SetStartTime ¶
func (s *AnomalyGroup) SetStartTime(v string) *AnomalyGroup
SetStartTime sets the StartTime field's value.
func (AnomalyGroup) String ¶
func (s AnomalyGroup) String() string
String returns the string representation
type AnomalyGroupStatistics ¶
type AnomalyGroupStatistics struct { // The start of the time range that was searched. EvaluationStartDate *string `type:"string"` // Statistics for individual metrics within the group. ItemizedMetricStatsList []*ItemizedMetricStats `type:"list"` // The number of groups found. TotalCount *int64 `type:"integer"` // contains filtered or unexported fields }
Aggregated statistics for a group of anomalous metrics.
func (AnomalyGroupStatistics) GoString ¶
func (s AnomalyGroupStatistics) GoString() string
GoString returns the string representation
func (*AnomalyGroupStatistics) SetEvaluationStartDate ¶
func (s *AnomalyGroupStatistics) SetEvaluationStartDate(v string) *AnomalyGroupStatistics
SetEvaluationStartDate sets the EvaluationStartDate field's value.
func (*AnomalyGroupStatistics) SetItemizedMetricStatsList ¶
func (s *AnomalyGroupStatistics) SetItemizedMetricStatsList(v []*ItemizedMetricStats) *AnomalyGroupStatistics
SetItemizedMetricStatsList sets the ItemizedMetricStatsList field's value.
func (*AnomalyGroupStatistics) SetTotalCount ¶
func (s *AnomalyGroupStatistics) SetTotalCount(v int64) *AnomalyGroupStatistics
SetTotalCount sets the TotalCount field's value.
func (AnomalyGroupStatistics) String ¶
func (s AnomalyGroupStatistics) String() string
String returns the string representation
type AnomalyGroupSummary ¶
type AnomalyGroupSummary struct { // The ID of the anomaly group. AnomalyGroupId *string `type:"string"` // The severity score of the group. AnomalyGroupScore *float64 `type:"double"` // The end time for the group. EndTime *string `type:"string"` // The name of the primary affected measure for the group. PrimaryMetricName *string `type:"string"` // The start time for the group. StartTime *string `type:"string"` // contains filtered or unexported fields }
Details about a group of anomalous metrics.
func (AnomalyGroupSummary) GoString ¶
func (s AnomalyGroupSummary) GoString() string
GoString returns the string representation
func (*AnomalyGroupSummary) SetAnomalyGroupId ¶
func (s *AnomalyGroupSummary) SetAnomalyGroupId(v string) *AnomalyGroupSummary
SetAnomalyGroupId sets the AnomalyGroupId field's value.
func (*AnomalyGroupSummary) SetAnomalyGroupScore ¶
func (s *AnomalyGroupSummary) SetAnomalyGroupScore(v float64) *AnomalyGroupSummary
SetAnomalyGroupScore sets the AnomalyGroupScore field's value.
func (*AnomalyGroupSummary) SetEndTime ¶
func (s *AnomalyGroupSummary) SetEndTime(v string) *AnomalyGroupSummary
SetEndTime sets the EndTime field's value.
func (*AnomalyGroupSummary) SetPrimaryMetricName ¶
func (s *AnomalyGroupSummary) SetPrimaryMetricName(v string) *AnomalyGroupSummary
SetPrimaryMetricName sets the PrimaryMetricName field's value.
func (*AnomalyGroupSummary) SetStartTime ¶
func (s *AnomalyGroupSummary) SetStartTime(v string) *AnomalyGroupSummary
SetStartTime sets the StartTime field's value.
func (AnomalyGroupSummary) String ¶
func (s AnomalyGroupSummary) String() string
String returns the string representation
type AnomalyGroupTimeSeries ¶
type AnomalyGroupTimeSeries struct { // The ID of the anomaly group. // // AnomalyGroupId is a required field AnomalyGroupId *string `type:"string" required:"true"` // The ID of the metric. TimeSeriesId *string `type:"string"` // contains filtered or unexported fields }
An anomalous metric in an anomaly group.
func (AnomalyGroupTimeSeries) GoString ¶
func (s AnomalyGroupTimeSeries) GoString() string
GoString returns the string representation
func (*AnomalyGroupTimeSeries) SetAnomalyGroupId ¶
func (s *AnomalyGroupTimeSeries) SetAnomalyGroupId(v string) *AnomalyGroupTimeSeries
SetAnomalyGroupId sets the AnomalyGroupId field's value.
func (*AnomalyGroupTimeSeries) SetTimeSeriesId ¶
func (s *AnomalyGroupTimeSeries) SetTimeSeriesId(v string) *AnomalyGroupTimeSeries
SetTimeSeriesId sets the TimeSeriesId field's value.
func (AnomalyGroupTimeSeries) String ¶
func (s AnomalyGroupTimeSeries) String() string
String returns the string representation
func (*AnomalyGroupTimeSeries) Validate ¶
func (s *AnomalyGroupTimeSeries) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AnomalyGroupTimeSeriesFeedback ¶
type AnomalyGroupTimeSeriesFeedback struct { // The ID of the anomaly group. // // AnomalyGroupId is a required field AnomalyGroupId *string `type:"string" required:"true"` // Feedback on whether the metric is a legitimate anomaly. // // IsAnomaly is a required field IsAnomaly *bool `type:"boolean" required:"true"` // The ID of the metric. // // TimeSeriesId is a required field TimeSeriesId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Feedback for an anomalous metric.
func (AnomalyGroupTimeSeriesFeedback) GoString ¶
func (s AnomalyGroupTimeSeriesFeedback) GoString() string
GoString returns the string representation
func (*AnomalyGroupTimeSeriesFeedback) SetAnomalyGroupId ¶
func (s *AnomalyGroupTimeSeriesFeedback) SetAnomalyGroupId(v string) *AnomalyGroupTimeSeriesFeedback
SetAnomalyGroupId sets the AnomalyGroupId field's value.
func (*AnomalyGroupTimeSeriesFeedback) SetIsAnomaly ¶
func (s *AnomalyGroupTimeSeriesFeedback) SetIsAnomaly(v bool) *AnomalyGroupTimeSeriesFeedback
SetIsAnomaly sets the IsAnomaly field's value.
func (*AnomalyGroupTimeSeriesFeedback) SetTimeSeriesId ¶
func (s *AnomalyGroupTimeSeriesFeedback) SetTimeSeriesId(v string) *AnomalyGroupTimeSeriesFeedback
SetTimeSeriesId sets the TimeSeriesId field's value.
func (AnomalyGroupTimeSeriesFeedback) String ¶
func (s AnomalyGroupTimeSeriesFeedback) String() string
String returns the string representation
func (*AnomalyGroupTimeSeriesFeedback) Validate ¶
func (s *AnomalyGroupTimeSeriesFeedback) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AppFlowConfig ¶
type AppFlowConfig struct { // name of the flow. // // FlowName is a required field FlowName *string `type:"string" required:"true"` // An IAM role that gives Amazon Lookout for Metrics permission to access the // flow. // // RoleArn is a required field RoleArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Details about an Amazon AppFlow flow datasource.
func (AppFlowConfig) GoString ¶
func (s AppFlowConfig) GoString() string
GoString returns the string representation
func (*AppFlowConfig) SetFlowName ¶
func (s *AppFlowConfig) SetFlowName(v string) *AppFlowConfig
SetFlowName sets the FlowName field's value.
func (*AppFlowConfig) SetRoleArn ¶
func (s *AppFlowConfig) SetRoleArn(v string) *AppFlowConfig
SetRoleArn sets the RoleArn field's value.
func (AppFlowConfig) String ¶
func (s AppFlowConfig) String() string
String returns the string representation
func (*AppFlowConfig) Validate ¶
func (s *AppFlowConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BackTestAnomalyDetectorInput ¶
type BackTestAnomalyDetectorInput struct { // The Amazon Resource Name (ARN) of the anomaly detector. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (BackTestAnomalyDetectorInput) GoString ¶
func (s BackTestAnomalyDetectorInput) GoString() string
GoString returns the string representation
func (*BackTestAnomalyDetectorInput) SetAnomalyDetectorArn ¶
func (s *BackTestAnomalyDetectorInput) SetAnomalyDetectorArn(v string) *BackTestAnomalyDetectorInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (BackTestAnomalyDetectorInput) String ¶
func (s BackTestAnomalyDetectorInput) String() string
String returns the string representation
func (*BackTestAnomalyDetectorInput) Validate ¶
func (s *BackTestAnomalyDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BackTestAnomalyDetectorOutput ¶
type BackTestAnomalyDetectorOutput struct {
// contains filtered or unexported fields
}
func (BackTestAnomalyDetectorOutput) GoString ¶
func (s BackTestAnomalyDetectorOutput) GoString() string
GoString returns the string representation
func (BackTestAnomalyDetectorOutput) String ¶
func (s BackTestAnomalyDetectorOutput) String() string
String returns the string representation
type CloudWatchConfig ¶
type CloudWatchConfig struct { // An IAM role that gives Amazon Lookout for Metrics permission to access data // in Amazon CloudWatch. // // RoleArn is a required field RoleArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Details about an Amazon CloudWatch datasource.
func (CloudWatchConfig) GoString ¶
func (s CloudWatchConfig) GoString() string
GoString returns the string representation
func (*CloudWatchConfig) SetRoleArn ¶
func (s *CloudWatchConfig) SetRoleArn(v string) *CloudWatchConfig
SetRoleArn sets the RoleArn field's value.
func (CloudWatchConfig) String ¶
func (s CloudWatchConfig) String() string
String returns the string representation
func (*CloudWatchConfig) Validate ¶
func (s *CloudWatchConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConflictException ¶
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // The ID of the resource. ResourceId *string `type:"string"` // The type of the resource. ResourceType *string `type:"string"` // contains filtered or unexported fields }
There was a conflict processing the request. Try your request again.
func (*ConflictException) Code ¶
func (s *ConflictException) Code() string
Code returns the exception type name.
func (*ConflictException) Error ¶
func (s *ConflictException) Error() string
func (ConflictException) GoString ¶
func (s ConflictException) GoString() string
GoString returns the string representation
func (*ConflictException) Message ¶
func (s *ConflictException) Message() string
Message returns the exception's message.
func (*ConflictException) OrigErr ¶
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConflictException) RequestID ¶
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConflictException) StatusCode ¶
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConflictException) String ¶
func (s ConflictException) String() string
String returns the string representation
type ContributionMatrix ¶
type ContributionMatrix struct { // A list of contributing dimensions. DimensionContributionList []*DimensionContribution `type:"list"` // contains filtered or unexported fields }
Details about dimensions that contributed to an anomaly.
func (ContributionMatrix) GoString ¶
func (s ContributionMatrix) GoString() string
GoString returns the string representation
func (*ContributionMatrix) SetDimensionContributionList ¶
func (s *ContributionMatrix) SetDimensionContributionList(v []*DimensionContribution) *ContributionMatrix
SetDimensionContributionList sets the DimensionContributionList field's value.
func (ContributionMatrix) String ¶
func (s ContributionMatrix) String() string
String returns the string representation
type CreateAlertInput ¶
type CreateAlertInput struct { // Action that will be triggered when there is an alert. // // Action is a required field Action *Action `type:"structure" required:"true"` // A description of the alert. AlertDescription *string `type:"string"` // The name of the alert. // // AlertName is a required field AlertName *string `min:"1" type:"string" required:"true"` // An integer from 0 to 100 specifying the alert sensitivity threshold. // // AlertSensitivityThreshold is a required field AlertSensitivityThreshold *int64 `type:"integer" required:"true"` // The ARN of the detector to which the alert is attached. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // A list of tags (https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html) // to apply to the alert. Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
func (CreateAlertInput) GoString ¶
func (s CreateAlertInput) GoString() string
GoString returns the string representation
func (*CreateAlertInput) SetAction ¶
func (s *CreateAlertInput) SetAction(v *Action) *CreateAlertInput
SetAction sets the Action field's value.
func (*CreateAlertInput) SetAlertDescription ¶
func (s *CreateAlertInput) SetAlertDescription(v string) *CreateAlertInput
SetAlertDescription sets the AlertDescription field's value.
func (*CreateAlertInput) SetAlertName ¶
func (s *CreateAlertInput) SetAlertName(v string) *CreateAlertInput
SetAlertName sets the AlertName field's value.
func (*CreateAlertInput) SetAlertSensitivityThreshold ¶
func (s *CreateAlertInput) SetAlertSensitivityThreshold(v int64) *CreateAlertInput
SetAlertSensitivityThreshold sets the AlertSensitivityThreshold field's value.
func (*CreateAlertInput) SetAnomalyDetectorArn ¶
func (s *CreateAlertInput) SetAnomalyDetectorArn(v string) *CreateAlertInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*CreateAlertInput) SetTags ¶
func (s *CreateAlertInput) SetTags(v map[string]*string) *CreateAlertInput
SetTags sets the Tags field's value.
func (CreateAlertInput) String ¶
func (s CreateAlertInput) String() string
String returns the string representation
func (*CreateAlertInput) Validate ¶
func (s *CreateAlertInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAlertOutput ¶
type CreateAlertOutput struct { // The ARN of the alert. AlertArn *string `type:"string"` // contains filtered or unexported fields }
func (CreateAlertOutput) GoString ¶
func (s CreateAlertOutput) GoString() string
GoString returns the string representation
func (*CreateAlertOutput) SetAlertArn ¶
func (s *CreateAlertOutput) SetAlertArn(v string) *CreateAlertOutput
SetAlertArn sets the AlertArn field's value.
func (CreateAlertOutput) String ¶
func (s CreateAlertOutput) String() string
String returns the string representation
type CreateAnomalyDetectorInput ¶
type CreateAnomalyDetectorInput struct { // Contains information about the configuration of the anomaly detector. // // AnomalyDetectorConfig is a required field AnomalyDetectorConfig *AnomalyDetectorConfig `type:"structure" required:"true"` // A description of the detector. AnomalyDetectorDescription *string `min:"1" type:"string"` // The name of the detector. // // AnomalyDetectorName is a required field AnomalyDetectorName *string `min:"1" type:"string" required:"true"` // The ARN of the KMS key to use to encrypt your data. KmsKeyArn *string `min:"20" type:"string"` // A list of tags (https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html) // to apply to the anomaly detector. Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
func (CreateAnomalyDetectorInput) GoString ¶
func (s CreateAnomalyDetectorInput) GoString() string
GoString returns the string representation
func (*CreateAnomalyDetectorInput) SetAnomalyDetectorConfig ¶
func (s *CreateAnomalyDetectorInput) SetAnomalyDetectorConfig(v *AnomalyDetectorConfig) *CreateAnomalyDetectorInput
SetAnomalyDetectorConfig sets the AnomalyDetectorConfig field's value.
func (*CreateAnomalyDetectorInput) SetAnomalyDetectorDescription ¶
func (s *CreateAnomalyDetectorInput) SetAnomalyDetectorDescription(v string) *CreateAnomalyDetectorInput
SetAnomalyDetectorDescription sets the AnomalyDetectorDescription field's value.
func (*CreateAnomalyDetectorInput) SetAnomalyDetectorName ¶
func (s *CreateAnomalyDetectorInput) SetAnomalyDetectorName(v string) *CreateAnomalyDetectorInput
SetAnomalyDetectorName sets the AnomalyDetectorName field's value.
func (*CreateAnomalyDetectorInput) SetKmsKeyArn ¶
func (s *CreateAnomalyDetectorInput) SetKmsKeyArn(v string) *CreateAnomalyDetectorInput
SetKmsKeyArn sets the KmsKeyArn field's value.
func (*CreateAnomalyDetectorInput) SetTags ¶
func (s *CreateAnomalyDetectorInput) SetTags(v map[string]*string) *CreateAnomalyDetectorInput
SetTags sets the Tags field's value.
func (CreateAnomalyDetectorInput) String ¶
func (s CreateAnomalyDetectorInput) String() string
String returns the string representation
func (*CreateAnomalyDetectorInput) Validate ¶
func (s *CreateAnomalyDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAnomalyDetectorOutput ¶
type CreateAnomalyDetectorOutput struct { // The ARN of the detector. AnomalyDetectorArn *string `type:"string"` // contains filtered or unexported fields }
func (CreateAnomalyDetectorOutput) GoString ¶
func (s CreateAnomalyDetectorOutput) GoString() string
GoString returns the string representation
func (*CreateAnomalyDetectorOutput) SetAnomalyDetectorArn ¶
func (s *CreateAnomalyDetectorOutput) SetAnomalyDetectorArn(v string) *CreateAnomalyDetectorOutput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (CreateAnomalyDetectorOutput) String ¶
func (s CreateAnomalyDetectorOutput) String() string
String returns the string representation
type CreateMetricSetInput ¶
type CreateMetricSetInput struct { // The ARN of the anomaly detector that will use the dataset. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // A list of the fields you want to treat as dimensions. DimensionList []*string `min:"1" type:"list"` // A list of metrics that the dataset will contain. // // MetricList is a required field MetricList []*Metric `min:"1" type:"list" required:"true"` // A description of the dataset you are creating. MetricSetDescription *string `min:"1" type:"string"` // The frequency with which the source data will be analyzed for anomalies. MetricSetFrequency *string `type:"string" enum:"Frequency"` // The name of the dataset. // // MetricSetName is a required field MetricSetName *string `min:"1" type:"string" required:"true"` // Contains information about how the source data should be interpreted. // // MetricSource is a required field MetricSource *MetricSource `type:"structure" required:"true"` // After an interval ends, the amount of seconds that the detector waits before // importing data. Offset is only supported for S3 and Redshift datasources. Offset *int64 `type:"integer"` // A list of tags (https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html) // to apply to the dataset. Tags map[string]*string `min:"1" type:"map"` // Contains information about the column used for tracking time in your source // data. TimestampColumn *TimestampColumn `type:"structure"` // The time zone in which your source data was recorded. Timezone *string `type:"string"` // contains filtered or unexported fields }
func (CreateMetricSetInput) GoString ¶
func (s CreateMetricSetInput) GoString() string
GoString returns the string representation
func (*CreateMetricSetInput) SetAnomalyDetectorArn ¶
func (s *CreateMetricSetInput) SetAnomalyDetectorArn(v string) *CreateMetricSetInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*CreateMetricSetInput) SetDimensionList ¶
func (s *CreateMetricSetInput) SetDimensionList(v []*string) *CreateMetricSetInput
SetDimensionList sets the DimensionList field's value.
func (*CreateMetricSetInput) SetMetricList ¶
func (s *CreateMetricSetInput) SetMetricList(v []*Metric) *CreateMetricSetInput
SetMetricList sets the MetricList field's value.
func (*CreateMetricSetInput) SetMetricSetDescription ¶
func (s *CreateMetricSetInput) SetMetricSetDescription(v string) *CreateMetricSetInput
SetMetricSetDescription sets the MetricSetDescription field's value.
func (*CreateMetricSetInput) SetMetricSetFrequency ¶
func (s *CreateMetricSetInput) SetMetricSetFrequency(v string) *CreateMetricSetInput
SetMetricSetFrequency sets the MetricSetFrequency field's value.
func (*CreateMetricSetInput) SetMetricSetName ¶
func (s *CreateMetricSetInput) SetMetricSetName(v string) *CreateMetricSetInput
SetMetricSetName sets the MetricSetName field's value.
func (*CreateMetricSetInput) SetMetricSource ¶
func (s *CreateMetricSetInput) SetMetricSource(v *MetricSource) *CreateMetricSetInput
SetMetricSource sets the MetricSource field's value.
func (*CreateMetricSetInput) SetOffset ¶
func (s *CreateMetricSetInput) SetOffset(v int64) *CreateMetricSetInput
SetOffset sets the Offset field's value.
func (*CreateMetricSetInput) SetTags ¶
func (s *CreateMetricSetInput) SetTags(v map[string]*string) *CreateMetricSetInput
SetTags sets the Tags field's value.
func (*CreateMetricSetInput) SetTimestampColumn ¶
func (s *CreateMetricSetInput) SetTimestampColumn(v *TimestampColumn) *CreateMetricSetInput
SetTimestampColumn sets the TimestampColumn field's value.
func (*CreateMetricSetInput) SetTimezone ¶
func (s *CreateMetricSetInput) SetTimezone(v string) *CreateMetricSetInput
SetTimezone sets the Timezone field's value.
func (CreateMetricSetInput) String ¶
func (s CreateMetricSetInput) String() string
String returns the string representation
func (*CreateMetricSetInput) Validate ¶
func (s *CreateMetricSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMetricSetOutput ¶
type CreateMetricSetOutput struct { // The ARN of the dataset. MetricSetArn *string `type:"string"` // contains filtered or unexported fields }
func (CreateMetricSetOutput) GoString ¶
func (s CreateMetricSetOutput) GoString() string
GoString returns the string representation
func (*CreateMetricSetOutput) SetMetricSetArn ¶
func (s *CreateMetricSetOutput) SetMetricSetArn(v string) *CreateMetricSetOutput
SetMetricSetArn sets the MetricSetArn field's value.
func (CreateMetricSetOutput) String ¶
func (s CreateMetricSetOutput) String() string
String returns the string representation
type CsvFormatDescriptor ¶
type CsvFormatDescriptor struct { // The character set in which the source CSV file is written. Charset *string `type:"string"` // Whether or not the source CSV file contains a header. ContainsHeader *bool `type:"boolean"` // The character used to delimit the source CSV file. Delimiter *string `type:"string"` // The level of compression of the source CSV file. FileCompression *string `type:"string" enum:"CSVFileCompression"` // A list of the source CSV file's headers, if any. HeaderList []*string `type:"list"` // The character used as a quote character. QuoteSymbol *string `type:"string"` // contains filtered or unexported fields }
Contains information about how a source CSV data file should be analyzed.
func (CsvFormatDescriptor) GoString ¶
func (s CsvFormatDescriptor) GoString() string
GoString returns the string representation
func (*CsvFormatDescriptor) SetCharset ¶
func (s *CsvFormatDescriptor) SetCharset(v string) *CsvFormatDescriptor
SetCharset sets the Charset field's value.
func (*CsvFormatDescriptor) SetContainsHeader ¶
func (s *CsvFormatDescriptor) SetContainsHeader(v bool) *CsvFormatDescriptor
SetContainsHeader sets the ContainsHeader field's value.
func (*CsvFormatDescriptor) SetDelimiter ¶
func (s *CsvFormatDescriptor) SetDelimiter(v string) *CsvFormatDescriptor
SetDelimiter sets the Delimiter field's value.
func (*CsvFormatDescriptor) SetFileCompression ¶
func (s *CsvFormatDescriptor) SetFileCompression(v string) *CsvFormatDescriptor
SetFileCompression sets the FileCompression field's value.
func (*CsvFormatDescriptor) SetHeaderList ¶
func (s *CsvFormatDescriptor) SetHeaderList(v []*string) *CsvFormatDescriptor
SetHeaderList sets the HeaderList field's value.
func (*CsvFormatDescriptor) SetQuoteSymbol ¶
func (s *CsvFormatDescriptor) SetQuoteSymbol(v string) *CsvFormatDescriptor
SetQuoteSymbol sets the QuoteSymbol field's value.
func (CsvFormatDescriptor) String ¶
func (s CsvFormatDescriptor) String() string
String returns the string representation
type DeleteAlertInput ¶
type DeleteAlertInput struct { // The ARN of the alert to delete. // // AlertArn is a required field AlertArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteAlertInput) GoString ¶
func (s DeleteAlertInput) GoString() string
GoString returns the string representation
func (*DeleteAlertInput) SetAlertArn ¶
func (s *DeleteAlertInput) SetAlertArn(v string) *DeleteAlertInput
SetAlertArn sets the AlertArn field's value.
func (DeleteAlertInput) String ¶
func (s DeleteAlertInput) String() string
String returns the string representation
func (*DeleteAlertInput) Validate ¶
func (s *DeleteAlertInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAlertOutput ¶
type DeleteAlertOutput struct {
// contains filtered or unexported fields
}
func (DeleteAlertOutput) GoString ¶
func (s DeleteAlertOutput) GoString() string
GoString returns the string representation
func (DeleteAlertOutput) String ¶
func (s DeleteAlertOutput) String() string
String returns the string representation
type DeleteAnomalyDetectorInput ¶
type DeleteAnomalyDetectorInput struct { // The ARN of the detector to delete. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteAnomalyDetectorInput) GoString ¶
func (s DeleteAnomalyDetectorInput) GoString() string
GoString returns the string representation
func (*DeleteAnomalyDetectorInput) SetAnomalyDetectorArn ¶
func (s *DeleteAnomalyDetectorInput) SetAnomalyDetectorArn(v string) *DeleteAnomalyDetectorInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (DeleteAnomalyDetectorInput) String ¶
func (s DeleteAnomalyDetectorInput) String() string
String returns the string representation
func (*DeleteAnomalyDetectorInput) Validate ¶
func (s *DeleteAnomalyDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAnomalyDetectorOutput ¶
type DeleteAnomalyDetectorOutput struct {
// contains filtered or unexported fields
}
func (DeleteAnomalyDetectorOutput) GoString ¶
func (s DeleteAnomalyDetectorOutput) GoString() string
GoString returns the string representation
func (DeleteAnomalyDetectorOutput) String ¶
func (s DeleteAnomalyDetectorOutput) String() string
String returns the string representation
type DescribeAlertInput ¶
type DescribeAlertInput struct { // The ARN of the alert to describe. // // AlertArn is a required field AlertArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeAlertInput) GoString ¶
func (s DescribeAlertInput) GoString() string
GoString returns the string representation
func (*DescribeAlertInput) SetAlertArn ¶
func (s *DescribeAlertInput) SetAlertArn(v string) *DescribeAlertInput
SetAlertArn sets the AlertArn field's value.
func (DescribeAlertInput) String ¶
func (s DescribeAlertInput) String() string
String returns the string representation
func (*DescribeAlertInput) Validate ¶
func (s *DescribeAlertInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAlertOutput ¶
type DescribeAlertOutput struct { // Contains information about an alert. Alert *Alert `type:"structure"` // contains filtered or unexported fields }
func (DescribeAlertOutput) GoString ¶
func (s DescribeAlertOutput) GoString() string
GoString returns the string representation
func (*DescribeAlertOutput) SetAlert ¶
func (s *DescribeAlertOutput) SetAlert(v *Alert) *DescribeAlertOutput
SetAlert sets the Alert field's value.
func (DescribeAlertOutput) String ¶
func (s DescribeAlertOutput) String() string
String returns the string representation
type DescribeAnomalyDetectionExecutionsInput ¶
type DescribeAnomalyDetectionExecutionsInput struct { // The Amazon Resource Name (ARN) of the anomaly detector. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // The number of items to return in the response. MaxResults *int64 `min:"1" type:"integer"` // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. NextToken *string `min:"1" type:"string"` // The timestamp of the anomaly detection job. Timestamp *string `type:"string"` // contains filtered or unexported fields }
func (DescribeAnomalyDetectionExecutionsInput) GoString ¶
func (s DescribeAnomalyDetectionExecutionsInput) GoString() string
GoString returns the string representation
func (*DescribeAnomalyDetectionExecutionsInput) SetAnomalyDetectorArn ¶
func (s *DescribeAnomalyDetectionExecutionsInput) SetAnomalyDetectorArn(v string) *DescribeAnomalyDetectionExecutionsInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*DescribeAnomalyDetectionExecutionsInput) SetMaxResults ¶
func (s *DescribeAnomalyDetectionExecutionsInput) SetMaxResults(v int64) *DescribeAnomalyDetectionExecutionsInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeAnomalyDetectionExecutionsInput) SetNextToken ¶
func (s *DescribeAnomalyDetectionExecutionsInput) SetNextToken(v string) *DescribeAnomalyDetectionExecutionsInput
SetNextToken sets the NextToken field's value.
func (*DescribeAnomalyDetectionExecutionsInput) SetTimestamp ¶
func (s *DescribeAnomalyDetectionExecutionsInput) SetTimestamp(v string) *DescribeAnomalyDetectionExecutionsInput
SetTimestamp sets the Timestamp field's value.
func (DescribeAnomalyDetectionExecutionsInput) String ¶
func (s DescribeAnomalyDetectionExecutionsInput) String() string
String returns the string representation
func (*DescribeAnomalyDetectionExecutionsInput) Validate ¶
func (s *DescribeAnomalyDetectionExecutionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAnomalyDetectionExecutionsOutput ¶
type DescribeAnomalyDetectionExecutionsOutput struct { // A list of detection jobs. ExecutionList []*ExecutionStatus `type:"list"` // The pagination token that's included if more results are available. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (DescribeAnomalyDetectionExecutionsOutput) GoString ¶
func (s DescribeAnomalyDetectionExecutionsOutput) GoString() string
GoString returns the string representation
func (*DescribeAnomalyDetectionExecutionsOutput) SetExecutionList ¶
func (s *DescribeAnomalyDetectionExecutionsOutput) SetExecutionList(v []*ExecutionStatus) *DescribeAnomalyDetectionExecutionsOutput
SetExecutionList sets the ExecutionList field's value.
func (*DescribeAnomalyDetectionExecutionsOutput) SetNextToken ¶
func (s *DescribeAnomalyDetectionExecutionsOutput) SetNextToken(v string) *DescribeAnomalyDetectionExecutionsOutput
SetNextToken sets the NextToken field's value.
func (DescribeAnomalyDetectionExecutionsOutput) String ¶
func (s DescribeAnomalyDetectionExecutionsOutput) String() string
String returns the string representation
type DescribeAnomalyDetectorInput ¶
type DescribeAnomalyDetectorInput struct { // The ARN of the detector to describe. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeAnomalyDetectorInput) GoString ¶
func (s DescribeAnomalyDetectorInput) GoString() string
GoString returns the string representation
func (*DescribeAnomalyDetectorInput) SetAnomalyDetectorArn ¶
func (s *DescribeAnomalyDetectorInput) SetAnomalyDetectorArn(v string) *DescribeAnomalyDetectorInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (DescribeAnomalyDetectorInput) String ¶
func (s DescribeAnomalyDetectorInput) String() string
String returns the string representation
func (*DescribeAnomalyDetectorInput) Validate ¶
func (s *DescribeAnomalyDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAnomalyDetectorOutput ¶
type DescribeAnomalyDetectorOutput struct { // The ARN of the detector. AnomalyDetectorArn *string `type:"string"` // Contains information about the detector's configuration. AnomalyDetectorConfig *AnomalyDetectorConfigSummary `type:"structure"` // A description of the detector. AnomalyDetectorDescription *string `min:"1" type:"string"` // The name of the detector. AnomalyDetectorName *string `min:"1" type:"string"` // The time at which the detector was created. CreationTime *time.Time `type:"timestamp"` // The reason that the detector failed, if any. FailureReason *string `type:"string"` // The ARN of the KMS key to use to encrypt your data. KmsKeyArn *string `min:"20" type:"string"` // The time at which the detector was last modified. LastModificationTime *time.Time `type:"timestamp"` // The status of the detector. Status *string `type:"string" enum:"AnomalyDetectorStatus"` // contains filtered or unexported fields }
func (DescribeAnomalyDetectorOutput) GoString ¶
func (s DescribeAnomalyDetectorOutput) GoString() string
GoString returns the string representation
func (*DescribeAnomalyDetectorOutput) SetAnomalyDetectorArn ¶
func (s *DescribeAnomalyDetectorOutput) SetAnomalyDetectorArn(v string) *DescribeAnomalyDetectorOutput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*DescribeAnomalyDetectorOutput) SetAnomalyDetectorConfig ¶
func (s *DescribeAnomalyDetectorOutput) SetAnomalyDetectorConfig(v *AnomalyDetectorConfigSummary) *DescribeAnomalyDetectorOutput
SetAnomalyDetectorConfig sets the AnomalyDetectorConfig field's value.
func (*DescribeAnomalyDetectorOutput) SetAnomalyDetectorDescription ¶
func (s *DescribeAnomalyDetectorOutput) SetAnomalyDetectorDescription(v string) *DescribeAnomalyDetectorOutput
SetAnomalyDetectorDescription sets the AnomalyDetectorDescription field's value.
func (*DescribeAnomalyDetectorOutput) SetAnomalyDetectorName ¶
func (s *DescribeAnomalyDetectorOutput) SetAnomalyDetectorName(v string) *DescribeAnomalyDetectorOutput
SetAnomalyDetectorName sets the AnomalyDetectorName field's value.
func (*DescribeAnomalyDetectorOutput) SetCreationTime ¶
func (s *DescribeAnomalyDetectorOutput) SetCreationTime(v time.Time) *DescribeAnomalyDetectorOutput
SetCreationTime sets the CreationTime field's value.
func (*DescribeAnomalyDetectorOutput) SetFailureReason ¶
func (s *DescribeAnomalyDetectorOutput) SetFailureReason(v string) *DescribeAnomalyDetectorOutput
SetFailureReason sets the FailureReason field's value.
func (*DescribeAnomalyDetectorOutput) SetKmsKeyArn ¶
func (s *DescribeAnomalyDetectorOutput) SetKmsKeyArn(v string) *DescribeAnomalyDetectorOutput
SetKmsKeyArn sets the KmsKeyArn field's value.
func (*DescribeAnomalyDetectorOutput) SetLastModificationTime ¶
func (s *DescribeAnomalyDetectorOutput) SetLastModificationTime(v time.Time) *DescribeAnomalyDetectorOutput
SetLastModificationTime sets the LastModificationTime field's value.
func (*DescribeAnomalyDetectorOutput) SetStatus ¶
func (s *DescribeAnomalyDetectorOutput) SetStatus(v string) *DescribeAnomalyDetectorOutput
SetStatus sets the Status field's value.
func (DescribeAnomalyDetectorOutput) String ¶
func (s DescribeAnomalyDetectorOutput) String() string
String returns the string representation
type DescribeMetricSetInput ¶
type DescribeMetricSetInput struct { // The ARN of the dataset. // // MetricSetArn is a required field MetricSetArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeMetricSetInput) GoString ¶
func (s DescribeMetricSetInput) GoString() string
GoString returns the string representation
func (*DescribeMetricSetInput) SetMetricSetArn ¶
func (s *DescribeMetricSetInput) SetMetricSetArn(v string) *DescribeMetricSetInput
SetMetricSetArn sets the MetricSetArn field's value.
func (DescribeMetricSetInput) String ¶
func (s DescribeMetricSetInput) String() string
String returns the string representation
func (*DescribeMetricSetInput) Validate ¶
func (s *DescribeMetricSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeMetricSetOutput ¶
type DescribeMetricSetOutput struct { // The ARN of the detector that contains the dataset. AnomalyDetectorArn *string `type:"string"` // The time at which the dataset was created. CreationTime *time.Time `type:"timestamp"` // A list of the dimensions chosen for analysis. DimensionList []*string `min:"1" type:"list"` // The time at which the dataset was last modified. LastModificationTime *time.Time `type:"timestamp"` // A list of the metrics defined by the dataset. MetricList []*Metric `min:"1" type:"list"` // The ARN of the dataset. MetricSetArn *string `type:"string"` // The dataset's description. MetricSetDescription *string `min:"1" type:"string"` // The interval at which the data will be analyzed for anomalies. MetricSetFrequency *string `type:"string" enum:"Frequency"` // The name of the dataset. MetricSetName *string `min:"1" type:"string"` // Contains information about the dataset's source data. MetricSource *MetricSource `type:"structure"` // The offset in seconds. Only supported for S3 and Redshift datasources. Offset *int64 `type:"integer"` // Contains information about the column used for tracking time in your source // data. TimestampColumn *TimestampColumn `type:"structure"` // The time zone in which the dataset's data was recorded. Timezone *string `type:"string"` // contains filtered or unexported fields }
func (DescribeMetricSetOutput) GoString ¶
func (s DescribeMetricSetOutput) GoString() string
GoString returns the string representation
func (*DescribeMetricSetOutput) SetAnomalyDetectorArn ¶
func (s *DescribeMetricSetOutput) SetAnomalyDetectorArn(v string) *DescribeMetricSetOutput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*DescribeMetricSetOutput) SetCreationTime ¶
func (s *DescribeMetricSetOutput) SetCreationTime(v time.Time) *DescribeMetricSetOutput
SetCreationTime sets the CreationTime field's value.
func (*DescribeMetricSetOutput) SetDimensionList ¶
func (s *DescribeMetricSetOutput) SetDimensionList(v []*string) *DescribeMetricSetOutput
SetDimensionList sets the DimensionList field's value.
func (*DescribeMetricSetOutput) SetLastModificationTime ¶
func (s *DescribeMetricSetOutput) SetLastModificationTime(v time.Time) *DescribeMetricSetOutput
SetLastModificationTime sets the LastModificationTime field's value.
func (*DescribeMetricSetOutput) SetMetricList ¶
func (s *DescribeMetricSetOutput) SetMetricList(v []*Metric) *DescribeMetricSetOutput
SetMetricList sets the MetricList field's value.
func (*DescribeMetricSetOutput) SetMetricSetArn ¶
func (s *DescribeMetricSetOutput) SetMetricSetArn(v string) *DescribeMetricSetOutput
SetMetricSetArn sets the MetricSetArn field's value.
func (*DescribeMetricSetOutput) SetMetricSetDescription ¶
func (s *DescribeMetricSetOutput) SetMetricSetDescription(v string) *DescribeMetricSetOutput
SetMetricSetDescription sets the MetricSetDescription field's value.
func (*DescribeMetricSetOutput) SetMetricSetFrequency ¶
func (s *DescribeMetricSetOutput) SetMetricSetFrequency(v string) *DescribeMetricSetOutput
SetMetricSetFrequency sets the MetricSetFrequency field's value.
func (*DescribeMetricSetOutput) SetMetricSetName ¶
func (s *DescribeMetricSetOutput) SetMetricSetName(v string) *DescribeMetricSetOutput
SetMetricSetName sets the MetricSetName field's value.
func (*DescribeMetricSetOutput) SetMetricSource ¶
func (s *DescribeMetricSetOutput) SetMetricSource(v *MetricSource) *DescribeMetricSetOutput
SetMetricSource sets the MetricSource field's value.
func (*DescribeMetricSetOutput) SetOffset ¶
func (s *DescribeMetricSetOutput) SetOffset(v int64) *DescribeMetricSetOutput
SetOffset sets the Offset field's value.
func (*DescribeMetricSetOutput) SetTimestampColumn ¶
func (s *DescribeMetricSetOutput) SetTimestampColumn(v *TimestampColumn) *DescribeMetricSetOutput
SetTimestampColumn sets the TimestampColumn field's value.
func (*DescribeMetricSetOutput) SetTimezone ¶
func (s *DescribeMetricSetOutput) SetTimezone(v string) *DescribeMetricSetOutput
SetTimezone sets the Timezone field's value.
func (DescribeMetricSetOutput) String ¶
func (s DescribeMetricSetOutput) String() string
String returns the string representation
type DimensionContribution ¶
type DimensionContribution struct { // The name of the dimension. DimensionName *string `min:"1" type:"string"` // A list of dimension values that contributed to the anomaly. DimensionValueContributionList []*DimensionValueContribution `type:"list"` // contains filtered or unexported fields }
Details about a dimension that contributed to an anomaly.
func (DimensionContribution) GoString ¶
func (s DimensionContribution) GoString() string
GoString returns the string representation
func (*DimensionContribution) SetDimensionName ¶
func (s *DimensionContribution) SetDimensionName(v string) *DimensionContribution
SetDimensionName sets the DimensionName field's value.
func (*DimensionContribution) SetDimensionValueContributionList ¶
func (s *DimensionContribution) SetDimensionValueContributionList(v []*DimensionValueContribution) *DimensionContribution
SetDimensionValueContributionList sets the DimensionValueContributionList field's value.
func (DimensionContribution) String ¶
func (s DimensionContribution) String() string
String returns the string representation
type DimensionNameValue ¶
type DimensionNameValue struct { // The name of the dimension. // // DimensionName is a required field DimensionName *string `min:"1" type:"string" required:"true"` // The value of the dimension. // // DimensionValue is a required field DimensionValue *string `type:"string" required:"true"` // contains filtered or unexported fields }
A dimension name and value.
func (DimensionNameValue) GoString ¶
func (s DimensionNameValue) GoString() string
GoString returns the string representation
func (*DimensionNameValue) SetDimensionName ¶
func (s *DimensionNameValue) SetDimensionName(v string) *DimensionNameValue
SetDimensionName sets the DimensionName field's value.
func (*DimensionNameValue) SetDimensionValue ¶
func (s *DimensionNameValue) SetDimensionValue(v string) *DimensionNameValue
SetDimensionValue sets the DimensionValue field's value.
func (DimensionNameValue) String ¶
func (s DimensionNameValue) String() string
String returns the string representation
type DimensionValueContribution ¶
type DimensionValueContribution struct { // The severity score of the value. ContributionScore *float64 `type:"double"` // The value of the dimension. DimensionValue *string `type:"string"` // contains filtered or unexported fields }
The severity of a value of a dimension that contributed to an anomaly.
func (DimensionValueContribution) GoString ¶
func (s DimensionValueContribution) GoString() string
GoString returns the string representation
func (*DimensionValueContribution) SetContributionScore ¶
func (s *DimensionValueContribution) SetContributionScore(v float64) *DimensionValueContribution
SetContributionScore sets the ContributionScore field's value.
func (*DimensionValueContribution) SetDimensionValue ¶
func (s *DimensionValueContribution) SetDimensionValue(v string) *DimensionValueContribution
SetDimensionValue sets the DimensionValue field's value.
func (DimensionValueContribution) String ¶
func (s DimensionValueContribution) String() string
String returns the string representation
type ExecutionStatus ¶
type ExecutionStatus struct { // The reason that the run failed, if applicable. FailureReason *string `min:"1" type:"string"` // The run's status. Status *string `type:"string" enum:"AnomalyDetectionTaskStatus"` // The run's timestamp. Timestamp *string `type:"string"` // contains filtered or unexported fields }
The status of an anomaly detector run.
func (ExecutionStatus) GoString ¶
func (s ExecutionStatus) GoString() string
GoString returns the string representation
func (*ExecutionStatus) SetFailureReason ¶
func (s *ExecutionStatus) SetFailureReason(v string) *ExecutionStatus
SetFailureReason sets the FailureReason field's value.
func (*ExecutionStatus) SetStatus ¶
func (s *ExecutionStatus) SetStatus(v string) *ExecutionStatus
SetStatus sets the Status field's value.
func (*ExecutionStatus) SetTimestamp ¶
func (s *ExecutionStatus) SetTimestamp(v string) *ExecutionStatus
SetTimestamp sets the Timestamp field's value.
func (ExecutionStatus) String ¶
func (s ExecutionStatus) String() string
String returns the string representation
type FileFormatDescriptor ¶
type FileFormatDescriptor struct { // Contains information about how a source CSV data file should be analyzed. CsvFormatDescriptor *CsvFormatDescriptor `type:"structure"` // Contains information about how a source JSON data file should be analyzed. JsonFormatDescriptor *JsonFormatDescriptor `type:"structure"` // contains filtered or unexported fields }
Contains information about a source file's formatting.
func (FileFormatDescriptor) GoString ¶
func (s FileFormatDescriptor) GoString() string
GoString returns the string representation
func (*FileFormatDescriptor) SetCsvFormatDescriptor ¶
func (s *FileFormatDescriptor) SetCsvFormatDescriptor(v *CsvFormatDescriptor) *FileFormatDescriptor
SetCsvFormatDescriptor sets the CsvFormatDescriptor field's value.
func (*FileFormatDescriptor) SetJsonFormatDescriptor ¶
func (s *FileFormatDescriptor) SetJsonFormatDescriptor(v *JsonFormatDescriptor) *FileFormatDescriptor
SetJsonFormatDescriptor sets the JsonFormatDescriptor field's value.
func (FileFormatDescriptor) String ¶
func (s FileFormatDescriptor) String() string
String returns the string representation
type GetAnomalyGroupInput ¶
type GetAnomalyGroupInput struct { // The Amazon Resource Name (ARN) of the anomaly detector. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // The ID of the anomaly group. // // AnomalyGroupId is a required field AnomalyGroupId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetAnomalyGroupInput) GoString ¶
func (s GetAnomalyGroupInput) GoString() string
GoString returns the string representation
func (*GetAnomalyGroupInput) SetAnomalyDetectorArn ¶
func (s *GetAnomalyGroupInput) SetAnomalyDetectorArn(v string) *GetAnomalyGroupInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*GetAnomalyGroupInput) SetAnomalyGroupId ¶
func (s *GetAnomalyGroupInput) SetAnomalyGroupId(v string) *GetAnomalyGroupInput
SetAnomalyGroupId sets the AnomalyGroupId field's value.
func (GetAnomalyGroupInput) String ¶
func (s GetAnomalyGroupInput) String() string
String returns the string representation
func (*GetAnomalyGroupInput) Validate ¶
func (s *GetAnomalyGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAnomalyGroupOutput ¶
type GetAnomalyGroupOutput struct { // Details about the anomaly group. AnomalyGroup *AnomalyGroup `type:"structure"` // contains filtered or unexported fields }
func (GetAnomalyGroupOutput) GoString ¶
func (s GetAnomalyGroupOutput) GoString() string
GoString returns the string representation
func (*GetAnomalyGroupOutput) SetAnomalyGroup ¶
func (s *GetAnomalyGroupOutput) SetAnomalyGroup(v *AnomalyGroup) *GetAnomalyGroupOutput
SetAnomalyGroup sets the AnomalyGroup field's value.
func (GetAnomalyGroupOutput) String ¶
func (s GetAnomalyGroupOutput) String() string
String returns the string representation
type GetFeedbackInput ¶
type GetFeedbackInput struct { // The Amazon Resource Name (ARN) of the anomaly detector. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // The anomalous metric and group ID. // // AnomalyGroupTimeSeriesFeedback is a required field AnomalyGroupTimeSeriesFeedback *AnomalyGroupTimeSeries `type:"structure" required:"true"` // The maximum number of results to return. MaxResults *int64 `min:"1" type:"integer"` // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (GetFeedbackInput) GoString ¶
func (s GetFeedbackInput) GoString() string
GoString returns the string representation
func (*GetFeedbackInput) SetAnomalyDetectorArn ¶
func (s *GetFeedbackInput) SetAnomalyDetectorArn(v string) *GetFeedbackInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*GetFeedbackInput) SetAnomalyGroupTimeSeriesFeedback ¶
func (s *GetFeedbackInput) SetAnomalyGroupTimeSeriesFeedback(v *AnomalyGroupTimeSeries) *GetFeedbackInput
SetAnomalyGroupTimeSeriesFeedback sets the AnomalyGroupTimeSeriesFeedback field's value.
func (*GetFeedbackInput) SetMaxResults ¶
func (s *GetFeedbackInput) SetMaxResults(v int64) *GetFeedbackInput
SetMaxResults sets the MaxResults field's value.
func (*GetFeedbackInput) SetNextToken ¶
func (s *GetFeedbackInput) SetNextToken(v string) *GetFeedbackInput
SetNextToken sets the NextToken field's value.
func (GetFeedbackInput) String ¶
func (s GetFeedbackInput) String() string
String returns the string representation
func (*GetFeedbackInput) Validate ¶
func (s *GetFeedbackInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFeedbackOutput ¶
type GetFeedbackOutput struct { // Feedback for an anomalous metric. AnomalyGroupTimeSeriesFeedback []*TimeSeriesFeedback `type:"list"` // The pagination token that's included if more results are available. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (GetFeedbackOutput) GoString ¶
func (s GetFeedbackOutput) GoString() string
GoString returns the string representation
func (*GetFeedbackOutput) SetAnomalyGroupTimeSeriesFeedback ¶
func (s *GetFeedbackOutput) SetAnomalyGroupTimeSeriesFeedback(v []*TimeSeriesFeedback) *GetFeedbackOutput
SetAnomalyGroupTimeSeriesFeedback sets the AnomalyGroupTimeSeriesFeedback field's value.
func (*GetFeedbackOutput) SetNextToken ¶
func (s *GetFeedbackOutput) SetNextToken(v string) *GetFeedbackOutput
SetNextToken sets the NextToken field's value.
func (GetFeedbackOutput) String ¶
func (s GetFeedbackOutput) String() string
String returns the string representation
type GetSampleDataInput ¶
type GetSampleDataInput struct { // A datasource bucket in Amazon S3. S3SourceConfig *SampleDataS3SourceConfig `type:"structure"` // contains filtered or unexported fields }
func (GetSampleDataInput) GoString ¶
func (s GetSampleDataInput) GoString() string
GoString returns the string representation
func (*GetSampleDataInput) SetS3SourceConfig ¶
func (s *GetSampleDataInput) SetS3SourceConfig(v *SampleDataS3SourceConfig) *GetSampleDataInput
SetS3SourceConfig sets the S3SourceConfig field's value.
func (GetSampleDataInput) String ¶
func (s GetSampleDataInput) String() string
String returns the string representation
func (*GetSampleDataInput) Validate ¶
func (s *GetSampleDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetSampleDataOutput ¶
type GetSampleDataOutput struct { // A list of header labels for the records. HeaderValues []*string `type:"list"` // A list of records. SampleRows [][]*string `type:"list"` // contains filtered or unexported fields }
func (GetSampleDataOutput) GoString ¶
func (s GetSampleDataOutput) GoString() string
GoString returns the string representation
func (*GetSampleDataOutput) SetHeaderValues ¶
func (s *GetSampleDataOutput) SetHeaderValues(v []*string) *GetSampleDataOutput
SetHeaderValues sets the HeaderValues field's value.
func (*GetSampleDataOutput) SetSampleRows ¶
func (s *GetSampleDataOutput) SetSampleRows(v [][]*string) *GetSampleDataOutput
SetSampleRows sets the SampleRows field's value.
func (GetSampleDataOutput) String ¶
func (s GetSampleDataOutput) String() string
String returns the string representation
type InternalServerException ¶
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The request processing has failed because of an unknown error, exception, or failure.
func (*InternalServerException) Code ¶
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (*InternalServerException) Error ¶
func (s *InternalServerException) Error() string
func (InternalServerException) GoString ¶
func (s InternalServerException) GoString() string
GoString returns the string representation
func (*InternalServerException) Message ¶
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (*InternalServerException) OrigErr ¶
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerException) RequestID ¶
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerException) StatusCode ¶
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerException) String ¶
func (s InternalServerException) String() string
String returns the string representation
type ItemizedMetricStats ¶
type ItemizedMetricStats struct { // The name of the measure. MetricName *string `min:"1" type:"string"` // The number of times that the measure appears. OccurrenceCount *int64 `type:"integer"` // contains filtered or unexported fields }
Aggregated statistics about a measure affected by an anomaly.
func (ItemizedMetricStats) GoString ¶
func (s ItemizedMetricStats) GoString() string
GoString returns the string representation
func (*ItemizedMetricStats) SetMetricName ¶
func (s *ItemizedMetricStats) SetMetricName(v string) *ItemizedMetricStats
SetMetricName sets the MetricName field's value.
func (*ItemizedMetricStats) SetOccurrenceCount ¶
func (s *ItemizedMetricStats) SetOccurrenceCount(v int64) *ItemizedMetricStats
SetOccurrenceCount sets the OccurrenceCount field's value.
func (ItemizedMetricStats) String ¶
func (s ItemizedMetricStats) String() string
String returns the string representation
type JsonFormatDescriptor ¶
type JsonFormatDescriptor struct { // The character set in which the source JSON file is written. Charset *string `type:"string"` // The level of compression of the source CSV file. FileCompression *string `type:"string" enum:"JsonFileCompression"` // contains filtered or unexported fields }
Contains information about how a source JSON data file should be analyzed.
func (JsonFormatDescriptor) GoString ¶
func (s JsonFormatDescriptor) GoString() string
GoString returns the string representation
func (*JsonFormatDescriptor) SetCharset ¶
func (s *JsonFormatDescriptor) SetCharset(v string) *JsonFormatDescriptor
SetCharset sets the Charset field's value.
func (*JsonFormatDescriptor) SetFileCompression ¶
func (s *JsonFormatDescriptor) SetFileCompression(v string) *JsonFormatDescriptor
SetFileCompression sets the FileCompression field's value.
func (JsonFormatDescriptor) String ¶
func (s JsonFormatDescriptor) String() string
String returns the string representation
type LambdaConfiguration ¶
type LambdaConfiguration struct { // The ARN of the Lambda function. // // LambdaArn is a required field LambdaArn *string `type:"string" required:"true"` // The ARN of an IAM role that has permission to invoke the Lambda function. // // RoleArn is a required field RoleArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains information about a Lambda configuration.
func (LambdaConfiguration) GoString ¶
func (s LambdaConfiguration) GoString() string
GoString returns the string representation
func (*LambdaConfiguration) SetLambdaArn ¶
func (s *LambdaConfiguration) SetLambdaArn(v string) *LambdaConfiguration
SetLambdaArn sets the LambdaArn field's value.
func (*LambdaConfiguration) SetRoleArn ¶
func (s *LambdaConfiguration) SetRoleArn(v string) *LambdaConfiguration
SetRoleArn sets the RoleArn field's value.
func (LambdaConfiguration) String ¶
func (s LambdaConfiguration) String() string
String returns the string representation
func (*LambdaConfiguration) Validate ¶
func (s *LambdaConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAlertsInput ¶
type ListAlertsInput struct { // The ARN of the alert's detector. AnomalyDetectorArn *string `type:"string"` // The maximum number of results that will be displayed by the request. MaxResults *int64 `min:"1" type:"integer"` // If the result of the previous request is truncated, the response includes // a NextToken. To retrieve the next set of results, use the token in the next // request. Tokens expire after 24 hours. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListAlertsInput) GoString ¶
func (s ListAlertsInput) GoString() string
GoString returns the string representation
func (*ListAlertsInput) SetAnomalyDetectorArn ¶
func (s *ListAlertsInput) SetAnomalyDetectorArn(v string) *ListAlertsInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*ListAlertsInput) SetMaxResults ¶
func (s *ListAlertsInput) SetMaxResults(v int64) *ListAlertsInput
SetMaxResults sets the MaxResults field's value.
func (*ListAlertsInput) SetNextToken ¶
func (s *ListAlertsInput) SetNextToken(v string) *ListAlertsInput
SetNextToken sets the NextToken field's value.
func (ListAlertsInput) String ¶
func (s ListAlertsInput) String() string
String returns the string representation
func (*ListAlertsInput) Validate ¶
func (s *ListAlertsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAlertsOutput ¶
type ListAlertsOutput struct { // Contains information about an alert. AlertSummaryList []*AlertSummary `type:"list"` // If the response is truncated, the service returns this token. To retrieve // the next set of results, use this token in the next request. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListAlertsOutput) GoString ¶
func (s ListAlertsOutput) GoString() string
GoString returns the string representation
func (*ListAlertsOutput) SetAlertSummaryList ¶
func (s *ListAlertsOutput) SetAlertSummaryList(v []*AlertSummary) *ListAlertsOutput
SetAlertSummaryList sets the AlertSummaryList field's value.
func (*ListAlertsOutput) SetNextToken ¶
func (s *ListAlertsOutput) SetNextToken(v string) *ListAlertsOutput
SetNextToken sets the NextToken field's value.
func (ListAlertsOutput) String ¶
func (s ListAlertsOutput) String() string
String returns the string representation
type ListAnomalyDetectorsInput ¶
type ListAnomalyDetectorsInput struct { // The maximum number of results to return. MaxResults *int64 `min:"1" type:"integer"` // If the result of the previous request was truncated, the response includes // a NextToken. To retrieve the next set of results, use the token in the next // request. Tokens expire after 24 hours. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListAnomalyDetectorsInput) GoString ¶
func (s ListAnomalyDetectorsInput) GoString() string
GoString returns the string representation
func (*ListAnomalyDetectorsInput) SetMaxResults ¶
func (s *ListAnomalyDetectorsInput) SetMaxResults(v int64) *ListAnomalyDetectorsInput
SetMaxResults sets the MaxResults field's value.
func (*ListAnomalyDetectorsInput) SetNextToken ¶
func (s *ListAnomalyDetectorsInput) SetNextToken(v string) *ListAnomalyDetectorsInput
SetNextToken sets the NextToken field's value.
func (ListAnomalyDetectorsInput) String ¶
func (s ListAnomalyDetectorsInput) String() string
String returns the string representation
func (*ListAnomalyDetectorsInput) Validate ¶
func (s *ListAnomalyDetectorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAnomalyDetectorsOutput ¶
type ListAnomalyDetectorsOutput struct { // A list of anomaly detectors in the account in the current region. AnomalyDetectorSummaryList []*AnomalyDetectorSummary `type:"list"` // If the response is truncated, the service returns this token. To retrieve // the next set of results, use the token in the next request. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListAnomalyDetectorsOutput) GoString ¶
func (s ListAnomalyDetectorsOutput) GoString() string
GoString returns the string representation
func (*ListAnomalyDetectorsOutput) SetAnomalyDetectorSummaryList ¶
func (s *ListAnomalyDetectorsOutput) SetAnomalyDetectorSummaryList(v []*AnomalyDetectorSummary) *ListAnomalyDetectorsOutput
SetAnomalyDetectorSummaryList sets the AnomalyDetectorSummaryList field's value.
func (*ListAnomalyDetectorsOutput) SetNextToken ¶
func (s *ListAnomalyDetectorsOutput) SetNextToken(v string) *ListAnomalyDetectorsOutput
SetNextToken sets the NextToken field's value.
func (ListAnomalyDetectorsOutput) String ¶
func (s ListAnomalyDetectorsOutput) String() string
String returns the string representation
type ListAnomalyGroupSummariesInput ¶
type ListAnomalyGroupSummariesInput struct { // The Amazon Resource Name (ARN) of the anomaly detector. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // The maximum number of results to return. MaxResults *int64 `min:"1" type:"integer"` // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. NextToken *string `min:"1" type:"string"` // The minimum severity score for inclusion in the output. // // SensitivityThreshold is a required field SensitivityThreshold *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
func (ListAnomalyGroupSummariesInput) GoString ¶
func (s ListAnomalyGroupSummariesInput) GoString() string
GoString returns the string representation
func (*ListAnomalyGroupSummariesInput) SetAnomalyDetectorArn ¶
func (s *ListAnomalyGroupSummariesInput) SetAnomalyDetectorArn(v string) *ListAnomalyGroupSummariesInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*ListAnomalyGroupSummariesInput) SetMaxResults ¶
func (s *ListAnomalyGroupSummariesInput) SetMaxResults(v int64) *ListAnomalyGroupSummariesInput
SetMaxResults sets the MaxResults field's value.
func (*ListAnomalyGroupSummariesInput) SetNextToken ¶
func (s *ListAnomalyGroupSummariesInput) SetNextToken(v string) *ListAnomalyGroupSummariesInput
SetNextToken sets the NextToken field's value.
func (*ListAnomalyGroupSummariesInput) SetSensitivityThreshold ¶
func (s *ListAnomalyGroupSummariesInput) SetSensitivityThreshold(v int64) *ListAnomalyGroupSummariesInput
SetSensitivityThreshold sets the SensitivityThreshold field's value.
func (ListAnomalyGroupSummariesInput) String ¶
func (s ListAnomalyGroupSummariesInput) String() string
String returns the string representation
func (*ListAnomalyGroupSummariesInput) Validate ¶
func (s *ListAnomalyGroupSummariesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAnomalyGroupSummariesOutput ¶
type ListAnomalyGroupSummariesOutput struct { // Aggregated details about the anomaly groups. AnomalyGroupStatistics *AnomalyGroupStatistics `type:"structure"` // A list of anomaly group summaries. AnomalyGroupSummaryList []*AnomalyGroupSummary `type:"list"` // The pagination token that's included if more results are available. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListAnomalyGroupSummariesOutput) GoString ¶
func (s ListAnomalyGroupSummariesOutput) GoString() string
GoString returns the string representation
func (*ListAnomalyGroupSummariesOutput) SetAnomalyGroupStatistics ¶
func (s *ListAnomalyGroupSummariesOutput) SetAnomalyGroupStatistics(v *AnomalyGroupStatistics) *ListAnomalyGroupSummariesOutput
SetAnomalyGroupStatistics sets the AnomalyGroupStatistics field's value.
func (*ListAnomalyGroupSummariesOutput) SetAnomalyGroupSummaryList ¶
func (s *ListAnomalyGroupSummariesOutput) SetAnomalyGroupSummaryList(v []*AnomalyGroupSummary) *ListAnomalyGroupSummariesOutput
SetAnomalyGroupSummaryList sets the AnomalyGroupSummaryList field's value.
func (*ListAnomalyGroupSummariesOutput) SetNextToken ¶
func (s *ListAnomalyGroupSummariesOutput) SetNextToken(v string) *ListAnomalyGroupSummariesOutput
SetNextToken sets the NextToken field's value.
func (ListAnomalyGroupSummariesOutput) String ¶
func (s ListAnomalyGroupSummariesOutput) String() string
String returns the string representation
type ListAnomalyGroupTimeSeriesInput ¶
type ListAnomalyGroupTimeSeriesInput struct { // The Amazon Resource Name (ARN) of the anomaly detector. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // The ID of the anomaly group. // // AnomalyGroupId is a required field AnomalyGroupId *string `type:"string" required:"true"` // The maximum number of results to return. MaxResults *int64 `min:"1" type:"integer"` // The name of the measure field. // // MetricName is a required field MetricName *string `type:"string" required:"true"` // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListAnomalyGroupTimeSeriesInput) GoString ¶
func (s ListAnomalyGroupTimeSeriesInput) GoString() string
GoString returns the string representation
func (*ListAnomalyGroupTimeSeriesInput) SetAnomalyDetectorArn ¶
func (s *ListAnomalyGroupTimeSeriesInput) SetAnomalyDetectorArn(v string) *ListAnomalyGroupTimeSeriesInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*ListAnomalyGroupTimeSeriesInput) SetAnomalyGroupId ¶
func (s *ListAnomalyGroupTimeSeriesInput) SetAnomalyGroupId(v string) *ListAnomalyGroupTimeSeriesInput
SetAnomalyGroupId sets the AnomalyGroupId field's value.
func (*ListAnomalyGroupTimeSeriesInput) SetMaxResults ¶
func (s *ListAnomalyGroupTimeSeriesInput) SetMaxResults(v int64) *ListAnomalyGroupTimeSeriesInput
SetMaxResults sets the MaxResults field's value.
func (*ListAnomalyGroupTimeSeriesInput) SetMetricName ¶
func (s *ListAnomalyGroupTimeSeriesInput) SetMetricName(v string) *ListAnomalyGroupTimeSeriesInput
SetMetricName sets the MetricName field's value.
func (*ListAnomalyGroupTimeSeriesInput) SetNextToken ¶
func (s *ListAnomalyGroupTimeSeriesInput) SetNextToken(v string) *ListAnomalyGroupTimeSeriesInput
SetNextToken sets the NextToken field's value.
func (ListAnomalyGroupTimeSeriesInput) String ¶
func (s ListAnomalyGroupTimeSeriesInput) String() string
String returns the string representation
func (*ListAnomalyGroupTimeSeriesInput) Validate ¶
func (s *ListAnomalyGroupTimeSeriesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAnomalyGroupTimeSeriesOutput ¶
type ListAnomalyGroupTimeSeriesOutput struct { // The ID of the anomaly group. AnomalyGroupId *string `type:"string"` // The name of the measure field. MetricName *string `type:"string"` // The pagination token that's included if more results are available. NextToken *string `min:"1" type:"string"` // A list of anomalous metrics. TimeSeriesList []*TimeSeries `type:"list"` // Timestamps for the anomalous metrics. TimestampList []*string `type:"list"` // contains filtered or unexported fields }
func (ListAnomalyGroupTimeSeriesOutput) GoString ¶
func (s ListAnomalyGroupTimeSeriesOutput) GoString() string
GoString returns the string representation
func (*ListAnomalyGroupTimeSeriesOutput) SetAnomalyGroupId ¶
func (s *ListAnomalyGroupTimeSeriesOutput) SetAnomalyGroupId(v string) *ListAnomalyGroupTimeSeriesOutput
SetAnomalyGroupId sets the AnomalyGroupId field's value.
func (*ListAnomalyGroupTimeSeriesOutput) SetMetricName ¶
func (s *ListAnomalyGroupTimeSeriesOutput) SetMetricName(v string) *ListAnomalyGroupTimeSeriesOutput
SetMetricName sets the MetricName field's value.
func (*ListAnomalyGroupTimeSeriesOutput) SetNextToken ¶
func (s *ListAnomalyGroupTimeSeriesOutput) SetNextToken(v string) *ListAnomalyGroupTimeSeriesOutput
SetNextToken sets the NextToken field's value.
func (*ListAnomalyGroupTimeSeriesOutput) SetTimeSeriesList ¶
func (s *ListAnomalyGroupTimeSeriesOutput) SetTimeSeriesList(v []*TimeSeries) *ListAnomalyGroupTimeSeriesOutput
SetTimeSeriesList sets the TimeSeriesList field's value.
func (*ListAnomalyGroupTimeSeriesOutput) SetTimestampList ¶
func (s *ListAnomalyGroupTimeSeriesOutput) SetTimestampList(v []*string) *ListAnomalyGroupTimeSeriesOutput
SetTimestampList sets the TimestampList field's value.
func (ListAnomalyGroupTimeSeriesOutput) String ¶
func (s ListAnomalyGroupTimeSeriesOutput) String() string
String returns the string representation
type ListMetricSetsInput ¶
type ListMetricSetsInput struct { // The ARN of the anomaly detector containing the metrics sets to list. AnomalyDetectorArn *string `type:"string"` // The maximum number of results to return. MaxResults *int64 `min:"1" type:"integer"` // If the result of the previous request was truncated, the response includes // a NextToken. To retrieve the next set of results, use the token in the next // request. Tokens expire after 24 hours. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListMetricSetsInput) GoString ¶
func (s ListMetricSetsInput) GoString() string
GoString returns the string representation
func (*ListMetricSetsInput) SetAnomalyDetectorArn ¶
func (s *ListMetricSetsInput) SetAnomalyDetectorArn(v string) *ListMetricSetsInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*ListMetricSetsInput) SetMaxResults ¶
func (s *ListMetricSetsInput) SetMaxResults(v int64) *ListMetricSetsInput
SetMaxResults sets the MaxResults field's value.
func (*ListMetricSetsInput) SetNextToken ¶
func (s *ListMetricSetsInput) SetNextToken(v string) *ListMetricSetsInput
SetNextToken sets the NextToken field's value.
func (ListMetricSetsInput) String ¶
func (s ListMetricSetsInput) String() string
String returns the string representation
func (*ListMetricSetsInput) Validate ¶
func (s *ListMetricSetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMetricSetsOutput ¶
type ListMetricSetsOutput struct { // A list of the datasets in the AWS Region, with configuration details for // each. MetricSetSummaryList []*MetricSetSummary `type:"list"` // If the response is truncated, the list call returns this token. To retrieve // the next set of results, use the token in the next list request. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListMetricSetsOutput) GoString ¶
func (s ListMetricSetsOutput) GoString() string
GoString returns the string representation
func (*ListMetricSetsOutput) SetMetricSetSummaryList ¶
func (s *ListMetricSetsOutput) SetMetricSetSummaryList(v []*MetricSetSummary) *ListMetricSetsOutput
SetMetricSetSummaryList sets the MetricSetSummaryList field's value.
func (*ListMetricSetsOutput) SetNextToken ¶
func (s *ListMetricSetsOutput) SetNextToken(v string) *ListMetricSetsOutput
SetNextToken sets the NextToken field's value.
func (ListMetricSetsOutput) String ¶
func (s ListMetricSetsOutput) String() string
String returns the string representation
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The resource's Amazon Resource Name (ARN). // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) GoString ¶
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceInput) SetResourceArn ¶
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The resource's tags. Tags map[string]*string `locationName:"Tags" min:"1" type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceOutput) SetTags ¶
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type LookoutMetrics ¶
LookoutMetrics provides the API operation methods for making requests to Amazon Lookout for Metrics. See this package's package overview docs for details on the service.
LookoutMetrics methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *LookoutMetrics
New creates a new instance of the LookoutMetrics client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a LookoutMetrics client from just a session. svc := lookoutmetrics.New(mySession) // Create a LookoutMetrics client with additional configuration svc := lookoutmetrics.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*LookoutMetrics) ActivateAnomalyDetector ¶
func (c *LookoutMetrics) ActivateAnomalyDetector(input *ActivateAnomalyDetectorInput) (*ActivateAnomalyDetectorOutput, error)
ActivateAnomalyDetector API operation for Amazon Lookout for Metrics.
Activates an anomaly detector.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation ActivateAnomalyDetector for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
ConflictException There was a conflict processing the request. Try your request again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ActivateAnomalyDetector
func (*LookoutMetrics) ActivateAnomalyDetectorRequest ¶
func (c *LookoutMetrics) ActivateAnomalyDetectorRequest(input *ActivateAnomalyDetectorInput) (req *request.Request, output *ActivateAnomalyDetectorOutput)
ActivateAnomalyDetectorRequest generates a "aws/request.Request" representing the client's request for the ActivateAnomalyDetector operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ActivateAnomalyDetector for more information on using the ActivateAnomalyDetector API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ActivateAnomalyDetectorRequest method. req, resp := client.ActivateAnomalyDetectorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ActivateAnomalyDetector
func (*LookoutMetrics) ActivateAnomalyDetectorWithContext ¶
func (c *LookoutMetrics) ActivateAnomalyDetectorWithContext(ctx aws.Context, input *ActivateAnomalyDetectorInput, opts ...request.Option) (*ActivateAnomalyDetectorOutput, error)
ActivateAnomalyDetectorWithContext is the same as ActivateAnomalyDetector with the addition of the ability to pass a context and additional request options.
See ActivateAnomalyDetector for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) BackTestAnomalyDetector ¶
func (c *LookoutMetrics) BackTestAnomalyDetector(input *BackTestAnomalyDetectorInput) (*BackTestAnomalyDetectorOutput, error)
BackTestAnomalyDetector API operation for Amazon Lookout for Metrics.
Runs a backtest for anomaly detection for the specified resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation BackTestAnomalyDetector for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/BackTestAnomalyDetector
func (*LookoutMetrics) BackTestAnomalyDetectorRequest ¶
func (c *LookoutMetrics) BackTestAnomalyDetectorRequest(input *BackTestAnomalyDetectorInput) (req *request.Request, output *BackTestAnomalyDetectorOutput)
BackTestAnomalyDetectorRequest generates a "aws/request.Request" representing the client's request for the BackTestAnomalyDetector operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BackTestAnomalyDetector for more information on using the BackTestAnomalyDetector API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BackTestAnomalyDetectorRequest method. req, resp := client.BackTestAnomalyDetectorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/BackTestAnomalyDetector
func (*LookoutMetrics) BackTestAnomalyDetectorWithContext ¶
func (c *LookoutMetrics) BackTestAnomalyDetectorWithContext(ctx aws.Context, input *BackTestAnomalyDetectorInput, opts ...request.Option) (*BackTestAnomalyDetectorOutput, error)
BackTestAnomalyDetectorWithContext is the same as BackTestAnomalyDetector with the addition of the ability to pass a context and additional request options.
See BackTestAnomalyDetector for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) CreateAlert ¶
func (c *LookoutMetrics) CreateAlert(input *CreateAlertInput) (*CreateAlertOutput, error)
CreateAlert API operation for Amazon Lookout for Metrics.
Creates an alert for an anomaly detector.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation CreateAlert for usage and error information.
Returned Error Types:
ConflictException There was a conflict processing the request. Try your request again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
ServiceQuotaExceededException The request exceeded the service's quotas. Check the service quotas and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateAlert
func (*LookoutMetrics) CreateAlertRequest ¶
func (c *LookoutMetrics) CreateAlertRequest(input *CreateAlertInput) (req *request.Request, output *CreateAlertOutput)
CreateAlertRequest generates a "aws/request.Request" representing the client's request for the CreateAlert operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateAlert for more information on using the CreateAlert API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateAlertRequest method. req, resp := client.CreateAlertRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateAlert
func (*LookoutMetrics) CreateAlertWithContext ¶
func (c *LookoutMetrics) CreateAlertWithContext(ctx aws.Context, input *CreateAlertInput, opts ...request.Option) (*CreateAlertOutput, error)
CreateAlertWithContext is the same as CreateAlert with the addition of the ability to pass a context and additional request options.
See CreateAlert for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) CreateAnomalyDetector ¶
func (c *LookoutMetrics) CreateAnomalyDetector(input *CreateAnomalyDetectorInput) (*CreateAnomalyDetectorOutput, error)
CreateAnomalyDetector API operation for Amazon Lookout for Metrics.
Creates an anomaly detector.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation CreateAnomalyDetector for usage and error information.
Returned Error Types:
ConflictException There was a conflict processing the request. Try your request again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
ServiceQuotaExceededException The request exceeded the service's quotas. Check the service quotas and try again.
ConflictException There was a conflict processing the request. Try your request again.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateAnomalyDetector
func (*LookoutMetrics) CreateAnomalyDetectorRequest ¶
func (c *LookoutMetrics) CreateAnomalyDetectorRequest(input *CreateAnomalyDetectorInput) (req *request.Request, output *CreateAnomalyDetectorOutput)
CreateAnomalyDetectorRequest generates a "aws/request.Request" representing the client's request for the CreateAnomalyDetector operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateAnomalyDetector for more information on using the CreateAnomalyDetector API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateAnomalyDetectorRequest method. req, resp := client.CreateAnomalyDetectorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateAnomalyDetector
func (*LookoutMetrics) CreateAnomalyDetectorWithContext ¶
func (c *LookoutMetrics) CreateAnomalyDetectorWithContext(ctx aws.Context, input *CreateAnomalyDetectorInput, opts ...request.Option) (*CreateAnomalyDetectorOutput, error)
CreateAnomalyDetectorWithContext is the same as CreateAnomalyDetector with the addition of the ability to pass a context and additional request options.
See CreateAnomalyDetector for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) CreateMetricSet ¶
func (c *LookoutMetrics) CreateMetricSet(input *CreateMetricSetInput) (*CreateMetricSetOutput, error)
CreateMetricSet API operation for Amazon Lookout for Metrics.
Creates a dataset.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation CreateMetricSet for usage and error information.
Returned Error Types:
ConflictException There was a conflict processing the request. Try your request again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ServiceQuotaExceededException The request exceeded the service's quotas. Check the service quotas and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateMetricSet
func (*LookoutMetrics) CreateMetricSetRequest ¶
func (c *LookoutMetrics) CreateMetricSetRequest(input *CreateMetricSetInput) (req *request.Request, output *CreateMetricSetOutput)
CreateMetricSetRequest generates a "aws/request.Request" representing the client's request for the CreateMetricSet operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateMetricSet for more information on using the CreateMetricSet API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateMetricSetRequest method. req, resp := client.CreateMetricSetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateMetricSet
func (*LookoutMetrics) CreateMetricSetWithContext ¶
func (c *LookoutMetrics) CreateMetricSetWithContext(ctx aws.Context, input *CreateMetricSetInput, opts ...request.Option) (*CreateMetricSetOutput, error)
CreateMetricSetWithContext is the same as CreateMetricSet with the addition of the ability to pass a context and additional request options.
See CreateMetricSet for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) DeleteAlert ¶
func (c *LookoutMetrics) DeleteAlert(input *DeleteAlertInput) (*DeleteAlertOutput, error)
DeleteAlert API operation for Amazon Lookout for Metrics.
Deletes an alert.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation DeleteAlert for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
AccessDeniedException You do not have sufficient permissions to perform this action.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeleteAlert
func (*LookoutMetrics) DeleteAlertRequest ¶
func (c *LookoutMetrics) DeleteAlertRequest(input *DeleteAlertInput) (req *request.Request, output *DeleteAlertOutput)
DeleteAlertRequest generates a "aws/request.Request" representing the client's request for the DeleteAlert operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteAlert for more information on using the DeleteAlert API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAlertRequest method. req, resp := client.DeleteAlertRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeleteAlert
func (*LookoutMetrics) DeleteAlertWithContext ¶
func (c *LookoutMetrics) DeleteAlertWithContext(ctx aws.Context, input *DeleteAlertInput, opts ...request.Option) (*DeleteAlertOutput, error)
DeleteAlertWithContext is the same as DeleteAlert with the addition of the ability to pass a context and additional request options.
See DeleteAlert for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) DeleteAnomalyDetector ¶
func (c *LookoutMetrics) DeleteAnomalyDetector(input *DeleteAnomalyDetectorInput) (*DeleteAnomalyDetectorOutput, error)
DeleteAnomalyDetector API operation for Amazon Lookout for Metrics.
Deletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including any configured datasets and alerts.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation DeleteAnomalyDetector for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
ConflictException There was a conflict processing the request. Try your request again.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
AccessDeniedException You do not have sufficient permissions to perform this action.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeleteAnomalyDetector
func (*LookoutMetrics) DeleteAnomalyDetectorRequest ¶
func (c *LookoutMetrics) DeleteAnomalyDetectorRequest(input *DeleteAnomalyDetectorInput) (req *request.Request, output *DeleteAnomalyDetectorOutput)
DeleteAnomalyDetectorRequest generates a "aws/request.Request" representing the client's request for the DeleteAnomalyDetector operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteAnomalyDetector for more information on using the DeleteAnomalyDetector API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAnomalyDetectorRequest method. req, resp := client.DeleteAnomalyDetectorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeleteAnomalyDetector
func (*LookoutMetrics) DeleteAnomalyDetectorWithContext ¶
func (c *LookoutMetrics) DeleteAnomalyDetectorWithContext(ctx aws.Context, input *DeleteAnomalyDetectorInput, opts ...request.Option) (*DeleteAnomalyDetectorOutput, error)
DeleteAnomalyDetectorWithContext is the same as DeleteAnomalyDetector with the addition of the ability to pass a context and additional request options.
See DeleteAnomalyDetector for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) DescribeAlert ¶
func (c *LookoutMetrics) DescribeAlert(input *DescribeAlertInput) (*DescribeAlertOutput, error)
DescribeAlert API operation for Amazon Lookout for Metrics.
Describes an alert.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation DescribeAlert for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAlert
func (*LookoutMetrics) DescribeAlertRequest ¶
func (c *LookoutMetrics) DescribeAlertRequest(input *DescribeAlertInput) (req *request.Request, output *DescribeAlertOutput)
DescribeAlertRequest generates a "aws/request.Request" representing the client's request for the DescribeAlert operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeAlert for more information on using the DescribeAlert API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeAlertRequest method. req, resp := client.DescribeAlertRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAlert
func (*LookoutMetrics) DescribeAlertWithContext ¶
func (c *LookoutMetrics) DescribeAlertWithContext(ctx aws.Context, input *DescribeAlertInput, opts ...request.Option) (*DescribeAlertOutput, error)
DescribeAlertWithContext is the same as DescribeAlert with the addition of the ability to pass a context and additional request options.
See DescribeAlert for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) DescribeAnomalyDetectionExecutions ¶
func (c *LookoutMetrics) DescribeAnomalyDetectionExecutions(input *DescribeAnomalyDetectionExecutionsInput) (*DescribeAnomalyDetectionExecutionsOutput, error)
DescribeAnomalyDetectionExecutions API operation for Amazon Lookout for Metrics.
Returns information about the status of the specified anomaly detection jobs.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation DescribeAnomalyDetectionExecutions for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetectionExecutions
func (*LookoutMetrics) DescribeAnomalyDetectionExecutionsPages ¶
func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsPages(input *DescribeAnomalyDetectionExecutionsInput, fn func(*DescribeAnomalyDetectionExecutionsOutput, bool) bool) error
DescribeAnomalyDetectionExecutionsPages iterates over the pages of a DescribeAnomalyDetectionExecutions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeAnomalyDetectionExecutions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeAnomalyDetectionExecutions operation. pageNum := 0 err := client.DescribeAnomalyDetectionExecutionsPages(params, func(page *lookoutmetrics.DescribeAnomalyDetectionExecutionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LookoutMetrics) DescribeAnomalyDetectionExecutionsPagesWithContext ¶
func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsPagesWithContext(ctx aws.Context, input *DescribeAnomalyDetectionExecutionsInput, fn func(*DescribeAnomalyDetectionExecutionsOutput, bool) bool, opts ...request.Option) error
DescribeAnomalyDetectionExecutionsPagesWithContext same as DescribeAnomalyDetectionExecutionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) DescribeAnomalyDetectionExecutionsRequest ¶
func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsRequest(input *DescribeAnomalyDetectionExecutionsInput) (req *request.Request, output *DescribeAnomalyDetectionExecutionsOutput)
DescribeAnomalyDetectionExecutionsRequest generates a "aws/request.Request" representing the client's request for the DescribeAnomalyDetectionExecutions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeAnomalyDetectionExecutions for more information on using the DescribeAnomalyDetectionExecutions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeAnomalyDetectionExecutionsRequest method. req, resp := client.DescribeAnomalyDetectionExecutionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetectionExecutions
func (*LookoutMetrics) DescribeAnomalyDetectionExecutionsWithContext ¶
func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsWithContext(ctx aws.Context, input *DescribeAnomalyDetectionExecutionsInput, opts ...request.Option) (*DescribeAnomalyDetectionExecutionsOutput, error)
DescribeAnomalyDetectionExecutionsWithContext is the same as DescribeAnomalyDetectionExecutions with the addition of the ability to pass a context and additional request options.
See DescribeAnomalyDetectionExecutions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) DescribeAnomalyDetector ¶
func (c *LookoutMetrics) DescribeAnomalyDetector(input *DescribeAnomalyDetectorInput) (*DescribeAnomalyDetectorOutput, error)
DescribeAnomalyDetector API operation for Amazon Lookout for Metrics.
Describes a detector.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation DescribeAnomalyDetector for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetector
func (*LookoutMetrics) DescribeAnomalyDetectorRequest ¶
func (c *LookoutMetrics) DescribeAnomalyDetectorRequest(input *DescribeAnomalyDetectorInput) (req *request.Request, output *DescribeAnomalyDetectorOutput)
DescribeAnomalyDetectorRequest generates a "aws/request.Request" representing the client's request for the DescribeAnomalyDetector operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeAnomalyDetector for more information on using the DescribeAnomalyDetector API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeAnomalyDetectorRequest method. req, resp := client.DescribeAnomalyDetectorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetector
func (*LookoutMetrics) DescribeAnomalyDetectorWithContext ¶
func (c *LookoutMetrics) DescribeAnomalyDetectorWithContext(ctx aws.Context, input *DescribeAnomalyDetectorInput, opts ...request.Option) (*DescribeAnomalyDetectorOutput, error)
DescribeAnomalyDetectorWithContext is the same as DescribeAnomalyDetector with the addition of the ability to pass a context and additional request options.
See DescribeAnomalyDetector for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) DescribeMetricSet ¶
func (c *LookoutMetrics) DescribeMetricSet(input *DescribeMetricSetInput) (*DescribeMetricSetOutput, error)
DescribeMetricSet API operation for Amazon Lookout for Metrics.
Describes a dataset.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation DescribeMetricSet for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeMetricSet
func (*LookoutMetrics) DescribeMetricSetRequest ¶
func (c *LookoutMetrics) DescribeMetricSetRequest(input *DescribeMetricSetInput) (req *request.Request, output *DescribeMetricSetOutput)
DescribeMetricSetRequest generates a "aws/request.Request" representing the client's request for the DescribeMetricSet operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeMetricSet for more information on using the DescribeMetricSet API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeMetricSetRequest method. req, resp := client.DescribeMetricSetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeMetricSet
func (*LookoutMetrics) DescribeMetricSetWithContext ¶
func (c *LookoutMetrics) DescribeMetricSetWithContext(ctx aws.Context, input *DescribeMetricSetInput, opts ...request.Option) (*DescribeMetricSetOutput, error)
DescribeMetricSetWithContext is the same as DescribeMetricSet with the addition of the ability to pass a context and additional request options.
See DescribeMetricSet for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) GetAnomalyGroup ¶
func (c *LookoutMetrics) GetAnomalyGroup(input *GetAnomalyGroupInput) (*GetAnomalyGroupOutput, error)
GetAnomalyGroup API operation for Amazon Lookout for Metrics.
Returns details about a group of anomalous metrics.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation GetAnomalyGroup for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetAnomalyGroup
func (*LookoutMetrics) GetAnomalyGroupRequest ¶
func (c *LookoutMetrics) GetAnomalyGroupRequest(input *GetAnomalyGroupInput) (req *request.Request, output *GetAnomalyGroupOutput)
GetAnomalyGroupRequest generates a "aws/request.Request" representing the client's request for the GetAnomalyGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAnomalyGroup for more information on using the GetAnomalyGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAnomalyGroupRequest method. req, resp := client.GetAnomalyGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetAnomalyGroup
func (*LookoutMetrics) GetAnomalyGroupWithContext ¶
func (c *LookoutMetrics) GetAnomalyGroupWithContext(ctx aws.Context, input *GetAnomalyGroupInput, opts ...request.Option) (*GetAnomalyGroupOutput, error)
GetAnomalyGroupWithContext is the same as GetAnomalyGroup with the addition of the ability to pass a context and additional request options.
See GetAnomalyGroup for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) GetFeedback ¶
func (c *LookoutMetrics) GetFeedback(input *GetFeedbackInput) (*GetFeedbackOutput, error)
GetFeedback API operation for Amazon Lookout for Metrics.
Get feedback for an anomaly group.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation GetFeedback for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetFeedback
func (*LookoutMetrics) GetFeedbackPages ¶
func (c *LookoutMetrics) GetFeedbackPages(input *GetFeedbackInput, fn func(*GetFeedbackOutput, bool) bool) error
GetFeedbackPages iterates over the pages of a GetFeedback operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetFeedback method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetFeedback operation. pageNum := 0 err := client.GetFeedbackPages(params, func(page *lookoutmetrics.GetFeedbackOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LookoutMetrics) GetFeedbackPagesWithContext ¶
func (c *LookoutMetrics) GetFeedbackPagesWithContext(ctx aws.Context, input *GetFeedbackInput, fn func(*GetFeedbackOutput, bool) bool, opts ...request.Option) error
GetFeedbackPagesWithContext same as GetFeedbackPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) GetFeedbackRequest ¶
func (c *LookoutMetrics) GetFeedbackRequest(input *GetFeedbackInput) (req *request.Request, output *GetFeedbackOutput)
GetFeedbackRequest generates a "aws/request.Request" representing the client's request for the GetFeedback operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFeedback for more information on using the GetFeedback API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFeedbackRequest method. req, resp := client.GetFeedbackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetFeedback
func (*LookoutMetrics) GetFeedbackWithContext ¶
func (c *LookoutMetrics) GetFeedbackWithContext(ctx aws.Context, input *GetFeedbackInput, opts ...request.Option) (*GetFeedbackOutput, error)
GetFeedbackWithContext is the same as GetFeedback with the addition of the ability to pass a context and additional request options.
See GetFeedback for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) GetSampleData ¶
func (c *LookoutMetrics) GetSampleData(input *GetSampleDataInput) (*GetSampleDataOutput, error)
GetSampleData API operation for Amazon Lookout for Metrics.
Returns a selection of sample records from an Amazon S3 datasource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation GetSampleData for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetSampleData
func (*LookoutMetrics) GetSampleDataRequest ¶
func (c *LookoutMetrics) GetSampleDataRequest(input *GetSampleDataInput) (req *request.Request, output *GetSampleDataOutput)
GetSampleDataRequest generates a "aws/request.Request" representing the client's request for the GetSampleData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetSampleData for more information on using the GetSampleData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetSampleDataRequest method. req, resp := client.GetSampleDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetSampleData
func (*LookoutMetrics) GetSampleDataWithContext ¶
func (c *LookoutMetrics) GetSampleDataWithContext(ctx aws.Context, input *GetSampleDataInput, opts ...request.Option) (*GetSampleDataOutput, error)
GetSampleDataWithContext is the same as GetSampleData with the addition of the ability to pass a context and additional request options.
See GetSampleData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) ListAlerts ¶
func (c *LookoutMetrics) ListAlerts(input *ListAlertsInput) (*ListAlertsOutput, error)
ListAlerts API operation for Amazon Lookout for Metrics.
Lists the alerts attached to a detector.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation ListAlerts for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAlerts
func (*LookoutMetrics) ListAlertsPages ¶
func (c *LookoutMetrics) ListAlertsPages(input *ListAlertsInput, fn func(*ListAlertsOutput, bool) bool) error
ListAlertsPages iterates over the pages of a ListAlerts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAlerts method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListAlerts operation. pageNum := 0 err := client.ListAlertsPages(params, func(page *lookoutmetrics.ListAlertsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LookoutMetrics) ListAlertsPagesWithContext ¶
func (c *LookoutMetrics) ListAlertsPagesWithContext(ctx aws.Context, input *ListAlertsInput, fn func(*ListAlertsOutput, bool) bool, opts ...request.Option) error
ListAlertsPagesWithContext same as ListAlertsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) ListAlertsRequest ¶
func (c *LookoutMetrics) ListAlertsRequest(input *ListAlertsInput) (req *request.Request, output *ListAlertsOutput)
ListAlertsRequest generates a "aws/request.Request" representing the client's request for the ListAlerts operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListAlerts for more information on using the ListAlerts API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListAlertsRequest method. req, resp := client.ListAlertsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAlerts
func (*LookoutMetrics) ListAlertsWithContext ¶
func (c *LookoutMetrics) ListAlertsWithContext(ctx aws.Context, input *ListAlertsInput, opts ...request.Option) (*ListAlertsOutput, error)
ListAlertsWithContext is the same as ListAlerts with the addition of the ability to pass a context and additional request options.
See ListAlerts for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) ListAnomalyDetectors ¶
func (c *LookoutMetrics) ListAnomalyDetectors(input *ListAnomalyDetectorsInput) (*ListAnomalyDetectorsOutput, error)
ListAnomalyDetectors API operation for Amazon Lookout for Metrics.
Lists the detectors in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation ListAnomalyDetectors for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyDetectors
func (*LookoutMetrics) ListAnomalyDetectorsPages ¶
func (c *LookoutMetrics) ListAnomalyDetectorsPages(input *ListAnomalyDetectorsInput, fn func(*ListAnomalyDetectorsOutput, bool) bool) error
ListAnomalyDetectorsPages iterates over the pages of a ListAnomalyDetectors operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAnomalyDetectors method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListAnomalyDetectors operation. pageNum := 0 err := client.ListAnomalyDetectorsPages(params, func(page *lookoutmetrics.ListAnomalyDetectorsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LookoutMetrics) ListAnomalyDetectorsPagesWithContext ¶
func (c *LookoutMetrics) ListAnomalyDetectorsPagesWithContext(ctx aws.Context, input *ListAnomalyDetectorsInput, fn func(*ListAnomalyDetectorsOutput, bool) bool, opts ...request.Option) error
ListAnomalyDetectorsPagesWithContext same as ListAnomalyDetectorsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) ListAnomalyDetectorsRequest ¶
func (c *LookoutMetrics) ListAnomalyDetectorsRequest(input *ListAnomalyDetectorsInput) (req *request.Request, output *ListAnomalyDetectorsOutput)
ListAnomalyDetectorsRequest generates a "aws/request.Request" representing the client's request for the ListAnomalyDetectors operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListAnomalyDetectors for more information on using the ListAnomalyDetectors API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListAnomalyDetectorsRequest method. req, resp := client.ListAnomalyDetectorsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyDetectors
func (*LookoutMetrics) ListAnomalyDetectorsWithContext ¶
func (c *LookoutMetrics) ListAnomalyDetectorsWithContext(ctx aws.Context, input *ListAnomalyDetectorsInput, opts ...request.Option) (*ListAnomalyDetectorsOutput, error)
ListAnomalyDetectorsWithContext is the same as ListAnomalyDetectors with the addition of the ability to pass a context and additional request options.
See ListAnomalyDetectors for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) ListAnomalyGroupSummaries ¶
func (c *LookoutMetrics) ListAnomalyGroupSummaries(input *ListAnomalyGroupSummariesInput) (*ListAnomalyGroupSummariesOutput, error)
ListAnomalyGroupSummaries API operation for Amazon Lookout for Metrics.
Returns a list of anomaly groups.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation ListAnomalyGroupSummaries for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupSummaries
func (*LookoutMetrics) ListAnomalyGroupSummariesPages ¶
func (c *LookoutMetrics) ListAnomalyGroupSummariesPages(input *ListAnomalyGroupSummariesInput, fn func(*ListAnomalyGroupSummariesOutput, bool) bool) error
ListAnomalyGroupSummariesPages iterates over the pages of a ListAnomalyGroupSummaries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAnomalyGroupSummaries method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListAnomalyGroupSummaries operation. pageNum := 0 err := client.ListAnomalyGroupSummariesPages(params, func(page *lookoutmetrics.ListAnomalyGroupSummariesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LookoutMetrics) ListAnomalyGroupSummariesPagesWithContext ¶
func (c *LookoutMetrics) ListAnomalyGroupSummariesPagesWithContext(ctx aws.Context, input *ListAnomalyGroupSummariesInput, fn func(*ListAnomalyGroupSummariesOutput, bool) bool, opts ...request.Option) error
ListAnomalyGroupSummariesPagesWithContext same as ListAnomalyGroupSummariesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) ListAnomalyGroupSummariesRequest ¶
func (c *LookoutMetrics) ListAnomalyGroupSummariesRequest(input *ListAnomalyGroupSummariesInput) (req *request.Request, output *ListAnomalyGroupSummariesOutput)
ListAnomalyGroupSummariesRequest generates a "aws/request.Request" representing the client's request for the ListAnomalyGroupSummaries operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListAnomalyGroupSummaries for more information on using the ListAnomalyGroupSummaries API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListAnomalyGroupSummariesRequest method. req, resp := client.ListAnomalyGroupSummariesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupSummaries
func (*LookoutMetrics) ListAnomalyGroupSummariesWithContext ¶
func (c *LookoutMetrics) ListAnomalyGroupSummariesWithContext(ctx aws.Context, input *ListAnomalyGroupSummariesInput, opts ...request.Option) (*ListAnomalyGroupSummariesOutput, error)
ListAnomalyGroupSummariesWithContext is the same as ListAnomalyGroupSummaries with the addition of the ability to pass a context and additional request options.
See ListAnomalyGroupSummaries for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) ListAnomalyGroupTimeSeries ¶
func (c *LookoutMetrics) ListAnomalyGroupTimeSeries(input *ListAnomalyGroupTimeSeriesInput) (*ListAnomalyGroupTimeSeriesOutput, error)
ListAnomalyGroupTimeSeries API operation for Amazon Lookout for Metrics.
Gets a list of anomalous metrics for a measure in an anomaly group.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation ListAnomalyGroupTimeSeries for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
AccessDeniedException You do not have sufficient permissions to perform this action.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupTimeSeries
func (*LookoutMetrics) ListAnomalyGroupTimeSeriesPages ¶
func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesPages(input *ListAnomalyGroupTimeSeriesInput, fn func(*ListAnomalyGroupTimeSeriesOutput, bool) bool) error
ListAnomalyGroupTimeSeriesPages iterates over the pages of a ListAnomalyGroupTimeSeries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAnomalyGroupTimeSeries method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListAnomalyGroupTimeSeries operation. pageNum := 0 err := client.ListAnomalyGroupTimeSeriesPages(params, func(page *lookoutmetrics.ListAnomalyGroupTimeSeriesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LookoutMetrics) ListAnomalyGroupTimeSeriesPagesWithContext ¶
func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesPagesWithContext(ctx aws.Context, input *ListAnomalyGroupTimeSeriesInput, fn func(*ListAnomalyGroupTimeSeriesOutput, bool) bool, opts ...request.Option) error
ListAnomalyGroupTimeSeriesPagesWithContext same as ListAnomalyGroupTimeSeriesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) ListAnomalyGroupTimeSeriesRequest ¶
func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesRequest(input *ListAnomalyGroupTimeSeriesInput) (req *request.Request, output *ListAnomalyGroupTimeSeriesOutput)
ListAnomalyGroupTimeSeriesRequest generates a "aws/request.Request" representing the client's request for the ListAnomalyGroupTimeSeries operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListAnomalyGroupTimeSeries for more information on using the ListAnomalyGroupTimeSeries API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListAnomalyGroupTimeSeriesRequest method. req, resp := client.ListAnomalyGroupTimeSeriesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupTimeSeries
func (*LookoutMetrics) ListAnomalyGroupTimeSeriesWithContext ¶
func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesWithContext(ctx aws.Context, input *ListAnomalyGroupTimeSeriesInput, opts ...request.Option) (*ListAnomalyGroupTimeSeriesOutput, error)
ListAnomalyGroupTimeSeriesWithContext is the same as ListAnomalyGroupTimeSeries with the addition of the ability to pass a context and additional request options.
See ListAnomalyGroupTimeSeries for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) ListMetricSets ¶
func (c *LookoutMetrics) ListMetricSets(input *ListMetricSetsInput) (*ListMetricSetsOutput, error)
ListMetricSets API operation for Amazon Lookout for Metrics.
Lists the datasets in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation ListMetricSets for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListMetricSets
func (*LookoutMetrics) ListMetricSetsPages ¶
func (c *LookoutMetrics) ListMetricSetsPages(input *ListMetricSetsInput, fn func(*ListMetricSetsOutput, bool) bool) error
ListMetricSetsPages iterates over the pages of a ListMetricSets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListMetricSets method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListMetricSets operation. pageNum := 0 err := client.ListMetricSetsPages(params, func(page *lookoutmetrics.ListMetricSetsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*LookoutMetrics) ListMetricSetsPagesWithContext ¶
func (c *LookoutMetrics) ListMetricSetsPagesWithContext(ctx aws.Context, input *ListMetricSetsInput, fn func(*ListMetricSetsOutput, bool) bool, opts ...request.Option) error
ListMetricSetsPagesWithContext same as ListMetricSetsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) ListMetricSetsRequest ¶
func (c *LookoutMetrics) ListMetricSetsRequest(input *ListMetricSetsInput) (req *request.Request, output *ListMetricSetsOutput)
ListMetricSetsRequest generates a "aws/request.Request" representing the client's request for the ListMetricSets operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListMetricSets for more information on using the ListMetricSets API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListMetricSetsRequest method. req, resp := client.ListMetricSetsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListMetricSets
func (*LookoutMetrics) ListMetricSetsWithContext ¶
func (c *LookoutMetrics) ListMetricSetsWithContext(ctx aws.Context, input *ListMetricSetsInput, opts ...request.Option) (*ListMetricSetsOutput, error)
ListMetricSetsWithContext is the same as ListMetricSets with the addition of the ability to pass a context and additional request options.
See ListMetricSets for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) ListTagsForResource ¶
func (c *LookoutMetrics) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Lookout for Metrics.
Gets a list of tags (https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html) for a detector, dataset, or alert.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation ListTagsForResource for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListTagsForResource
func (*LookoutMetrics) ListTagsForResourceRequest ¶
func (c *LookoutMetrics) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListTagsForResource
func (*LookoutMetrics) ListTagsForResourceWithContext ¶
func (c *LookoutMetrics) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) PutFeedback ¶
func (c *LookoutMetrics) PutFeedback(input *PutFeedbackInput) (*PutFeedbackOutput, error)
PutFeedback API operation for Amazon Lookout for Metrics.
Add feedback for an anomalous metric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation PutFeedback for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
AccessDeniedException You do not have sufficient permissions to perform this action.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/PutFeedback
func (*LookoutMetrics) PutFeedbackRequest ¶
func (c *LookoutMetrics) PutFeedbackRequest(input *PutFeedbackInput) (req *request.Request, output *PutFeedbackOutput)
PutFeedbackRequest generates a "aws/request.Request" representing the client's request for the PutFeedback operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutFeedback for more information on using the PutFeedback API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutFeedbackRequest method. req, resp := client.PutFeedbackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/PutFeedback
func (*LookoutMetrics) PutFeedbackWithContext ¶
func (c *LookoutMetrics) PutFeedbackWithContext(ctx aws.Context, input *PutFeedbackInput, opts ...request.Option) (*PutFeedbackOutput, error)
PutFeedbackWithContext is the same as PutFeedback with the addition of the ability to pass a context and additional request options.
See PutFeedback for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) TagResource ¶
func (c *LookoutMetrics) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon Lookout for Metrics.
Adds tags (https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html) to a detector, dataset, or alert.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation TagResource for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/TagResource
func (*LookoutMetrics) TagResourceRequest ¶
func (c *LookoutMetrics) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/TagResource
func (*LookoutMetrics) TagResourceWithContext ¶
func (c *LookoutMetrics) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) UntagResource ¶
func (c *LookoutMetrics) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Lookout for Metrics.
Removes tags (https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html) from a detector, dataset, or alert.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation UntagResource for usage and error information.
Returned Error Types:
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UntagResource
func (*LookoutMetrics) UntagResourceRequest ¶
func (c *LookoutMetrics) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UntagResource
func (*LookoutMetrics) UntagResourceWithContext ¶
func (c *LookoutMetrics) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) UpdateAnomalyDetector ¶
func (c *LookoutMetrics) UpdateAnomalyDetector(input *UpdateAnomalyDetectorInput) (*UpdateAnomalyDetectorOutput, error)
UpdateAnomalyDetector API operation for Amazon Lookout for Metrics.
Updates a detector. After activation, you can only change a detector's ingestion delay and description.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation UpdateAnomalyDetector for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UpdateAnomalyDetector
func (*LookoutMetrics) UpdateAnomalyDetectorRequest ¶
func (c *LookoutMetrics) UpdateAnomalyDetectorRequest(input *UpdateAnomalyDetectorInput) (req *request.Request, output *UpdateAnomalyDetectorOutput)
UpdateAnomalyDetectorRequest generates a "aws/request.Request" representing the client's request for the UpdateAnomalyDetector operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateAnomalyDetector for more information on using the UpdateAnomalyDetector API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateAnomalyDetectorRequest method. req, resp := client.UpdateAnomalyDetectorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UpdateAnomalyDetector
func (*LookoutMetrics) UpdateAnomalyDetectorWithContext ¶
func (c *LookoutMetrics) UpdateAnomalyDetectorWithContext(ctx aws.Context, input *UpdateAnomalyDetectorInput, opts ...request.Option) (*UpdateAnomalyDetectorOutput, error)
UpdateAnomalyDetectorWithContext is the same as UpdateAnomalyDetector with the addition of the ability to pass a context and additional request options.
See UpdateAnomalyDetector for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*LookoutMetrics) UpdateMetricSet ¶
func (c *LookoutMetrics) UpdateMetricSet(input *UpdateMetricSetInput) (*UpdateMetricSetOutput, error)
UpdateMetricSet API operation for Amazon Lookout for Metrics.
Updates a dataset.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Lookout for Metrics's API operation UpdateMetricSet for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource cannot be found. Check the ARN of the resource and try again.
ValidationException The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
InternalServerException The request processing has failed because of an unknown error, exception, or failure.
AccessDeniedException You do not have sufficient permissions to perform this action.
TooManyRequestsException The request was denied due to too many requests being submitted at the same time.
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UpdateMetricSet
func (*LookoutMetrics) UpdateMetricSetRequest ¶
func (c *LookoutMetrics) UpdateMetricSetRequest(input *UpdateMetricSetInput) (req *request.Request, output *UpdateMetricSetOutput)
UpdateMetricSetRequest generates a "aws/request.Request" representing the client's request for the UpdateMetricSet operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateMetricSet for more information on using the UpdateMetricSet API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateMetricSetRequest method. req, resp := client.UpdateMetricSetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UpdateMetricSet
func (*LookoutMetrics) UpdateMetricSetWithContext ¶
func (c *LookoutMetrics) UpdateMetricSetWithContext(ctx aws.Context, input *UpdateMetricSetInput, opts ...request.Option) (*UpdateMetricSetOutput, error)
UpdateMetricSetWithContext is the same as UpdateMetricSet with the addition of the ability to pass a context and additional request options.
See UpdateMetricSet for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type Metric ¶
type Metric struct { // The function with which the metric is calculated. // // AggregationFunction is a required field AggregationFunction *string `type:"string" required:"true" enum:"AggregationFunction"` // The name of the metric. // // MetricName is a required field MetricName *string `min:"1" type:"string" required:"true"` // The namespace for the metric. Namespace *string `min:"1" type:"string"` // contains filtered or unexported fields }
A calculation made by contrasting a measure and a dimension from your source data.
func (*Metric) SetAggregationFunction ¶
SetAggregationFunction sets the AggregationFunction field's value.
func (*Metric) SetMetricName ¶
SetMetricName sets the MetricName field's value.
func (*Metric) SetNamespace ¶
SetNamespace sets the Namespace field's value.
type MetricLevelImpact ¶
type MetricLevelImpact struct { // Details about the dimensions that contributed to the anomaly. ContributionMatrix *ContributionMatrix `type:"structure"` // The name of the measure. MetricName *string `type:"string"` // The number of anomalous metrics for the measure. NumTimeSeries *int64 `type:"integer"` // contains filtered or unexported fields }
Details about a measure affected by an anomaly.
func (MetricLevelImpact) GoString ¶
func (s MetricLevelImpact) GoString() string
GoString returns the string representation
func (*MetricLevelImpact) SetContributionMatrix ¶
func (s *MetricLevelImpact) SetContributionMatrix(v *ContributionMatrix) *MetricLevelImpact
SetContributionMatrix sets the ContributionMatrix field's value.
func (*MetricLevelImpact) SetMetricName ¶
func (s *MetricLevelImpact) SetMetricName(v string) *MetricLevelImpact
SetMetricName sets the MetricName field's value.
func (*MetricLevelImpact) SetNumTimeSeries ¶
func (s *MetricLevelImpact) SetNumTimeSeries(v int64) *MetricLevelImpact
SetNumTimeSeries sets the NumTimeSeries field's value.
func (MetricLevelImpact) String ¶
func (s MetricLevelImpact) String() string
String returns the string representation
type MetricSetSummary ¶
type MetricSetSummary struct { // The ARN of the detector to which the dataset belongs. AnomalyDetectorArn *string `type:"string"` // The time at which the dataset was created. CreationTime *time.Time `type:"timestamp"` // The time at which the dataset was last modified. LastModificationTime *time.Time `type:"timestamp"` // The ARN of the dataset. MetricSetArn *string `type:"string"` // The description of the dataset. MetricSetDescription *string `min:"1" type:"string"` // The name of the dataset. MetricSetName *string `min:"1" type:"string"` // The dataset's tags (https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html). Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
Contains information about a dataset.
func (MetricSetSummary) GoString ¶
func (s MetricSetSummary) GoString() string
GoString returns the string representation
func (*MetricSetSummary) SetAnomalyDetectorArn ¶
func (s *MetricSetSummary) SetAnomalyDetectorArn(v string) *MetricSetSummary
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*MetricSetSummary) SetCreationTime ¶
func (s *MetricSetSummary) SetCreationTime(v time.Time) *MetricSetSummary
SetCreationTime sets the CreationTime field's value.
func (*MetricSetSummary) SetLastModificationTime ¶
func (s *MetricSetSummary) SetLastModificationTime(v time.Time) *MetricSetSummary
SetLastModificationTime sets the LastModificationTime field's value.
func (*MetricSetSummary) SetMetricSetArn ¶
func (s *MetricSetSummary) SetMetricSetArn(v string) *MetricSetSummary
SetMetricSetArn sets the MetricSetArn field's value.
func (*MetricSetSummary) SetMetricSetDescription ¶
func (s *MetricSetSummary) SetMetricSetDescription(v string) *MetricSetSummary
SetMetricSetDescription sets the MetricSetDescription field's value.
func (*MetricSetSummary) SetMetricSetName ¶
func (s *MetricSetSummary) SetMetricSetName(v string) *MetricSetSummary
SetMetricSetName sets the MetricSetName field's value.
func (*MetricSetSummary) SetTags ¶
func (s *MetricSetSummary) SetTags(v map[string]*string) *MetricSetSummary
SetTags sets the Tags field's value.
func (MetricSetSummary) String ¶
func (s MetricSetSummary) String() string
String returns the string representation
type MetricSource ¶
type MetricSource struct { // An object containing information about the AppFlow configuration. AppFlowConfig *AppFlowConfig `type:"structure"` // An object containing information about the Amazon CloudWatch monitoring configuration. CloudWatchConfig *CloudWatchConfig `type:"structure"` // An object containing information about the Amazon Relational Database Service // (RDS) configuration. RDSSourceConfig *RDSSourceConfig `type:"structure"` // An object containing information about the Amazon Redshift database configuration. RedshiftSourceConfig *RedshiftSourceConfig `type:"structure"` // Contains information about the configuration of the S3 bucket that contains // source files. S3SourceConfig *S3SourceConfig `type:"structure"` // contains filtered or unexported fields }
Contains information about source data used to generate a metric.
func (MetricSource) GoString ¶
func (s MetricSource) GoString() string
GoString returns the string representation
func (*MetricSource) SetAppFlowConfig ¶
func (s *MetricSource) SetAppFlowConfig(v *AppFlowConfig) *MetricSource
SetAppFlowConfig sets the AppFlowConfig field's value.
func (*MetricSource) SetCloudWatchConfig ¶
func (s *MetricSource) SetCloudWatchConfig(v *CloudWatchConfig) *MetricSource
SetCloudWatchConfig sets the CloudWatchConfig field's value.
func (*MetricSource) SetRDSSourceConfig ¶
func (s *MetricSource) SetRDSSourceConfig(v *RDSSourceConfig) *MetricSource
SetRDSSourceConfig sets the RDSSourceConfig field's value.
func (*MetricSource) SetRedshiftSourceConfig ¶
func (s *MetricSource) SetRedshiftSourceConfig(v *RedshiftSourceConfig) *MetricSource
SetRedshiftSourceConfig sets the RedshiftSourceConfig field's value.
func (*MetricSource) SetS3SourceConfig ¶
func (s *MetricSource) SetS3SourceConfig(v *S3SourceConfig) *MetricSource
SetS3SourceConfig sets the S3SourceConfig field's value.
func (MetricSource) String ¶
func (s MetricSource) String() string
String returns the string representation
func (*MetricSource) Validate ¶
func (s *MetricSource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutFeedbackInput ¶
type PutFeedbackInput struct { // The Amazon Resource Name (ARN) of the anomaly detector. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // Feedback for an anomalous metric. // // AnomalyGroupTimeSeriesFeedback is a required field AnomalyGroupTimeSeriesFeedback *AnomalyGroupTimeSeriesFeedback `type:"structure" required:"true"` // contains filtered or unexported fields }
func (PutFeedbackInput) GoString ¶
func (s PutFeedbackInput) GoString() string
GoString returns the string representation
func (*PutFeedbackInput) SetAnomalyDetectorArn ¶
func (s *PutFeedbackInput) SetAnomalyDetectorArn(v string) *PutFeedbackInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*PutFeedbackInput) SetAnomalyGroupTimeSeriesFeedback ¶
func (s *PutFeedbackInput) SetAnomalyGroupTimeSeriesFeedback(v *AnomalyGroupTimeSeriesFeedback) *PutFeedbackInput
SetAnomalyGroupTimeSeriesFeedback sets the AnomalyGroupTimeSeriesFeedback field's value.
func (PutFeedbackInput) String ¶
func (s PutFeedbackInput) String() string
String returns the string representation
func (*PutFeedbackInput) Validate ¶
func (s *PutFeedbackInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutFeedbackOutput ¶
type PutFeedbackOutput struct {
// contains filtered or unexported fields
}
func (PutFeedbackOutput) GoString ¶
func (s PutFeedbackOutput) GoString() string
GoString returns the string representation
func (PutFeedbackOutput) String ¶
func (s PutFeedbackOutput) String() string
String returns the string representation
type RDSSourceConfig ¶
type RDSSourceConfig struct { // A string identifying the database instance. // // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `min:"1" type:"string" required:"true"` // The host name of the database. // // DatabaseHost is a required field DatabaseHost *string `min:"1" type:"string" required:"true"` // The name of the RDS database. // // DatabaseName is a required field DatabaseName *string `min:"1" type:"string" required:"true"` // The port number where the database can be accessed. // // DatabasePort is a required field DatabasePort *int64 `min:"1" type:"integer" required:"true"` // The Amazon Resource Name (ARN) of the role. // // RoleArn is a required field RoleArn *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the AWS Secrets Manager role. // // SecretManagerArn is a required field SecretManagerArn *string `type:"string" required:"true"` // The name of the table in the database. // // TableName is a required field TableName *string `min:"1" type:"string" required:"true"` // An object containing information about the Amazon Virtual Private Cloud (VPC) // configuration. // // VpcConfiguration is a required field VpcConfiguration *VpcConfiguration `type:"structure" required:"true"` // contains filtered or unexported fields }
Contains information about the Amazon Relational Database Service (RDS) configuration.
func (RDSSourceConfig) GoString ¶
func (s RDSSourceConfig) GoString() string
GoString returns the string representation
func (*RDSSourceConfig) SetDBInstanceIdentifier ¶
func (s *RDSSourceConfig) SetDBInstanceIdentifier(v string) *RDSSourceConfig
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*RDSSourceConfig) SetDatabaseHost ¶
func (s *RDSSourceConfig) SetDatabaseHost(v string) *RDSSourceConfig
SetDatabaseHost sets the DatabaseHost field's value.
func (*RDSSourceConfig) SetDatabaseName ¶
func (s *RDSSourceConfig) SetDatabaseName(v string) *RDSSourceConfig
SetDatabaseName sets the DatabaseName field's value.
func (*RDSSourceConfig) SetDatabasePort ¶
func (s *RDSSourceConfig) SetDatabasePort(v int64) *RDSSourceConfig
SetDatabasePort sets the DatabasePort field's value.
func (*RDSSourceConfig) SetRoleArn ¶
func (s *RDSSourceConfig) SetRoleArn(v string) *RDSSourceConfig
SetRoleArn sets the RoleArn field's value.
func (*RDSSourceConfig) SetSecretManagerArn ¶
func (s *RDSSourceConfig) SetSecretManagerArn(v string) *RDSSourceConfig
SetSecretManagerArn sets the SecretManagerArn field's value.
func (*RDSSourceConfig) SetTableName ¶
func (s *RDSSourceConfig) SetTableName(v string) *RDSSourceConfig
SetTableName sets the TableName field's value.
func (*RDSSourceConfig) SetVpcConfiguration ¶
func (s *RDSSourceConfig) SetVpcConfiguration(v *VpcConfiguration) *RDSSourceConfig
SetVpcConfiguration sets the VpcConfiguration field's value.
func (RDSSourceConfig) String ¶
func (s RDSSourceConfig) String() string
String returns the string representation
func (*RDSSourceConfig) Validate ¶
func (s *RDSSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RedshiftSourceConfig ¶
type RedshiftSourceConfig struct { // A string identifying the Redshift cluster. // // ClusterIdentifier is a required field ClusterIdentifier *string `min:"1" type:"string" required:"true"` // The name of the database host. // // DatabaseHost is a required field DatabaseHost *string `min:"1" type:"string" required:"true"` // The Redshift database name. // // DatabaseName is a required field DatabaseName *string `min:"1" type:"string" required:"true"` // The port number where the database can be accessed. // // DatabasePort is a required field DatabasePort *int64 `min:"1" type:"integer" required:"true"` // The Amazon Resource Name (ARN) of the role providing access to the database. // // RoleArn is a required field RoleArn *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the AWS Secrets Manager role. // // SecretManagerArn is a required field SecretManagerArn *string `type:"string" required:"true"` // The table name of the Redshift database. // // TableName is a required field TableName *string `min:"1" type:"string" required:"true"` // Contains information about the Amazon Virtual Private Cloud (VPC) configuration. // // VpcConfiguration is a required field VpcConfiguration *VpcConfiguration `type:"structure" required:"true"` // contains filtered or unexported fields }
Provides information about the Amazon Redshift database configuration.
func (RedshiftSourceConfig) GoString ¶
func (s RedshiftSourceConfig) GoString() string
GoString returns the string representation
func (*RedshiftSourceConfig) SetClusterIdentifier ¶
func (s *RedshiftSourceConfig) SetClusterIdentifier(v string) *RedshiftSourceConfig
SetClusterIdentifier sets the ClusterIdentifier field's value.
func (*RedshiftSourceConfig) SetDatabaseHost ¶
func (s *RedshiftSourceConfig) SetDatabaseHost(v string) *RedshiftSourceConfig
SetDatabaseHost sets the DatabaseHost field's value.
func (*RedshiftSourceConfig) SetDatabaseName ¶
func (s *RedshiftSourceConfig) SetDatabaseName(v string) *RedshiftSourceConfig
SetDatabaseName sets the DatabaseName field's value.
func (*RedshiftSourceConfig) SetDatabasePort ¶
func (s *RedshiftSourceConfig) SetDatabasePort(v int64) *RedshiftSourceConfig
SetDatabasePort sets the DatabasePort field's value.
func (*RedshiftSourceConfig) SetRoleArn ¶
func (s *RedshiftSourceConfig) SetRoleArn(v string) *RedshiftSourceConfig
SetRoleArn sets the RoleArn field's value.
func (*RedshiftSourceConfig) SetSecretManagerArn ¶
func (s *RedshiftSourceConfig) SetSecretManagerArn(v string) *RedshiftSourceConfig
SetSecretManagerArn sets the SecretManagerArn field's value.
func (*RedshiftSourceConfig) SetTableName ¶
func (s *RedshiftSourceConfig) SetTableName(v string) *RedshiftSourceConfig
SetTableName sets the TableName field's value.
func (*RedshiftSourceConfig) SetVpcConfiguration ¶
func (s *RedshiftSourceConfig) SetVpcConfiguration(v *VpcConfiguration) *RedshiftSourceConfig
SetVpcConfiguration sets the VpcConfiguration field's value.
func (RedshiftSourceConfig) String ¶
func (s RedshiftSourceConfig) String() string
String returns the string representation
func (*RedshiftSourceConfig) Validate ¶
func (s *RedshiftSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // The ID of the resource. ResourceId *string `type:"string"` // The type of the resource. ResourceType *string `type:"string"` // contains filtered or unexported fields }
The specified resource cannot be found. Check the ARN of the resource and try again.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation
type S3SourceConfig ¶
type S3SourceConfig struct { // Contains information about a source file's formatting. FileFormatDescriptor *FileFormatDescriptor `type:"structure"` // A list of paths to the historical data files. HistoricalDataPathList []*string `min:"1" type:"list"` // The ARN of an IAM role that has read and write access permissions to the // source S3 bucket. // // RoleArn is a required field RoleArn *string `type:"string" required:"true"` // A list of templated paths to the source files. TemplatedPathList []*string `min:"1" type:"list"` // contains filtered or unexported fields }
Contains information about the configuration of the S3 bucket that contains source files.
func (S3SourceConfig) GoString ¶
func (s S3SourceConfig) GoString() string
GoString returns the string representation
func (*S3SourceConfig) SetFileFormatDescriptor ¶
func (s *S3SourceConfig) SetFileFormatDescriptor(v *FileFormatDescriptor) *S3SourceConfig
SetFileFormatDescriptor sets the FileFormatDescriptor field's value.
func (*S3SourceConfig) SetHistoricalDataPathList ¶
func (s *S3SourceConfig) SetHistoricalDataPathList(v []*string) *S3SourceConfig
SetHistoricalDataPathList sets the HistoricalDataPathList field's value.
func (*S3SourceConfig) SetRoleArn ¶
func (s *S3SourceConfig) SetRoleArn(v string) *S3SourceConfig
SetRoleArn sets the RoleArn field's value.
func (*S3SourceConfig) SetTemplatedPathList ¶
func (s *S3SourceConfig) SetTemplatedPathList(v []*string) *S3SourceConfig
SetTemplatedPathList sets the TemplatedPathList field's value.
func (S3SourceConfig) String ¶
func (s S3SourceConfig) String() string
String returns the string representation
func (*S3SourceConfig) Validate ¶
func (s *S3SourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SNSConfiguration ¶
type SNSConfiguration struct { // The ARN of the IAM role that has access to the target SNS topic. // // RoleArn is a required field RoleArn *string `type:"string" required:"true"` // The ARN of the target SNS topic. // // SnsTopicArn is a required field SnsTopicArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains information about the SNS topic to which you want to send your alerts and the IAM role that has access to that topic.
func (SNSConfiguration) GoString ¶
func (s SNSConfiguration) GoString() string
GoString returns the string representation
func (*SNSConfiguration) SetRoleArn ¶
func (s *SNSConfiguration) SetRoleArn(v string) *SNSConfiguration
SetRoleArn sets the RoleArn field's value.
func (*SNSConfiguration) SetSnsTopicArn ¶
func (s *SNSConfiguration) SetSnsTopicArn(v string) *SNSConfiguration
SetSnsTopicArn sets the SnsTopicArn field's value.
func (SNSConfiguration) String ¶
func (s SNSConfiguration) String() string
String returns the string representation
func (*SNSConfiguration) Validate ¶
func (s *SNSConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SampleDataS3SourceConfig ¶
type SampleDataS3SourceConfig struct { // Contains information about a source file's formatting. // // FileFormatDescriptor is a required field FileFormatDescriptor *FileFormatDescriptor `type:"structure" required:"true"` // An array of strings containing the historical set of data paths. HistoricalDataPathList []*string `min:"1" type:"list"` // The Amazon Resource Name (ARN) of the role. // // RoleArn is a required field RoleArn *string `type:"string" required:"true"` // An array of strings containing the list of templated paths. TemplatedPathList []*string `min:"1" type:"list"` // contains filtered or unexported fields }
Contains information about the source configuration in Amazon S3.
func (SampleDataS3SourceConfig) GoString ¶
func (s SampleDataS3SourceConfig) GoString() string
GoString returns the string representation
func (*SampleDataS3SourceConfig) SetFileFormatDescriptor ¶
func (s *SampleDataS3SourceConfig) SetFileFormatDescriptor(v *FileFormatDescriptor) *SampleDataS3SourceConfig
SetFileFormatDescriptor sets the FileFormatDescriptor field's value.
func (*SampleDataS3SourceConfig) SetHistoricalDataPathList ¶
func (s *SampleDataS3SourceConfig) SetHistoricalDataPathList(v []*string) *SampleDataS3SourceConfig
SetHistoricalDataPathList sets the HistoricalDataPathList field's value.
func (*SampleDataS3SourceConfig) SetRoleArn ¶
func (s *SampleDataS3SourceConfig) SetRoleArn(v string) *SampleDataS3SourceConfig
SetRoleArn sets the RoleArn field's value.
func (*SampleDataS3SourceConfig) SetTemplatedPathList ¶
func (s *SampleDataS3SourceConfig) SetTemplatedPathList(v []*string) *SampleDataS3SourceConfig
SetTemplatedPathList sets the TemplatedPathList field's value.
func (SampleDataS3SourceConfig) String ¶
func (s SampleDataS3SourceConfig) String() string
String returns the string representation
func (*SampleDataS3SourceConfig) Validate ¶
func (s *SampleDataS3SourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // The quota code. QuotaCode *string `type:"string"` // The ID of the resource. ResourceId *string `type:"string"` // The type of the resource. ResourceType *string `type:"string"` // The service code. ServiceCode *string `type:"string"` // contains filtered or unexported fields }
The request exceeded the service's quotas. Check the service quotas and try again.
func (*ServiceQuotaExceededException) Code ¶
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (*ServiceQuotaExceededException) Error ¶
func (s *ServiceQuotaExceededException) Error() string
func (ServiceQuotaExceededException) GoString ¶
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation
func (*ServiceQuotaExceededException) Message ¶
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (*ServiceQuotaExceededException) OrigErr ¶
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceQuotaExceededException) RequestID ¶
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceQuotaExceededException) StatusCode ¶
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceQuotaExceededException) String ¶
func (s ServiceQuotaExceededException) String() string
String returns the string representation
type TagResourceInput ¶
type TagResourceInput struct { // The resource's Amazon Resource Name (ARN). // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // Tags to apply to the resource. Tag keys and values can contain letters, numbers, // spaces, and the following symbols: _.:/=+@- // // Tags is a required field Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TimeSeries ¶
type TimeSeries struct { // The dimensions of the metric. // // DimensionList is a required field DimensionList []*DimensionNameValue `type:"list" required:"true"` // The values for the metric. // // MetricValueList is a required field MetricValueList []*float64 `type:"list" required:"true"` // The ID of the metric. // // TimeSeriesId is a required field TimeSeriesId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Details about a metric. A metric is an aggregation of the values of a measure for a dimension value, such as availability in the us-east-1 Region.
func (TimeSeries) GoString ¶
func (s TimeSeries) GoString() string
GoString returns the string representation
func (*TimeSeries) SetDimensionList ¶
func (s *TimeSeries) SetDimensionList(v []*DimensionNameValue) *TimeSeries
SetDimensionList sets the DimensionList field's value.
func (*TimeSeries) SetMetricValueList ¶
func (s *TimeSeries) SetMetricValueList(v []*float64) *TimeSeries
SetMetricValueList sets the MetricValueList field's value.
func (*TimeSeries) SetTimeSeriesId ¶
func (s *TimeSeries) SetTimeSeriesId(v string) *TimeSeries
SetTimeSeriesId sets the TimeSeriesId field's value.
func (TimeSeries) String ¶
func (s TimeSeries) String() string
String returns the string representation
type TimeSeriesFeedback ¶
type TimeSeriesFeedback struct { // Feedback on whether the metric is a legitimate anomaly. IsAnomaly *bool `type:"boolean"` // The ID of the metric. TimeSeriesId *string `type:"string"` // contains filtered or unexported fields }
Details about feedback submitted for an anomalous metric.
func (TimeSeriesFeedback) GoString ¶
func (s TimeSeriesFeedback) GoString() string
GoString returns the string representation
func (*TimeSeriesFeedback) SetIsAnomaly ¶
func (s *TimeSeriesFeedback) SetIsAnomaly(v bool) *TimeSeriesFeedback
SetIsAnomaly sets the IsAnomaly field's value.
func (*TimeSeriesFeedback) SetTimeSeriesId ¶
func (s *TimeSeriesFeedback) SetTimeSeriesId(v string) *TimeSeriesFeedback
SetTimeSeriesId sets the TimeSeriesId field's value.
func (TimeSeriesFeedback) String ¶
func (s TimeSeriesFeedback) String() string
String returns the string representation
type TimestampColumn ¶
type TimestampColumn struct { // The format of the timestamp column. ColumnFormat *string `type:"string"` // The name of the timestamp column. ColumnName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Contains information about the column used to track time in a source data file.
func (TimestampColumn) GoString ¶
func (s TimestampColumn) GoString() string
GoString returns the string representation
func (*TimestampColumn) SetColumnFormat ¶
func (s *TimestampColumn) SetColumnFormat(v string) *TimestampColumn
SetColumnFormat sets the ColumnFormat field's value.
func (*TimestampColumn) SetColumnName ¶
func (s *TimestampColumn) SetColumnName(v string) *TimestampColumn
SetColumnName sets the ColumnName field's value.
func (TimestampColumn) String ¶
func (s TimestampColumn) String() string
String returns the string representation
func (*TimestampColumn) Validate ¶
func (s *TimestampColumn) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TooManyRequestsException ¶
type TooManyRequestsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The request was denied due to too many requests being submitted at the same time.
func (*TooManyRequestsException) Code ¶
func (s *TooManyRequestsException) Code() string
Code returns the exception type name.
func (*TooManyRequestsException) Error ¶
func (s *TooManyRequestsException) Error() string
func (TooManyRequestsException) GoString ¶
func (s TooManyRequestsException) GoString() string
GoString returns the string representation
func (*TooManyRequestsException) Message ¶
func (s *TooManyRequestsException) Message() string
Message returns the exception's message.
func (*TooManyRequestsException) OrigErr ¶
func (s *TooManyRequestsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TooManyRequestsException) RequestID ¶
func (s *TooManyRequestsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TooManyRequestsException) StatusCode ¶
func (s *TooManyRequestsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TooManyRequestsException) String ¶
func (s TooManyRequestsException) String() string
String returns the string representation
type UntagResourceInput ¶
type UntagResourceInput struct { // The resource's Amazon Resource Name (ARN). // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // Keys to remove from the resource's tags. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UpdateAnomalyDetectorInput ¶
type UpdateAnomalyDetectorInput struct { // The ARN of the detector to update. // // AnomalyDetectorArn is a required field AnomalyDetectorArn *string `type:"string" required:"true"` // Contains information about the configuration to which the detector will be // updated. AnomalyDetectorConfig *AnomalyDetectorConfig `type:"structure"` // The updated detector description. AnomalyDetectorDescription *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of an AWS KMS encryption key. KmsKeyArn *string `min:"20" type:"string"` // contains filtered or unexported fields }
func (UpdateAnomalyDetectorInput) GoString ¶
func (s UpdateAnomalyDetectorInput) GoString() string
GoString returns the string representation
func (*UpdateAnomalyDetectorInput) SetAnomalyDetectorArn ¶
func (s *UpdateAnomalyDetectorInput) SetAnomalyDetectorArn(v string) *UpdateAnomalyDetectorInput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (*UpdateAnomalyDetectorInput) SetAnomalyDetectorConfig ¶
func (s *UpdateAnomalyDetectorInput) SetAnomalyDetectorConfig(v *AnomalyDetectorConfig) *UpdateAnomalyDetectorInput
SetAnomalyDetectorConfig sets the AnomalyDetectorConfig field's value.
func (*UpdateAnomalyDetectorInput) SetAnomalyDetectorDescription ¶
func (s *UpdateAnomalyDetectorInput) SetAnomalyDetectorDescription(v string) *UpdateAnomalyDetectorInput
SetAnomalyDetectorDescription sets the AnomalyDetectorDescription field's value.
func (*UpdateAnomalyDetectorInput) SetKmsKeyArn ¶
func (s *UpdateAnomalyDetectorInput) SetKmsKeyArn(v string) *UpdateAnomalyDetectorInput
SetKmsKeyArn sets the KmsKeyArn field's value.
func (UpdateAnomalyDetectorInput) String ¶
func (s UpdateAnomalyDetectorInput) String() string
String returns the string representation
func (*UpdateAnomalyDetectorInput) Validate ¶
func (s *UpdateAnomalyDetectorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateAnomalyDetectorOutput ¶
type UpdateAnomalyDetectorOutput struct { // The ARN of the updated detector. AnomalyDetectorArn *string `type:"string"` // contains filtered or unexported fields }
func (UpdateAnomalyDetectorOutput) GoString ¶
func (s UpdateAnomalyDetectorOutput) GoString() string
GoString returns the string representation
func (*UpdateAnomalyDetectorOutput) SetAnomalyDetectorArn ¶
func (s *UpdateAnomalyDetectorOutput) SetAnomalyDetectorArn(v string) *UpdateAnomalyDetectorOutput
SetAnomalyDetectorArn sets the AnomalyDetectorArn field's value.
func (UpdateAnomalyDetectorOutput) String ¶
func (s UpdateAnomalyDetectorOutput) String() string
String returns the string representation
type UpdateMetricSetInput ¶
type UpdateMetricSetInput struct { // The dimension list. DimensionList []*string `min:"1" type:"list"` // The metric list. MetricList []*Metric `min:"1" type:"list"` // The ARN of the dataset to update. // // MetricSetArn is a required field MetricSetArn *string `type:"string" required:"true"` // The dataset's description. MetricSetDescription *string `min:"1" type:"string"` // The dataset's interval. MetricSetFrequency *string `type:"string" enum:"Frequency"` // Contains information about source data used to generate a metric. MetricSource *MetricSource `type:"structure"` // After an interval ends, the amount of seconds that the detector waits before // importing data. Offset is only supported for S3 and Redshift datasources. Offset *int64 `type:"integer"` // The timestamp column. TimestampColumn *TimestampColumn `type:"structure"` // contains filtered or unexported fields }
func (UpdateMetricSetInput) GoString ¶
func (s UpdateMetricSetInput) GoString() string
GoString returns the string representation
func (*UpdateMetricSetInput) SetDimensionList ¶
func (s *UpdateMetricSetInput) SetDimensionList(v []*string) *UpdateMetricSetInput
SetDimensionList sets the DimensionList field's value.
func (*UpdateMetricSetInput) SetMetricList ¶
func (s *UpdateMetricSetInput) SetMetricList(v []*Metric) *UpdateMetricSetInput
SetMetricList sets the MetricList field's value.
func (*UpdateMetricSetInput) SetMetricSetArn ¶
func (s *UpdateMetricSetInput) SetMetricSetArn(v string) *UpdateMetricSetInput
SetMetricSetArn sets the MetricSetArn field's value.
func (*UpdateMetricSetInput) SetMetricSetDescription ¶
func (s *UpdateMetricSetInput) SetMetricSetDescription(v string) *UpdateMetricSetInput
SetMetricSetDescription sets the MetricSetDescription field's value.
func (*UpdateMetricSetInput) SetMetricSetFrequency ¶
func (s *UpdateMetricSetInput) SetMetricSetFrequency(v string) *UpdateMetricSetInput
SetMetricSetFrequency sets the MetricSetFrequency field's value.
func (*UpdateMetricSetInput) SetMetricSource ¶
func (s *UpdateMetricSetInput) SetMetricSource(v *MetricSource) *UpdateMetricSetInput
SetMetricSource sets the MetricSource field's value.
func (*UpdateMetricSetInput) SetOffset ¶
func (s *UpdateMetricSetInput) SetOffset(v int64) *UpdateMetricSetInput
SetOffset sets the Offset field's value.
func (*UpdateMetricSetInput) SetTimestampColumn ¶
func (s *UpdateMetricSetInput) SetTimestampColumn(v *TimestampColumn) *UpdateMetricSetInput
SetTimestampColumn sets the TimestampColumn field's value.
func (UpdateMetricSetInput) String ¶
func (s UpdateMetricSetInput) String() string
String returns the string representation
func (*UpdateMetricSetInput) Validate ¶
func (s *UpdateMetricSetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateMetricSetOutput ¶
type UpdateMetricSetOutput struct { // The ARN of the dataset. MetricSetArn *string `type:"string"` // contains filtered or unexported fields }
func (UpdateMetricSetOutput) GoString ¶
func (s UpdateMetricSetOutput) GoString() string
GoString returns the string representation
func (*UpdateMetricSetOutput) SetMetricSetArn ¶
func (s *UpdateMetricSetOutput) SetMetricSetArn(v string) *UpdateMetricSetOutput
SetMetricSetArn sets the MetricSetArn field's value.
func (UpdateMetricSetOutput) String ¶
func (s UpdateMetricSetOutput) String() string
String returns the string representation
type ValidationException ¶
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Fields that failed validation. Fields []*ValidationExceptionField `type:"list"` Message_ *string `locationName:"Message" type:"string"` // The reason that validation failed. Reason *string `type:"string" enum:"ValidationExceptionReason"` // contains filtered or unexported fields }
The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.
func (*ValidationException) Code ¶
func (s *ValidationException) Code() string
Code returns the exception type name.
func (*ValidationException) Error ¶
func (s *ValidationException) Error() string
func (ValidationException) GoString ¶
func (s ValidationException) GoString() string
GoString returns the string representation
func (*ValidationException) Message ¶
func (s *ValidationException) Message() string
Message returns the exception's message.
func (*ValidationException) OrigErr ¶
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ValidationException) RequestID ¶
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ValidationException) StatusCode ¶
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ValidationException) String ¶
func (s ValidationException) String() string
String returns the string representation
type ValidationExceptionField ¶
type ValidationExceptionField struct { // The message with more information about the validation exception. // // Message is a required field Message *string `type:"string" required:"true"` // The name of the field. // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains information about a a field in a validation exception.
func (ValidationExceptionField) GoString ¶
func (s ValidationExceptionField) GoString() string
GoString returns the string representation
func (*ValidationExceptionField) SetMessage ¶
func (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField
SetMessage sets the Message field's value.
func (*ValidationExceptionField) SetName ¶
func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField
SetName sets the Name field's value.
func (ValidationExceptionField) String ¶
func (s ValidationExceptionField) String() string
String returns the string representation
type VpcConfiguration ¶
type VpcConfiguration struct { // An array of strings containing the list of security groups. // // SecurityGroupIdList is a required field SecurityGroupIdList []*string `type:"list" required:"true"` // An array of strings containing the Amazon VPC subnet IDs (e.g., subnet-0bb1c79de3EXAMPLE. // // SubnetIdList is a required field SubnetIdList []*string `type:"list" required:"true"` // contains filtered or unexported fields }
Contains configuration information about the Amazon Virtual Private Cloud (VPC).
func (VpcConfiguration) GoString ¶
func (s VpcConfiguration) GoString() string
GoString returns the string representation
func (*VpcConfiguration) SetSecurityGroupIdList ¶
func (s *VpcConfiguration) SetSecurityGroupIdList(v []*string) *VpcConfiguration
SetSecurityGroupIdList sets the SecurityGroupIdList field's value.
func (*VpcConfiguration) SetSubnetIdList ¶
func (s *VpcConfiguration) SetSubnetIdList(v []*string) *VpcConfiguration
SetSubnetIdList sets the SubnetIdList field's value.
func (VpcConfiguration) String ¶
func (s VpcConfiguration) String() string
String returns the string representation
func (*VpcConfiguration) Validate ¶
func (s *VpcConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
Directories ¶
Path | Synopsis |
---|---|
Package lookoutmetricsiface provides an interface to enable mocking the Amazon Lookout for Metrics service client for testing your code.
|
Package lookoutmetricsiface provides an interface to enable mocking the Amazon Lookout for Metrics service client for testing your code. |