Struct aws_sdk_lightsail::client::fluent_builders::CreateContainerServiceRegistryLogin [−][src]
pub struct CreateContainerServiceRegistryLogin<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateContainerServiceRegistryLogin
.
Creates a temporary set of log in credentials that you can use to log in to the Docker process on your local machine. After you're logged in, you can use the native Docker commands to push your local container images to the container image registry of your Amazon Lightsail account so that you can use them with your Lightsail container service. The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials.
You can only push container images to the container service registry of your Lightsail account. You cannot pull container images or perform any other container image management actions on the container service registry.
After you push your container images to the container image registry of your Lightsail account, use the RegisterContainerImage
action to register the pushed images to a specific Lightsail container service.
This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.
Implementations
impl<C, M, R> CreateContainerServiceRegistryLogin<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateContainerServiceRegistryLogin<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateContainerServiceRegistryLoginOutput, SdkError<CreateContainerServiceRegistryLoginError>> where
R::Policy: SmithyRetryPolicy<CreateContainerServiceRegistryLoginInputOperationOutputAlias, CreateContainerServiceRegistryLoginOutput, CreateContainerServiceRegistryLoginError, CreateContainerServiceRegistryLoginInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateContainerServiceRegistryLoginOutput, SdkError<CreateContainerServiceRegistryLoginError>> where
R::Policy: SmithyRetryPolicy<CreateContainerServiceRegistryLoginInputOperationOutputAlias, CreateContainerServiceRegistryLoginOutput, CreateContainerServiceRegistryLoginError, CreateContainerServiceRegistryLoginInputOperationRetryAlias>,
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateContainerServiceRegistryLogin<C, M, R>
impl<C, M, R> Send for CreateContainerServiceRegistryLogin<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateContainerServiceRegistryLogin<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateContainerServiceRegistryLogin<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateContainerServiceRegistryLogin<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