list_received_grants_for_organization
async
¶
list_received_grants_for_organization(
license_arn: Arn,
*,
config_overrides: Optional[AsyncLicenseManagerClientConfig] = None,
filters: Optional[FilterList] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxSize100] = None,
) -> ListReceivedGrantsForOrganizationResponse
Lists the grants received for all accounts in the organization.
Parameters:
-
license_arn(Arn) –The Amazon Resource Name (ARN) of the received license.
-
filters(Optional[FilterList], default:None) –Filters to scope the results. The following filters are supported:
-
ParentArn -
GranteePrincipalArn
-
-
next_token(Optional[String], default:None) –Token for the next set of results.
-
max_results(Optional[MaxSize100], default:None) –Maximum number of results to return in a single call.
Raises:
-
AccessDeniedException–Access to resource denied.
-
AuthorizationException–The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
-
InvalidParameterValueException–One or more parameter values are not valid.
-
RateLimitExceededException–Too many requests have been submitted. Try again after a brief wait.
-
ResourceLimitExceededException–Your resource limits have been exceeded.
-
ServerInternalException–The server experienced an internal error. Try again.
-
ValidationException–The provided input is not valid. Try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_license_manager/_services/async_license_manager.py
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 | |