pub struct CodePipelineState {
pub pipelines: BTreeMap<String, Value>,
pub pipeline_order: Vec<String>,
pub pipeline_meta: BTreeMap<String, Value>,
pub pipeline_versions: BTreeMap<String, Vec<Value>>,
pub executions: BTreeMap<String, Value>,
pub execution_order: BTreeMap<String, Vec<String>>,
pub transitions_disabled: BTreeMap<String, BTreeMap<String, Value>>,
pub custom_actions: BTreeMap<String, Value>,
pub custom_action_order: Vec<String>,
pub webhooks: BTreeMap<String, Value>,
pub webhook_order: Vec<String>,
pub tags: BTreeMap<String, Vec<Value>>,
}Expand description
The account-scoped CodePipeline state for one AWS account.
Fields§
§pipelines: BTreeMap<String, Value>Current pipeline declaration keyed by pipeline name; value is a
PipelineDeclaration JSON carrying the current version.
pipeline_order: Vec<String>Insertion order of pipeline names (most-recent last).
pipeline_meta: BTreeMap<String, Value>Per-pipeline metadata keyed by pipeline name; value is a
PipelineMetadata JSON (pipelineArn, created, updated).
pipeline_versions: BTreeMap<String, Vec<Value>>Historical pipeline declarations keyed by pipeline name; the element at
index version - 1 is the declaration as of that version.
executions: BTreeMap<String, Value>Pipeline executions keyed by execution id (a UUID); value is a stored
PipelineExecution-shaped JSON.
execution_order: BTreeMap<String, Vec<String>>Per-pipeline execution id order (most-recent last).
transitions_disabled: BTreeMap<String, BTreeMap<String, Value>>Disabled stage transitions keyed by pipeline name, then by
<stageName>/<transitionType>; value is a TransitionState-shaped JSON
(enabled: false, disabledReason, lastChangedBy, lastChangedAt).
A (pipeline, stage, transitionType) absent here is enabled.
custom_actions: BTreeMap<String, Value>User-created custom action types keyed by category:provider:version;
value is an ActionType JSON.
custom_action_order: Vec<String>Insertion order of custom action-type keys.
webhooks: BTreeMap<String, Value>Webhooks keyed by webhook name; value is a ListWebhookItem JSON.
webhook_order: Vec<String>Insertion order of webhook names.
Resource tags keyed by resource ARN; value is a TagList (list of
{key,value} objects).
Trait Implementations§
Source§impl AccountState for CodePipelineState
impl AccountState for CodePipelineState
Source§fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl Clone for CodePipelineState
impl Clone for CodePipelineState
Source§fn clone(&self) -> CodePipelineState
fn clone(&self) -> CodePipelineState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more