1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. personalize
  6. getMetricAttribution

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi

    Creates a metric attribution for reporting on recommendation impact in Amazon Personalize.

    Using getMetricAttribution

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMetricAttribution(args: GetMetricAttributionArgs, opts?: InvokeOptions): Promise<GetMetricAttributionResult>
    function getMetricAttributionOutput(args: GetMetricAttributionOutputArgs, opts?: InvokeOutputOptions): Output<GetMetricAttributionResult>
    def get_metric_attribution(metric_attribution_arn: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetMetricAttributionResult
    def get_metric_attribution_output(metric_attribution_arn: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOutputOptions] = None) -> Output[GetMetricAttributionResult]
    func LookupMetricAttribution(ctx *Context, args *LookupMetricAttributionArgs, opts ...InvokeOption) (*LookupMetricAttributionResult, error)
    func LookupMetricAttributionOutput(ctx *Context, args *LookupMetricAttributionOutputArgs, opts ...InvokeOption) LookupMetricAttributionResultOutput

    > Note: This function is named LookupMetricAttribution in the Go SDK.

    public static class GetMetricAttribution 
    {
        public static Task<GetMetricAttributionResult> InvokeAsync(GetMetricAttributionArgs args, InvokeOptions? opts = null)
        public static Output<GetMetricAttributionResult> Invoke(GetMetricAttributionInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetMetricAttributionResult> Invoke(GetMetricAttributionInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetMetricAttributionResult> getMetricAttribution(GetMetricAttributionArgs args, InvokeOptions options)
    public static Output<GetMetricAttributionResult> getMetricAttribution(GetMetricAttributionArgs args, InvokeOptions options)
    public static Output<GetMetricAttributionResult> getMetricAttribution(GetMetricAttributionArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:personalize:getMetricAttribution
      arguments:
        # arguments dictionary
    data "aws-native_personalize_get_metric_attribution" "name" {
        # arguments
    }

    The following arguments are supported:

    MetricAttributionArn string
    The ARN of the metric attribution.
    MetricAttributionArn string
    The ARN of the metric attribution.
    metric_attribution_arn string
    The ARN of the metric attribution.
    metricAttributionArn String
    The ARN of the metric attribution.
    metricAttributionArn string
    The ARN of the metric attribution.
    metric_attribution_arn str
    The ARN of the metric attribution.
    metricAttributionArn String
    The ARN of the metric attribution.

    getMetricAttribution Result

    The following output properties are available:

    MetricAttributionArn string
    The ARN of the metric attribution.
    MetricsOutputConfig Pulumi.AwsNative.Personalize.Outputs.MetricAttributionMetricsOutputConfig
    Status string
    The status of the metric attribution.
    MetricAttributionArn string
    The ARN of the metric attribution.
    MetricsOutputConfig MetricAttributionMetricsOutputConfig
    Status string
    The status of the metric attribution.
    metric_attribution_arn string
    The ARN of the metric attribution.
    metrics_output_config object
    status string
    The status of the metric attribution.
    metricAttributionArn String
    The ARN of the metric attribution.
    metricsOutputConfig MetricAttributionMetricsOutputConfig
    status String
    The status of the metric attribution.
    metricAttributionArn string
    The ARN of the metric attribution.
    metricsOutputConfig MetricAttributionMetricsOutputConfig
    status string
    The status of the metric attribution.
    metric_attribution_arn str
    The ARN of the metric attribution.
    metrics_output_config MetricAttributionMetricsOutputConfig
    status str
    The status of the metric attribution.
    metricAttributionArn String
    The ARN of the metric attribution.
    metricsOutputConfig Property Map
    status String
    The status of the metric attribution.

    Supporting Types

    MetricAttributionMetricsOutputConfig

    RoleArn string
    The ARN of the IAM role for the metric attribution.
    S3DataDestination MetricAttributionS3DataDestination
    role_arn string
    The ARN of the IAM role for the metric attribution.
    s3_data_destination object
    roleArn String
    The ARN of the IAM role for the metric attribution.
    s3DataDestination MetricAttributionS3DataDestination
    roleArn string
    The ARN of the IAM role for the metric attribution.
    s3DataDestination MetricAttributionS3DataDestination
    role_arn str
    The ARN of the IAM role for the metric attribution.
    s3_data_destination MetricAttributionS3DataDestination
    roleArn String
    The ARN of the IAM role for the metric attribution.
    s3DataDestination Property Map

    MetricAttributionS3DataDestination

    Path string
    The file path of the Amazon S3 bucket.
    KmsKeyArn string
    The ARN of the KMS key.
    Path string
    The file path of the Amazon S3 bucket.
    KmsKeyArn string
    The ARN of the KMS key.
    path string
    The file path of the Amazon S3 bucket.
    kms_key_arn string
    The ARN of the KMS key.
    path String
    The file path of the Amazon S3 bucket.
    kmsKeyArn String
    The ARN of the KMS key.
    path string
    The file path of the Amazon S3 bucket.
    kmsKeyArn string
    The ARN of the KMS key.
    path str
    The file path of the Amazon S3 bucket.
    kms_key_arn str
    The ARN of the KMS key.
    path String
    The file path of the Amazon S3 bucket.
    kmsKeyArn String
    The ARN of the KMS key.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.79.0
    published on Monday, Sep 14, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial