list_subscription_targets
async
¶
list_subscription_targets(
domain_identifier: DomainId,
environment_identifier: EnvironmentId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
sort_by: Optional[SortKey] = None,
sort_order: Optional[SortOrder] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> ListSubscriptionTargetsOutput
Lists subscription targets in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain where you want to list subscription targets.
-
environment_identifier(EnvironmentId) –The identifier of the environment where you want to list subscription targets.
-
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 subscription targets to return in a single call to
ListSubscriptionTargets. When the number of subscription targets to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListSubscriptionTargetsto list the next set of subscription targets. -
next_token(Optional[PaginationToken], default:None) –When the number of subscription targets is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of subscription targets, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListSubscriptionTargetsto list the next set of subscription targets.
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
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 | |