base_control

Module which defines the base controls for awsc. Ideally, all resource specific controls should inherit these and be created with as little effort as possible.

AttributeResolver(attribute[, resolver])

Resolver for resolving describer kwargs and entry attributes.

DefaultResolver()

Resolver for resolving describer kwargs and entry attributes.

DeleteResourceDialog(*args, resource_type, ...)

Convenience dialog for requesting confirmation for an action.

Describer(parent, alignment, dimensions, ...)

Describers are AWS-aware text browsers.

DescriberEntryAttribute(attribute[, resolver])

Helper class for describe_kwargs_override.

DescriberKwarg(kwarg[, resolver])

Helper class for describe_kwargs_override.

DialogFieldResourceListSelector(...[, ...])

A dialog field which allows selecting a single resource in a ResourceLister as the value of the field.

FString(template)

Methods

FieldValue(field_name)

Represents the value of a field passed as an extra field to a dialog template.

ForceFlag()

Represents the value of the force checkbox of a DeleteResourceDialog.

GenericDescriber(parent, alignment, ...)

A generic describer control.

IndexResolver(index[, resolver])

Resolver for resolving describer kwargs and entry attributes.

ListResourceDocumentCreator(provider, ...[, ...])

Class for simplifying generating an editor for resources whose body is a JSON document.

ListResourceDocumentEditor(provider, ...[, ...])

Class for simplifying generating an editor for resources whose body is a JSON document.

ListResourceFieldsEditor(provider, ...[, ...])

Class for simplifying generating an editor for resources which are essentially just a set of fields.

MultiLister(parent, alignment, dimensions, ...)

A MulitLister is similar to a SingleRelationLister in the ability to list multiple resources in a single control.

NoResults

NoResults is an exception raised by data fetch functions to note that there were no results.

OpenableListControl(*args[, selector_cb])

A ListControl which is aware of the AWSC session.

RegistryHelper([opener, selector])

Helper class for control registry.

ResourceLister(*args[, selector_cb])

The meaty ResourceLister is the object that handles all of the resource listing from AWS.

ResourceListerBase(*args, **kwargs)

Base resource lister object.

ResourceRefByClass(cmd)

A ResourceRefByClass object refers to any openable control which is registered in the Session control_registry by class name.

ResourceRefByCommand(cmd)

A ResourceRefByCommand object refers to any openable control which is registered in the Session commander_options by the command.

SelectionAttribute(attribute)

Represents a templatable attribute from a ListEntry row.

SelectionControllerDataAttribute(attribute)

Represents a templatable attribute from a ListEntry row's controller data.

SelectorTemplateField()

Convenience class for handling the value of the selection template field.

SingleNameDialog(parent, title, callback, *args)

A convenience class for quickly creating a dialog for entering a single string in a textfield.

SingleRelationLister(parent, alignment, ...)

SingleRelationLister parses and lists resources from a single resource's description - such as an EC2 instance.

SingleSelectorDialog(parent, alignment, ...)

A convenience class for quickly creating a dialog for selecting a single resource.

StopLoadingData

Custom exception that is thrown when the data fetch thread of a ResourceLister should stop operating.

TemplateDict([source])

A dict which can be templated from a ResourceLister control.

TemplateList([source])

A list which can be templated from a ResourceLister control.

format_timedelta(delta)

Timedelta formatter.

generic_confirm_template(method, template, ...)

Creates a confirmation sequence.

isdumpable(obj)

Shorthand for checking if an object is a simple or a complex json type.

tag_finder_generator(tagname[, default, ...])

Generates a predicate function which can locate a tag in a raw AWS object.

tagged_column_generator(name, tagname[, ...])

Shortcut for generating a field for tag_finder_generator.