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
7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 | |