Skip to content

/AWS1/CL_OSS=>UPDATEACCESSPOLICY()

About UpdateAccessPolicy

Updates an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.

Method Signature

IMPORTING

Required arguments:

IV_TYPE TYPE /AWS1/OSSACCESSPOLICYTYPE /AWS1/OSSACCESSPOLICYTYPE

The type of policy.

IV_NAME TYPE /AWS1/OSSPOLICYNAME /AWS1/OSSPOLICYNAME

The name of the policy.

IV_POLICYVERSION TYPE /AWS1/OSSPOLICYVERSION /AWS1/OSSPOLICYVERSION

The version of the policy being updated.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/OSSPOLICYDESCRIPTION /AWS1/OSSPOLICYDESCRIPTION

A description of the policy. Typically used to store information about the permissions defined in the policy.

IV_POLICY TYPE /AWS1/OSSPOLICYDOCUMENT /AWS1/OSSPOLICYDOCUMENT

The JSON policy document to use as the content for the policy.

IV_CLIENTTOKEN TYPE /AWS1/OSSCLIENTTOKEN /AWS1/OSSCLIENTTOKEN

Unique, case-sensitive identifier to ensure idempotency of the request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_OSSUPDATEACCPOLICYRSP /AWS1/CL_OSSUPDATEACCPOLICYRSP