AWS SDK Version 3 for .NET
API Reference

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.

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

Inheritance Hierarchy

System.Object
  Amazon.APIGateway.Model.MethodSnapshot

Namespace: Amazon.APIGateway.Model
Assembly: AWSSDK.APIGateway.dll
Version: 3.x.y.z

Syntax

C#
public class MethodSnapshot

The MethodSnapshot type exposes the following members

Constructors

NameDescription
Public Method MethodSnapshot()

Properties

NameTypeDescription
Public Property ApiKeyRequired System.Boolean

Gets and sets the property ApiKeyRequired.

Specifies whether the method requires a valid ApiKey.

Public Property AuthorizationType System.String

Gets and sets the property AuthorizationType.

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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5