Struct aws_sdk_ec2::client::fluent_builders::DescribeDhcpOptions
source · [−]pub struct DescribeDhcpOptions<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeDhcpOptions
.
Describes one or more of your DHCP options sets.
For more information, see DHCP options sets in the Amazon Virtual Private Cloud User Guide.
Implementations
impl<C, M, R> DescribeDhcpOptions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeDhcpOptions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeDhcpOptionsOutput, SdkError<DescribeDhcpOptionsError>> where
R::Policy: SmithyRetryPolicy<DescribeDhcpOptionsInputOperationOutputAlias, DescribeDhcpOptionsOutput, DescribeDhcpOptionsError, DescribeDhcpOptionsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeDhcpOptionsOutput, SdkError<DescribeDhcpOptionsError>> where
R::Policy: SmithyRetryPolicy<DescribeDhcpOptionsInputOperationOutputAlias, DescribeDhcpOptionsOutput, DescribeDhcpOptionsError, DescribeDhcpOptionsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
Appends an item to DhcpOptionsIds
.
To override the contents of this collection use set_dhcp_options_ids
.
The IDs of one or more DHCP options sets.
Default: Describes all your DHCP options sets.
The IDs of one or more DHCP options sets.
Default: Describes all your DHCP options sets.
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
One or more filters.
-
dhcp-options-id
- The ID of a DHCP options set. -
key
- The key for one of the options (for example,domain-name
). -
value
- The value for one of the options. -
owner-id
- The ID of the Amazon Web Services account that owns the DHCP options set. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
One or more filters.
-
dhcp-options-id
- The ID of a DHCP options set. -
key
- The key for one of the options (for example,domain-name
). -
value
- The value for one of the options. -
owner-id
- The ID of the Amazon Web Services account that owns the DHCP options set. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
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
.
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
.
The token for the next page of results.
The token for the next page of results.
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeDhcpOptions<C, M, R>
impl<C, M, R> Send for DescribeDhcpOptions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeDhcpOptions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeDhcpOptions<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeDhcpOptions<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more