list_received_grants
async
¶
list_received_grants(
*,
config_overrides: Optional[AsyncLicenseManagerClientConfig] = 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/async_license_manager.py
3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 | |