Does the following:
Adds new Attributes
, Rules
, or ObjectTypes
.
Updates existing Attributes
, Rules
, or ObjectTypes
.
Deletes existing Attributes
, Rules
, or ObjectTypes
.
clouddirectory_update_facet(SchemaArn, Name, AttributeUpdates,
ObjectType)
An empty list.
[required] The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.
[required] The name of the facet.
List of attributes that need to be updated in a given schema Facet. Each
attribute is followed by AttributeAction
, which specifies the type of
update operation to perform.
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
svc$update_facet(
SchemaArn = "string",
Name = "string",
AttributeUpdates = list(
list(
Attribute = list(
Name = "string",
AttributeDefinition = list(
Type = "STRING"|"BINARY"|"BOOLEAN"|"NUMBER"|"DATETIME"|"VARIANT",
DefaultValue = list(
StringValue = "string",
BinaryValue = raw,
BooleanValue = TRUE|FALSE,
NumberValue = "string",
DatetimeValue = as.POSIXct(
"2015-01-01"
)
),
IsImmutable = TRUE|FALSE,
Rules = list(
list(
Type = "BINARY_LENGTH"|"NUMBER_COMPARISON"|"STRING_FROM_SET"|"STRING_LENGTH",
Parameters = list(
"string"
)
)
)
),
AttributeReference = list(
TargetFacetName = "string",
TargetAttributeName = "string"
),
RequiredBehavior = "REQUIRED_ALWAYS"|"NOT_REQUIRED"
),
Action = "CREATE_OR_UPDATE"|"DELETE"
)
),
ObjectType = "NODE"|"LEAF_NODE"|"POLICY"|"INDEX"
)