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
8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 | |