CreateAppRequest

Struct CreateAppRequest 

Source
pub struct CreateAppRequest {
Show 18 fields pub access_token: Option<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: String, pub oauth_token: Option<String>, pub platform: Option<String>, pub repository: Option<String>, pub tags: Option<HashMap<String, String>>,
}
Expand description

The request structure used to create apps in Amplify.

Fields§

§access_token: Option<String>

The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.

§auto_branch_creation_config: Option<AutoBranchCreationConfig>

The automated branch creation configuration for the Amplify app.

§auto_branch_creation_patterns: Option<Vec<String>>

The automated branch creation glob patterns for the Amplify app.

§basic_auth_credentials: Option<String>

The credentials for basic authorization for an Amplify app.

§build_spec: Option<String>

The build specification (build spec) for an Amplify app.

§custom_rules: Option<Vec<CustomRule>>

The custom rewrite and redirect 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. This will apply to all branches that are part of this app.

§enable_branch_auto_build: Option<bool>

Enables the auto building of branches 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 map for an Amplify app.

§iam_service_role_arn: Option<String>

The AWS Identity and Access Management (IAM) service role for an Amplify app.

§name: String

The name for the Amplify app.

§oauth_token: Option<String>

The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.

§platform: Option<String>

The platform or framework for an Amplify app.

§repository: Option<String>

The repository for an Amplify app.

§tags: Option<HashMap<String, String>>

The tag for an Amplify app.

Trait Implementations§

Source§

impl Clone for CreateAppRequest

Source§

fn clone(&self) -> CreateAppRequest

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CreateAppRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CreateAppRequest

Source§

fn default() -> CreateAppRequest

Returns the “default value” for a type. Read more
Source§

impl PartialEq for CreateAppRequest

Source§

fn eq(&self, other: &CreateAppRequest) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for CreateAppRequest

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CreateAppRequest

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more