#[non_exhaustive]pub struct CreateDevEnvironmentInput {
pub space_name: Option<String>,
pub project_name: Option<String>,
pub repositories: Option<Vec<RepositoryInput>>,
pub client_token: Option<String>,
pub alias: Option<String>,
pub ides: Option<Vec<IdeConfiguration>>,
pub instance_type: Option<InstanceType>,
pub inactivity_timeout_minutes: Option<i32>,
pub persistent_storage: Option<PersistentStorageConfiguration>,
}
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.space_name: Option<String>
The name of the space.
project_name: Option<String>
The name of the project in the space.
repositories: Option<Vec<RepositoryInput>>
The source repository that contains the branch to clone into the Dev Environment.
client_token: Option<String>
A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
alias: Option<String>
The user-defined alias for a Dev Environment.
ides: Option<Vec<IdeConfiguration>>
Information about the integrated development environment (IDE) configured for a Dev Environment.
An IDE is required to create a Dev Environment. For Dev Environment creation, this field contains configuration information and must be provided.
instance_type: Option<InstanceType>
The Amazon EC2 instace type to use for the Dev Environment.
inactivity_timeout_minutes: Option<i32>
The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.
persistent_storage: Option<PersistentStorageConfiguration>
Information about the amount of storage allocated to the Dev Environment.
By default, a Dev Environment is configured to have 16GB of persistent storage when created from the Amazon CodeCatalyst console, but there is no default when programmatically creating a Dev Environment. Valid values for persistent storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.
Implementations§
source§impl CreateDevEnvironmentInput
impl CreateDevEnvironmentInput
sourcepub fn space_name(&self) -> Option<&str>
pub fn space_name(&self) -> Option<&str>
The name of the space.
sourcepub fn project_name(&self) -> Option<&str>
pub fn project_name(&self) -> Option<&str>
The name of the project in the space.
sourcepub fn repositories(&self) -> &[RepositoryInput]
pub fn repositories(&self) -> &[RepositoryInput]
The source repository that contains the branch to clone into the Dev Environment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .repositories.is_none()
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
sourcepub fn ides(&self) -> &[IdeConfiguration]
pub fn ides(&self) -> &[IdeConfiguration]
Information about the integrated development environment (IDE) configured for a Dev Environment.
An IDE is required to create a Dev Environment. For Dev Environment creation, this field contains configuration information and must be provided.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ides.is_none()
.
sourcepub fn instance_type(&self) -> Option<&InstanceType>
pub fn instance_type(&self) -> Option<&InstanceType>
The Amazon EC2 instace type to use for the Dev Environment.
sourcepub fn inactivity_timeout_minutes(&self) -> Option<i32>
pub fn inactivity_timeout_minutes(&self) -> Option<i32>
The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.
sourcepub fn persistent_storage(&self) -> Option<&PersistentStorageConfiguration>
pub fn persistent_storage(&self) -> Option<&PersistentStorageConfiguration>
Information about the amount of storage allocated to the Dev Environment.
By default, a Dev Environment is configured to have 16GB of persistent storage when created from the Amazon CodeCatalyst console, but there is no default when programmatically creating a Dev Environment. Valid values for persistent storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.
source§impl CreateDevEnvironmentInput
impl CreateDevEnvironmentInput
sourcepub fn builder() -> CreateDevEnvironmentInputBuilder
pub fn builder() -> CreateDevEnvironmentInputBuilder
Creates a new builder-style object to manufacture CreateDevEnvironmentInput
.
Trait Implementations§
source§impl Clone for CreateDevEnvironmentInput
impl Clone for CreateDevEnvironmentInput
source§fn clone(&self) -> CreateDevEnvironmentInput
fn clone(&self) -> CreateDevEnvironmentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDevEnvironmentInput
impl Debug for CreateDevEnvironmentInput
source§impl PartialEq for CreateDevEnvironmentInput
impl PartialEq for CreateDevEnvironmentInput
source§fn eq(&self, other: &CreateDevEnvironmentInput) -> bool
fn eq(&self, other: &CreateDevEnvironmentInput) -> bool
self
and other
values to be equal, and is used
by ==
.