Struct aws_sdk_proton::input::UpdateComponentInput
source · #[non_exhaustive]pub struct UpdateComponentInput { /* private fields */ }
Implementations§
source§impl UpdateComponentInput
impl UpdateComponentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateComponent, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateComponent, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateComponent
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateComponentInput
.
source§impl UpdateComponentInput
impl UpdateComponentInput
sourcepub fn deployment_type(&self) -> Option<&ComponentDeploymentUpdateType>
pub fn deployment_type(&self) -> Option<&ComponentDeploymentUpdateType>
The deployment type. It defines the mode for updating a component, as follows:
-
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated. You can only specify
description
in this mode. -
CURRENT_VERSION
In this mode, the component is deployed and updated with the new
serviceSpec
,templateSource
, and/ortype
that you provide. Only requested parameters are updated.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
An optional customer-provided description of the component.
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the service that serviceInstanceName
is associated with. Don't specify to keep the component's current service instance attachment. Specify an empty string to detach the component from the service instance it's attached to. Specify non-empty values for both serviceInstanceName
and serviceName
or for neither of them.
sourcepub fn service_instance_name(&self) -> Option<&str>
pub fn service_instance_name(&self) -> Option<&str>
The name of the service instance that you want to attach this component to. Don't specify to keep the component's current service instance attachment. Specify an empty string to detach the component from the service instance it's attached to. Specify non-empty values for both serviceInstanceName
and serviceName
or for neither of them.
sourcepub fn service_spec(&self) -> Option<&str>
pub fn service_spec(&self) -> Option<&str>
The service spec that you want the component to use to access service inputs. Set this only when the component is attached to a service instance.
sourcepub fn template_file(&self) -> Option<&str>
pub fn template_file(&self) -> Option<&str>
A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.
Components support a single IaC file, even if you use Terraform as your template language.
Trait Implementations§
source§impl Clone for UpdateComponentInput
impl Clone for UpdateComponentInput
source§fn clone(&self) -> UpdateComponentInput
fn clone(&self) -> UpdateComponentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateComponentInput
impl Debug for UpdateComponentInput
source§impl PartialEq<UpdateComponentInput> for UpdateComponentInput
impl PartialEq<UpdateComponentInput> for UpdateComponentInput
source§fn eq(&self, other: &UpdateComponentInput) -> bool
fn eq(&self, other: &UpdateComponentInput) -> bool
self
and other
values to be equal, and is used
by ==
.