Struct aws_sdk_amplify::input::UpdateAppInput
source · [−]#[non_exhaustive]pub struct UpdateAppInput {Show 19 fields
pub app_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub platform: Option<Platform>,
pub iam_service_role_arn: Option<String>,
pub environment_variables: Option<HashMap<String, String>>,
pub enable_branch_auto_build: Option<bool>,
pub enable_branch_auto_deletion: Option<bool>,
pub enable_basic_auth: Option<bool>,
pub basic_auth_credentials: Option<String>,
pub custom_rules: Option<Vec<CustomRule>>,
pub build_spec: Option<String>,
pub custom_headers: Option<String>,
pub enable_auto_branch_creation: Option<bool>,
pub auto_branch_creation_patterns: Option<Vec<String>>,
pub auto_branch_creation_config: Option<AutoBranchCreationConfig>,
pub repository: Option<String>,
pub oauth_token: Option<String>,
pub access_token: Option<String>,
}
Expand description
The request structure for the update app request.
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.app_id: Option<String>
The unique ID for an Amplify app.
name: Option<String>
The name for an Amplify app.
description: Option<String>
The description for an Amplify app.
platform: Option<Platform>
The platform for an Amplify app.
iam_service_role_arn: Option<String>
The AWS Identity and Access Management (IAM) service role for an Amplify app.
environment_variables: Option<HashMap<String, String>>
The environment variables 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.
enable_basic_auth: Option<bool>
Enables basic authorization for an Amplify app.
basic_auth_credentials: Option<String>
The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password
.
custom_rules: Option<Vec<CustomRule>>
The custom redirect and rewrite rules for an Amplify app.
build_spec: Option<String>
The build specification (build spec) for an Amplify app.
custom_headers: Option<String>
The custom HTTP headers for an Amplify app.
enable_auto_branch_creation: Option<bool>
Enables automated branch creation for an Amplify app.
auto_branch_creation_patterns: Option<Vec<String>>
Describes the automated branch creation glob patterns for an Amplify app.
auto_branch_creation_config: Option<AutoBranchCreationConfig>
The automated branch creation configuration for an Amplify app.
repository: Option<String>
The name of the repository 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.
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.
Implementations
sourceimpl UpdateAppInput
impl UpdateAppInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateApp, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateApp, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateApp
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateAppInput
sourceimpl UpdateAppInput
impl UpdateAppInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for an Amplify app.
sourcepub fn iam_service_role_arn(&self) -> Option<&str>
pub fn iam_service_role_arn(&self) -> Option<&str>
The AWS Identity and Access Management (IAM) service role for an Amplify app.
sourcepub fn environment_variables(&self) -> Option<&HashMap<String, String>>
pub fn environment_variables(&self) -> Option<&HashMap<String, String>>
The environment variables for an Amplify app.
sourcepub fn enable_branch_auto_build(&self) -> Option<bool>
pub fn enable_branch_auto_build(&self) -> Option<bool>
Enables branch auto-building for an Amplify app.
sourcepub fn enable_branch_auto_deletion(&self) -> Option<bool>
pub fn enable_branch_auto_deletion(&self) -> Option<bool>
Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
sourcepub fn enable_basic_auth(&self) -> Option<bool>
pub fn enable_basic_auth(&self) -> Option<bool>
Enables basic authorization for an Amplify app.
sourcepub fn basic_auth_credentials(&self) -> Option<&str>
pub fn basic_auth_credentials(&self) -> Option<&str>
The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password
.
sourcepub fn custom_rules(&self) -> Option<&[CustomRule]>
pub fn custom_rules(&self) -> Option<&[CustomRule]>
The custom redirect and rewrite rules for an Amplify app.
sourcepub fn build_spec(&self) -> Option<&str>
pub fn build_spec(&self) -> Option<&str>
The build specification (build spec) for an Amplify app.
sourcepub fn custom_headers(&self) -> Option<&str>
pub fn custom_headers(&self) -> Option<&str>
The custom HTTP headers for an Amplify app.
sourcepub fn enable_auto_branch_creation(&self) -> Option<bool>
pub fn enable_auto_branch_creation(&self) -> Option<bool>
Enables automated branch creation for an Amplify app.
sourcepub fn auto_branch_creation_patterns(&self) -> Option<&[String]>
pub fn auto_branch_creation_patterns(&self) -> Option<&[String]>
Describes the automated branch creation glob patterns for an Amplify app.
sourcepub fn auto_branch_creation_config(&self) -> Option<&AutoBranchCreationConfig>
pub fn auto_branch_creation_config(&self) -> Option<&AutoBranchCreationConfig>
The automated branch creation configuration for an Amplify app.
sourcepub fn repository(&self) -> Option<&str>
pub fn repository(&self) -> Option<&str>
The name of the repository for an Amplify app
sourcepub fn oauth_token(&self) -> Option<&str>
pub fn oauth_token(&self) -> Option<&str>
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.
sourcepub fn access_token(&self) -> Option<&str>
pub fn access_token(&self) -> Option<&str>
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.
Trait Implementations
sourceimpl Clone for UpdateAppInput
impl Clone for UpdateAppInput
sourcefn clone(&self) -> UpdateAppInput
fn clone(&self) -> UpdateAppInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateAppInput
impl Debug for UpdateAppInput
sourceimpl PartialEq<UpdateAppInput> for UpdateAppInput
impl PartialEq<UpdateAppInput> for UpdateAppInput
sourcefn eq(&self, other: &UpdateAppInput) -> bool
fn eq(&self, other: &UpdateAppInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateAppInput) -> bool
fn ne(&self, other: &UpdateAppInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateAppInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateAppInput
impl Send for UpdateAppInput
impl Sync for UpdateAppInput
impl Unpin for UpdateAppInput
impl UnwindSafe for UpdateAppInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more