update_subscription_grant_status
async
¶
update_subscription_grant_status(
domain_identifier: DomainId,
identifier: SubscriptionGrantId,
asset_identifier: AssetId,
status: SubscriptionGrantStatus,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
failure_cause: Optional[FailureCause] = None,
target_name: Optional[str] = None,
) -> UpdateSubscriptionGrantStatusOutput
Updates the status of the specified subscription grant status in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
-
identifier(SubscriptionGrantId) –The identifier of the subscription grant the status of which is to be updated.
-
asset_identifier(AssetId) –The identifier of the asset the subscription grant status of which is to be updated.
-
status(SubscriptionGrantStatus) –The status to be updated as part of the
UpdateSubscriptionGrantStatusaction. -
failure_cause(Optional[FailureCause], default:None) –Specifies the error message that is returned if the operation cannot be successfully completed.
-
target_name(Optional[str], default:None) –The target name to be updated as part of the
UpdateSubscriptionGrantStatusaction.
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.
-
ConflictException–There is a conflict while performing 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
11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 | |