list_usage_limits
async
¶
list_usage_limits(
*,
config_overrides: Optional[AsyncRedshiftServerlessClientConfig] = 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/async_redshift_serverless.py
4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 | |