Describe Regions
ec2_describe_regions | R Documentation |
Describes the Regions that are enabled for your account, or all Regions¶
Description¶
Describes the Regions that are enabled for your account, or all Regions.
For a list of the Regions supported by Amazon EC2, see Amazon EC2 service endpoints.
For information about enabling and disabling Regions for your account, see Specify which Amazon Web Services Regions your account can use in the Amazon Web Services Account Management Reference Guide.
The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.
Usage¶
ec2_describe_regions(RegionNames, AllRegions, DryRun, Filters)
Arguments¶
RegionNames |
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account. |
AllRegions |
Indicates whether to display all Regions, including Regions that are disabled for your account. |
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
|
Filters |
The filters.
|
Value¶
A list with the following syntax:
list(
Regions = list(
list(
OptInStatus = "string",
RegionName = "string",
Endpoint = "string"
)
)
)
Request syntax¶
svc$describe_regions(
RegionNames = list(
"string"
),
AllRegions = TRUE|FALSE,
DryRun = TRUE|FALSE,
Filters = list(
list(
Name = "string",
Values = list(
"string"
)
)
)
)
Examples¶
## Not run:
# This example describes all the regions that are available to you.
svc$describe_regions()
## End(Not run)