[][src]Struct rusoto_amplify::Branch

pub struct Branch {
    pub active_job_id: String,
    pub associated_resources: Option<Vec<String>>,
    pub backend_environment_arn: Option<String>,
    pub basic_auth_credentials: Option<String>,
    pub branch_arn: String,
    pub branch_name: String,
    pub build_spec: Option<String>,
    pub create_time: f64,
    pub custom_domains: Vec<String>,
    pub description: String,
    pub destination_branch: Option<String>,
    pub display_name: String,
    pub enable_auto_build: bool,
    pub enable_basic_auth: bool,
    pub enable_notification: bool,
    pub enable_pull_request_preview: bool,
    pub environment_variables: HashMap<String, String>,
    pub framework: String,
    pub pull_request_environment_name: Option<String>,
    pub source_branch: Option<String>,
    pub stage: String,
    pub tags: Option<HashMap<String, String>>,
    pub thumbnail_url: Option<String>,
    pub total_number_of_jobs: String,
    pub ttl: String,
    pub update_time: f64,
}

The branch for an Amplify app, which maps to a third-party repository branch.

Fields

active_job_id: String

The ID of the active job for a branch of an Amplify app.

associated_resources: Option<Vec<String>>

A list of custom resources that are linked to this branch.

backend_environment_arn: Option<String>

The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.

basic_auth_credentials: Option<String>

The basic authorization credentials for a branch of an Amplify app.

branch_arn: String

The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.

branch_name: String

The name for the branch that is part of an Amplify app.

build_spec: Option<String>

The build specification (build spec) content for the branch of an Amplify app.

create_time: f64

The creation date and time for a branch that is part of an Amplify app.

custom_domains: Vec<String>

The custom domains for a branch of an Amplify app.

description: String

The description for the branch that is part of an Amplify app.

destination_branch: Option<String>

The destination branch if the branch is a pull request branch.

display_name: String

The display name for the branch. This is used as the default domain prefix.

enable_auto_build: bool

Enables auto-building on push for a branch of an Amplify app.

enable_basic_auth: bool

Enables basic authorization for a branch of an Amplify app.

enable_notification: bool

Enables notifications for a branch that is part of an Amplify app.

enable_pull_request_preview: bool

Enables pull request preview for the branch.

environment_variables: HashMap<String, String>

The environment variables specific to a branch of an Amplify app.

framework: String

The framework for a branch of an Amplify app.

pull_request_environment_name: Option<String>

The Amplify environment name for the pull request.

source_branch: Option<String>

The source branch if the branch is a pull request branch.

stage: String

The current stage for the branch that is part of an Amplify app.

tags: Option<HashMap<String, String>>

The tag for the branch of an Amplify app.

thumbnail_url: Option<String>

The thumbnail URL for the branch of an Amplify app.

total_number_of_jobs: String

The total number of jobs that are part of an Amplify app.

ttl: String

The content Time to Live (TTL) for the website in seconds.

update_time: f64

The last updated date and time for a branch that is part of an Amplify app.

Trait Implementations

impl Clone for Branch[src]

impl Debug for Branch[src]

impl Default for Branch[src]

impl<'de> Deserialize<'de> for Branch[src]

impl PartialEq<Branch> for Branch[src]

impl StructuralPartialEq for Branch[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.