def update_application_resource_lifecycle(ApplicationName=None,
    ResourceLifecycleConfig=None):
    """
    Modifies lifecycle settings for an application.
    See also: AWS API Documentation
    
    
    :example: response = client.update_application_resource_lifecycle(
        ApplicationName='string',
        ResourceLifecycleConfig={
            'ServiceRole': 'string',
            'VersionLifecycleConfig': {
                'MaxCountRule': {
                    'Enabled': True|False,
                    'MaxCount': 123,
                    'DeleteSourceFromS3': True|False
                },
                'MaxAgeRule': {
                    'Enabled': True|False,
                    'MaxAgeInDays': 123,
                    'DeleteSourceFromS3': True|False
                }
            }
        }
    )
    
    
    :type ApplicationName: string
    :param ApplicationName: [REQUIRED]
            The name of the application.
            

    :type ResourceLifecycleConfig: dict
    :param ResourceLifecycleConfig: [REQUIRED]
            The lifecycle configuration.
            ServiceRole (string) --The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
            VersionLifecycleConfig (dict) --The application version lifecycle configuration.
            MaxCountRule (dict) --Specify a max count rule to restrict the number of application versions that are retained for an application.
            Enabled (boolean) -- [REQUIRED]Specify true to apply the rule, or false to disable it.
            MaxCount (integer) --Specify the maximum number of application versions to retain.
            DeleteSourceFromS3 (boolean) --Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
            MaxAgeRule (dict) --Specify a max age rule to restrict the length of time that application versions are retained for an application.
            Enabled (boolean) -- [REQUIRED]Specify true to apply the rule, or false to disable it.
            MaxAgeInDays (integer) --Specify the number of days to retain an application versions.
            DeleteSourceFromS3 (boolean) --Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
            
            

    :rtype: dict
    :return: {
        'ApplicationName': 'string',
        'ResourceLifecycleConfig': {
            'ServiceRole': 'string',
            'VersionLifecycleConfig': {
                'MaxCountRule': {
                    'Enabled': True|False,
                    'MaxCount': 123,
                    'DeleteSourceFromS3': True|False
                },
                'MaxAgeRule': {
                    'Enabled': True|False,
                    'MaxAgeInDays': 123,
                    'DeleteSourceFromS3': True|False
                }
            }
        }
    }
    
    
    """
    pass
