Skip to content

Remove Policy Grant

datazone_remove_policy_grant R Documentation

Removes a policy grant

Description

Removes a policy grant.

Usage

datazone_remove_policy_grant(domainIdentifier, entityType,
  entityIdentifier, policyType, principal, grantIdentifier, clientToken)

Arguments

domainIdentifier

[required] The ID of the domain where you want to remove a policy grant.

entityType

[required] The type of the entity from which you want to remove a policy grant.

entityIdentifier

[required] The ID of the entity from which you want to remove a policy grant.

policyType

[required] The type of the policy that you want to remove.

principal

[required] The principal from which you want to remove a policy grant.

grantIdentifier

The ID of the policy grant that is to be removed from a specified entity.

clientToken

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

Value

An empty list.

Request syntax

svc$remove_policy_grant(
  domainIdentifier = "string",
  entityType = "DOMAIN_UNIT"|"ENVIRONMENT_BLUEPRINT_CONFIGURATION"|"ENVIRONMENT_PROFILE"|"ASSET_TYPE",
  entityIdentifier = "string",
  policyType = "CREATE_DOMAIN_UNIT"|"OVERRIDE_DOMAIN_UNIT_OWNERS"|"ADD_TO_PROJECT_MEMBER_POOL"|"OVERRIDE_PROJECT_OWNERS"|"CREATE_GLOSSARY"|"CREATE_FORM_TYPE"|"CREATE_ASSET_TYPE"|"CREATE_PROJECT"|"CREATE_ENVIRONMENT_PROFILE"|"DELEGATE_CREATE_ENVIRONMENT_PROFILE"|"CREATE_ENVIRONMENT"|"CREATE_ENVIRONMENT_FROM_BLUEPRINT"|"CREATE_PROJECT_FROM_PROJECT_PROFILE"|"USE_ASSET_TYPE",
  principal = list(
    user = list(
      userIdentifier = "string",
      allUsersGrantFilter = list()
    ),
    group = list(
      groupIdentifier = "string"
    ),
    project = list(
      projectDesignation = "OWNER"|"CONTRIBUTOR"|"PROJECT_CATALOG_STEWARD",
      projectIdentifier = "string",
      projectGrantFilter = list(
        domainUnitFilter = list(
          domainUnit = "string",
          includeChildDomainUnits = TRUE|FALSE
        )
      )
    ),
    domainUnit = list(
      domainUnitDesignation = "OWNER",
      domainUnitIdentifier = "string",
      domainUnitGrantFilter = list(
        allDomainUnitsGrantFilter = list()
      )
    )
  ),
  grantIdentifier = "string",
  clientToken = "string"
)