ssm_list_compliance_items: For a specified resource ID, this API action returns a list...

Description Usage Arguments Value Request syntax

View source: R/ssm_operations.R

Description

For a specified resource ID, this API action returns a list of compliance statuses for different resource types. Currently, you can only specify one resource ID per call. List results depend on the criteria specified in the filter.

Usage

1
2
ssm_list_compliance_items(Filters, ResourceIds, ResourceTypes,
  NextToken, MaxResults)

Arguments

Filters

One or more compliance filters. Use a filter to return a more specific list of results.

ResourceIds

The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.

ResourceTypes

The type of resource from which to get compliance information. Currently, the only supported resource type is ManagedInstance.

NextToken

A token to start the list. Use this token to get the next set of results.

MaxResults

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Value

A list with the following 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
list(
  ComplianceItems = list(
    list(
      ComplianceType = "string",
      ResourceType = "string",
      ResourceId = "string",
      Id = "string",
      Title = "string",
      Status = "COMPLIANT"|"NON_COMPLIANT",
      Severity = "CRITICAL"|"HIGH"|"MEDIUM"|"LOW"|"INFORMATIONAL"|"UNSPECIFIED",
      ExecutionSummary = list(
        ExecutionTime = as.POSIXct(
          "2015-01-01"
        ),
        ExecutionId = "string",
        ExecutionType = "string"
      ),
      Details = list(
        "string"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
svc$list_compliance_items(
  Filters = list(
    list(
      Key = "string",
      Values = list(
        "string"
      ),
      Type = "EQUAL"|"NOT_EQUAL"|"BEGIN_WITH"|"LESS_THAN"|"GREATER_THAN"
    )
  ),
  ResourceIds = list(
    "string"
  ),
  ResourceTypes = list(
    "string"
  ),
  NextToken = "string",
  MaxResults = 123
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.