2026/07/02 - Amazon Cognito Identity Provider - 2 new api methods
Changes Add support for provisioned limit management, enabling customers to view and update their provisioned API rate limits for Amazon Cognito User Pools programmatically through the new GetProvisionedLimit and UpdateProvisionedLimit APIs.
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.
See also: AWS API Documentation
Request Syntax
client.update_provisioned_limit(
LimitDefinition={
'LimitClass': 'API_CATEGORY',
'Attributes': {
'string': 'string'
}
},
RequestedLimitValue=123
)
dict
[REQUIRED]
The limit to update. Specify the limit class and the attributes that identify the limit.
LimitClass (string) -- [REQUIRED]
The class of the limit. For API rate limits, this is API_CATEGORY.
Attributes (dict) -- [REQUIRED]
The attributes that identify the specific limit. For API rate limits, specify the Category key with a value like UserAuthentication or UserCreation.
(string) --
(string) --
integer
[REQUIRED]
The provisioned rate to set, in requests per second (RPS).
dict
Response Syntax
{
'Limit': {
'LimitDefinition': {
'LimitClass': 'API_CATEGORY',
'Attributes': {
'string': 'string'
}
},
'ProvisionedLimitValue': 123,
'FreeLimitValue': 123
}
}
Response Structure
(dict) --
Limit (dict) --
The updated provisioned and default limit values.
LimitDefinition (dict) --
The definition that identifies this limit, including the class and attributes.
LimitClass (string) --
The class of the limit. For API rate limits, this is API_CATEGORY.
Attributes (dict) --
The attributes that identify the specific limit. For API rate limits, specify the Category key with a value like UserAuthentication or UserCreation.
(string) --
(string) --
ProvisionedLimitValue (integer) --
The provisioned limit value, in requests per second (RPS). This is the rate that Amazon Cognito currently enforces for your account.
FreeLimitValue (integer) --
The default (free) limit value, in requests per second (RPS). This is the rate included at no additional cost.
Returns the current provisioned limit for a specific API category.
See also: AWS API Documentation
Request Syntax
client.get_provisioned_limit(
LimitDefinition={
'LimitClass': 'API_CATEGORY',
'Attributes': {
'string': 'string'
}
}
)
dict
[REQUIRED]
The limit to retrieve. Specify the limit class and the attributes that identify the limit.
LimitClass (string) -- [REQUIRED]
The class of the limit. For API rate limits, this is API_CATEGORY.
Attributes (dict) -- [REQUIRED]
The attributes that identify the specific limit. For API rate limits, specify the Category key with a value like UserAuthentication or UserCreation.
(string) --
(string) --
dict
Response Syntax
{
'Limit': {
'LimitDefinition': {
'LimitClass': 'API_CATEGORY',
'Attributes': {
'string': 'string'
}
},
'ProvisionedLimitValue': 123,
'FreeLimitValue': 123
}
}
Response Structure
(dict) --
Limit (dict) --
The provisioned and default limit values for the requested limit.
LimitDefinition (dict) --
The definition that identifies this limit, including the class and attributes.
LimitClass (string) --
The class of the limit. For API rate limits, this is API_CATEGORY.
Attributes (dict) --
The attributes that identify the specific limit. For API rate limits, specify the Category key with a value like UserAuthentication or UserCreation.
(string) --
(string) --
ProvisionedLimitValue (integer) --
The provisioned limit value, in requests per second (RPS). This is the rate that Amazon Cognito currently enforces for your account.
FreeLimitValue (integer) --
The default (free) limit value, in requests per second (RPS). This is the rate included at no additional cost.