List Policy Grants
datazone_list_policy_grants | R Documentation |
Lists policy grants¶
Description¶
Lists policy grants.
Usage¶
datazone_list_policy_grants(domainIdentifier, entityIdentifier,
entityType, maxResults, nextToken, policyType)
Arguments¶
domainIdentifier
[required] The ID of the domain where you want to list policy grants.
entityIdentifier
[required] The ID of the entity for which you want to list policy grants.
entityType
[required] The type of entity for which you want to list policy grants.
maxResults
The maximum number of grants to return in a single call to
list_policy_grants
. When the number of grants to be listed is greater than the value ofMaxResults
, the response contains aNextToken
value that you can use in a subsequent call tolist_policy_grants
to list the next set of grants.nextToken
When the number of grants is greater than the default value for the
MaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of grants, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call tolist_policy_grants
to list the next set of grants.policyType
[required] The type of policy that you want to list.
Value¶
A list with the following syntax:
list(
grantList = list(
list(
createdAt = as.POSIXct(
"2015-01-01"
),
createdBy = "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
)
),
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"
)
)
)
),
nextToken = "string"
)
Request syntax¶
svc$list_policy_grants(
domainIdentifier = "string",
entityIdentifier = "string",
entityType = "DOMAIN_UNIT"|"ENVIRONMENT_BLUEPRINT_CONFIGURATION"|"ENVIRONMENT_PROFILE",
maxResults = 123,
nextToken = "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"
)