Struct aws_sdk_lightsail::client::fluent_builders::GetContainerServiceDeployments [−][src]
pub struct GetContainerServiceDeployments<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetContainerServiceDeployments
.
Returns the deployments for your Amazon Lightsail container service
A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.
The deployments are ordered by version in ascending order. The newest version is listed at the top of the response.
A set number of deployments are kept before the oldest one is replaced with the newest one. For more information, see Amazon Lightsail endpoints and quotas in the AWS General Reference.
Implementations
impl<C, M, R> GetContainerServiceDeployments<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetContainerServiceDeployments<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetContainerServiceDeploymentsOutput, SdkError<GetContainerServiceDeploymentsError>> where
R::Policy: SmithyRetryPolicy<GetContainerServiceDeploymentsInputOperationOutputAlias, GetContainerServiceDeploymentsOutput, GetContainerServiceDeploymentsError, GetContainerServiceDeploymentsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetContainerServiceDeploymentsOutput, SdkError<GetContainerServiceDeploymentsError>> where
R::Policy: SmithyRetryPolicy<GetContainerServiceDeploymentsInputOperationOutputAlias, GetContainerServiceDeploymentsOutput, GetContainerServiceDeploymentsError, GetContainerServiceDeploymentsInputOperationRetryAlias>,
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 name of the container service for which to return deployments.
The name of the container service for which to return deployments.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetContainerServiceDeployments<C, M, R>
impl<C, M, R> Send for GetContainerServiceDeployments<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetContainerServiceDeployments<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetContainerServiceDeployments<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetContainerServiceDeployments<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