updateProvisionedLimit

Sets the provisioned limit for a specific API category. The value must be between the default limit and your account-level maximum limit in Service Quotas.

Managed login user pools don't support adjustments to the UserAuthentication or UserFederation categories. To increase these limits, submit a Service Quotas increase request.

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 sets the provisioned limit for the UserAuthentication API category to 300 RPS.
val resp = cognitoIdentityProviderClient.updateProvisionedLimit {
    limitDefinition = LimitDefinitionType {
        limitClass = LimitClass.fromValue("API_CATEGORY")
        attributes = mapOf<String, String>(
            "Category" to "UserAuthentication"
        )
    }
    requestedLimitValue = 300
}