pub struct UpdateAppRequest {Show 18 fields
pub access_token: Option<String>,
pub app_id: String,
pub auto_branch_creation_config: Option<AutoBranchCreationConfig>,
pub auto_branch_creation_patterns: Option<Vec<String>>,
pub basic_auth_credentials: Option<String>,
pub build_spec: Option<String>,
pub custom_rules: Option<Vec<CustomRule>>,
pub description: Option<String>,
pub enable_auto_branch_creation: Option<bool>,
pub enable_basic_auth: Option<bool>,
pub enable_branch_auto_build: Option<bool>,
pub enable_branch_auto_deletion: Option<bool>,
pub environment_variables: Option<HashMap<String, String>>,
pub iam_service_role_arn: Option<String>,
pub name: Option<String>,
pub oauth_token: Option<String>,
pub platform: Option<String>,
pub repository: Option<String>,
}
Expand description
The request structure for the update app request.
Fields§
§access_token: Option<String>
The personal access token for a third-party source control system for an Amplify app. The token is used to create webhook and a read-only deploy key. The token is not stored.
app_id: String
The unique ID for an Amplify app.
auto_branch_creation_config: Option<AutoBranchCreationConfig>
The automated branch creation configuration for the Amplify app.
auto_branch_creation_patterns: Option<Vec<String>>
Describes the automated branch creation glob patterns for the Amplify app.
basic_auth_credentials: Option<String>
The basic authorization credentials for an Amplify app.
build_spec: Option<String>
The build specification (build spec) for an Amplify app.
custom_rules: Option<Vec<CustomRule>>
The custom redirect and rewrite rules for an Amplify app.
description: Option<String>
The description for an Amplify app.
enable_auto_branch_creation: Option<bool>
Enables automated branch creation for the Amplify app.
enable_basic_auth: Option<bool>
Enables basic authorization for an Amplify app.
enable_branch_auto_build: Option<bool>
Enables branch auto-building for an Amplify app.
enable_branch_auto_deletion: Option<bool>
Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
environment_variables: Option<HashMap<String, String>>
The environment variables for an Amplify app.
iam_service_role_arn: Option<String>
The AWS Identity and Access Management (IAM) service role for an Amplify app.
name: Option<String>
The name for an Amplify app.
oauth_token: Option<String>
The OAuth token for a third-party source control system for an Amplify app. The token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
platform: Option<String>
The platform for an Amplify app.
repository: Option<String>
The name of the repository for an Amplify app
Trait Implementations§
Source§impl Clone for UpdateAppRequest
impl Clone for UpdateAppRequest
Source§fn clone(&self) -> UpdateAppRequest
fn clone(&self) -> UpdateAppRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more