getProvisionedLimit
abstract suspend fun getProvisionedLimit(input: GetProvisionedLimitRequest): GetProvisionedLimitResponse
Returns the current provisioned limit for a specific API category.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
Samples
// The following example returns the provisioned limit for the UserAuthentication API category.
val resp = cognitoIdentityProviderClient.getProvisionedLimit {
limitDefinition = LimitDefinitionType {
limitClass = LimitClass.fromValue("API_CATEGORY")
attributes = mapOf<String, String>(
"Category" to "UserAuthentication"
)
}
}Content copied to clipboard