Struct aws_sdk_ec2::input::DescribeRegionsInput
source · #[non_exhaustive]pub struct DescribeRegionsInput { /* private fields */ }
Implementations§
source§impl DescribeRegionsInput
impl DescribeRegionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeRegions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeRegions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeRegions
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeRegionsInput
.
source§impl DescribeRegionsInput
impl DescribeRegionsInput
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
The filters.
-
endpoint
- The endpoint of the Region (for example,ec2.us-east-1.amazonaws.com
). -
opt-in-status
- The opt-in status of the Region (opt-in-not-required
|opted-in
|not-opted-in
). -
region-name
- The name of the Region (for example,us-east-1
).
sourcepub fn region_names(&self) -> Option<&[String]>
pub fn region_names(&self) -> Option<&[String]>
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
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
.
sourcepub fn all_regions(&self) -> Option<bool>
pub fn all_regions(&self) -> Option<bool>
Indicates whether to display all Regions, including Regions that are disabled for your account.
Trait Implementations§
source§impl Clone for DescribeRegionsInput
impl Clone for DescribeRegionsInput
source§fn clone(&self) -> DescribeRegionsInput
fn clone(&self) -> DescribeRegionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeRegionsInput
impl Debug for DescribeRegionsInput
source§impl PartialEq<DescribeRegionsInput> for DescribeRegionsInput
impl PartialEq<DescribeRegionsInput> for DescribeRegionsInput
source§fn eq(&self, other: &DescribeRegionsInput) -> bool
fn eq(&self, other: &DescribeRegionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.