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
published on Monday, Sep 14, 2026 by Pulumi
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
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 dictionarydata "aws-native_personalize_get_metric_attribution" "name" {
# arguments
}The following arguments are supported:
- Metric
Attribution stringArn - The ARN of the metric attribution.
- Metric
Attribution stringArn - The ARN of the metric attribution.
- metric_
attribution_ stringarn - The ARN of the metric attribution.
- metric
Attribution StringArn - The ARN of the metric attribution.
- metric
Attribution stringArn - The ARN of the metric attribution.
- metric_
attribution_ strarn - The ARN of the metric attribution.
- metric
Attribution StringArn - The ARN of the metric attribution.
getMetricAttribution Result
The following output properties are available:
- Metric
Attribution stringArn - The ARN of the metric attribution.
- Metrics
Output Pulumi.Config Aws Native. Personalize. Outputs. Metric Attribution Metrics Output Config - Status string
- The status of the metric attribution.
- Metric
Attribution stringArn - The ARN of the metric attribution.
- Metrics
Output MetricConfig Attribution Metrics Output Config - Status string
- The status of the metric attribution.
- metric_
attribution_ stringarn - The ARN of the metric attribution.
- metrics_
output_ objectconfig - status string
- The status of the metric attribution.
- metric
Attribution StringArn - The ARN of the metric attribution.
- metrics
Output MetricConfig Attribution Metrics Output Config - status String
- The status of the metric attribution.
- metric
Attribution stringArn - The ARN of the metric attribution.
- metrics
Output MetricConfig Attribution Metrics Output Config - status string
- The status of the metric attribution.
- metric_
attribution_ strarn - The ARN of the metric attribution.
- metrics_
output_ Metricconfig Attribution Metrics Output Config - status str
- The status of the metric attribution.
- metric
Attribution StringArn - The ARN of the metric attribution.
- metrics
Output Property MapConfig - status String
- The status of the metric attribution.
Supporting Types
MetricAttributionMetricsOutputConfig
- Role
Arn string - The ARN of the IAM role for the metric attribution.
- S3Data
Destination Pulumi.Aws Native. Personalize. Inputs. Metric Attribution S3Data Destination
- Role
Arn string - The ARN of the IAM role for the metric attribution.
- S3Data
Destination MetricAttribution S3Data Destination
- role_
arn string - The ARN of the IAM role for the metric attribution.
- s3_
data_ objectdestination
- role
Arn String - The ARN of the IAM role for the metric attribution.
- s3Data
Destination MetricAttribution S3Data Destination
- role
Arn string - The ARN of the IAM role for the metric attribution.
- s3Data
Destination MetricAttribution S3Data Destination
- role_
arn str - The ARN of the IAM role for the metric attribution.
- s3_
data_ Metricdestination Attribution S3Data Destination
- role
Arn String - The ARN of the IAM role for the metric attribution.
- s3Data
Destination Property Map
MetricAttributionS3DataDestination
- path string
- The file path of the Amazon S3 bucket.
- kms_
key_ stringarn - The ARN of the KMS key.
- path str
- The file path of the Amazon S3 bucket.
- kms_
key_ strarn - The ARN of the KMS key.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
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
published on Monday, Sep 14, 2026 by Pulumi