AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the PutMethod operation. Add a method to an existing Resource resource.
Namespace: Amazon.APIGateway.Model
Assembly: AWSSDK.APIGateway.dll
Version: 3.x.y.z
public class PutMethodRequest : AmazonAPIGatewayRequest IAmazonWebServiceRequest
The PutMethodRequest type exposes the following members
Name | Description | |
---|---|---|
PutMethodRequest() |
Name | Type | Description | |
---|---|---|---|
ApiKeyRequired | System.Boolean |
Gets and sets the property ApiKeyRequired. Specifies whether the method required a valid ApiKey. |
|
AuthorizationScopes | System.Collections.Generic.List<System.String> |
Gets and sets the property AuthorizationScopes.
A list of authorization scopes configured on the method. The scopes are used with
a |
|
AuthorizationType | System.String |
Gets and sets the property AuthorizationType.
The method's authorization type. Valid values are |
|
AuthorizerId | System.String |
Gets and sets the property AuthorizerId. Specifies the identifier of an Authorizer to use on this Method, if the type is CUSTOM or COGNITO_USER_POOLS. The authorizer identifier is generated by API Gateway when you created the authorizer. |
|
HttpMethod | System.String |
Gets and sets the property HttpMethod. Specifies the method request's HTTP method type. |
|
OperationName | System.String |
Gets and sets the property OperationName.
A human-friendly operation identifier for the method. For example, you can assign
the |
|
RequestModels | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property RequestModels. Specifies the Model resources used for the request's content type. Request models are represented as a key/value map, with a content type as the key and a Model name as the value. |
|
RequestParameters | System.Collections.Generic.Dictionary<System.String, System.Boolean> |
Gets and sets the property RequestParameters.
A key-value map defining required or optional method request parameters that can be
accepted by API Gateway. A key defines a method request parameter name matching the
pattern of |
|
RequestValidatorId | System.String |
Gets and sets the property RequestValidatorId. The identifier of a RequestValidator for validating the method request. |
|
ResourceId | System.String |
Gets and sets the property ResourceId. The Resource identifier for the new Method resource. |
|
RestApiId | System.String |
Gets and sets the property RestApiId. The string identifier of the associated RestApi. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5