list_subscription_targets
¶
list_subscription_targets(
domain_identifier: DomainId,
environment_identifier: EnvironmentId,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
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 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 | |