list_received_grants
¶
list_received_grants(
*,
config_overrides: Optional[LicenseManagerClientConfig] = None,
grant_arns: Optional[ArnList] = None,
filters: Optional[FilterList] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxSize100] = None,
) -> ListReceivedGrantsResponse
Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon Web Services account, your organization, or an organizational unit (OU) to which this member account belongs.
Parameters:
-
grant_arns(Optional[ArnList], default:None) –Amazon Resource Names (ARNs) of the grants.
-
filters(Optional[FilterList], default:None) –Filters to scope the results. The following filters are supported:
-
ProductSKU -
LicenseIssuerName -
LicenseArn -
GrantStatus -
GranterAccountId
-
-
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/license_manager.py
3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 | |