Struct aws_sdk_amplify::operation::create_deployment::builders::CreateDeploymentFluentBuilder
source · pub struct CreateDeploymentFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateDeployment.
Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository.
Implementations§
source§impl CreateDeploymentFluentBuilder
impl CreateDeploymentFluentBuilder
sourcepub fn as_input(&self) -> &CreateDeploymentInputBuilder
pub fn as_input(&self) -> &CreateDeploymentInputBuilder
Access the CreateDeployment as a reference.
sourcepub async fn send(
self
) -> Result<CreateDeploymentOutput, SdkError<CreateDeploymentError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDeploymentOutput, SdkError<CreateDeploymentError, HttpResponse>>
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.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateDeploymentOutput, CreateDeploymentError>, SdkError<CreateDeploymentError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateDeploymentOutput, CreateDeploymentError>, SdkError<CreateDeploymentError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The unique ID for an Amplify app.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The unique ID for an Amplify app.
sourcepub fn branch_name(self, input: impl Into<String>) -> Self
pub fn branch_name(self, input: impl Into<String>) -> Self
The name for the branch, for the job.
sourcepub fn set_branch_name(self, input: Option<String>) -> Self
pub fn set_branch_name(self, input: Option<String>) -> Self
The name for the branch, for the job.
sourcepub fn get_branch_name(&self) -> &Option<String>
pub fn get_branch_name(&self) -> &Option<String>
The name for the branch, for the job.
sourcepub fn file_map(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn file_map(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to fileMap.
To override the contents of this collection use set_file_map.
An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.
sourcepub fn set_file_map(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_file_map(self, input: Option<HashMap<String, String>>) -> Self
An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.
sourcepub fn get_file_map(&self) -> &Option<HashMap<String, String>>
pub fn get_file_map(&self) -> &Option<HashMap<String, String>>
An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.
Trait Implementations§
source§impl Clone for CreateDeploymentFluentBuilder
impl Clone for CreateDeploymentFluentBuilder
source§fn clone(&self) -> CreateDeploymentFluentBuilder
fn clone(&self) -> CreateDeploymentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more