list_usage_limits
¶
list_usage_limits(
*,
config_overrides: Optional[RedshiftServerlessClientConfig] = None,
resource_arn: Optional[str] = None,
usage_type: Optional[UsageLimitUsageType] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[int] = None,
) -> ListUsageLimitsResponse
Lists all usage limits within Amazon Redshift Serverless.
Parameters:
-
resource_arn(Optional[str], default:None) –The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.
-
usage_type(Optional[UsageLimitUsageType], default:None) –The Amazon Redshift Serverless feature whose limits you want to see.
-
next_token(Optional[PaginationToken], default:None) –If your initial
ListUsageLimitsoperation returns anextToken, you can include the returnednextTokenin followingListUsageLimitsoperations, which returns results in the next page. -
max_results(Optional[int], default:None) –An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results. The default is 100.
Raises:
-
ConflictException–The submitted action has conflicts.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
InvalidPaginationException–The provided pagination token is invalid.
-
ResourceNotFoundException–The resource could not be found.
-
ValidationException–The input failed to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift_serverless/_services/redshift_serverless.py
4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 | |