CmdID / aws / aws apigateway
aws apigateway update-account
Changes information about the current Account resource. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To change the IAM Role ARN for logging to CloudWatch Logs
The following update-account example changes the IAM Role ARN for logging to CloudWatch Logs.
aws apigateway update-account --patch-operations op='replace',path='/cloudwatchRoleArn',value='arn:aws:iam::123456789012:role/APIGatewayToCloudWatchLogs'Identify--patch-operationsFor more information about supported patch operations, see Patch Operations.Its output
{
"cloudwatchRoleArn": "arn:aws:iam::123456789012:role/APIGatewayToCloudWatchLogs",
"throttleSettings": {
"rateLimit": 1000.0,
"burstLimit": 2000
}
}For more information, see Set up CloudWatch logging for REST APIs in API Gateway in the Amazon API Gateway Developer Guide.
Options
--patch-operationsFor more information about supported patch operations, see Patch Operations.