list_subscription_grants
¶
list_subscription_grants(
domain_identifier: DomainId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
environment_id: Optional[EnvironmentId] = None,
subscription_target_id: Optional[SubscriptionTargetId] = None,
subscribed_listing_id: Optional[ListingId] = None,
subscription_id: Optional[SubscriptionId] = None,
owning_project_id: Optional[ProjectId] = None,
owning_iam_principal_arn: Optional[IamPrincipalArn] = None,
owning_user_id: Optional[UserProfileId] = None,
owning_group_id: Optional[GroupProfileId] = None,
sort_by: Optional[SortKey] = None,
sort_order: Optional[SortOrder] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> ListSubscriptionGrantsOutput
Lists subscription grants.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain.
-
environment_id(Optional[EnvironmentId], default:None) –The identifier of the Amazon DataZone environment.
-
subscription_target_id(Optional[SubscriptionTargetId], default:None) –The identifier of the subscription target.
-
subscribed_listing_id(Optional[ListingId], default:None) –The identifier of the subscribed listing.
-
subscription_id(Optional[SubscriptionId], default:None) –The identifier of the subscription.
-
owning_project_id(Optional[ProjectId], default:None) –The ID of the owning project of the subscription grants.
-
owning_iam_principal_arn(Optional[IamPrincipalArn], default:None) –The ARN of the owning IAM principal.
-
owning_user_id(Optional[UserProfileId], default:None) –The ID of the owning user.
-
owning_group_id(Optional[GroupProfileId], default:None) –The ID of the owning group.
-
sort_by(Optional[SortKey], default:None) –Specifies the way of sorting the results of this action.
-
sort_order(Optional[SortOrder], default:None) –Specifies the sort order of this action.
-
max_results(Optional[MaxResults], default:None) –The maximum number of subscription grants to return in a single call to
ListSubscriptionGrants. When the number of subscription grants to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListSubscriptionGrantsto list the next set of subscription grants. -
next_token(Optional[PaginationToken], default:None) –When the number of subscription grants is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of subscription grants, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListSubscriptionGrantsto list the next set of subscription grants.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/data_zone.py
7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 | |