Complete the code to create an API key using AWS CLI.
aws apigateway create-api-key --name [1] --enabledThe command creates an API key named "APIKey123" and enables it.
Complete the code to create a usage plan with a throttle rate limit.
aws apigateway create-usage-plan --name "BasicPlan" --throttle [1]
This sets the throttle rate limit to 50 requests per second for the usage plan.
Fix the error in the command to associate an API key with a usage plan.
aws apigateway create-usage-plan-key --usage-plan-id [1] --key-id abc123 --key-type API_KEYThe usage plan ID must be the actual ID of the usage plan, such as "plan123".
Fill both blanks to set quota period in a usage plan.
aws apigateway update-usage-plan --usage-plan-id plan123 --patch-operations op=replace,path=/quota/[1],value=[2]
The quota period is set by replacing the 'period' path with a value DAY.
Fill all three blanks to create a usage plan with throttle and quota settings.
aws apigateway create-usage-plan --name "ProPlan" --throttle [1] --quota [2] --description [3]
This creates a usage plan named "ProPlan" with throttle limits, monthly quota, and a description.
