Skip to content

Update Package Scope

opensearchservice_update_package_scope R Documentation

Updates the scope of a package

Description

Updates the scope of a package. Scope of the package defines users who can view and associate a package.

Usage

opensearchservice_update_package_scope(PackageID, Operation,
  PackageUserList)

Arguments

PackageID

[required] ID of the package whose scope is being updated.

Operation

[required] The operation to perform on the package scope (e.g., add/remove/override users).

PackageUserList

[required] List of users to be added or removed from the package scope.

Value

A list with the following syntax:

list(
  PackageID = "string",
  Operation = "ADD"|"OVERRIDE"|"REMOVE",
  PackageUserList = list(
    "string"
  )
)

Request syntax

svc$update_package_scope(
  PackageID = "string",
  Operation = "ADD"|"OVERRIDE"|"REMOVE",
  PackageUserList = list(
    "string"
  )
)