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.

Container for the parameters to the GetAccessPolicy operation. Returns an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.OpenSearchServerless.AmazonOpenSearchServerlessRequest
      Amazon.OpenSearchServerless.Model.GetAccessPolicyRequest

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

Syntax

C#
public class GetAccessPolicyRequest : AmazonOpenSearchServerlessRequest
         IAmazonWebServiceRequest

The GetAccessPolicyRequest type exposes the following members

Constructors

NameDescription
Public Method GetAccessPolicyRequest()

Properties

NameTypeDescription
Public Property Name System.String

Gets and sets the property Name.

The name of the access policy.

Public Property Type Amazon.OpenSearchServerless.AccessPolicyType

Gets and sets the property Type.

Tye type of policy. Currently, the only supported value is data.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5