seddy.registration¶
SWF workflow registration.
Functions:
|
Deprecate a workflow in SWF. |
|
List all workflows in SWF, including registered and deprecated. |
|
Register a workflow with SWF. |
|
Synchronise workflow registration with SWF. |
|
Run registration synchronisation application. |
|
Undeprecate a workflow in SWF. |
-
seddy.registration.
deprecate_workflow
(workflow: seddy._specs._base.Workflow, domain: str, client)[source]¶ Deprecate a workflow in SWF.
- Parameters
workflow – specification of workflow to deprecate
domain – domain to deprecate workflow in
client (botocore.client.BaseClient) – SWF client
-
seddy.registration.
list_workflows
(domain: str, client) → Dict[Tuple[str, str], bool][source]¶ List all workflows in SWF, including registered and deprecated.
- Parameters
domain – domain to list workflows of
client (botocore.client.BaseClient) – SWF client
- Returns
names, versions and registration status of workflows in SWF
-
seddy.registration.
register_workflow
(workflow: seddy._specs._base.Workflow, domain: str, client)[source]¶ Register a workflow with SWF.
- Parameters
workflow – specification of workflow to register
domain – domain to register workflow in
client (botocore.client.BaseClient) – SWF client
-
seddy.registration.
register_workflows
(workflows: List[seddy._specs._base.Workflow], domain: str)[source]¶ Synchronise workflow registration with SWF.
- Parameters
workflows – specifications of workflows to register
domain – domain to register workflows in