| Class | AWS::SimpleWorkflow::TypeCollection |
| In: |
lib/aws/simple_workflow/type_collection.rb
|
| Parent: | Object |
The base class for {WorkflowTypeCollection} and {ActivityTypeCollection}. @private
| domain | [R] | @return [Domain] |
Returns the type with the given name and version.
# get a workflow type
domain.workflow_types['name','version']
domain.workflow_types.at('name','version')
# get an activity type
domain.activity_types['name','version']
domain.activity_types.at('name','version')
@param [String] Name of the type.
@param [String] Version of the type.
@return [ActivityType,WorkflowType]
@return [TypeCollection] Returns a collection that
will only enumerate deprecated types.
@return [TypeCollection] Returns a collection that
enumerates types with the given name. Each instance will have a different version.
@return [TypeCollection] Returns a collection that
enumerates types in reverse alphabetical order. Default ordering is alphabetical.