Learn R Programming

paws.security.identity (version 0.1.12)

inspector_describe_assessment_templates: Describes the assessment templates that are specified by the ARNs of the assessment templates

Description

Describes the assessment templates that are specified by the ARNs of the assessment templates.

Usage

inspector_describe_assessment_templates(assessmentTemplateArns)

Value

A list with the following syntax:

list(
  assessmentTemplates = list(
    list(
      arn = "string",
      name = "string",
      assessmentTargetArn = "string",
      durationInSeconds = 123,
      rulesPackageArns = list(
        "string"
      ),
      userAttributesForFindings = list(
        list(
          key = "string",
          value = "string"
        )
      ),
      lastAssessmentRunArn = "string",
      assessmentRunCount = 123,
      createdAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  failedItems = list(
    list(
      failureCode = "INVALID_ARN"|"DUPLICATE_ARN"|"ITEM_DOES_NOT_EXIST"|"ACCESS_DENIED"|"LIMIT_EXCEEDED"|"INTERNAL_ERROR",
      retryable = TRUE|FALSE
    )
  )
)

Arguments

assessmentTemplateArns

[required]

Request syntax

svc$describe_assessment_templates(
  assessmentTemplateArns = list(
    "string"
  )
)

Examples

Run this code
if (FALSE) {
# Describes the assessment templates that are specified by the ARNs of the
# assessment templates.
svc$describe_assessment_templates(
  assessmentTemplateArns = list(
    "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw"
  )
)
}

Run the code above in your browser using DataLab