list_subscriptions
async
¶
list_subscriptions(
domain_identifier: DomainId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
subscription_request_identifier: Optional[SubscriptionRequestId] = None,
status: Optional[SubscriptionStatus] = None,
subscribed_listing_id: Optional[ListingId] = 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,
approver_project_id: Optional[ProjectId] = None,
sort_by: Optional[SortKey] = None,
sort_order: Optional[SortOrder] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> ListSubscriptionsOutput
Lists subscriptions in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain.
-
subscription_request_identifier(Optional[SubscriptionRequestId], default:None) –The identifier of the subscription request for the subscriptions that you want to list.
-
status(Optional[SubscriptionStatus], default:None) –The status of the subscriptions that you want to list.
This is not a required parameter, but if not provided, by default, Amazon DataZone returns only
APPROVEDsubscriptions. -
subscribed_listing_id(Optional[ListingId], default:None) –The identifier of the subscribed listing for the subscriptions that you want to list.
-
owning_project_id(Optional[ProjectId], default:None) –The identifier of the owning project.
-
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.
-
approver_project_id(Optional[ProjectId], default:None) –The identifier of the project for the subscription's approver.
-
sort_by(Optional[SortKey], default:None) –Specifies the way in which the results of this action are to be sorted.
-
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 subscriptions to return in a single call to
ListSubscriptions. When the number of subscriptions to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListSubscriptionsto list the next set of Subscriptions. -
next_token(Optional[PaginationToken], default:None) –When the number of subscriptions is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of subscriptions, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListSubscriptionsto list the next set of subscriptions.
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
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 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 | |