list_subscription_grants
async
¶
list_subscription_grants(
domain_identifier: DomainId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
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 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 | |