clouddirectory_update_facet: Does the following: 1

Description Usage Arguments Details Request syntax

View source: R/clouddirectory_operations.R

Description

Does the following:

Usage

1
2
clouddirectory_update_facet(SchemaArn, Name, AttributeUpdates,
  ObjectType)

Arguments

SchemaArn

[required] The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.

Name

[required] The name of the facet.

AttributeUpdates

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.

ObjectType

The object type that is associated with the facet. See CreateFacetRequest\$ObjectType for more details.

Details

  1. Adds new Attributes, Rules, or ObjectTypes.

  2. Updates existing Attributes, Rules, or ObjectTypes.

  3. Deletes existing Attributes, Rules, or ObjectTypes.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.