Retrieves the ProtectionGroup objects for the account.
shield_list_protection_groups(NextToken, MaxResults)The next token value from a previous call to
list_protection_groups. Pass null if
this is the first call.
The maximum number of ProtectionGroup 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.
A list with the following syntax:
list(
ProtectionGroups = list(
list(
ProtectionGroupId = "string",
Aggregation = "SUM"|"MEAN"|"MAX",
Pattern = "ALL"|"ARBITRARY"|"BY_RESOURCE_TYPE",
ResourceType = "CLOUDFRONT_DISTRIBUTION"|"ROUTE_53_HOSTED_ZONE"|"ELASTIC_IP_ALLOCATION"|"CLASSIC_LOAD_BALANCER"|"APPLICATION_LOAD_BALANCER"|"GLOBAL_ACCELERATOR",
Members = list(
"string"
)
)
),
NextToken = "string"
)
svc$list_protection_groups( NextToken = "string", MaxResults = 123 )