Struct aws_sdk_proton::input::CreateServiceInput
source · #[non_exhaustive]pub struct CreateServiceInput { /* private fields */ }
Implementations§
source§impl CreateServiceInput
impl CreateServiceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateService, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateService, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateService
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateServiceInput
.
source§impl CreateServiceInput
impl CreateServiceInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the Proton service.
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the service template that's used to create the service.
sourcepub fn template_major_version(&self) -> Option<&str>
pub fn template_major_version(&self) -> Option<&str>
The major version of the service template that was used to create the service.
sourcepub fn template_minor_version(&self) -> Option<&str>
pub fn template_minor_version(&self) -> Option<&str>
The minor version of the service template that was used to create the service.
sourcepub fn spec(&self) -> Option<&str>
pub fn spec(&self) -> Option<&str>
A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format. Don’t include pipeline inputs in the spec if your service template doesn’t include a service pipeline. For more information, see Create a service in the Proton User Guide.
sourcepub fn repository_connection_arn(&self) -> Option<&str>
pub fn repository_connection_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
sourcepub fn repository_id(&self) -> Option<&str>
pub fn repository_id(&self) -> Option<&str>
The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline.
sourcepub fn branch_name(&self) -> Option<&str>
pub fn branch_name(&self) -> Option<&str>
The name of the code repository branch that holds the code that's deployed in Proton. Don't include this parameter if your service template doesn't include a service pipeline.
An optional list of metadata items that you can associate with the Proton service. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
Trait Implementations§
source§impl Clone for CreateServiceInput
impl Clone for CreateServiceInput
source§fn clone(&self) -> CreateServiceInput
fn clone(&self) -> CreateServiceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateServiceInput
impl Debug for CreateServiceInput
source§impl PartialEq<CreateServiceInput> for CreateServiceInput
impl PartialEq<CreateServiceInput> for CreateServiceInput
source§fn eq(&self, other: &CreateServiceInput) -> bool
fn eq(&self, other: &CreateServiceInput) -> bool
self
and other
values to be equal, and is used
by ==
.