View a markdown version of this page

CreateRevenueAttribution - AWS Partner Central

CreateRevenueAttribution

Creates a new revenue attribution record in the specified catalog.

Request Parameters

Catalog

The catalog in which to create the revenue attribution.

Type: String

Valid Values: AWS | Sandbox

Required: Yes

Name

The name of the revenue attribution. Must be unique within the catalog and the partner's account.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [\x20-\x7E]+

Required: Yes

TenancyModel

The tenancy model for this revenue attribution.

Type: String

Valid Values: MULTI_TENANT | SINGLE_TENANT

Required: Yes

ClientToken

A unique token to ensure idempotency of the create request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [!-~]{1,64}

Required: No

Description

A description of the revenue attribution.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\x20-\x7E]*

Required: No

ProductIdentifier

The unique product identifier in AWS Marketplace. Accepts a product entity ID (e.g., prod-abc123def4567) or a product ARN.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [\w\-:/.]+

Required: No

Tags

Tags to associate with the revenue attribution upon creation.

Type: Array of Tag objects

Array Members: Minimum number of 1 item. Maximum number of 200 items.

Required: No

Response Elements

The following elements are returned by the service.

Arn

The Amazon Resource Name (ARN) of the newly created revenue attribution.

Type: String

Id

The unique identifier of the newly created revenue attribution.

Type: String

Length Constraints: Minimum length of 16. Maximum length of 1011.

Pattern: (arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[a-zA-Z]+/revenue-attribution/ra-[a-z0-9]{13}|ra-[a-z0-9]{13})

TenancyModel

The tenancy model for this revenue attribution.

Type: String

Valid Values: MULTI_TENANT | SINGLE_TENANT

Description

The description of the revenue attribution.

Type: String

MarketplaceProduct

The associated AWS Marketplace product listing, if set at creation.

Type: MarketplaceProductSummary object

Name

The name of the revenue attribution.

Type: String

Revision

The revision of the newly created attribution resource.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 19.

Pattern: [1-9][0-9]*

Errors

For information about the errors that are common to all actions, see Common Error Types.

AccessDeniedException

The request was denied due to insufficient permissions.

Reason

The reason for the access denial.

HTTP Status Code: 403

ConflictException

The request could not be completed due to a conflict with the current state of the resource.

Reason

The reason for the conflict.

HTTP Status Code: 409

InternalServerException

An internal server error occurred. Retry your request.

HTTP Status Code: 500

ResourceNotFoundException

The specified resource was not found.

Reason

The reason the resource was not found.

HTTP Status Code: 404

ServiceQuotaExceededException

The request would exceed a service quota limit.

Reason

The reason the service quota was exceeded.

HTTP Status Code: 402

ThrottlingException

The request was throttled due to too many requests. Retry your request.

QuotaCode

The quota code associated with the throttling error.

ServiceCode

The service code associated with the throttling error.

HTTP Status Code: 429

ValidationException

The request failed validation due to invalid input parameters.

FieldList

A list of fields that failed validation.

Reason

The reason for the validation failure.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: