Learn R Programming

paws.security.identity (version 0.1.12)

inspector_remove_attributes_from_findings: Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists

Description

Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.

Usage

inspector_remove_attributes_from_findings(findingArns, attributeKeys)

Value

A list with the following syntax:

list(
  failedItems = list(
    list(
      failureCode = "INVALID_ARN"|"DUPLICATE_ARN"|"ITEM_DOES_NOT_EXIST"|"ACCESS_DENIED"|"LIMIT_EXCEEDED"|"INTERNAL_ERROR",
      retryable = TRUE|FALSE
    )
  )
)

Arguments

findingArns

[required] The ARNs that specify the findings that you want to remove attributes from.

attributeKeys

[required] The array of attribute keys that you want to remove from specified findings.

Request syntax

svc$remove_attributes_from_findings(
  findingArns = list(
    "string"
  ),
  attributeKeys = list(
    "string"
  )
)

Examples

Run this code
if (FALSE) {
# Removes entire attributes (key and value pairs) from the findings that
# are specified by the ARNs of the findings where an attribute with the
# specified key exists.
svc$remove_attributes_from_findings(
  attributeKeys = list(
    "key=Example,value=example"
  ),
  findingArns = list(
    "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-..."
  )
)
}

Run the code above in your browser using DataLab