AWS SDK for .NET Documentation
RegisterWorkflowType Method (registerWorkflowTypeRequest)
AmazonAmazon.SimpleWorkflowAmazonSimpleWorkflowRegisterWorkflowType(RegisterWorkflowTypeRequest) Did this page help you?   Yes   No    Tell us about it...

Registers a new workflow type and its configuration settings in the specified domain.

The retention period for the workflow history is set by the RegisterDomain action.

IMPORTANT: If the type already exists, then a TypeAlreadyExists fault is returned. You cannot change the configuration settings of a workflow type once it is registered and it must be registered as a new version.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails by throwing OperationNotPermitted . For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

Declaration Syntax
C#
RegisterWorkflowTypeResponse RegisterWorkflowType(
	RegisterWorkflowTypeRequest registerWorkflowTypeRequest
)
Parameters
registerWorkflowTypeRequest (RegisterWorkflowTypeRequest)
Container for the necessary parameters to execute the RegisterWorkflowType service method on AmazonSimpleWorkflow.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)