#[non_exhaustive]pub struct CreateDeploymentInput {
pub environment_id: Option<String>,
pub application_id: Option<String>,
pub application_version: Option<i32>,
pub client_token: Option<String>,
}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.environment_id: Option<String>The identifier of the runtime environment where you want to deploy this application.
application_id: Option<String>The application identifier.
application_version: Option<i32>The version of the application to deploy.
client_token: Option<String>Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a deployment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
Implementations§
source§impl CreateDeploymentInput
impl CreateDeploymentInput
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The identifier of the runtime environment where you want to deploy this application.
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The application identifier.
sourcepub fn application_version(&self) -> Option<i32>
pub fn application_version(&self) -> Option<i32>
The version of the application to deploy.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a deployment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
source§impl CreateDeploymentInput
impl CreateDeploymentInput
sourcepub fn builder() -> CreateDeploymentInputBuilder
pub fn builder() -> CreateDeploymentInputBuilder
Creates a new builder-style object to manufacture CreateDeploymentInput.
Trait Implementations§
source§impl Clone for CreateDeploymentInput
impl Clone for CreateDeploymentInput
source§fn clone(&self) -> CreateDeploymentInput
fn clone(&self) -> CreateDeploymentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDeploymentInput
impl Debug for CreateDeploymentInput
source§impl PartialEq for CreateDeploymentInput
impl PartialEq for CreateDeploymentInput
source§fn eq(&self, other: &CreateDeploymentInput) -> bool
fn eq(&self, other: &CreateDeploymentInput) -> bool
self and other values to be equal, and is used
by ==.