Skip to content

List Invitations

guardduty_list_invitations R Documentation

Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account

Description

Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.

Usage

guardduty_list_invitations(MaxResults, NextToken)

Arguments

MaxResults

You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

NextToken

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

Value

A list with the following syntax:

list(
  Invitations = list(
    list(
      AccountId = "string",
      InvitationId = "string",
      RelationshipStatus = "string",
      InvitedAt = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

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