create_subscription_request
Create a subscription request to access published data assets in Amazon DataZone. Specify the domain, reason, listings, and principals.
Instructions
Creates a subscription request in Amazon DataZone.
Args: domain_identifier (str): The ID of the domain where the subscription request is created request_reason (str): The reason for the subscription request (1-4096 characters) subscribed_listings (List[Dict[str, str]]): The published assets to subscribe to Example: [{"identifier": "listing-id"}] subscribed_principals (List[Dict[str, Any]]): The principals to subscribe using tagged union format Example for project: [{"project": {"identifier": "project-id"}}] Example for user: [{"user": {"userId": "user-id"}}] metadata_forms (List[Dict[str, str]], optional): Additional metadata forms Example: [{ "content": "form-content", "formName": "form-name", "typeIdentifier": "type-id", "typeRevision": "type-rev" }] client_token (str, optional): A unique token to ensure idempotency
Returns: Any: The API response containing: - Subscription request ID and status - Creation and update timestamps - Domain ID - Request reason and decision comment - Subscribed listings and principals - Metadata forms - Reviewer information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_token | No | ||
| metadata_forms | No | ||
| request_reason | Yes | ||
| domain_identifier | Yes | ||
| subscribed_listings | Yes | ||
| subscribed_principals | Yes |