paws.compute (version 0.1.0)

ec2_describe_regions: Describes one or more regions that are currently available to you

Description

Describes one or more regions that are currently available to you.

Usage

ec2_describe_regions(Filters, RegionNames, DryRun)

Arguments

Filters

One or more filters.

  • endpoint - The endpoint of the region (for example, ec2.us-east-1.amazonaws.com).

  • region-name - The name of the region (for example, us-east-1).

RegionNames

The names of one or more regions.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Request syntax

svc$describe_regions(
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  RegionNames = list(
    "string"
  ),
  DryRun = TRUE|FALSE
)

Details

For a list of the regions supported by Amazon EC2, see Regions and Endpoints.

Examples

Run this code
# NOT RUN {
# This example describes all the regions that are available to you.
# }
# NOT RUN {
svc$describe_regions()
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace