Struct aws_sdk_lightsail::operation::create_container_service_registry_login::builders::CreateContainerServiceRegistryLoginFluentBuilder
source · pub struct CreateContainerServiceRegistryLoginFluentBuilder { /* private fields */ }
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§
source§impl CreateContainerServiceRegistryLoginFluentBuilder
impl CreateContainerServiceRegistryLoginFluentBuilder
sourcepub fn as_input(&self) -> &CreateContainerServiceRegistryLoginInputBuilder
pub fn as_input(&self) -> &CreateContainerServiceRegistryLoginInputBuilder
Access the CreateContainerServiceRegistryLogin as a reference.
sourcepub async fn send(
self
) -> Result<CreateContainerServiceRegistryLoginOutput, SdkError<CreateContainerServiceRegistryLoginError, HttpResponse>>
pub async fn send( self ) -> Result<CreateContainerServiceRegistryLoginOutput, SdkError<CreateContainerServiceRegistryLoginError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateContainerServiceRegistryLoginOutput, CreateContainerServiceRegistryLoginError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateContainerServiceRegistryLoginOutput, CreateContainerServiceRegistryLoginError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
Trait Implementations§
source§impl Clone for CreateContainerServiceRegistryLoginFluentBuilder
impl Clone for CreateContainerServiceRegistryLoginFluentBuilder
source§fn clone(&self) -> CreateContainerServiceRegistryLoginFluentBuilder
fn clone(&self) -> CreateContainerServiceRegistryLoginFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateContainerServiceRegistryLoginFluentBuilder
impl !RefUnwindSafe for CreateContainerServiceRegistryLoginFluentBuilder
impl Send for CreateContainerServiceRegistryLoginFluentBuilder
impl Sync for CreateContainerServiceRegistryLoginFluentBuilder
impl Unpin for CreateContainerServiceRegistryLoginFluentBuilder
impl !UnwindSafe for CreateContainerServiceRegistryLoginFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more