|
265 | 265 | { |
266 | 266 | "target": "com.amazonaws.cognitoidentityprovider#GetLogDeliveryConfiguration" |
267 | 267 | }, |
| 268 | + { |
| 269 | + "target": "com.amazonaws.cognitoidentityprovider#GetProvisionedLimit" |
| 270 | + }, |
268 | 271 | { |
269 | 272 | "target": "com.amazonaws.cognitoidentityprovider#GetSigningCertificate" |
270 | 273 | }, |
|
394 | 397 | { |
395 | 398 | "target": "com.amazonaws.cognitoidentityprovider#UpdateManagedLoginBranding" |
396 | 399 | }, |
| 400 | + { |
| 401 | + "target": "com.amazonaws.cognitoidentityprovider#UpdateProvisionedLimit" |
| 402 | + }, |
397 | 403 | { |
398 | 404 | "target": "com.amazonaws.cognitoidentityprovider#UpdateResourceServer" |
399 | 405 | }, |
|
11418 | 11424 | "smithy.api#output": {} |
11419 | 11425 | } |
11420 | 11426 | }, |
| 11427 | + "com.amazonaws.cognitoidentityprovider#GetProvisionedLimit": { |
| 11428 | + "type": "operation", |
| 11429 | + "input": { |
| 11430 | + "target": "com.amazonaws.cognitoidentityprovider#GetProvisionedLimitRequest" |
| 11431 | + }, |
| 11432 | + "output": { |
| 11433 | + "target": "com.amazonaws.cognitoidentityprovider#GetProvisionedLimitResponse" |
| 11434 | + }, |
| 11435 | + "errors": [ |
| 11436 | + { |
| 11437 | + "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" |
| 11438 | + }, |
| 11439 | + { |
| 11440 | + "target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException" |
| 11441 | + }, |
| 11442 | + { |
| 11443 | + "target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException" |
| 11444 | + }, |
| 11445 | + { |
| 11446 | + "target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException" |
| 11447 | + }, |
| 11448 | + { |
| 11449 | + "target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException" |
| 11450 | + } |
| 11451 | + ], |
| 11452 | + "traits": { |
| 11453 | + "smithy.api#documentation": "<p>Returns the current provisioned limit for a specific API category.</p>\n <note>\n <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For\n this operation, you must use IAM credentials to authorize requests, and you must\n grant yourself the corresponding IAM permission in a policy.</p>\n <p class=\"title\">\n <b>Learn more</b>\n </p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html\">Signing Amazon Web Services API Requests</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html\">Using the Amazon Cognito user pools API and user pool endpoints</a>\n </p>\n </li>\n </ul>\n </note>", |
| 11454 | + "smithy.api#examples": [ |
| 11455 | + { |
| 11456 | + "title": "Example get a provisioned limit", |
| 11457 | + "documentation": "The following example returns the provisioned limit for the UserAuthentication API category.", |
| 11458 | + "input": { |
| 11459 | + "LimitDefinition": { |
| 11460 | + "LimitClass": "API_CATEGORY", |
| 11461 | + "Attributes": { |
| 11462 | + "Category": "UserAuthentication" |
| 11463 | + } |
| 11464 | + } |
| 11465 | + }, |
| 11466 | + "output": { |
| 11467 | + "Limit": { |
| 11468 | + "LimitDefinition": { |
| 11469 | + "LimitClass": "API_CATEGORY", |
| 11470 | + "Attributes": { |
| 11471 | + "Category": "UserAuthentication" |
| 11472 | + } |
| 11473 | + }, |
| 11474 | + "ProvisionedLimitValue": 120, |
| 11475 | + "FreeLimitValue": 120 |
| 11476 | + } |
| 11477 | + } |
| 11478 | + } |
| 11479 | + ] |
| 11480 | + } |
| 11481 | + }, |
| 11482 | + "com.amazonaws.cognitoidentityprovider#GetProvisionedLimitRequest": { |
| 11483 | + "type": "structure", |
| 11484 | + "members": { |
| 11485 | + "LimitDefinition": { |
| 11486 | + "target": "com.amazonaws.cognitoidentityprovider#LimitDefinitionType", |
| 11487 | + "traits": { |
| 11488 | + "smithy.api#documentation": "<p>The limit to retrieve. Specify the limit class and the attributes that identify the\n limit.</p>", |
| 11489 | + "smithy.api#required": {} |
| 11490 | + } |
| 11491 | + } |
| 11492 | + }, |
| 11493 | + "traits": { |
| 11494 | + "smithy.api#input": {} |
| 11495 | + } |
| 11496 | + }, |
| 11497 | + "com.amazonaws.cognitoidentityprovider#GetProvisionedLimitResponse": { |
| 11498 | + "type": "structure", |
| 11499 | + "members": { |
| 11500 | + "Limit": { |
| 11501 | + "target": "com.amazonaws.cognitoidentityprovider#LimitType", |
| 11502 | + "traits": { |
| 11503 | + "smithy.api#documentation": "<p>The provisioned and default limit values for the requested limit.</p>", |
| 11504 | + "smithy.api#required": {} |
| 11505 | + } |
| 11506 | + } |
| 11507 | + }, |
| 11508 | + "traits": { |
| 11509 | + "smithy.api#output": {} |
| 11510 | + } |
| 11511 | + }, |
11421 | 11512 | "com.amazonaws.cognitoidentityprovider#GetSigningCertificate": { |
11422 | 11513 | "type": "operation", |
11423 | 11514 | "input": { |
|
12916 | 13007 | "smithy.api#pattern": "^cognito:(default|dutch|english|french|spanish|german|bahasa-indonesia|italian|japanese|korean|portuguese-brazil|chinese-(simplified|traditional))$" |
12917 | 13008 | } |
12918 | 13009 | }, |
| 13010 | + "com.amazonaws.cognitoidentityprovider#LimitClass": { |
| 13011 | + "type": "enum", |
| 13012 | + "members": { |
| 13013 | + "API_CATEGORY": { |
| 13014 | + "target": "smithy.api#Unit", |
| 13015 | + "traits": { |
| 13016 | + "smithy.api#enumValue": "API_CATEGORY" |
| 13017 | + } |
| 13018 | + } |
| 13019 | + } |
| 13020 | + }, |
| 13021 | + "com.amazonaws.cognitoidentityprovider#LimitDefinitionType": { |
| 13022 | + "type": "structure", |
| 13023 | + "members": { |
| 13024 | + "LimitClass": { |
| 13025 | + "target": "com.amazonaws.cognitoidentityprovider#LimitClass", |
| 13026 | + "traits": { |
| 13027 | + "smithy.api#documentation": "<p>The class of the limit. For API rate limits, this is\n <code>API_CATEGORY</code>.</p>", |
| 13028 | + "smithy.api#required": {} |
| 13029 | + } |
| 13030 | + }, |
| 13031 | + "Attributes": { |
| 13032 | + "target": "com.amazonaws.cognitoidentityprovider#StringToStringMapType", |
| 13033 | + "traits": { |
| 13034 | + "smithy.api#documentation": "<p>The attributes that identify the specific limit. For API rate limits, specify the\n <code>Category</code> key with a value like <code>UserAuthentication</code> or\n <code>UserCreation</code>.</p>", |
| 13035 | + "smithy.api#required": {} |
| 13036 | + } |
| 13037 | + } |
| 13038 | + }, |
| 13039 | + "traits": { |
| 13040 | + "smithy.api#documentation": "<p>The class and attributes that identify a specific limit at the account level.</p>" |
| 13041 | + } |
| 13042 | + }, |
12919 | 13043 | "com.amazonaws.cognitoidentityprovider#LimitExceededException": { |
12920 | 13044 | "type": "structure", |
12921 | 13045 | "members": { |
|
12932 | 13056 | "smithy.api#httpError": 400 |
12933 | 13057 | } |
12934 | 13058 | }, |
| 13059 | + "com.amazonaws.cognitoidentityprovider#LimitType": { |
| 13060 | + "type": "structure", |
| 13061 | + "members": { |
| 13062 | + "LimitDefinition": { |
| 13063 | + "target": "com.amazonaws.cognitoidentityprovider#LimitDefinitionType", |
| 13064 | + "traits": { |
| 13065 | + "smithy.api#documentation": "<p>The definition that identifies this limit, including the class and attributes.</p>", |
| 13066 | + "smithy.api#required": {} |
| 13067 | + } |
| 13068 | + }, |
| 13069 | + "ProvisionedLimitValue": { |
| 13070 | + "target": "com.amazonaws.cognitoidentityprovider#IntegerType", |
| 13071 | + "traits": { |
| 13072 | + "smithy.api#default": 0, |
| 13073 | + "smithy.api#documentation": "<p>The provisioned limit value, in requests per second (RPS). This is the rate that\n Amazon Cognito currently enforces for your account.</p>", |
| 13074 | + "smithy.api#required": {} |
| 13075 | + } |
| 13076 | + }, |
| 13077 | + "FreeLimitValue": { |
| 13078 | + "target": "com.amazonaws.cognitoidentityprovider#IntegerType", |
| 13079 | + "traits": { |
| 13080 | + "smithy.api#default": 0, |
| 13081 | + "smithy.api#documentation": "<p>The default (free) limit value, in requests per second (RPS). This is the rate\n included at no additional cost.</p>", |
| 13082 | + "smithy.api#required": {} |
| 13083 | + } |
| 13084 | + } |
| 13085 | + }, |
| 13086 | + "traits": { |
| 13087 | + "smithy.api#documentation": "<p>The limit definition and current limit values for a provisioned limit.</p>" |
| 13088 | + } |
| 13089 | + }, |
12935 | 13090 | "com.amazonaws.cognitoidentityprovider#LinkUrlType": { |
12936 | 13091 | "type": "string", |
12937 | 13092 | "traits": { |
|
16135 | 16290 | } |
16136 | 16291 | } |
16137 | 16292 | }, |
| 16293 | + "com.amazonaws.cognitoidentityprovider#ServiceQuotaExceededException": { |
| 16294 | + "type": "structure", |
| 16295 | + "members": { |
| 16296 | + "message": { |
| 16297 | + "target": "com.amazonaws.cognitoidentityprovider#MessageType" |
| 16298 | + } |
| 16299 | + }, |
| 16300 | + "traits": { |
| 16301 | + "smithy.api#documentation": "<p>The request exceeded your account's service quota. To increase your limit, use or submit a Service Quotas increase request.</p>", |
| 16302 | + "smithy.api#error": "client", |
| 16303 | + "smithy.api#httpError": 400 |
| 16304 | + } |
| 16305 | + }, |
16138 | 16306 | "com.amazonaws.cognitoidentityprovider#SessionType": { |
16139 | 16307 | "type": "string", |
16140 | 16308 | "traits": { |
|
17259 | 17427 | "smithy.api#documentation": "<p>The minimum and maximum length values of an attribute that is of the string type, for\n example <code>custom:department</code>.</p>" |
17260 | 17428 | } |
17261 | 17429 | }, |
| 17430 | + "com.amazonaws.cognitoidentityprovider#StringToStringMapType": { |
| 17431 | + "type": "map", |
| 17432 | + "key": { |
| 17433 | + "target": "com.amazonaws.cognitoidentityprovider#StringType" |
| 17434 | + }, |
| 17435 | + "value": { |
| 17436 | + "target": "com.amazonaws.cognitoidentityprovider#StringType" |
| 17437 | + } |
| 17438 | + }, |
17262 | 17439 | "com.amazonaws.cognitoidentityprovider#StringType": { |
17263 | 17440 | "type": "string", |
17264 | 17441 | "traits": { |
@@ -18272,6 +18449,103 @@ |
18272 | 18449 | "smithy.api#output": {} |
18273 | 18450 | } |
18274 | 18451 | }, |
| 18452 | + "com.amazonaws.cognitoidentityprovider#UpdateProvisionedLimit": { |
| 18453 | + "type": "operation", |
| 18454 | + "input": { |
| 18455 | + "target": "com.amazonaws.cognitoidentityprovider#UpdateProvisionedLimitRequest" |
| 18456 | + }, |
| 18457 | + "output": { |
| 18458 | + "target": "com.amazonaws.cognitoidentityprovider#UpdateProvisionedLimitResponse" |
| 18459 | + }, |
| 18460 | + "errors": [ |
| 18461 | + { |
| 18462 | + "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" |
| 18463 | + }, |
| 18464 | + { |
| 18465 | + "target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException" |
| 18466 | + }, |
| 18467 | + { |
| 18468 | + "target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException" |
| 18469 | + }, |
| 18470 | + { |
| 18471 | + "target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException" |
| 18472 | + }, |
| 18473 | + { |
| 18474 | + "target": "com.amazonaws.cognitoidentityprovider#ServiceQuotaExceededException" |
| 18475 | + }, |
| 18476 | + { |
| 18477 | + "target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException" |
| 18478 | + } |
| 18479 | + ], |
| 18480 | + "traits": { |
| 18481 | + "smithy.api#documentation": "<p>Sets the provisioned limit for a specific API category. The value must be between the\n default limit and your account-level maximum limit in Service Quotas.</p>\n <p>Managed login user pools don't support adjustments to the\n <code>UserAuthentication</code> or <code>UserFederation</code> categories. To\n increase these limits, submit a Service Quotas increase request.</p>\n <note>\n <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For\n this operation, you must use IAM credentials to authorize requests, and you must\n grant yourself the corresponding IAM permission in a policy.</p>\n <p class=\"title\">\n <b>Learn more</b>\n </p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html\">Signing Amazon Web Services API Requests</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html\">Using the Amazon Cognito user pools API and user pool endpoints</a>\n </p>\n </li>\n </ul>\n </note>", |
| 18482 | + "smithy.api#examples": [ |
| 18483 | + { |
| 18484 | + "title": "Example update a provisioned limit", |
| 18485 | + "documentation": "The following example sets the provisioned limit for the UserAuthentication API category to 300 RPS.", |
| 18486 | + "input": { |
| 18487 | + "LimitDefinition": { |
| 18488 | + "LimitClass": "API_CATEGORY", |
| 18489 | + "Attributes": { |
| 18490 | + "Category": "UserAuthentication" |
| 18491 | + } |
| 18492 | + }, |
| 18493 | + "RequestedLimitValue": 300 |
| 18494 | + }, |
| 18495 | + "output": { |
| 18496 | + "Limit": { |
| 18497 | + "LimitDefinition": { |
| 18498 | + "LimitClass": "API_CATEGORY", |
| 18499 | + "Attributes": { |
| 18500 | + "Category": "UserAuthentication" |
| 18501 | + } |
| 18502 | + }, |
| 18503 | + "ProvisionedLimitValue": 300, |
| 18504 | + "FreeLimitValue": 120 |
| 18505 | + } |
| 18506 | + } |
| 18507 | + } |
| 18508 | + ] |
| 18509 | + } |
| 18510 | + }, |
| 18511 | + "com.amazonaws.cognitoidentityprovider#UpdateProvisionedLimitRequest": { |
| 18512 | + "type": "structure", |
| 18513 | + "members": { |
| 18514 | + "LimitDefinition": { |
| 18515 | + "target": "com.amazonaws.cognitoidentityprovider#LimitDefinitionType", |
| 18516 | + "traits": { |
| 18517 | + "smithy.api#documentation": "<p>The limit to update. Specify the limit class and the attributes that identify the\n limit.</p>", |
| 18518 | + "smithy.api#required": {} |
| 18519 | + } |
| 18520 | + }, |
| 18521 | + "RequestedLimitValue": { |
| 18522 | + "target": "com.amazonaws.cognitoidentityprovider#IntegerType", |
| 18523 | + "traits": { |
| 18524 | + "smithy.api#default": 0, |
| 18525 | + "smithy.api#documentation": "<p>The provisioned rate to set, in requests per second (RPS).</p>", |
| 18526 | + "smithy.api#required": {} |
| 18527 | + } |
| 18528 | + } |
| 18529 | + }, |
| 18530 | + "traits": { |
| 18531 | + "smithy.api#input": {} |
| 18532 | + } |
| 18533 | + }, |
| 18534 | + "com.amazonaws.cognitoidentityprovider#UpdateProvisionedLimitResponse": { |
| 18535 | + "type": "structure", |
| 18536 | + "members": { |
| 18537 | + "Limit": { |
| 18538 | + "target": "com.amazonaws.cognitoidentityprovider#LimitType", |
| 18539 | + "traits": { |
| 18540 | + "smithy.api#documentation": "<p>The updated provisioned and default limit values.</p>", |
| 18541 | + "smithy.api#required": {} |
| 18542 | + } |
| 18543 | + } |
| 18544 | + }, |
| 18545 | + "traits": { |
| 18546 | + "smithy.api#output": {} |
| 18547 | + } |
| 18548 | + }, |
18275 | 18549 | "com.amazonaws.cognitoidentityprovider#UpdateReplicaStatusType": { |
18276 | 18550 | "type": "enum", |
18277 | 18551 | "members": { |
|
0 commit comments