CmdID / aws / aws apigateway
aws apigateway put-method
Add a method to an existing Resource resource. AWS CLI reference
11 options Its page in the AWS CLI reference
Options
--api-key-requiredSpecifies whether the method required a valid ApiKey.--authorization-scopesA list of authorization scopes configured on the method.--authorization-typeThe method's authorization type.--authorizer-idSpecifies the identifier of an Authorizer to use on this Method, if the type is CUSTOM or COGNITO_USER_POOLS.--http-methodSpecifies the method request's HTTP method type.--operation-nameA human-friendly operation identifier for the method.--request-modelsSpecifies the Model resources used for the request's content type.--request-parametersA key-value map defining required or optional method request parameters that can be accepted by API Gateway.--request-validator-idThe identifier of a RequestValidator for validating the method request.--resource-idThe Resource identifier for the new Method resource.--rest-api-idThe string identifier of the associated RestApi.