

# MethodSnapshot
<a name="API_MethodSnapshot"></a>

Represents a summary of a Method resource, given a particular date and time.

## Contents
<a name="API_MethodSnapshot_Contents"></a>

 ** apiKeyRequired **   <a name="apigw-Type-MethodSnapshot-apiKeyRequired"></a>
Specifies whether the method requires a valid ApiKey.  
Type: Boolean  
Required: No

 ** authorizationType **   <a name="apigw-Type-MethodSnapshot-authorizationType"></a>
The method's authorization type. Valid values are `NONE` for open access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user pool.  
Type: String  
Required: No

## See Also
<a name="API_MethodSnapshot_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/apigateway-2015-07-09/MethodSnapshot) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/apigateway-2015-07-09/MethodSnapshot) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/apigateway-2015-07-09/MethodSnapshot) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon API Gateway. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query apigateway` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
