list_subscription_requests
¶
list_subscription_requests(
domain_identifier: DomainId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
status: Optional[SubscriptionRequestStatus] = None,
subscribed_listing_id: Optional[ListingId] = None,
owning_project_id: Optional[ProjectId] = None,
owning_iam_principal_arn: Optional[IamPrincipalArn] = None,
approver_project_id: Optional[ProjectId] = 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,
) -> ListSubscriptionRequestsOutput
Lists Amazon DataZone subscription requests.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain.
-
status(Optional[SubscriptionRequestStatus], default:None) –Specifies the status of the subscription requests.
This is not a required parameter, but if not specified, by default, Amazon DataZone returns only
PENDINGsubscription requests. -
subscribed_listing_id(Optional[ListingId], default:None) –The identifier of the subscribed listing.
-
owning_project_id(Optional[ProjectId], default:None) –The identifier of the project for the subscription requests.
-
owning_iam_principal_arn(Optional[IamPrincipalArn], default:None) –The ARN of the owning IAM principal.
-
approver_project_id(Optional[ProjectId], default:None) –The identifier of the subscription request approver's project.
-
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 to sort the results of this action.
-
sort_order(Optional[SortOrder], default:None) –Specifies the sort order for the results of this action.
-
max_results(Optional[MaxResults], default:None) –The maximum number of subscription requests to return in a single call to
ListSubscriptionRequests. When the number of subscription requests to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListSubscriptionRequeststo list the next set of subscription requests. -
next_token(Optional[PaginationToken], default:None) –When the number of subscription requests is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of subscription requests, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListSubscriptionRequeststo list the next set of subscription requests.
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
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 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 | |