Struct aws_sdk_ec2::client::fluent_builders::DescribeLaunchTemplates
source · [−]pub struct DescribeLaunchTemplates<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeLaunchTemplates
.
Describes one or more launch templates.
Implementations
impl<C, M, R> DescribeLaunchTemplates<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeLaunchTemplates<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeLaunchTemplatesOutput, SdkError<DescribeLaunchTemplatesError>> where
R::Policy: SmithyRetryPolicy<DescribeLaunchTemplatesInputOperationOutputAlias, DescribeLaunchTemplatesOutput, DescribeLaunchTemplatesError, DescribeLaunchTemplatesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeLaunchTemplatesOutput, SdkError<DescribeLaunchTemplatesError>> where
R::Policy: SmithyRetryPolicy<DescribeLaunchTemplatesInputOperationOutputAlias, DescribeLaunchTemplatesOutput, DescribeLaunchTemplatesError, DescribeLaunchTemplatesInputOperationRetryAlias>,
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
.
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
.
Appends an item to LaunchTemplateIds
.
To override the contents of this collection use set_launch_template_ids
.
One or more launch template IDs.
One or more launch template IDs.
Appends an item to LaunchTemplateNames
.
To override the contents of this collection use set_launch_template_names
.
One or more launch template names.
One or more launch template names.
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
One or more filters.
-
create-time
- The time the launch template was created. -
launch-template-name
- The name of the launch template. -
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.
-
create-time
- The time the launch template was created. -
launch-template-name
- The name of the launch template. -
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.
The token to request the next page of results.
The token to request the next page of results.
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken
value. This value can be between 1 and 200.
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken
value. This value can be between 1 and 200.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeLaunchTemplates<C, M, R>
impl<C, M, R> Send for DescribeLaunchTemplates<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeLaunchTemplates<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeLaunchTemplates<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeLaunchTemplates<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