Struct aws_sdk_opsworks::client::fluent_builders::DescribeLayers [−][src]
pub struct DescribeLayers<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeLayers
.
Requests a description of one or more layers in a specified stack.
This call accepts only one resource-identifying parameter.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
Implementations
impl<C, M, R> DescribeLayers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeLayers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeLayersOutput, SdkError<DescribeLayersError>> where
R::Policy: SmithyRetryPolicy<DescribeLayersInputOperationOutputAlias, DescribeLayersOutput, DescribeLayersError, DescribeLayersInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeLayersOutput, SdkError<DescribeLayersError>> where
R::Policy: SmithyRetryPolicy<DescribeLayersInputOperationOutputAlias, DescribeLayersOutput, DescribeLayersError, DescribeLayersInputOperationRetryAlias>,
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.
The stack ID.
Appends an item to LayerIds
.
To override the contents of this collection use set_layer_ids
.
An array of layer IDs that specify the layers to be described. If you omit this parameter,
DescribeLayers
returns a description of every layer in the specified stack.
An array of layer IDs that specify the layers to be described. If you omit this parameter,
DescribeLayers
returns a description of every layer in the specified stack.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeLayers<C, M, R>
impl<C, M, R> Send for DescribeLayers<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeLayers<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeLayers<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeLayers<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