| Server IP : 189.126.111.107 / Your IP : 216.73.217.176 Web Server : Apache System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 User : gadotticar ( 1000) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/awscli/examples/cognito-idp/ |
Upload File : |
**To update a resource server**
This example updates the the resource server Weather. It adds a new scope.
Command::
aws cognito-idp update-resource-server --user-pool-id us-west-2_aaaaaaaaa --identifier weather.example.com --name Weather --scopes ScopeName=NewScope,ScopeDescription="New scope description"
Output::
{
"ResourceServer": {
"UserPoolId": "us-west-2_aaaaaaaaa",
"Identifier": "weather.example.com",
"Name": "Happy",
"Scopes": [
{
"ScopeName": "NewScope",
"ScopeDescription": "New scope description"
}
]
}
}