list_subscription_requests
async
¶
list_subscription_requests(
domain_identifier: DomainId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 | |