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

Amazonka.Personalize.UpdateMetricAttribution

Description

Updates a metric attribution.

Synopsis

Creating a Request

data UpdateMetricAttribution Source #

See: newUpdateMetricAttribution smart constructor.

Constructors

UpdateMetricAttribution' 

Fields

Instances

Instances details
ToJSON UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

ToHeaders UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

ToPath UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

ToQuery UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

AWSRequest UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

Generic UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

Associated Types

type Rep UpdateMetricAttribution :: Type -> Type #

Read UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

Show UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

NFData UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

Methods

rnf :: UpdateMetricAttribution -> () #

Eq UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

Hashable UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

type AWSResponse UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

type Rep UpdateMetricAttribution Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

type Rep UpdateMetricAttribution = D1 ('MetaData "UpdateMetricAttribution" "Amazonka.Personalize.UpdateMetricAttribution" "amazonka-personalize-2.0-9kdbGNMxU7zEIoXPqEwwTg" 'False) (C1 ('MetaCons "UpdateMetricAttribution'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "addMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricAttribute])) :*: S1 ('MetaSel ('Just "metricAttributionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "metricsOutputConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricAttributionOutput)) :*: S1 ('MetaSel ('Just "removeMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newUpdateMetricAttribution :: UpdateMetricAttribution Source #

Create a value of UpdateMetricAttribution with all optional fields omitted.

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

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

$sel:addMetrics:UpdateMetricAttribution', updateMetricAttribution_addMetrics - Add new metric attributes to the metric attribution.

UpdateMetricAttribution, updateMetricAttribution_metricAttributionArn - The Amazon Resource Name (ARN) for the metric attribution to update.

UpdateMetricAttribution, updateMetricAttribution_metricsOutputConfig - An output config for the metric attribution.

$sel:removeMetrics:UpdateMetricAttribution', updateMetricAttribution_removeMetrics - Remove metric attributes from the metric attribution.

Request Lenses

updateMetricAttribution_addMetrics :: Lens' UpdateMetricAttribution (Maybe [MetricAttribute]) Source #

Add new metric attributes to the metric attribution.

updateMetricAttribution_metricAttributionArn :: Lens' UpdateMetricAttribution (Maybe Text) Source #

The Amazon Resource Name (ARN) for the metric attribution to update.

updateMetricAttribution_removeMetrics :: Lens' UpdateMetricAttribution (Maybe [Text]) Source #

Remove metric attributes from the metric attribution.

Destructuring the Response

data UpdateMetricAttributionResponse Source #

See: newUpdateMetricAttributionResponse smart constructor.

Constructors

UpdateMetricAttributionResponse' 

Fields

Instances

Instances details
Generic UpdateMetricAttributionResponse Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

Associated Types

type Rep UpdateMetricAttributionResponse :: Type -> Type #

Read UpdateMetricAttributionResponse Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

Show UpdateMetricAttributionResponse Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

NFData UpdateMetricAttributionResponse Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

Eq UpdateMetricAttributionResponse Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

type Rep UpdateMetricAttributionResponse Source # 
Instance details

Defined in Amazonka.Personalize.UpdateMetricAttribution

type Rep UpdateMetricAttributionResponse = D1 ('MetaData "UpdateMetricAttributionResponse" "Amazonka.Personalize.UpdateMetricAttribution" "amazonka-personalize-2.0-9kdbGNMxU7zEIoXPqEwwTg" 'False) (C1 ('MetaCons "UpdateMetricAttributionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricAttributionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateMetricAttributionResponse Source #

Create a value of UpdateMetricAttributionResponse with all optional fields omitted.

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

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

UpdateMetricAttribution, updateMetricAttributionResponse_metricAttributionArn - The Amazon Resource Name (ARN) for the metric attribution that you updated.

$sel:httpStatus:UpdateMetricAttributionResponse', updateMetricAttributionResponse_httpStatus - The response's http status code.

Response Lenses

updateMetricAttributionResponse_metricAttributionArn :: Lens' UpdateMetricAttributionResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) for the metric attribution that you updated.