Learn R Programming

paws.security.identity (version 0.1.12)

shield_list_protections: Lists all Protection objects for the account

Description

Lists all Protection objects for the account.

Usage

shield_list_protections(NextToken, MaxResults)

Value

A list with the following syntax:

list(
  Protections = list(
    list(
      Id = "string",
      Name = "string",
      ResourceArn = "string",
      HealthCheckIds = list(
        "string"
      )
    )
  ),
  NextToken = "string"
)

Arguments

NextToken

The ListProtectionsRequest.NextToken value from a previous call to list_protections. Pass null if this is the first call.

MaxResults

The maximum number of Protection objects to return. If you leave this blank, Shield Advanced returns the first 20 results.

This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than MaxResults, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in NextToken that you can use in your next request, to get the next batch of objects.

Request syntax

svc$list_protections(
  NextToken = "string",
  MaxResults = 123
)