pub struct CreateProject<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to CreateProject.
Creates an empty project with a placement template. A project contains zero or more placements that adhere to the placement template defined in the project.
Implementations
impl<C, M, R> CreateProject<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateProject<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateProjectOutput, SdkError<CreateProjectError>> where
R::Policy: SmithyRetryPolicy<CreateProjectInputOperationOutputAlias, CreateProjectOutput, CreateProjectError, CreateProjectInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateProjectOutput, SdkError<CreateProjectError>> where
R::Policy: SmithyRetryPolicy<CreateProjectInputOperationOutputAlias, CreateProjectOutput, CreateProjectError, CreateProjectInputOperationRetryAlias>,
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.
The name of the project to create.
The name of the project to create.
An optional description for the project.
An optional description for the project.
The schema defining the placement to be created. A placement template defines placement default attributes and device templates. You cannot add or remove device templates after the project has been created. However, you can update callbackOverrides for the device templates using the UpdateProject API.
The schema defining the placement to be created. A placement template defines placement default attributes and device templates. You cannot add or remove device templates after the project has been created. However, you can update callbackOverrides for the device templates using the UpdateProject API.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
Optional tags (metadata key/value pairs) to be associated with the project. For example, { {"key1": "value1", "key2": "value2"} }. For more information, see AWS Tagging Strategies.
Optional tags (metadata key/value pairs) to be associated with the project. For example, { {"key1": "value1", "key2": "value2"} }. For more information, see AWS Tagging Strategies.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateProject<C, M, R>
impl<C, M, R> Unpin for CreateProject<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateProject<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