Struct aws_sdk_proton::input::CreateServiceInput [−][src]
#[non_exhaustive]pub struct CreateServiceInput {
pub name: Option<String>,
pub description: Option<String>,
pub template_name: Option<String>,
pub template_major_version: Option<String>,
pub template_minor_version: Option<String>,
pub spec: Option<String>,
pub repository_connection_arn: Option<String>,
pub repository_id: Option<String>,
pub branch_name: Option<String>,
pub tags: Option<Vec<Tag>>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The service name.
description: Option<String>A description of the Proton service.
template_name: Option<String>The name of the service template that's used to create the service.
template_major_version: Option<String>The major version of the service template that was used to create the service.
template_minor_version: Option<String>The minor version of the service template that was used to create the service.
spec: Option<String>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 Administrator Guide and Create a service in the Proton User Guide.
repository_connection_arn: Option<String>The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up repository connection in the Proton Administrator Guide and Setting up with Proton in the Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
repository_id: Option<String>The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline.
branch_name: Option<String>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.
Create tags for your service. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateService, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateService, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateService>
Creates a new builder-style object to manufacture CreateServiceInput
A description of the Proton service.
The name of the service template that's used to create the service.
The major version of the service template that was used to create the service.
The minor version of the service template that was used to create the service.
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 Administrator Guide and Create a service in the Proton User Guide.
The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up repository connection in the Proton Administrator Guide and Setting up with Proton in the Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline.
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.
Create tags for your service. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CreateServiceInput
impl Send for CreateServiceInput
impl Sync for CreateServiceInput
impl Unpin for CreateServiceInput
impl UnwindSafe for CreateServiceInput
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
