Struct aws_sdk_proton::client::fluent_builders::CreateService [−][src]
pub struct CreateService<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateService.
Create an Proton service. An Proton service is an instantiation of a service template and often includes several service instances and pipeline. For more information, see Services in the Proton Administrator Guide and Services in the Proton User Guide.
Implementations
impl<C, M, R> CreateService<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateService<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateServiceOutput, SdkError<CreateServiceError>> where
R::Policy: SmithyRetryPolicy<CreateServiceInputOperationOutputAlias, CreateServiceOutput, CreateServiceError, CreateServiceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateServiceOutput, SdkError<CreateServiceError>> where
R::Policy: SmithyRetryPolicy<CreateServiceInputOperationOutputAlias, CreateServiceOutput, CreateServiceError, CreateServiceInputOperationRetryAlias>,
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.
A description of the Proton service.
A description of the Proton service.
The name of the service template that's used to create the 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 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.
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.
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 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 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.
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.
Appends an item to tags.
To override the contents of this collection use set_tags.
Create tags for your service. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
Create tags for your service. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateService<C, M, R>
impl<C, M, R> Unpin for CreateService<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateService<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
