def deprecate_activity_type(domain=None, activityType=None):
    """
    Deprecates the specified activity type . After an activity type has been deprecated, you cannot create new tasks of that activity type. Tasks of this type that were scheduled before the type was deprecated will continue to run.
    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. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows .
    See also: AWS API Documentation
    
    
    :example: response = client.deprecate_activity_type(
        domain='string',
        activityType={
            'name': 'string',
            'version': 'string'
        }
    )
    
    
    :type domain: string
    :param domain: [REQUIRED]
            The name of the domain in which the activity type is registered.
            

    :type activityType: dict
    :param activityType: [REQUIRED]
            The activity type to deprecate.
            name (string) -- [REQUIRED]The name of this activity.
            Note
            The combination of activity type name and version must be unique within a domain.
            version (string) -- [REQUIRED]The version of this activity.
            Note
            The combination of activity type name and version must be unique with in a domain.
            

    :returns: 
    domain (string) -- [REQUIRED]
    The name of the domain in which the activity type is registered.
    
    activityType (dict) -- [REQUIRED]
    The activity type to deprecate.
    
    name (string) -- [REQUIRED]The name of this activity.
    
    Note
    The combination of activity type name and version must be unique within a domain.
    
    
    version (string) -- [REQUIRED]The version of this activity.
    
    Note
    The combination of activity type name and version must be unique with in a domain.
    
    
    
    
    
    """
    pass
