Add Policy Grant
datazone_add_policy_grant | R Documentation |
Adds a policy grant (an authorization policy) to a specified entity, including domain units, environment blueprint configurations, or environment profiles¶
Description¶
Adds a policy grant (an authorization policy) to a specified entity, including domain units, environment blueprint configurations, or environment profiles.
Usage¶
datazone_add_policy_grant(clientToken, detail, domainIdentifier,
entityIdentifier, entityType, policyType, principal)
Arguments¶
clientToken
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
detail
[required] The details of the policy grant.
domainIdentifier
[required] The ID of the domain where you want to add a policy grant.
entityIdentifier
[required] The ID of the entity (resource) to which you want to add a policy grant.
entityType
[required] The type of entity (resource) to which the grant is added.
policyType
[required] The type of policy that you want to grant.
principal
[required] The principal to whom the permissions are granted.
Value¶
An empty list.
Request syntax¶
svc$add_policy_grant(
clientToken = "string",
detail = list(
addToProjectMemberPool = list(
includeChildDomainUnits = TRUE|FALSE
),
createAssetType = list(
includeChildDomainUnits = TRUE|FALSE
),
createDomainUnit = list(
includeChildDomainUnits = TRUE|FALSE
),
createEnvironment = list(),
createEnvironmentProfile = list(
domainUnitId = "string"
),
createFormType = list(
includeChildDomainUnits = TRUE|FALSE
),
createGlossary = list(
includeChildDomainUnits = TRUE|FALSE
),
createProject = list(
includeChildDomainUnits = TRUE|FALSE
),
delegateCreateEnvironmentProfile = list(),
overrideDomainUnitOwners = list(
includeChildDomainUnits = TRUE|FALSE
),
overrideProjectOwners = list(
includeChildDomainUnits = TRUE|FALSE
)
),
domainIdentifier = "string",
entityIdentifier = "string",
entityType = "DOMAIN_UNIT"|"ENVIRONMENT_BLUEPRINT_CONFIGURATION"|"ENVIRONMENT_PROFILE",
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",
principal = list(
domainUnit = list(
domainUnitDesignation = "OWNER",
domainUnitGrantFilter = list(
allDomainUnitsGrantFilter = list()
),
domainUnitIdentifier = "string"
),
group = list(
groupIdentifier = "string"
),
project = list(
projectDesignation = "OWNER"|"CONTRIBUTOR",
projectGrantFilter = list(
domainUnitFilter = list(
domainUnit = "string",
includeChildDomainUnits = TRUE|FALSE
)
),
projectIdentifier = "string"
),
user = list(
allUsersGrantFilter = list(),
userIdentifier = "string"
)
)
)